ModelIdentification#

Fully qualified datatype name of the UML model LIB 1.0: LibraryDomainModel::DataTypes::ModelIdentification

Attributes for the model identification with constant values.

Diagram#

Diagram

Attributes#

Attributes
Attributes#

Name

Inherited from

Description

Data Type

Multiplicity

Default value

acronym

- own datatype -

String

1..1

LIB

language

- own datatype -

String

1..1

en

majorVersion

- own datatype -

Integer

1..1

1

minorVersion

- own datatype -

Integer

1..1

0

title

- own datatype -

String

1..1

UCMIS Example: Library Domain Model

uri

- own datatype -

String

1..1

https://www.uml-diagrams.org/library-domain-uml-class-diagram-example.html

Encodings#

Syntax representations / encodings

All syntax representations except the Canonical XMI are provided as reference points for specific implementations, or for use as defaults if sufficient in the form presented.

Fragment for the data type ModelIdentification (entire model as XMI)

  1<packagedElement xmlns:StandardProfile="http://www.omg.org/spec/UML/20131001/StandardProfile"
  2                  xmlns:uml="http://www.omg.org/spec/UML/20131001"
  3                  xmlns:xmi="http://www.omg.org/spec/XMI/20131001"
  4                  xmi:id="LibraryDomainModel-DataTypes-ModelIdentification"
  5                  xmi:uuid="http://example.org/LIB/1.0/XMI/#ModelIdentification"
  6                  xmi:type="uml:DataType">
  7   <ownedComment xmi:id="LibraryDomainModel-DataTypes-ModelIdentification-ownedComment"
  8                  xmi:uuid="http://example.org/LIB/1.0/XMI/#ModelIdentification-ownedComment"
  9                  xmi:type="uml:Comment">
 10      <annotatedElement xmi:idref="LibraryDomainModel-DataTypes-ModelIdentification"/>
 11      <body>Attributes for the model identification with constant values.</body>
 12   </ownedComment>
 13   <name>ModelIdentification</name>
 14   <ownedAttribute xmi:id="LibraryDomainModel-DataTypes-ModelIdentification-acronym"
 15                    xmi:uuid="http://example.org/LIB/1.0/XMI/#ModelIdentification-acronym"
 16                    xmi:type="uml:Property">
 17      <lowerValue xmi:id="LibraryDomainModel-DataTypes-ModelIdentification-acronym-lowerValue"
 18                   xmi:uuid="http://example.org/LIB/1.0/XMI/#ModelIdentification-acronym-lowerValue"
 19                   xmi:type="uml:LiteralInteger">
 20         <value>1</value>
 21      </lowerValue>
 22      <upperValue xmi:id="LibraryDomainModel-DataTypes-ModelIdentification-acronym-upperValue"
 23                   xmi:uuid="http://example.org/LIB/1.0/XMI/#ModelIdentification-acronym-upperValue"
 24                   xmi:type="uml:LiteralUnlimitedNatural">
 25         <value>1</value>
 26      </upperValue>
 27      <name>acronym</name>
 28      <defaultValue xmi:id="LibraryDomainModel-DataTypes-ModelIdentification-acronym-defaultValue"
 29                     xmi:uuid="http://example.org/LIB/1.0/XMI/#ModelIdentification-acronym-defaultValue"
 30                     xmi:type="uml:LiteralString">
 31         <value>LIB</value>
 32      </defaultValue>
 33      <isReadOnly>true</isReadOnly>
 34      <type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"
 35             xmi:type="uml:PrimitiveType"/>
 36   </ownedAttribute>
 37   <ownedAttribute xmi:id="LibraryDomainModel-DataTypes-ModelIdentification-language"
 38                    xmi:uuid="http://example.org/LIB/1.0/XMI/#ModelIdentification-language"
 39                    xmi:type="uml:Property">
 40      <lowerValue xmi:id="LibraryDomainModel-DataTypes-ModelIdentification-language-lowerValue"
 41                   xmi:uuid="http://example.org/LIB/1.0/XMI/#ModelIdentification-language-lowerValue"
 42                   xmi:type="uml:LiteralInteger">
 43         <value>1</value>
 44      </lowerValue>
 45      <upperValue xmi:id="LibraryDomainModel-DataTypes-ModelIdentification-language-upperValue"
 46                   xmi:uuid="http://example.org/LIB/1.0/XMI/#ModelIdentification-language-upperValue"
 47                   xmi:type="uml:LiteralUnlimitedNatural">
 48         <value>1</value>
 49      </upperValue>
 50      <name>language</name>
 51      <defaultValue xmi:id="LibraryDomainModel-DataTypes-ModelIdentification-language-defaultValue"
 52                     xmi:uuid="http://example.org/LIB/1.0/XMI/#ModelIdentification-language-defaultValue"
 53                     xmi:type="uml:LiteralString">
 54         <value>en</value>
 55      </defaultValue>
 56      <isReadOnly>true</isReadOnly>
 57      <type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"
 58             xmi:type="uml:PrimitiveType"/>
 59   </ownedAttribute>
 60   <ownedAttribute xmi:id="LibraryDomainModel-DataTypes-ModelIdentification-majorVersion"
 61                    xmi:uuid="http://example.org/LIB/1.0/XMI/#ModelIdentification-majorVersion"
 62                    xmi:type="uml:Property">
 63      <lowerValue xmi:id="LibraryDomainModel-DataTypes-ModelIdentification-majorVersion-lowerValue"
 64                   xmi:uuid="http://example.org/LIB/1.0/XMI/#ModelIdentification-majorVersion-lowerValue"
 65                   xmi:type="uml:LiteralInteger">
 66         <value>1</value>
 67      </lowerValue>
 68      <upperValue xmi:id="LibraryDomainModel-DataTypes-ModelIdentification-majorVersion-upperValue"
 69                   xmi:uuid="http://example.org/LIB/1.0/XMI/#ModelIdentification-majorVersion-upperValue"
 70                   xmi:type="uml:LiteralUnlimitedNatural">
 71         <value>1</value>
 72      </upperValue>
 73      <name>majorVersion</name>
 74      <defaultValue xmi:id="LibraryDomainModel-DataTypes-ModelIdentification-majorVersion-defaultValue"
 75                     xmi:uuid="http://example.org/LIB/1.0/XMI/#ModelIdentification-majorVersion-defaultValue"
 76                     xmi:type="uml:LiteralInteger">
 77         <value>1</value>
 78      </defaultValue>
 79      <isReadOnly>true</isReadOnly>
 80      <type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Integer"
 81             xmi:type="uml:PrimitiveType"/>
 82   </ownedAttribute>
 83   <ownedAttribute xmi:id="LibraryDomainModel-DataTypes-ModelIdentification-minorVersion"
 84                    xmi:uuid="http://example.org/LIB/1.0/XMI/#ModelIdentification-minorVersion"
 85                    xmi:type="uml:Property">
 86      <lowerValue xmi:id="LibraryDomainModel-DataTypes-ModelIdentification-minorVersion-lowerValue"
 87                   xmi:uuid="http://example.org/LIB/1.0/XMI/#ModelIdentification-minorVersion-lowerValue"
 88                   xmi:type="uml:LiteralInteger">
 89         <value>1</value>
 90      </lowerValue>
 91      <upperValue xmi:id="LibraryDomainModel-DataTypes-ModelIdentification-minorVersion-upperValue"
 92                   xmi:uuid="http://example.org/LIB/1.0/XMI/#ModelIdentification-minorVersion-upperValue"
 93                   xmi:type="uml:LiteralUnlimitedNatural">
 94         <value>1</value>
 95      </upperValue>
 96      <name>minorVersion</name>
 97      <defaultValue xmi:id="LibraryDomainModel-DataTypes-ModelIdentification-minorVersion-defaultValue"
 98                     xmi:uuid="http://example.org/LIB/1.0/XMI/#ModelIdentification-minorVersion-defaultValue"
 99                     xmi:type="uml:LiteralInteger">
