StructureSpecification#

Fully qualified datatype name of the UML model DDI-CDI 1.0: DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::StructureSpecification

Definition#

The mathematical properties of the structure.

Diagram#

Diagram

Attributes#

Attributes
Attributes#

Name

Inherited from

Description

Data Type

Multiplicity

Default value

reflexive

- own datatype -

Members of the selected scope of the collection are related to themselves.

MemberRelationshipScope

0..1

symmetric

- own datatype -

For pairs of members, a, b in the indicated scope of the associated collection, whenever a is related to b then also b is related to a.

MemberRelationshipScope

0..1

transitive

- own datatype -

For members a, b, c in the indicated scope of the associated collection, whenever a is related to b and b is related to c then a is also related to c.

MemberRelationshipScope

0..1

Usage#

Usage
Usage#

Type

Package

Classifier

Attribute

Class

Agents

AgentStructure

specification

Class

Conceptual

CategoryRelationStructure

specification

Class

Conceptual

ConceptStructure

specification

Class

Conceptual

VariableStructure

specification

Class

FormatDescription

LogicalRecordRelationStructure

specification

Class

FormatDescription

PhysicalDataSetStructure

specification

Class

FormatDescription

PhysicalLayoutRelationStructure

specification

Class

FormatDescription

PhysicalRecordSegmentStructure

specification

Class

Representations

ClassificationItemStructure

specification

Class

Representations

ClassificationSeriesStructure

specification

Class

Representations

CodeListStructure

specification

Class

CollectionsPattern

Structure

