forked from liza/Questionable
test new quest schema
(cherry picked from commit1bd92659c3
) (cherry picked from commita5c51b73dc
) (cherry picked from commitf7e77dd9a9
)
This commit is contained in:
parent
79375ad2a4
commit
6fe30badb2
@ -36,7 +36,7 @@ public static class Utils
|
|||||||
if (questSchemaFile != null)
|
if (questSchemaFile != null)
|
||||||
{
|
{
|
||||||
SchemaRegistry.Global.Register(
|
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()));
|
JsonSchema.FromText(questSchemaFile.GetText()!.ToString()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,13 +1,16 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
"$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",
|
"title": "Questionable V1",
|
||||||
"description": "A series of quest sequences",
|
"description": "A series of quest sequences",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"$schema": {
|
"$schema": {
|
||||||
"type": "string",
|
"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": {
|
"Author": {
|
||||||
"description": "Author of the quest sequence",
|
"description": "Author of the quest sequence",
|
||||||
|
Loading…
Reference in New Issue
Block a user