PrivateImage#

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

Definition#

References an image using the standard Image description. In addition to the standard attributes provides an effective date (period) and a privacy ranking.

Diagram#

Diagram

Attributes#

Attributes
Attributes#

Name

Inherited from

Description

Data Type

Multiplicity

Default value

effectiveDates

- own datatype -

The period for which this image is effective/valid.

DateRange

0..1

privacy

- own datatype -

Specify the level privacy for the image as public, restricted, or private. Supports the use of an external controlled vocabulary.

ControlledVocabularyEntry

0..1

Usage#

Usage
Usage#

Type

Package

Classifier

Attribute

Class

Agents

Agent

image

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 PrivateImage (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-PrivateImage"
 5                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#PrivateImage"
 6                  xmi:type="uml:DataType">
 7   <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-PrivateImage-ownedComment"
 8                  xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#PrivateImage-ownedComment"
 9                  xmi:type="uml:Comment">
10      <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-PrivateImage"/>
11      <body>Definition
12============
13References an image using the standard Image description. In addition to the standard attributes provides an effective date (period) and a privacy ranking.</body>
14   </ownedComment>
15   <name>PrivateImage</name>
16   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-PrivateImage-effectiveDates"
17                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#PrivateImage-effectiveDates"
18                    xmi:type="uml:Property">
19      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-PrivateImage-effectiveDates-ownedComment"
20                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#PrivateImage-effectiveDates-ownedComment"
21                     xmi:type="uml:Comment">
22         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-PrivateImage-effectiveDates"/>
23         <body>The period for which this image is effective/valid.</body>
24      </ownedComment>
25      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-PrivateImage-effectiveDates-lowerValue"
26                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#PrivateImage-effectiveDates-lowerValue"
27                   xmi:type="uml:LiteralInteger"/>
28      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-PrivateImage-effectiveDates-upperValue"
29                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#PrivateImage-effectiveDates-upperValue"
30                   xmi:type="uml:LiteralUnlimitedNatural">
31         <value>1</value>
32      </upperValue>
33      <name>effectiveDates</name>
34      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-DateRange"/>
35   </ownedAttribute>
36   <ownedAttribute xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-PrivateImage-privacy"
37                    xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#PrivateImage-privacy"
38                    xmi:type="uml:Property">
39      <ownedComment xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-PrivateImage-privacy-ownedComment"
40                     xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#PrivateImage-privacy-ownedComment"
41                     xmi:type="uml:Comment">
42         <annotatedElement xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-PrivateImage-privacy"/>
43         <body>Specify the level privacy for the image as public, restricted, or private. Supports the use of an external controlled vocabulary.</body>
44      </ownedComment>
45      <lowerValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-PrivateImage-privacy-lowerValue"
46                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#PrivateImage-privacy-lowerValue"
47                   xmi:type="uml:LiteralInteger"/>
48      <upperValue xmi:id="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-PrivateImage-privacy-upperValue"
49                   xmi:uuid="http://ddialliance.org/Specification/DDI-CDI/1.0/XMI/#PrivateImage-privacy-upperValue"
50                   xmi:type="uml:LiteralUnlimitedNatural">
51         <value>1</value>
52      </upperValue>
53      <name>privacy</name>
54      <type xmi:idref="DDICDIModels-DDICDILibrary-DataTypes-StructuredDataTypes-ControlledVocabularyEntry"/>
55   </ownedAttribute>
56</packagedElement>

Fragment for the data type PrivateImage (entire XML Schema)

 1<xs:element name="PrivateImage"
 2            type="PrivateImageXsdType"
 3            xml:id="PrivateImage">
 4  <!-- based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::PrivateImage -->
 5  <xs:annotation>
 6    <xs:documentation>Definition
 7          ============
 8          References an image using the standard Image description. In addition to the standard attributes provides an effective date (period) and a privacy ranking.</xs:documentation>
 9  </xs:annotation>
10</xs:element>
11<xs:complexType name="PrivateImageXsdType"
12                xml:id="PrivateImageXsdType">
13  <xs:annotation>
14    <xs:documentation>Definition
15          ============
16          References an image using the standard Image description. In addition to the standard attributes provides an effective date (period) and a privacy ranking.</xs:documentation>
17  </xs:annotation>
18  <xs:sequence>
19    <xs:element name="effectiveDates"
20                type="DateRangeXsdType"
21                minOccurs="0"
22                maxOccurs="1"
23                xml:id="PrivateImage-effectiveDates">
24      <xs:annotation>
25        <xs:documentation>The period for which this image is effective/valid.</xs:documentation>
26      </xs:annotation>
27    </xs:element>
28    <xs:element name="privacy"
29                type="ControlledVocabularyEntryXsdType"
30                minOccurs="0"
31                maxOccurs="1"
32                xml:id="PrivateImage-privacy">
33      <xs:annotation>
34        <xs:documentation>Specify the level privacy for the image as public, restricted, or private. Supports the use of an external controlled vocabulary.</xs:documentation>
35      </xs:annotation>
36    </xs:element>
37  </xs:sequence>
38</xs:complexType>

Fragment for the data type PrivateImage (entire JSON Schema)

 1"dt-PrivateImage": {
 2  "description": "http://ddialliance.org/Specification/DDI-CDI/1.0/RDF/PrivateImage",
 3  "type": ["object"],
 4  "properties": {
 5    "effectiveDates": {
 6      "$comment": "cardinality 0..1 – from cdi:PrivateImage",
 7      "$ref": "#/defs/dt-DateRange"
 8    },
 9    "privacy": {
10      "$comment": "cardinality 0..1 – from cdi:PrivateImage",
11      "$ref": "#/defs/dt-ControlledVocabularyEntry"
12    },
13    "@type": {
14      "const": "PrivateImage"
15    }
16  },
17  "required": ["@type"],
18  "additionalProperties": false
19},

Fragment for the data type PrivateImage (main ontology)

 1# datatype PrivateImage
 2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::PrivateImage
 3cdi:PrivateImage
 4  a rdfs:Class, owl:Class, ucmis:StructuredDataType;
 5  rdfs:label "PrivateImage";
 6  rdfs:comment "Definition\n============\nReferences an image using the standard Image description. In addition to the standard attributes provides an effective date (period) and a privacy ranking."@en;
 7  
 8  owl:hasKey (cdi:PrivateImage-effectiveDates cdi:PrivateImage-privacy);
 9.
10
11cdi:PrivateImage-effectiveDates
12  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
13  rdfs:label "effectiveDates";
14  rdfs:comment "The period for which this image is effective/valid."@en;
15  rdfs:domain cdi:PrivateImage;
16  rdfs:range cdi:DateRange;
17.
18
19cdi:PrivateImage-privacy
20  a rdf:Property, owl:ObjectProperty, ucmis:Attribute;
21  rdfs:label "privacy";
22  rdfs:comment "Specify the level privacy for the image as public, restricted, or private. Supports the use of an external controlled vocabulary."@en;
23  rdfs:domain cdi:PrivateImage;
24  rdfs:range cdi:ControlledVocabularyEntry;
25.

Fragment for the data type PrivateImage (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      "effectiveDates": {
 8        "@id": "cdi:PrivateImage-effectiveDates",
 9        "@type": "@id",
10        "@context": "DateRange.jsonld"
11      },
12      "privacy": {
13        "@id": "cdi:PrivateImage-privacy",
14        "@type": "@id",
15        "@context": "ControlledVocabularyEntry.jsonld"
16      },
17      
18      " comment ": "tag:json-should-support-trailing-commas" 
19    }
20  ],
21  "generatedBy": "This code was generated by the Eclipse Acceleo project UCMIS M2T on 2025-08-29 14:34:56.",
22  "basedOn": "based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::PrivateImage"
23}

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

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

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

1# datatype PrivateImage
2# based on the UML data type DDICDIModels::DDICDILibrary::DataTypes::StructuredDataTypes::PrivateImage
3cdi:PrivateImageShape CLOSED {
4	a [cdi:PrivateImage];
5	cdi:PrivateImage-effectiveDates	@cdi:DateRangeShape?;
6	cdi:PrivateImage-privacy	@cdi:ControlledVocabularyEntryShape?;
7	}