Vehicle

  • The content provides details about a vehicle including its make, model, license plate, color, and an image.

  • The make, model, and licensePlate fields are required, while colorName and image are optional.

  • The make and model fields are strings that are displayed to the user and must be localized.

  • The image field is an optional object containing a URL to a photo of the vehicle in jpg or png format, displayed at approximately 256x256px.

Details about a vehicle

JSON representation
{
  "make": string,
  "model": string,
  "licensePlate": string,
  "colorName": string,
  "image": {
    object (Image)
  }
}
Fields
make

string

Vehicle make (e.g. "Honda"). This is displayed to the user and must be localized. Required.

model

string

Vehicle model (e.g. "Grom"). This is displayed to the user and must be localized. Required.

licensePlate

string

Vehicle license plate number (e.g. "1ABC234"). Required.

colorName

string

Vehicle color name, eg. black Optional.

image

object (Image)

URL to a photo of the vehicle. The photo will be displayed at approximately 256x256px. Must be a jpg or png. Optional.