{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/crevio-co/json-schema/crevio-co-customer-request-schema.json",
  "title": "CustomerRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/crevio-co-customers-api-openapi.yml#/components/schemas/CustomerRequest",
  "type": "object",
  "properties": {
    "email": {
      "type": "string"
    },
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "first_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "last_name": {
      "type": [
        "string",
        "null"
      ]
    },
    "customer_type": {
      "type": "string",
      "enum": [
        "paid",
        "free",
        "lead"
      ]
    },
    "notes": {
      "type": [
        "string",
        "null"
      ]
    },
    "tag_ids": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}