Level#

Fully qualified class name of the UML model DDI-CDI 1.0: DDICDIModels::DDICDILibrary::Classes::Representations::Level

Definition#

Set of all classification items the same number of relationships from the root (or top) classification item.

Examples#

ISCO-08: index=’1’ label of associated category ‘Major’, index=’2’ label of associated category ‘Sub-Major’, index=’3’ label of associated category ‘Minor’,

Explanatory notes#

Provides level information for the members of the level structure. levelNumber provides the level number which may or may not be associated with a category which defines level.

Diagram#

Diagram

Attributes#

Attributes
Attributes#

Name

Inherited from

Description

Data Type

Multiplicity

Default value

displayLabel

- own class -

A human-readable display label for the object. Supports the use of multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.

LabelForDisplay

0..*

identifier

- own class -

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

Identifier

0..1

levelNumber

- own class -

Provides an association between a level number and optional concept which defines it within an ordered array. Use is required.

Integer

1..1

Associations#

Associations
Associations#

Direction

Association

Description

Multiplicity of Level

Package of Other Class

Other Class

Multiplicity of other class

Aggregation Kind

Inherited from

from

Level isDefinedBy Concept

A concept or concept sub-type which describes the level.

0..*

Conceptual

Concept

0..1

none

own class

to

CorrespondenceTable hasSource Level

Level from which the correspondence is made. Correspondences might be restricted to a specified level in the node set. In this case, target items are assigned only to source items on the given level. If no level is indicated, source items can be assigned to any level of the target node set.

0..1

- own package -

CorrespondenceTable

0..*

none

own class

to

CorrespondenceTable hasTarget Level

Level to which the correspondence is made. Correspondences might be restricted to a specified Level in the node set. In this case, target items are assigned only to source items on the given level. If no level is indicated, target items can be assigned to any level of the source node set.

0..1

- own package -

CorrespondenceTable

0..*

none

own class

from

Level groups ClassificationItem

0..*

- own package -

ClassificationItem

0..*

shared

own class

to

LevelStructure has Level

0..*

- own package -

LevelStructure

