at.functions.workflow

hamburgerz.bsky.social

{
  "id": "at.functions.workflow",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "name",
          "version",
          "steps"
        ],
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 128
          },
          "steps": {
            "type": "array",
            "items": {
              "ref": "#step",
              "type": "ref"
            },
            "maxItems": 16,
            "minItems": 1
          },
          "version": {
            "type": "string",
            "maxLength": 32
          },
          "description": {
            "type": "string",
            "maxLength": 1024
          },
          "maxDurationMs": {
            "type": "integer",
            "maximum": 300000,
            "minimum": 100
          }
        }
      },
      "description": "A named workflow that chains AT Functions, passing outputs as inputs between steps."
    },
    "step": {
      "type": "object",
      "required": [
        "id",
        "function"
      ],
      "properties": {
        "id": {
          "type": "string",
          "maxLength": 64,
          "description": "Unique identifier for this step; used to reference its output in subsequent steps via {{$.id.field}}."
        },
        "input": {
          "type": "unknown",
          "description": "JSON object whose string values may contain {{$.input.x}} or {{$.stepId.x}} templates."
        },
        "function": {
          "type": "string",
          "format": "at-uri",
          "description": "AT URI of the at.functions.metadata record to invoke."
        },
        "description": {
          "type": "string",
          "maxLength": 256
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}

Validate Record

Validate a record against at.functions.workflow

Validation Options
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:vsnj4aaxyatiht4spdht2q2t
CID
bafyreiea7sqsuggfunytuojigkuy4w4ktjyarnizud3hqh7h5phjattqbu
Indexed At
2026-08-03 18:44 UTC
AT-URI
at://did:plc:vsnj4aaxyatiht4spdht2q2t/com.atproto.lexicon.schema/at.functions.workflow

Lexicon Garden

@