Mapping UML to Encodings#

Class#

Class - Bare class without attributes.

Definition (UML 2.5.1)

Class

A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects. A Class may have an internal structure and Ports. Details for the UML type Class at NIST Validator.

Description: Bare class without attributes.

Example: Building.

Encodings Card 1
 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="Mapping-Class"
 5                  xmi:uuid="http://example.org/MAP/1.0/XMI/#Class"
 6                  xmi:type="uml:Class">
 7   <ownedComment xmi:id="Mapping-Class-ownedComment"
 8                  xmi:uuid="http://example.org/MAP/1.0/XMI/#Class-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="Mapping-Class"/>
11      <body>**Definition (UML 2.5.1)**
12
13Class
14   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
15   A Class may have an internal structure and Ports.
16   Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
17
18**Description:** Bare class without attributes.
19
20**Example:** Building.</body>
21   </ownedComment>
22   <name>Class</name>
23</packagedElement>
 1<xs:element name="Class"
 2            type="ClassXsdType"
 3            xml:id="Class">
 4  <!-- based on the UML class Mapping::Class -->
 5  <xs:annotation>
 6    <xs:documentation>**Definition (UML 2.5.1)**
 7          
 8          Class
 9             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
10             A Class may have an internal structure and Ports.
11             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
12          
13          **Description:** Bare class without attributes.
14          
15          **Example:** Building.</xs:documentation>
16  </xs:annotation>
17</xs:element>
18<xs:complexType name="ClassXsdType"
19                xml:id="ClassXsdType">
20  <xs:annotation>
21    <xs:documentation>**Definition (UML 2.5.1)**
22          
23          Class
24             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
25             A Class may have an internal structure and Ports.
26             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
27          
28          **Description:** Bare class without attributes.
29          
30          **Example:** Building.</xs:documentation>
31  </xs:annotation>
32  
33</xs:complexType>
 1"cls-Class": {
 2  "description": "http://example.org/RDF/Class",
 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": "Class"
14    },
15    
16    
17    
18    "sameAs": {
19      "$ref": "#/defs/owl:sameAs"
20    }
21  },
22  "required": ["@type"],
23  "additionalProperties": false
24},
25"target-Class": {
26  "description": "all subclasses of http://example.org/RDF/Class",
27  "anyOf": [
28    { "$ref": "#/defs/cls-Class" },
29    { "type": "string", "format": "iri-reference" }
30  ]
31},
1# class Class
2# based on the UML class Mapping::Class
3map:Class
4  a rdfs:Class, owl:Class, ucmis:Class;
5  rdfs:label "Class";
6  rdfs:comment "**Definition (UML 2.5.1)**\n\nClass\n   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.\n   A Class may have an internal structure and Ports.\n   Details for the UML type `Class <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class>`_ at NIST Validator.\n\n**Description:** Bare class without attributes.\n\n**Example:** Building."@en;
7  
8.
 1{
 2  "@context": [
 3    {
 4      "map": "http://example.org/RDF/",
 5      "xsd": "http://www.w3.org/2001/XMLSchema#",
 6
 7      
 8      " comment ": "tag:json-should-support-trailing-commas"
 9    }
10  ],
11  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:32:10.",
12  "basedOn": "based on the UML data type Mapping::Class"
13}
 1# class Class
 2# based on the UML class Mapping::Class
 3<#Class> a sh:NodeShape;
 4    sh:targetClass map:Class;
 5	sh:message "See http://example.org/RDF/Class";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   map:Class
11			 ) ;
12    ];
13    # attributes
14    # associations from Class
15    # associations to Class
16
17
18
19.
1# class Class
2# based on the UML class Mapping::Class
3map:ClassShape CLOSED {
4	a [map:Class];
5	}
Encodings Card 2
 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="Mapping-Class"
 5                  xmi:uuid="http://example.org/MAP/1.0/XMI/#Class"
 6                  xmi:type="uml:Class">
 7   <ownedComment xmi:id="Mapping-Class-ownedComment"
 8                  xmi:uuid="http://example.org/MAP/1.0/XMI/#Class-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="Mapping-Class"/>
11      <body>**Definition (UML 2.5.1)**
12
13Class
14   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
15   A Class may have an internal structure and Ports.
16   Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
17
18**Description:** Bare class without attributes.
19
20**Example:** Building.</body>
21   </ownedComment>
22   <name>Class</name>
23</packagedElement>
 1<xs:element name="Class"
 2            type="ClassXsdType"
 3            xml:id="Class">
 4  <!-- based on the UML class Mapping::Class -->
 5  <xs:annotation>
 6    <xs:documentation>**Definition (UML 2.5.1)**
 7          
 8          Class
 9             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
10             A Class may have an internal structure and Ports.
11             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
12          
13          **Description:** Bare class without attributes.
14          
15          **Example:** Building.</xs:documentation>
16  </xs:annotation>
17</xs:element>
18<xs:complexType name="ClassXsdType"
19                xml:id="ClassXsdType">
20  <xs:annotation>
21    <xs:documentation>**Definition (UML 2.5.1)**
22          
23          Class
24             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
25             A Class may have an internal structure and Ports.
26             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
27          
28          **Description:** Bare class without attributes.
29          
30          **Example:** Building.</xs:documentation>
31  </xs:annotation>
32  
33</xs:complexType>
 1"cls-Class": {
 2  "description": "http://example.org/RDF/Class",
 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": "Class"
14    },
15    
16    
17    
18    "sameAs": {
19      "$ref": "#/defs/owl:sameAs"
20    }
21  },
22  "required": ["@type"],
23  "additionalProperties": false
24},
25"target-Class": {
26  "description": "all subclasses of http://example.org/RDF/Class",
27  "anyOf": [
28    { "$ref": "#/defs/cls-Class" },
29    { "type": "string", "format": "iri-reference" }
30  ]
31},
1# class Class
2# based on the UML class Mapping::Class
3map:Class
4  a rdfs:Class, owl:Class, ucmis:Class;
5  rdfs:label "Class";
6  rdfs:comment "**Definition (UML 2.5.1)**\n\nClass\n   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.\n   A Class may have an internal structure and Ports.\n   Details for the UML type `Class <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class>`_ at NIST Validator.\n\n**Description:** Bare class without attributes.\n\n**Example:** Building."@en;
7  
8.
 1{
 2  "@context": [
 3    {
 4      "map": "http://example.org/RDF/",
 5      "xsd": "http://www.w3.org/2001/XMLSchema#",
 6
 7      
 8      " comment ": "tag:json-should-support-trailing-commas"
 9    }
10  ],
11  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:32:10.",
12  "basedOn": "based on the UML data type Mapping::Class"
13}
 1# class Class
 2# based on the UML class Mapping::Class
 3<#Class> a sh:NodeShape;
 4    sh:targetClass map:Class;
 5	sh:message "See http://example.org/RDF/Class";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   map:Class
11			 ) ;
12    ];
13    # attributes
14    # associations from Class
15    # associations to Class
16
17
18
19.
1# class Class
2# based on the UML class Mapping::Class
3map:ClassShape CLOSED {
4	a [map:Class];
5	}

ClassWithPrimitiveAttribute#

ClassWithPrimitiveAttribute - Class with an attribute defined by a primitive data type.

Definition (UML 2.5.1)

Class

A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects. A Class may have an internal structure and Ports. Details for the UML type Class at NIST Validator.

Property

A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association. Details for the UML type Property at NIST Validator.

Primitive Data Type

A PrimitiveType defines a predefined DataType, without any substructure. A PrimitiveType may have an algebra and operations defined outside of UML, for example, mathematically. Details for the UML type PrimitiveType at NIST Validator.

Description: Class with an attribute defined by a primitive data type.

Example: Building with a color.

Encodings Card 1
 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="Mapping-ClassWithPrimitiveAttribute"
 5                  xmi:uuid="http://example.org/MAP/1.0/XMI/#ClassWithPrimitiveAttribute"
 6                  xmi:type="uml:Class">
 7   <ownedComment xmi:id="Mapping-ClassWithPrimitiveAttribute-ownedComment"
 8                  xmi:uuid="http://example.org/MAP/1.0/XMI/#ClassWithPrimitiveAttribute-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="Mapping-ClassWithPrimitiveAttribute"/>
11      <body>**Definition (UML 2.5.1)**
12
13Class
14   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
15   A Class may have an internal structure and Ports.
16   Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
17
18Property
19   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
20   Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
21
22Primitive Data Type
23   A PrimitiveType defines a predefined DataType, without any substructure. A PrimitiveType may have an algebra and
24   operations defined outside of UML, for example, mathematically.
25   Details for the UML type `PrimitiveType &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*PrimitiveType&gt;`_ at NIST Validator.
26
27**Description:** Class with an attribute defined by a primitive data type.
28
29**Example:** Building with a color.</body>
30   </ownedComment>
31   <name>ClassWithPrimitiveAttribute</name>
32   <ownedAttribute xmi:id="Mapping-ClassWithPrimitiveAttribute-color"
33                    xmi:uuid="http://example.org/MAP/1.0/XMI/#ClassWithPrimitiveAttribute-color"
34                    xmi:type="uml:Property">
35      <lowerValue xmi:id="Mapping-ClassWithPrimitiveAttribute-color-lowerValue"
36                   xmi:uuid="http://example.org/MAP/1.0/XMI/#ClassWithPrimitiveAttribute-color-lowerValue"
37                   xmi:type="uml:LiteralInteger">
38         <value>1</value>
39      </lowerValue>
40      <upperValue xmi:id="Mapping-ClassWithPrimitiveAttribute-color-upperValue"
41                   xmi:uuid="http://example.org/MAP/1.0/XMI/#ClassWithPrimitiveAttribute-color-upperValue"
42                   xmi:type="uml:LiteralUnlimitedNatural">
43         <value>1</value>
44      </upperValue>
45      <name>color</name>
46      <type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"
47             xmi:type="uml:PrimitiveType"/>
48   </ownedAttribute>
49</packagedElement>
 1<xs:element name="ClassWithPrimitiveAttribute"
 2            type="ClassWithPrimitiveAttributeXsdType"
 3            xml:id="ClassWithPrimitiveAttribute">
 4  <!-- based on the UML class Mapping::ClassWithPrimitiveAttribute -->
 5  <xs:annotation>
 6    <xs:documentation>**Definition (UML 2.5.1)**
 7          
 8          Class
 9             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
10             A Class may have an internal structure and Ports.
11             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
12          
13          Property
14             A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
15             Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
16          
17          Primitive Data Type
18             A PrimitiveType defines a predefined DataType, without any substructure. A PrimitiveType may have an algebra and
19             operations defined outside of UML, for example, mathematically.
20             Details for the UML type `PrimitiveType &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*PrimitiveType&gt;`_ at NIST Validator.
21          
22          **Description:** Class with an attribute defined by a primitive data type.
23          
24          **Example:** Building with a color.</xs:documentation>
25  </xs:annotation>
26</xs:element>
27<xs:complexType name="ClassWithPrimitiveAttributeXsdType"
28                xml:id="ClassWithPrimitiveAttributeXsdType">
29  <xs:annotation>
30    <xs:documentation>**Definition (UML 2.5.1)**
31          
32          Class
33             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
34             A Class may have an internal structure and Ports.
35             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
36          
37          Property
38             A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
39             Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
40          
41          Primitive Data Type
42             A PrimitiveType defines a predefined DataType, without any substructure. A PrimitiveType may have an algebra and
43             operations defined outside of UML, for example, mathematically.
44             Details for the UML type `PrimitiveType &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*PrimitiveType&gt;`_ at NIST Validator.
45          
46          **Description:** Class with an attribute defined by a primitive data type.
47          
48          **Example:** Building with a color.</xs:documentation>
49  </xs:annotation>
50  <xs:sequence>
51    <xs:element name="color"
52                type="xs:string"
53                minOccurs="1"
54                maxOccurs="1"
55                xml:id="ClassWithPrimitiveAttribute-color">
56      <xs:annotation>
57        <xs:documentation></xs:documentation>
58      </xs:annotation>
59    </xs:element>
60  </xs:sequence>
61</xs:complexType>
 1"cls-ClassWithPrimitiveAttribute": {
 2  "description": "http://example.org/RDF/ClassWithPrimitiveAttribute",
 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": "ClassWithPrimitiveAttribute"
14    },
15    "color": {
16      "$comment": "cardinality 1..1 – from map:ClassWithPrimitiveAttribute",
17      "$ref": "#/defs/xsd:string"
18    },
19    
20    
21    "sameAs": {
22      "$ref": "#/defs/owl:sameAs"
23    }
24  },
25  "required": ["color","@type"],
26  "additionalProperties": false
27},
28"target-ClassWithPrimitiveAttribute": {
29  "description": "all subclasses of http://example.org/RDF/ClassWithPrimitiveAttribute",
30  "anyOf": [
31    { "$ref": "#/defs/cls-ClassWithPrimitiveAttribute" },
32    { "type": "string", "format": "iri-reference" }
33  ]
34},
 1# class ClassWithPrimitiveAttribute
 2# based on the UML class Mapping::ClassWithPrimitiveAttribute
 3map:ClassWithPrimitiveAttribute
 4  a rdfs:Class, owl:Class, ucmis:Class;
 5  rdfs:label "ClassWithPrimitiveAttribute";
 6  rdfs:comment "**Definition (UML 2.5.1)**\n\nClass\n   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.\n   A Class may have an internal structure and Ports.\n   Details for the UML type `Class <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class>`_ at NIST Validator.\n\nProperty\n   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.\n   Details for the UML type `Property <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property>`_ at NIST Validator.\n\nPrimitive Data Type\n   A PrimitiveType defines a predefined DataType, without any substructure. A PrimitiveType may have an algebra and\n   operations defined outside of UML, for example, mathematically.\n   Details for the UML type `PrimitiveType <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*PrimitiveType>`_ at NIST Validator.\n\n**Description:** Class with an attribute defined by a primitive data type.\n\n**Example:** Building with a color."@en;
 7  
 8.
 9
10map:ClassWithPrimitiveAttribute-color
11  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
12  rdfs:label "color";
13  
14  rdfs:domain map:ClassWithPrimitiveAttribute;
15  rdfs:range xsd:string;
16.
 1{
 2  "@context": [
 3    {
 4      "map": "http://example.org/RDF/",
 5      "xsd": "http://www.w3.org/2001/XMLSchema#",
 6
 7      "color": {
 8        "@id": "map:ClassWithPrimitiveAttribute-color",
 9        "@type": "xsd:string"
10      },
11      
12      " comment ": "tag:json-should-support-trailing-commas"
13    }
14  ],
15  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:32:10.",
16  "basedOn": "based on the UML data type Mapping::ClassWithPrimitiveAttribute"
17}
 1# class ClassWithPrimitiveAttribute
 2# based on the UML class Mapping::ClassWithPrimitiveAttribute
 3<#ClassWithPrimitiveAttribute> a sh:NodeShape;
 4    sh:targetClass map:ClassWithPrimitiveAttribute;
 5	sh:message "See http://example.org/RDF/ClassWithPrimitiveAttribute";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   map:ClassWithPrimitiveAttribute
11			 ) ;
12    ];
13    # attributes
14    sh:property <#ClassWithPrimitiveAttribute-color>;
15    # associations from ClassWithPrimitiveAttribute
16    # associations to ClassWithPrimitiveAttribute
17
18
19
20.
21
22<#ClassWithPrimitiveAttribute-color> a sh:PropertyShape ;
23    sh:path map:ClassWithPrimitiveAttribute-color;
24    sh:datatype xsd:string;
25    sh:minCount 1;
26    sh:maxCount 1;
27.
1# class ClassWithPrimitiveAttribute
2# based on the UML class Mapping::ClassWithPrimitiveAttribute
3map:ClassWithPrimitiveAttributeShape CLOSED {
4	a [map:ClassWithPrimitiveAttribute];
5	map:ClassWithPrimitiveAttribute-color	xsd:string;
6	}
Encodings Card 2
 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="Mapping-ClassWithPrimitiveAttribute"
 5                  xmi:uuid="http://example.org/MAP/1.0/XMI/#ClassWithPrimitiveAttribute"
 6                  xmi:type="uml:Class">
 7   <ownedComment xmi:id="Mapping-ClassWithPrimitiveAttribute-ownedComment"
 8                  xmi:uuid="http://example.org/MAP/1.0/XMI/#ClassWithPrimitiveAttribute-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="Mapping-ClassWithPrimitiveAttribute"/>
11      <body>**Definition (UML 2.5.1)**
12
13Class
14   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
15   A Class may have an internal structure and Ports.
16   Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
17
18Property
19   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
20   Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
21
22Primitive Data Type
23   A PrimitiveType defines a predefined DataType, without any substructure. A PrimitiveType may have an algebra and
24   operations defined outside of UML, for example, mathematically.
25   Details for the UML type `PrimitiveType &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*PrimitiveType&gt;`_ at NIST Validator.
26
27**Description:** Class with an attribute defined by a primitive data type.
28
29**Example:** Building with a color.</body>
30   </ownedComment>
31   <name>ClassWithPrimitiveAttribute</name>
32   <ownedAttribute xmi:id="Mapping-ClassWithPrimitiveAttribute-color"
33                    xmi:uuid="http://example.org/MAP/1.0/XMI/#ClassWithPrimitiveAttribute-color"
34                    xmi:type="uml:Property">
35      <lowerValue xmi:id="Mapping-ClassWithPrimitiveAttribute-color-lowerValue"
36                   xmi:uuid="http://example.org/MAP/1.0/XMI/#ClassWithPrimitiveAttribute-color-lowerValue"
37                   xmi:type="uml:LiteralInteger">
38         <value>1</value>
39      </lowerValue>
40      <upperValue xmi:id="Mapping-ClassWithPrimitiveAttribute-color-upperValue"
41                   xmi:uuid="http://example.org/MAP/1.0/XMI/#ClassWithPrimitiveAttribute-color-upperValue"
42                   xmi:type="uml:LiteralUnlimitedNatural">
43         <value>1</value>
44      </upperValue>
45      <name>color</name>
46      <type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"
47             xmi:type="uml:PrimitiveType"/>
48   </ownedAttribute>
49</packagedElement>
 1<xs:element name="ClassWithPrimitiveAttribute"
 2            type="ClassWithPrimitiveAttributeXsdType"
 3            xml:id="ClassWithPrimitiveAttribute">
 4  <!-- based on the UML class Mapping::ClassWithPrimitiveAttribute -->
 5  <xs:annotation>
 6    <xs:documentation>**Definition (UML 2.5.1)**
 7          
 8          Class
 9             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
