Structure

PartDraftv1.0.0-rc.2

A structure: a built form, such as a building, a wall or a barrier. As in IFC (ISO 16739).

https://opendevelopmentstandards.org/schema/1.0.0-rc.2/core/Structure.json

Fields

  • id
    textnot empty

    The record's id: unique within the document.

  • name
    text

    The name people use for the record.

  • description
    text

    What the record is, in words.

  • type

    What sort of structure it is, such as building or barrier.

  • location

    Where the record is, as one point.

  • geometry

    The structure's footprint or line.

  • properties

    Facts about the record. Each type comes from a quantities vocabulary.

Links

Examples

An id that another example defines opens that record.

Example 2

{
  "id": "structure-wall",
  "name": "Sound wall",
  "type": "barrier",
  "geometry": {
    "type": "LineString",
    "coordinates": [
      [
        -113.8155,
        52.2688
      ],
      [
        -113.8139,
        52.2688
      ]
    ]
  },
  "properties": [
    {
      "type": "height",
      "value": {
        "amount": 4.5,
        "unit": "m"
      }
    }
  ]
}
Show 1 more example

Example 1

{
  "id": "structure-1",
  "type": "building"
}

Changes and file

Changes

  1. 0.1.0 First version.

Schema file

Show the JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://opendevelopmentstandards.org/schema/1.0.0-rc.2/core/Structure.json",
  "title": "Structure",
  "description": "A structure: a built form, such as a building, a wall or a barrier. As in IFC (ISO 16739).",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "description": "The record's id: unique within the document."
    },
    "name": {
      "type": "string",
      "description": "The name people use for the record."
    },
    "description": {
      "type": "string",
      "description": "What the record is, in words."
    },
    "type": {
      "type": "string",
      "pattern": "^[a-z0-9]+(_[a-z0-9]+)*(\\.[a-z0-9]+(_[a-z0-9]+)*)*$",
      "x-ods-vocabulary": "core/structure_types",
      "description": "What sort of structure it is, such as `building` or `barrier`."
    },
    "location": {
      "$ref": "Location.json",
      "description": "Where the record is, as one point."
    },
    "geometry": {
      "$ref": "Geometry.json",
      "description": "The structure's footprint or line."
    },
    "properties": {
      "type": "array",
      "items": {
        "$ref": "Property.json"
      },
      "description": "Facts about the record. Each `type` comes from a quantities vocabulary."
    }
  },
  "patternProperties": {
    "^x-": {}
  },
  "unevaluatedProperties": false,
  "examples": [
    {
      "id": "structure-1",
      "type": "building"
    },
    {
      "id": "structure-wall",
      "name": "Sound wall",
      "type": "barrier",
      "geometry": {
        "type": "LineString",
        "coordinates": [
          [
            -113.8155,
            52.2688
          ],
          [
            -113.8139,
            52.2688
          ]
        ]
      },
      "properties": [
        {
          "type": "height",
          "value": {
            "amount": 4.5,
            "unit": "m"
          }
        }
      ]
    }
  ],
  "x-ods-status": "draft",
  "x-ods-kind": "part",
  "x-ods-module": "core",
  "x-ods-changes": {
    "0.1.0": "First version."
  }
}