{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "reference-app-storage-storage-codec-correlation-decode",
  "title": "Storage Correlation Decode",
  "section": "Library asset reference",
  "description": "Decode storage correlation with named typed sockets.",
  "kind": "node",
  "url": "/wiki/reference-app-storage-storage-codec-correlation-decode/",
  "markdown": "/wiki/reference-app-storage-storage-codec-correlation-decode/index.md",
  "json": "/wiki/reference-app-storage-storage-codec-correlation-decode/index.json",
  "headings": [
    {
      "id": "storage-correlation-decode",
      "title": "Storage Correlation Decode",
      "depth": 2
    },
    {
      "id": "catalog-identity",
      "title": "Catalog identity",
      "depth": 2
    },
    {
      "id": "inputs",
      "title": "Inputs",
      "depth": 2
    },
    {
      "id": "outputs",
      "title": "Outputs",
      "depth": 2
    },
    {
      "id": "configuration-schema",
      "title": "Configuration schema",
      "depth": 2
    },
    {
      "id": "source-and-installed-versions",
      "title": "Source and installed versions",
      "depth": 2
    }
  ],
  "sources": [
    "../OpenNodeFlow-Library/work/catalog-all.mjs",
    "../OpenNodeFlow-Library/work/azure-pack-consolidation-20261022/catalog-policy.mjs",
    "../OpenNodeFlow-Library/work/developer-packs-20261022/catalog.mjs",
    "shared/seed.ts",
    "shared/storage-library.ts",
    "shared/variable-library.ts",
    "shared/control-flow.ts",
    "shared/remote-routes.ts",
    "server/runtime-library.ts",
    "shared/error-library.ts",
    "shared/storage-model.ts",
    "shared/builtin-documentation.ts"
  ],
  "family": "app-storage",
  "contract": {
    "key": "app.storage.storage.codec.correlation.decode",
    "slug": "app-storage-storage-codec-correlation-decode",
    "name": "Storage Correlation Decode",
    "kind": "node",
    "family": "app-storage",
    "packId": null,
    "category": "Storage codecs",
    "description": "Decode storage correlation with named typed sockets.",
    "inputs": [
      {
        "id": "value",
        "name": "Value",
        "type": "storage.type.correlation",
        "typeName": "Storage Correlation",
        "typeKey": "app.storage.storage.type.correlation",
        "typeVersion": 1,
        "required": true
      }
    ],
    "outputs": [
      {
        "id": "identity",
        "name": "Identity",
        "type": "storage.type.identity",
        "typeName": "Storage Identity",
        "typeKey": "app.storage.storage.type.identity",
        "typeVersion": 1,
        "required": true
      },
      {
        "id": "threadId",
        "name": "Thread Id",
        "type": "string",
        "typeName": "Text",
        "required": false
      },
      {
        "id": "replyToCommentId",
        "name": "Reply To Comment Id",
        "type": "string",
        "typeName": "Text",
        "required": false
      },
      {
        "id": "actorId",
        "name": "Actor Id",
        "type": "string",
        "typeName": "Text",
        "required": true
      },
      {
        "id": "actorIsBot",
        "name": "Actor Is Bot",
        "type": "boolean",
        "typeName": "Boolean",
        "required": false
      }
    ],
    "configSchema": {},
    "documentation": "## Storage Correlation Decode\n\nExtracts the Storage Correlation contract.\n\nInputs: `value` (storage.type.correlation, required).\n\nOutputs: `identity` (storage.type.identity, required), `threadId` (string, optional), `replyToCommentId` (string, optional), `actorId` (string, required), `actorIsBot` (boolean, optional).\n\nPure transformation: no network calls, storage writes, namespace selection or persistent side effects. Codecs preserve explicitly present null values. A missing optional output stays absent; connecting that output to a dependent node can skip the dependent node. Invalid socket values fail schema validation.",
    "tags": [
      "builtin",
      "codec"
    ],
    "source": "app-builtin-catalog"
  }
}
