AccessLocation#

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

Definition#

A set of access information for a machine including URI, mime type, and physical location.

Diagram#

Diagram

Attributes#

Attributes
Attributes#

Name

Inherited from

Description

Data Type

Multiplicity

Default value

mimeType

- own datatype -

The MIME type. MIME stands for “Multipurpose Internet Mail Extensions. It’s a way of identifying files on the Internet according to their nature and format. Supports the use of an controlled vocabulary.

ControlledVocabularyEntry

0..1

physicalLocation

- own datatype -

The physical location of the machine.

InternationalString

0..*

uri

- own datatype -

A Uniform Resource Identifier (URI) is a string of characters that unambiguously identifies a particular resource. A URI is normally expressed as a URL.

XsdAnyUri

0..*

Usage#

Usage
Usage#

Type

Package

Classifier

Attribute

Class

Agents

Machine

accessLocation

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 AccessLocation (entire model as XMI)

 1<packagedElement xmlns:StandardProfile="http://www.omg.org/spec/UML/20131001/StandardProfile"
 2                  xmlns:uml="http://www.omg.org/spec/UML/20131001"
 3                  xmlns:xmi="http://www.omg.org/spec/XMI/20131001"
 4                  xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-AccessLocation"
 5                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#AccessLocation"
 6                  xmi:type="uml:DataType">
 7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-AccessLocation-ownedComment"
 8                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#AccessLocation-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-AccessLocation"/>
11      <body>Definition
12============
13A set of access information for a machine including URI, mime type, and physical location.</body>
14   </ownedComment>
15   <name>AccessLocation</name>
16   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-AccessLocation-mimeType"
17                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#AccessLocation-mimeType"
18                    xmi:type="uml:Property">
19      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-AccessLocation-mimeType-ownedComment"
20                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#AccessLocation-mimeType-ownedComment"
21                     xmi:type="uml:Comment">
22         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-AccessLocation-mimeType"/>
23         <body>The MIME type. MIME stands for "Multipurpose Internet Mail Extensions. It's a way of identifying files on the Internet according to their nature and format. Supports the use of an controlled vocabulary.</body>
24      </ownedComment>
25      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-AccessLocation-mimeType-lowerValue"
26                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#AccessLocation-mimeType-lowerValue"
27                   xmi:type="uml:LiteralInteger"/>
28      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-AccessLocation-mimeType-upperValue"
29                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#AccessLocation-mimeType-upperValue"
30                   xmi:type="uml:LiteralUnlimitedNatural">
31         <value>1</value>
32      </upperValue>
33      <name>mimeType</name>
34      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ControlledVocabularyEntry"/>
35   </ownedAttribute>
36   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-AccessLocation-physicalLocation"
37                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#AccessLocation-physicalLocation"
38                    xmi:type="uml:Property">
39      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-AccessLocation-physicalLocation-ownedComment"
40                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#AccessLocation-physicalLocation-ownedComment"
41                     xmi:type="uml:Comment">
42         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-AccessLocation-physicalLocation"/>
43         <body>The physical location of the machine.</body>
44      </ownedComment>
45      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-AccessLocation-physicalLocation-lowerValue"
46                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#AccessLocation-physicalLocation-lowerValue"
47                   xmi:type="uml:LiteralInteger"/>
48      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-AccessLocation-physicalLocation-upperValue"
49                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#AccessLocation-physicalLocation-upperValue"
50                   xmi:type="uml:LiteralUnlimitedNatural">
51         <value>*</value>
52      </upperValue>
53      <name>physicalLocation</name>
54      <isOrdered>true</isOrdered>
55      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-InternationalString"/>
56   </ownedAttribute>
57   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-AccessLocation-uri"
58                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#AccessLocation-uri"
59                    xmi:type="uml:Property">
60      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-AccessLocation-uri-ownedComment"
61                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#AccessLocation-uri-ownedComment"
62                     xmi:type="uml:Comment">
63         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-AccessLocation-uri"/>
64         <body>A Uniform Resource Identifier (URI) is a string of characters that unambiguously identifies a particular resource. A URI is normally expressed as a URL.</body>
65      </ownedComment>
66      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-AccessLocation-uri-lowerValue"
67                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#AccessLocation-uri-lowerValue"
68                   xmi:type="uml:LiteralInteger"/>
69      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-AccessLocation-uri-upperValue"
70                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#AccessLocation-uri-upperValue"
71                   xmi:type="uml:LiteralUnlimitedNatural">
72         <value>*</value>
73      </upperValue>
74      <name>uri</name>
75      <isOrdered>true</isOrdered>
76      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-XMLSchemaDataTypes-XsdAnyUri"/>
77   </ownedAttribute>
78</packagedElement>

Fragment for the data type AccessLocation (entire XML Schema)

 1<xs:element name="AccessLocation"
 2            type="AccessLocationXsdType"
 3            xml:id="AccessLocation">
 4  <!-- based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::AccessLocation -->
 5  <xs:annotation>
 6    <xs:documentation>Definition
 7          ============
 8          A set of access information for a machine including URI, mime type, and physical location.</xs:documentation>
 9  </xs:annotation>