10             A Class may have an internal structure and Ports.
11             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
12          
13          Property
14             A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
15             Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
16          
17          Primitive Data Type
18             A PrimitiveType defines a predefined DataType, without any substructure. A PrimitiveType may have an algebra and
19             operations defined outside of UML, for example, mathematically.
20             Details for the UML type `PrimitiveType &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*PrimitiveType&gt;`_ at NIST Validator.
21          
22          **Description:** Class with an attribute defined by a primitive data type.
23          
24          **Example:** Building with a color.</xs:documentation>
25  </xs:annotation>
26</xs:element>
27<xs:complexType name="ClassWithPrimitiveAttributeXsdType"
28                xml:id="ClassWithPrimitiveAttributeXsdType">
29  <xs:annotation>
30    <xs:documentation>**Definition (UML 2.5.1)**
31          
32          Class
33             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
34             A Class may have an internal structure and Ports.
35             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
36          
37          Property
38             A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
39             Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
40          
41          Primitive Data Type
42             A PrimitiveType defines a predefined DataType, without any substructure. A PrimitiveType may have an algebra and
43             operations defined outside of UML, for example, mathematically.
44             Details for the UML type `PrimitiveType &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*PrimitiveType&gt;`_ at NIST Validator.
45          
46          **Description:** Class with an attribute defined by a primitive data type.
47          
48          **Example:** Building with a color.</xs:documentation>
49  </xs:annotation>
50  <xs:sequence>
51    <xs:element name="color"
52                type="xs:string"
53                minOccurs="1"
54                maxOccurs="1"
55                xml:id="ClassWithPrimitiveAttribute-color">
56      <xs:annotation>
57        <xs:documentation></xs:documentation>
58      </xs:annotation>
59    </xs:element>
60  </xs:sequence>
61</xs:complexType>
 1"cls-ClassWithPrimitiveAttribute": {
 2  "description": "http://example.org/RDF/ClassWithPrimitiveAttribute",
 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": "ClassWithPrimitiveAttribute"
14    },
15    "color": {
16      "$comment": "cardinality 1..1 – from map:ClassWithPrimitiveAttribute",
17      "$ref": "#/defs/xsd:string"
18    },
19    
20    
21    "sameAs": {
22      "$ref": "#/defs/owl:sameAs"
23    }
24  },
25  "required": ["color","@type"],
26  "additionalProperties": false
27},
28"target-ClassWithPrimitiveAttribute": {
29  "description": "all subclasses of http://example.org/RDF/ClassWithPrimitiveAttribute",
30  "anyOf": [
31    { "$ref": "#/defs/cls-ClassWithPrimitiveAttribute" },
32    { "type": "string", "format": "iri-reference" }
33  ]
34},
 1# class ClassWithPrimitiveAttribute
 2# based on the UML class Mapping::ClassWithPrimitiveAttribute
 3map:ClassWithPrimitiveAttribute
 4  a rdfs:Class, owl:Class, ucmis:Class;
 5  rdfs:label "ClassWithPrimitiveAttribute";
 6  rdfs:comment "**Definition (UML 2.5.1)**\n\nClass\n   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.\n   A Class may have an internal structure and Ports.\n   Details for the UML type `Class <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class>`_ at NIST Validator.\n\nProperty\n   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.\n   Details for the UML type `Property <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property>`_ at NIST Validator.\n\nPrimitive Data Type\n   A PrimitiveType defines a predefined DataType, without any substructure. A PrimitiveType may have an algebra and\n   operations defined outside of UML, for example, mathematically.\n   Details for the UML type `PrimitiveType <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*PrimitiveType>`_ at NIST Validator.\n\n**Description:** Class with an attribute defined by a primitive data type.\n\n**Example:** Building with a color."@en;
 7  
 8.
 9
10map:ClassWithPrimitiveAttribute-color
11  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
12  rdfs:label "color";
13  
14  rdfs:domain map:ClassWithPrimitiveAttribute;
15  rdfs:range xsd:string;
16.
 1{
 2  "@context": [
 3    {
 4      "map": "http://example.org/RDF/",
 5      "xsd": "http://www.w3.org/2001/XMLSchema#",
 6
 7      "color": {
 8        "@id": "map:ClassWithPrimitiveAttribute-color",
 9        "@type": "xsd:string"
10      },
11      
12      " comment ": "tag:json-should-support-trailing-commas"
13    }
14  ],
15  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:32:10.",
16  "basedOn": "based on the UML data type Mapping::ClassWithPrimitiveAttribute"
17}
 1# class ClassWithPrimitiveAttribute
 2# based on the UML class Mapping::ClassWithPrimitiveAttribute
 3<#ClassWithPrimitiveAttribute> a sh:NodeShape;
 4    sh:targetClass map:ClassWithPrimitiveAttribute;
 5	sh:message "See http://example.org/RDF/ClassWithPrimitiveAttribute";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   map:ClassWithPrimitiveAttribute
11			 ) ;
12    ];
13    # attributes
14    sh:property <#ClassWithPrimitiveAttribute-color>;
15    # associations from ClassWithPrimitiveAttribute
16    # associations to ClassWithPrimitiveAttribute
17
18
19
20.
21
22<#ClassWithPrimitiveAttribute-color> a sh:PropertyShape ;
23    sh:path map:ClassWithPrimitiveAttribute-color;
24    sh:datatype xsd:string;
25    sh:minCount 1;
26    sh:maxCount 1;
27.
1# class ClassWithPrimitiveAttribute
2# based on the UML class Mapping::ClassWithPrimitiveAttribute
3map:ClassWithPrimitiveAttributeShape CLOSED {
4	a [map:ClassWithPrimitiveAttribute];
5	map:ClassWithPrimitiveAttribute-color	xsd:string;
6	}

ClassWithEnumerationAttribute#

ClassWithEnumerationAttribute - Class with an attribute defined by an enumeration.

Definition (UML 2.5.1)

Class

A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects. A Class may have an internal structure and Ports. Details for the UML type Class at NIST Validator.

Property

A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association. Details for the UML type Property at NIST Validator.

Enumeration

An Enumeration is a DataType whose values are enumerated in the model as EnumerationLiterals. Details for the UML type Enumeration at NIST Validator.

Description: Class with an attribute defined by an enumeration.

Example: Building with the attribute age (old, new).

Encodings Card 1
 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="Mapping-ClassWithEnumerationAttribute"
 5                  xmi:uuid="http://example.org/MAP/1.0/XMI/#ClassWithEnumerationAttribute"
 6                  xmi:type="uml:Class">
 7   <ownedComment xmi:id="Mapping-ClassWithEnumerationAttribute-ownedComment"
 8                  xmi:uuid="http://example.org/MAP/1.0/XMI/#ClassWithEnumerationAttribute-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="Mapping-ClassWithEnumerationAttribute"/>
11      <body>**Definition (UML 2.5.1)**
12
13Class
14   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
15   A Class may have an internal structure and Ports.
16   Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
17
18Property
19   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
20   Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
21
22Enumeration
23   An Enumeration is a DataType whose values are enumerated in the model as EnumerationLiterals.
24   Details for the UML type `Enumeration &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Enumeration&gt;`_ at NIST Validator.
25
26**Description:** Class with an attribute defined by an enumeration.
27
28**Example:** Building with the attribute age (old, new).</body>
29   </ownedComment>
30   <name>ClassWithEnumerationAttribute</name>
31   <ownedAttribute xmi:id="Mapping-ClassWithEnumerationAttribute-age"
32                    xmi:uuid="http://example.org/MAP/1.0/XMI/#ClassWithEnumerationAttribute-age"
33                    xmi:type="uml:Property">
34      <lowerValue xmi:id="Mapping-ClassWithEnumerationAttribute-age-lowerValue"
35                   xmi:uuid="http://example.org/MAP/1.0/XMI/#ClassWithEnumerationAttribute-age-lowerValue"
36                   xmi:type="uml:LiteralInteger">
37         <value>1</value>
38      </lowerValue>
39      <upperValue xmi:id="Mapping-ClassWithEnumerationAttribute-age-upperValue"
40                   xmi:uuid="http://example.org/MAP/1.0/XMI/#ClassWithEnumerationAttribute-age-upperValue"
41                   xmi:type="uml:LiteralUnlimitedNatural">
42         <value>1</value>
43      </upperValue>
44      <name>age</name>
45      <type xmi:idref="Mapping-Enumeration"/>
46   </ownedAttribute>
47</packagedElement>
 1<xs:element name="ClassWithEnumerationAttribute"
 2            type="ClassWithEnumerationAttributeXsdType"
 3            xml:id="ClassWithEnumerationAttribute">
 4  <!-- based on the UML class Mapping::ClassWithEnumerationAttribute -->
 5  <xs:annotation>
 6    <xs:documentation>**Definition (UML 2.5.1)**
 7          
 8          Class
 9             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
10             A Class may have an internal structure and Ports.
11             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
12          
13          Property
14             A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
15             Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
16          
17          Enumeration
18             An Enumeration is a DataType whose values are enumerated in the model as EnumerationLiterals.
19             Details for the UML type `Enumeration &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Enumeration&gt;`_ at NIST Validator.
20          
21          **Description:** Class with an attribute defined by an enumeration.
22          
23          **Example:** Building with the attribute age (old, new).</xs:documentation>
24  </xs:annotation>
25</xs:element>
26<xs:complexType name="ClassWithEnumerationAttributeXsdType"
27                xml:id="ClassWithEnumerationAttributeXsdType">
28  <xs:annotation>
29    <xs:documentation>**Definition (UML 2.5.1)**
30          
31          Class
32             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
33             A Class may have an internal structure and Ports.
34             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
35          
36          Property
37             A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
38             Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
39          
40          Enumeration
41             An Enumeration is a DataType whose values are enumerated in the model as EnumerationLiterals.
42             Details for the UML type `Enumeration &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Enumeration&gt;`_ at NIST Validator.
43          
44          **Description:** Class with an attribute defined by an enumeration.
45          
46          **Example:** Building with the attribute age (old, new).</xs:documentation>
47  </xs:annotation>
48  <xs:sequence>
49    <xs:element name="age"
50                type="EnumerationXsdType"
51                minOccurs="1"
52                maxOccurs="1"
53                xml:id="ClassWithEnumerationAttribute-age">
54      <xs:annotation>
55        <xs:documentation></xs:documentation>
56      </xs:annotation>
57    </xs:element>
58  </xs:sequence>
59</xs:complexType>
 1"cls-ClassWithEnumerationAttribute": {
 2  "description": "http://example.org/RDF/ClassWithEnumerationAttribute",
 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": "ClassWithEnumerationAttribute"
14    },
15    "age": {
16      "$comment": "cardinality 1..1 – from map:ClassWithEnumerationAttribute",
17      "$ref": "#/defs/enum-Enumeration"
18    },
19    
20    
21    "sameAs": {
22      "$ref": "#/defs/owl:sameAs"
23    }
24  },
25  "required": ["age","@type"],
26  "additionalProperties": false
27},
28"target-ClassWithEnumerationAttribute": {
29  "description": "all subclasses of http://example.org/RDF/ClassWithEnumerationAttribute",
30  "anyOf": [
31    { "$ref": "#/defs/cls-ClassWithEnumerationAttribute" },
32    { "type": "string", "format": "iri-reference" }
33  ]
34},
 1# class ClassWithEnumerationAttribute
 2# based on the UML class Mapping::ClassWithEnumerationAttribute
 3map:ClassWithEnumerationAttribute
 4  a rdfs:Class, owl:Class, ucmis:Class;
 5  rdfs:label "ClassWithEnumerationAttribute";
 6  rdfs:comment "**Definition (UML 2.5.1)**\n\nClass\n   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.\n   A Class may have an internal structure and Ports.\n   Details for the UML type `Class <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class>`_ at NIST Validator.\n\nProperty\n   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.\n   Details for the UML type `Property <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property>`_ at NIST Validator.\n\nEnumeration\n   An Enumeration is a DataType whose values are enumerated in the model as EnumerationLiterals.\n   Details for the UML type `Enumeration <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Enumeration>`_ at NIST Validator.\n\n**Description:** Class with an attribute defined by an enumeration.\n\n**Example:** Building with the attribute age (old, new)."@en;
 7  
 8.
 9
10map:ClassWithEnumerationAttribute-age
11  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
12  rdfs:label "age";
13  
14  rdfs:domain map:ClassWithEnumerationAttribute;
15  rdfs:range map:Enumeration;
16.
 1{
 2  "@context": [
 3    {
 4      "map": "http://example.org/RDF/",
 5      "xsd": "http://www.w3.org/2001/XMLSchema#",
 6
 7      "age": {
 8        "@id": "map:ClassWithEnumerationAttribute-age",
 9        "@type": "@vocab",
10        "@context": {
11          "new": "map:new"
12      ,    "old": "map:old"
13        }
14      },
15      
16      " comment ": "tag:json-should-support-trailing-commas"
17    }
18  ],
19  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:32:10.",
20  "basedOn": "based on the UML data type Mapping::ClassWithEnumerationAttribute"
21}
 1# class ClassWithEnumerationAttribute
 2# based on the UML class Mapping::ClassWithEnumerationAttribute
 3<#ClassWithEnumerationAttribute> a sh:NodeShape;
 4    sh:targetClass map:ClassWithEnumerationAttribute;
 5	sh:message "See http://example.org/RDF/ClassWithEnumerationAttribute";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   map:ClassWithEnumerationAttribute
11			 ) ;
12    ];
13    # attributes
14    sh:property <#ClassWithEnumerationAttribute-age>;
15    # associations from ClassWithEnumerationAttribute
16    # associations to ClassWithEnumerationAttribute
17
18
19
20.
21
22<#ClassWithEnumerationAttribute-age> a sh:PropertyShape ;
23    sh:path map:ClassWithEnumerationAttribute-age;
24    sh:node <#Enumeration>
25    ;
26    sh:minCount 1;
27    sh:maxCount 1;
28.
1# class ClassWithEnumerationAttribute
2# based on the UML class Mapping::ClassWithEnumerationAttribute
3map:ClassWithEnumerationAttributeShape CLOSED {
4	a [map:ClassWithEnumerationAttribute];
5	map:ClassWithEnumerationAttribute-age	@map:EnumerationShape;
6	}
Encodings Card 2
 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="Mapping-ClassWithEnumerationAttribute"
 5                  xmi:uuid="http://example.org/MAP/1.0/XMI/#ClassWithEnumerationAttribute"
 6                  xmi:type="uml:Class">
 7   <ownedComment xmi:id="Mapping-ClassWithEnumerationAttribute-ownedComment"
 8                  xmi:uuid="http://example.org/MAP/1.0/XMI/#ClassWithEnumerationAttribute-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="Mapping-ClassWithEnumerationAttribute"/>
11      <body>**Definition (UML 2.5.1)**
12
13Class
14   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
15   A Class may have an internal structure and Ports.
16   Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
17
18Property
19   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
20   Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
21
22Enumeration
23   An Enumeration is a DataType whose values are enumerated in the model as EnumerationLiterals.
24   Details for the UML type `Enumeration &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Enumeration&gt;`_ at NIST Validator.
25
26**Description:** Class with an attribute defined by an enumeration.
27
28**Example:** Building with the attribute age (old, new).</body>
29   </ownedComment>
30   <name>ClassWithEnumerationAttribute</name>
31   <ownedAttribute xmi:id="Mapping-ClassWithEnumerationAttribute-age"
32                    xmi:uuid="http://example.org/MAP/1.0/XMI/#ClassWithEnumerationAttribute-age"
33                    xmi:type="uml:Property">
34      <lowerValue xmi:id="Mapping-ClassWithEnumerationAttribute-age-lowerValue"
35                   xmi:uuid="http://example.org/MAP/1.0/XMI/#ClassWithEnumerationAttribute-age-lowerValue"
36                   xmi:type="uml:LiteralInteger">
37         <value>1</value>
38      </lowerValue>
39      <upperValue xmi:id="Mapping-ClassWithEnumerationAttribute-age-upperValue"
40                   xmi:uuid="http://example.org/MAP/1.0/XMI/#ClassWithEnumerationAttribute-age-upperValue"
41                   xmi:type="uml:LiteralUnlimitedNatural">
42         <value>1</value>
43      </upperValue>
44      <name>age</name>
45      <type xmi:idref="Mapping-Enumeration"/>
46   </ownedAttribute>
47</packagedElement>
 1<xs:element name="ClassWithEnumerationAttribute"
 2            type="ClassWithEnumerationAttributeXsdType"
 3            xml:id="ClassWithEnumerationAttribute">
 4  <!-- based on the UML class Mapping::ClassWithEnumerationAttribute -->
 5  <xs:annotation>
 6    <xs:documentation>**Definition (UML 2.5.1)**
 7          
 8          Class
 9             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
10             A Class may have an internal structure and Ports.
11             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
12          
13          Property
14             A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
15             Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
16          
17          Enumeration
18             An Enumeration is a DataType whose values are enumerated in the model as EnumerationLiterals.
19             Details for the UML type `Enumeration &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Enumeration&gt;`_ at NIST Validator.
20          
21          **Description:** Class with an attribute defined by an enumeration.
22          
23          **Example:** Building with the attribute age (old, new).</xs:documentation>
24  </xs:annotation>
25</xs:element>
26<xs:complexType name="ClassWithEnumerationAttributeXsdType"
27                xml:id="ClassWithEnumerationAttributeXsdType">
28  <xs:annotation>
29    <xs:documentation>**Definition (UML 2.5.1)**
30          
31          Class
32             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
33             A Class may have an internal structure and Ports.
34             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
35          
36          Property
37             A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
38             Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
39          
40          Enumeration
41             An Enumeration is a DataType whose values are enumerated in the model as EnumerationLiterals.
42             Details for the UML type `Enumeration &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Enumeration&gt;`_ at NIST Validator.
43          
44          **Description:** Class with an attribute defined by an enumeration.
45          
46          **Example:** Building with the attribute age (old, new).</xs:documentation>
47  </xs:annotation>
48  <xs:sequence>
49    <xs:element name="age"
50                type="EnumerationXsdType"
51                minOccurs="1"
52                maxOccurs="1"
53                xml:id="ClassWithEnumerationAttribute-age">
54      <xs:annotation>
55        <xs:documentation></xs:documentation>
56      </xs:annotation>
57    </xs:element>
58  </xs:sequence>
59</xs:complexType>
 1"cls-ClassWithEnumerationAttribute": {
 2  "description": "http://example.org/RDF/ClassWithEnumerationAttribute",
 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": "ClassWithEnumerationAttribute"
14    },
15    "age": {
16      "$comment": "cardinality 1..1 – from map:ClassWithEnumerationAttribute",
17      "$ref": "#/defs/enum-Enumeration"
18    },
19    
20    
21    "sameAs": {
22      "$ref": "#/defs/owl:sameAs"
23    }
24  },
25  "required": ["age","@type"],
26  "additionalProperties": false
27},
28"target-ClassWithEnumerationAttribute": {
29  "description": "all subclasses of http://example.org/RDF/ClassWithEnumerationAttribute",
30  "anyOf": [
31    { "$ref": "#/defs/cls-ClassWithEnumerationAttribute" },
32    { "type": "string", "format": "iri-reference" }
33  ]
34},
 1# class ClassWithEnumerationAttribute
 2# based on the UML class Mapping::ClassWithEnumerationAttribute
 3map:ClassWithEnumerationAttribute
 4  a rdfs:Class, owl:Class, ucmis:Class;
 5  rdfs:label "ClassWithEnumerationAttribute";
 6  rdfs:comment "**Definition (UML 2.5.1)**\n\nClass\n   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.\n   A Class may have an internal structure and Ports.\n   Details for the UML type `Class <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class>`_ at NIST Validator.\n\nProperty\n   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.\n   Details for the UML type `Property <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property>`_ at NIST Validator.\n\nEnumeration\n   An Enumeration is a DataType whose values are enumerated in the model as EnumerationLiterals.\n   Details for the UML type `Enumeration <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Enumeration>`_ at NIST Validator.\n\n**Description:** Class with an attribute defined by an enumeration.\n\n**Example:** Building with the attribute age (old, new)."@en;
 7  
 8.
 9
