{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/1password/json-schema/1password-account-schema.json",
  "title": "Account",
  "description": "Represents a partner billing account for a 1Password customer.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/1password-accounts-api-openapi.yml#/components/schemas/Account",
  "type": "object",
  "properties": {
    "account_uid": {
      "type": "string",
      "description": "The unique identifier for the customer's billing account."
    },
    "account_type": {
      "type": "string",
      "description": "The 1Password account type. I for individual, F for family.",
      "enum": [
        "I",
        "F"
      ]
    },
    "domain": {
      "type": "string",
      "description": "The domain associated with the customer's 1Password account."
    },
    "status": {
      "type": "string",
      "description": "The current status of the partner billing account.",
      "enum": [
        "entitled",
        "provisioned",
        "activated",
        "suspended",
        "deprovisioned"
      ]
    },
    "activation_token": {
      "type": "string",
      "description": "The unique activation token used to link the customer's 1Password account with their partner billing account. Append this to a 1Password partnership redemption link."
    },
    "ends_at": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the customer's account is scheduled to be removed from the partner billing service."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "The date and time the billing account was created."
    }
  }
}