These are the Data Types used in DS-Specification 7.0.
They are listed in the DS-V7 Specification in the XSD column.
These are the original Data Types from Schema.org, that are mapped in DS-Specification 7.0.
They are listed in the DS-V7 Specification in the Schema.org column.
This type is used by the function tokenizeDsPath() to represent a single path-token.
DsGrammarNodeTypeV7 (type of a DS-Node from the DS-Grammar point of view) can be one of the following:
DomainSpecification - the whole Domain SpecificationContext - the @contextRootNode - the root node of the Domain SpecificationStandardClass - a standard class node (without property restrictions)RestrictedClass - a restricted class node (with property restrictions)StandardEnumeration - a standard enumeration node (without enumeration member restrictions)RestrictedEnumeration - a restricted enumeration node (with enumeration member restrictions)Property - a property nodeDataType - a datatype nodeEnumerationMember - an enumeration member nodeRootReference - an reference node to the root nodeInternalReference - an reference node to an internal nodeExternalReference - an reference node to an external nodeInternalExternalReference - an reference node to an internal node of an external nodePathGrammarNodeTypeV7 (type of a DS-Node from the DS-Path point of view) can be one of the following:
RootNodeContextInternalReferenceDefinitionExternalReferenceDefinitionInternalExternalReferenceDefinitionRootReferenceInternalReferenceExternalReferenceInternalExternalReferencePropertyClassEnumerationDataTypeThis type is used by the function verifyDs() to represent a verification result for the Meta verification of a Domain Specification.
A verification report has only 2 fields:
result is a string that represents the overall result of the verification. The value can be Valid, ValidWithWarnings , or Invalid.errors is an array of errors detected. Each error entry has the following fields:severity. The value can be Warning, Error, or Critical.path. A path pointing to the error part of the DS. (null if none)description. A textual description about the error.Returns the available DS-Specification versions that are supported by this library as an array of strings.
available versions as an array string
Creates a corresponding DS-Utilities instance based on the DS-Specification version used by the given input Domain Specification.
the input DS
a corresponding DS-Utilities instance
Creates a corresponding DS-Utilities instance based on the DS-Specification version given.
the desired DS-Specification version
a corresponding DS-Utilities instance
These are the available DS-Specification versions (with their corresponding DS-Utilities classes) that are supported by this library.