{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/componecat-ai/json-schema/componecat-ai-organization-user-resource-schema.json",
  "title": "OrganizationUserResource",
  "description": "An organization member as returned by the REST endpoints. A pending invitation has a null\nGuid? OrganizationUserResource.Id and DateTimeOffset? OrganizationUserResource.CreatedAt and a `PENDING`string OrganizationUserResource.Status.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/componecat-ai-organization-users-api-openapi.yml#/components/schemas/OrganizationUserResource",
  "required": [
    "id",
    "email",
    "firstName",
    "lastName",
    "imageUrl",
    "role",
    "status",
    "createdAt",
    "membershipCreatedAt"
  ],
  "type": "object",
  "properties": {
    "id": {
      "type": [
        "null",
        "string"
      ],
      "format": "uuid"
    },
    "email": {
      "type": [
        "null",
        "string"
      ]
    },
    "firstName": {
      "type": [
        "null",
        "string"
      ]
    },
    "lastName": {
      "type": [
        "null",
        "string"
      ]
    },
    "imageUrl": {
      "type": [
        "null",
        "string"
      ]
    },
    "role": {
      "type": "string"
    },
    "status": {
      "type": "string"
    },
    "createdAt": {
      "type": [
        "null",
        "string"
      ],
      "format": "date-time"
    },
    "membershipCreatedAt": {
      "type": "string",
      "format": "date-time"
    }
  }
}