Examples / place-address

place-address.json

targets v0.17.0 2 entities 5 schemas

A site and a nested room: rig.place.address (UPU S42 / ISO 20022 PostalAddress fields) plus a WGS84 rig.place.geo pin on the site. Transform stays drawing pose; the civic fields are not scene coordinates.

Speaks

rig.meta.named · rig.place.address · rig.place.geo · rig.spatial.relationship · rig.spatial.transform

Document

Validates under npm run checkraw file.

{
  "rig": "0.17.0",
  "document": {
    "title": "Place address (ISO 20022 / UPU S42)",
    "defaultUnit": "mm"
  },
  "entities": [
    {
      "id": "town-hall",
      "components": {
        "rig.meta.named": {
          "name": "Sydney Town Hall",
          "stableId": "town-hall"
        },
        "rig.place.address": {
          "streetName": "George Street",
          "buildingNumber": "483",
          "townName": "Sydney",
          "countrySubDivision": "NSW",
          "postCode": "2000",
          "country": "AU"
        },
        "rig.place.geo": {
          "latitudeDegrees": -33.8732,
          "longitudeDegrees": 151.2069
        },
        "rig.spatial.transform": {
          "position": [
            0,
            0,
            0
          ]
        }
      }
    },
    {
      "id": "centennial-hall",
      "components": {
        "rig.meta.named": {
          "name": "Centennial Hall"
        },
        "rig.spatial.relationship": {
          "parent": "town-hall",
          "order": 0
        },
        "rig.place.address": {
          "streetName": "George Street",
          "buildingNumber": "483",
          "floor": "1",
          "room": "Centennial Hall",
          "townName": "Sydney",
          "countrySubDivision": "NSW",
          "postCode": "2000",
          "country": "AU"
        },
        "rig.spatial.transform": {
          "position": [
            0,
            0,
            0
          ]
        }
      }
    }
  ]
}