Some schema validators object to these IDs. They don't actually do

anything, so just get rid of them.
This commit is contained in:
James Muscat 2015-04-14 23:42:51 +01:00
parent 4c314a9b9b
commit e5af51d29b

View File

@ -5,32 +5,26 @@
"additionalProperties": false,
"properties": {
"$schemaRef": {
"id": "#$schemaRef",
"type": "string",
"additionalProperties": false
},
"header": {
"id": "#header",
"type": "object",
"additionalProperties": true,
"properties": {
"uploaderID": {
"id": "#uploaderID",
"type": "string",
"additionalProperties": false
},
"softwareName": {
"id": "#softwareName",
"type": "string",
"additionalProperties": false
},
"softwareVersion": {
"id": "#softwareVersion",
"type": "string",
"additionalProperties": false
},
"gatewayTimestamp": {
"id": "#gatewayTimestamp",
"type": "string",
"format": "date-time",
"description": "Timestamp upon receipt at the gateway. If present, this property will be overwritten by the gateway; submitters are not intended to populate this property.",
@ -39,33 +33,27 @@
}
},
"message": {
"id": "#message",
"type": "object",
"additionalProperties": true,
"properties": {
"systemName": {
"id": "#systemName",
"type": "string",
"additionalProperties": false
},
"stationName": {
"id": "#stationName",
"type": "string",
"additionalProperties": false
},
"itemName": {
"id": "#itemName",
"type": "string",
"additionalProperties": false
},
"buyPrice": {
"id": "#buyPrice",
"type": "integer",
"description": "Price to buy from the market",
"additionalProperties": false
},
"stationStock": {
"id": "#stationStock",
"type": "integer",
"additionalProperties": false
},
@ -73,13 +61,11 @@
"$ref": "#/definitions/levelType"
},
"sellPrice": {
"id": "#sellPrice",
"type": "integer",
"description": "Price to sell to the market",
"additionalProperties": false
},
"demand": {
"id": "#demand",
"type": "integer",
"additionalProperties": false
},
@ -87,7 +73,6 @@
"$ref": "#/definitions/levelType"
},
"timestamp": {
"id": "#timestamp",
"type": "string",
"format": "date-time",
"additionalProperties": false