{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/kognitos/json-schema/kognitos-v1-current-user-organizations-response-schema.json",
  "title": "v1CurrentUserOrganizationsResponse",
  "description": "Response message for listing organizations for the current user.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/kognitos-organizations-api-openapi.yml#/components/schemas/v1CurrentUserOrganizationsResponse",
  "type": "object",
  "properties": {
    "user_organizations": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/v1Organization"
      },
      "description": "The list of organizations the current user is a member of."
    },
    "next_page_token": {
      "type": "string",
      "description": "A token to retrieve the next page of results.\nPass this value in the `page_token` field in the subsequent call to\n`CurrentUserOrganizations` to get the next page of results. If this field is\nempty, it means there are no more results."
    }
  },
  "$defs": {
    "v1Organization": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "description": "The resource name of the organization.\nFormat: organizations/{organization_id}\nThis field is assigned by the server at creation and is immutable thereafter.\nClients may include this field in Get/Update/Delete requests to identify the resource."
        },
        "title": {
          "type": "string",
          "description": "The user-defined display name for the organization."
        },
        "logo_data_uri": {
          "type": "string",
          "title": "The organization logo as a data URI following RFC 2397.\nFormat: data:[<mediatype>][;encoding],<data>\nExample: data:image/png;encoding,<encoded-image-data>"
        },
        "create_time": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp when the organization was created.",
          "readOnly": true
        },
        "update_time": {
          "type": "string",
          "format": "date-time",
          "description": "The timestamp when the organization was last updated.",
          "readOnly": true
        },
        "owner_display_name": {
          "type": "string",
          "description": "The display name of the organization owner.",
          "readOnly": true
        },
        "owner_email": {
          "type": "string",
          "description": "The email address of the organization owner.",
          "readOnly": true
        }
      },
      "description": "An Organization is the top-level resource container.",
      "required": [
        "title"
      ]
    }
  }
}