{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/carbon-arc/json-schema/carbon-arc-grant-dataset-response-schema.json",
  "title": "GrantDatasetResponse",
  "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/GrantDatasetResponse",
  "properties": {
    "dataset_id": {
      "type": "string",
      "title": "Dataset Id"
    },
    "principal_name": {
      "type": "string",
      "title": "Principal Name"
    },
    "principal_role": {
      "type": "string",
      "title": "Principal Role"
    },
    "catalog_role": {
      "type": "string",
      "title": "Catalog Role"
    },
    "catalog": {
      "type": "string",
      "title": "Catalog"
    },
    "tables_granted": {
      "type": "integer",
      "title": "Tables Granted"
    },
    "tables_skipped": {
      "type": "integer",
      "title": "Tables Skipped"
    },
    "skipped_catalogs": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Skipped Catalogs"
    }
  },
  "type": "object",
  "required": [
    "dataset_id",
    "principal_name",
    "principal_role",
    "catalog_role",
    "catalog",
    "tables_granted",
    "tables_skipped",
    "skipped_catalogs"
  ]
}