{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/coincover/main/json-schema/coincover-secure-data-response-schema.json",
  "title": "SecureDataResponse",
  "x-generated": "2026-10-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/coincover-institutional-openapi-openapi.json#/components/schemas/SecureDataResponse",
  "type": "object",
  "properties": {
    "backup_id": {
      "type": "string",
      "format": "uuid",
      "description": "Unique identifier for the stored backup"
    },
    "checksum": {
      "type": "string",
      "description": "SHA-256 checksum that was verified"
    },
    "data_size": {
      "type": "integer",
      "description": "Size of the encrypted data in bytes"
    },
    "backup_type": {
      "type": "string",
      "enum": [
        "data"
      ],
      "description": "Type of backup (always 'data' for secure-data endpoint)"
    },
    "metadata": {
      "type": "object",
      "description": "Combined metadata including original metadata"
    }
  }
}