Skip to content

Commit a666a68

Browse files
Add metadata, performanceMapOptical and performanceMapCalorimetric
1 parent ed4c63a commit a666a68

File tree

2 files changed

+111
-4
lines changed

2 files changed

+111
-4
lines changed

schemas/standard205.json

Lines changed: 85 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,70 @@
1515
"type": "number",
1616
"description": "Please add here all properties which are needed for Standard 205 and not available in the other schemas."
1717
},
18-
"optical": {
18+
"metadata": {
19+
"type": "object",
20+
"properties": {
21+
"data_model": {
22+
"title": "Data model name",
23+
"type": "string",
24+
"const": "ASHRAE_205",
25+
"description": "Identifies the data model where the schema is defined"
26+
},
27+
"schema": {
28+
"title": "Schema name or identifier",
29+
"$ref": "#/$defs/SchemaType",
30+
"description": "Identifies the schema used to define the data content"
31+
},
32+
"schema_version": {
33+
"description": "The version of the schema the data complies with",
34+
"$ref": "#/$defs/Version"
35+
},
36+
"id": {
37+
"title": "Unique equipment identifier",
38+
"$ref": "#/$defs/UUID",
39+
"description": "Assigned by data publisher to identify the contained data. `id` shall remain unchanged for revised data"
40+
},
41+
"description": {
42+
"description": "Description of data (suitable for display)",
43+
"type": "string"
44+
},
45+
"data_timestamp": {
46+
"title": "Date of publication",
47+
"$ref": "#/$defs/Timestamp",
48+
"description": "Date/time of publication of the data"
49+
},
50+
"data_version": {
51+
"title": "Integer version identifier for the data in the representation",
52+
"type": "integer",
53+
"minimum": 1,
54+
"description": "Used by data publisher to track revisions of the data for a specific representation. `data_version` shall be incremented for each data revision"
55+
},
56+
"data_source": {
57+
"title": "Source(s) of the data",
58+
"type": "string",
59+
"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"
60+
},
61+
"disclaimer": {
62+
"description": "Characterization of accuracy, limitations, and applicability of this data",
63+
"type": "string"
64+
},
65+
"notes": {
66+
"description": "Additional Information",
67+
"type": "string"
68+
}
69+
},
70+
"required": [
71+
"data_model",
72+
"schema",
73+
"schema_version",
74+
"id",
75+
"description",
76+
"data_timestamp",
77+
"data_version"
78+
],
79+
"additionalProperties": false
80+
},
81+
"performanceMapOptical": {
1982
"title": "optical data",
2083
"description": "Optical data sets according to BED-JSON",
2184
"type": "array",
@@ -25,12 +88,12 @@
2588
},
2689
"minItems": 1
2790
},
28-
"calorimetric": {
91+
"performanceMapCalorimetric": {
2992
"title": "calorimetric data",
3093
"description": "Calorimetric data sets according to BED-JSON",
3194
"type": "array",
3295
"items": {
33-
"$ref": "calorimetric.json",
96+
"$ref": "calorimetricData.json",
3497
"description": "The measured or simulated data in JSON."
3598
},
3699
"minItems": 1
@@ -39,6 +102,25 @@
39102
"additionalProperties": false,
40103
"minProperties": 1,
41104
"required": []
105+
},
106+
"SchemaType": {
107+
"type": "string",
108+
"enum": [
109+
"FS0001"
110+
],
111+
"description": "FS0001 is the schema for Fenestration Systems."
112+
},
113+
"Version": {
114+
"type": "string",
115+
"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-]+)*))?"
116+
},
117+
"UUID": {
118+
"type": "string",
119+
"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}"
120+
},
121+
"Timestamp": {
122+
"type": "string",
123+
"pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}Z"
42124
}
43125
},
44126
"$ref": "#/$defs/standard205"

tests/valid/standard205/igsdbExample196.json renamed to tests/valid/standard205/example01.json

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
{
2-
"optical": [
2+
"metadata": {
3+
"data_model": "ASHRAE_205",
4+
"schema": "FS0001",
5+
"schema_version": "1.0.0",
6+
"id": "6b876d7c-0a49-4c8d-9b9a-80a7f1e2ab66",
7+
"description": "Example of product data of a fenestration system according to ASHRAE Standard 205",
8+
"data_timestamp": "2025-03-25T12:00Z",
9+
"data_version": 1,
10+
"data_source": "Measurements",
11+
"disclaimer": "This is an example. Similarities with real components are coincidences.",
12+
"notes": "Keep in mind that this is only an example."
13+
},
14+
"performanceMapOptical": [
315
{
416
"data": [
517
{
@@ -5887,5 +5899,18 @@
58875899
}
58885900
]
58895901
}
5902+
],
5903+
"performanceMapCalorimetric": [
5904+
{
5905+
"results": [
5906+
{
5907+
"area": {
5908+
"category": "center"
5909+
},
5910+
"uValue": 0.8,
5911+
"gValue": 0.15
5912+
}
5913+
]
5914+
}
58905915
]
58915916
}

0 commit comments

Comments
 (0)