module documentation

Validation service and functions.

Class Validator Validator class.
Variable attributePolicies General attribute Policies.
Variable attributesComplexTypes Mapping of attributes to their complex types.
Variable complexTypeAttributes Mapping of complex types to their attributes.
Variable flexContainerAttributes FlexContainer specialization attributes.
Variable flexContainerSpecializations FlexContainer specialization aspects.
Variable _cnfRegex Compiled regular expression that matches a valid contentInfo string.
Variable _idcsrRegex resourceName grammar (TS-0004, Table 6.3.3-1): a letter or digit, followed by zero or more letters, digits, "-", ".", or "_". Used for IDCSR (rn, ri).
Variable _idDomainRegex Compiled regular expression that matches a valid ID@domain.name format.
Variable _originatorPatternCharsetRegex Compiled regular expression for the allowed characters in an originatorPattern value: the same unreserved character set as IDCSR/AEID/CSEID/SPID, plus "/" (segment separator) and "*" (wildcard).
Variable _originatorPatternWildcardRegex Compiled regular expression that finds "*" wildcard characters in an originatorPattern value.
Variable _scheduleRegex "second minute hour day month weekday year"
Variable _valueNameMappings Mapping of attribute names to value mappings.

General attribute Policies.

{ (ResourceType|str, attributeName) : AttributePolicy }

attributesComplexTypes: dict[str, list[str]] = (source)

Mapping of attributes to their complex types.

complexTypeAttributes: dict[str, list[str]] = (source)

Mapping of complex types to their attributes.

flexContainerAttributes: FlexContainerAttributes = (source)

FlexContainer specialization attributes.

{ typeShortname : { sn : AttributePolicy } }

flexContainerSpecializations: FlexContainerSpecializations = (source)

FlexContainer specialization aspects.

{ typeShortname : cnd }

_cnfRegex = (source)

Compiled regular expression that matches a valid contentInfo string.

_idcsrRegex = (source)

resourceName grammar (TS-0004, Table 6.3.3-1): a letter or digit, followed by zero or more letters, digits, "-", ".", or "_". Used for IDCSR (rn, ri).

_idDomainRegex = (source)

Compiled regular expression that matches a valid ID@domain.name format.

_originatorPatternCharsetRegex = (source)

Compiled regular expression for the allowed characters in an originatorPattern value: the same unreserved character set as IDCSR/AEID/CSEID/SPID, plus "/" (segment separator) and "*" (wildcard).

_originatorPatternWildcardRegex = (source)

Compiled regular expression that finds "*" wildcard characters in an originatorPattern value.

_scheduleRegex = (source)

"second minute hour day month weekday year"

_valueNameMappings = (source)

Mapping of attribute names to value mappings.