{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/daon/json-schema/daon-archive-policy-response-schema.json",
  "title": "ArchivePolicyResponse",
  "description": "The Archive Policy.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/daon-archive-policies-api-openapi.yml#/components/schemas/ArchivePolicyResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The autogenerated id of the Archive Policy."
    },
    "name": {
      "type": "string",
      "description": "The Archive Policy name."
    },
    "version": {
      "type": "integer",
      "format": "int32",
      "description": "The Archive Policy version."
    },
    "description": {
      "type": "string",
      "description": "The Archive Policy description."
    },
    "publicKey": {
      "type": "string",
      "description": "Base64 encoded public key data."
    },
    "publicKeyFormat": {
      "type": "string",
      "description": "Public key format."
    },
    "passphrase": {
      "type": "string",
      "description": "Archive Policy passphrase."
    },
    "cloudFunctionId": {
      "type": "string",
      "description": "Optional cloud function id."
    },
    "cloudFunctionName": {
      "type": "string",
      "description": "Optional cloud function name."
    },
    "cloudFunctionVersion": {
      "type": "integer",
      "format": "int32",
      "description": "Optional cloud function version."
    },
    "retentionDays": {
      "type": "integer",
      "format": "int32",
      "description": "The number of days to retain archived data."
    },
    "createdDtm": {
      "type": "string",
      "format": "date-time",
      "description": "The created date time."
    },
    "createdBy": {
      "type": "string",
      "description": "The creator of the Archive Policy."
    },
    "lastUpdatedDtm": {
      "type": "string",
      "format": "date-time",
      "description": "The last updated date time."
    },
    "lastUpdatedBy": {
      "type": "string",
      "description": "The last updater of the Archive Policy."
    }
  }
}