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
idtextnot emptyThe record's id: unique within the document.
nametextThe name people use for the record.
descriptiontextWhat the record is, in words.
typeWhat sort of structure it is, such as
buildingorbarrier.locationWhere the record is, as one point.
geometryThe structure's footprint or line.
propertiesList ofPartPropertyFacts about the record. Each
typecomes from a quantities vocabulary.
Links
Held by Records that embed this one, with their field that holds it.
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 exampleHide the other example
Example 1
{
"id": "structure-1",
"type": "building"
}Changes and file
Changes
- 0.1.0 First version.
Schema file
Show the JSON SchemaHide 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."
}
}