{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cubic-dev/json-schema/cubic-dev-member-list-schema.json",
  "title": "MemberList",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cubic-dev-openapi.yml#/components/schemas/MemberList",
  "type": "object",
  "properties": {
    "members": {
      "type": "array",
      "items": {
        "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
      }
    },
    "nextCursor": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "members",
    "nextCursor"
  ],
  "additionalProperties": false
}