specification

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 StructureSpecification (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-StructureSpecification"
 5                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#StructureSpecification"
 6                  xmi:type="uml:DataType">
 7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-StructureSpecification-ownedComment"
 8                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#StructureSpecification-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-StructureSpecification"/>
11      <body>Definition
12============
13The mathematical properties of the structure.</body>
14   </ownedComment>
15   <name>StructureSpecification</name>
16   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-StructureSpecification-reflexive"
17                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#StructureSpecification-reflexive"
18                    xmi:type="uml:Property">
19      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-StructureSpecification-reflexive-ownedComment"
20                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#StructureSpecification-reflexive-ownedComment"
21                     xmi:type="uml:Comment">
22         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-StructureSpecification-reflexive"/>
23         <body>Members of the selected scope of the collection are related to themselves.</body>
24      </ownedComment>
25      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-StructureSpecification-reflexive-lowerValue"
26                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#StructureSpecification-reflexive-lowerValue"
27                   xmi:type="uml:LiteralInteger"/>
28      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-StructureSpecification-reflexive-upperValue"
29                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#StructureSpecification-reflexive-upperValue"
30                   xmi:type="uml:LiteralUnlimitedNatural">
31         <value>1</value>
32      </upperValue>
33      <name>reflexive</name>
34      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-MemberRelationshipScope"/>
35   </ownedAttribute>
36   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-StructureSpecification-symmetric"
37                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#StructureSpecification-symmetric"
38                    xmi:type="uml:Property">
39      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-StructureSpecification-symmetric-ownedComment"
40                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#StructureSpecification-symmetric-ownedComment"
41                     xmi:type="uml:Comment">
42         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-StructureSpecification-symmetric"/>
43         <body>For pairs of members, a, b in the indicated scope of the associated collection, whenever a is related to b then also b is related to a.</body>
44      </ownedComment>
45      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-StructureSpecification-symmetric-lowerValue"
46                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#StructureSpecification-symmetric-lowerValue"
47                   xmi:type="uml:LiteralInteger"/>
48      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-StructureSpecification-symmetric-upperValue"
49                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#StructureSpecification-symmetric-upperValue"
50                   xmi:type="uml:LiteralUnlimitedNatural">
51         <value>1</value>
52      </upperValue>
53      <name>symmetric</name>
54      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-MemberRelationshipScope"/>
55   </ownedAttribute>
56   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-StructureSpecification-transitive"
57                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#StructureSpecification-transitive"
58                    xmi:type="uml:Property">
59      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-StructureSpecification-transitive-ownedComment"
60                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#StructureSpecification-transitive-ownedComment"
61                     xmi:type="uml:Comment">
62         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-StructureSpecification-transitive"/>
63         <body>For members a, b, c in the indicated scope of the associated collection, whenever a is related to b and b is related to c then a is also related to c.</body>
64      </ownedComment>
65      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-StructureSpecification-transitive-lowerValue"
66                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#StructureSpecification-transitive-lowerValue"
67                   xmi:type="uml:LiteralInteger"/>
68      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-StructureSpecification-transitive-upperValue"
69                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#StructureSpecification-transitive-upperValue"
70                   xmi:type="uml:LiteralUnlimitedNatural">
71         <value>1</value>
72      </upperValue>
73      <name>transitive</name>
74      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-Enumerations-MemberRelationshipScope"/>
75   </ownedAttribute>
76</packagedElement>

Fragment for the data type StructureSpecification (entire XML Schema)

 1<xs:element name="StructureSpecification"
 2            type="StructureSpecificationXsdType"
 3            xml:id="StructureSpecification">
 4  <!-- based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::StructureSpecification -->
 5  <xs:annotation>
 6    <xs:documentation>Definition
 7          ============
 8          The mathematical properties of the structure.</xs:documentation>
 9  </xs:annotation>
10</xs:element>
11<xs:complexType name="StructureSpecificationXsdType"
12                xml:id="StructureSpecificationXsdType">
13  <xs:annotation>
14    <xs:documentation>Definition
15          ============
16          The mathematical properties of the structure.</xs:documentation>
17  </xs:annotation>
18  <xs:sequence>
19    <xs:element name="reflexive"
20                type="MemberRelationshipScopeXsdType"
21                minOccurs="0"
22                maxOccurs="1"
23                xml:id="StructureSpecification-reflexive">
24      <xs:annotation>
25        <xs:documentation>Members of the selected scope of the collection are related to themselves.</xs:documentation>
26      </xs:annotation>
27    </xs:element>
28    <xs:element name="symmetric"
29                type="MemberRelationshipScopeXsdType"
30                minOccurs="0"
31                maxOccurs="1"
32                xml:id="StructureSpecification-symmetric">
33      <xs:annotation>
34        <xs:documentation>For pairs of members, a, b in the indicated scope of the associated collection, whenever a is related to b then also b is related to a.</xs:documentation>
35      </xs:annotation>
36    </xs:element>
37    <xs:element name="transitive"
38                type="MemberRelationshipScopeXsdType"
39                minOccurs="0"
40                maxOccurs="1"
41                xml:id="StructureSpecification-transitive">
42      <xs:annotation>
43        <xs:documentation>For members a, b, c in the indicated scope of the associated collection, whenever a is related to b and b is related to c then a is also related to c.</xs:documentation>
44      </xs:annotation>
45    </xs:element>
46  </xs:sequence>
47</xs:complexType>

Fragment for the data type StructureSpecification (entire JSON Schema)

 1"dt-StructureSpecification": {
 2  "description": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/StructureSpecification",
 3  "type": ["object"],
 4  "properties": {
 5    "reflexive": {
 6      "$comment": "cardinality 0..1 – from cdi:StructureSpecification",
 7      "$ref": "#/defs/enum-MemberRelationshipScope"
 8    },
 9    "symmetric": {
10      "$comment": "cardinality 0..1 – from cdi:StructureSpecification",
11      "$ref": "#/defs/enum-MemberRelationshipScope"
12    },
13    "transitive": {
14      "$comment": "cardinality 0..1 – from cdi:StructureSpecification",
15      "$ref": "#/defs/enum-MemberRelationshipScope"
16    },
17    "@type": {
18      "const": "StructureSpecification"
19    }
20  },
21  "required": ["@type"],
22  "additionalProperties": false
23},

Fragment for the data type StructureSpecification (main ontology)

 1# datatype StructureSpecification
 2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::StructureSpecification
 3cdi:StructureSpecification
 4  a rdfs:Class, owl:Class, ucmis:StructuredDataType;
 5  rdfs:label "StructureSpecification";
 6  rdfs:comment "Definition\n============\nThe mathematical properties of the structure."@en;
 7  
 8  owl:hasKey (cdi:StructureSpecification-reflexive cdi:StructureSpecification-symmetric cdi:StructureSpecification-transitive);
 9.
10
11cdi:StructureSpecification-reflexive
12  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
13  rdfs:label "reflexive";
14  rdfs:comment "Members of the selected scope of the collection are related to themselves."@en;
15  rdfs:domain cdi:StructureSpecification;
16  rdfs:range cdi:MemberRelationshipScope;
17.
18
19cdi:StructureSpecification-symmetric
20  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
21  rdfs:label "symmetric";
22  rdfs:comment "For pairs of members, a, b in the indicated scope of the associated collection, whenever a is related to b then also b is related to a."@en;
23  rdfs:domain cdi:StructureSpecification;
24  rdfs:range cdi:MemberRelationshipScope;
25.
26
27cdi:StructureSpecification-transitive
28  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
29  rdfs:label "transitive";
30  rdfs:comment "For members a, b, c in the indicated scope of the associated collection, whenever a is related to b and b is related to c then a is also related to c."@en;
31  rdfs:domain cdi:StructureSpecification;
32  rdfs:range cdi:MemberRelationshipScope;
33.

Fragment for the data type StructureSpecification (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      "reflexive": {
 8        "@id": "cdi:StructureSpecification-reflexive",
 9        "@type": "@vocab",
10        "@context": {
11          "All": "cdi:All"
12      ,    "None": "cdi:None"
13      ,    "Some": "cdi:Some"
14        }
15      },
16      "symmetric": {
17        "@id": "cdi:StructureSpecification-symmetric",
18        "@type": "@vocab",
19        "@context": {
20          "All": "cdi:All"
21      ,    "None": "cdi:None"
22      ,    "Some": "cdi:Some"
23        }
24      },
25      "transitive": {
26        "@id": "cdi:StructureSpecification-transitive",
27        "@type": "@vocab",
28        "@context": {
29          "All": "cdi:All"
30      ,    "None": "cdi:None"
31      ,    "Some": "cdi:Some"
32        }
33      },
34      
35      " comment ": "tag:json-should-support-trailing-commas" 
36    }
37  ],
38  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:34:57.",
39  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::StructureSpecification"
40}

