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

47 lines
1.3 KiB
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":{
"type": "object",
"description": "Set of bonuses provided by skill at given level",
"required" : ["effects"],
"properties": {
"description": {
"type": "string",
"description": "localizable description"
},
"effects": {
"type": "object",
"additionalProperties" : {
"$ref" : "vcmi:bonus"
}
}
}
},
"required" : ["base", "basic", "advanced", "expert"],
"properties": {
"base":{
"$ref" : "#/definitions/skillBonus"
},
"basic":{
"$ref" : "#/definitions/skillBonus"
},
"advanced":{
"$ref" : "#/definitions/skillBonus"
},
"expert":{
"$ref" : "#/definitions/skillBonus"
}
}
}
}