{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "projectId": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200,
      "description": "project ID from create/list."
    },
    "expectedRevision": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "Previously read revision; mismatches reject concurrent updates."
    },
    "reason": {
      "type": "string",
      "minLength": 1,
      "maxLength": 500,
      "description": "reason; see schema."
    },
    "level": {
      "type": "string",
      "enum": [
        "project",
        "workspace"
      ],
      "description": "level; see schema."
    },
    "expectedSettingsRevision": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991,
      "description": "expected settings revision; see schema."
    },
    "settings": {
      "type": "object",
      "properties": {
        "taxonomyVersion": {
          "type": "string",
          "minLength": 1,
          "maxLength": 200
        },
        "roleAliases": {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          }
        },
        "roleGroups": {
          "type": "object",
          "propertyNames": {
            "type": "string"
          },
          "additionalProperties": {
            "type": "string",
            "minLength": 1,
            "maxLength": 64
          }
        },
        "hiddenRoleIds": {
          "maxItems": 20,
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          }
        },
        "roleOrder": {
          "maxItems": 20,
          "type": "array",
          "items": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200
          }
        },
        "suggestionsPaused": {
          "type": "boolean"
        },
        "automaticLabels": {
          "type": "boolean",
          "const": false
        },
        "renderedImages": {
          "type": "boolean",
          "const": false
        },
        "semanticAlerts": {
          "type": "boolean",
          "const": false
        },
        "feedbackReuse": {
          "type": "boolean",
          "const": false
        }
      },
      "additionalProperties": false,
      "description": "settings; see schema."
    }
  },
  "required": [
    "projectId",
    "expectedRevision",
    "reason",
    "level",
    "expectedSettingsRevision",
    "settings"
  ],
  "additionalProperties": false
}
