-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathVehicles_paginated.dtd
68 lines (68 loc) · 1.71 KB
/
Vehicles_paginated.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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://github.com/route4me/route4me-json-schemas/blob/master/Vehicles_paginated.dtd",
"title": "Vehicles Paginated",
"type": "object",
"description": "Vehicles response with pagination. Endpoint: url: https://api.route4me.com/api/vehicles",
"properties": {
"current_page": {
"type": "integer",
"title": "Current page",
"descrption": "Current page in the vehicles collection"
},
"data": {
"type": "array",
"items": {"$ref": "https://github.com/route4me/route4me-json-schemas/blob/master/Vehicle_V4.dtd"}
},
"first_page_url": {
"type": "string",
"title": "First Page URL",
"descrption": "URL to the first page"
},
"from": {
"type": "integer",
"title": "From",
"descrption": "From which vehicle is starting the page"
},
"last_page": {
"type": "integer",
"title": "Last Page",
"descrption": "Last page in the vehicles collection"
},
"last_page_url": {
"type": "string",
"title": "Last Page URL",
"descrption": "URL to the last page"
},
"next_page_url": {
"type": "string",
"title": "Next Page URL",
"descrption": "URL to the next page"
},
"path": {
"type": "string",
"title": "Path",
"descrption": "Path to the API endpoint"
},
"per_page": {
"type": "integer",
"title": "Per Page",
"descrption": "Vehicles number per page"
},
"prev_page_url": {
"type": "string",
"title": "Previous Page URL",
"descrption": "URL to the previous page"
},
"to": {
"type": "integer",
"title": "To",
"descrption": "To which vehicle is ending the page"
},
"total": {
"type": "integer",
"title": "Total",
"descrption": "Total number of the vehicles"
}
}
}