From 6a74a2ae254b7cbc2861724e007add364711c490 Mon Sep 17 00:00:00 2001 From: James Muscat Date: Wed, 1 Jul 2015 22:27:25 +0100 Subject: [PATCH] Remove obsolete schema. --- schemas/commodity-v0.1.json | 102 ------------------------------------ 1 file changed, 102 deletions(-) delete mode 100644 schemas/commodity-v0.1.json diff --git a/schemas/commodity-v0.1.json b/schemas/commodity-v0.1.json deleted file mode 100644 index c98b3dd..0000000 --- a/schemas/commodity-v0.1.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "$schema": "http://json-schema.org/draft-04/schema#", - "id": "http://schemas.elite-markets.net/eddn/commodity/1#", - "type": "object", - "additionalProperties": false, - "properties": { - "$schemaRef": { - "type": "string", - "additionalProperties": false - }, - "header": { - "type": "object", - "additionalProperties": true, - "properties": { - "uploaderID": { - "type": "string", - "additionalProperties": false - }, - "softwareName": { - "type": "string", - "additionalProperties": false - }, - "softwareVersion": { - "type": "string", - "additionalProperties": false - }, - "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.", - "additionalProperties": false - } - } - }, - "message": { - "type": "object", - "additionalProperties": true, - "properties": { - "systemName": { - "type": "string", - "additionalProperties": false - }, - "stationName": { - "type": "string", - "additionalProperties": false - }, - "itemName": { - "type": "string", - "additionalProperties": false - }, - "buyPrice": { - "type": "integer", - "description": "Price to buy from the market", - "additionalProperties": false - }, - "stationStock": { - "type": "integer", - "additionalProperties": false - }, - "supplyLevel": { - "$ref": "#/definitions/levelType" - }, - "sellPrice": { - "type": "integer", - "description": "Price to sell to the market", - "additionalProperties": false - }, - "demand": { - "type": "integer", - "additionalProperties": false - }, - "demandLevel": { - "$ref": "#/definitions/levelType" - }, - "timestamp": { - "type": "string", - "format": "date-time", - "additionalProperties": false - } - }, - "required": [ - "systemName", - "stationName", - "itemName", - "stationStock", - "sellPrice", - "demand", - "timestamp" - ] - } - }, - "required": [ - "$schemaRef", - "header", - "message" - ], - "definitions" : { - "levelType" : { - "enum": ["Low", "Med", "High"] - } - } -} \ No newline at end of file