InspectableType

string

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

Report

object

Inspection details of a vehicle or other asset

* Additional properties are NOT allowed.
submittedAtstring(date-time)required

Report submitted time as UTC in RFC 3339-ISO8601 internet profile

>= 24 characters<= 24 characters

templateIdstringrequired

Unique identifier for a given resource.

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

>= 1 characters<= 120 characters

inspectableobjectrequired

Asset under inspection

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

Overall status of all related CRITICAL defects. Calculated only when relatedDefects are included into the response.

  • PASSED when no CRITICAL defects were reported
  • FAILED when at least one reported CRITICAL defect is PENDING
  • RESOLVED when all CRITICAL defects are FIXED or CERTIFIED and at least one has status FIXED
  • CERTIFIED when all reported CRITICAL defects are CERTIFIED

Allowed values:PASSEDFAILEDRESOLVEDCERTIFIED

Match pattern:^[^\n]+$

>= 1 characters<= 120 characters

analyticsEventsarray[object]

Named occurrence at an instant in time. It provides additional specifics about the occurrence.
Examples of Events might include things like uncaught exceptions, button clicks, user logout, network connection severed, etc.

>= 0 items<= 100 items

* Additional properties are NOT allowed.
Show Child Parameters
reportTypestringrequired

Type of the inspection report.

Allowed values:PRE_TRIPPOST_TRIP

reportIdstringread-only

Unique identifier for a report.

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

>= 1 characters<= 120 characters

resultsarray[object]requiredunique-items

Template Item result within a given report.

>= 0 items<= 100 items

* Additional properties are NOT allowed.
Show Child Parameters
defectsarray[object]unique-items

Defects related to the report outside of results

>= 0 items<= 100 items

* Additional properties are NOT allowed.
Show Child Parameters
attachmentsOne Of
arrayunique-items

Attachments in the report

>= 0 items<= 100 items

Attachmentobjectread-only

Attachment related to the report

* Additional properties are allowed.
Show Child Parameters
commentstring

Notes about the report

Match pattern:^[^\n]*$

>= 0 characters<= 2000 characters

operatorobjectrequired

Person performing an inspection

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

Reference to another resource

>= 0 items<= 100 items

* Additional properties are NOT allowed.
Show Child Parameters
inspectionTypestringrequired

An inspectionType can be of an enum

Allowed values:DVIR

Example

Report Item Result

object

Template Item result within a given report.

* Additional properties are NOT allowed.
templateItemIdstringrequired

Unique identifier for a given resource.

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

>= 1 characters<= 120 characters

attachmentsarray[object]unique-items

Attachment related to the report item result

>= 0 items<= 1 items

Show Child Parameters
resultTypestringrequired

Result of the Report Item.

Allowed values:OKDEFECT

resultIdstringread-only

Unique identifier of a report which the Item belongs to.

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

>= 1 characters<= 120 characters

resultValuestring

Result outcome, depends on the Report Item type. Not applicable to CHECK items.

Match pattern:^[^\n]*$

>= 0 characters<= 256 characters

defectsarray[object]unique-items

Defect related to the report item

>= 0 items<= 100 items

* Additional properties are NOT allowed.
Show Child Parameters
Example

ItemsSelectionType

string

Determines how inspection items will be presented to the drivers on the user interface. Specifies whether drivers need to confirm only defective items or must verify all inspection items regardless of condition before submitting the report.

Types of template:

  • SELECT_DEFECTS_ONLY Requires driver to selects only the defective inspection items from the user interface during the creation of an inspection report,
  • SELECT_ALL_ITEMS Requires driver to check and selects all inspection items from the user interface during the creation of an inspection report

Allowed values:SELECT_DEFECTS_ONLYSELECT_ALL_ITEMS

DefectSearch

object

Schema for searching defects based on defect IDs.

* Additional properties are NOT allowed.
conditionsarray[object]required

Group of conditions to filter by the resource representation.

>= 1 items<= 100 items

Show Child Parameters
fieldsarray[string]required

Field or property name to be returned in the resource representation.

Match pattern:^(defectId|status|severity)$

>= 1 characters<= 120 characters>= 1 items<= 8 items

Example