Update shipyard schema proposal

This commit is contained in:
AnthorNet 2015-06-12 18:27:09 +02:00
parent be61c12080
commit 4616756f8e

View File

@ -42,7 +42,6 @@
},
"ships": {
"type" : "array",
"minItems" : 1,
"items" : {
"oneOf": [
{
@ -51,8 +50,7 @@
"required" : [ "name" ],
"properties" : {
"name": {
"type" : "string",
"minLength" : 1
"$ref": "#/definitions/shipsName"
},
"fdId": {
"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",
]
}
}
}