0..*

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 Level (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-Representations-Level"
  5                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Level"
  6                  xmi:type="uml:Class">
  7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-Level-ownedComment"
  8                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Level-ownedComment"
  9                  xmi:type="uml:Comment">
 10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Representations-Level"/>
 11      <body>Definition
 12============
 13Set of all classification items the same number of relationships from the root (or top) classification item.
 14
 15Examples
 16==========
 17ISCO-08: index='1' label of associated category 'Major', index='2' label of associated category 'Sub-Major',  index='3' label of associated category 'Minor', 
 18
 19Explanatory notes
 20===================
 21Provides level information for the members of the level structure. levelNumber provides the level number which may or may not be associated with a category which defines level.</body>
 22   </ownedComment>
 23   <name>Level</name>
 24   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-Level-displayLabel"
 25                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Level-displayLabel"
 26                    xmi:type="uml:Property">
 27      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-Level-displayLabel-ownedComment"
 28                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Level-displayLabel-ownedComment"
 29                     xmi:type="uml:Comment">
 30         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Representations-Level-displayLabel"/>
 31         <body>A human-readable display label for the object. Supports the use of multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.</body>
 32      </ownedComment>
 33      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-Level-displayLabel-lowerValue"
 34                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Level-displayLabel-lowerValue"
 35                   xmi:type="uml:LiteralInteger"/>
 36      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-Level-displayLabel-upperValue"
 37                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Level-displayLabel-upperValue"
 38                   xmi:type="uml:LiteralUnlimitedNatural">
 39         <value>*</value>
 40      </upperValue>
 41      <name>displayLabel</name>
 42      <isOrdered>true</isOrdered>
 43      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-LabelForDisplay"/>
 44   </ownedAttribute>
 45   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-Level-identifier"
 46                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Level-identifier"
 47                    xmi:type="uml:Property">
 48      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-Level-identifier-ownedComment"
 49                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Level-identifier-ownedComment"
 50                     xmi:type="uml:Comment">
 51         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Representations-Level-identifier"/>
 52         <body>Identifier for objects requiring short- or long-lasting referencing and management.</body>
 53      </ownedComment>
 54      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-Level-identifier-lowerValue"
 55                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Level-identifier-lowerValue"
 56                   xmi:type="uml:LiteralInteger"/>
 57      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-Level-identifier-upperValue"
 58                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Level-identifier-upperValue"
 59                   xmi:type="uml:LiteralUnlimitedNatural">
 60         <value>1</value>
 61      </upperValue>
 62      <name>identifier</name>
 63      <isID>true</isID>
 64      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-Identifier"/>
 65   </ownedAttribute>
 66   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-Level-levelNumber"
 67                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Level-levelNumber"
 68                    xmi:type="uml:Property">
 69      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-Level-levelNumber-ownedComment"
 70                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Level-levelNumber-ownedComment"
 71                     xmi:type="uml:Comment">
 72         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-Classes-Representations-Level-levelNumber"/>
 73         <body>Provides an association between a level number and optional concept which defines it within an ordered array. Use is required.</body>
 74      </ownedComment>
 75      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-Level-levelNumber-lowerValue"
 76                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Level-levelNumber-lowerValue"
 77                   xmi:type="uml:LiteralInteger">
 78         <value>1</value>
 79      </lowerValue>
 80      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-Level-levelNumber-upperValue"
 81                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Level-levelNumber-upperValue"
 82                   xmi:type="uml:LiteralUnlimitedNatural">
 83         <value>1</value>
 84      </upperValue>
 85      <name>levelNumber</name>
 86      <type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Integer"
 87             xmi:type="uml:PrimitiveType"/>
 88   </ownedAttribute>
 89   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-Level-ownedAttribute_1"
 90                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Level-ownedAttribute_1"
 91                    xmi:type="uml:Property">
 92      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-Level-ownedAttribute_1-lowerValue"
 93                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Level-ownedAttribute_1-lowerValue"
 94                   xmi:type="uml:LiteralInteger"/>
 95      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-Level-ownedAttribute_1-upperValue"
 96                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Level-ownedAttribute_1-upperValue"
 97                   xmi:type="uml:LiteralUnlimitedNatural">
 98         <value>1</value>
 99      </upperValue>
100      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-Level_isDefinedBy_Concept"/>
101      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Conceptual-Concept"/>
102   </ownedAttribute>
103   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-Level-ownedAttribute_2"
104                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Level-ownedAttribute_2"
105                    xmi:type="uml:Property">
106      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-Level-ownedAttribute_2-lowerValue"
107                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Level-ownedAttribute_2-lowerValue"
108                   xmi:type="uml:LiteralInteger"/>
109      <upperValue xmi:id="DDICDIModels-DDICDILibrary-Classes-Representations-Level-ownedAttribute_2-upperValue"
110                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#Level-ownedAttribute_2-upperValue"
111                   xmi:type="uml:LiteralUnlimitedNatural">
112         <value>*</value>
113      </upperValue>
114      <aggregation>shared</aggregation>
115      <association xmi:idref="DDICDIModels-DDICDILibrary-Classes-Representations-Level_groups_ClassificationItem"/>
116      <type xmi:idref="DDICDIModels-DDICDILibrary-Classes-Representations-ClassificationItem"/>
117   </ownedAttribute>
118</packagedElement>

Fragment for the class Level (entire XML Schema)

  1<xs:element name="Level"
  2            type="LevelXsdType"
  3            xml:id="Level">
  4  <!-- based on the UML class DDICDIModels::DDICDILibrary::Classes::Representations::Level -->
  5  <xs:annotation>
  6    <xs:documentation>Definition
  7          ============
  8          Set of all classification items the same number of relationships from the root (or top) classification item.
  9          
 10          Examples
 11          ==========
 12          ISCO-08: index='1' label of associated category 'Major', index='2' label of associated category 'Sub-Major',  index='3' label of associated category 'Minor', 
 13          
 14          Explanatory notes
 15          ===================
 16          Provides level information for the members of the level structure. levelNumber provides the level number which may or may not be associated with a category which defines level.</xs:documentation>
 17  </xs:annotation>
 18</xs:element>
 19<xs:complexType name="LevelXsdType"
 20                xml:id="LevelXsdType">
 21  <xs:annotation>
 22    <xs:documentation>Definition
 23          ============
 24          Set of all classification items the same number of relationships from the root (or top) classification item.
 25          
 26          Examples
 27          ==========
 28          ISCO-08: index='1' label of associated category 'Major', index='2' label of associated category 'Sub-Major',  index='3' label of associated category 'Minor', 
 29          
 30          Explanatory notes
 31          ===================
 32          Provides level information for the members of the level structure. levelNumber provides the level number which may or may not be associated with a category which defines level.</xs:documentation>
 33  </xs:annotation>
 34  <xs:sequence>
 35    <xs:element name="displayLabel"
 36                type="LabelForDisplayXsdType"
 37                minOccurs="0"
 38                maxOccurs="unbounded"
 39                xml:id="Level-displayLabel">
 40      <xs:annotation>
 41        <xs:documentation>A human-readable display label for the object. Supports the use of multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.</xs:documentation>
 42      </xs:annotation>
 43    </xs:element>
 44    <xs:element name="identifier"
 45                type="IdentifierXsdType"
 46                minOccurs="0"
 47                maxOccurs="1"
 48                xml:id="Level-identifier">
 49      <xs:annotation>
 50        <xs:documentation>Identifier for objects requiring short- or long-lasting referencing and management.</xs:documentation>
 51      </xs:annotation>
 52    </xs:element>
 53    <xs:element name="levelNumber"
 54                type="xs:integer"
 55                minOccurs="1"
 56                maxOccurs="1"
 57                xml:id="Level-levelNumber">
 58      <xs:annotation>
 59        <xs:documentation>Provides an association between a level number and optional concept which defines it within an ordered array. Use is required.</xs:documentation>
 60      </xs:annotation>
 61    </xs:element>
 62    <xs:element name="Level_isDefinedBy_Concept"
 63                minOccurs="0"
 64                maxOccurs="1"
 65                xml:id="Level_isDefinedBy_Concept">
 66      <xs:annotation>
 67        <xs:documentation>A concept or concept sub-type which describes the level.</xs:documentation>
 68      </xs:annotation>
 69      <xs:complexType>
 70        <xs:complexContent>
 71          <xs:restriction base="AssociationReferenceXsdType">
 72            <xs:sequence>
 73              <xs:element name="ddiReference"
 74                          type="InternationalRegistrationDataIdentifierXsdType"
 75                          minOccurs="0"
 76                          maxOccurs="1"
 77                          xml:id="Level_isDefinedBy_Concept-ddiReference"/>
 78              <xs:element name="validType"
 79                          minOccurs="0"
 80                          maxOccurs="unbounded"
 81                          xml:id="Level_isDefinedBy_Concept-validType">
 82                <xs:simpleType>
 83                  <xs:restriction base="xs:NMTOKEN">
 84                    <xs:enumeration value="Category"/>
 85                    <xs:enumeration value="Concept"/>
 86                    <xs:enumeration value="ConceptualValue"/>
 87                    <xs:enumeration value="ConceptualVariable"/>
 88                    <xs:enumeration value="DescriptorVariable"/>
 89                    <xs:enumeration value="DimensionalKeyDefinitionMember"/>
 90                    <xs:enumeration value="InstanceVariable"/>
 91                    <xs:enumeration value="KeyDefinitionMember"/>
 92                    <xs:enumeration value="Population"/>
 93                    <xs:enumeration value="ReferenceVariable"/>
 94                    <xs:enumeration value="RepresentedVariable"/>
 95                    <xs:enumeration value="UnitType"/>
 96                    <xs:enumeration value="Universe"/>
 97                  </xs:restriction>
 98                </xs:simpleType>
 99              </xs:element>
100            </xs:sequence>
101          </xs:restriction>
102        </xs:complexContent>
103      </xs:complexType>
104    </xs:element>
105    <xs:element name="Level_groups_ClassificationItem"
106                minOccurs="0"
107                maxOccurs="unbounded"
108                xml:id="Level_groups_ClassificationItem">
109      <xs:annotation>
110        <xs:documentation></xs:documentation>
111      </xs:annotation>
112      <xs:complexType>
113        <xs:complexContent>
114          <xs:restriction base="AssociationReferenceXsdType">
115            <xs:sequence>
116              <xs:element name="ddiReference"
117                          type="InternationalRegistrationDataIdentifierXsdType"
118                          minOccurs="0"
119                          maxOccurs="1"
120                          xml:id="Level_groups_ClassificationItem-ddiReference"/>
121              <xs:element name="validType"
122                          minOccurs="0"
123                          maxOccurs="unbounded"
124                          xml:id="Level_groups_ClassificationItem-validType">
125                <xs:simpleType>
126                  <xs:restriction base="xs:NMTOKEN">
127                    <xs:enumeration value="ClassificationItem"/>
128                  </xs:restriction>
129                </xs:simpleType>
130              </xs:element>
131            </xs:sequence>
132          </xs:restriction>
133        </xs:complexContent>
134      </xs:complexType>
135    </xs:element>
136  </xs:sequence>
137</xs:complexType>

Fragment for the class Level (entire JSON Schema)

  1"cls-Level": {
  2  "description": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/Level",
  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": "Level"
 14    },
 15    "displayLabel": {
 16      "$comment": "cardinality 0..-1 – from cdi:Level",
 17      "if": { "type": "array" },
 18      "then": { "items": { "$ref": "#/defs/dt-LabelForDisplay" } },
 19      "else": { "$ref": "#/defs/dt-LabelForDisplay" }
 20    },
 21    "identifier": {
 22      "$comment": "cardinality 0..1 – from cdi:Level",
 23      "$ref": "#/defs/dt-Identifier"
 24    },
 25    "levelNumber": {
 26      "$comment": "cardinality 1..1 – from cdi:Level",
 27      "$ref": "#/defs/xsd:integer"
 28    },
 29    "isDefinedBy_Concept": {
 30      "description": "Level_isDefinedBy_Concept",
 31      "$comment": "cardinality 0..1",
 32       "$ref": "#/defs/target-Concept"
 33    },
 34    "groups": {
 35      "description": "Level_groups_ClassificationItem",
 36      "$comment": "cardinality 0..-1",
 37      "anyOf": [
 38        {
 39          "$ref": "#/defs/target-ClassificationItem"
 40        },
 41        {
 42          "type": "array",
 43          "items": {
 44            "$ref": "#/defs/target-ClassificationItem"
 45          }
 46        }
 47      ]
 48    },
 49    "hasSource_OF_CorrespondenceTable": {
 50      "description": "CorrespondenceTable_hasSource_Level",
 51      "$comment": "cardinality 0..-1",
 52      "anyOf": [
 53        {
 54          "$ref": "#/defs/target-CorrespondenceTable"
 55        },
 56        {
 57          "type": "array",
 58          "items": {
 59            "$ref": "#/defs/target-CorrespondenceTable"
 60          }
 61        }
 62      ]
 63    },
 64    "hasTarget_OF_CorrespondenceTable": {
 65      "description": "CorrespondenceTable_hasTarget_Level",
 66      "$comment": "cardinality 0..-1",
 67      "anyOf": [
 68        {
 69          "$ref": "#/defs/target-CorrespondenceTable"
 70        },
 71        {
 72          "type": "array",
 73          "items": {
 74            "$ref": "#/defs/target-CorrespondenceTable"
 75          }
 76        }
 77      ]
 78    },
 79    "has_Level_OF_LevelStructure": {
 80      "description": "LevelStructure_has_Level",
 81      "$comment": "cardinality 0..-1",
 82      "anyOf": [
 83        {
 84          "$ref": "#/defs/target-LevelStructure"
 85        },
 86        {
 87          "type": "array",
 88          "items": {
 89            "$ref": "#/defs/target-LevelStructure"
 90          }
 91        }
 92      ]
 93    },
 94    "sameAs": {
 95      "$ref": "#/defs/owl:sameAs"
 96    }
 97  },
 98  "required": ["levelNumber","@type"],
 99  "additionalProperties": false
