Facets
This object represents all facets of a simple type. Inherited facets are merged with the explicitly declared facets. If a Length facet is in effect, MinLength and MaxLength are set to the same value.
Property | Type | Description |
---|---|---|
DeclaringType | Type | Type facets are declared on |
Whitespace | string | "preserve", "collapse" or "replace" |
MinLength | integer | Facet value |
MaxLength | integer | Facet value |
MinInclusive | integer | Facet value |
MinExclusive | integer | Facet value |
MaxInclusive | integer | Facet value |
MaxExclusive | integer | Facet value |
TotalDigits | integer | Facet value |
FractionDigits | integer | Facet value |
List | Facet collection | All facets as list |
Facet
This object represents a single facet with its computed value effective for a specific type.
Property | Type | Description |
---|---|---|
LocalName | string | Facet name |
NamespaceURI | string | Facet namespace |
FacetType | string | one of "normalization", "lexicalspace", "valuespace-length", "valuespace-enum" or "valuespace-range" |
DeclaringType | Type this facet is declared on | |
FacetCheckerName | string | Name of facet checker (from schemafacet map) |
FacetValue | string or integer | Actual value of this facet |