100         <value>0</value>
101      </defaultValue>
102      <isReadOnly>true</isReadOnly>
103      <type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#Integer"
104             xmi:type="uml:PrimitiveType"/>
105   </ownedAttribute>
106   <ownedAttribute xmi:id="LibraryDomainModel-DataTypes-ModelIdentification-title"
107                    xmi:uuid="http://example.org/LIB/1.0/XMI/#ModelIdentification-title"
108                    xmi:type="uml:Property">
109      <lowerValue xmi:id="LibraryDomainModel-DataTypes-ModelIdentification-title-lowerValue"
110                   xmi:uuid="http://example.org/LIB/1.0/XMI/#ModelIdentification-title-lowerValue"
111                   xmi:type="uml:LiteralInteger">
112         <value>1</value>
113      </lowerValue>
114      <upperValue xmi:id="LibraryDomainModel-DataTypes-ModelIdentification-title-upperValue"
115                   xmi:uuid="http://example.org/LIB/1.0/XMI/#ModelIdentification-title-upperValue"
116                   xmi:type="uml:LiteralUnlimitedNatural">
117         <value>1</value>
118      </upperValue>
119      <name>title</name>
120      <defaultValue xmi:id="LibraryDomainModel-DataTypes-ModelIdentification-title-defaultValue"
121                     xmi:uuid="http://example.org/LIB/1.0/XMI/#ModelIdentification-title-defaultValue"
122                     xmi:type="uml:LiteralString">
123         <value>UCMIS Example: Library Domain Model</value>
124      </defaultValue>
125      <isReadOnly>true</isReadOnly>
126      <type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"
127             xmi:type="uml:PrimitiveType"/>
128   </ownedAttribute>
129   <ownedAttribute xmi:id="LibraryDomainModel-DataTypes-ModelIdentification-uri"
130                    xmi:uuid="http://example.org/LIB/1.0/XMI/#ModelIdentification-uri"
131                    xmi:type="uml:Property">
132      <lowerValue xmi:id="LibraryDomainModel-DataTypes-ModelIdentification-uri-lowerValue"
133                   xmi:uuid="http://example.org/LIB/1.0/XMI/#ModelIdentification-uri-lowerValue"
134                   xmi:type="uml:LiteralInteger">
135         <value>1</value>
136      </lowerValue>
137      <upperValue xmi:id="LibraryDomainModel-DataTypes-ModelIdentification-uri-upperValue"
138                   xmi:uuid="http://example.org/LIB/1.0/XMI/#ModelIdentification-uri-upperValue"
139                   xmi:type="uml:LiteralUnlimitedNatural">
140         <value>1</value>
141      </upperValue>
142      <name>uri</name>
143      <defaultValue xmi:id="LibraryDomainModel-DataTypes-ModelIdentification-uri-defaultValue"
144                     xmi:uuid="http://example.org/LIB/1.0/XMI/#ModelIdentification-uri-defaultValue"
145                     xmi:type="uml:LiteralString">
146         <value>https://www.uml-diagrams.org/library-domain-uml-class-diagram-example.html</value>
147      </defaultValue>
148      <isReadOnly>true</isReadOnly>
149      <type href="http://www.omg.org/spec/UML/20131001/PrimitiveTypes.xmi#String"
150             xmi:type="uml:PrimitiveType"/>
151   </ownedAttribute>
152</packagedElement>

