app.gainforest.asset.file

gainforest.earth

Documentation

A durable asset anchor record for an uploaded blob and optional tags.

main record

A durable asset anchor record for an uploaded blob and optional tags.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

Timestamp of record creation in the ATProto PDS.

file blob Required

Uploaded file blob. This record can be used as a durable anchor so temporary uploads are not garbage-collected before final attachment.

maxSize: 10.5 MB
tags array of string Optional

Optional machine-readable tags for quick checks and filtering.

maxLength: 32 items
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "file",
      "createdAt"
    ],
    "properties": {
      "file": {
        "type": "blob",
        "accept": [
          "*/*"
        ],
        "maxSize": 10485760,
        "description": "Uploaded file blob. This record can be used as a durable anchor so temporary uploads are not garbage-collected before final attachment."
      },
      "tags": {
        "type": "array",
        "items": {
          "type": "string",
          "knownValues": [
            "image-in-linear-document"
          ],
          "maxGraphemes": 64
        },
        "maxLength": 32,
        "description": "Optional machine-readable tags for quick checks and filtering."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "Timestamp of record creation in the ATProto PDS."
      }
    }
  },
  "description": "A durable asset anchor record for an uploaded blob and optional tags."
}

Lexicon Garden

@