NonIsoDate#
Fully qualified datatype name of the UML model DDI-CDI 1.0: DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::NonIsoDate
Definition#
Used to preserve an historical date, formatted in a non-ISO fashion.
Diagram#
Diagram
Attributes#
Attributes
Name |
Inherited from |
Description |
Data Type |
Multiplicity |
Default value |
|---|---|---|---|---|---|
calendar |
- own datatype - |
Specifies the type of calendar used (e.g., Gregorian, Julian, Jewish). |
0..1 |
||
dateContent |
- own datatype - |
This is the date expressed in a non-ISO compliant structure. Primarily used to retain legacy content or to express non-Gregorian calendar dates. |
String |
1..1 |
|
nonIsoDateFormat |
- own datatype - |
Indicate the structure of the date provided in NonISODate. For example if the NonISODate contained 4/1/2000 the Historical Date Format would be mm/dd/yyyy. The use of a controlled vocabulary is strongly recommended to support interoperability. |
0..1 |
Usage#
Usage
Type |
Package |
Classifier |
Attribute |
|---|---|---|---|
DataType |
StructuredDataTypes |
nonIsoDate |
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 NonIsoDate (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-StructuredDataTypes-NonIsoDate"
5 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#NonIsoDate"
6 xmi:type="uml:DataType">
7 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-NonIsoDate-ownedComment"
8 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#NonIsoDate-ownedComment"
9 xmi:type="uml:Comment">
10 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-NonIsoDate"/>
11 <body>Definition
12============
13Used to preserve an historical date, formatted in a non-ISO fashion.</body>
14 </ownedComment>
15 <name>NonIsoDate</name>
16 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-NonIsoDate-calendar"
17 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#NonIsoDate-calendar"
18 xmi:type="uml:Property">
19 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-NonIsoDate-calendar-ownedComment"
20 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#NonIsoDate-calendar-ownedComment"
21 xmi:type="uml:Comment">
22 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-NonIsoDate-calendar"/>
23 <body>Specifies the type of calendar used (e.g., Gregorian, Julian, Jewish).</body>
24 </ownedComment>
25 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-NonIsoDate-calendar-lowerValue"
26 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#NonIsoDate-calendar-lowerValue"
27 xmi:type="uml:LiteralInteger"/>
28 <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-NonIsoDate-calendar-upperValue"
29 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#NonIsoDate-calendar-upperValue"
30 xmi:type="uml:LiteralUnlimitedNatural">
31 <value>1</value>
32 </upperValue>
33 <name>calendar</name>
34 <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ControlledVocabularyEntry"/>
35 </ownedAttribute>
36 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-NonIsoDate-dateContent"
37 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#NonIsoDate-dateContent"
38 xmi:type="uml:Property">
39 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-NonIsoDate-dateContent-ownedComment"
40 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#NonIsoDate-dateContent-ownedComment"
41 xmi:type="uml:Comment">
42 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-NonIsoDate-dateContent"/>
43 <body>This is the date expressed in a non-ISO compliant structure. Primarily used to retain legacy content or to express non-Gregorian calendar dates.</body>
44 </ownedComment>
45 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-NonIsoDate-dateContent-lowerValue"
46 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#NonIsoDate-dateContent-lowerValue"
47 xmi:type="uml:LiteralInteger">
48 <value>1</value>
49 </lowerValue>
50 <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-NonIsoDate-dateContent-upperValue"
51 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#NonIsoDate-dateContent-upperValue"
52 xmi:type="uml:LiteralUnlimitedNatural">
53 <value>1</value>
54 </upperValue>
55 <name>dateContent</name>
56 <type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"
57 xmi:type="uml:PrimitiveType"/>
58 </ownedAttribute>
59 <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-NonIsoDate-nonIsoDateFormat"
60 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#NonIsoDate-nonIsoDateFormat"
61 xmi:type="uml:Property">
62 <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-NonIsoDate-nonIsoDateFormat-ownedComment"
63 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#NonIsoDate-nonIsoDateFormat-ownedComment"
64 xmi:type="uml:Comment">
65 <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-NonIsoDate-nonIsoDateFormat"/>
66 <body>Indicate the structure of the date provided in NonISODate. For example if the NonISODate contained 4/1/2000 the Historical Date Format would be mm/dd/yyyy. The use of a controlled vocabulary is strongly recommended to support interoperability.</body>
67 </ownedComment>
68 <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-NonIsoDate-nonIsoDateFormat-lowerValue"
69 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#NonIsoDate-nonIsoDateFormat-lowerValue"
70 xmi:type="uml:LiteralInteger"/>
71 <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-NonIsoDate-nonIsoDateFormat-upperValue"
72 xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#NonIsoDate-nonIsoDateFormat-upperValue"
73 xmi:type="uml:LiteralUnlimitedNatural">
74 <value>1</value>
75 </upperValue>
76 <name>nonIsoDateFormat</name>
77 <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ControlledVocabularyEntry"/>
78 </ownedAttribute>
79</packagedElement>
Fragment for the data type NonIsoDate (entire XML Schema)
1<xs:element name="NonIsoDate"
2 type="NonIsoDateXsdType"
3 xml:id="NonIsoDate">
4 <!-- based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::NonIsoDate -->
5 <xs:annotation>
6 <xs:documentation>Definition
7 ============
8 Used to preserve an historical date, formatted in a non-ISO fashion.</xs:documentation>
9 </xs:annotation>
10</xs:element>
11<xs:complexType name="NonIsoDateXsdType"
12 xml:id="NonIsoDateXsdType">
13 <xs:annotation>
14 <xs:documentation>Definition
15 ============
16 Used to preserve an historical date, formatted in a non-ISO fashion.</xs:documentation>
17 </xs:annotation>
18 <xs:sequence>
19 <xs:element name="calendar"
20 type="ControlledVocabularyEntryXsdType"
21 minOccurs="0"
22 maxOccurs="1"
23 xml:id="NonIsoDate-calendar">
24 <xs:annotation>
25 <xs:documentation>Specifies the type of calendar used (e.g., Gregorian, Julian, Jewish).</xs:documentation>
26 </xs:annotation>
27 </xs:element>
28 <xs:element name="dateContent"
29 type="xs:string"
30 minOccurs="1"
31 maxOccurs="1"
32 xml:id="NonIsoDate-dateContent">
33 <xs:annotation>
34 <xs:documentation>This is the date expressed in a non-ISO compliant structure. Primarily used to retain legacy content or to express non-Gregorian calendar dates.</xs:documentation>
35 </xs:annotation>
36 </xs:element>
37 <xs:element name="nonIsoDateFormat"
38 type="ControlledVocabularyEntryXsdType"
39 minOccurs="0"
40 maxOccurs="1"
41 xml:id="NonIsoDate-nonIsoDateFormat">
42 <xs:annotation>
43 <xs:documentation>Indicate the structure of the date provided in NonISODate. For example if the NonISODate contained 4/1/2000 the Historical Date Format would be mm/dd/yyyy. The use of a controlled vocabulary is strongly recommended to support interoperability.</xs:documentation>
44 </xs:annotation>
45 </xs:element>
46 </xs:sequence>
47</xs:complexType>
Fragment for the data type NonIsoDate (entire JSON Schema)
1"dt-NonIsoDate": {
2 "description": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/NonIsoDate",
3 "type": ["object"],
4 "properties": {
5 "calendar": {
6 "$comment": "cardinality 0..1 – from cdi:NonIsoDate",
7 "$ref": "#/defs/dt-ControlledVocabularyEntry"
8 },
9 "dateContent": {
10 "$comment": "cardinality 1..1 – from cdi:NonIsoDate",
11 "$ref": "#/defs/xsd:string"
12 },
13 "nonIsoDateFormat": {
14 "$comment": "cardinality 0..1 – from cdi:NonIsoDate",
15 "$ref": "#/defs/dt-ControlledVocabularyEntry"
16 },
17 "@type": {
18 "const": "NonIsoDate"
19 }
20 },
21 "required": ["dateContent","@type"],
22 "additionalProperties": false
23},
Fragment for the data type NonIsoDate (main ontology)
1# datatype NonIsoDate
2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::NonIsoDate
3cdi:NonIsoDate
4 a rdfs:Class, owl:Class, ucmis:StructuredDataType;
5 rdfs:label "NonIsoDate";
6 rdfs:comment "Definition\n============\nUsed to preserve an historical date, formatted in a non-ISO fashion."@en;
7
8 owl:hasKey (cdi:NonIsoDate-calendar cdi:NonIsoDate-dateContent cdi:NonIsoDate-nonIsoDateFormat);
9.
10
11cdi:NonIsoDate-calendar
12 a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
13 rdfs:label "calendar";
14 rdfs:comment "Specifies the type of calendar used (e.g., Gregorian, Julian, Jewish)."@en;
15 rdfs:domain cdi:NonIsoDate;
16 rdfs:range cdi:ControlledVocabularyEntry;
17.
18
19cdi:NonIsoDate-dateContent
20 a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
21 rdfs:label "dateContent";
22 rdfs:comment "This is the date expressed in a non-ISO compliant structure. Primarily used to retain legacy content or to express non-Gregorian calendar dates."@en;
23 rdfs:domain cdi:NonIsoDate;
24 rdfs:range xsd:string;
25.
26
27cdi:NonIsoDate-nonIsoDateFormat
28 a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
29 rdfs:label "nonIsoDateFormat";
30 rdfs:comment "Indicate the structure of the date provided in NonISODate. For example if the NonISODate contained 4/1/2000 the Historical Date Format would be mm/dd/yyyy. The use of a controlled vocabulary is strongly recommended to support interoperability."@en;
31 rdfs:domain cdi:NonIsoDate;
32 rdfs:range cdi:ControlledVocabularyEntry;
33.
Fragment for the data type NonIsoDate (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 "calendar": {
8 "@id": "cdi:NonIsoDate-calendar",
9 "@type": "@id",
10 "@context": "ControlledVocabularyEntry.jsonld"
11 },
12 "dateContent": {
13 "@id": "cdi:NonIsoDate-dateContent",
14 "@type": "xsd:string"
15 },
16 "nonIsoDateFormat": {
17 "@id": "cdi:NonIsoDate-nonIsoDateFormat",
18 "@type": "@id",
19 "@context": "ControlledVocabularyEntry.jsonld"
20 },
21
22 " comment ": "tag:json-should-support-trailing-commas"
23 }
24 ],
25 "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:34:56.",
26 "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::NonIsoDate"
27}
Fragment for the data type NonIsoDate (entire SHACL - Shapes Constraint Language)
1# datatype NonIsoDate
2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::NonIsoDate
3<#NonIsoDate> a sh:NodeShape;
4 sh:targetClass cdi:NonIsoDate;
5 sh:message "See http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/NonIsoDate";
6 sh:closed true;
7 sh:ignoredProperties ( owl:sameAs );
8 sh:property [
9 sh:path rdf:type;
10 sh:in ( cdi:NonIsoDate
11 ) ;
12 ];
13 # attributes
14 sh:property <#NonIsoDate-calendar>;
15 sh:property <#NonIsoDate-dateContent>;
16 sh:property <#NonIsoDate-nonIsoDateFormat>;
17
18
19
20.
21
22<#NonIsoDate-calendar> a sh:PropertyShape ;
23 sh:path cdi:NonIsoDate-calendar;
24 sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
25 cdi:ControlledVocabularyEntry
26
27 ) ]];
28 sh:maxCount 1;
29.
30<#NonIsoDate-dateContent> a sh:PropertyShape ;
31 sh:path cdi:NonIsoDate-dateContent;
32 sh:datatype xsd:string;
33 sh:minCount 1;
34 sh:maxCount 1;
35.
36<#NonIsoDate-nonIsoDateFormat> a sh:PropertyShape ;
37 sh:path cdi:NonIsoDate-nonIsoDateFormat;
38 sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
39 cdi:ControlledVocabularyEntry
40
41 ) ]];
42 sh:maxCount 1;
43.
Fragment for the data type NonIsoDate (entire ShEx - Shape Expressions)
1# datatype NonIsoDate
2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::NonIsoDate
3cdi:NonIsoDateShape CLOSED {
4 a [cdi:NonIsoDate];
5 cdi:NonIsoDate-calendar @cdi:ControlledVocabularyEntryShape?;
6 cdi:NonIsoDate-dateContent xsd:string;
7 cdi:NonIsoDate-nonIsoDateFormat @cdi:ControlledVocabularyEntryShape?;
8 }