67 lines
1.4 KiB
JSON
67 lines
1.4 KiB
JSON
{
|
|
"$defs" : {
|
|
"fighter" : [
|
|
"barbarian",
|
|
"berserker",
|
|
"cataphract",
|
|
"hunstman",
|
|
"paladin",
|
|
"ranger",
|
|
"warlock"
|
|
],
|
|
"magician" : [
|
|
"cryomancer",
|
|
"illusionist",
|
|
"necromancer",
|
|
"pyromancer",
|
|
"witch"
|
|
]
|
|
},
|
|
"$id" : "https://hyperboria.babyl.ca/classes.json",
|
|
"oneOf" : [
|
|
{
|
|
"enum" : [
|
|
"fighter",
|
|
"magician"
|
|
]
|
|
},
|
|
{
|
|
"properties" : {
|
|
"generic" : {
|
|
"const" : "fighter"
|
|
},
|
|
"subclass" : {
|
|
"enum" : [
|
|
"barbarian",
|
|
"berserker",
|
|
"cataphract",
|
|
"hunstman",
|
|
"paladin",
|
|
"ranger",
|
|
"warlock"
|
|
]
|
|
}
|
|
},
|
|
"type" : "object"
|
|
},
|
|
{
|
|
"properties" : {
|
|
"generic" : {
|
|
"const" : "magician"
|
|
},
|
|
"subclass" : {
|
|
"enum" : [
|
|
"cryomancer",
|
|
"illusionist",
|
|
"necromancer",
|
|
"pyromancer",
|
|
"witch"
|
|
]
|
|
}
|
|
},
|
|
"type" : "object"
|
|
}
|
|
],
|
|
"title" : "Classes of characters for Hyperborea"
|
|
}
|