10map:ClassWithEnumerationAttribute-age
11  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
12  rdfs:label "age";
13  
14  rdfs:domain map:ClassWithEnumerationAttribute;
15  rdfs:range map:Enumeration;
16.
 1{
 2  "@context": [
 3    {
 4      "map": "http://example.org/RDF/",
 5      "xsd": "http://www.w3.org/2001/XMLSchema#",
 6
 7      "age": {
 8        "@id": "map:ClassWithEnumerationAttribute-age",
 9        "@type": "@vocab",
10        "@context": {
11          "new": "map:new"
12      ,    "old": "map:old"
13        }
14      },
15      
16      " comment ": "tag:json-should-support-trailing-commas"
17    }
18  ],
19  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:32:10.",
20  "basedOn": "based on the UML data type Mapping::ClassWithEnumerationAttribute"
21}
 1# class ClassWithEnumerationAttribute
 2# based on the UML class Mapping::ClassWithEnumerationAttribute
 3<#ClassWithEnumerationAttribute> a sh:NodeShape;
 4    sh:targetClass map:ClassWithEnumerationAttribute;
 5	sh:message "See http://example.org/RDF/ClassWithEnumerationAttribute";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   map:ClassWithEnumerationAttribute
11			 ) ;
12    ];
13    # attributes
14    sh:property <#ClassWithEnumerationAttribute-age>;
15    # associations from ClassWithEnumerationAttribute
16    # associations to ClassWithEnumerationAttribute
17
18
19
20.
21
22<#ClassWithEnumerationAttribute-age> a sh:PropertyShape ;
23    sh:path map:ClassWithEnumerationAttribute-age;
24    sh:node <#Enumeration>
25    ;
26    sh:minCount 1;
27    sh:maxCount 1;
28.
1# class ClassWithEnumerationAttribute
2# based on the UML class Mapping::ClassWithEnumerationAttribute
3map:ClassWithEnumerationAttributeShape CLOSED {
4	a [map:ClassWithEnumerationAttribute];
5	map:ClassWithEnumerationAttribute-age	@map:EnumerationShape;
6	}

ClassWithDataTypeAttribute#

ClassWithDataTypeAttribute - Class with an attribute defined by structured data type.

Definition (UML 2.5.1)

Class

A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects. A Class may have an internal structure and Ports. Details for the UML type Class at NIST Validator.

Property

A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association. Details for the UML type Property at NIST Validator.

DataType

A DataType is a type whose instances are identified only by their value. Details for the UML type DataType at NIST Validator.

Description: Class with an attribute defined by structured data type.

Example: Building with the attribute address (place name and postal code).

Encodings Card 1
 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="Mapping-ClassWithDataTypeAttribute"
 5                  xmi:uuid="http://example.org/MAP/1.0/XMI/#ClassWithDataTypeAttribute"
 6                  xmi:type="uml:Class">
 7   <ownedComment xmi:id="Mapping-ClassWithDataTypeAttribute-ownedComment"
 8                  xmi:uuid="http://example.org/MAP/1.0/XMI/#ClassWithDataTypeAttribute-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="Mapping-ClassWithDataTypeAttribute"/>
11      <body>**Definition (UML 2.5.1)**
12
13Class
14   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
15   A Class may have an internal structure and Ports.
16   Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
17
18Property
19   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
20   Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
21
22DataType
23   A DataType is a type whose instances are identified only by their value.
24   Details for the UML type `DataType &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*DataType&gt;`_ at NIST Validator.
25
26**Description:** Class with an attribute defined by structured data type.
27
28**Example:** Building with the attribute address (place name and postal code).</body>
29   </ownedComment>
30   <name>ClassWithDataTypeAttribute</name>
31   <ownedAttribute xmi:id="Mapping-ClassWithDataTypeAttribute-address"
32                    xmi:uuid="http://example.org/MAP/1.0/XMI/#ClassWithDataTypeAttribute-address"
33                    xmi:type="uml:Property">
34      <lowerValue xmi:id="Mapping-ClassWithDataTypeAttribute-address-lowerValue"
35                   xmi:uuid="http://example.org/MAP/1.0/XMI/#ClassWithDataTypeAttribute-address-lowerValue"
36                   xmi:type="uml:LiteralInteger">
37         <value>1</value>
38      </lowerValue>
39      <upperValue xmi:id="Mapping-ClassWithDataTypeAttribute-address-upperValue"
40                   xmi:uuid="http://example.org/MAP/1.0/XMI/#ClassWithDataTypeAttribute-address-upperValue"
41                   xmi:type="uml:LiteralUnlimitedNatural">
42         <value>1</value>
43      </upperValue>
44      <name>address</name>
45      <type xmi:idref="Mapping-StructuredDataType"/>
46   </ownedAttribute>
47</packagedElement>
 1<xs:element name="ClassWithDataTypeAttribute"
 2            type="ClassWithDataTypeAttributeXsdType"
 3            xml:id="ClassWithDataTypeAttribute">
 4  <!-- based on the UML class Mapping::ClassWithDataTypeAttribute -->
 5  <xs:annotation>
 6    <xs:documentation>**Definition (UML 2.5.1)**
 7          
 8          Class
 9             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
10             A Class may have an internal structure and Ports.
11             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
12          
13          Property
14             A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
15             Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
16          
17          DataType
18             A DataType is a type whose instances are identified only by their value.
19             Details for the UML type `DataType &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*DataType&gt;`_ at NIST Validator.
20          
21          **Description:** Class with an attribute defined by structured data type.
22          
23          **Example:** Building with the attribute address (place name and postal code).</xs:documentation>
24  </xs:annotation>
25</xs:element>
26<xs:complexType name="ClassWithDataTypeAttributeXsdType"
27                xml:id="ClassWithDataTypeAttributeXsdType">
28  <xs:annotation>
29    <xs:documentation>**Definition (UML 2.5.1)**
30          
31          Class
32             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
33             A Class may have an internal structure and Ports.
34             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
35          
36          Property
37             A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
38             Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
39          
40          DataType
41             A DataType is a type whose instances are identified only by their value.
42             Details for the UML type `DataType &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*DataType&gt;`_ at NIST Validator.
43          
44          **Description:** Class with an attribute defined by structured data type.
45          
46          **Example:** Building with the attribute address (place name and postal code).</xs:documentation>
47  </xs:annotation>
48  <xs:sequence>
49    <xs:element name="address"
50                type="StructuredDataTypeXsdType"
51                minOccurs="1"
52                maxOccurs="1"
53                xml:id="ClassWithDataTypeAttribute-address">
54      <xs:annotation>
55        <xs:documentation></xs:documentation>
56      </xs:annotation>
57    </xs:element>
58  </xs:sequence>
59</xs:complexType>
 1"cls-ClassWithDataTypeAttribute": {
 2  "description": "http://example.org/RDF/ClassWithDataTypeAttribute",
 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": "ClassWithDataTypeAttribute"
14    },
15    "address": {
16      "$comment": "cardinality 1..1 – from map:ClassWithDataTypeAttribute",
17      "$ref": "#/defs/dt-StructuredDataType"
18    },
19    
20    
21    "sameAs": {
22      "$ref": "#/defs/owl:sameAs"
23    }
24  },
25  "required": ["address","@type"],
26  "additionalProperties": false
27},
28"target-ClassWithDataTypeAttribute": {
29  "description": "all subclasses of http://example.org/RDF/ClassWithDataTypeAttribute",
30  "anyOf": [
31    { "$ref": "#/defs/cls-ClassWithDataTypeAttribute" },
32    { "type": "string", "format": "iri-reference" }
33  ]
34},
 1# class ClassWithDataTypeAttribute
 2# based on the UML class Mapping::ClassWithDataTypeAttribute
 3map:ClassWithDataTypeAttribute
 4  a rdfs:Class, owl:Class, ucmis:Class;
 5  rdfs:label "ClassWithDataTypeAttribute";
 6  rdfs:comment "**Definition (UML 2.5.1)**\n\nClass\n   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.\n   A Class may have an internal structure and Ports.\n   Details for the UML type `Class <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class>`_ at NIST Validator.\n\nProperty\n   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.\n   Details for the UML type `Property <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property>`_ at NIST Validator.\n\nDataType\n   A DataType is a type whose instances are identified only by their value.\n   Details for the UML type `DataType <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*DataType>`_ at NIST Validator.\n\n**Description:** Class with an attribute defined by structured data type.\n\n**Example:** Building with the attribute address (place name and postal code)."@en;
 7  
 8.
 9
10map:ClassWithDataTypeAttribute-address
11  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
12  rdfs:label "address";
13  
14  rdfs:domain map:ClassWithDataTypeAttribute;
15  rdfs:range map:StructuredDataType;
16.
 1{
 2  "@context": [
 3    {
 4      "map": "http://example.org/RDF/",
 5      "xsd": "http://www.w3.org/2001/XMLSchema#",
 6
 7      "address": {
 8        "@id": "map:ClassWithDataTypeAttribute-address",
 9        "@type": "@id",
10        "@context": "StructuredDataType.jsonld"
11      },
12      
13      " comment ": "tag:json-should-support-trailing-commas"
14    }
15  ],
16  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:32:10.",
17  "basedOn": "based on the UML data type Mapping::ClassWithDataTypeAttribute"
18}
 1# class ClassWithDataTypeAttribute
 2# based on the UML class Mapping::ClassWithDataTypeAttribute
 3<#ClassWithDataTypeAttribute> a sh:NodeShape;
 4    sh:targetClass map:ClassWithDataTypeAttribute;
 5	sh:message "See http://example.org/RDF/ClassWithDataTypeAttribute";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   map:ClassWithDataTypeAttribute
11			 ) ;
12    ];
13    # attributes
14    sh:property <#ClassWithDataTypeAttribute-address>;
15    # associations from ClassWithDataTypeAttribute
16    # associations to ClassWithDataTypeAttribute
17
18
19
20.
21
22<#ClassWithDataTypeAttribute-address> a sh:PropertyShape ;
23    sh:path map:ClassWithDataTypeAttribute-address;
24    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
25        map:StructuredDataType
26      
27    ) ]];
28    sh:minCount 1;
29    sh:maxCount 1;
30.
1# class ClassWithDataTypeAttribute
2# based on the UML class Mapping::ClassWithDataTypeAttribute
3map:ClassWithDataTypeAttributeShape CLOSED {
4	a [map:ClassWithDataTypeAttribute];
5	map:ClassWithDataTypeAttribute-address	@map:StructuredDataTypeShape;
6	}
Encodings Card 2
 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="Mapping-ClassWithDataTypeAttribute"
 5                  xmi:uuid="http://example.org/MAP/1.0/XMI/#ClassWithDataTypeAttribute"
 6                  xmi:type="uml:Class">
 7   <ownedComment xmi:id="Mapping-ClassWithDataTypeAttribute-ownedComment"
 8                  xmi:uuid="http://example.org/MAP/1.0/XMI/#ClassWithDataTypeAttribute-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="Mapping-ClassWithDataTypeAttribute"/>
11      <body>**Definition (UML 2.5.1)**
12
13Class
14   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
15   A Class may have an internal structure and Ports.
16   Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
17
18Property
19   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
20   Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
21
22DataType
23   A DataType is a type whose instances are identified only by their value.
24   Details for the UML type `DataType &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*DataType&gt;`_ at NIST Validator.
25
26**Description:** Class with an attribute defined by structured data type.
27
28**Example:** Building with the attribute address (place name and postal code).</body>
29   </ownedComment>
30   <name>ClassWithDataTypeAttribute</name>
31   <ownedAttribute xmi:id="Mapping-ClassWithDataTypeAttribute-address"
32                    xmi:uuid="http://example.org/MAP/1.0/XMI/#ClassWithDataTypeAttribute-address"
33                    xmi:type="uml:Property">
34      <lowerValue xmi:id="Mapping-ClassWithDataTypeAttribute-address-lowerValue"
35                   xmi:uuid="http://example.org/MAP/1.0/XMI/#ClassWithDataTypeAttribute-address-lowerValue"
36                   xmi:type="uml:LiteralInteger">
37         <value>1</value>
38      </lowerValue>
39      <upperValue xmi:id="Mapping-ClassWithDataTypeAttribute-address-upperValue"
40                   xmi:uuid="http://example.org/MAP/1.0/XMI/#ClassWithDataTypeAttribute-address-upperValue"
41                   xmi:type="uml:LiteralUnlimitedNatural">
42         <value>1</value>
43      </upperValue>
44      <name>address</name>
45      <type xmi:idref="Mapping-StructuredDataType"/>
46   </ownedAttribute>
47</packagedElement>
 1<xs:element name="ClassWithDataTypeAttribute"
 2            type="ClassWithDataTypeAttributeXsdType"
 3            xml:id="ClassWithDataTypeAttribute">
 4  <!-- based on the UML class Mapping::ClassWithDataTypeAttribute -->
 5  <xs:annotation>
 6    <xs:documentation>**Definition (UML 2.5.1)**
 7          
 8          Class
 9             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
10             A Class may have an internal structure and Ports.
11             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
12          
13          Property
14             A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
15             Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
16          
17          DataType
18             A DataType is a type whose instances are identified only by their value.
19             Details for the UML type `DataType &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*DataType&gt;`_ at NIST Validator.
20          
21          **Description:** Class with an attribute defined by structured data type.
22          
23          **Example:** Building with the attribute address (place name and postal code).</xs:documentation>
24  </xs:annotation>
25</xs:element>
26<xs:complexType name="ClassWithDataTypeAttributeXsdType"
27                xml:id="ClassWithDataTypeAttributeXsdType">
28  <xs:annotation>
29    <xs:documentation>**Definition (UML 2.5.1)**
30          
31          Class
32             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
33             A Class may have an internal structure and Ports.
34             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
35          
36          Property
37             A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
38             Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
39          
40          DataType
41             A DataType is a type whose instances are identified only by their value.
42             Details for the UML type `DataType &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*DataType&gt;`_ at NIST Validator.
43          
44          **Description:** Class with an attribute defined by structured data type.
45          
46          **Example:** Building with the attribute address (place name and postal code).</xs:documentation>
47  </xs:annotation>
48  <xs:sequence>
49    <xs:element name="address"
50                type="StructuredDataTypeXsdType"
51                minOccurs="1"
52                maxOccurs="1"
53                xml:id="ClassWithDataTypeAttribute-address">
54      <xs:annotation>
55        <xs:documentation></xs:documentation>
56      </xs:annotation>
57    </xs:element>
58  </xs:sequence>
59</xs:complexType>
 1"cls-ClassWithDataTypeAttribute": {
 2  "description": "http://example.org/RDF/ClassWithDataTypeAttribute",
 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": "ClassWithDataTypeAttribute"
14    },
15    "address": {
16      "$comment": "cardinality 1..1 – from map:ClassWithDataTypeAttribute",
17      "$ref": "#/defs/dt-StructuredDataType"
18    },
19    
20    
21    "sameAs": {
22      "$ref": "#/defs/owl:sameAs"
23    }
24  },
25  "required": ["address","@type"],
26  "additionalProperties": false
27},
28"target-ClassWithDataTypeAttribute": {
29  "description": "all subclasses of http://example.org/RDF/ClassWithDataTypeAttribute",
30  "anyOf": [
31    { "$ref": "#/defs/cls-ClassWithDataTypeAttribute" },
32    { "type": "string", "format": "iri-reference" }
33  ]
34},
 1# class ClassWithDataTypeAttribute
 2# based on the UML class Mapping::ClassWithDataTypeAttribute
 3map:ClassWithDataTypeAttribute
 4  a rdfs:Class, owl:Class, ucmis:Class;
 5  rdfs:label "ClassWithDataTypeAttribute";
 6  rdfs:comment "**Definition (UML 2.5.1)**\n\nClass\n   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.\n   A Class may have an internal structure and Ports.\n   Details for the UML type `Class <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class>`_ at NIST Validator.\n\nProperty\n   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.\n   Details for the UML type `Property <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property>`_ at NIST Validator.\n\nDataType\n   A DataType is a type whose instances are identified only by their value.\n   Details for the UML type `DataType <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*DataType>`_ at NIST Validator.\n\n**Description:** Class with an attribute defined by structured data type.\n\n**Example:** Building with the attribute address (place name and postal code)."@en;
 7  
 8.
 9
10map:ClassWithDataTypeAttribute-address
11  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
12  rdfs:label "address";
13  
14  rdfs:domain map:ClassWithDataTypeAttribute;
15  rdfs:range map:StructuredDataType;
16.
 1{
 2  "@context": [
 3    {
 4      "map": "http://example.org/RDF/",
 5      "xsd": "http://www.w3.org/2001/XMLSchema#",
 6
 7      "address": {
 8        "@id": "map:ClassWithDataTypeAttribute-address",
 9        "@type": "@id",
10        "@context": "StructuredDataType.jsonld"
11      },
12      
13      " comment ": "tag:json-should-support-trailing-commas"
14    }
15  ],
16  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:32:10.",
17  "basedOn": "based on the UML data type Mapping::ClassWithDataTypeAttribute"
18}
 1# class ClassWithDataTypeAttribute
 2# based on the UML class Mapping::ClassWithDataTypeAttribute
 3<#ClassWithDataTypeAttribute> a sh:NodeShape;
 4    sh:targetClass map:ClassWithDataTypeAttribute;
 5	sh:message "See http://example.org/RDF/ClassWithDataTypeAttribute";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   map:ClassWithDataTypeAttribute
11			 ) ;
12    ];
13    # attributes
14    sh:property <#ClassWithDataTypeAttribute-address>;
15    # associations from ClassWithDataTypeAttribute
16    # associations to ClassWithDataTypeAttribute
17
18
19
20.
21
22<#ClassWithDataTypeAttribute-address> a sh:PropertyShape ;
23    sh:path map:ClassWithDataTypeAttribute-address;
24    sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
25        map:StructuredDataType
26      
27    ) ]];
28    sh:minCount 1;
29    sh:maxCount 1;
30.
1# class ClassWithDataTypeAttribute
2# based on the UML class Mapping::ClassWithDataTypeAttribute
3map:ClassWithDataTypeAttributeShape CLOSED {
4	a [map:ClassWithDataTypeAttribute];
5	map:ClassWithDataTypeAttribute-address	@map:StructuredDataTypeShape;
6	}

AssociatedClass#

AssociatedClass - Class associated with another class.

Definition (UML 2.5.1)

Class

A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects. A Class may have an internal structure and Ports. Details for the UML type Class at NIST Validator.

Association

A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association. Details for the UML type Association at NIST Validator.

Property

A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association. Details for the UML type Property at NIST Validator.

Description: Class associated with another class.

Example: Building is maintained by a janitor.

Encodings Card 1
 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="Mapping-AssociatedClass"
 5                  xmi:uuid="http://example.org/MAP/1.0/XMI/#AssociatedClass"
 6                  xmi:type="uml:Class">
 7   <ownedComment xmi:id="Mapping-AssociatedClass-ownedComment"
 8                  xmi:uuid="http://example.org/MAP/1.0/XMI/#AssociatedClass-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="Mapping-AssociatedClass"/>
11      <body>**Definition (UML 2.5.1)**
12
13Class
14   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
15   A Class may have an internal structure and Ports.
16   Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
17
18Association
19   A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association.
20   Details for the UML type `Association &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association&gt;`_ at NIST Validator.
21
22Property
23   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
24   Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
25
26**Description:** Class associated with another class.
27
28**Example:** Building is maintained by a janitor.</body>
29   </ownedComment>
30   <name>AssociatedClass</name>
31   <ownedAttribute xmi:id="Mapping-AssociatedClass-ownedAttribute"
32                    xmi:uuid="http://example.org/MAP/1.0/XMI/#AssociatedClass-ownedAttribute"
33                    xmi:type="uml:Property">
34      <association xmi:idref="Mapping-AssociatedClass_is associated with_OtherClass"/>
35      <type xmi:idref="Mapping-OtherClass"/>
36   </ownedAttribute>
37</packagedElement>
 1<xs:element name="AssociatedClass"
 2            type="AssociatedClassXsdType"
 3            xml:id="AssociatedClass">
 4  <!-- based on the UML class Mapping::AssociatedClass -->
 5  <xs:annotation>
 6    <xs:documentation>**Definition (UML 2.5.1)**
 7          
 8          Class
 9             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
10             A Class may have an internal structure and Ports.
11             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
12          
13          Association
14             A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association.
15             Details for the UML type `Association &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association&gt;`_ at NIST Validator.
16          
17          Property
18             A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
19             Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
20          
21          **Description:** Class associated with another class.
22          
23          **Example:** Building is maintained by a janitor.</xs:documentation>
24  </xs:annotation>
25</xs:element>
26<xs:complexType name="AssociatedClassXsdType"
27                xml:id="AssociatedClassXsdType">
28  <xs:annotation>
29    <xs:documentation>**Definition (UML 2.5.1)**
30          
31          Class
32             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
33             A Class may have an internal structure and Ports.
34             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
35          
36          Association
37             A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association.
38             Details for the UML type `Association &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association&gt;`_ at NIST Validator.
39          
40          Property
41             A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
42             Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
43          
44          **Description:** Class associated with another class.
45          
46          **Example:** Building is maintained by a janitor.</xs:documentation>
47  </xs:annotation>
48  <xs:sequence>
49    <xs:element name="AssociatedClass_is associated with_OtherClass"
50                minOccurs="1"
51                maxOccurs="1"
52                xml:id="AssociatedClass_is associated with_OtherClass">
53      <xs:annotation>
54        <xs:documentation>**Definition (UML 2.5.1)**
55        
56        Association
57           A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association.
58           Details for the UML type `Association &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association&gt;`_ at NIST Validator.
59        
60        Property
61           A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
62           Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
63        
64        **Description:** An association is a relationship between classes.
65        
66        **Example:** Building is maintained by a janitor.</xs:documentation>
67      </xs:annotation>
68      <xs:complexType>
69        <xs:complexContent>
70          <xs:restriction base="AssociationReferenceXsdType">
71            <xs:sequence>
72              <xs:element name="ddiReference"
73                          type="InternationalRegistrationDataIdentifierXsdType"
74                          minOccurs="0"
75                          maxOccurs="1"
76                          xml:id="AssociatedClass_is associated with_OtherClass-ddiReference"/>
77              <xs:element name="validType"
78                          minOccurs="1"
79                          maxOccurs="1"
80                          xml:id="AssociatedClass_is associated with_OtherClass-validType">
81                <xs:simpleType>
82                  <xs:restriction base="xs:NMTOKEN">
83                    <xs:enumeration value="OtherClass"/>
84                  </xs:restriction>
85                </xs:simpleType>
86              </xs:element>
87            </xs:sequence>
88          </xs:restriction>
89        </xs:complexContent>
90      </xs:complexType>
91    </xs:element>
92  </xs:sequence>
93</xs:complexType>
 1"cls-AssociatedClass": {
 2  "description": "http://example.org/RDF/AssociatedClass",
 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": "AssociatedClass"
14    },
15    
16    "is associated with_OtherClass": {
17      "description": "AssociatedClass_is associated with_OtherClass",
18      "$comment": "cardinality 1..1",
19       "$ref": "#/defs/target-OtherClass"
20    },
21    
22    "sameAs": {
23      "$ref": "#/defs/owl:sameAs"
24    }
25  },
26  "required": ["is associated with_OtherClass","@type"],
27  "additionalProperties": false
28},
29"target-AssociatedClass": {
30  "description": "all subclasses of http://example.org/RDF/AssociatedClass",
31  "anyOf": [
32    { "$ref": "#/defs/cls-AssociatedClass" },
33    { "type": "string", "format": "iri-reference" }
34  ]
35},
 1# class AssociatedClass
 2# based on the UML class Mapping::AssociatedClass
 3map:AssociatedClass
 4  a rdfs:Class, owl:Class, ucmis:Class;
 5  rdfs:label "AssociatedClass";
 6  rdfs:comment "**Definition (UML 2.5.1)**\n\nClass\n   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.\n   A Class may have an internal structure and Ports.\n   Details for the UML type `Class <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class>`_ at NIST Validator.\n\nAssociation\n   A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association.\n   Details for the UML type `Association <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association>`_ at NIST Validator.\n\nProperty\n   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.\n   Details for the UML type `Property <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property>`_ at NIST Validator.\n\n**Description:** Class associated with another class.\n\n**Example:** Building is maintained by a janitor."@en;
 7  
 8.
 9
10
11map:AssociatedClass_isassociatedwith_OtherClass
12  a rdf:Property, owl:ObjectProperty, ucmis:Association;
13  # ASSOCIATION
14  rdfs:label "is associated with_OtherClass";
15  skos:altLabel "AssociatedClass_is associated with_OtherClass";
16  rdfs:comment "**Definition (UML 2.5.1)**\n\nAssociation\n   A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association.\n   Details for the UML type `Association <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association>`_ at NIST Validator.\n\nProperty\n   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.\n   Details for the UML type `Property <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property>`_ at NIST Validator.\n\n**Description:** An association is a relationship between classes.\n\n**Example:** Building is maintained by a janitor."@en;
17  rdfs:domain map:AssociatedClass;
18  rdfs:range map:OtherClass;
19.
 1{
 2  "@context": [
 3    {
 4      "map": "http://example.org/RDF/",
 5      "xsd": "http://www.w3.org/2001/XMLSchema#",
 6
 7      
 8      "is associated with_OtherClass": {
 9        "@id": "map:AssociatedClass_isassociatedwith_OtherClass",
10        "@type": "@id",
11        "@context": "OtherClass.jsonld"
12      },
13      " comment ": "tag:json-should-support-trailing-commas"
14    }
15  ],
16  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:32:10.",
17  "basedOn": "based on the UML data type Mapping::AssociatedClass"
18}
 1# class AssociatedClass
 2# based on the UML class Mapping::AssociatedClass
 3<#AssociatedClass> a sh:NodeShape;
 4    sh:targetClass map:AssociatedClass;
 5	sh:message "See http://example.org/RDF/AssociatedClass";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   map:AssociatedClass
11			 ) ;
12    ];
13    # attributes
14    # associations from AssociatedClass
15    sh:property <#AssociatedClass_isassociatedwith_OtherClass>;
16    # associations to AssociatedClass
17
18
19
20.
21
22
23<#AssociatedClass_isassociatedwith_OtherClass> a sh:PropertyShape ;
24    sh:path map:AssociatedClass_isassociatedwith_OtherClass;
25	sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
26        map:OtherClass
27      
28    ) ]];
29    sh:minCount 1;
30    sh:maxCount 1;
31.
32<#rev_AssociatedClass_isassociatedwith_OtherClass> a sh:PropertyShape ;
33    sh:path [ sh:inversePath map:AssociatedClass_isassociatedwith_OtherClass ];
34    sh:minCount 1;
35    sh:maxCount 1;
36.
1# class AssociatedClass
2# based on the UML class Mapping::AssociatedClass
3map:AssociatedClassShape CLOSED {
4	a [map:AssociatedClass];
5	map:AssociatedClass_isassociatedwith_OtherClass	@map:OtherClassShape ;
6	
7	}
Encodings Card 2
 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="Mapping-AssociatedClass"
 5                  xmi:uuid="http://example.org/MAP/1.0/XMI/#AssociatedClass"
 6                  xmi:type="uml:Class">
 7   <ownedComment xmi:id="Mapping-AssociatedClass-ownedComment"
 8                  xmi:uuid="http://example.org/MAP/1.0/XMI/#AssociatedClass-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="Mapping-AssociatedClass"/>
11      <body>**Definition (UML 2.5.1)**
12
13Class
14   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
15   A Class may have an internal structure and Ports.
16   Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
17
18Association
19   A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association.
20   Details for the UML type `Association &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association&gt;`_ at NIST Validator.
21
22Property
23   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
24   Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
25
26**Description:** Class associated with another class.
27
28**Example:** Building is maintained by a janitor.</body>
29   </ownedComment>
30   <name>AssociatedClass</name>
31   <ownedAttribute xmi:id="Mapping-AssociatedClass-ownedAttribute"
32                    xmi:uuid="http://example.org/MAP/1.0/XMI/#AssociatedClass-ownedAttribute"
33                    xmi:type="uml:Property">
34      <association xmi:idref="Mapping-AssociatedClass_is associated with_OtherClass"/>
35      <type xmi:idref="Mapping-OtherClass"/>
36   </ownedAttribute>
37</packagedElement>
 1<xs:element name="AssociatedClass"
 2            type="AssociatedClassXsdType"
 3            xml:id="AssociatedClass">
 4  <!-- based on the UML class Mapping::AssociatedClass -->
 5  <xs:annotation>
 6    <xs:documentation>**Definition (UML 2.5.1)**
 7          
 8          Class
 9             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
10             A Class may have an internal structure and Ports.
11             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
12          
13          Association
14             A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association.
15             Details for the UML type `Association &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association&gt;`_ at NIST Validator.
16          
17          Property
18             A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
19             Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
20          
21          **Description:** Class associated with another class.
22          
23          **Example:** Building is maintained by a janitor.</xs:documentation>
24  </xs:annotation>
25</xs:element>
26<xs:complexType name="AssociatedClassXsdType"
27                xml:id="AssociatedClassXsdType">
28  <xs:annotation>
29    <xs:documentation>**Definition (UML 2.5.1)**
30          
31          Class
32             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
33             A Class may have an internal structure and Ports.
34             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
35          
36          Association
37             A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association.
38             Details for the UML type `Association &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association&gt;`_ at NIST Validator.
39          
40          Property
41             A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
42             Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
43          
44          **Description:** Class associated with another class.
45          
46          **Example:** Building is maintained by a janitor.</xs:documentation>
47  </xs:annotation>
48  <xs:sequence>
49    <xs:element name="AssociatedClass_is associated with_OtherClass"
50                minOccurs="1"
51                maxOccurs="1"
52                xml:id="AssociatedClass_is associated with_OtherClass">
53      <xs:annotation>
54        <xs:documentation>**Definition (UML 2.5.1)**
55        
56        Association
57           A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association.
58           Details for the UML type `Association &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association&gt;`_ at NIST Validator.
59        
60        Property
61           A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
62           Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
63        
64        **Description:** An association is a relationship between classes.
65        
66        **Example:** Building is maintained by a janitor.</xs:documentation>
67      </xs:annotation>
68      <xs:complexType>
69        <xs:complexContent>
70          <xs:restriction base="AssociationReferenceXsdType">
71            <xs:sequence>
72              <xs:element name="ddiReference"
73                          type="InternationalRegistrationDataIdentifierXsdType"
74                          minOccurs="0"
75                          maxOccurs="1"
76                          xml:id="AssociatedClass_is associated with_OtherClass-ddiReference"/>
77              <xs:element name="validType"
78                          minOccurs="1"
79                          maxOccurs="1"
80                          xml:id="AssociatedClass_is associated with_OtherClass-validType">
81                <xs:simpleType>
82                  <xs:restriction base="xs:NMTOKEN">
83                    <xs:enumeration value="OtherClass"/>
84                  </xs:restriction>
85                </xs:simpleType>
86              </xs:element>
87            </xs:sequence>
88          </xs:restriction>
89        </xs:complexContent>
90      </xs:complexType>
91    </xs:element>
92  </xs:sequence>
93</xs:complexType>
 1"cls-AssociatedClass": {
 2  "description": "http://example.org/RDF/AssociatedClass",
 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": "AssociatedClass"
14    },
15    
16    "is associated with_OtherClass": {
17      "description": "AssociatedClass_is associated with_OtherClass",
18      "$comment": "cardinality 1..1",
19       "$ref": "#/defs/target-OtherClass"
20    },
21    
22    "sameAs": {
23      "$ref": "#/defs/owl:sameAs"
24    }
25  },
26  "required": ["is associated with_OtherClass","@type"],
27  "additionalProperties": false
28},
29"target-AssociatedClass": {
30  "description": "all subclasses of http://example.org/RDF/AssociatedClass",
31  "anyOf": [
32    { "$ref": "#/defs/cls-AssociatedClass" },
33    { "type": "string", "format": "iri-reference" }
34  ]
35},
 1# class AssociatedClass
 2# based on the UML class Mapping::AssociatedClass
 3map:AssociatedClass
 4  a rdfs:Class, owl:Class, ucmis:Class;
 5  rdfs:label "AssociatedClass";
 6  rdfs:comment "**Definition (UML 2.5.1)**\n\nClass\n   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.\n   A Class may have an internal structure and Ports.\n   Details for the UML type `Class <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class>`_ at NIST Validator.\n\nAssociation\n   A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association.\n   Details for the UML type `Association <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association>`_ at NIST Validator.\n\nProperty\n   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.\n   Details for the UML type `Property <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property>`_ at NIST Validator.\n\n**Description:** Class associated with another class.\n\n**Example:** Building is maintained by a janitor."@en;
 7  
 8.
 9
10
11map:AssociatedClass_isassociatedwith_OtherClass
12  a rdf:Property, owl:ObjectProperty, ucmis:Association;
13  # ASSOCIATION
14  rdfs:label "is associated with_OtherClass";
15  skos:altLabel "AssociatedClass_is associated with_OtherClass";
16  rdfs:comment "**Definition (UML 2.5.1)**\n\nAssociation\n   A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association.\n   Details for the UML type `Association <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association>`_ at NIST Validator.\n\nProperty\n   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.\n   Details for the UML type `Property <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property>`_ at NIST Validator.\n\n**Description:** An association is a relationship between classes.\n\n**Example:** Building is maintained by a janitor."@en;
17  rdfs:domain map:AssociatedClass;
18  rdfs:range map:OtherClass;
19.
 1{
 2  "@context": [
 3    {
 4      "map": "http://example.org/RDF/",
 5      "xsd": "http://www.w3.org/2001/XMLSchema#",
 6
 7      
 8      "is associated with_OtherClass": {
 9        "@id": "map:AssociatedClass_isassociatedwith_OtherClass",
10        "@type": "@id",
11        "@context": "OtherClass.jsonld"
12      },
13      " comment ": "tag:json-should-support-trailing-commas"
14    }
15  ],
16  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:32:10.",
17  "basedOn": "based on the UML data type Mapping::AssociatedClass"
18}
 1# class AssociatedClass
 2# based on the UML class Mapping::AssociatedClass
 3<#AssociatedClass> a sh:NodeShape;
 4    sh:targetClass map:AssociatedClass;
 5	sh:message "See http://example.org/RDF/AssociatedClass";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   map:AssociatedClass
11			 ) ;
12    ];
13    # attributes
14    # associations from AssociatedClass
15    sh:property <#AssociatedClass_isassociatedwith_OtherClass>;
16    # associations to AssociatedClass
17
18
19
20.
21
22
23<#AssociatedClass_isassociatedwith_OtherClass> a sh:PropertyShape ;
24    sh:path map:AssociatedClass_isassociatedwith_OtherClass;
25	sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
26        map:OtherClass
27      
28    ) ]];
29    sh:minCount 1;
30    sh:maxCount 1;
31.
32<#rev_AssociatedClass_isassociatedwith_OtherClass> a sh:PropertyShape ;
33    sh:path [ sh:inversePath map:AssociatedClass_isassociatedwith_OtherClass ];
34    sh:minCount 1;
35    sh:maxCount 1;
36.
1# class AssociatedClass
2# based on the UML class Mapping::AssociatedClass
3map:AssociatedClassShape CLOSED {
4	a [map:AssociatedClass];
5	map:AssociatedClass_isassociatedwith_OtherClass	@map:OtherClassShape ;
6	
7	}

AggregationWhole#

AggregationWhole - The AggregationWhole is aggregated by AggregationPart.

Definition (UML 2.5.1)

Class

A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects. A Class may have an internal structure and Ports. Details for the UML type Class at NIST Validator.

Association

A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association. The aggregation kind is shared. Details for the UML type Association at NIST Validator.

Property

A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association. Details for the UML type Property at NIST Validator.

Description: The AggregationWhole is aggregated by AggregationPart. A shared aggregation is a variant of the association relationship; aggregation is more specific than association. It is an association that represents a part-whole or part-of relationship.

Example: A building has windows.

Encodings Card 1
 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="Mapping-AggregationWhole"
 5                  xmi:uuid="http://example.org/MAP/1.0/XMI/#AggregationWhole"
 6                  xmi:type="uml:Class">
 7   <ownedComment xmi:id="Mapping-AggregationWhole-ownedComment"
 8                  xmi:uuid="http://example.org/MAP/1.0/XMI/#AggregationWhole-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="Mapping-AggregationWhole"/>
11      <body>**Definition (UML 2.5.1)**
12
13Class
14   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
15   A Class may have an internal structure and Ports.
16   Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
17
18Association
19   A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association. The aggregation kind is shared.
20   Details for the UML type `Association &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association&gt;`_ at NIST Validator.
21
22Property
23   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
24   Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
25
26**Description:** The AggregationWhole is aggregated by AggregationPart. A shared aggregation is a variant of the association relationship; aggregation is more specific than association. It is an association that represents a part-whole or part-of relationship.
27
28**Example:** A building has windows.</body>
29   </ownedComment>
30   <name>AggregationWhole</name>
31   <ownedAttribute xmi:id="Mapping-AggregationWhole-ownedAttribute"
32                    xmi:uuid="http://example.org/MAP/1.0/XMI/#AggregationWhole-ownedAttribute"
33                    xmi:type="uml:Property">
34      <aggregation>shared</aggregation>
35      <association xmi:idref="Mapping-AggregationWhole_Aggregation_AggregationPart"/>
36      <type xmi:idref="Mapping-AggregationPart"/>
37   </ownedAttribute>
38</packagedElement>
 1<xs:element name="AggregationWhole"
 2            type="AggregationWholeXsdType"
 3            xml:id="AggregationWhole">
 4  <!-- based on the UML class Mapping::AggregationWhole -->
 5  <xs:annotation>
 6    <xs:documentation>**Definition (UML 2.5.1)**
 7          
 8          Class
 9             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
