mirror of
https://github.com/barkeser2002/minecraft-data.git
synced 2026-11-24 05:46:07 +03:00
50 lines
1.2 KiB
JSON
50 lines
1.2 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"title": "items",
|
|
"type": "array",
|
|
"uniqueItems": true,
|
|
"items" : {
|
|
"title": "item",
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"description": "The unique identifier for an item",
|
|
"type": "integer",
|
|
"minimum": 0
|
|
},
|
|
"displayName": {
|
|
"description": "The display name of an item",
|
|
"type": "string"
|
|
},
|
|
"stackSize": {
|
|
"description": "Stack size for an item",
|
|
"type": "integer",
|
|
"minimum": 0
|
|
},
|
|
"name": {
|
|
"description": "The name of an item",
|
|
"type": "string",
|
|
"pattern": "\\S+"
|
|
},
|
|
"variations" : {
|
|
"type" : "array",
|
|
"items": {
|
|
"type" : "object",
|
|
"properties": {
|
|
"metadata":{
|
|
"type":"integer",
|
|
"minimum": 0
|
|
},
|
|
"displayName":{
|
|
"type":"string"
|
|
}
|
|
},
|
|
"required": ["metadata", "displayName"],
|
|
"additionalProperties":false
|
|
}
|
|
}
|
|
},
|
|
"required": ["id", "displayName", "stackSize", "name"],
|
|
"additionalProperties":false
|
|
}
|
|
} |