{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/subcenter-io/json-schema/subcenter-io-person-schema.json",
  "title": "Person",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/subcenter-io-openapi.json#/components/schemas/Person",
  "type": "object",
  "properties": {
    "key": {
      "type": "string",
      "description": "Use with offboardPerson"
    },
    "name": {
      "type": "string"
    },
    "email": {
      "type": [
        "string",
        "null"
      ]
    },
    "member": {
      "type": "boolean"
    },
    "membership_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "role": {
      "type": [
        "string",
        "null"
      ]
    },
    "monthly_cost": {
      "type": "string"
    },
    "monthly_cost_cents": {
      "type": "integer"
    },
    "seats": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "seat_id": {
            "type": "string"
          },
          "tool_id": {
            "type": "string"
          },
          "tool_name": {
            "type": "string"
          },
          "ai": {
            "type": "boolean"
          }
        }
      }
    },
    "owned_tools": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        }
      }
    }
  }
}