mirror of
https://github.com/EDCD/EDDN.git
synced 2025-06-10 04:12:22 +03:00
Update commoditiesName description
- Update commoditiesName description. - Some refactoring
This commit is contained in:
parent
bf7e64e97a
commit
fd496a0e29
@ -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)."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user