{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Gateway-only private catalog GIF file copy. Authentication required. Never publishes files or exposes provider credentials. Resolves only the exact catalog id and requested rendition; no input URLs, redirects, or alternate-file fallback. Responses use Cache-Control: private, no-store. Limits: 104857600 bytes per file; poster 1000000 bytes.",
      "errors": [
        {
          "name": "InvalidRequest"
        },
        {
          "name": "Unauthorized"
        },
        {
          "name": "NotFound"
        },
        {
          "name": "Quota"
        },
        {
          "name": "TooManyRequests"
        },
        {
          "name": "UpstreamUnavailable"
        },
        {
          "name": "Unavailable"
        }
      ],
      "output": {
        "encoding": "*/*"
      },
      "parameters": {
        "properties": {
          "id": {
            "description": "Exact catalog GIF ID (ASCII letters, digits, underscore or hyphen); never a URL.",
            "maxLength": 128,
            "minLength": 1,
            "type": "string"
          },
          "rendition": {
            "enum": [
              "gif",
              "poster",
              "mp4",
              "webm"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "rendition"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "app.thesocialwire.socialDraft.getGifFile",
  "lexicon": 1
}
