Skip to content

Commit 3096746

Browse files
beta version of DTDL digital twin
1 parent bacc890 commit 3096746

1 file changed

Lines changed: 223 additions & 0 deletions

File tree

UWBAnchor/schemaDTDL.json

Lines changed: 223 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,223 @@
1+
{
2+
"@id": "dtmi:com:ngsi-ld:UWBAnchor;0",
3+
"@type": "Interface",
4+
"@context": "dtmi:dtdl:context;2",
5+
"comment": "Smart Data Models - UWBAnchor adapted to DTDL from smartdatamodels.org. Source: https://raw.githubusercontent.com/smart-data-models/dataModel.Device/master/UWBAnchor/schema.json",
6+
"description": "Data model for the Ultra Wideband (UWB) Anchor which are electronic devices that detect UWB pulses emitted by UWB Tags and forward them to the location server for calculating tag positions.",
7+
"displayName": "UWBAnchor",
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": "dataProvider",
27+
"writable": true,
28+
"displayName": "dataProvider",
29+
"@type": "Property",
30+
"schema": "string",
31+
"comment": "A sequence of characters identifying the provider of the harmonised data entity"
32+
},
33+
{
34+
"name": "dateCreated",
35+
"writable": true,
36+
"displayName": "dateCreated",
37+
"@type": "Property",
38+
"schema": "dateTime",
39+
"comment": "Entity creation timestamp. This will usually be allocated by the storage platform"
40+
},
41+
{
42+
"name": "dateModified",
43+
"writable": true,
44+
"displayName": "dateModified",
45+
"@type": "Property",
46+
"schema": "dateTime",
47+
"comment": "Timestamp of the last modification of the entity. This will usually be allocated by the storage platform"
48+
},
49+
{
50+
"name": "description",
51+
"writable": true,
52+
"displayName": "description",
53+
"@type": "Property",
54+
"schema": "string",
55+
"comment": "A description of this item"
56+
},
57+
{
58+
"name": "name",
59+
"writable": true,
60+
"displayName": "name",
61+
"@type": "Property",
62+
"schema": "string",
63+
"comment": "The name of this item"
64+
},
65+
{
66+
"name": "seeAlso",
67+
"writable": true,
68+
"displayName": "seeAlso"
69+
},
70+
{
71+
"name": "source",
72+
"writable": true,
73+
"displayName": "source",
74+
"@type": "Property",
75+
"schema": "string",
76+
"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"
77+
},
78+
{
79+
"name": "success",
80+
"writable": true,
81+
"displayName": "success",
82+
"@type": "Property",
83+
"schema": "boolean",
84+
"comment": "Success status."
85+
},
86+
{
87+
"name": "tagId",
88+
"writable": true,
89+
"displayName": "tagId",
90+
"@type": "Property",
91+
"schema": "string",
92+
"comment": "Tag ID."
93+
},
94+
{
95+
"name": "timestamp",
96+
"writable": true,
97+
"displayName": "timestamp",
98+
"@type": "Property",
99+
"schema": "long",
100+
"comment": "Timestamp of the data."
101+
},
102+
{
103+
"name": "version",
104+
"writable": true,
105+
"displayName": "version",
106+
"@type": "Property",
107+
"schema": "string",
108+
"comment": "Version of the data."
109+
},
110+
{
111+
"@type": "Telemetry",
112+
"name": "owner",
113+
"schema": {
114+
"@type": "Array",
115+
"elementSchema": "string"
116+
},
117+
"comment": "A List containing a JSON encoded sequence of characters referencing the unique Ids of the owner(s)",
118+
"displayName": "owner"
119+
},
120+
{
121+
"@type": "object",
122+
"name": "address",
123+
"comment": "The mailing address",
124+
"displayName": "address",
125+
"fields": [
126+
{
127+
"name": "addressCountry",
128+
"schema": "string"
129+
},
130+
{
131+
"name": "addressLocality",
132+
"schema": "string"
133+
},
134+
{
135+
"name": "addressRegion",
136+
"schema": "string"
137+
},
138+
{
139+
"name": "district",
140+
"schema": "string"
141+
},
142+
{
143+
"name": "postOfficeBoxNumber",
144+
"schema": "string"
145+
},
146+
{
147+
"name": "postalCode",
148+
"schema": "string"
149+
},
150+
{
151+
"name": "streetAddress",
152+
"schema": "string"
153+
},
154+
{
155+
"name": "streetNr",
156+
"schema": "string"
157+
}
158+
]
159+
},
160+
{
161+
"@type": "object",
162+
"name": "data",
163+
"comment": "Corresponding data of the UWB Anchor.",
164+
"displayName": "data",
165+
"fields": [
166+
{
167+
"name": "anchorData",
168+
"schema": "array"
169+
},
170+
{
171+
"name": "coordinates",
172+
"schema": "object"
173+
},
174+
{
175+
"name": "metrics",
176+
"schema": "object"
177+
},
178+
{
179+
"name": "moving",
180+
"schema": "boolean"
181+
},
182+
{
183+
"name": "tagData",
184+
"schema": "object"
185+
},
186+
{
187+
"name": "zones",
188+
"schema": "array"
189+
}
190+
]
191+
},
192+
{
193+
"@type": "Telemetry",
194+
"name": "location_Point",
195+
"schema": "point"
196+
},
197+
{
198+
"@type": "Telemetry",
199+
"name": "location_LineString",
200+
"schema": "lineString"
201+
},
202+
{
203+
"@type": "Telemetry",
204+
"name": "location_Polygon",
205+
"schema": "polygon"
206+
},
207+
{
208+
"@type": "Telemetry",
209+
"name": "location_MultiPoint",
210+
"schema": "multiPoint"
211+
},
212+
{
213+
"@type": "Telemetry",
214+
"name": "location_MultiLineString",
215+
"schema": "multiLineString"
216+
},
217+
{
218+
"@type": "Telemetry",
219+
"name": "location_MultiPolygon",
220+
"schema": "multiPolygon"
221+
}
222+
]
223+
}

0 commit comments

Comments
 (0)