1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00
vcmi/config/schemas/skill.json

38 lines
1019 B
JSON

{
"type":"object",
"$schema": "http://json-schema.org/draft-04/schema",
"title" : "VCMI skill format",
"description" : "Format used to replace bonuses provided by secondary skills in VCMI",
"definitions" : {
"skillBonus":{
"description": "Set of bonuses provided by skill at given level",
"type": "array",
"items":{
"$ref" : "vcmi:bonus"
}
},
"required" : ["basic", "advanced", "expert"],
"properties": {
"index":{
"type": "number",
"description": "numeric id of skill required only for original skills, prohibited for new skills"
},
"basic":{
"$ref" : "#/definitions/skillBonus"
},
"advanced":{
"$ref" : "#/definitions/skillBonus"
},
"expert":{
"$ref" : "#/definitions/skillBonus"
}
}
}
}