docs + locations

This commit is contained in:
JMARyA 2024-09-02 18:40:02 +02:00
parent e1618b40ef
commit 48f00d8f6f
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
17 changed files with 390 additions and 33 deletions

32
schema/location.json Normal file
View file

@ -0,0 +1,32 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Location",
"description": "A storage location",
"properties": {
"name": {
"type": "string",
"title": "Location Name",
"description": "The name of the Location"
},
"parent": {
"type": "string",
"title": "Parent Location",
"description": "The ID of a broader location containing this location."
},
"conditions": {
"type": "object",
"title": "Storage Conditions",
"description": "The conditions of the storage location.",
"properties": {
"temperature": {
"type": "number",
"title": "Temperature",
"description": "The median temperature this storage location has."
}
}
}
},
"required": [
"name"
]
}