10             A Class may have an internal structure and Ports.
11             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
12          
13          Association
14             A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association. The aggregation kind is shared.
15             Details for the UML type `Association &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association&gt;`_ at NIST Validator.
16          
17          Property
18             A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
19             Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
20          
21          **Description:** The AggregationWhole is aggregated by AggregationPart. A shared aggregation is a variant of the association relationship; aggregation is more specific than association. It is an association that represents a part-whole or part-of relationship.
22          
23          **Example:** A building has windows.</xs:documentation>
24  </xs:annotation>
25</xs:element>
26<xs:complexType name="AggregationWholeXsdType"
27                xml:id="AggregationWholeXsdType">
28  <xs:annotation>
29    <xs:documentation>**Definition (UML 2.5.1)**
30          
31          Class
32             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
33             A Class may have an internal structure and Ports.
34             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
35          
36          Association
37             A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association. The aggregation kind is shared.
38             Details for the UML type `Association &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association&gt;`_ at NIST Validator.
39          
40          Property
41             A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
42             Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
43          
44          **Description:** The AggregationWhole is aggregated by AggregationPart. A shared aggregation is a variant of the association relationship; aggregation is more specific than association. It is an association that represents a part-whole or part-of relationship.
45          
46          **Example:** A building has windows.</xs:documentation>
47  </xs:annotation>
48  <xs:sequence>
49    <xs:element name="AggregationWhole_Aggregation_AggregationPart"
50                minOccurs="1"
51                maxOccurs="1"
52                xml:id="AggregationWhole_Aggregation_AggregationPart">
53      <xs:annotation>
54        <xs:documentation>**Definition (UML 2.5.1)**
55        
56        Association
57           A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association. The aggregation kind is shared.
58           Details for the UML type `Association &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association&gt;`_ at NIST Validator.
59        
60        Property
61           A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
62           Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
63        
64        **Description:** A shared aggregation is a variant of the association relationship. Aggregation is more specific than association. It is an association that represents a part-whole or part-of relationship.
65        
66        **Example:** A building has windows.</xs:documentation>
67      </xs:annotation>
68      <xs:complexType>
69        <xs:complexContent>
70          <xs:restriction base="AssociationReferenceXsdType">
71            <xs:sequence>
72              <xs:element name="ddiReference"
73                          type="InternationalRegistrationDataIdentifierXsdType"
74                          minOccurs="0"
75                          maxOccurs="1"
76                          xml:id="AggregationWhole_Aggregation_AggregationPart-ddiReference"/>
77              <xs:element name="validType"
78                          minOccurs="1"
79                          maxOccurs="1"
80                          xml:id="AggregationWhole_Aggregation_AggregationPart-validType">
81                <xs:simpleType>
82                  <xs:restriction base="xs:NMTOKEN">
83                    <xs:enumeration value="AggregationPart"/>
84                  </xs:restriction>
85                </xs:simpleType>
86              </xs:element>
87            </xs:sequence>
88          </xs:restriction>
89        </xs:complexContent>
90      </xs:complexType>
91    </xs:element>
92  </xs:sequence>
93</xs:complexType>
 1"cls-AggregationWhole": {
 2  "description": "http://example.org/RDF/AggregationWhole",
 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": "AggregationWhole"
14    },
15    
16    "Aggregation_AggregationPart": {
17      "description": "AggregationWhole_Aggregation_AggregationPart",
18      "$comment": "cardinality 1..1",
19       "$ref": "#/defs/target-AggregationPart"
20    },
21    
22    "sameAs": {
23      "$ref": "#/defs/owl:sameAs"
24    }
25  },
26  "required": ["Aggregation_AggregationPart","@type"],
27  "additionalProperties": false
28},
29"target-AggregationWhole": {
30  "description": "all subclasses of http://example.org/RDF/AggregationWhole",
31  "anyOf": [
32    { "$ref": "#/defs/cls-AggregationWhole" },
33    { "type": "string", "format": "iri-reference" }
34  ]
35},
 1# class AggregationWhole
 2# based on the UML class Mapping::AggregationWhole
 3map:AggregationWhole
 4  a rdfs:Class, owl:Class, ucmis:Class;
 5  rdfs:label "AggregationWhole";
 6  rdfs:comment "**Definition (UML 2.5.1)**\n\nClass\n   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.\n   A Class may have an internal structure and Ports.\n   Details for the UML type `Class <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class>`_ at NIST Validator.\n\nAssociation\n   A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association. The aggregation kind is shared.\n   Details for the UML type `Association <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association>`_ at NIST Validator.\n\nProperty\n   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.\n   Details for the UML type `Property <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property>`_ at NIST Validator.\n\n**Description:** The AggregationWhole is aggregated by AggregationPart. A shared aggregation is a variant of the association relationship; aggregation is more specific than association. It is an association that represents a part-whole or part-of relationship.\n\n**Example:** A building has windows."@en;
 7  
 8.
 9
10
11map:AggregationWhole_Aggregation_AggregationPart
12  a rdf:Property, owl:ObjectProperty, ucmis:Association;
13  # ASSOCIATION
14  rdfs:label "Aggregation_AggregationPart";
15  skos:altLabel "AggregationWhole_Aggregation_AggregationPart";
16  rdfs:comment "**Definition (UML 2.5.1)**\n\nAssociation\n   A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association. The aggregation kind is shared.\n   Details for the UML type `Association <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association>`_ at NIST Validator.\n\nProperty\n   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.\n   Details for the UML type `Property <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property>`_ at NIST Validator.\n\n**Description:** A shared aggregation is a variant of the association relationship. Aggregation is more specific than association. It is an association that represents a part-whole or part-of relationship.\n\n**Example:** A building has windows."@en;
17  rdfs:domain map:AggregationWhole;
18  rdfs:range map:AggregationPart;
19.
 1{
 2  "@context": [
 3    {
 4      "map": "http://example.org/RDF/",
 5      "xsd": "http://www.w3.org/2001/XMLSchema#",
 6
 7      
 8      "Aggregation_AggregationPart": {
 9        "@id": "map:AggregationWhole_Aggregation_AggregationPart",
10        "@type": "@id",
11        "@context": "AggregationPart.jsonld"
12      },
13      " comment ": "tag:json-should-support-trailing-commas"
14    }
15  ],
16  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:32:10.",
17  "basedOn": "based on the UML data type Mapping::AggregationWhole"
18}
 1# class AggregationWhole
 2# based on the UML class Mapping::AggregationWhole
 3<#AggregationWhole> a sh:NodeShape;
 4    sh:targetClass map:AggregationWhole;
 5	sh:message "See http://example.org/RDF/AggregationWhole";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   map:AggregationWhole
11			 ) ;
12    ];
13    # attributes
14    # associations from AggregationWhole
15    sh:property <#AggregationWhole_Aggregation_AggregationPart>;
16    # associations to AggregationWhole
17
18
19
20.
21
22
23<#AggregationWhole_Aggregation_AggregationPart> a sh:PropertyShape ;
24    sh:path map:AggregationWhole_Aggregation_AggregationPart;
25	sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
26        map:AggregationPart
27      
28    ) ]];
29    sh:minCount 1;
30    sh:maxCount 1;
31.
32<#rev_AggregationWhole_Aggregation_AggregationPart> a sh:PropertyShape ;
33    sh:path [ sh:inversePath map:AggregationWhole_Aggregation_AggregationPart ];
34    sh:minCount 1;
35    sh:maxCount 1;
36.
1# class AggregationWhole
2# based on the UML class Mapping::AggregationWhole
3map:AggregationWholeShape CLOSED {
4	a [map:AggregationWhole];
5	map:AggregationWhole_Aggregation_AggregationPart	@map:AggregationPartShape ;
6	
7	}
Encodings Card 2
 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="Mapping-AggregationWhole"
 5                  xmi:uuid="http://example.org/MAP/1.0/XMI/#AggregationWhole"
 6                  xmi:type="uml:Class">
 7   <ownedComment xmi:id="Mapping-AggregationWhole-ownedComment"
 8                  xmi:uuid="http://example.org/MAP/1.0/XMI/#AggregationWhole-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="Mapping-AggregationWhole"/>
11      <body>**Definition (UML 2.5.1)**
12
13Class
14   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
15   A Class may have an internal structure and Ports.
16   Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
17
18Association
19   A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association. The aggregation kind is shared.
20   Details for the UML type `Association &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association&gt;`_ at NIST Validator.
21
22Property
23   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
24   Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
25
26**Description:** The AggregationWhole is aggregated by AggregationPart. A shared aggregation is a variant of the association relationship; aggregation is more specific than association. It is an association that represents a part-whole or part-of relationship.
27
28**Example:** A building has windows.</body>
29   </ownedComment>
30   <name>AggregationWhole</name>
31   <ownedAttribute xmi:id="Mapping-AggregationWhole-ownedAttribute"
32                    xmi:uuid="http://example.org/MAP/1.0/XMI/#AggregationWhole-ownedAttribute"
33                    xmi:type="uml:Property">
34      <aggregation>shared</aggregation>
35      <association xmi:idref="Mapping-AggregationWhole_Aggregation_AggregationPart"/>
36      <type xmi:idref="Mapping-AggregationPart"/>
37   </ownedAttribute>
38</packagedElement>
 1<xs:element name="AggregationWhole"
 2            type="AggregationWholeXsdType"
 3            xml:id="AggregationWhole">
 4  <!-- based on the UML class Mapping::AggregationWhole -->
 5  <xs:annotation>
 6    <xs:documentation>**Definition (UML 2.5.1)**
 7          
 8          Class
 9             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
10             A Class may have an internal structure and Ports.
11             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
12          
13          Association
14             A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association. The aggregation kind is shared.
15             Details for the UML type `Association &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association&gt;`_ at NIST Validator.
16          
17          Property
18             A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
19             Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
20          
21          **Description:** The AggregationWhole is aggregated by AggregationPart. A shared aggregation is a variant of the association relationship; aggregation is more specific than association. It is an association that represents a part-whole or part-of relationship.
22          
23          **Example:** A building has windows.</xs:documentation>
24  </xs:annotation>
25</xs:element>
26<xs:complexType name="AggregationWholeXsdType"
27                xml:id="AggregationWholeXsdType">
28  <xs:annotation>
29    <xs:documentation>**Definition (UML 2.5.1)**
30          
31          Class
32             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
33             A Class may have an internal structure and Ports.
34             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
35          
36          Association
37             A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association. The aggregation kind is shared.
38             Details for the UML type `Association &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association&gt;`_ at NIST Validator.
39          
40          Property
41             A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
42             Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
43          
44          **Description:** The AggregationWhole is aggregated by AggregationPart. A shared aggregation is a variant of the association relationship; aggregation is more specific than association. It is an association that represents a part-whole or part-of relationship.
45          
46          **Example:** A building has windows.</xs:documentation>
47  </xs:annotation>
48  <xs:sequence>
49    <xs:element name="AggregationWhole_Aggregation_AggregationPart"
50                minOccurs="1"
51                maxOccurs="1"
52                xml:id="AggregationWhole_Aggregation_AggregationPart">
53      <xs:annotation>
54        <xs:documentation>**Definition (UML 2.5.1)**
55        
56        Association
57           A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association. The aggregation kind is shared.
58           Details for the UML type `Association &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association&gt;`_ at NIST Validator.
59        
60        Property
61           A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
62           Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
63        
64        **Description:** A shared aggregation is a variant of the association relationship. Aggregation is more specific than association. It is an association that represents a part-whole or part-of relationship.
65        
66        **Example:** A building has windows.</xs:documentation>
67      </xs:annotation>
68      <xs:complexType>
69        <xs:complexContent>
70          <xs:restriction base="AssociationReferenceXsdType">
71            <xs:sequence>
72              <xs:element name="ddiReference"
73                          type="InternationalRegistrationDataIdentifierXsdType"
74                          minOccurs="0"
75                          maxOccurs="1"
76                          xml:id="AggregationWhole_Aggregation_AggregationPart-ddiReference"/>
77              <xs:element name="validType"
78                          minOccurs="1"
79                          maxOccurs="1"
80                          xml:id="AggregationWhole_Aggregation_AggregationPart-validType">
81                <xs:simpleType>
82                  <xs:restriction base="xs:NMTOKEN">
83                    <xs:enumeration value="AggregationPart"/>
84                  </xs:restriction>
85                </xs:simpleType>
86              </xs:element>
87            </xs:sequence>
88          </xs:restriction>
89        </xs:complexContent>
90      </xs:complexType>
91    </xs:element>
92  </xs:sequence>
93</xs:complexType>
 1"cls-AggregationWhole": {
 2  "description": "http://example.org/RDF/AggregationWhole",
 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": "AggregationWhole"
14    },
15    
16    "Aggregation_AggregationPart": {
17      "description": "AggregationWhole_Aggregation_AggregationPart",
18      "$comment": "cardinality 1..1",
19       "$ref": "#/defs/target-AggregationPart"
20    },
21    
22    "sameAs": {
23      "$ref": "#/defs/owl:sameAs"
24    }
25  },
26  "required": ["Aggregation_AggregationPart","@type"],
27  "additionalProperties": false
28},
29"target-AggregationWhole": {
30  "description": "all subclasses of http://example.org/RDF/AggregationWhole",
31  "anyOf": [
32    { "$ref": "#/defs/cls-AggregationWhole" },
33    { "type": "string", "format": "iri-reference" }
34  ]
35},
 1# class AggregationWhole
 2# based on the UML class Mapping::AggregationWhole
 3map:AggregationWhole
 4  a rdfs:Class, owl:Class, ucmis:Class;
 5  rdfs:label "AggregationWhole";
 6  rdfs:comment "**Definition (UML 2.5.1)**\n\nClass\n   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.\n   A Class may have an internal structure and Ports.\n   Details for the UML type `Class <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class>`_ at NIST Validator.\n\nAssociation\n   A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association. The aggregation kind is shared.\n   Details for the UML type `Association <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association>`_ at NIST Validator.\n\nProperty\n   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.\n   Details for the UML type `Property <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property>`_ at NIST Validator.\n\n**Description:** The AggregationWhole is aggregated by AggregationPart. A shared aggregation is a variant of the association relationship; aggregation is more specific than association. It is an association that represents a part-whole or part-of relationship.\n\n**Example:** A building has windows."@en;
 7  
 8.
 9
10
11map:AggregationWhole_Aggregation_AggregationPart
12  a rdf:Property, owl:ObjectProperty, ucmis:Association;
13  # ASSOCIATION
14  rdfs:label "Aggregation_AggregationPart";
15  skos:altLabel "AggregationWhole_Aggregation_AggregationPart";
16  rdfs:comment "**Definition (UML 2.5.1)**\n\nAssociation\n   A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association. The aggregation kind is shared.\n   Details for the UML type `Association <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association>`_ at NIST Validator.\n\nProperty\n   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.\n   Details for the UML type `Property <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property>`_ at NIST Validator.\n\n**Description:** A shared aggregation is a variant of the association relationship. Aggregation is more specific than association. It is an association that represents a part-whole or part-of relationship.\n\n**Example:** A building has windows."@en;
17  rdfs:domain map:AggregationWhole;
18  rdfs:range map:AggregationPart;
19.
 1{
 2  "@context": [
 3    {
 4      "map": "http://example.org/RDF/",
 5      "xsd": "http://www.w3.org/2001/XMLSchema#",
 6
 7      
 8      "Aggregation_AggregationPart": {
 9        "@id": "map:AggregationWhole_Aggregation_AggregationPart",
10        "@type": "@id",
11        "@context": "AggregationPart.jsonld"
12      },
13      " comment ": "tag:json-should-support-trailing-commas"
14    }
15  ],
16  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:32:10.",
17  "basedOn": "based on the UML data type Mapping::AggregationWhole"
18}
 1# class AggregationWhole
 2# based on the UML class Mapping::AggregationWhole
 3<#AggregationWhole> a sh:NodeShape;
 4    sh:targetClass map:AggregationWhole;
 5	sh:message "See http://example.org/RDF/AggregationWhole";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   map:AggregationWhole
11			 ) ;
12    ];
13    # attributes
14    # associations from AggregationWhole
15    sh:property <#AggregationWhole_Aggregation_AggregationPart>;
16    # associations to AggregationWhole
17
18
19
20.
21
22
23<#AggregationWhole_Aggregation_AggregationPart> a sh:PropertyShape ;
24    sh:path map:AggregationWhole_Aggregation_AggregationPart;
25	sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
26        map:AggregationPart
27      
28    ) ]];
29    sh:minCount 1;
30    sh:maxCount 1;
31.
32<#rev_AggregationWhole_Aggregation_AggregationPart> a sh:PropertyShape ;
33    sh:path [ sh:inversePath map:AggregationWhole_Aggregation_AggregationPart ];
34    sh:minCount 1;
35    sh:maxCount 1;
36.
1# class AggregationWhole
2# based on the UML class Mapping::AggregationWhole
3map:AggregationWholeShape CLOSED {
4	a [map:AggregationWhole];
5	map:AggregationWhole_Aggregation_AggregationPart	@map:AggregationPartShape ;
6	
7	}

CompositeWhole#

CompositeWhole - The CompositeWhole is composed by CompositePart.

Definition (UML 2.5.1)

Class

A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects. A Class may have an internal structure and Ports. Details for the UML type Class at NIST Validator.

Association

A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association. The aggregation kind is composite. Details for the UML type Association at NIST Validator.

Property

A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association. Details for the UML type Property at NIST Validator.

Description: The CompositeWhole is composed by CompositePart. The composite aggregation relationship is a stronger form of aggrgation where the aggregate controles the lifecycle of the elements if aggregates.

Example: A building has rooms.

Encodings Card 1
 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="Mapping-CompositeWhole"
 5                  xmi:uuid="http://example.org/MAP/1.0/XMI/#CompositeWhole"
 6                  xmi:type="uml:Class">
 7   <ownedComment xmi:id="Mapping-CompositeWhole-ownedComment"
 8                  xmi:uuid="http://example.org/MAP/1.0/XMI/#CompositeWhole-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="Mapping-CompositeWhole"/>
11      <body>**Definition (UML 2.5.1)**
12
13Class
14   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
15   A Class may have an internal structure and Ports.
16   Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
17
18Association
19   A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association. The aggregation kind is composite.
20   Details for the UML type `Association &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association&gt;`_ at NIST Validator.
21
22Property
23   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
24   Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
25
26**Description:** The CompositeWhole is composed by CompositePart. The composite aggregation relationship is a stronger form of aggrgation where the aggregate controles the lifecycle of the elements if aggregates.
27
28**Example:** A building has rooms.</body>
29   </ownedComment>
30   <name>CompositeWhole</name>
31   <ownedAttribute xmi:id="Mapping-CompositeWhole-ownedAttribute"
32                    xmi:uuid="http://example.org/MAP/1.0/XMI/#CompositeWhole-ownedAttribute"
33                    xmi:type="uml:Property">
34      <aggregation>composite</aggregation>
35      <association xmi:idref="Mapping-CompositeWhole_Composition_CompositePart"/>
36      <type xmi:idref="Mapping-CompositePart"/>
37   </ownedAttribute>
38</packagedElement>
 1<xs:element name="CompositeWhole"
 2            type="CompositeWholeXsdType"
 3            xml:id="CompositeWhole">
 4  <!-- based on the UML class Mapping::CompositeWhole -->
 5  <xs:annotation>
 6    <xs:documentation>**Definition (UML 2.5.1)**
 7          
 8          Class
 9             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
