-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathVehicleCapacityProfilesV5.dtd
82 lines (82 loc) · 2.1 KB
/
VehicleCapacityProfilesV5.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://github.com/route4me/route4me-json-schemas/blob/master/VehiclesCapacityProfilesV5.dtd",
"title": "Vehicle Capacity Profiles V5",
"type": "object",
"description": "The paginated list of vehicle capacity profiles' object. Endpoint: https://wh.route4me.com/modules/api/v5.0/vehicle-capacity-profiles",
"properties": {
"data": {
"type": "array",
"items": {"$ref": "https://raw.githubusercontent.com/route4me/route4me-json-schemas/master/VehicleCapacityProfileV5.json"}
},
"links": {
"type": "object",
"properties": {
"first": {
"type": "string",
"nullable": true,
"title": "First",
"description": "URL to the first page."
},
"last": {
"type": "string",
"nullable": true,
"title": "Last",
"description": "URL to the last page."
},
"prev": {
"type": "string",
"nullable": true,
"title": "Previos",
"description": "URL to the previous page."
},
"next": {
"type": "string",
"nullable": true,
"title": "Next",
"description": "URL to the next page."
}
}
},
"meta": {
"type": "object",
"properties": {
"current_page": {
"type": "integer",
"title": "Current Page",
"description": "Current page number"
},
"from": {
"type": "integer",
"title": "From",
"description": "From which vehicle is starting the page."
},
"last_page": {
"type": "integer",
"title": "Last Page",
"description": "Last page in the vehicles collection."
},
"path": {
"type": "string",
"title": "Path",
"descrption": "Path to the API endpoint."
},
"per_page": {
"type": "integer",
"title": "Per Page",
"descrption": "Number of the vehicle capacity profiles per page."
},
"to": {
"type": "integer",
"title": "To",
"descrption": "To which vehicle capacity profile is ending the page."
},
"total": {
"type": "integer",
"title": "Total",
"descrption": "Total number of the vehicle capacity profiles."
}
}
}
}
}