39 lines
850 B
JSON
39 lines
850 B
JSON
{
|
|
"title": "protocolVersions",
|
|
"type": "array",
|
|
"uniqueItems": true,
|
|
"items": {
|
|
"type": "object",
|
|
"uniqueItems": true,
|
|
"properties": {
|
|
"version": {
|
|
"description": "The protocol version",
|
|
"type": "integer"
|
|
},
|
|
"dataVersion": {
|
|
"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]?"
|
|
},
|
|
"usesNetty": {
|
|
"type": "boolean"
|
|
},
|
|
"releaseType": {
|
|
"type": "string",
|
|
"pattern": "[a-z]+"
|
|
}
|
|
},
|
|
"required": [
|
|
"version",
|
|
"minecraftVersion",
|
|
"majorVersion"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
} |