Skip to content

Commit 4734c8f

Browse files
committed
Fix ordering of fields and reformat to 4space indent, + add missing descriptions
1 parent 99d679c commit 4734c8f

1 file changed

Lines changed: 90 additions & 87 deletions

File tree

Lines changed: 90 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -1,94 +1,97 @@
11
{
2-
"$schema": "https://json-schema.org/draft/2020-12/schema",
3-
"$id": "https://w3id.org/fusion/schemas/1.0.0/diagnostics/ir-camera-schema",
4-
"description": "Metadata to describe ir-camera diagnostics",
5-
"type": "object",
6-
"required": [ "deviceInformation", "deviceSettings" ],
7-
"properties": {
8-
"deviceInformation": {
9-
"type": "object",
10-
"required": [
11-
"make",
12-
"model",
13-
"resolution",
14-
"serialNumber",
15-
"spectralRange",
16-
"temperatureRange"
17-
],
18-
"properties": {
19-
"make": {
20-
"type": "string"
21-
},
22-
"model": {
23-
"type": "string"
24-
},
25-
"resolution": {
26-
"type": "object",
27-
"required": [ "x", "y" ],
28-
"properties": {
29-
"x": {
30-
"description": "The camera resolution in pixels, represented as width.",
31-
"type": "integer",
32-
"unit": "qudt:px"
33-
},
34-
"y": {
35-
"description": "The camera resolution in pixels, represented as height.",
36-
"type": "integer",
37-
"unit": "qudt:px"
2+
"$schema": "https://json-schema.org/draft/2020-12/schema",
3+
"$id": "https://w3id.org/fusion/schemas/1.0.0/diagnostics/ir-camera-schema",
4+
"description": "Metadata to describe ir-camera diagnostics",
5+
"type": "object",
6+
"required": [ "deviceInformation", "deviceSettings" ],
7+
"properties": {
8+
"deviceInformation": {
9+
"type": "object",
10+
"required": [
11+
"make",
12+
"model",
13+
"serialNumber",
14+
"resolution",
15+
"spectralRange",
16+
"temperatureRange"
17+
],
18+
"properties": {
19+
"make": {
20+
"type": "string",
21+
"description": "The manufacturer or brand of the infrared camera (e.g., FLIR, Testo, Fluke, Seek Thermal)."
22+
},
23+
"model": {
24+
"type": "string",
25+
"description": "The specific product designation given by the manufacturer, identifying the type or version of the infrared camera (e.g., FLIR E8-XT, Testo 865, Fluke Ti480 Pro)."
26+
},
27+
"serialNumber": {
28+
"type": "string",
29+
"description": "A unique identifier assigned by the manufacturer to distinguish an individual infrared camera unit, typically used for traceability, calibration records, or warranty purposes."
30+
},
31+
"resolution": {
32+
"type": "object",
33+
"required": [ "x", "y" ],
34+
"properties": {
35+
"x": {
36+
"type": "integer",
37+
"unit": "qudt:px",
38+
"description": "The camera resolution in pixels, represented as width."
39+
},
40+
"y": {
41+
"type": "integer",
42+
"unit": "qudt:px",
43+
"description": "The camera resolution in pixels, represented as height."
44+
}
45+
}
46+
},
47+
"spectralRange": {
48+
"type": "object",
49+
"required": [ "minimum", "maximum" ],
50+
"properties": {
51+
"maximum": {
52+
"type": "number",
53+
"unit": "qudt:MicroM",
54+
"description": "Maximum wavelength measured by camera's sensor, which determines the type of thermal radiation it can detect"
55+
},
56+
"minimum": {
57+
"type": "number",
58+
"unit": "qudt:MicroM",
59+
"description": "Minimum wavelength measured by camera's sensor, which determines the type of thermal radiation it can detect"
60+
}
61+
}
62+
},
63+
"temperatureRange": {
64+
"type": "object",
65+
"required": [ "minimum", "maximum" ],
66+
"properties": {
67+
"maximum": {
68+
"type": "number",
69+
"unit": "qudt:DEG_C",
70+
"description": "Maximum temperature measured by the camera"
71+
},
72+
"minimum": {
73+
"type": "number",
74+
"unit": "qudt:DEG_C",
75+
"description": "Minimum temperature measured by the camera"
76+
}
77+
}
78+
}
3879
}
39-
}
4080
},
41-
"serialNumber": {
42-
"type": "integer"
43-
},
44-
"spectralRange": {
45-
"type": "object",
46-
"required": [ "minimum", "maximum" ],
47-
"properties": {
48-
"maximum": {
49-
"type": "number",
50-
"description": "Maximum wavelength measured by camera's sensor, which determines the type of thermal radiation it can detect",
51-
"unit": "qudt:MicroM"
52-
},
53-
"minimum": {
54-
"type": "number",
55-
"description": "Minimum wavelength measured by camera's sensor, which determines the type of thermal radiation it can detect",
56-
"unit": "qudt:MicroM"
81+
"deviceSettings": {
82+
"type": "object",
83+
"required": [ "emissivity", "framerate" ],
84+
"properties": {
85+
"emissivity": {
86+
"type": "number",
87+
"description": "The emissivity value used for temperature calculations, representing the efficiency with which a surface emits thermal radiation."
88+
},
89+
"framerate": {
90+
"type": "number",
91+
"unit": "qudt:HZ",
92+
"description": "The rate at which the camera acquires thermal data, typically measured in Hertz (Hz) or frames per second (fps)"
93+
}
5794
}
58-
}
59-
},
60-
"temperatureRange": {
61-
"type": "object",
62-
"required": [ "minimum", "maximum" ],
63-
"properties": {
64-
"maximum": {
65-
"type": "number",
66-
"description": "Maximum temperature measured by the camera",
67-
"unit": "qudt:DEG_C"
68-
},
69-
"minimum": {
70-
"type": "number",
71-
"description": "Minimum temperature measured by the camera",
72-
"unit": "qudt:DEG_C"
73-
}
74-
}
75-
}
76-
}
77-
},
78-
"deviceSettings": {
79-
"type": "object",
80-
"required": [ "emissivity", "framerate" ],
81-
"properties": {
82-
"emissivity": {
83-
"type": "number",
84-
"description": "The emissivity value used for temperature calculations, representing the efficiency with which a surface emits thermal radiation."
85-
},
86-
"framerate": {
87-
"type": "number",
88-
"description": "The rate at which the camera acquires thermal data, typically measured in Hertz (Hz) or frames per second (fps)",
89-
"unit": "qudt:HZ"
9095
}
91-
}
9296
}
93-
}
9497
}

0 commit comments

Comments
 (0)