update
This commit is contained in:
parent
0be7fff77d
commit
74b07a0ea3
8 changed files with 107 additions and 10 deletions
23
schema/item.json
Normal file
23
schema/item.json
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"type": "object",
|
||||
"title": "Item",
|
||||
"description": "Item Metadata",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"title": "Item Name",
|
||||
"description": "The name of the Item"
|
||||
},
|
||||
"variants": {
|
||||
"type": "array",
|
||||
"minItems": 1,
|
||||
"items": {
|
||||
"type": "object",
|
||||
"title": "Item Variant",
|
||||
"description": "A Variant of an Item",
|
||||
"properties": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
33
schema/process.json
Normal file
33
schema/process.json
Normal file
|
@ -0,0 +1,33 @@
|
|||
{
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"title": "Process",
|
||||
"description": "Process Description",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"title": "Process Name",
|
||||
"description": "The name of the Process"
|
||||
},
|
||||
"depends": {
|
||||
"type": "array",
|
||||
"title": "Process Dependencies",
|
||||
"description": "List of Items a Process depends on",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"next": {
|
||||
"type": "string",
|
||||
"title": "Next Process",
|
||||
"description": "The Process that succeeds this one."
|
||||
},
|
||||
"produces": {
|
||||
"type": "array",
|
||||
"title": "Produced Items",
|
||||
"description": "Items this Process will produce",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue