{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/silvercar/json-schema/silvercar-contactless-contract-response-schema.json",
  "title": "ContactlessContractResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/silvercar-contactless-api-openapi.yml#/components/schemas/ContactlessContractResponse",
  "type": "object",
  "properties": {
    "agreement_url": {
      "type": "string"
    },
    "dealership_name": {
      "type": "string"
    },
    "drive_protection_selections": {
      "type": [
        "object",
        "null"
      ],
      "description": "Whether each drive protection insurance category is selected.",
      "required": [
        "collision_damage_warranty",
        "loss_damage_warranty",
        "renters_contingent_liability_insurance",
        "supplemental_liability_insurance"
      ],
      "properties": {
        "collision_damage_warranty": {
          "type": "boolean"
        },
        "loss_damage_warranty": {
          "type": "boolean"
        },
        "renters_contingent_liability_insurance": {
          "type": "boolean"
        },
        "supplemental_liability_insurance": {
          "type": "boolean"
        }
      }
    },
    "fuel": {
      "type": "string"
    },
    "fuel_percentage": {
      "type": "number",
      "format": "float"
    },
    "metric": {
      "type": "boolean"
    },
    "odometer": {
      "type": "object",
      "required": [
        "value",
        "unit"
      ],
      "properties": {
        "value": {
          "type": "number",
          "format": "float"
        },
        "unit": {
          "type": "string"
        }
      }
    },
    "signature": {
      "type": "boolean"
    },
    "toggles": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer"
          },
          "text": {
            "type": "string"
          },
          "order": {
            "type": "integer"
          }
        }
      }
    }
  }
}