forked from liza/Questionable
test new quest schema
This commit is contained in:
parent
e56beb9987
commit
1bd92659c3
@ -36,7 +36,7 @@ public static class Utils
|
||||
if (questSchemaFile != null)
|
||||
{
|
||||
SchemaRegistry.Global.Register(
|
||||
new Uri("https://git.carvel.li/liza/Questionable/raw/branch/master/QuestPaths/quest-v1.json"),
|
||||
new Uri("https://git.carvel.li/plogon_enjoyer/Questionable/raw/branch/temp/QuestPaths/quest-v1.json"),
|
||||
JsonSchema.FromText(questSchemaFile.GetText()!.ToString()));
|
||||
}
|
||||
|
||||
|
@ -1,13 +1,16 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://git.carvel.li/liza/Questionable/raw/branch/master/QuestPaths/quest-v1.json",
|
||||
"$id": "https://git.carvel.li/plogon_enjoyer/Questionable/raw/branch/temp/QuestPaths/quest-v1.json",
|
||||
"title": "Questionable V1",
|
||||
"description": "A series of quest sequences",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"$schema": {
|
||||
"type": "string",
|
||||
"const": "https://git.carvel.li/liza/Questionable/raw/branch/master/QuestPaths/quest-v1.json"
|
||||
"enum":[
|
||||
"https://git.carvel.li/liza/Questionable/raw/branch/master/QuestPaths/quest-v1.json",
|
||||
"https://git.carvel.li/plogon_enjoyer/Questionable/raw/branch/temp/QuestPaths/quest-v1.json"
|
||||
]
|
||||
},
|
||||
"Author": {
|
||||
"description": "Author of the quest sequence",
|
||||
|
Loading…
Reference in New Issue
Block a user