RevisableDatum#

Fully qualified class name of the UML model DDI-CDI 1.0: DDICDIModels::DDICDILibrary::Classes::DataDescription::Dimensional::RevisableDatum

Definition#

A datum that can be qualified by a revision.

Examples#

The April datum for Income revised in June.

Diagram#

Diagram

Inheritance#

Inheritance
  ᐊ── Dimensional::RevisableDatum

Attributes#

Attributes
Attributes#

Name

Inherited from

Description

Data Type

Multiplicity

Default value

vintage

- own class -

A revision sequence number for a datum.

Integer

1..1

catalogDetails

DataDescription::Datum

Bundles the information useful for a data catalog entry. Examples would be creator, contributor, title, copyright, embargo, and license information. A set of information useful for attribution, data discovery, and access. This is information that is tied to the identity of the object. If this information changes the version of the associated object changes.

CatalogDetails

0..1

identifier

DataDescription::Datum

Identifier for objects requiring short- or long-lasting referencing and management.

Identifier

0..1

Associations#

Associations
Associations#

Direction

Association

Description

Multiplicity of RevisableDatum

Package of Other Class

Other Class

Multiplicity of other class

Aggregation Kind

Inherited from

from

Datum isBoundedBy InstanceVariable

A datum is bounded by an instance variable. The datum is drawn from a set of values, either substantive or sentinel described by the value domain of the instance variable.

0..*

Conceptual

InstanceVariable

1..*

none

DataDescription::Datum

from

Datum denotes ConceptualValue

0..*

DataDescription

ConceptualValue

1..1

none

DataDescription::Datum

from

Datum uses InstanceValue

0..*

DataDescription

InstanceValue

1..*

none

DataDescription::Datum

from

Datum uses Notation

0..*

DataDescription

Notation

0..1

none

DataDescription::Datum

from

RevisableDatum correspondsTo Revision

0..*

- own package -

Revision

0..1

none

own class

to

ScopedMeasure generates RevisableDatum

Scoped measure generates one revisable datum.

1..1

- own package -

ScopedMeasure

1..1

none

