From fd496a0e29d22951980f97cb2ed82f50a1b62910 Mon Sep 17 00:00:00 2001 From: AnthorNet Date: Wed, 15 Apr 2015 10:08:11 +0200 Subject: [PATCH] Update commoditiesName description - Update commoditiesName description. - Some refactoring --- schemas/commodity-v2.0-draft.json | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/schemas/commodity-v2.0-draft.json b/schemas/commodity-v2.0-draft.json index d51d342..d835d31 100644 --- a/schemas/commodity-v2.0-draft.json +++ b/schemas/commodity-v2.0-draft.json @@ -5,9 +5,7 @@ "additionalProperties" : false, "required" : [ "$schemaRef", "header", "message" ], "properties" : { - "$schemaRef" : { - "type" : "string" - }, + "$schemaRef" : { "type": "string" }, "header" : { "type" : "object", @@ -16,7 +14,7 @@ "uploaderID" : { "type": "string" }, "softwareName" : { "type": "string" }, "softwareVersion" : { "type": "string" }, - "gatewayTimestamp": { + "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." @@ -102,7 +100,7 @@ "biowaste", "chemical waste", "scrap", "toxic waste", "battle weapons", "non-lethal weapons", "personal weapons", "reactive armour" ], - "description": "Valid commodities names. Have to be lowercase." + "description": "Valid commodities names. Have to be lowercase (JSON schema doesn't propose insensitive validation)." } } } \ No newline at end of file