From 57225d7b6a0db3e15cce462d672ec0f14b5d7f47 Mon Sep 17 00:00:00 2001 From: Megumi Suzuki Date: Fri, 27 Dec 2024 09:55:35 +0900 Subject: [PATCH] Update schema.json I created a file. --- ZBE/Slab/schema.json | 463 ++++++++++--------------------------------- 1 file changed, 109 insertions(+), 354 deletions(-) diff --git a/ZBE/Slab/schema.json b/ZBE/Slab/schema.json index 6c9585db4..acfd45716 100644 --- a/ZBE/Slab/schema.json +++ b/ZBE/Slab/schema.json @@ -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.SUBJECT/DATAMODEL/schema.json", - "title": "Smart Data Models - SUBJECT / DATAMODEL", - "description": "Description of the data model DATAMODEL ", - "modelTags": "", + "$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.SUBJECT/DATAMODEL/LICENSE.md", + "license": "https://smart-data-models.github.io/dataModel.ZEB/Slab/LICENSE.md", "type": "object", "allOf": [ { @@ -20,386 +20,141 @@ "type": { "type": "string", "enum": [ - "ThreePhaseAcMeasurement" + "Slab" ], - "description": "Property. It must be equal to `ThreePhaseAcMeasurement`." + "description": "Property. It must be equal to `Slab`." }, - "refDevice": { + "dateObjectCreated": { + "type": "string", + "format": "date-time", + "description": "Property. Model:'http://schema.org/DateTime'. The registration date and time of this item as an object." + }, + "dateObjectUpdated": { + "type": "string", + "format": "date-time", + "description": "Property. Model:'http://schema.org/DateTime'. The update date and time of this item as an object." + }, + "flagDeleted": { + "type": "boolean", + "description": "Property. Flag set when this item is deleted as an object." + }, + "jointDirection": { + "type": "array", + "description": "Property. Joint Direction of this item and Spatial Objects.", + "items": { + "type": "Point" + } + }, + "jointSurface": { + "type": "array", + "description": "Property. Joint Surface of this item and Spatial Objects.", + "items": { + "type": "MultiPoint" + } + }, + "jointArea": { + "type": "number", + "minimum": 0, + "description": "Property. Model:'https://schema.org/Number'. Joint Area of this item and Spatial Objects." + }, + "objectName": { + "type": "string", + "description": "Property. Name of this item as an object." + }, + "refArea": { "type": "array", - "description": "Relationship. Device(s) used to obtain the measurement.", + "description": "Relationship. Reference to the area containing this item.", "items": { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/EntityIdentifierType" }, "minItems": 1, "uniqueItems": true }, - "refTargetDevice": { + "refBuilding": { "type": "array", - "description": "Relationship. Device(s) for which the measurement was taken.", + "description": "Relationship. Reference to the building containing this item.", "items": { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/EntityIdentifierType" }, "minItems": 1, "uniqueItems": true }, - "dateEnergyMeteringStarted": { - "type": "string", - "format": "date-time", - "description": "Property. Model:'http://schema.org/DateTime'. The starting date for metering energy." - }, - "totalActiveEnergyImport": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'https://schema.org/Number'. Units:'kilowatt hour (kWh)'. Total energy imported i.e. consumed since metering started (since `dateEnergyMeteringStarted`)." - }, - "totalReactiveEnergyImport": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'https://schema.org/Number'. Units:'kilovolt-ampere-reactive-hour (kVArh)'. Total energy imported i.e. consumed (with regards to fundamental frequency reactive power) since the metering start date (`dateEnergyMeteringStarted`)" - }, - "totalApparentEnergyImport": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'https://schema.org/Number'. Units:'kilovolt-ampere-hour (kVAh)'. Total energy imported i.e. consumed (with regards to apparent power) since the metering start date (`dateEnergyMeteringStarted`)" - }, - "totalActiveEnergyExport": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'https://schema.org/Number'. Units:'kilowatt hour (kWh)'. Total energy exported since metering started (since `dateEnergyMeteringStarted`)." - }, - "totalReactiveEnergyExport": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'https://schema.org/Number'. Units:'kilovolt-ampere-reactive-hour (kVArh)'. Total fundamental frequency reactive energy exported since metering started (since `dateEnergyMeteringStarted`)." - }, - "totalApparentEnergyExport": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'https://schema.org/Number'. Units:'kilovolt-ampere-reactive-hour (kVArh)'. Total energy exported (with regards to apparent power) since the metering start date (`dateEnergyMeteringStarted`)" - }, - "frequency": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'http://schema.org/Number'. Units:'Hertz (Hz)'. The frequency of the circuit." - }, - "totalActivePower": { - "type": "number", - "description": "Property. Model:'http://schema.org/Number'. Units:'watt (W)'. Active power consumed (counting all phases)" - }, - "totalReactivePower": { - "type": "number", - "description": "Property. Model:'http://schema.org/Number'. Units:'volt-ampere-reactive (VAr)'. Reactive power consumed (counting all phases)" - }, - "totalApparentPower": { - "type": "number", - "minimum": 0, - "description": "Property. Model:'http://schema.org/Number'. Units:'volt-ampere (VA)'. Apparent power consumed (counting all phases)." - }, - "activeEnergyImport": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'kilowatt hour (kWh)'. Active energy imported i.e. consumed per phase since the metering start date. The actual values will be conveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3.", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } - } - }, - "reactiveEnergyImport": { - "type": "object", - "description": "Property. Model:'kilovolt-ampere-reactive-hour (kVArh)'. Units:'http://schema.org/StructuredValue'. Fundamental frequency reactive energy imported i.e. consumed per phase since the metering start date. The actual values will be conveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3.", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } - } - }, - "apparentEnergyImport": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'kilovolt-ampere-hour (kVAh)'. Apparent energy imported i.e. consumed per phase since the metering start date. The actual values will be conveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3.", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } - } + "refMaterialLayer": { + "type": "array", + "description": "Relationship. Reference to the materialLayer containing this item.", + "items": { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/EntityIdentifierType" + }, + "minItems": 1, + "uniqueItems": true }, - "activeEnergyExport": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'kilowatt hour (kWh)'. Active energy exported per phase since the metering start date. The actual values will be conveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3.", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } - } + "refRoom": { + "type": "array", + "description": "Relationship. Reference to the room containing this item.", + "items": { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/EntityIdentifierType" + }, + "minItems": 1, + "uniqueItems": true }, - "reactiveEnergyExport": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'kilovolt-ampere-reactive-hour (kVArh)'. Fundamental frequency reactive energy exported per phase since the metering start date. The actual values will be conveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3.", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } - } + "refStair": { + "type": "array", + "description": "Relationship. Reference to the stair containing this item.", + "items": { + "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/EntityIdentifierType" + }, + "minItems": 1, + "uniqueItems": true }, - "apparentEnergyExport": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'kilovolt-ampere-hour (kVAh)'. Apparent energy exported per phase since the metering start date. The actual values will be conveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3.", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } + "shape": { + "type": "array", + "description": "Property. Shape of this item.", + "items": { + "type": "MultiPoint" } }, - "activePower": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'watt (W)'.Active power consumed per phase. The actual values will beconveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3. ", - "properties": { - "L1": { - "type": "number" - }, - "L2": { - "type": "number" - }, - "L3": { - "type": "number" - } + "slabType": { + "type": "array", + "description": "Property. Wall type. Enum:'ceiling, floor, roof, base_floor, stair_floor'", + "items": { + "type": "string", + "enum": [ + "ceiling", + "floor", + "roof", + "base_floor", + "stair_floor" + ] } }, - "reactivePower": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'volts-ampere-reactive (VAr)'. Fundamental frequency reactive power. The actual values will be conveyed by subproperties whose names will be equal to the name of each of the alternating current phases: L1, L2, L3.", - "properties": { - "L1": { - "type": "number" - }, - "L2": { - "type": "number" - }, - "L3": { - "type": "number" - } + "surfaceBase": { + "type": "array", + "description": "Property. Base Shape of this item.", + "items": { + "type": "Polygon" } }, - "apparentPower": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'volt-ampere (VA)'. Apparent power consumed per phase. The actual values will be conveyed by subproperties which names will be equal to the name of each of the alternating current phases: L1, L2, L3", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } + "surfaceTop": { + "type": "array", + "description": "Property. Top Shape of this item.", + "items": { + "type": "Polygon" } }, - "totalPowerFactor": { + "thermalTransmission": { "type": "number", - "description": "Property. Model:'http://schema.org/Number'. Units:'-1 to +1'. Power factor including all phases", - "minimum": -1, - "maximum": 1 - }, - "powerFactor": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'-1 to +1'. Power factor for each phase. The actual values will be conveyed by one subproperty per alternating current phase: L1, L2 and L3", - "properties": { - "L1": { - "type": "number", - "minimum": -1, - "maximum": 1 - }, - "L2": { - "type": "number", - "minimum": -1, - "maximum": 1 - }, - "L3": { - "type": "number", - "minimum": -1, - "maximum": 1 - } - } + "minimum": 0, + "description": "Property. Model:'https://schema.org/Number'. Thermal transmission of this item." }, - "totalDisplacementPowerFactor": { + "thickness": { "type": "number", - "description": "Property. Model:'http://schema.org/Number'. Units:'-1 to +1'. Displacement power factor including all phases. The quantity is based on the fundamental frequency of the system", - "minimum": -1, - "maximum": 1 - }, - "displacementPowerFactor": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'-1 to +1'. Displacement power factor for each phase. The quantity is based on the fundamental frequency of the system. The actual values will be conveyed by one subproperty per alternating current phase: L1, L2 and L3", - "properties": { - "L1": { - "type": "number", - "minimum": -1, - "maximum": 1 - }, - "L2": { - "type": "number", - "minimum": -1, - "maximum": 1 - }, - "L3": { - "type": "number", - "minimum": -1, - "maximum": 1 - } - } - }, - "current": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'Ampers (A)'. Electrical current. The actual values will be conveyed by one subproperty per alternating current phase and the neutral wire: L1, L2, L3 and N.", - "properties": { - "L1": { - "type": "number" - }, - "L2": { - "type": "number" - }, - "L3": { - "type": "number" - }, - "N": { - "type": "number" - } - } - }, - "phaseVoltage": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'Volts (V)'. The voltage between each phase and neutral conductor. The actual values will be conveyed by one subproperty per alternating current phase: L1, L2 and L3", - "properties": { - "L1": { - "type": "number", - "minimum": 0 - }, - "L2": { - "type": "number", - "minimum": 0 - }, - "L3": { - "type": "number", - "minimum": 0 - } - } - }, - "phaseToPhaseVoltage": { - "type": "object", - "description": "Property. Model:'(http://schema.org/StructuredValue'. Units:'Volts (V)'. Voltage between phases. A value for each phase pair: phases 1 and 2 (L12), phases 2 and 3 (L32), phases 3 and 1 (L31).", - "properties": { - "L12": { - "type": "number", - "minimum": 0 - }, - "L23": { - "type": "number", - "minimum": 0 - }, - "L31": { - "type": "number", - "minimum": 0 - } - } - }, - "thdVoltage": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'0 to 1'. Total harmonic distortion of voltage for each phase. The actual values will be conveyed by one subproperty per alternating current phase: L1, L2 and L3", - "properties": { - "L1": { - "type": "number", - "minimum": 0, - "maximum": 1 - }, - "L2": { - "type": "number", - "minimum": 0, - "maximum": 1 - }, - "L3": { - "type": "number", - "minimum": 0, - "maximum": 1 - } - } + "minimum": 0, + "description": "Property. Model:'https://schema.org/Number'. Thickness of this item." }, - "thdCurrent": { - "type": "object", - "description": "Property. Model:'http://schema.org/StructuredValue'. Units:'0 to 1'. Total harmonic distortion of electrical current. The actual values will be conveyed by one subproperty per alternating current phase: L1, L2 and L3", - "properties": { - "L1": { - "type": "number", - "minimum": 0, - "maximum": 1 - }, - "L2": { - "type": "number", - "minimum": 0, - "maximum": 1 - }, - "L3": { - "type": "number", - "minimum": 0, - "maximum": 1 - } - } + "volumetricSpecificHeat": { + "type": "number", + "minimum": 0, + "description": "Property. Model:'https://schema.org/Number'. Volumetric specific heat of this item." } } }