Files
minecraft-data/schemas/enchantments_schema.json
T

32 lines
713 B
JSON

{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "enchantments",
"type": "array",
"uniqueItems": true,
"items" : {
"title": "enchantment",
"type": "object",
"properties": {
"id": {
"description": "The unique identifier for an enchantment",
"type": "integer",
"minimum": 0
},
"name": {
"description": "The name of an enchantment",
"type": "string",
"pattern": "\\S+"
},
"displayName": {
"description": "The display name of an enchantment",
"type": "string"
}
},
"required": [
"id",
"name",
"displayName"
],
"additionalProperties": false
}
}