10</xs:element>
11<xs:complexType name="AccessLocationXsdType"
12                xml:id="AccessLocationXsdType">
13  <xs:annotation>
14    <xs:documentation>Definition
15          ============
16          A set of access information for a machine including URI, mime type, and physical location.</xs:documentation>
17  </xs:annotation>
18  <xs:sequence>
19    <xs:element name="mimeType"
20                type="ControlledVocabularyEntryXsdType"
21                minOccurs="0"
22                maxOccurs="1"
23                xml:id="AccessLocation-mimeType">
24      <xs:annotation>
25        <xs:documentation>The MIME type. MIME stands for "Multipurpose Internet Mail Extensions. It's a way of identifying files on the Internet according to their nature and format. Supports the use of an controlled vocabulary.</xs:documentation>
26      </xs:annotation>
27    </xs:element>
28    <xs:element name="physicalLocation"
29                type="InternationalStringXsdType"
30                minOccurs="0"
31                maxOccurs="unbounded"
32                xml:id="AccessLocation-physicalLocation">
33      <xs:annotation>
34        <xs:documentation>The physical location of the machine.</xs:documentation>
35      </xs:annotation>
36    </xs:element>
37    <xs:element name="uri"
38                type="xs:anyURI"
39                minOccurs="0"
40                maxOccurs="unbounded"
41                xml:id="AccessLocation-uri">
42      <xs:annotation>
43        <xs:documentation>A Uniform Resource Identifier (URI) is a string of characters that unambiguously identifies a particular resource. A URI is normally expressed as a URL.</xs:documentation>
44      </xs:annotation>
45    </xs:element>
46  </xs:sequence>
47</xs:complexType>

Fragment for the data type AccessLocation (entire JSON Schema)

 1"dt-AccessLocation": {
 2  "description": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/AccessLocation",
 3  "type": ["object"],
 4  "properties": {
 5    "mimeType": {
 6      "$comment": "cardinality 0..1 – from cdi:AccessLocation",
 7      "$ref": "#/defs/dt-ControlledVocabularyEntry"
 8    },
 9    "physicalLocation": {
10      "$comment": "cardinality 0..-1 – from cdi:AccessLocation",
11      "if": { "type": "array" },
12      "then": { "items": { "$ref": "#/defs/dt-InternationalString" } },
13      "else": { "$ref": "#/defs/dt-InternationalString" }
14    },
15    "uri": {
16      "$comment": "cardinality 0..-1 – from cdi:AccessLocation",
17      "if": { "type": "array" },
18      "then": { "items": { "$ref": "#/defs/xsd:anyURI" } },
19      "else": { "$ref": "#/defs/xsd:anyURI" }
20    },
21    "@type": {
22      "const": "AccessLocation"
23    }
24  },
25  "required": ["@type"],
26  "additionalProperties": false
27},

Fragment for the data type AccessLocation (main ontology)

 1# datatype AccessLocation
 2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::AccessLocation
 3cdi:AccessLocation
 4  a rdfs:Class, owl:Class, ucmis:StructuredDataType;
 5  rdfs:label "AccessLocation";
 6  rdfs:comment "Definition\n============\nA set of access information for a machine including URI, mime type, and physical location."@en;
 7  
 8  owl:hasKey (cdi:AccessLocation-mimeType cdi:AccessLocation-physicalLocation cdi:AccessLocation-uri);
 9.
10
11cdi:AccessLocation-mimeType
12  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
13  rdfs:label "mimeType";
14  rdfs:comment "The MIME type. MIME stands for \"Multipurpose Internet Mail Extensions. It's a way of identifying files on the Internet according to their nature and format. Supports the use of an controlled vocabulary."@en;
15  rdfs:domain cdi:AccessLocation;
16  rdfs:range cdi:ControlledVocabularyEntry;
17.
18
19cdi:AccessLocation-physicalLocation
20  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
21  rdfs:label "physicalLocation";
22  rdfs:comment "The physical location of the machine."@en;
23  rdfs:domain cdi:AccessLocation;
24  rdfs:range cdi:InternationalString;
25.
26
27cdi:AccessLocation-uri
28  a rdf:Property, owl:DatatypeProperty, ucmis:Attribute;
29  rdfs:label "uri";
30  rdfs:comment "A Uniform Resource Identifier (URI) is a string of characters that unambiguously identifies a particular resource. A URI is normally expressed as a URL."@en;
31  rdfs:domain cdi:AccessLocation;
32  rdfs:range xsd:anyURI;
33.

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

 1{
 2  "@context": [
 3    {
 4      "cdi": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/",
 5      "xsd": "http://www.w3.org/2001/XMLSchema#",
 6
 7      "mimeType": {
 8        "@id": "cdi:AccessLocation-mimeType",
 9        "@type": "@id",
10        "@context": "ControlledVocabularyEntry.jsonld"
11      },
12      "physicalLocation": {
13        "@id": "cdi:AccessLocation-physicalLocation",
14        "@type": "@id",
15        "@context": "InternationalString.jsonld"
16      },
17      "uri": {
18        "@id": "cdi:AccessLocation-uri",
19        "@type": "xsd:anyURI"
20      },
21      
22      " comment ": "tag:json-should-support-trailing-commas" 
23    }
24  ],
25  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:34:55.",
26  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::AccessLocation"
27}

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

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

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

1# datatype AccessLocation
2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::AccessLocation
3cdi:AccessLocationShape CLOSED {
4	a [cdi:AccessLocation];
5	cdi:AccessLocation-mimeType	@cdi:ControlledVocabularyEntryShape?;
6	cdi:AccessLocation-physicalLocation	@cdi:InternationalStringShape*;
7	cdi:AccessLocation-uri	xsd:anyURI*;
8	}