{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/buildworkpro-com/json-schema/buildworkpro-com-me-schema.json",
  "title": "Me",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/buildworkpro-com-users-api-openapi.yml#/components/schemas/Me",
  "type": "object",
  "properties": {
    "keyId": {
      "type": [
        "integer",
        "null"
      ],
      "description": "API key id when the caller is an API key. Null for an OAuth access token."
    },
    "keyName": {
      "type": [
        "string",
        "null"
      ],
      "description": "API key name when the caller is an API key. Null for an OAuth access token."
    },
    "tenantId": {
      "type": "integer",
      "description": "Organization this credential is bound to."
    },
    "scopes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Scopes granted to this credential."
    }
  },
  "required": [
    "keyId",
    "keyName",
    "tenantId",
    "scopes"
  ]
}