Merge pull request #884 from Pax1601/857-file-import-fails-if-alt-value-present-in-targetposition-entry

Made target position optionally vec2 or vec3
This commit is contained in:
Pax1601 2024-03-20 16:04:08 +01:00 committed by GitHub
commit 4f7c3988a0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -147,7 +147,7 @@
},
"emissionsCountermeasures": {
"enum": [
"attac",
"attack",
"defend",
"free",
"silent"
@ -350,7 +350,10 @@
"type": "number"
},
"targetPosition": {
"$ref": "#/$defs/vec2"
"anyOf": [
{"$ref": "#/$defs/vec2"},
{"$ref": "#/$defs/vec3"}
]
},
"task": {
"type": "string"