100},
101"target-Level": {
102  "description": "all subclasses of http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/Level",
103  "anyOf": [
104    { "$ref": "#/defs/cls-Level" },
105    { "type": "string", "format": "iri-reference" }
106  ]
107},

Fragment for the class Level (main ontology)

 1# class Level
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::Representations::Level
 3cdi:Level
 4  a rdfs:Class, owl:Class, ucmis:Class;
 5  rdfs:label "Level";
 6  rdfs:comment "Definition\n============\nSet of all classification items the same number of relationships from the root (or top) classification item.\n\nExamples\n==========\nISCO-08: index='1' label of associated category 'Major', index='2' label of associated category 'Sub-Major',  index='3' label of associated category 'Minor', \n\nExplanatory notes\n===================\nProvides level information for the members of the level structure. levelNumber provides the level number which may or may not be associated with a category which defines level."@en;
 7  
 8.
 9
10cdi:Level-displayLabel
11  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
12  rdfs:label "displayLabel";
13  rdfs:comment "A human-readable display label for the object. Supports the use of multiple languages. Repeat for labels with different content, for example, labels with differing length limitations."@en;
14  rdfs:domain cdi:Level;
15  rdfs:range cdi:LabelForDisplay;
16.
17
18cdi:Level-identifier
19  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
20  rdfs:label "identifier";
21  rdfs:comment "Identifier for objects requiring short- or long-lasting referencing and management."@en;
22  rdfs:domain cdi:Level;
23  rdfs:range cdi:Identifier;
24.
25
26cdi:Level-levelNumber
27  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
28  rdfs:label "levelNumber";
29  rdfs:comment "Provides an association between a level number and optional concept which defines it within an ordered array. Use is required."@en;
30  rdfs:domain cdi:Level;
31  rdfs:range xsd:integer;
32.
33
34
35cdi:Level_isDefinedBy_Concept
36  a rdf:Property, owl:ObjectProperty, ucmis:Association;
37  # ASSOCIATION
38  rdfs:label "isDefinedBy_Concept";
39  skos:altLabel "Level_isDefinedBy_Concept";
40  rdfs:comment "A concept or concept sub-type which describes the level."@en;
41  rdfs:domain cdi:Level;
42  rdfs:range cdi:Concept;
43.
44
45cdi:Level_groups_ClassificationItem
46  a rdf:Property, owl:ObjectProperty, ucmis:Association;
47  # ASSOCIATION
48  rdfs:label "groups";
49  skos:altLabel "Level_groups_ClassificationItem";
50  
51  rdfs:domain cdi:Level;
52  rdfs:range cdi:ClassificationItem;
53.

