Last active
October 16, 2024 08:00
-
-
Save colinmeinke/de8e267265b13573ab4048464ac90d7c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://json-schema.org/draft/2020-12/schema", | |
"title": "ASSET", | |
"type": "object", | |
"properties": { | |
"time": { | |
"type": "string", | |
"description": "The time this state was calculated", | |
"format": "date-time" | |
}, | |
"id": { | |
"type": "integer", | |
"description": "Unique identifier for the associated site" | |
}, | |
"asset": { | |
"type": "string", | |
"description": "Unique identifier for the asset" | |
}, | |
"title": { | |
"type": "string", | |
"description": "The display title" | |
}, | |
"operationalStatus": { | |
"type": "string", | |
"description": "The operational status" | |
}, | |
"fuel": { | |
"type": "array", | |
"prefixItems": [ | |
{ | |
"type": "number", | |
"description": "The percent value of the fuel level. Theoretically 0 - 100" | |
}, | |
{ | |
"type": "string", | |
"enum": [ | |
"HIGH", | |
"LOW", | |
"CRITICAL_LOW", | |
"UNKNOWN" | |
] | |
} | |
], | |
"minItems": 2, | |
"maxItems": 2 | |
}, | |
"battery": { | |
"type": "array", | |
"prefixItems": [ | |
{ | |
"type": "number", | |
"description": "The percent value of the battery level. Theoretically 0 - 100" | |
}, | |
{ | |
"type": "string", | |
"enum": [ | |
"CHARGING", | |
"LOW", | |
"CRITICAL_LOW", | |
"HIGH", | |
"UNKNOWN" | |
] | |
} | |
], | |
"minItems": 2, | |
"maxItems": 2 | |
}, | |
"highAlarms": { | |
"type": "integer", | |
"description": "The number of active high or critical alarms" | |
}, | |
"warningAlarms": { | |
"type": "integer", | |
"description": "The number of active warning alarms" | |
}, | |
"breakerStatus": { | |
"type": "string", | |
"enum": [ | |
"OPEN", | |
"CLOSED" | |
], | |
"description": "The breaker status at the time of calculation" | |
}, | |
"size": { | |
"type": "number", | |
"description": "The theoretical maximum kW production value" | |
}, | |
"kw": { | |
"type": "number", | |
"description": "The kW value at the time of calculation" | |
}, | |
"kva": { | |
"type": "number", | |
"description": "The kVA value at the time of calculation" | |
}, | |
"kvar": { | |
"type": "number", | |
"description": "The kVAr value at the time of calculation" | |
}, | |
"va": { | |
"type": "number", | |
"description": "The VA value at the time of calculation" | |
}, | |
"vb": { | |
"type": "number", | |
"description": "The VB value at the time of calculation" | |
}, | |
"vc": { | |
"type": "number", | |
"description": "The VC value at the time of calculation" | |
}, | |
"ia": { | |
"type": "number", | |
"description": "The IA value at the time of calculation" | |
}, | |
"ib": { | |
"type": "number", | |
"description": "The IB value at the time of calculation" | |
}, | |
"ic": { | |
"type": "number", | |
"description": "The IC value at the time of calculation" | |
}, | |
"rpm": { | |
"type": "number", | |
"description": "The RPM value at the time of calculation" | |
}, | |
"hours": { | |
"type": "number", | |
"description": "?" | |
} | |
}, | |
"required": [ | |
"time", | |
"id", | |
"asset", | |
"title", | |
"operationalStatus", | |
"size", | |
"highAlarms", | |
"warningAlarms" | |
], | |
"additionalProperties": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment