Skip to content

Commit

Permalink
Merge pull request #549 from WillowInc/2024-12-02-address-lat-long
Browse files Browse the repository at this point in the history
Add address, timezone, lat-long
  • Loading branch information
rszcodronski authored Dec 3, 2024
2 parents 6a0fdaf + f523773 commit 0282aa1
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 0 deletions.
71 changes: 71 additions & 0 deletions Ontology/Willow/Space/Outdoor Area/OutdoorArea.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@
"dtmi:com:willowinc:Space;1"
],
"contents": [
{
"@type": "Component",
"displayName": {
"en": "address"
},
"name": "address",
"schema": "dtmi:com:willowinc:Address;1"
},
{
"@type": "Property",
"name": "type",
Expand All @@ -19,6 +27,69 @@
},
"writable": true,
"schema": "string"
},
{
"@type": "Component",
"name": "timeZone",
"displayName": {
"en": "Time Zone"
},
"schema": "dtmi:com:willowinc:TimeZone;1"
},
{
"@type": "Property",
"name": "coordinates",
"displayName": {
"en": "Coordinates"
},
"writable": true,
"schema": {
"@id": "dtmi:com:willowinc:OutdoorAreaCoordinates;1",
"@type": "Object",
"fields": [
{
"name": "latitude",
"displayName": {
"en": "Latitude"
},
"schema": "double"
},
{
"name": "longitude",
"displayName": {
"en": "Longitude"
},
"schema": "double"
}
]
}
},
{
"@type": "Property",
"name": "constructionStartDate",
"displayName": {
"en": "Construction Start Date"
},
"writable": true,
"schema": "date"
},
{
"@type": "Property",
"name": "constructionCompletionDate",
"displayName": {
"en": "Construction Completion Date"
},
"writable": true,
"schema": "date"
},
{
"@type": "Property",
"name": "dateOpened",
"displayName": {
"en": "Date Opened"
},
"writable": true,
"schema": "date"
}
],
"@context": [
Expand Down
8 changes: 8 additions & 0 deletions Ontology/Willow/Space/Substructure/Substructure.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@
"dtmi:com:willowinc:Space;1"
],
"contents": [
{
"@type": "Component",
"displayName": {
"en": "address"
},
"name": "address",
"schema": "dtmi:com:willowinc:Address;1"
},
{
"@type": "Property",
"name": "type",
Expand Down

0 comments on commit 0282aa1

Please sign in to comment.