{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/argyle9a25/json-schema/argyle9a25-vehicle-schema.json",
  "title": "Vehicle",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/argyle9a25-vehicles-api-openapi.yml#/components/schemas/Vehicle",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "Unique ID of the vehicle."
    },
    "account": {
      "type": "string",
      "format": "uuid",
      "description": "ID of the account associated with the vehicle."
    },
    "identification": {
      "type": "string",
      "description": "License plate number or similar vehicle identifier."
    },
    "make": {
      "type": "string",
      "description": "Vehicle brand or manufacturer."
    },
    "model": {
      "type": "string",
      "description": "Vehicle model."
    },
    "type": {
      "type": "string",
      "enum": [
        "car",
        "pedestrian",
        "ebike",
        "bicycle",
        "scooter",
        "motorcycle",
        "other"
      ],
      "description": "The type of vehicle."
    },
    "year": {
      "type": "string",
      "description": "Year the vehicle was made."
    },
    "vin": {
      "type": "string",
      "description": "Vehicle Identification Number (VIN)."
    },
    "employer": {
      "type": "string",
      "description": "Name of the user's employer."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp ([ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)) when the vehicle object was created."
    },
    "updated_at": {
      "type": "string",
      "format": "date-time",
      "description": "Timestamp ([ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)) when a property value of the vehicle object most recently changed."
    },
    "metadata": {
      "type": "object",
      "description": "Additional, non-categorized information."
    }
  }
}