10             A Class may have an internal structure and Ports.
11             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
12          
13          Association
14             A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association. The aggregation kind is composite.
15             Details for the UML type `Association &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association&gt;`_ at NIST Validator.
16          
17          Property
18             A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
19             Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
20          
21          **Description:** The CompositeWhole is composed by CompositePart. The composite aggregation relationship is a stronger form of aggrgation where the aggregate controles the lifecycle of the elements if aggregates.
22          
23          **Example:** A building has rooms.</xs:documentation>
24  </xs:annotation>
25</xs:element>
26<xs:complexType name="CompositeWholeXsdType"
27                xml:id="CompositeWholeXsdType">
28  <xs:annotation>
29    <xs:documentation>**Definition (UML 2.5.1)**
30          
31          Class
32             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
33             A Class may have an internal structure and Ports.
34             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
35          
36          Association
37             A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association. The aggregation kind is composite.
38             Details for the UML type `Association &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association&gt;`_ at NIST Validator.
39          
40          Property
41             A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
42             Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
43          
44          **Description:** The CompositeWhole is composed by CompositePart. The composite aggregation relationship is a stronger form of aggrgation where the aggregate controles the lifecycle of the elements if aggregates.
45          
46          **Example:** A building has rooms.</xs:documentation>
47  </xs:annotation>
48  <xs:sequence>
49    <xs:element name="CompositeWhole_Composition_CompositePart"
50                minOccurs="1"
51                maxOccurs="1"
52                xml:id="CompositeWhole_Composition_CompositePart">
53      <xs:annotation>
54        <xs:documentation>**Definition (UML 2.5.1)**
55        
56        Association
57           A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association. The aggregation kind is composite.
58           Details for the UML type `Association &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association&gt;`_ at NIST Validator.
59        
60        Property
61           A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
62           Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
63        
64        **Description:** The composite aggregation relationship is a stronger form of aggregation. The aggregate controls the lifecycle of the elements it aggregates.
65        
66        **Example:** A building has rooms.</xs:documentation>
67      </xs:annotation>
68      <xs:complexType>
69        <xs:complexContent>
70          <xs:restriction base="AssociationReferenceXsdType">
71            <xs:sequence>
72              <xs:element name="ddiReference"
73                          type="InternationalRegistrationDataIdentifierXsdType"
74                          minOccurs="0"
75                          maxOccurs="1"
76                          xml:id="CompositeWhole_Composition_CompositePart-ddiReference"/>
77              <xs:element name="validType"
78                          minOccurs="1"
79                          maxOccurs="1"
80                          xml:id="CompositeWhole_Composition_CompositePart-validType">
81                <xs:simpleType>
82                  <xs:restriction base="xs:NMTOKEN">
83                    <xs:enumeration value="CompositePart"/>
84                  </xs:restriction>
85                </xs:simpleType>
86              </xs:element>
87            </xs:sequence>
88          </xs:restriction>
89        </xs:complexContent>
90      </xs:complexType>
91    </xs:element>
92  </xs:sequence>
93</xs:complexType>
 1"cls-CompositeWhole": {
 2  "description": "http://example.org/RDF/CompositeWhole",
 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": "CompositeWhole"
14    },
15    
16    "Composition_CompositePart": {
17      "description": "CompositeWhole_Composition_CompositePart",
18      "$comment": "cardinality 1..1",
19       "$ref": "#/defs/target-CompositePart"
20    },
21    
22    "sameAs": {
23      "$ref": "#/defs/owl:sameAs"
24    }
25  },
26  "required": ["Composition_CompositePart","@type"],
27  "additionalProperties": false
28},
29"target-CompositeWhole": {
30  "description": "all subclasses of http://example.org/RDF/CompositeWhole",
31  "anyOf": [
32    { "$ref": "#/defs/cls-CompositeWhole" },
33    { "type": "string", "format": "iri-reference" }
34  ]
35},
 1# class CompositeWhole
 2# based on the UML class Mapping::CompositeWhole
 3map:CompositeWhole
 4  a rdfs:Class, owl:Class, ucmis:Class;
 5  rdfs:label "CompositeWhole";
 6  rdfs:comment "**Definition (UML 2.5.1)**\n\nClass\n   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.\n   A Class may have an internal structure and Ports.\n   Details for the UML type `Class <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class>`_ at NIST Validator.\n\nAssociation\n   A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association. The aggregation kind is composite.\n   Details for the UML type `Association <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association>`_ at NIST Validator.\n\nProperty\n   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.\n   Details for the UML type `Property <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property>`_ at NIST Validator.\n\n**Description:** The CompositeWhole is composed by CompositePart. The composite aggregation relationship is a stronger form of aggrgation where the aggregate controles the lifecycle of the elements if aggregates.\n\n**Example:** A building has rooms."@en;
 7  
 8.
 9
10
11map:CompositeWhole_Composition_CompositePart
12  a rdf:Property, owl:ObjectProperty, ucmis:Association;
13  # ASSOCIATION
14  rdfs:label "Composition_CompositePart";
15  skos:altLabel "CompositeWhole_Composition_CompositePart";
16  rdfs:comment "**Definition (UML 2.5.1)**\n\nAssociation\n   A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association. The aggregation kind is composite.\n   Details for the UML type `Association <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association>`_ at NIST Validator.\n\nProperty\n   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.\n   Details for the UML type `Property <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property>`_ at NIST Validator.\n\n**Description:** The composite aggregation relationship is a stronger form of aggregation. The aggregate controls the lifecycle of the elements it aggregates.\n\n**Example:** A building has rooms."@en;
17  rdfs:domain map:CompositeWhole;
18  rdfs:range map:CompositePart;
19.
 1{
 2  "@context": [
 3    {
 4      "map": "http://example.org/RDF/",
 5      "xsd": "http://www.w3.org/2001/XMLSchema#",
 6
 7      
 8      "Composition_CompositePart": {
 9        "@id": "map:CompositeWhole_Composition_CompositePart",
10        "@type": "@id",
11        "@context": "CompositePart.jsonld"
12      },
13      " comment ": "tag:json-should-support-trailing-commas"
14    }
15  ],
16  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:32:10.",
17  "basedOn": "based on the UML data type Mapping::CompositeWhole"
18}
 1# class CompositeWhole
 2# based on the UML class Mapping::CompositeWhole
 3<#CompositeWhole> a sh:NodeShape;
 4    sh:targetClass map:CompositeWhole;
 5	sh:message "See http://example.org/RDF/CompositeWhole";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   map:CompositeWhole
11			 ) ;
12    ];
13    # attributes
14    # associations from CompositeWhole
15    sh:property <#CompositeWhole_Composition_CompositePart>;
16    # associations to CompositeWhole
17
18
19
20.
21
22
23<#CompositeWhole_Composition_CompositePart> a sh:PropertyShape ;
24    sh:path map:CompositeWhole_Composition_CompositePart;
25	sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
26        map:CompositePart
27      
28    ) ]];
29    sh:minCount 1;
30    sh:maxCount 1;
31.
32<#rev_CompositeWhole_Composition_CompositePart> a sh:PropertyShape ;
33    sh:path [ sh:inversePath map:CompositeWhole_Composition_CompositePart ];
34    sh:minCount 1;
35    sh:maxCount 1;
36.
1# class CompositeWhole
2# based on the UML class Mapping::CompositeWhole
3map:CompositeWholeShape CLOSED {
4	a [map:CompositeWhole];
5	map:CompositeWhole_Composition_CompositePart	@map:CompositePartShape ;
6	
7	}
Encodings Card 2
 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="Mapping-CompositeWhole"
 5                  xmi:uuid="http://example.org/MAP/1.0/XMI/#CompositeWhole"
 6                  xmi:type="uml:Class">
 7   <ownedComment xmi:id="Mapping-CompositeWhole-ownedComment"
 8                  xmi:uuid="http://example.org/MAP/1.0/XMI/#CompositeWhole-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="Mapping-CompositeWhole"/>
11      <body>**Definition (UML 2.5.1)**
12
13Class
14   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
15   A Class may have an internal structure and Ports.
16   Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
17
18Association
19   A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association. The aggregation kind is composite.
20   Details for the UML type `Association &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association&gt;`_ at NIST Validator.
21
22Property
23   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
24   Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
25
26**Description:** The CompositeWhole is composed by CompositePart. The composite aggregation relationship is a stronger form of aggrgation where the aggregate controles the lifecycle of the elements if aggregates.
27
28**Example:** A building has rooms.</body>
29   </ownedComment>
30   <name>CompositeWhole</name>
31   <ownedAttribute xmi:id="Mapping-CompositeWhole-ownedAttribute"
32                    xmi:uuid="http://example.org/MAP/1.0/XMI/#CompositeWhole-ownedAttribute"
33                    xmi:type="uml:Property">
34      <aggregation>composite</aggregation>
35      <association xmi:idref="Mapping-CompositeWhole_Composition_CompositePart"/>
36      <type xmi:idref="Mapping-CompositePart"/>
37   </ownedAttribute>
38</packagedElement>
 1<xs:element name="CompositeWhole"
 2            type="CompositeWholeXsdType"
 3            xml:id="CompositeWhole">
 4  <!-- based on the UML class Mapping::CompositeWhole -->
 5  <xs:annotation>
 6    <xs:documentation>**Definition (UML 2.5.1)**
 7          
 8          Class
 9             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
10             A Class may have an internal structure and Ports.
11             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
12          
13          Association
14             A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association. The aggregation kind is composite.
15             Details for the UML type `Association &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association&gt;`_ at NIST Validator.
16          
17          Property
18             A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
19             Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
20          
21          **Description:** The CompositeWhole is composed by CompositePart. The composite aggregation relationship is a stronger form of aggrgation where the aggregate controles the lifecycle of the elements if aggregates.
22          
23          **Example:** A building has rooms.</xs:documentation>
24  </xs:annotation>
25</xs:element>
26<xs:complexType name="CompositeWholeXsdType"
27                xml:id="CompositeWholeXsdType">
28  <xs:annotation>
29    <xs:documentation>**Definition (UML 2.5.1)**
30          
31          Class
32             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
33             A Class may have an internal structure and Ports.
34             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
35          
36          Association
37             A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association. The aggregation kind is composite.
38             Details for the UML type `Association &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association&gt;`_ at NIST Validator.
39          
40          Property
41             A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
42             Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
43          
44          **Description:** The CompositeWhole is composed by CompositePart. The composite aggregation relationship is a stronger form of aggrgation where the aggregate controles the lifecycle of the elements if aggregates.
45          
46          **Example:** A building has rooms.</xs:documentation>
47  </xs:annotation>
48  <xs:sequence>
49    <xs:element name="CompositeWhole_Composition_CompositePart"
50                minOccurs="1"
51                maxOccurs="1"
52                xml:id="CompositeWhole_Composition_CompositePart">
53      <xs:annotation>
54        <xs:documentation>**Definition (UML 2.5.1)**
55        
56        Association
57           A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association. The aggregation kind is composite.
58           Details for the UML type `Association &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association&gt;`_ at NIST Validator.
59        
60        Property
61           A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
62           Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
63        
64        **Description:** The composite aggregation relationship is a stronger form of aggregation. The aggregate controls the lifecycle of the elements it aggregates.
65        
66        **Example:** A building has rooms.</xs:documentation>
67      </xs:annotation>
68      <xs:complexType>
69        <xs:complexContent>
70          <xs:restriction base="AssociationReferenceXsdType">
71            <xs:sequence>
72              <xs:element name="ddiReference"
73                          type="InternationalRegistrationDataIdentifierXsdType"
74                          minOccurs="0"
75                          maxOccurs="1"
76                          xml:id="CompositeWhole_Composition_CompositePart-ddiReference"/>
77              <xs:element name="validType"
78                          minOccurs="1"
79                          maxOccurs="1"
80                          xml:id="CompositeWhole_Composition_CompositePart-validType">
81                <xs:simpleType>
82                  <xs:restriction base="xs:NMTOKEN">
83                    <xs:enumeration value="CompositePart"/>
84                  </xs:restriction>
85                </xs:simpleType>
86              </xs:element>
87            </xs:sequence>
88          </xs:restriction>
89        </xs:complexContent>
90      </xs:complexType>
91    </xs:element>
92  </xs:sequence>
93</xs:complexType>
 1"cls-CompositeWhole": {
 2  "description": "http://example.org/RDF/CompositeWhole",
 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": "CompositeWhole"
14    },
15    
16    "Composition_CompositePart": {
17      "description": "CompositeWhole_Composition_CompositePart",
18      "$comment": "cardinality 1..1",
19       "$ref": "#/defs/target-CompositePart"
20    },
21    
22    "sameAs": {
23      "$ref": "#/defs/owl:sameAs"
24    }
25  },
26  "required": ["Composition_CompositePart","@type"],
27  "additionalProperties": false
28},
29"target-CompositeWhole": {
30  "description": "all subclasses of http://example.org/RDF/CompositeWhole",
31  "anyOf": [
32    { "$ref": "#/defs/cls-CompositeWhole" },
33    { "type": "string", "format": "iri-reference" }
34  ]
35},
 1# class CompositeWhole
 2# based on the UML class Mapping::CompositeWhole
 3map:CompositeWhole
 4  a rdfs:Class, owl:Class, ucmis:Class;
 5  rdfs:label "CompositeWhole";
 6  rdfs:comment "**Definition (UML 2.5.1)**\n\nClass\n   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.\n   A Class may have an internal structure and Ports.\n   Details for the UML type `Class <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class>`_ at NIST Validator.\n\nAssociation\n   A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association. The aggregation kind is composite.\n   Details for the UML type `Association <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association>`_ at NIST Validator.\n\nProperty\n   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.\n   Details for the UML type `Property <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property>`_ at NIST Validator.\n\n**Description:** The CompositeWhole is composed by CompositePart. The composite aggregation relationship is a stronger form of aggrgation where the aggregate controles the lifecycle of the elements if aggregates.\n\n**Example:** A building has rooms."@en;
 7  
 8.
 9
10
11map:CompositeWhole_Composition_CompositePart
12  a rdf:Property, owl:ObjectProperty, ucmis:Association;
13  # ASSOCIATION
14  rdfs:label "Composition_CompositePart";
15  skos:altLabel "CompositeWhole_Composition_CompositePart";
16  rdfs:comment "**Definition (UML 2.5.1)**\n\nAssociation\n   A link is a tuple of values that refer to typed objects. An Association classifies a set of links, each of which is an instance of the Association. Each value in the link refers to an instance of the type of the corresponding end of the Association. The aggregation kind is composite.\n   Details for the UML type `Association <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Association>`_ at NIST Validator.\n\nProperty\n   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.\n   Details for the UML type `Property <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property>`_ at NIST Validator.\n\n**Description:** The composite aggregation relationship is a stronger form of aggregation. The aggregate controls the lifecycle of the elements it aggregates.\n\n**Example:** A building has rooms."@en;
17  rdfs:domain map:CompositeWhole;
18  rdfs:range map:CompositePart;
19.
 1{
 2  "@context": [
 3    {
 4      "map": "http://example.org/RDF/",
 5      "xsd": "http://www.w3.org/2001/XMLSchema#",
 6
 7      
 8      "Composition_CompositePart": {
 9        "@id": "map:CompositeWhole_Composition_CompositePart",
10        "@type": "@id",
11        "@context": "CompositePart.jsonld"
12      },
13      " comment ": "tag:json-should-support-trailing-commas"
14    }
15  ],
16  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:32:10.",
17  "basedOn": "based on the UML data type Mapping::CompositeWhole"
18}
 1# class CompositeWhole
 2# based on the UML class Mapping::CompositeWhole
 3<#CompositeWhole> a sh:NodeShape;
 4    sh:targetClass map:CompositeWhole;
 5	sh:message "See http://example.org/RDF/CompositeWhole";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   map:CompositeWhole
11			 ) ;
12    ];
13    # attributes
14    # associations from CompositeWhole
15    sh:property <#CompositeWhole_Composition_CompositePart>;
16    # associations to CompositeWhole
17
18
19
20.
21
22
23<#CompositeWhole_Composition_CompositePart> a sh:PropertyShape ;
24    sh:path map:CompositeWhole_Composition_CompositePart;
25	sh:node [ sh:property [ sh:path rdf:type; sh:minCount 1; sh:in (
26        map:CompositePart
27      
28    ) ]];
29    sh:minCount 1;
30    sh:maxCount 1;
31.
32<#rev_CompositeWhole_Composition_CompositePart> a sh:PropertyShape ;
33    sh:path [ sh:inversePath map:CompositeWhole_Composition_CompositePart ];
34    sh:minCount 1;
35    sh:maxCount 1;
36.
1# class CompositeWhole
2# based on the UML class Mapping::CompositeWhole
3map:CompositeWholeShape CLOSED {
4	a [map:CompositeWhole];
5	map:CompositeWhole_Composition_CompositePart	@map:CompositePartShape ;
6	
7	}

SubClass#

SubClass - A class inherits attributes and associations from a super class.

Definition (UML 2.5.1)

Class

A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects. A Class may have an internal structure and Ports. Details for the UML type Class at NIST Validator.

Generalization

A Generalization is a taxonomic relationship between a more general Classifier and a more specific Classifier. Each instance of the specific Classifier is also an instance of the general Classifier. The specific Classifier inherits the features of the more general Classifier. A Generalization is owned by the specific Classifier. Details for the UML type Generalization at NIST Validator.

Description: A class inherits attributes and associations from a super class.

Example: A house inherits attributes (age, color) and associations (maintenance) from a generic building.

Encodings Card 1
 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="Mapping-SubClass"
 5                  xmi:uuid="http://example.org/MAP/1.0/XMI/#SubClass"
 6                  xmi:type="uml:Class">
 7   <ownedComment xmi:id="Mapping-SubClass-ownedComment"
 8                  xmi:uuid="http://example.org/MAP/1.0/XMI/#SubClass-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="Mapping-SubClass"/>
11      <body>**Definition (UML 2.5.1)**
12
13Class
14   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
15   A Class may have an internal structure and Ports.
16   Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
17
18Generalization
19   A Generalization is a taxonomic relationship between a more general Classifier and a more specific Classifier. Each instance of the specific Classifier is also an instance of the general Classifier. The specific Classifier inherits the features of the more general Classifier. A Generalization is owned by the specific Classifier.
20   Details for the UML type `Generalization &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Generalization&gt;`_ at NIST Validator.
21
22**Description:** A class inherits attributes and associations from a super class.
23
24**Example:** A house inherits attributes (age, color) and associations (maintenance) from a generic building.</body>
25   </ownedComment>
26   <name>SubClass</name>
27   <generalization xmi:id="Mapping-SubClass-generalization"
28                    xmi:uuid="http://example.org/MAP/1.0/XMI/#SubClass-generalization"
29                    xmi:type="uml:Generalization">
30      <general xmi:idref="Mapping-Superclass"/>
31   </generalization>
32</packagedElement>
 1<xs:element name="SubClass"
 2            type="SubClassXsdType"
 3            xml:id="SubClass">
 4  <!-- based on the UML class Mapping::SubClass -->
 5  <xs:annotation>
 6    <xs:documentation>**Definition (UML 2.5.1)**
 7          
 8          Class
 9             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
