Update commoditiesName description

- Update commoditiesName description.
- Some refactoring
This commit is contained in:
AnthorNet 2015-04-15 10:08:11 +02:00
parent bf7e64e97a
commit fd496a0e29

View File

@ -5,9 +5,7 @@
"additionalProperties" : false, "additionalProperties" : false,
"required" : [ "$schemaRef", "header", "message" ], "required" : [ "$schemaRef", "header", "message" ],
"properties" : { "properties" : {
"$schemaRef" : { "$schemaRef" : { "type": "string" },
"type" : "string"
},
"header" : { "header" : {
"type" : "object", "type" : "object",
@ -16,7 +14,7 @@
"uploaderID" : { "type": "string" }, "uploaderID" : { "type": "string" },
"softwareName" : { "type": "string" }, "softwareName" : { "type": "string" },
"softwareVersion" : { "type": "string" }, "softwareVersion" : { "type": "string" },
"gatewayTimestamp": { "gatewayTimestamp" : {
"type": "string", "type": "string",
"format": "date-time", "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." "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", "biowaste", "chemical waste", "scrap", "toxic waste",
"battle weapons", "non-lethal weapons", "personal weapons", "reactive armour" "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)."
} }
} }
} }