Identifier

string

Unique identifier for a given resource.

Match pattern:^[A-Za-z0-9-]{1,120}$

>= 1 characters<= 120 characters

AI Generated Template Response

object

AI-generated inspection template

* Additional properties are NOT allowed.
commentstring

Notes about the template

Match pattern:^(?!\s)(?!.*\s$)[\S\s]+(?<!\s)$

>= 0 characters<= 120 characters

namestring

Name of the generated template

Match pattern:^\S[^\n]+\S$

>= 3 characters<= 60 characters

fallabckInspectablestring

Name of the inspectable to use as a fallback when no specific inspectable is identified

Match pattern:^\S[^\n]+\S$

>= 3 characters<= 60 characters

templateItemsarray[object]

List of template items generated by AI

>= 0 items<= 200 items

Show Child Parameters
Example

Template Item

object

An item can be of a valueType and is uniquely identified by the name

* Additional properties are NOT allowed.
templateItemIdstringread-only

Unique identifier for a template item.

Match pattern:^[A-Za-z0-9-]{1,120}$

>= 1 characters<= 120 characters

valueTypestringrequired

Defines the type of data element within a template

Allowed values:CHECKMETERTEXTLOCATIONPHOTO

namestringrequired

Unique name of the template item.

Match pattern:^\S[^\n]+\S$

>= 3 characters<= 120 characters

commentstring

Additional information on the item

Match pattern:^(?!\s)(?!.*\s$)[\S\s]+(?<!\s)$

>= 0 characters<= 2000 characters

requireValueboolean

Marks template item as mandatory to fill in on every report based on the template

tagsarray[string]read-onlyunique-items

Individual label or attribute of an item

Match pattern:^\S[^\n]*\S$

>= 1 characters<= 80 characters>= 0 items<= 1 items

Example

Defect

object

Defect details of a vehicle or other asset

* Additional properties are NOT allowed.
severitystring

Severity of the defect.

Allowed values:MINORCRITICAL

attachmentsarray[object]unique-items

Attachment related to the defect

>= 1 items<= 100 items

* Additional properties are NOT allowed.
Show Child Parameters
statusstringrequired

Type of the defect.

Allowed values:PENDINGFIXEDCERTIFIED

inspectableobjectrequired

Asset under inspection

* Additional properties are NOT allowed.
Show Child Parameters
reportResultsarray[object]read-onlyunique-items

Report items related to the defect

>= 0 items<= 200 items

* Additional properties are NOT allowed.
Show Child Parameters
defectIdstringread-only

Unique identifier of a defect.

Match pattern:^[A-Za-z0-9-]{1,120}$

>= 1 characters<= 120 characters

etagstringread-only

ETag as described in RFC 9110

Match pattern:^[A-Za-z0-9-]+$

>= 1 characters<= 120 characters

commentstring

Notes about the defect

Match pattern:^[^\n]*$

>= 0 characters<= 2000 characters

linksarray[object]read-onlyunique-items

Reference to another resource

>= 0 items<= 100 items

* Additional properties are NOT allowed.
Show Child Parameters
statusHistoryarray[object]read-onlyunique-items

Defect status change information

>= 1 items<= 100 items

* Additional properties are NOT allowed.
Show Child Parameters
Example

InsightsCategory

string

Represents the category of vehicle insights to retrieve. Allowed values:

  • ACTIVE: Vehicles that are currently active.
  • INSPECTED: Vehicles that have inspections for all their active days.
  • NO_INSPECTION: Vehicles that have no inspections during any of their active days.
  • PARTIAL: Vehicles that have inspections on some, but not all, of their active days.

Allowed values:ACTIVEINSPECTEDNO_INSPECTIONPARTIAL