Raw schema
{
"type": "object",
"properties": {
"state": {
"description": "Issue state.",
"type": "string",
"enum": [
"open",
"resolved",
"closed"
]
},
"vehicle_id": {
"description": "Vehicle id",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"equipment_id": {
"description": "Equipment id",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"reported_by_id": {
"description": "Reporter (contact) id",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"number": {
"description": "Issue number",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"reported_at_after": {
"description": "Only records with report time at or after this moment (ISO 8601).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,9})?)?(?:Z|[+-]\\d{2}:\\d{2})?)?$"
},
"reported_at_before": {
"description": "Only records with report time at or before this moment (ISO 8601).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,9})?)?(?:Z|[+-]\\d{2}:\\d{2})?)?$"
},
"due_date_after": {
"description": "Only records with due date at or after this moment (ISO 8601).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,9})?)?(?:Z|[+-]\\d{2}:\\d{2})?)?$"
},
"due_date_before": {
"description": "Only records with due date at or before this moment (ISO 8601).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,9})?)?(?:Z|[+-]\\d{2}:\\d{2})?)?$"
},
"created_at_after": {
"description": "Only records with creation time at or after this moment (ISO 8601).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,9})?)?(?:Z|[+-]\\d{2}:\\d{2})?)?$"
},
"created_at_before": {
"description": "Only records with creation time at or before this moment (ISO 8601).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,9})?)?(?:Z|[+-]\\d{2}:\\d{2})?)?$"
},
"updated_at_after": {
"description": "Only records with last update time at or after this moment (ISO 8601).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,9})?)?(?:Z|[+-]\\d{2}:\\d{2})?)?$"
},
"updated_at_before": {
"description": "Only records with last update time at or before this moment (ISO 8601).",
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}(?:T\\d{2}:\\d{2}(?::\\d{2}(?:\\.\\d{1,9})?)?(?:Z|[+-]\\d{2}:\\d{2})?)?$"
},
"sort_by": {
"description": "Sort field (default: Fleetio's default order). One of: due_date, resolved_at, reported_at, updated_at, created_at, id.",
"type": "string",
"enum": [
"due_date",
"resolved_at",
"reported_at",
"updated_at",
"created_at",
"id"
]
},
"sort_direction": {
"description": "Sort direction (default asc; used with sort_by).",
"type": "string",
"enum": [
"asc",
"desc"
]
},
"per_page": {
"description": "Records per page, 2-100 (default 25).",
"type": "integer",
"minimum": 2,
"maximum": 100
},
"start_cursor": {
"description": "Cursor from the previous reply's next_cursor; omit for the first page.",
"type": "string",
"maxLength": 1000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}