Fragment for the class Level (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      "displayLabel": {
 8        "@id": "cdi:Level-displayLabel",
 9        "@type": "@id",
10        "@context": "LabelForDisplay.jsonld"
11      },
12      "identifier": {
13        "@id": "cdi:Level-identifier",
14        "@type": "@id",
15        "@context": "Identifier.jsonld"
16      },
17      "levelNumber": {
18        "@id": "cdi:Level-levelNumber",
19        "@type": "xsd:integer"
20      },
21      
22      "isDefinedBy_Concept": {
23        "@id": "cdi:Level_isDefinedBy_Concept",
24        "@type": "@id",
25        "@context": "Concept.jsonld"
26      },
27      "groups": {
28        "@id": "cdi:Level_groups_ClassificationItem",
29        "@type": "@id",
30        "@context": "ClassificationItem.jsonld"
31      },
32      "hasSource_OF_CorrespondenceTable": {
33        "@reverse": "cdi:CorrespondenceTable_hasSource_Level",
34        "@type": "@id",
35        "@context": "CorrespondenceTable.jsonld"
36      },
37      "hasTarget_OF_CorrespondenceTable": {
38        "@reverse": "cdi:CorrespondenceTable_hasTarget_Level",
39        "@type": "@id",
40        "@context": "CorrespondenceTable.jsonld"
41      },
42      "has_Level_OF_LevelStructure": {
43        "@reverse": "cdi:LevelStructure_has_Level",
44        "@type": "@id",
45        "@context": "LevelStructure.jsonld"
46      },
47      " comment ": "tag:json-should-support-trailing-commas"
48    }
49  ],
50  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:34:54.",
51  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::Classes::Representations::Level"
52}

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

 1# class Level
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::Representations::Level
 3<#Level> a sh:NodeShape;
 4    sh:targetClass cdi:Level;
 5	sh:message "See http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/Level";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   cdi:Level
