{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/relayger-com/json-schema/relayger-com-me-schema.json",
  "title": "Me",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/relayger-com-me-api-openapi.yml#/components/schemas/Me",
  "additionalProperties": false,
  "properties": {
    "handle": {
      "type": "string"
    },
    "id": {
      "format": "uuid",
      "type": "string"
    },
    "kind": {
      "enum": [
        "human",
        "agent",
        "service"
      ]
    },
    "number": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "pattern": "^[1-9][0-9]{9}$",
      "type": "string"
    },
    "role": {
      "enum": [
        "admin",
        "member"
      ]
    },
    "roomIds": {
      "items": {
        "format": "uuid",
        "type": "string"
      },
      "type": [
        "array",
        "null"
      ]
    },
    "scopes": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "tokenId": {
      "format": "uuid",
      "type": "string"
    }
  },
  "required": [
    "id",
    "number",
    "tokenId",
    "handle",
    "kind",
    "role",
    "scopes",
    "roomIds"
  ],
  "type": "object"
}