{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "HummblMediaReceipt",
  "description": "Cryptographic delivery receipt for media packets emitted by hummbl-media",
  "type": "object",
  "required": [
    "packet_slug",
    "profile_id",
    "timestamp",
    "sha256_hash",
    "byte_size",
    "quality_metrics",
    "verified"
  ],
  "properties": {
    "packet_slug": {
      "type": "string"
    },
    "profile_id": {
      "type": "string"
    },
    "timestamp": {
      "type": "string"
    },
    "sha256_hash": {
      "type": "string"
    },
    "byte_size": {
      "type": "integer"
    },
    "quality_metrics": {
      "type": "object",
      "properties": {
        "lufs": {
          "type": "number"
        },
        "vmaf": {
          "type": "number"
        }
      }
    },
    "verified": {
      "type": "boolean"
    }
  }
}
