{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wso2/main/json-schema/wso2-organization-schema.json",
  "title": "Organization",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wso2-organizations-api-openapi.yml#/components/schemas/Organization",
  "required": [
    "externalOrganizationId"
  ],
  "type": "object",
  "properties": {
    "organizationId": {
      "type": "string",
      "readOnly": true,
      "description": "UUID of the organization.\n"
    },
    "externalOrganizationId": {
      "type": "string",
      "description": "External id of the organization.\n"
    },
    "parentOrganizationId": {
      "type": "string",
      "readOnly": true,
      "description": "UUID of the parent organization if there is any.\n"
    },
    "displayName": {
      "maxLength": 255,
      "minLength": 1,
      "type": "string"
    },
    "description": {
      "maxLength": 1023,
      "type": "string"
    }
  }
}