Add D&D spells response schema
This commit is contained in:
@@ -17,6 +17,7 @@ var schemaAssets embed.FS
|
||||
type ResponseSchemaKey string
|
||||
|
||||
const (
|
||||
DNDSpellsSchemaKey ResponseSchemaKey = "dnd_spells"
|
||||
TestArtifactSchemaKey ResponseSchemaKey = "test_artifact"
|
||||
TestValidatorDecisionSchemaKey ResponseSchemaKey = "test_validator_decision"
|
||||
|
||||
@@ -34,6 +35,13 @@ type ResponseSchema struct {
|
||||
}
|
||||
|
||||
var responseSchemaRegistry = map[ResponseSchemaKey]ResponseSchema{
|
||||
DNDSpellsSchemaKey: mustLoadResponseSchema(
|
||||
DNDSpellsSchemaKey,
|
||||
"notarius.dnd.spells",
|
||||
schemaVersionV1,
|
||||
"notarius_dnd_spells_v1",
|
||||
"assets/schemas/dnd_spells.v1.json",
|
||||
),
|
||||
TestArtifactSchemaKey: mustLoadResponseSchema(
|
||||
TestArtifactSchemaKey,
|
||||
"notarius.test_artifact",
|
||||
|
||||
Reference in New Issue
Block a user