Fragment for the data type ModelIdentification (entire XML Schema)

 1<xs:element name="ModelIdentification"
 2            type="ModelIdentificationXsdType"
 3            xml:id="ModelIdentification">
 4  <!-- based on the UML data type LibraryDomainModel::DataTypes::ModelIdentification -->
 5  <xs:annotation>
 6    <xs:documentation>Attributes for the model identification with constant values.</xs:documentation>
 7  </xs:annotation>
 8</xs:element>
 9<xs:complexType name="ModelIdentificationXsdType"
10                xml:id="ModelIdentificationXsdType">
11  <xs:annotation>
12    <xs:documentation>Attributes for the model identification with constant values.</xs:documentation>
13  </xs:annotation>
14  <xs:sequence>
15    <xs:element name="acronym"
16                type="xs:string"
17                minOccurs="1"
18                maxOccurs="1"
19                xml:id="ModelIdentification-acronym">
20      <xs:annotation>
21        <xs:documentation></xs:documentation>
22      </xs:annotation>
23    </xs:element>
24    <xs:element name="language"
25                type="xs:string"
26                minOccurs="1"
27                maxOccurs="1"
28                xml:id="ModelIdentification-language">
29      <xs:annotation>
30        <xs:documentation></xs:documentation>
31      </xs:annotation>
32    </xs:element>
33    <xs:element name="majorVersion"
34                type="xs:integer"
35                minOccurs="1"
36                maxOccurs="1"
37                xml:id="ModelIdentification-majorVersion">
38      <xs:annotation>
39        <xs:documentation></xs:documentation>
40      </xs:annotation>
41    </xs:element>
42    <xs:element name="minorVersion"
43                type="xs:integer"
44                minOccurs="1"
45                maxOccurs="1"
46                xml:id="ModelIdentification-minorVersion">
47      <xs:annotation>
48        <xs:documentation></xs:documentation>
49      </xs:annotation>
50    </xs:element>
51    <xs:element name="title"
52                type="xs:string"
53                minOccurs="1"
54                maxOccurs="1"
55                xml:id="ModelIdentification-title">
56      <xs:annotation>
57        <xs:documentation></xs:documentation>
58      </xs:annotation>
59    </xs:element>
60    <xs:element name="uri"
61                type="xs:string"
62                minOccurs="1"
63                maxOccurs="1"
64                xml:id="ModelIdentification-uri">
65      <xs:annotation>
66        <xs:documentation></xs:documentation>
67      </xs:annotation>
68    </xs:element>
69  </xs:sequence>
70</xs:complexType>

