Skip to content

Commit 74008fb

Browse files
beta version of DTDL digital twin
1 parent ca3da19 commit 74008fb

File tree

1 file changed

+255
-0
lines changed

1 file changed

+255
-0
lines changed
Lines changed: 255 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,255 @@
1+
{
2+
"@id": "dtmi:com:ngsi-ld:I4SubmodelElementRelationship;0",
3+
"@type": "Interface",
4+
"@context": "dtmi:dtdl:context;2",
5+
"comment": "Smart Data Models - RAMI4.0 Asset Administration Shell (AAS) / I4SubmodelElementRelationship adapted to DTDL from smartdatamodels.org. Source: https://raw.githubusercontent.com/smart-data-models/dataModel.AAS/master/I4SubmodelElementRelationship/schema.json",
6+
"description": "Based on IDTA-01001-3-0, describes a generic RAMI4.0 SubmodelElement representing an Relationship of a referenced Asset Administration Shell",
7+
"displayName": "I4SubmodelElementRelationship",
8+
"contents": [
9+
{
10+
"name": "alternateName",
11+
"writable": true,
12+
"displayName": "alternateName",
13+
"@type": "Property",
14+
"schema": "string",
15+
"comment": "An alternative name for this item"
16+
},
17+
{
18+
"name": "areaServed",
19+
"writable": true,
20+
"displayName": "areaServed",
21+
"@type": "Property",
22+
"schema": "string",
23+
"comment": "The geographic area where a service or offered item is provided"
24+
},
25+
{
26+
"name": "category",
27+
"writable": true,
28+
"displayName": "category",
29+
"@type": "Property",
30+
"schema": "string",
31+
"comment": "The category is a value that gives further meta information w.r.t. to the class of the element"
32+
},
33+
{
34+
"name": "dataProvider",
35+
"writable": true,
36+
"displayName": "dataProvider",
37+
"@type": "Property",
38+
"schema": "string",
39+
"comment": "A sequence of characters identifying the provider of the harmonised data entity"
40+
},
41+
{
42+
"name": "dateCreated",
43+
"writable": true,
44+
"displayName": "dateCreated",
45+
"@type": "Property",
46+
"schema": "dateTime",
47+
"comment": "Entity creation timestamp. This will usually be allocated by the storage platform"
48+
},
49+
{
50+
"name": "dateModified",
51+
"writable": true,
52+
"displayName": "dateModified",
53+
"@type": "Property",
54+
"schema": "dateTime",
55+
"comment": "Timestamp of the last modification of the entity. This will usually be allocated by the storage platform"
56+
},
57+
{
58+
"name": "description",
59+
"writable": true,
60+
"displayName": "description",
61+
"@type": "Property",
62+
"schema": "string",
63+
"comment": "A description of this item"
64+
},
65+
{
66+
"name": "first",
67+
"writable": true,
68+
"displayName": "first",
69+
"@type": "Relationship",
70+
"comment": "References the first Reference Element of the Relationship Element."
71+
},
72+
{
73+
"name": "idShort",
74+
"writable": true,
75+
"displayName": "idShort",
76+
"@type": "Property",
77+
"schema": "string",
78+
"comment": "short id is the (short) name of the SubmodelElement within RAMI40 environment"
79+
},
80+
{
81+
"name": "kind",
82+
"writable": true,
83+
"displayName": "kind",
84+
"@type": "Property",
85+
"schema": "string",
86+
"comment": "For the distinction of 'type' and 'instance', the term 'kind' is used"
87+
},
88+
{
89+
"name": "name",
90+
"writable": true,
91+
"displayName": "name",
92+
"@type": "Property",
93+
"schema": "string",
94+
"comment": "The name of this item"
95+
},
96+
{
97+
"name": "refI4AASId",
98+
"writable": true,
99+
"displayName": "refI4AASId",
100+
"@type": "Relationship",
101+
"comment": "References the root Asset Administration Shell which this SubmodelElement belongs to"
102+
},
103+
{
104+
"name": "refI4AssetId",
105+
"writable": true,
106+
"displayName": "refI4AssetId",
107+
"@type": "Relationship",
108+
"comment": "References the root Asset which this SubmodelElement belongs to"
109+
},
110+
{
111+
"name": "second",
112+
"writable": true,
113+
"displayName": "second",
114+
"@type": "Relationship",
115+
"comment": "References the second Reference Element of the Relationship Element."
116+
},
117+
{
118+
"name": "seeAlso",
119+
"writable": true,
120+
"displayName": "seeAlso"
121+
},
122+
{
123+
"name": "source",
124+
"writable": true,
125+
"displayName": "source",
126+
"@type": "Property",
127+
"schema": "string",
128+
"comment": "A sequence of characters giving the original source of the entity data as a URL. Recommended to be the fully qualified domain name of the source provider, or the URL to the source object"
129+
},
130+
{
131+
"@type": "Telemetry",
132+
"name": "descriptions",
133+
"schema": {
134+
"@type": "Array",
135+
"elementSchema": "object"
136+
},
137+
"comment": "For adding detailed knowledge about the Element in different languages",
138+
"displayName": "descriptions"
139+
},
140+
{
141+
"@type": "Telemetry",
142+
"name": "hasDataSpecification",
143+
"schema": {
144+
"@type": "Array",
145+
"elementSchema": "object"
146+
},
147+
"comment": "Element that can be extended by using data specification templates. A data specification template defines a named set of additional attributes an element may or shall have. RAMI4.0 specification",
148+
"displayName": "hasDataSpecification"
149+
},
150+
{
151+
"@type": "Telemetry",
152+
"name": "owner",
153+
"schema": {
154+
"@type": "Array",
155+
"elementSchema": "string"
156+
},
157+
"comment": "A List containing a JSON encoded sequence of characters referencing the unique Ids of the owner(s)",
158+
"displayName": "owner"
159+
},
160+
{
161+
"@type": "object",
162+
"name": "address",
163+
"comment": "The mailing address",
164+
"displayName": "address",
165+
"fields": [
166+
{
167+
"name": "addressCountry",
168+
"schema": "string"
169+
},
170+
{
171+
"name": "addressLocality",
172+
"schema": "string"
173+
},
174+
{
175+
"name": "addressRegion",
176+
"schema": "string"
177+
},
178+
{
179+
"name": "district",
180+
"schema": "string"
181+
},
182+
{
183+
"name": "postOfficeBoxNumber",
184+
"schema": "string"
185+
},
186+
{
187+
"name": "postalCode",
188+
"schema": "string"
189+
},
190+
{
191+
"name": "streetAddress",
192+
"schema": "string"
193+
},
194+
{
195+
"name": "streetNr",
196+
"schema": "string"
197+
}
198+
]
199+
},
200+
{
201+
"@type": "object",
202+
"name": "modelType",
203+
"comment": "For the distinction of 'type' and 'instance', the term 'kind' is used",
204+
"displayName": "modelType",
205+
"fields": [
206+
{
207+
"name": "name",
208+
"schema": "string"
209+
}
210+
]
211+
},
212+
{
213+
"@type": "object",
214+
"name": "semanticId",
215+
"comment": "It refers to an external information source, which explains the formulation of the submodel element",
216+
"displayName": "semanticId",
217+
"fields": [
218+
{
219+
"name": "keys",
220+
"schema": "array"
221+
}
222+
]
223+
},
224+
{
225+
"@type": "Telemetry",
226+
"name": "location_Point",
227+
"schema": "point"
228+
},
229+
{
230+
"@type": "Telemetry",
231+
"name": "location_LineString",
232+
"schema": "lineString"
233+
},
234+
{
235+
"@type": "Telemetry",
236+
"name": "location_Polygon",
237+
"schema": "polygon"
238+
},
239+
{
240+
"@type": "Telemetry",
241+
"name": "location_MultiPoint",
242+
"schema": "multiPoint"
243+
},
244+
{
245+
"@type": "Telemetry",
246+
"name": "location_MultiLineString",
247+
"schema": "multiLineString"
248+
},
249+
{
250+
"@type": "Telemetry",
251+
"name": "location_MultiPolygon",
252+
"schema": "multiPolygon"
253+
}
254+
]
255+
}

0 commit comments

Comments
 (0)