Fragment for the data type StructureSpecification (entire SHACL - Shapes Constraint Language)

 1# datatype StructureSpecification
 2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::StructureSpecification
 3<#StructureSpecification> a sh:NodeShape;
 4    sh:targetClass cdi:StructureSpecification;
 5	sh:message "See http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/StructureSpecification";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   cdi:StructureSpecification
11			 ) ;
12    ];
13    # attributes
14    sh:property <#StructureSpecification-reflexive>;
15    sh:property <#StructureSpecification-symmetric>;
16    sh:property <#StructureSpecification-transitive>;
17
18
19
20.
21
22<#StructureSpecification-reflexive> a sh:PropertyShape ;
23    sh:path cdi:StructureSpecification-reflexive;
24    sh:node <#MemberRelationshipScope>
25    ;
26    sh:maxCount 1;
27.
28<#StructureSpecification-symmetric> a sh:PropertyShape ;
29    sh:path cdi:StructureSpecification-symmetric;
30    sh:node <#MemberRelationshipScope>
31    ;
32    sh:maxCount 1;
33.
34<#StructureSpecification-transitive> a sh:PropertyShape ;
35    sh:path cdi:StructureSpecification-transitive;
36    sh:node <#MemberRelationshipScope>
37    ;
38    sh:maxCount 1;
39.

Fragment for the data type StructureSpecification (entire ShEx - Shape Expressions)

1# datatype StructureSpecification
2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::StructureSpecification
3cdi:StructureSpecificationShape CLOSED {
4	a [cdi:StructureSpecification];
5	cdi:StructureSpecification-reflexive	@cdi:MemberRelationshipScopeShape?;
6	cdi:StructureSpecification-symmetric	@cdi:MemberRelationshipScopeShape?;
7	cdi:StructureSpecification-transitive	@cdi:MemberRelationshipScopeShape?;
8	}