Fragment for the data type ModelIdentification (entire JSON Schema)

 1"dt-ModelIdentification": {
 2  "description": "http://library/RDF/ModelIdentification",
 3  "type": ["object"],
 4  "properties": {
 5    "acronym": {
 6      "$comment": "cardinality 1..1 – from lib:ModelIdentification",
 7      "$ref": "#/defs/xsd:string"
 8    },
 9    "language": {
10      "$comment": "cardinality 1..1 – from lib:ModelIdentification",
11      "$ref": "#/defs/xsd:string"
12    },
13    "majorVersion": {
14      "$comment": "cardinality 1..1 – from lib:ModelIdentification",
15      "$ref": "#/defs/xsd:integer"
16    },
17    "minorVersion": {
18      "$comment": "cardinality 1..1 – from lib:ModelIdentification",
19      "$ref": "#/defs/xsd:integer"
20    },
21    "title": {
22      "$comment": "cardinality 1..1 – from lib:ModelIdentification",
23      "$ref": "#/defs/xsd:string"
24    },
25    "uri": {
26      "$comment": "cardinality 1..1 – from lib:ModelIdentification",
27      "$ref": "#/defs/xsd:string"
28    },
29    "@type": {
30      "const": "ModelIdentification"
31    }
32  },
33  "required": ["acronym","language","majorVersion","minorVersion","title","uri","@type"],
34  "additionalProperties": false
35},

Fragment for the data type ModelIdentification (main ontology)

 1# datatype ModelIdentification
 2# based on the UML data type LibraryDomainModel::DataTypes::ModelIdentification
 3lib:ModelIdentification
 4  a rdfs:Class, owl:Class, ucmis:StructuredDataType;
 5  rdfs:label "ModelIdentification";
 6  rdfs:comment "Attributes for the model identification with constant values."@en;
 7  
 8  owl:hasKey (lib:ModelIdentification-acronym lib:ModelIdentification-language lib:ModelIdentification-majorVersion lib:ModelIdentification-minorVersion lib:ModelIdentification-title lib:ModelIdentification-uri);
 9.
10
11lib:ModelIdentification-acronym
12  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
13  rdfs:label "acronym";
14  
15  rdfs:domain lib:ModelIdentification;
16  rdfs:range xsd:string;
17.
18
19lib:ModelIdentification-language
20  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
21  rdfs:label "language";
22  
23  rdfs:domain lib:ModelIdentification;
24  rdfs:range xsd:string;
25.
26
27lib:ModelIdentification-majorVersion
28  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
29  rdfs:label "majorVersion";
30  
31  rdfs:domain lib:ModelIdentification;
32  rdfs:range xsd:integer;
33.
34
35lib:ModelIdentification-minorVersion
36  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
37  rdfs:label "minorVersion";
38  
39  rdfs:domain lib:ModelIdentification;
40  rdfs:range xsd:integer;
41.
42
43lib:ModelIdentification-title
44  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
45  rdfs:label "title";
46  
47  rdfs:domain lib:ModelIdentification;
48  rdfs:range xsd:string;
49.
50
51lib:ModelIdentification-uri
52  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
53  rdfs:label "uri";
54  
55  rdfs:domain lib:ModelIdentification;
56  rdfs:range xsd:string;
57.