10             A Class may have an internal structure and Ports.
11             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
12          
13          Generalization
14             A Generalization is a taxonomic relationship between a more general Classifier and a more specific Classifier. Each instance of the specific Classifier is also an instance of the general Classifier. The specific Classifier inherits the features of the more general Classifier. A Generalization is owned by the specific Classifier.
15             Details for the UML type `Generalization &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Generalization&gt;`_ at NIST Validator.
16          
17          **Description:** A class inherits attributes and associations from a super class.
18          
19          **Example:** A house inherits attributes (age, color) and associations (maintenance) from a generic building.</xs:documentation>
20  </xs:annotation>
21</xs:element>
22<xs:complexType name="SubClassXsdType"
23                xml:id="SubClassXsdType">
24  <xs:annotation>
25    <xs:documentation>**Definition (UML 2.5.1)**
26          
27          Class
28             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
29             A Class may have an internal structure and Ports.
30             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
31          
32          Generalization
33             A Generalization is a taxonomic relationship between a more general Classifier and a more specific Classifier. Each instance of the specific Classifier is also an instance of the general Classifier. The specific Classifier inherits the features of the more general Classifier. A Generalization is owned by the specific Classifier.
34             Details for the UML type `Generalization &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Generalization&gt;`_ at NIST Validator.
35          
36          **Description:** A class inherits attributes and associations from a super class.
37          
38          **Example:** A house inherits attributes (age, color) and associations (maintenance) from a generic building.</xs:documentation>
39  </xs:annotation>
40  <xs:complexContent>
41    <xs:extension base="SuperclassXsdType">
42      
43    </xs:extension>
44  </xs:complexContent>
45</xs:complexType>
 1"cls-SubClass": {
 2  "description": "http://example.org/RDF/SubClass",
 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": "SubClass"
14    },
15    "address": {
16      "$comment": "cardinality 1..1 – from map:Superclass",
17      "$ref": "#/defs/dt-StructuredDataType"
18    },
19    "is associated with_OtherClass": {
20      "description": "Superclass_is associated with_OtherClass",
21      "$comment": "cardinality 1..1",
22       "$ref": "#/defs/target-OtherClass"
23    },
24    
25    "sameAs": {
26      "$ref": "#/defs/owl:sameAs"
27    }
28  },
29  "required": ["address","is associated with_OtherClass","@type"],
30  "additionalProperties": false
31},
32"target-SubClass": {
33  "description": "all subclasses of http://example.org/RDF/SubClass",
34  "anyOf": [
35    { "$ref": "#/defs/cls-SubClass" },
36    { "type": "string", "format": "iri-reference" }
37  ]
38},
1# class SubClass
2# based on the UML class Mapping::SubClass
3map:SubClass
4  a rdfs:Class, owl:Class, ucmis:Class;
5  rdfs:label "SubClass";
6  rdfs:comment "**Definition (UML 2.5.1)**\n\nClass\n   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.\n   A Class may have an internal structure and Ports.\n   Details for the UML type `Class <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class>`_ at NIST Validator.\n\nGeneralization\n   A Generalization is a taxonomic relationship between a more general Classifier and a more specific Classifier. Each instance of the specific Classifier is also an instance of the general Classifier. The specific Classifier inherits the features of the more general Classifier. A Generalization is owned by the specific Classifier.\n   Details for the UML type `Generalization <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Generalization>`_ at NIST Validator.\n\n**Description:** A class inherits attributes and associations from a super class.\n\n**Example:** A house inherits attributes (age, color) and associations (maintenance) from a generic building."@en;
7  rdfs:subClassOf map:Superclass;
8.
 1{
 2  "@context": [
 3    "Superclass.jsonld",
 4    {
 5      "map": "http://example.org/RDF/",
 6      "xsd": "http://www.w3.org/2001/XMLSchema#",
 7
 8      
 9      " comment ": "tag:json-should-support-trailing-commas"
10    }
11  ],
12  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:32:10.",
13  "basedOn": "based on the UML data type Mapping::SubClass"
14}
 1# class SubClass
 2# based on the UML class Mapping::SubClass
 3<#SubClass> a sh:NodeShape;
 4    sh:targetClass map:SubClass;
 5	sh:message "See http://example.org/RDF/SubClass";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   map:SubClass
11			 ) ;
12    ];
13    # attributes
14    # associations from SubClass
15    # associations to SubClass
16
17    # ---- superclass: Superclass
18    # attributes
19    sh:property <#Superclass-address>;
20    # associations from Superclass
21    sh:property <#Superclass_isassociatedwith_OtherClass>;
22    # associations to Superclass
23
24
25
26
27
28.
1# class SubClass
2# based on the UML class Mapping::SubClass
3map:SubClassShape CLOSED {
4	a [map:SubClass];
5		&map:SuperclassProperties;
6	}
Encodings Card 2
 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="Mapping-SubClass"
 5                  xmi:uuid="http://example.org/MAP/1.0/XMI/#SubClass"
 6                  xmi:type="uml:Class">
 7   <ownedComment xmi:id="Mapping-SubClass-ownedComment"
 8                  xmi:uuid="http://example.org/MAP/1.0/XMI/#SubClass-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="Mapping-SubClass"/>
11      <body>**Definition (UML 2.5.1)**
12
13Class
14   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
15   A Class may have an internal structure and Ports.
16   Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
17
18Generalization
19   A Generalization is a taxonomic relationship between a more general Classifier and a more specific Classifier. Each instance of the specific Classifier is also an instance of the general Classifier. The specific Classifier inherits the features of the more general Classifier. A Generalization is owned by the specific Classifier.
20   Details for the UML type `Generalization &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Generalization&gt;`_ at NIST Validator.
21
22**Description:** A class inherits attributes and associations from a super class.
23
24**Example:** A house inherits attributes (age, color) and associations (maintenance) from a generic building.</body>
25   </ownedComment>
26   <name>SubClass</name>
27   <generalization xmi:id="Mapping-SubClass-generalization"
28                    xmi:uuid="http://example.org/MAP/1.0/XMI/#SubClass-generalization"
29                    xmi:type="uml:Generalization">
30      <general xmi:idref="Mapping-Superclass"/>
31   </generalization>
32</packagedElement>
 1<xs:element name="SubClass"
 2            type="SubClassXsdType"
 3            xml:id="SubClass">
 4  <!-- based on the UML class Mapping::SubClass -->
 5  <xs:annotation>
 6    <xs:documentation>**Definition (UML 2.5.1)**
 7          
 8          Class
 9             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
10             A Class may have an internal structure and Ports.
11             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
12          
13          Generalization
14             A Generalization is a taxonomic relationship between a more general Classifier and a more specific Classifier. Each instance of the specific Classifier is also an instance of the general Classifier. The specific Classifier inherits the features of the more general Classifier. A Generalization is owned by the specific Classifier.
15             Details for the UML type `Generalization &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Generalization&gt;`_ at NIST Validator.
16          
17          **Description:** A class inherits attributes and associations from a super class.
18          
19          **Example:** A house inherits attributes (age, color) and associations (maintenance) from a generic building.</xs:documentation>
20  </xs:annotation>
21</xs:element>
22<xs:complexType name="SubClassXsdType"
23                xml:id="SubClassXsdType">
24  <xs:annotation>
25    <xs:documentation>**Definition (UML 2.5.1)**
26          
27          Class
28             A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.
29             A Class may have an internal structure and Ports.
30             Details for the UML type `Class &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class&gt;`_ at NIST Validator.
31          
32          Generalization
33             A Generalization is a taxonomic relationship between a more general Classifier and a more specific Classifier. Each instance of the specific Classifier is also an instance of the general Classifier. The specific Classifier inherits the features of the more general Classifier. A Generalization is owned by the specific Classifier.
34             Details for the UML type `Generalization &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Generalization&gt;`_ at NIST Validator.
35          
36          **Description:** A class inherits attributes and associations from a super class.
37          
38          **Example:** A house inherits attributes (age, color) and associations (maintenance) from a generic building.</xs:documentation>
39  </xs:annotation>
40  <xs:complexContent>
41    <xs:extension base="SuperclassXsdType">
42      
43    </xs:extension>
44  </xs:complexContent>
45</xs:complexType>
 1"cls-SubClass": {
 2  "description": "http://example.org/RDF/SubClass",
 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": "SubClass"
14    },
15    "address": {
16      "$comment": "cardinality 1..1 – from map:Superclass",
17      "$ref": "#/defs/dt-StructuredDataType"
18    },
19    "is associated with_OtherClass": {
20      "description": "Superclass_is associated with_OtherClass",
21      "$comment": "cardinality 1..1",
22       "$ref": "#/defs/target-OtherClass"
23    },
24    
25    "sameAs": {
26      "$ref": "#/defs/owl:sameAs"
27    }
28  },
29  "required": ["address","is associated with_OtherClass","@type"],
30  "additionalProperties": false
31},
32"target-SubClass": {
33  "description": "all subclasses of http://example.org/RDF/SubClass",
34  "anyOf": [
35    { "$ref": "#/defs/cls-SubClass" },
36    { "type": "string", "format": "iri-reference" }
37  ]
38},
1# class SubClass
2# based on the UML class Mapping::SubClass
3map:SubClass
4  a rdfs:Class, owl:Class, ucmis:Class;
5  rdfs:label "SubClass";
6  rdfs:comment "**Definition (UML 2.5.1)**\n\nClass\n   A Class classifies a set of objects and specifies the features that characterize the structure and behavior of those objects.\n   A Class may have an internal structure and Ports.\n   Details for the UML type `Class <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Class>`_ at NIST Validator.\n\nGeneralization\n   A Generalization is a taxonomic relationship between a more general Classifier and a more specific Classifier. Each instance of the specific Classifier is also an instance of the general Classifier. The specific Classifier inherits the features of the more general Classifier. A Generalization is owned by the specific Classifier.\n   Details for the UML type `Generalization <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Generalization>`_ at NIST Validator.\n\n**Description:** A class inherits attributes and associations from a super class.\n\n**Example:** A house inherits attributes (age, color) and associations (maintenance) from a generic building."@en;
7  rdfs:subClassOf map:Superclass;
8.
 1{
 2  "@context": [
 3    "Superclass.jsonld",
 4    {
 5      "map": "http://example.org/RDF/",
 6      "xsd": "http://www.w3.org/2001/XMLSchema#",
 7
 8      
 9      " comment ": "tag:json-should-support-trailing-commas"
10    }
11  ],
12  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:32:10.",
13  "basedOn": "based on the UML data type Mapping::SubClass"
14}
 1# class SubClass
 2# based on the UML class Mapping::SubClass
 3<#SubClass> a sh:NodeShape;
 4    sh:targetClass map:SubClass;
 5	sh:message "See http://example.org/RDF/SubClass";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   map:SubClass
11			 ) ;
12    ];
13    # attributes
14    # associations from SubClass
15    # associations to SubClass
16
17    # ---- superclass: Superclass
18    # attributes
19    sh:property <#Superclass-address>;
20    # associations from Superclass
21    sh:property <#Superclass_isassociatedwith_OtherClass>;
22    # associations to Superclass
23
24
25
26
27
28.
1# class SubClass
2# based on the UML class Mapping::SubClass
3map:SubClassShape CLOSED {
4	a [map:SubClass];
5		&map:SuperclassProperties;
6	}

StructuredDataType#

StructuredDataType - A structured data type with attributes defined by other data types.

Definition (UML 2.5.1)

DataType

A DataType is a type whose instances are identified only by their value. Details for the UML type DataType at NIST Validator.

Property

A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association. Details for the UML type Property at NIST Validator.

Description: A structured data type with attributes defined by other data types.

Example: Address consisting of components like place name and postal code.

Encodings Card 1
 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="Mapping-StructuredDataType"
 5                  xmi:uuid="http://example.org/MAP/1.0/XMI/#StructuredDataType"
 6                  xmi:type="uml:DataType">
 7   <ownedComment xmi:id="Mapping-StructuredDataType-ownedComment"
 8                  xmi:uuid="http://example.org/MAP/1.0/XMI/#StructuredDataType-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="Mapping-StructuredDataType"/>
11      <body>**Definition (UML 2.5.1)**
12
13DataType
14   A DataType is a type whose instances are identified only by their value.
15   Details for the UML type `DataType &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*DataType&gt;`_ at NIST Validator.
16
17Property
18   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
19   Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
20
21**Description:** A structured data type with attributes defined by other data types.
22
23**Example:** Address consisting of components like place name and postal code.</body>
24   </ownedComment>
25   <name>StructuredDataType</name>
26   <ownedAttribute xmi:id="Mapping-StructuredDataType-placeName"
27                    xmi:uuid="http://example.org/MAP/1.0/XMI/#StructuredDataType-placeName"
28                    xmi:type="uml:Property">
29      <lowerValue xmi:id="Mapping-StructuredDataType-placeName-lowerValue"
30                   xmi:uuid="http://example.org/MAP/1.0/XMI/#StructuredDataType-placeName-lowerValue"
31                   xmi:type="uml:LiteralInteger">
32         <value>1</value>
33      </lowerValue>
34      <upperValue xmi:id="Mapping-StructuredDataType-placeName-upperValue"
35                   xmi:uuid="http://example.org/MAP/1.0/XMI/#StructuredDataType-placeName-upperValue"
36                   xmi:type="uml:LiteralUnlimitedNatural">
37         <value>1</value>
38      </upperValue>
39      <name>placeName</name>
40      <type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"
41             xmi:type="uml:PrimitiveType"/>
42   </ownedAttribute>
43   <ownedAttribute xmi:id="Mapping-StructuredDataType-postalCode"
44                    xmi:uuid="http://example.org/MAP/1.0/XMI/#StructuredDataType-postalCode"
45                    xmi:type="uml:Property">
46      <lowerValue xmi:id="Mapping-StructuredDataType-postalCode-lowerValue"
47                   xmi:uuid="http://example.org/MAP/1.0/XMI/#StructuredDataType-postalCode-lowerValue"
48                   xmi:type="uml:LiteralInteger">
49         <value>1</value>
50      </lowerValue>
51      <upperValue xmi:id="Mapping-StructuredDataType-postalCode-upperValue"
52                   xmi:uuid="http://example.org/MAP/1.0/XMI/#StructuredDataType-postalCode-upperValue"
53                   xmi:type="uml:LiteralUnlimitedNatural">
54         <value>1</value>
55      </upperValue>
56      <name>postalCode</name>
57      <type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"
58             xmi:type="uml:PrimitiveType"/>
59   </ownedAttribute>
60</packagedElement>
 1<xs:element name="StructuredDataType"
 2            type="StructuredDataTypeXsdType"
 3            xml:id="StructuredDataType">
 4  <!-- based on the UML data type Mapping::StructuredDataType -->
 5  <xs:annotation>
 6    <xs:documentation>**Definition (UML 2.5.1)**
 7          
 8          DataType
 9             A DataType is a type whose instances are identified only by their value.
10             Details for the UML type `DataType &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*DataType&gt;`_ at NIST Validator.
11          
12          Property
13             A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
14             Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
15          
16          **Description:** A structured data type with attributes defined by other data types.
17          
18          **Example:** Address consisting of components like place name and postal code.</xs:documentation>
19  </xs:annotation>
20</xs:element>
21<xs:complexType name="StructuredDataTypeXsdType"
22                xml:id="StructuredDataTypeXsdType">
23  <xs:annotation>
24    <xs:documentation>**Definition (UML 2.5.1)**
25          
26          DataType
27             A DataType is a type whose instances are identified only by their value.
28             Details for the UML type `DataType &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*DataType&gt;`_ at NIST Validator.
29          
30          Property
31             A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
32             Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
33          
34          **Description:** A structured data type with attributes defined by other data types.
35          
36          **Example:** Address consisting of components like place name and postal code.</xs:documentation>
37  </xs:annotation>
38  <xs:sequence>
39    <xs:element name="placeName"
40                type="xs:string"
41                minOccurs="1"
42                maxOccurs="1"
43                xml:id="StructuredDataType-placeName">
44      <xs:annotation>
45        <xs:documentation></xs:documentation>
46      </xs:annotation>
47    </xs:element>
48    <xs:element name="postalCode"
49                type="xs:string"
50                minOccurs="1"
51                maxOccurs="1"
52                xml:id="StructuredDataType-postalCode">
53      <xs:annotation>
54        <xs:documentation></xs:documentation>
55      </xs:annotation>
56    </xs:element>
57  </xs:sequence>
58</xs:complexType>
 1"dt-StructuredDataType": {
 2  "description": "http://example.org/RDF/StructuredDataType",
 3  "type": ["object"],
 4  "properties": {
 5    "placeName": {
 6      "$comment": "cardinality 1..1 – from map:StructuredDataType",
 7      "$ref": "#/defs/xsd:string"
 8    },
 9    "postalCode": {
10      "$comment": "cardinality 1..1 – from map:StructuredDataType",
11      "$ref": "#/defs/xsd:string"
12    },
13    "@type": {
14      "const": "StructuredDataType"
15    }
16  },
17  "required": ["placeName","postalCode","@type"],
18  "additionalProperties": false
19},
 1# datatype StructuredDataType
 2# based on the UML data type Mapping::StructuredDataType
 3map:StructuredDataType
 4  a rdfs:Class, owl:Class, ucmis:StructuredDataType;
 5  rdfs:label "StructuredDataType";
 6  rdfs:comment "**Definition (UML 2.5.1)**\n\nDataType\n   A DataType is a type whose instances are identified only by their value.\n   Details for the UML type `DataType <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*DataType>`_ at NIST Validator.\n\nProperty\n   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.\n   Details for the UML type `Property <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property>`_ at NIST Validator.\n\n**Description:** A structured data type with attributes defined by other data types.\n\n**Example:** Address consisting of components like place name and postal code."@en;
 7  
 8  owl:hasKey (map:StructuredDataType-placeName map:StructuredDataType-postalCode);
 9.
10
11map:StructuredDataType-placeName
12  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
13  rdfs:label "placeName";
14  
15  rdfs:domain map:StructuredDataType;
16  rdfs:range xsd:string;
17.
18
19map:StructuredDataType-postalCode
20  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
21  rdfs:label "postalCode";
22  
23  rdfs:domain map:StructuredDataType;
24  rdfs:range xsd:string;
25.
 1{
 2  "@context": [
 3    {
 4      "map": "http://example.org/RDF/",
 5      "xsd": "http://www.w3.org/2001/XMLSchema#",
 6
 7      "placeName": {
 8        "@id": "map:StructuredDataType-placeName",
 9        "@type": "xsd:string"
10      },
11      "postalCode": {
12        "@id": "map:StructuredDataType-postalCode",
13        "@type": "xsd:string"
14      },
15      
16      " comment ": "tag:json-should-support-trailing-commas" 
17    }
18  ],
19  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:32:10.",
20  "basedOn": "based on the UML data type Mapping::StructuredDataType"
21}
 1# datatype StructuredDataType
 2# based on the UML data type Mapping::StructuredDataType
 3<#StructuredDataType> a sh:NodeShape;
 4    sh:targetClass map:StructuredDataType;
 5	sh:message "See http://example.org/RDF/StructuredDataType";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   map:StructuredDataType
