mirror of
https://github.com/EDCD/EDDN.git
synced 2025-06-15 23:02:05 +03:00
Update shipyard schema proposal
This commit is contained in:
parent
be61c12080
commit
4616756f8e
@ -42,7 +42,6 @@
|
|||||||
},
|
},
|
||||||
"ships": {
|
"ships": {
|
||||||
"type" : "array",
|
"type" : "array",
|
||||||
"minItems" : 1,
|
|
||||||
"items" : {
|
"items" : {
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
{
|
{
|
||||||
@ -51,8 +50,7 @@
|
|||||||
"required" : [ "name" ],
|
"required" : [ "name" ],
|
||||||
"properties" : {
|
"properties" : {
|
||||||
"name": {
|
"name": {
|
||||||
"type" : "string",
|
"$ref": "#/definitions/shipsName"
|
||||||
"minLength" : 1
|
|
||||||
},
|
},
|
||||||
"fdId": {
|
"fdId": {
|
||||||
"type" : "number",
|
"type" : "number",
|
||||||
@ -66,5 +64,29 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
"definitions" : {
|
||||||
|
"shipsName" : {
|
||||||
|
"enum": [
|
||||||
|
"SideWinder",
|
||||||
|
"Eagle",
|
||||||
|
"Hauler",
|
||||||
|
"Adder",
|
||||||
|
"Viper",
|
||||||
|
"Cobra Mk III",
|
||||||
|
"Type-6 Transporter",
|
||||||
|
"Type-7 Transporter",
|
||||||
|
"Asp",
|
||||||
|
"Vulture",
|
||||||
|
"Orca",
|
||||||
|
"Type-9 Heavy",
|
||||||
|
"Python",
|
||||||
|
"Fer-de-Lance",
|
||||||
|
"Anaconda",
|
||||||
|
"DiamondBack Scout",
|
||||||
|
"Diamondback Explorer",
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user