{ "$schema": "http://json-schema.org/schema#", "$schemaVersion": "0.0.1", "modelTags": "SAREF Tank", "$id": "https://smart-data-models.github.com/dataModel.SAREF4BLDG/Tank/schema.json", "derivedFrom": "https://saref.etsi.org/saref4bldg/v1.1.2/#s4bldg:Tank", "title": "Smart data models - Tank schema", "type": "object", "license": "https://opensource.org/licenses/BSD-3-Clause", "description": "A tank is a vessel or container in which a fluid or gas is stored for later use.", "allOf": [ { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/GSMA-Commons" }, { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/Location-Commons" }, { "properties": { "type": { "type": "string", "description": "Property. It must be equal to `Tank`", "enum": [ "Tank" ] }, "accessType": { "type": "string", "description": "Property. Defines the types of access (or cover) to a tank that may be specified. Note that covers are generally specified for rectangular tanks. For cylindrical tanks, access will normally be via a manhole" }, "effectiveCapacity": { "$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.S4BLDG/master/S4BLDG-schema.json#/definitions/Measurement", "description": "Property. The total effective or actual volumetric capacity of the tank. Usually measured in cubic metre (m3).B3" }, "endShapeType": { "type": "string", "description": "Property. Defines the types of end shapes that can be used for preformed tanks. The convention for reading these enumerated values is that for a vertical cylinder, the first value is the base and the second is the top for a horizontal cylinder, the order of reading should be left to right. For a speherical tank, the value UNSET should be used.B5" }, "firstCurvatureRadius": { "$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.S4BLDG/master/S4BLDG-schema.json#/definitions/Measurement", "description": "Property. FirstCurvatureRadius should be defined as the base or left side radius of curvature value. Usually measured in millimeters (mm)" }, "nominalDepth": { "$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.S4BLDG/master/S4BLDG-schema.json#/definitions/Measurement", "description": "Property. The nominal depth of the tank. Note: Not required for a horizontal cylindrical tank. Usually measured in millimeters (mm)" }, "nominalLengthOrDiameter": { "$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.S4BLDG/master/S4BLDG-schema.json#/definitions/Measurement", "description": "Property. The nominal length or, in the case of a vertical cylindrical tank, the nominal diameter of the tank. Usually measured in millimeters (mm)" }, "nominalVolumetricCapacity": { "$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.S4BLDG/master/S4BLDG-schema.json#/definitions/Measurement", "description": "Property. The total nominal or design volumetric capacity of the tank. Usually measured in cubic metre (m3)" }, "nominalWidthOrDiameter": { "$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.S4BLDG/master/S4BLDG-schema.json#/definitions/Measurement", "description": "Property. The nominal width or, in the case of a horizontal cylindrical tank, the nominal diameter of the tank. Note: Not required for a vertical cylindrical tank. Usually measured in millimeters (mm)" }, "numberOfSections": { "type": "number", "description": "Property. Number of sections used" }, "operatingWeight": { "$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.S4BLDG/master/S4BLDG-schema.json#/definitions/Measurement", "description": "Property. Operating weight of the tank including all of its contents. Usually measured in kilograms (kg) or grams (g)" }, "patternType": { "type": "string", "description": "Property. Defines the types of pattern (or shape of a tank that may be specified" }, "secondCurvatureRadius": { "$ref": "https://raw.githubusercontent.com/smart-data-models/dataModel.S4BLDG/master/S4BLDG-schema.json#/definitions/Measurement", "description": "Property. SecondCurvatureRadius should be defined as the top or right side radius of curvature value. Usually measured in millimeters (mm)" }, "storageType": { "type": "string", "description": "Property. Defines the general material category intended to be stored" }, "isContainedInBuildingSpace": { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/EntityIdentifierType", "description": "Relationship. An entity used to define the physical spaces of the building. A building space contains devices or building objects. (BuildingSpace)" }, "isContainedInPhysicalObject": { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/EntityIdentifierType", "description": "Relationship. Any Object that has a proper space region. (Definition extracted from DUL ontology) (PhysicalObject)" }, "isSubSystemOf": { "type": "array", "description": "Relationship. A reference to a system(s) that this Physical Object is part of", "items": { "$ref": "https://smart-data-models.github.io/data-models/common-schema.json#/definitions/EntityIdentifierType", "description": "Relationship. The class of systems, i.e., systems virtually isolated from the environment, whose behaviour and interactions with the environment are modeled. Systems can be connected to other systems. Connected systems interact in some ways. Systems can also have subsystems. Properties of subsystems somehow contribute to the properties of the supersystem. (System)" } }, "hasManufacturer": { "type": "string", "description": "Property. A relationship identifying the manufacturer of an entity (e.g., device). The value is expected to be a string or a string with language tag" }, "hasModel": { "type": "string", "description": "Property. A relationship identifying the model of an entity (e.g., device). The value is expected to be a string or a string with language tag" } } } ], "required": [ "id", "type" ] }