NonIsoDate

Fully qualified datatype name: DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::NonIsoDate

Definition

Used to preserve an historical date, formatted in a non-ISO fashion.

Diagram

Attributes

Name

Inherited from

Description

Data Type

Multiplicity

Default value

calendar

- own datatype -

Specifies the type of calendar used (e.g., Gregorian, Julian, Jewish).

ControlledVocabularyEntry

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.

ControlledVocabularyEntry

0..1

Usage

Type

Package

Classifier

Attribute

DataType

StructuredDataTypes

CombinedDate

nonIsoDate

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 XMI model)

 1<packagedElement xmlns:StandardProfile="http://www.eclipse.org/uml2/5.0.0/UML/Profile/Standard"
 2                 xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML"
 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.eclipse.org/uml2/5.0.0/UML/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 (main ontology, entire ontology as zip)

 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 (main JSON-LD entire JSON-LD as zip)

 1{
 2  "@context": [
 3    {
 4      "cdi": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/",
 5      "xsd": "http://www.w3.org/2001/XMLSchema#",
 6	  "NonIsoDate": "cdi:NonIsoDate",
 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 2024-09-23 21:53:03.",
26  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::NonIsoDate"
27}