Questionable/GatheringPaths/gatheringlocation-v1.json

108 lines
3.1 KiB
JSON
Raw Normal View History

2024-08-02 16:30:21 +00:00
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://git.carvel.li/liza/Questionable/raw/branch/master/GatheringPaths/gatheringlocation-v1.json",
"title": "Gathering Location V1",
"description": "A series of gathering locationsk",
"type": "object",
"properties": {
"$schema": {
"type": "string",
"const": "https://git.carvel.li/liza/Questionable/raw/branch/master/GatheringPaths/gatheringlocation-v1.json"
},
"Author": {
"description": "Author of the gathering location data",
"type": [
"string",
"array"
],
"items": {
"type": "string"
}
},
"Steps": {
"type": "array",
"items": {
"$ref": "https://git.carvel.li/liza/Questionable/raw/branch/master/QuestPaths/quest-v1.json#/$defs/Step"
},
"minItems": 1
},
2024-08-11 16:59:42 +00:00
"FlyBetweenNodes": {
"description": "If nodes are close enough together, flying makes no sense due to the pathfinding overhead",
"type": "boolean",
"default": true
},
2024-08-02 18:04:45 +00:00
"Groups": {
2024-08-02 16:30:21 +00:00
"type": "array",
"items": {
"type": "object",
"properties": {
2024-08-02 18:04:45 +00:00
"Nodes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"DataId": {
"type": "number",
"minimum": 30000,
"maximum": 50000
},
2024-08-11 16:59:42 +00:00
"Fly": {
"type": "boolean"
},
2024-08-02 18:04:45 +00:00
"Locations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"Position": {
"$ref": "https://git.carvel.li/liza/Questionable/raw/branch/master/Questionable.Model/common-schema.json#/$defs/Vector3"
2024-08-02 18:04:45 +00:00
},
"MinimumAngle": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"MaximumAngle": {
"type": "number",
"minimum": -360,
"maximum": 360
},
"MinimumDistance": {
"type": "number",
"minimum": 0
},
"MaximumDistance": {
"type": "number",
"exclusiveMinimum": 0
}
},
"required": [
"Position"
],
"additionalProperties": false
}
}
},
"required": [
"DataId"
],
"additionalProperties": false
}
2024-08-02 16:30:21 +00:00
}
},
"required": [
2024-08-02 18:04:45 +00:00
"Nodes"
2024-08-02 16:30:21 +00:00
],
"additionalProperties": false
}
}
},
"required": [
"$schema",
"Author",
"Steps",
2024-08-03 01:21:11 +00:00
"Groups"
2024-08-02 16:30:21 +00:00
],
"additionalProperties": false
2024-08-02 16:30:21 +00:00
}