{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/red-hat-openshift/json-schema/red-hat-openshift-self-resource-review-schema.json",
  "title": "SelfResourceReview",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/red-hat-openshift-ocm-authorizations-openapi.yml#/components/schemas/SelfResourceReview",
  "properties": {
    "action": {
      "enum": [
        "get",
        "list",
        "create",
        "delete",
        "update"
      ],
      "type": "string"
    },
    "cluster_ids": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "cluster_uuids": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "organization_ids": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "resource_type": {
      "enum": [
        "Cluster",
        "Subscription"
      ],
      "type": "string"
    },
    "subscription_ids": {
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "required": [
    "action",
    "cluster_ids",
    "cluster_uuids",
    "organization_ids",
    "resource_type",
    "subscription_ids"
  ],
  "type": "object"
}