{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/johnsessentials-com/json-schema/johnsessentials-com-organization-summary-schema.json",
  "title": "OrganizationSummary",
  "description": "One organization the API key's owner belongs to.",
  "x-generated": "2026-11-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/johnsessentials-com-openapi.json#/components/schemas/OrganizationSummary",
  "properties": {
    "id": {
      "format": "uuid",
      "type": "string"
    },
    "is_current": {
      "description": "True for the owner's default/active organization.",
      "type": "boolean"
    },
    "name": {
      "type": "string"
    },
    "role": {
      "description": "The key owner's role in this org.",
      "enum": [
        "owner",
        "admin",
        "member",
        "viewer"
      ],
      "type": "string"
    },
    "tier": {
      "description": "The org's plan; every active seat inherits this tier.",
      "enum": [
        "free",
        "starter",
        "business",
        "enterprise"
      ],
      "type": "string"
    }
  },
  "required": [
    "id",
    "name",
    "tier",
    "role",
    "is_current"
  ],
  "type": "object"
}