Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update schema.json #179

Merged
merged 3 commits into from
Jan 16, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 27 additions & 33 deletions ZEB/Column/schema.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$schemaVersion": "0.0.1",
"$id": "https://smart-data-models.github.io/dataModel.ZEB/Wall/schema.json",
"title": "Smart Data Models - Wall schema",
"description": "Information on a given Wall of Building.",
"$id": "https://smart-data-models.github.io/dataModel.ZEB/Slab/schema.json",
"title": "Smart Data Models - Slab schema",
"description": "Information on a given Slab of Building.",
"modelTags": "Smart Building",
"derivedFrom": "",
"license": "https://smart-data-models.github.io/dataModel.ZEB/Wall/LICENSE.md",
"license": "https://smart-data-models.github.io/dataModel.ZEB/Slab/LICENSE.md",
"type": "object",
"allOf": [
{
Expand All @@ -20,9 +20,9 @@
"type": {
"type": "string",
"enum": [
"Wall"
"Slab"
],
"description": "Property. It must be equal to `Wall`."
"description": "Property. It must be equal to `Slab`."
},
"dateObjectCreated": {
"type": "string",
Expand Down Expand Up @@ -63,6 +63,7 @@
},
"refArea": {
"type": "array",

"description": "Relationship. Reference to the area containing this item.",
"items": {
"$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/EntityIdentifierType"
Expand All @@ -88,15 +89,6 @@
"minItems": 1,
"uniqueItems": true
},
"refOpening": {
"type": "array",
"description": "Relationship. Reference to the opening containing this item.",
"items": {
"$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/EntityIdentifierType"
},
"minItems": 1,
"uniqueItems": true
},
"refRoom": {
"type": "array",
"description": "Relationship. Reference to the room containing this item.",
Expand All @@ -122,18 +114,32 @@
"type": "MultiPoint"
}
},
"surfaceInner": {
"slabType": {
"type": "array",
"description": "Property. Inner Shape of this item.",
"description": "Property. Wall type. Enum:'ceiling, floor, roof, base_floor, stair_floor'",
"items": {
"type": "MultiPolygon"
"type": "string",
"enum": [
"ceiling",
"floor",
"roof",
"base_floor",
"stair_floor"
]
}
},
"surfaceOuter": {
"surfaceBase": {
"type": "array",
"description": "Property. Outer Shape of this item.",
"description": "Property. Base Shape of this item.",
"items": {
"type": "MultiPolygon"
"type": "Polygon"
}
},
"surfaceTop": {
"type": "array",
"description": "Property. Top Shape of this item.",
"items": {
"type": "Polygon"
}
},
"thermalTransmission": {
Expand All @@ -150,18 +156,6 @@
"type": "number",
"minimum": 0,
"description": "Property. Model:'https://schema.org/Number'. Volumetric specific heat of this item."
},
"wallType": {
"type": "array",
"description": "Property. Wall type. Enum:'outer, inner, basement.'",
"items": {
"type": "string",
"enum": [
"outer",
"inner",
"basement"
]
}
}
}
}
Expand Down
Loading