{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/silvercar/json-schema/silvercar-admin-remote-profile-response-schema.json",
  "title": "AdminRemoteProfileResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/silvercar-customers-api-openapi.yml#/components/schemas/AdminRemoteProfileResponse",
  "type": "object",
  "required": [
    "phone_number",
    "dealership",
    "reservation_id"
  ],
  "properties": {
    "phone_number": {
      "type": "string",
      "description": "the phone number the text was sent to"
    },
    "reservation_id": {
      "type": [
        "integer",
        "null"
      ],
      "description": "reservation id associated with the MCI profile link, if present"
    },
    "customer": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "description": "ID of the customer"
        },
        "dealership_id": {
          "type": "integer",
          "description": "ID of the dealership"
        },
        "billing_service_customer_id": {
          "type": "integer",
          "description": "ID of the billing service customer"
        },
        "first_name": {
          "type": "string",
          "description": "first name of the customer"
        },
        "last_name": {
          "type": "string",
          "description": "last name of the customer"
        },
        "language": {
          "type": "string",
          "description": "language of the customer"
        },
        "phone_number": {
          "type": "string",
          "description": "phone number of the customer"
        },
        "email": {
          "type": "string",
          "description": "email of the customer"
        },
        "ccpa": {
          "type": "boolean",
          "description": "ccpa of the customer"
        }
      }
    },
    "dealership": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer"
        },
        "insurance_form_provider": {
          "type": "string"
        },
        "metric": {
          "type": "boolean"
        },
        "name": {
          "type": "string"
        },
        "phone_number": {
          "type": "string",
          "description": "phone number of the dealership"
        },
        "salesforce_id": {
          "type": "string",
          "description": "salesforce id of the dealership"
        },
        "time_zone": {
          "type": "string",
          "description": "name of the time zone of the dealership"
        },
        "settings": {
          "type": "object",
          "properties": {
            "created_at": {
              "type": "string"
            },
            "currency_code": {
              "type": "string"
            },
            "embedded_telematics_provider": {
              "type": "string"
            },
            "managed_toggles": {
              "type": "boolean"
            },
            "metric": {
              "type": "boolean"
            },
            "notification_method": {
              "type": "string"
            },
            "prevailing_rate": {
              "type": "number"
            },
            "contract_required": {
              "type": "boolean"
            },
            "confirm_res_modify": {
              "type": "boolean"
            },
            "telematics_enabled": {
              "type": "boolean"
            },
            "updated_at": {
              "type": "string"
            },
            "task_management_enabled": {
              "type": "boolean"
            },
            "pickup_and_delivery": {
              "type": "object",
              "properties": {
                "valet_tasks_enabled": {
                  "type": "boolean"
                },
                "radius": {
                  "type": "object",
                  "properties": {
                    "enabled": {
                      "type": "boolean"
                    },
                    "value": {
                      "type": "integer"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}