11			 ) ;
12    ];
13    # attributes
14    sh:property <#Level-displayLabel>;
15    sh:property <#Level-identifier>;
16    sh:property <#Level-levelNumber>;
17    # associations from Level
18    sh:property <#Level_isDefinedBy_Concept>;
19    sh:property <#Level_groups_ClassificationItem>;
20    # associations to Level
21    sh:property <#rev_CorrespondenceTable_hasSource_Level>;
22    sh:property <#rev_CorrespondenceTable_hasTarget_Level>;
23    sh:property <#rev_LevelStructure_has_Level>;
24
25
26
27.
28
29<#Level-displayLabel> a sh:PropertyShape ;
30    sh:path cdi:Level-displayLabel;
31    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
32        cdi:LabelForDisplay
33      
34    ) ]];
35.
36<#Level-identifier> a sh:PropertyShape ;
37    sh:path cdi:Level-identifier;
38    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
39        cdi:Identifier
40      
41    ) ]];
42    sh:maxCount 1;
43.
44<#Level-levelNumber> a sh:PropertyShape ;
45    sh:path cdi:Level-levelNumber;
46    sh:datatype xsd:integer;
47    sh:minCount 1;
48    sh:maxCount 1;
49.
50
51<#Level_isDefinedBy_Concept> a sh:PropertyShape ;
52    sh:path cdi:Level_isDefinedBy_Concept;
53	sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
54        cdi:Concept
55        cdi:Category
56        cdi:ConceptualValue
57        cdi:DimensionalKeyDefinitionMember
58        cdi:KeyDefinitionMember
59        cdi:ConceptualVariable
60        cdi:RepresentedVariable
61        cdi:InstanceVariable
62        cdi:DescriptorVariable
63        cdi:ReferenceVariable
64        cdi:UnitType
65        cdi:Universe
66        cdi:Population
67      
68    ) ]];
69    sh:maxCount 1;
70.
71<#rev_Level_isDefinedBy_Concept> a sh:PropertyShape ;
72    sh:path [ sh:inversePath cdi:Level_isDefinedBy_Concept ];
73.
74<#Level_groups_ClassificationItem> a sh:PropertyShape ;
75    sh:path cdi:Level_groups_ClassificationItem;
76	sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
77        cdi:ClassificationItem
78      
79    ) ]];
80.
81<#rev_Level_groups_ClassificationItem> a sh:PropertyShape ;
82    sh:path [ sh:inversePath cdi:Level_groups_ClassificationItem ];
83.

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

 1# class Level
 2# based on the UML class DDICDIModels::DDICDILibrary::Classes::Representations::Level
 3cdi:LevelShape CLOSED {
 4	a [cdi:Level];
 5	cdi:Level-displayLabel	@cdi:LabelForDisplayShape*;
 6	cdi:Level-identifier	@cdi:IdentifierShape?;
 7	cdi:Level-levelNumber	xsd:integer;
 8	cdi:Level_isDefinedBy_Concept	@cdi:ConceptShape OR @cdi:CategoryShape OR @cdi:ConceptualValueShape OR @cdi:ConceptualVariableShape OR @cdi:UnitTypeShape?;
 9	
10	^cdi:CorrespondenceTable_hasSource_Level @cdi:CorrespondenceTableShape *;
11	^cdi:CorrespondenceTable_hasTarget_Level @cdi:CorrespondenceTableShape *;
12	cdi:Level_groups_ClassificationItem	@cdi:ClassificationItemShape *;
13	
14	^cdi:LevelStructure_has_Level @cdi:LevelStructureShape *;
15	}