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"
|
|
|
|
|
}
|
|
|
|
|
},
|
2024-08-15 23:21:15 +00:00
|
|
|
|
"Steps": {
|
2024-08-05 05:36:52 +00:00
|
|
|
|
"type": "array",
|
|
|
|
|
"items": {
|
2024-08-15 23:21:15 +00:00
|
|
|
|
"$ref": "https://git.carvel.li/liza/Questionable/raw/branch/master/QuestPaths/quest-v1.json#/$defs/Step"
|
|
|
|
|
},
|
|
|
|
|
"minItems": 1
|
2024-08-05 05:36:52 +00:00
|
|
|
|
},
|
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": {
|
2024-08-15 23:21:15 +00:00
|
|
|
|
"$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",
|
2024-08-15 23:21:15 +00:00
|
|
|
|
"Steps",
|
2024-08-03 01:21:11 +00:00
|
|
|
|
"Groups"
|
2024-08-02 16:30:21 +00:00
|
|
|
|
],
|
2024-08-15 23:21:15 +00:00
|
|
|
|
"additionalProperties": false
|
2024-08-02 16:30:21 +00:00
|
|
|
|
}
|