{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Device app. The fixed composition version, CID, size, sha256 and download URL of one delivery. Cancelled or expired unreceived deliveries have no manifest; received versions remain accessible after retry expiry. The file and a new acknowledgement follow the same access rule.",
      "errors": [
        {
          "name": "NotMember"
        },
        {
          "name": "DeliveryNotFound"
        },
        {
          "name": "NotDevice"
        },
        {
          "name": "DeliveryWithdrawn"
        },
        {
          "name": "NotStored"
        },
        {
          "name": "DeliveryExpired"
        }
      ],
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "ai.newnal.illi.artwork.defs#manifest",
          "type": "ref"
        }
      },
      "parameters": {
        "properties": {
          "deliveryId": {
            "maxLength": 64,
            "type": "string"
          },
          "homeId": {
            "format": "tid",
            "type": "string"
          }
        },
        "required": [
          "homeId",
          "deliveryId"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "ai.newnal.illi.artwork.getManifest",
  "lexicon": 1
}
