docs + locations
This commit is contained in:
parent
e1618b40ef
commit
48f00d8f6f
17 changed files with 390 additions and 33 deletions
32
schema/location.json
Normal file
32
schema/location.json
Normal 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"
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue