Files
strom/data/minecraft-data/schemas/version_schema.json
T
2026-03-22 19:49:37 +01:00

25 lines
538 B
JSON

{
"title": "version",
"type": "object",
"uniqueItems": true,
"properties": {
"version": {
"description": "The protocol version",
"type": "integer"
},
"minecraftVersion": {
"type": "string",
"pattern": "([0-9]+\\.[0-9]+(\\.[0-9]+)?[a-z]?(-pre[0-9]+)?)|([0-9]{2}w[0-9]{2}[a-z])"
},
"majorVersion": {
"type": "string",
"pattern": "[0-9]+\\.[0-9]+[a-z]?"
},
"releaseType": {
"type": "string",
"pattern": "[a-z]+"
}
},
"additionalProperties": false
}