XsdLanguage#
Fully qualified primitivetype name of the UML model DDI-CDI 1.0: DDICDIModels::DDICDILibrary::DataTypes::XMLSchemaDataTypes::XsdLanguage
Definition#
Derived data type “language” of the XML Schema data types.
Definition from XML Schema Part 2: Datatypes Second Edition: “language” represents natural language identifiers as defined by by [RFC 3066]. The value space of “language” is the set of all strings that are valid language identifiers as defined [RFC 3066] . The lexical space of language is the set of all strings that conform to the pattern [a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*. The base type of “language” is token. https://www.w3.org/TR/xmlschema-2/#language.
Diagram#
Diagram
Usage#
Usage
Type |
Package |
Classifier |
Attribute |
|---|---|---|---|
Class |
Representations |
availableLanguage |
|
Class |
Representations |
availableLanguage |
|
DataType |
StructuredDataTypes |
languageOfObject |
|
DataType |
StructuredDataTypes |
language |
|
DataType |
StructuredDataTypes |
translationSourceLanguage |
Encodings#
Syntax representations / encodings
All syntax representations except the Canonical XMI are provided as reference points for specific implementations, or for use as defaults if sufficient in the form presented.
Fragment for the data type XsdLanguage (entire model as XMI)
1<packagedElement xmlns:StandardProfile="http://www.omg.org/spec/UML/20131001/StandardProfile"
2 xmlns:uml="http://www.omg.org/spec/UML/20131001"
3 xmlns:xmi="http://www.omg.org/spec/XMI/20131001"
4 xmi:id="DDICDIModels-DDICDILibrary-DataTypes-XMLSchemaDataTypes-XsdLanguage"
5 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#XsdLanguage"
6 xmi:type="uml:PrimitiveType">
7 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-XMLSchemaDataTypes-XsdLanguage-ownedComment"
8 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#XsdLanguage-ownedComment"
9 xmi:type="uml:Comment">
10 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-XMLSchemaDataTypes-XsdLanguage"/>
11 <body>Definition
12============
13Derived data type "language" of the XML Schema data types.
14
15Definition from XML Schema Part 2: Datatypes Second Edition:
16"language" represents natural language identifiers as defined by by [RFC 3066]. The value space of "language" is the set of all strings that are valid language identifiers as defined [RFC 3066] . The lexical space of language is the set of all strings that conform to the pattern [a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*. The base type of "language" is token. https://www.w3.org/TR/xmlschema-2/#language.</body>
17 </ownedComment>
18 <name>XsdLanguage</name>
19</packagedElement>
Fragment for the data type XsdLanguage (entire XML Schema)
1<!-- XML Schema primitive: xs:language -->
Fragment for the data type XsdLanguage (entire JSON Schema)
1"dt-XsdLanguage": {
2 "description": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/XsdLanguage",
3 "type": ["object"],
4 "properties": {
5
6 "@type": {
7 "const": "XsdLanguage"
8 }
9 },
10 "required": ["@type"],
11 "additionalProperties": false
12},
Fragment for the data type XsdLanguage (main ontology)
1# datatype XsdLanguage
2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::XMLSchemaDataTypes::XsdLanguage
3xsd:language
4 a rdfs:Class, owl:Class, ucmis:StructuredDataType;
5 rdfs:label "XsdLanguage";
6 rdfs:comment "Definition\n============\nDerived data type \"language\" of the XML Schema data types.\n\nDefinition from XML Schema Part 2: Datatypes Second Edition:\n\"language\" represents natural language identifiers as defined by by [RFC 3066]. The value space of \"language\" is the set of all strings that are valid language identifiers as defined [RFC 3066] . The lexical space of language is the set of all strings that conform to the pattern [a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*. The base type of \"language\" is token. https://www.w3.org/TR/xmlschema-2/#language."@en;
7
8 owl:hasKey ();
9.
Fragment for the data type XsdLanguage (entire JSON-LD)
1{
2 "@context": [
3 {
4 "cdi": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/",
5 "xsd": "http://www.w3.org/2001/XMLSchema#",
6
7
8 " comment ": "tag:json-should-support-trailing-commas"
9 }
10 ],
11 "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:34:57.",
12 "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::XMLSchemaDataTypes::XsdLanguage"
13}
Fragment for the data type XsdLanguage (entire SHACL - Shapes Constraint Language)
1# datatype XsdLanguage
2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::XMLSchemaDataTypes::XsdLanguage
3<#XsdLanguage> a sh:NodeShape;
4 sh:targetClass xsd:language;
5 sh:message "See http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/XsdLanguage";
6 sh:closed true;
7 sh:ignoredProperties ( owl:sameAs );
8 sh:property [
9 sh:path rdf:type;
10 sh:in ( xsd:language
11 ) ;
12 ];
13 # attributes
14
15
16
17.
Fragment for the data type XsdLanguage (entire ShEx - Shape Expressions)
1# datatype XsdLanguage
2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::XMLSchemaDataTypes::XsdLanguage
3xsd:languageShape CLOSED {
4 a [xsd:language];
5 }