Use draft-07 schema, fix bools, formatting

This commit is contained in:
Raicuparta 2022-04-18 13:50:07 +02:00
parent 4cda6059c2
commit dc8c72e480

View File

@ -1,5 +1,5 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$schema": "https://json-schema.org/draft-07/schema",
"$docs": {
"title": "Celestial Body Schema",
"description": "Schema for a celestial body in New Horizons"
@ -615,7 +615,11 @@
"properties": {
"revealOn": {
"type": "string",
"enum": [ "enter", "observe", "snapshot" ],
"enum": [
"enter",
"observe",
"snapshot"
],
"description": "'enter', 'observe', or 'snapshot' what needs to be done to the volume to unlock the facts"
},
"reveals": {
@ -657,7 +661,7 @@
"description": "The ID of the entry this location is for"
},
"cloaked": {
"type": "bool",
"type": "boolean",
"description": "Whether this entry location is in a cloaking field",
"default": false
},
@ -919,7 +923,7 @@
"default": 1
},
"invisibleWhenHidden": {
"type": "bool",
"type": "boolean",
"description": "Hide the planet completely if unexplored instead of showing an outline.",
"default": false
},