Fragment for the data type ModelIdentification (entire JSON-LD)

 1{
 2  "@context": [
 3    {
 4      "lib": "http://library/RDF/",
 5      "xsd": "http://www.w3.org/2001/XMLSchema#",
 6
 7      "acronym": {
 8        "@id": "lib:ModelIdentification-acronym",
 9        "@type": "xsd:string"
10      },
11      "language": {
12        "@id": "lib:ModelIdentification-language",
13        "@type": "xsd:string"
14      },
15      "majorVersion": {
16        "@id": "lib:ModelIdentification-majorVersion",
17        "@type": "xsd:integer"
18      },
19      "minorVersion": {
20        "@id": "lib:ModelIdentification-minorVersion",
21        "@type": "xsd:integer"
22      },
23      "title": {
24        "@id": "lib:ModelIdentification-title",
25        "@type": "xsd:string"
26      },
27      "uri": {
28        "@id": "lib:ModelIdentification-uri",
29        "@type": "xsd:string"
30      },
31      
32      " comment ": "tag:json-should-support-trailing-commas" 
33    }
34  ],
35  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:33:37.",
36  "basedOn": "based on the UML data type LibraryDomainModel::DataTypes::ModelIdentification"
37}

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

 1# datatype ModelIdentification
 2# based on the UML data type LibraryDomainModel::DataTypes::ModelIdentification
 3<#ModelIdentification> a sh:NodeShape;
 4    sh:targetClass lib:ModelIdentification;
 5	sh:message "See http://library/RDF/ModelIdentification";
 6	sh:closed true;
 7	sh:ignoredProperties ( owl:sameAs );
 8    sh:property [
 9			sh:path rdf:type;
10			sh:in (   lib:ModelIdentification
11			 ) ;
12    ];
13    # attributes
14    sh:property <#ModelIdentification-acronym>;
15    sh:property <#ModelIdentification-language>;
16    sh:property <#ModelIdentification-majorVersion>;
17    sh:property <#ModelIdentification-minorVersion>;
18    sh:property <#ModelIdentification-title>;
19    sh:property <#ModelIdentification-uri>;
20
21
22
23.
24
25<#ModelIdentification-acronym> a sh:PropertyShape ;
26    sh:path lib:ModelIdentification-acronym;
27    sh:datatype xsd:string;
28    sh:minCount 1;
29    sh:maxCount 1;
30.
31<#ModelIdentification-language> a sh:PropertyShape ;
32    sh:path lib:ModelIdentification-language;
33    sh:datatype xsd:string;
34    sh:minCount 1;
35    sh:maxCount 1;
36.
37<#ModelIdentification-majorVersion> a sh:PropertyShape ;
38    sh:path lib:ModelIdentification-majorVersion;
39    sh:datatype xsd:integer;
40    sh:minCount 1;
41    sh:maxCount 1;
42.
43<#ModelIdentification-minorVersion> a sh:PropertyShape ;
44    sh:path lib:ModelIdentification-minorVersion;
45    sh:datatype xsd:integer;
46    sh:minCount 1;
47    sh:maxCount 1;
48.
49<#ModelIdentification-title> a sh:PropertyShape ;
50    sh:path lib:ModelIdentification-title;
51    sh:datatype xsd:string;
52    sh:minCount 1;
53    sh:maxCount 1;
54.
55<#ModelIdentification-uri> a sh:PropertyShape ;
56    sh:path lib:ModelIdentification-uri;
57    sh:datatype xsd:string;
58    sh:minCount 1;
59    sh:maxCount 1;
60.

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

 1# datatype ModelIdentification
 2# based on the UML data type LibraryDomainModel::DataTypes::ModelIdentification
 3lib:ModelIdentificationShape CLOSED {
 4	a [lib:ModelIdentification];
 5	lib:ModelIdentification-acronym	xsd:string;
 6	lib:ModelIdentification-language	xsd:string;
 7	lib:ModelIdentification-majorVersion	xsd:integer;
 8	lib:ModelIdentification-minorVersion	xsd:integer;
 9	lib:ModelIdentification-title	xsd:string;
10	lib:ModelIdentification-uri	xsd:string;
11	}