{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-vault/json-schema/google-vault-hold-schema.json",
  "title": "Hold",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-vault-holds-api-openapi.yml#/components/schemas/Hold",
  "type": "object",
  "properties": {
    "holdId": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "corpus": {
      "type": "string",
      "enum": [
        "CORPUS_TYPE_UNSPECIFIED",
        "DRIVE",
        "MAIL",
        "GROUPS",
        "HANGOUTS_CHAT",
        "VOICE",
        "CALENDAR"
      ]
    },
    "query": {
      "type": "object"
    },
    "accounts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "accountId": {
            "type": "string"
          },
          "email": {
            "type": "string"
          }
        }
      }
    },
    "orgUnit": {
      "type": "object",
      "properties": {
        "orgUnitId": {
          "type": "string"
        },
        "holdTime": {
          "type": "string",
          "format": "date-time"
        }
      }
    },
    "updateTime": {
      "type": "string",
      "format": "date-time"
    }
  }
}