{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "imported": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "deduplicated": {
      "type": "integer",
      "minimum": 0,
      "maximum": 9007199254740991
    },
    "total": {
      "type": "integer",
      "exclusiveMinimum": 0,
      "maximum": 9007199254740991
    },
    "charged_units": {
      "type": "number",
      "const": 0
    },
    "observations": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "minLength": 1,
            "maxLength": 200,
            "description": "Resource identifier returned by the operation."
          },
          "created": {
            "type": "boolean",
            "description": "True when this request created the record; false when an existing record was reused."
          },
          "evidence_status": {
            "type": "string",
            "enum": [
              "retained",
              "expired"
            ]
          },
          "sha256": {
            "type": "string",
            "pattern": "^[a-f0-9]{64}$"
          },
          "expires_at": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "created",
          "evidence_status",
          "sha256",
          "expires_at"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "imported",
    "deduplicated",
    "total",
    "charged_units",
    "observations"
  ],
  "additionalProperties": {}
}
