Skip to content
Open
Show file tree
Hide file tree
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
127 changes: 127 additions & 0 deletions schemas/standard205.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/building-envelope-data/api/v1.0.0/schemas/standard205.json",
"title": "fenestration data for ASHRAE Standard 205",
"description": "Data sets about fenestration systems according to Standard 205",
"$defs": {
"standard205": {
"type": "object",
"properties": {
"exampleProperty1": {
"type": "string",
"description": "Please add here all properties which are needed for Standard 205 and not available in the other schemas."
},
"exampleProperty2": {
"type": "number",
"description": "Please add here all properties which are needed for Standard 205 and not available in the other schemas."
},
"metadata": {
"type": "object",
"properties": {
"data_model": {
"title": "Data model name",
"type": "string",
"const": "ASHRAE_205",
"description": "Identifies the data model where the schema is defined"
},
"schema": {
"title": "Schema name or identifier",
"$ref": "#/$defs/SchemaType",
"description": "Identifies the schema used to define the data content"
},
"schema_version": {
"description": "The version of the schema the data complies with",
"$ref": "#/$defs/Version"
},
"id": {
"title": "Unique equipment identifier",
"$ref": "#/$defs/UUID",
"description": "Assigned by data publisher to identify the contained data. `id` shall remain unchanged for revised data"
},
"description": {
"description": "Description of data (suitable for display)",
"type": "string"
},
"data_timestamp": {
"title": "Date of publication",
"$ref": "#/$defs/Timestamp",
"description": "Date/time of publication of the data"
},
"data_version": {
"title": "Integer version identifier for the data in the representation",
"type": "integer",
"minimum": 1,
"description": "Used by data publisher to track revisions of the data for a specific representation. `data_version` shall be incremented for each data revision"
},
"data_source": {
"title": "Source(s) of the data",
"type": "string",
"description": "Used by data publisher to document methods (e.g., software and version) used to generate data. ***Informative note:*** `data_source` may be different from other data source(s) included elsewhere within the data"
},
"disclaimer": {
"description": "Characterization of accuracy, limitations, and applicability of this data",
"type": "string"
},
"notes": {
"description": "Additional Information",
"type": "string"
}
},
"required": [
"data_model",
"schema",
"schema_version",
"id",
"description",
"data_timestamp",
"data_version"
],
"additionalProperties": false
},
"performanceMapOptical": {
"title": "optical data",
"description": "Optical data sets according to BED-JSON",
"type": "array",
"items": {
"$ref": "opticalData.json",
"description": "The measured or simulated data in JSON."
},
"minItems": 1
},
"performanceMapCalorimetric": {
"title": "calorimetric data",
"description": "Calorimetric data sets according to BED-JSON",
"type": "array",
"items": {
"$ref": "calorimetricData.json",
"description": "The measured or simulated data in JSON."
},
"minItems": 1
}
},
"additionalProperties": false,
"minProperties": 1,
"required": []
},
"SchemaType": {
"type": "string",
"enum": [
"FS0001"
],
"description": "FS0001 is the schema for Fenestration Systems."
},
"Version": {
"type": "string",
"pattern": "(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)(?:-((?:0|[1-9][0-9]*|[0-9]*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9][0-9]*|[0-9]*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?"
},
"UUID": {
"type": "string",
"pattern": "[0-9,a-f,A-F]{8}-[0-9,a-f,A-F]{4}-[0-9,a-f,A-F]{4}-[0-9,a-f,A-F]{4}-[0-9,a-f,A-F]{12}"
},
"Timestamp": {
"type": "string",
"pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}Z"
}
},
"$ref": "#/$defs/standard205"
}
Loading