-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathHybridDepots.dtd
30 lines (30 loc) · 952 Bytes
/
HybridDepots.dtd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://github.com/route4me/route4me-json-schemas/blob/master/HybridDepots.dtd",
"title": "Order",
"description": "Json schema for adding the depots to a Hybrid Optimization",
"type": "object",
"properties": {
"api_key": {
"type": "string",
"title": "API key",
"description": "User api key for a developer"
},
"optimization_problem_id": {
"type": "integer",
"title": "Optimization Problem ID",
"description": "Optimization problem ID (unique 32-char string)"
},
"delete_old_depots": {
"type": "boolean",
"title": "Delete Old Depots",
"description": "If true, the old depots will be deleted drom the Hybrid Optimization"
},
"new_depots": {
"type": "array",
"title": "New Depots",
"items": {"$ref": "https://github.com/route4me/route4me-json-schemas/blob/master/Address.dtd" },
"description": "Array of the Address objects"
}
}
}