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

SetupPromptRequest

object
promptTypestringrequired

Type of prompt input for AI template generation

Allowed values:TEXTIMAGE

modelIdstring

Optional ID of the Bedrock model to use (e.g., “anthropic.claude-3-sonnet-20240229-v1:0”)

Match pattern:^[a-zA-Z0-9.\-:]+$

>= 1 characters<= 255 characters

Example:anthropic.claude-3-sonnet-20240229-v1:0

promptTextstringrequired

The input for AI template generation:

  • For promptType: TEXT - Plain text description of the inspection template
  • For promptType: IMAGE - Base64-encoded image data (JPEG or PNG) of an existing inspection form

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

>= 1 characters<= 10000000 characters

inferenceParametersobject

Optional dictionary to hold model-specific inference parameters (e.g., “temperature”, “max_tokens”, “top_p”)

Example:{"max_tokens":2000,"temperature":0.7,"top_p":0.9}

* Additional properties are allowed.
Example

InspectableId

string

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