Inspectable

object

Asset under inspection

* Additional properties are NOT allowed.
inspectableTypestring

Type of an inspectable asset.

  • VEHICLE when Vehicle is inspected
  • POWERED_ASSET when assets that have a power source is inspected
  • NON_POWERED_ASSET when assets that do not have a power source is inspected

Allowed values:VEHICLEPOWERED_ASSETNON_POWERED_ASSET

inspectableRegistrationNumberstringread-only

Registration number of the asset

Match pattern:^[^\n]*$

>= 0 characters<= 120 characters

inspectableNamestringread-only

Name of the asset

Match pattern:^[^\n]*$

>= 0 characters<= 120 characters

inspectableIdstring

Unique ID for an inspectable, i.e. asset/vehicle (asset ID/vehicle ID).

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

>= 1 characters<= 120 characters

inspectableIdentificationNumberstringread-only

Identification number of the asset

Match pattern:^[^\n]*$

>= 0 characters<= 120 characters

Example

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