{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/we-inc/json-schema/we-inc-client-schema.json",
  "title": "Client",
  "x-generated": "2026-11-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/we-inc-openapi.json#/components/schemas/Client",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "email": {
      "type": "string",
      "format": "email"
    },
    "name": {
      "type": [
        "string",
        "null"
      ]
    },
    "company": {
      "type": [
        "string",
        "null"
      ]
    },
    "status": {
      "type": "string",
      "enum": [
        "invited",
        "active",
        "suspended",
        "churned"
      ]
    },
    "plan_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "payment_status": {
      "type": "string",
      "enum": [
        "none",
        "active",
        "past_due",
        "canceled"
      ]
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  }
}