{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cubic-dev/json-schema/cubic-dev-organization-member-schema.json",
  "title": "OrganizationMember",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cubic-dev-openapi.yml#/components/schemas/OrganizationMember",
  "type": "object",
  "properties": {
    "githubUserId": {
      "type": "string"
    },
    "githubLogin": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "workEmail": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "role": {
      "type": "string",
      "enum": [
        "member",
        "admin",
        "viewer"
      ]
    },
    "seat": {
      "type": "boolean"
    },
    "isBot": {
      "type": "boolean"
    }
  },
  "required": [
    "githubUserId",
    "githubLogin",
    "workEmail",
    "role",
    "seat",
    "isBot"
  ],
  "additionalProperties": false
}