{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/carbon-arc/json-schema/carbon-arc-revoke-dataset-request-schema.json",
  "title": "RevokeDatasetRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/carbon-arc-polaris-api-openapi.yml#/components/schemas/RevokeDatasetRequest",
  "properties": {
    "principal_name": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1,
      "pattern": "^[a-zA-Z0-9_-]+$",
      "title": "Principal Name"
    },
    "catalog": {
      "type": "string",
      "maxLength": 64,
      "minLength": 1,
      "pattern": "^[a-z0-9_]+$",
      "title": "Catalog",
      "description": "Catalog of the SKU to revoke (e.g. 'sample', 'bulk'). Required — the exact SKU comes from the caller; power-api never infers it."
    },
    "lag": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Lag"
    },
    "cut": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cut"
    }
  },
  "type": "object",
  "required": [
    "principal_name",
    "catalog"
  ]
}