Added
This commit is contained in:
@@ -1,40 +1 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema",
|
||||
"$id": "blockception.minecraft.world_x_packs",
|
||||
"type": "array",
|
||||
"title": "The minecraft world x pack schema",
|
||||
"description": "TODO description",
|
||||
"examples": [[{ "pack_id": "UUID", "version": [1, 0, 0] }]],
|
||||
"definitions": {
|
||||
"uuidv4": { "$ref": "#/definitions/A" },
|
||||
"version": { "$ref": "#/definitions/B" },
|
||||
"A": {
|
||||
"type": "string",
|
||||
"title": "A UUID V4",
|
||||
"description": "A valid uuid v4",
|
||||
"pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$",
|
||||
"format": "uuid"
|
||||
},
|
||||
"B": {
|
||||
"type": "array",
|
||||
"title": "Version numbering",
|
||||
"description": "A version made of 3 numbers",
|
||||
"minItems": 3,
|
||||
"maxItems": 3,
|
||||
"items": [
|
||||
{ "type": "number", "minimum": 1 },
|
||||
{ "type": "number", "minimum": 0 },
|
||||
{ "type": "number", "minimum": 0 }
|
||||
]
|
||||
}
|
||||
},
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"pack_id": { "description": "The uuid of the pack to include", "$ref": "#/definitions/uuidv4", "title": "Pack Id" },
|
||||
"version": { "description": "The version of the pack", "$ref": "#/definitions/version", "title": "Version" }
|
||||
},
|
||||
"description": "TODO description: items",
|
||||
"title": "Items"
|
||||
}
|
||||
}
|
||||
{"$schema":"http://json-schema.org/draft-07/schema","$id":"blockception.minecraft.world_x_packs","type":"array","title":"The minecraft world x pack schema","description":"TODO description","examples":[[{"pack_id":"UUID","version":[1,0,0]}]],"definitions":{"uuidv4":{"$ref":"#/definitions/A"},"version":{"$ref":"#/definitions/B"},"A":{"type":"string","title":"A UUID V4","description":"A valid uuid v4","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$","format":"uuid"},"B":{"type":"array","title":"Version numbering","description":"A version made of 3 numbers","minItems":3,"maxItems":3,"items":[{"type":"number","minimum":1},{"type":"number","minimum":0},{"type":"number","minimum":0}]}},"items":{"type":"object","properties":{"pack_id":{"description":"The uuid of the pack to include","$ref":"#/definitions/uuidv4","title":"Pack Id"},"version":{"description":"The version of the pack","$ref":"#/definitions/version","title":"Version"}},"description":"TODO description: items","title":"Items"}}
|
||||
Reference in New Issue
Block a user