{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/OperationCheckResult",
  "title": "OperationCheckResult",
  "required": [
    "operation",
    "targetType"
  ],
  "type": "object",
  "properties": {
    "operation": {
      "type": "string",
      "description": "The operation itself.",
      "enum": [
        "administer",
        "archive",
        "clear_permissions",
        "copy",
        "create",
        "create_space",
        "delete",
        "export",
        "move",
        "purge",
        "purge_version",
        "read",
        "restore",
        "restrict_content",
        "update",
        "use"
      ],
      "example": "administer"
    },
    "targetType": {
      "type": "string",
      "description": "The space or content type that the operation applies to. Could be one of- - application - page - blogpost - comment - attachment - space",
      "example": "example_value"
    }
  },
  "description": "An operation and the target entity that it applies to, e.g. create page."
}