own class

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 class RevisableDatum (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-Classes-DataDescription-Dimensional-RevisableDatum"
 5                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RevisableDatum"
 6                  xmi:type="uml:Class">
 7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Dimensional-RevisableDatum-ownedComment"
 8                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RevisableDatum-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Dimensional-RevisableDatum"/>
11      <body>Definition
12============
13A datum that can be qualified by a revision.
14
15Examples
16==========
17The April datum for Income revised in June.</body>
18   </ownedComment>
19   <name>RevisableDatum</name>
20   <generalization xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Dimensional-RevisableDatum-generalization"
21                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RevisableDatum-generalization"
22                    xmi:type="uml:Generalization">
23      <general xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Datum"/>
24   </generalization>
25   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Dimensional-RevisableDatum-ownedAttribute"
26                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RevisableDatum-ownedAttribute"
27                    xmi:type="uml:Property">
28      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Dimensional-RevisableDatum-ownedAttribute-lowerValue"
29                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RevisableDatum-ownedAttribute-lowerValue"
30                   xmi:type="uml:LiteralInteger"/>
31      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Dimensional-RevisableDatum-ownedAttribute-upperValue"
32                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RevisableDatum-ownedAttribute-upperValue"
33                   xmi:type="uml:LiteralUnlimitedNatural">
34         <value>1</value>
35      </upperValue>
36      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Dimensional-RevisableDatum_correspondsTo_Revision"/>
37      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Dimensional-Revision"/>
38   </ownedAttribute>
39   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Dimensional-RevisableDatum-vintage"
40                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RevisableDatum-vintage"
41                    xmi:type="uml:Property">
42      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Dimensional-RevisableDatum-vintage-ownedComment"
43                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RevisableDatum-vintage-ownedComment"
44                     xmi:type="uml:Comment">
45         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-DataDescription-Dimensional-RevisableDatum-vintage"/>
46         <body>A revision sequence number for a datum.</body>
47      </ownedComment>
48      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Dimensional-RevisableDatum-vintage-lowerValue"
49                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RevisableDatum-vintage-lowerValue"
50                   xmi:type="uml:LiteralInteger">
51         <value>1</value>
52      </lowerValue>
53      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-DataDescription-Dimensional-RevisableDatum-vintage-upperValue"
54                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#RevisableDatum-vintage-upperValue"
55                   xmi:type="uml:LiteralUnlimitedNatural">
56         <value>1</value>
57      </upperValue>
58      <name>vintage</name>
59      <type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Integer"
60             xmi:type="uml:PrimitiveType"/>
61   </ownedAttribute>
62</packagedElement>

Fragment for the class RevisableDatum (entire XML Schema)

 1<xs:element name="RevisableDatum"
 2            type="RevisableDatumXsdType"
 3            xml:id="RevisableDatum">
 4  <!-- based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Dimensional::RevisableDatum -->
 5  <xs:annotation>
 6    <xs:documentation>Definition
 7          ============
 8          A datum that can be qualified by a revision.
 9          
10          Examples
11          ==========
12          The April datum for Income revised in June.</xs:documentation>
13  </xs:annotation>
14</xs:element>
15<xs:complexType name="RevisableDatumXsdType"
16                xml:id="RevisableDatumXsdType">
17  <xs:annotation>
18    <xs:documentation>Definition
19          ============
20          A datum that can be qualified by a revision.
21          
22          Examples
23          ==========
24          The April datum for Income revised in June.</xs:documentation>
25  </xs:annotation>
26  <xs:complexContent>
27    <xs:extension base="DatumXsdType">
28      <xs:sequence>
29        <xs:element name="vintage"
30                    type="xs:integer"
31                    minOccurs="1"
32                    maxOccurs="1"
33                    xml:id="RevisableDatum-vintage">
34          <xs:annotation>
35            <xs:documentation>A revision sequence number for a datum.</xs:documentation>
36          </xs:annotation>
37        </xs:element>
38        <xs:element name="RevisableDatum_correspondsTo_Revision"
39                    minOccurs="0"
40                    maxOccurs="1"
41                    xml:id="RevisableDatum_correspondsTo_Revision">
42          <xs:annotation>
43            <xs:documentation></xs:documentation>
44          </xs:annotation>
45          <xs:complexType>
46            <xs:complexContent>
47              <xs:restriction base="AssociationReferenceXsdType">
48                <xs:sequence>
49                  <xs:element name="ddiReference"
50                              type="InternationalRegistrationDataIdentifierXsdType"
51                              minOccurs="0"
52                              maxOccurs="1"
53                              xml:id="RevisableDatum_correspondsTo_Revision-ddiReference"/>
54                  <xs:element name="validType"
55                              minOccurs="0"
56                              maxOccurs="unbounded"
57                              xml:id="RevisableDatum_correspondsTo_Revision-validType">
58                    <xs:simpleType>
59                      <xs:restriction base="xs:NMTOKEN">
60                        <xs:enumeration value="Revision"/>
61                      </xs:restriction>
62                    </xs:simpleType>
63                  </xs:element>
64                </xs:sequence>
65              </xs:restriction>
66            </xs:complexContent>
67          </xs:complexType>
68        </xs:element>
69      </xs:sequence>
70    </xs:extension>
71  </xs:complexContent>
72</xs:complexType>

Fragment for the class RevisableDatum (entire JSON Schema)

 1"cls-RevisableDatum": {
 2  "description": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/RevisableDatum",
 3  "type": "object",
 4  "properties": {
 5    "@context": {
 6      "$ref": "#/defs/at-context"
 7    },
 8    "@id": {
 9      "type": "string",
10      "format": "iri-reference"
11    },
12    "@type": {
13      "const": "RevisableDatum"
14    },
15    "vintage": {
16      "$comment": "cardinality 1..1 – from cdi:RevisableDatum",
17      "$ref": "#/defs/xsd:integer"
18    },
19    "catalogDetails": {
20      "$comment": "cardinality 0..1 – from cdi:Datum",
21      "$ref": "#/defs/dt-CatalogDetails"
22    },
23    "identifier": {
24      "$comment": "cardinality 0..1 – from cdi:Datum",
25      "$ref": "#/defs/dt-Identifier"
26    },
27    "correspondsTo_Revision": {
28      "description": "RevisableDatum_correspondsTo_Revision",
29      "$comment": "cardinality 0..1",
30       "$ref": "#/defs/target-Revision"
31    },
32    "isBoundedBy": {
33      "description": "Datum_isBoundedBy_InstanceVariable",
34      "$comment": "cardinality 1..-1",
35      "anyOf": [
36        {
37          "$ref": "#/defs/target-InstanceVariable"
38        },
39        {
40          "type": "array",
41          "items": {
42            "$ref": "#/defs/target-InstanceVariable"
43          }
44        }
45      ]
46    },
47    "denotes": {
48      "description": "Datum_denotes_ConceptualValue",
49      "$comment": "cardinality 1..1",
50       "$ref": "#/defs/target-ConceptualValue"
51    },
52    "uses_InstanceValue": {
53      "description": "Datum_uses_InstanceValue",
54      "$comment": "cardinality 1..-1",
55      "anyOf": [
56        {
57          "$ref": "#/defs/target-InstanceValue"
58        },
59        {
60          "type": "array",
61          "items": {
62            "$ref": "#/defs/target-InstanceValue"
63          }
64        }
65      ]
66    },
67    "uses_Notation": {
68      "description": "Datum_uses_Notation",
69      "$comment": "cardinality 0..1",
70       "$ref": "#/defs/target-Notation"
71    },
72    "generates_OF_ScopedMeasure": {
73      "description": "ScopedMeasure_generates_RevisableDatum",
74      "$comment": "cardinality 1..1",
75      "$ref": "#/defs/target-ScopedMeasure"
76    },
77    "sameAs": {
78      "$ref": "#/defs/owl:sameAs"
79    }
80  },
81  "required": ["vintage","isBoundedBy", "denotes", "uses_InstanceValue","@type"],
82  "additionalProperties": false
83},
84"target-RevisableDatum": {
85  "description": "all subclasses of http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/RevisableDatum",
86  "anyOf": [
87    { "$ref": "#/defs/cls-RevisableDatum" },
88    { "type": "string", "format": "iri-reference" }
89  ]
90},

Fragment for the class RevisableDatum (main ontology)

 1# class RevisableDatum
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Dimensional::RevisableDatum
 3cdi:RevisableDatum
 4  a rdfs:Class, owl:Class, ucmis:Class;
 5  rdfs:label "RevisableDatum";
 6  rdfs:comment "Definition\n============\nA datum that can be qualified by a revision.\n\nExamples\n==========\nThe April datum for Income revised in June."@en;
 7  rdfs:subClassOf cdi:Datum;
 8.
 9
10cdi:RevisableDatum-vintage
11  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
12  rdfs:label "vintage";
13  rdfs:comment "A revision sequence number for a datum."@en;
14  rdfs:domain cdi:RevisableDatum;
15  rdfs:range xsd:integer;
16.
17
18
19cdi:RevisableDatum_correspondsTo_Revision
20  a rdf:Property, owl:ObjectProperty, ucmis:Association;
21  # ASSOCIATION
22  rdfs:label "correspondsTo_Revision";
23  skos:altLabel "RevisableDatum_correspondsTo_Revision";
24  
25  rdfs:domain cdi:RevisableDatum;
26  rdfs:range cdi:Revision;
27.

Fragment for the class RevisableDatum (entire JSON-LD)

 1{
 2  "@context": [
 3    "Datum.jsonld",
 4    {
 5      "cdi": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/",
 6      "xsd": "http://www.w3.org/2001/XMLSchema#",
 7
 8      "vintage": {
 9        "@id": "cdi:RevisableDatum-vintage",
10        "@type": "xsd:integer"
11      },
12      
13      "correspondsTo_Revision": {
14        "@id": "cdi:RevisableDatum_correspondsTo_Revision",
15        "@type": "@id",
16        "@context": "Revision.jsonld"
17      },
18      "generates_OF_ScopedMeasure": {
19        "@reverse": "cdi:ScopedMeasure_generates_RevisableDatum",
20        "@type": "@id",
21        "@context": "ScopedMeasure.jsonld"
22      },
23      " comment ": "tag:json-should-support-trailing-commas"
24    }
25  ],
26  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:34:50.",
27  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::Classes::DataDescription::Dimensional::RevisableDatum"
28}

Fragment for the class RevisableDatum (entire SHACL - Shapes Constraint Language)

 1# class RevisableDatum
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Dimensional::RevisableDatum
 3<#RevisableDatum> a sh:NodeShape;
 4    sh:targetClass cdi:RevisableDatum;
 5	sh:message "See http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/RevisableDatum";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   cdi:RevisableDatum
11			 ) ;
12    ];
13    # attributes
14    sh:property <#RevisableDatum-vintage>;
15    # associations from RevisableDatum
16    sh:property <#RevisableDatum_correspondsTo_Revision>;
17    # associations to RevisableDatum
18    sh:property <#rev_ScopedMeasure_generates_RevisableDatum>;
19
20    # ---- superclass: Datum
21    # attributes
22    sh:property <#Datum-catalogDetails>;
23    sh:property <#Datum-identifier>;
24    # associations from Datum
25    sh:property <#Datum_isBoundedBy_InstanceVariable>;
26    sh:property <#Datum_denotes_ConceptualValue>;
27    sh:property <#Datum_uses_InstanceValue>;
28    sh:property <#Datum_uses_Notation>;
29    # associations to Datum
30
31
32
33
34
35.
36
37<#RevisableDatum-vintage> a sh:PropertyShape ;
38    sh:path cdi:RevisableDatum-vintage;
39    sh:datatype xsd:integer;
40    sh:minCount 1;
41    sh:maxCount 1;
42.
43
44<#RevisableDatum_correspondsTo_Revision> a sh:PropertyShape ;
45    sh:path cdi:RevisableDatum_correspondsTo_Revision;
46	sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
47        cdi:Revision
48      
49    ) ]];
50    sh:maxCount 1;
51.
52<#rev_RevisableDatum_correspondsTo_Revision> a sh:PropertyShape ;
53    sh:path [ sh:inversePath cdi:RevisableDatum_correspondsTo_Revision ];
54.

Fragment for the class RevisableDatum (entire ShEx - Shape Expressions)

 1# class RevisableDatum
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::DataDescription::Dimensional::RevisableDatum
 3cdi:RevisableDatumShape CLOSED {
 4	a [cdi:RevisableDatum];
 5	cdi:RevisableDatum-vintage	xsd:integer;
 6	cdi:RevisableDatum_correspondsTo_Revision	@cdi:RevisionShape ?;
 7	
 8	^cdi:ScopedMeasure_generates_RevisableDatum @cdi:ScopedMeasureShape ;
 9		&cdi:DatumProperties;
10	}