{
  "type": "object",
  "properties": {
    "archiveId": {
      "type": "string"
    },
    "version": {
      "type": "integer",
      "minimum": 1
    },
    "syntax": {
      "type": "string",
      "enum": [
        "ASN1_ERS",
        "XMLERS"
      ]
    },
    "mediaType": {
      "type": "string"
    },
    "downloadReference": {
      "type": "string",
      "format": "uri-reference"
    },
    "digest": {
      "$ref": "Digest.json"
    },
    "policyHistory": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "archiveId",
    "version",
    "syntax",
    "downloadReference"
  ],
  "additionalProperties": false,
  "examples": [
    {
      "archiveId": "arc-test-001",
      "version": 1,
      "syntax": "ASN1_ERS",
      "mediaType": "application/octet-stream",
      "downloadReference": "/v1/downloads/evidence-test-001",
      "digest": {
        "algorithm": "SHA-256",
        "value": "0000000000000000000000000000000000000000000000000000000000000000"
      },
      "policyHistory": [
        "policy-test-v1"
      ]
    }
  ]
}
