1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

Expanded schema accoring to Nordsoft info

This commit is contained in:
Ivan Savenko 2022-12-19 12:20:33 +02:00 committed by Nordsoft91
parent e8daf4033f
commit 01e8a83c56

View File

@ -58,9 +58,19 @@
},
"compatibility" : {
"type":"object",
"description": "List of supported version of vcmi engine",
"additionalProperties" : {
"type" : "string"
"description": "Supported versions of vcmi engine",
"additionalProperties" : false,
"properties" : {
"min" : {
"type" : "string",
"description" : "minimal compatible vcmi engine version in a format major.minor.patch. When specified, earlier versions won't be supported"
//"pattern" : "^\\d+\\.\\d+\\.\\d+$" // Not implemented in schema support
},
"max" : {
"type" : "string",
"description" : "maximum compatible vcmi engine version in a format major.minor.patch. When specified, later versions won't be supported"
//"pattern" : "^\\d+\\.\\d+\\.\\d+$" // Not implemented in schema support
}
}
},