11			 ) ;
12    ];
13    # attributes
14    sh:property <#StructuredDataType-placeName>;
15    sh:property <#StructuredDataType-postalCode>;
16
17
18
19.
20
21<#StructuredDataType-placeName> a sh:PropertyShape ;
22    sh:path map:StructuredDataType-placeName;
23    sh:datatype xsd:string;
24    sh:minCount 1;
25    sh:maxCount 1;
26.
27<#StructuredDataType-postalCode> a sh:PropertyShape ;
28    sh:path map:StructuredDataType-postalCode;
29    sh:datatype xsd:string;
30    sh:minCount 1;
31    sh:maxCount 1;
32.
1# datatype StructuredDataType
2# based on the UML data type Mapping::StructuredDataType
3map:StructuredDataTypeShape CLOSED {
4	a [map:StructuredDataType];
5	map:StructuredDataType-placeName	xsd:string;
6	map:StructuredDataType-postalCode	xsd:string;
7	}
Encodings Card 2
 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="Mapping-StructuredDataType"
 5                  xmi:uuid="http://example.org/MAP/1.0/XMI/#StructuredDataType"
 6                  xmi:type="uml:DataType">
 7   <ownedComment xmi:id="Mapping-StructuredDataType-ownedComment"
 8                  xmi:uuid="http://example.org/MAP/1.0/XMI/#StructuredDataType-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="Mapping-StructuredDataType"/>
11      <body>**Definition (UML 2.5.1)**
12
13DataType
14   A DataType is a type whose instances are identified only by their value.
15   Details for the UML type `DataType &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*DataType&gt;`_ at NIST Validator.
16
17Property
18   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
19   Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
20
21**Description:** A structured data type with attributes defined by other data types.
22
23**Example:** Address consisting of components like place name and postal code.</body>
24   </ownedComment>
25   <name>StructuredDataType</name>
26   <ownedAttribute xmi:id="Mapping-StructuredDataType-placeName"
27                    xmi:uuid="http://example.org/MAP/1.0/XMI/#StructuredDataType-placeName"
28                    xmi:type="uml:Property">
29      <lowerValue xmi:id="Mapping-StructuredDataType-placeName-lowerValue"
30                   xmi:uuid="http://example.org/MAP/1.0/XMI/#StructuredDataType-placeName-lowerValue"
31                   xmi:type="uml:LiteralInteger">
32         <value>1</value>
33      </lowerValue>
34      <upperValue xmi:id="Mapping-StructuredDataType-placeName-upperValue"
35                   xmi:uuid="http://example.org/MAP/1.0/XMI/#StructuredDataType-placeName-upperValue"
36                   xmi:type="uml:LiteralUnlimitedNatural">
37         <value>1</value>
38      </upperValue>
39      <name>placeName</name>
40      <type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"
41             xmi:type="uml:PrimitiveType"/>
42   </ownedAttribute>
43   <ownedAttribute xmi:id="Mapping-StructuredDataType-postalCode"
44                    xmi:uuid="http://example.org/MAP/1.0/XMI/#StructuredDataType-postalCode"
45                    xmi:type="uml:Property">
46      <lowerValue xmi:id="Mapping-StructuredDataType-postalCode-lowerValue"
47                   xmi:uuid="http://example.org/MAP/1.0/XMI/#StructuredDataType-postalCode-lowerValue"
48                   xmi:type="uml:LiteralInteger">
49         <value>1</value>
50      </lowerValue>
51      <upperValue xmi:id="Mapping-StructuredDataType-postalCode-upperValue"
52                   xmi:uuid="http://example.org/MAP/1.0/XMI/#StructuredDataType-postalCode-upperValue"
53                   xmi:type="uml:LiteralUnlimitedNatural">
54         <value>1</value>
55      </upperValue>
56      <name>postalCode</name>
57      <type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"
58             xmi:type="uml:PrimitiveType"/>
59   </ownedAttribute>
60</packagedElement>
 1<xs:element name="StructuredDataType"
 2            type="StructuredDataTypeXsdType"
 3            xml:id="StructuredDataType">
 4  <!-- based on the UML data type Mapping::StructuredDataType -->
 5  <xs:annotation>
 6    <xs:documentation>**Definition (UML 2.5.1)**
 7          
 8          DataType
 9             A DataType is a type whose instances are identified only by their value.
10             Details for the UML type `DataType &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*DataType&gt;`_ at NIST Validator.
11          
12          Property
13             A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
14             Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
15          
16          **Description:** A structured data type with attributes defined by other data types.
17          
18          **Example:** Address consisting of components like place name and postal code.</xs:documentation>
19  </xs:annotation>
20</xs:element>
21<xs:complexType name="StructuredDataTypeXsdType"
22                xml:id="StructuredDataTypeXsdType">
23  <xs:annotation>
24    <xs:documentation>**Definition (UML 2.5.1)**
25          
26          DataType
27             A DataType is a type whose instances are identified only by their value.
28             Details for the UML type `DataType &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*DataType&gt;`_ at NIST Validator.
29          
30          Property
31             A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.
32             Details for the UML type `Property &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property&gt;`_ at NIST Validator.
33          
34          **Description:** A structured data type with attributes defined by other data types.
35          
36          **Example:** Address consisting of components like place name and postal code.</xs:documentation>
37  </xs:annotation>
38  <xs:sequence>
39    <xs:element name="placeName"
40                type="xs:string"
41                minOccurs="1"
42                maxOccurs="1"
43                xml:id="StructuredDataType-placeName">
44      <xs:annotation>
45        <xs:documentation></xs:documentation>
46      </xs:annotation>
47    </xs:element>
48    <xs:element name="postalCode"
49                type="xs:string"
50                minOccurs="1"
51                maxOccurs="1"
52                xml:id="StructuredDataType-postalCode">
53      <xs:annotation>
54        <xs:documentation></xs:documentation>
55      </xs:annotation>
56    </xs:element>
57  </xs:sequence>
58</xs:complexType>
 1"dt-StructuredDataType": {
 2  "description": "http://example.org/RDF/StructuredDataType",
 3  "type": ["object"],
 4  "properties": {
 5    "placeName": {
 6      "$comment": "cardinality 1..1 – from map:StructuredDataType",
 7      "$ref": "#/defs/xsd:string"
 8    },
 9    "postalCode": {
10      "$comment": "cardinality 1..1 – from map:StructuredDataType",
11      "$ref": "#/defs/xsd:string"
12    },
13    "@type": {
14      "const": "StructuredDataType"
15    }
16  },
17  "required": ["placeName","postalCode","@type"],
18  "additionalProperties": false
19},
 1# datatype StructuredDataType
 2# based on the UML data type Mapping::StructuredDataType
 3map:StructuredDataType
 4  a rdfs:Class, owl:Class, ucmis:StructuredDataType;
 5  rdfs:label "StructuredDataType";
 6  rdfs:comment "**Definition (UML 2.5.1)**\n\nDataType\n   A DataType is a type whose instances are identified only by their value.\n   Details for the UML type `DataType <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*DataType>`_ at NIST Validator.\n\nProperty\n   A Property is a StructuralFeature. A Property related by ownedAttribute to a Classifier (other than an association) represents an attribute and might also represent an association end. It relates an instance of the Classifier to a value or set of values of the type of the attribute. A Property related by memberEnd to an Association represents an end of the Association.\n   Details for the UML type `Property <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Property>`_ at NIST Validator.\n\n**Description:** A structured data type with attributes defined by other data types.\n\n**Example:** Address consisting of components like place name and postal code."@en;
 7  
 8  owl:hasKey (map:StructuredDataType-placeName map:StructuredDataType-postalCode);
 9.
10
11map:StructuredDataType-placeName
12  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
13  rdfs:label "placeName";
14  
15  rdfs:domain map:StructuredDataType;
16  rdfs:range xsd:string;
17.
18
19map:StructuredDataType-postalCode
20  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
21  rdfs:label "postalCode";
22  
23  rdfs:domain map:StructuredDataType;
24  rdfs:range xsd:string;
25.
 1{
 2  "@context": [
 3    {
 4      "map": "http://example.org/RDF/",
 5      "xsd": "http://www.w3.org/2001/XMLSchema#",
 6
 7      "placeName": {
 8        "@id": "map:StructuredDataType-placeName",
 9        "@type": "xsd:string"
10      },
11      "postalCode": {
12        "@id": "map:StructuredDataType-postalCode",
13        "@type": "xsd:string"
14      },
15      
16      " comment ": "tag:json-should-support-trailing-commas" 
17    }
18  ],
19  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:32:10.",
20  "basedOn": "based on the UML data type Mapping::StructuredDataType"
21}
 1# datatype StructuredDataType
 2# based on the UML data type Mapping::StructuredDataType
 3<#StructuredDataType> a sh:NodeShape;
 4    sh:targetClass map:StructuredDataType;
 5	sh:message "See http://example.org/RDF/StructuredDataType";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   map:StructuredDataType
11			 ) ;
12    ];
13    # attributes
14    sh:property <#StructuredDataType-placeName>;
15    sh:property <#StructuredDataType-postalCode>;
16
17
18
19.
20
21<#StructuredDataType-placeName> a sh:PropertyShape ;
22    sh:path map:StructuredDataType-placeName;
23    sh:datatype xsd:string;
24    sh:minCount 1;
25    sh:maxCount 1;
26.
27<#StructuredDataType-postalCode> a sh:PropertyShape ;
28    sh:path map:StructuredDataType-postalCode;
29    sh:datatype xsd:string;
30    sh:minCount 1;
31    sh:maxCount 1;
32.
1# datatype StructuredDataType
2# based on the UML data type Mapping::StructuredDataType
3map:StructuredDataTypeShape CLOSED {
4	a [map:StructuredDataType];
5	map:StructuredDataType-placeName	xsd:string;
6	map:StructuredDataType-postalCode	xsd:string;
7	}

Enumeration#

Enumeration - Enumerated type consisting of a set of named values.

Definition (UML 2.5.1)

Enumeration

An Enumeration is a DataType whose values are enumerated in the model as EnumerationLiterals. Details for the UML type Enumeration at NIST Validator.

EnumerationLiteral

An EnumerationLiteral is a user-defined data value for an Enumeration. Details for the UML type EnumerationLiteral at NIST Validator.

Description: Enumerated type consisting of a set of named values.

Example: Age with the values old and new.

Encodings Card 1
 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="Mapping-Enumeration"
 5                  xmi:uuid="http://example.org/MAP/1.0/XMI/#Enumeration"
 6                  xmi:type="uml:Enumeration">
 7   <ownedComment xmi:id="Mapping-Enumeration-ownedComment"
 8                  xmi:uuid="http://example.org/MAP/1.0/XMI/#Enumeration-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="Mapping-Enumeration"/>
11      <body>**Definition (UML 2.5.1)**
12
13Enumeration
14   An Enumeration is a DataType whose values are enumerated in the model as EnumerationLiterals.
15   Details for the UML type `Enumeration &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Enumeration&gt;`_ at NIST Validator.
16
17EnumerationLiteral 
18   An EnumerationLiteral is a user-defined data value for an Enumeration.
19   Details for the UML type `EnumerationLiteral &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*EnumerationLiteral&gt;`_ at NIST Validator.
20
21**Description:** Enumerated type consisting of a set of named values.
22
23**Example:** Age with the values old and new.</body>
24   </ownedComment>
25   <name>Enumeration</name>
26   <ownedLiteral xmi:id="Mapping-Enumeration-new"
27                  xmi:uuid="http://example.org/MAP/1.0/XMI/#Enumeration-new"
28                  xmi:type="uml:EnumerationLiteral">
29      <name>new</name>
30   </ownedLiteral>
31   <ownedLiteral xmi:id="Mapping-Enumeration-old"
32                  xmi:uuid="http://example.org/MAP/1.0/XMI/#Enumeration-old"
33                  xmi:type="uml:EnumerationLiteral">
34      <name>old</name>
35   </ownedLiteral>
36</packagedElement>
 1<xs:simpleType name="EnumerationXsdType"
 2               xml:id="EnumerationXsdType">
 3  <!-- based on the UML enumeration Mapping::Enumeration -->
 4  <xs:annotation>
 5    <xs:documentation>**Definition (UML 2.5.1)**
 6          
 7          Enumeration
 8             An Enumeration is a DataType whose values are enumerated in the model as EnumerationLiterals.
 9             Details for the UML type `Enumeration &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Enumeration&gt;`_ at NIST Validator.
10          
11          EnumerationLiteral 
12             An EnumerationLiteral is a user-defined data value for an Enumeration.
13             Details for the UML type `EnumerationLiteral &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*EnumerationLiteral&gt;`_ at NIST Validator.
14          
15          **Description:** Enumerated type consisting of a set of named values.
16          
17          **Example:** Age with the values old and new.</xs:documentation>
18  </xs:annotation>
19  <xs:restriction base="xs:NMTOKEN">
20    <xs:enumeration value="new">
21      <xs:annotation>
22        <xs:documentation></xs:documentation>
23      </xs:annotation>
24    </xs:enumeration>
25    <xs:enumeration value="old">
26      <xs:annotation>
27        <xs:documentation></xs:documentation>
28      </xs:annotation>
29    </xs:enumeration>
30  </xs:restriction>
31</xs:simpleType>
1"enum-Enumeration": {
2  "description": "http://example.org/RDF/Enumeration",
3  "enum": [
4    "new"
5,    "old"
6  ]
7},
 1# enumeration Enumeration
 2# based on the UML enumeration Mapping::Enumeration
 3map:Enumeration
 4  a rdfs:Class, owl:Class, ucmis:Enumeration;
 5  rdfs:label "Enumeration";
 6  rdfs:comment "**Definition (UML 2.5.1)**\n\nEnumeration\n   An Enumeration is a DataType whose values are enumerated in the model as EnumerationLiterals.\n   Details for the UML type `Enumeration <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Enumeration>`_ at NIST Validator.\n\nEnumerationLiteral \n   An EnumerationLiteral is a user-defined data value for an Enumeration.\n   Details for the UML type `EnumerationLiteral <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*EnumerationLiteral>`_ at NIST Validator.\n\n**Description:** Enumerated type consisting of a set of named values.\n\n**Example:** Age with the values old and new."@en;
 7  
 8.
 9
10map:new
11  a map:Enumeration;
12  rdfs:label "new";
13  
14.
15
16map:old
17  a map:Enumeration;
18  rdfs:label "old";
19  
20.

not provided for

1# datatype Enumeration
2# based on the UML data type Mapping::Enumeration
3<#Enumeration> a sh:NodeShape;
4    sh:in ( map:new map:old  );
5    # attributes
6
7
8
9.

not provided for

Encodings Card 2
 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="Mapping-Enumeration"
 5                  xmi:uuid="http://example.org/MAP/1.0/XMI/#Enumeration"
 6                  xmi:type="uml:Enumeration">
 7   <ownedComment xmi:id="Mapping-Enumeration-ownedComment"
 8                  xmi:uuid="http://example.org/MAP/1.0/XMI/#Enumeration-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="Mapping-Enumeration"/>
11      <body>**Definition (UML 2.5.1)**
12
13Enumeration
14   An Enumeration is a DataType whose values are enumerated in the model as EnumerationLiterals.
15   Details for the UML type `Enumeration &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Enumeration&gt;`_ at NIST Validator.
16
17EnumerationLiteral 
18   An EnumerationLiteral is a user-defined data value for an Enumeration.
19   Details for the UML type `EnumerationLiteral &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*EnumerationLiteral&gt;`_ at NIST Validator.
20
21**Description:** Enumerated type consisting of a set of named values.
22
23**Example:** Age with the values old and new.</body>
24   </ownedComment>
25   <name>Enumeration</name>
26   <ownedLiteral xmi:id="Mapping-Enumeration-new"
27                  xmi:uuid="http://example.org/MAP/1.0/XMI/#Enumeration-new"
28                  xmi:type="uml:EnumerationLiteral">
29      <name>new</name>
30   </ownedLiteral>
31   <ownedLiteral xmi:id="Mapping-Enumeration-old"
32                  xmi:uuid="http://example.org/MAP/1.0/XMI/#Enumeration-old"
33                  xmi:type="uml:EnumerationLiteral">
34      <name>old</name>
35   </ownedLiteral>
36</packagedElement>
 1<xs:simpleType name="EnumerationXsdType"
 2               xml:id="EnumerationXsdType">
 3  <!-- based on the UML enumeration Mapping::Enumeration -->
 4  <xs:annotation>
 5    <xs:documentation>**Definition (UML 2.5.1)**
 6          
 7          Enumeration
 8             An Enumeration is a DataType whose values are enumerated in the model as EnumerationLiterals.
 9             Details for the UML type `Enumeration &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Enumeration&gt;`_ at NIST Validator.
10          
11          EnumerationLiteral 
12             An EnumerationLiteral is a user-defined data value for an Enumeration.
13             Details for the UML type `EnumerationLiteral &lt;https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*EnumerationLiteral&gt;`_ at NIST Validator.
14          
15          **Description:** Enumerated type consisting of a set of named values.
16          
17          **Example:** Age with the values old and new.</xs:documentation>
18  </xs:annotation>
19  <xs:restriction base="xs:NMTOKEN">
20    <xs:enumeration value="new">
21      <xs:annotation>
22        <xs:documentation></xs:documentation>
23      </xs:annotation>
24    </xs:enumeration>
25    <xs:enumeration value="old">
26      <xs:annotation>
27        <xs:documentation></xs:documentation>
28      </xs:annotation>
29    </xs:enumeration>
30  </xs:restriction>
31</xs:simpleType>
1"enum-Enumeration": {
2  "description": "http://example.org/RDF/Enumeration",
3  "enum": [
4    "new"
5,    "old"
6  ]
7},
 1# enumeration Enumeration
 2# based on the UML enumeration Mapping::Enumeration
 3map:Enumeration
 4  a rdfs:Class, owl:Class, ucmis:Enumeration;
 5  rdfs:label "Enumeration";
 6  rdfs:comment "**Definition (UML 2.5.1)**\n\nEnumeration\n   An Enumeration is a DataType whose values are enumerated in the model as EnumerationLiterals.\n   Details for the UML type `Enumeration <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*Enumeration>`_ at NIST Validator.\n\nEnumerationLiteral \n   An EnumerationLiteral is a user-defined data value for an Enumeration.\n   Details for the UML type `EnumerationLiteral <https://validator.omg.org/se-interop/class-view?class=type*UML%202.5*EnumerationLiteral>`_ at NIST Validator.\n\n**Description:** Enumerated type consisting of a set of named values.\n\n**Example:** Age with the values old and new."@en;
 7  
 8.
 9
10map:new
11  a map:Enumeration;
12  rdfs:label "new";
13  
14.
15
16map:old
17  a map:Enumeration;
18  rdfs:label "old";
19  
20.

not provided for

1# datatype Enumeration
2# based on the UML data type Mapping::Enumeration
3<#Enumeration> a sh:NodeShape;
4    sh:in ( map:new map:old  );
5    # attributes
6
7
8
9.

not provided for