arelle.oim.tc.metadata.restrictions

See COPYRIGHT.md for copyright information.

Module Contents

Classes

Functions

Data

API

class arelle.oim.tc.metadata.restrictions.TCRestriction

Bases: str, enum.Enum

ENUMERATION_VALUES

‘enumerationValues’

PATTERNS

‘patterns’

TIME_ZONE

‘timeZone’

PERIOD_TYPE

‘periodType’

DURATION_TYPE

‘durationType’

LENGTH

‘length’

MIN_LENGTH

‘minLength’

MAX_LENGTH

‘maxLength’

MIN_INCLUSIVE

‘minInclusive’

MAX_INCLUSIVE

‘maxInclusive’

MIN_EXCLUSIVE

‘minExclusive’

MAX_EXCLUSIVE

‘maxExclusive’

TOTAL_DIGITS

‘totalDigits’

FRACTION_DIGITS

‘fractionDigits’

capitalize()
casefold()
center()
count()
encode()
endswith()
expandtabs()
find()
format()
format_map()
index()
isalnum()
isalpha()
isascii()
isdecimal()
isdigit()
isidentifier()
islower()
isnumeric()
isprintable()
isspace()
istitle()
isupper()
join()
ljust()
lower()
lstrip()
partition()
removeprefix()
removesuffix()
replace()
rfind()
rindex()
rjust()
rpartition()
rsplit()
rstrip()
split()
splitlines()
startswith()
strip()
swapcase()
title()
translate()
upper()
zfill()
name()
value()
arelle.oim.tc.metadata.restrictions.PATTERN_AND_ENUM_RESTRICTIONS

‘frozenset(…)’

arelle.oim.tc.metadata.restrictions.LENGTH_RESTRICTIONS

‘frozenset(…)’

arelle.oim.tc.metadata.restrictions.BOUNDS_RESTRICTIONS

‘frozenset(…)’

arelle.oim.tc.metadata.restrictions.DIGIT_RESTRICTIONS

‘frozenset(…)’

arelle.oim.tc.metadata.restrictions.BOOLEAN_RESTRICTIONS

‘frozenset(…)’

arelle.oim.tc.metadata.restrictions.ORDERED_RESTRICTIONS

None

arelle.oim.tc.metadata.restrictions.STRING_RESTRICTIONS

None

arelle.oim.tc.metadata.restrictions.DURATION_RESTRICTIONS

None

arelle.oim.tc.metadata.restrictions.PERIOD_RESTRICTIONS

None

arelle.oim.tc.metadata.restrictions.TIME_ZONED_RESTRICTIONS

None

arelle.oim.tc.metadata.restrictions.NUMERIC_RESTRICTIONS

None

arelle.oim.tc.metadata.restrictions.CORE_TYPE_RESTRICTIONS: collections.abc.Mapping[str, frozenset[arelle.oim.tc.metadata.restrictions.TCRestriction]]

‘MappingProxyType(…)’

arelle.oim.tc.metadata.restrictions.get_constraint_values_by_restriction(constraint: arelle.oim.tc.metadata.model.TCValueConstraint) → collections.abc.Mapping[arelle.oim.tc.metadata.restrictions.TCRestriction, collections.abc.Set[str] | str | int | bool | None]
arelle.oim.tc.metadata.restrictions.permitted_restrictions(constraint_type: str, effective_type: arelle.ModelValue.QName) → frozenset[arelle.oim.tc.metadata.restrictions.TCRestriction]