{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "reference-hubspot-codec-get-request-encode",
  "title": "Encode HubSpot Record Address",
  "section": "Library asset reference",
  "description": "encode HubSpot Record Address Pure functional codec; no external request, secret lookup or state mutation. Object codecs preserve unknown fields through a named remainder; collision is rejected. Lists preserve item/rest/index/count; empty l",
  "kind": "node",
  "url": "/wiki/reference-hubspot-codec-get-request-encode/",
  "markdown": "/wiki/reference-hubspot-codec-get-request-encode/index.md",
  "json": "/wiki/reference-hubspot-codec-get-request-encode/index.json",
  "headings": [
    {
      "id": "audited-socket-contract-21-october-2026",
      "title": "Audited socket contract (21 October 2026)",
      "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": "hubspot",
  "contract": {
    "key": "hubspot.codec.get.request.encode",
    "slug": "hubspot-codec-get-request-encode",
    "name": "Encode HubSpot Record Address",
    "kind": "node",
    "family": "hubspot",
    "packId": null,
    "category": "HubSpot",
    "description": "",
    "inputs": [
      {
        "id": "exec",
        "name": "Execute",
        "type": "control",
        "typeName": "Control",
        "required": false
      },
      {
        "id": "id",
        "name": "id",
        "type": "string",
        "typeName": "Text",
        "required": true
      },
      {
        "id": "idProperty",
        "name": "idProperty",
        "type": "string",
        "typeName": "Text",
        "required": false
      },
      {
        "id": "properties",
        "name": "properties",
        "type": "@hubspot.type.list.request.properties",
        "typeName": "HubSpot List Request properties",
        "typeKey": "hubspot.type.list.request.properties",
        "typeVersion": 1,
        "required": false
      },
      {
        "id": "associations",
        "name": "associations",
        "type": "@hubspot.type.list.request.associations",
        "typeName": "HubSpot List Request associations",
        "typeKey": "hubspot.type.list.request.associations",
        "typeVersion": 1,
        "required": false
      },
      {
        "id": "archived",
        "name": "archived",
        "type": "boolean",
        "typeName": "Boolean",
        "required": false
      }
    ],
    "outputs": [
      {
        "id": "next",
        "name": "Next",
        "type": "control",
        "typeName": "Control",
        "required": false
      },
      {
        "id": "value",
        "name": "value",
        "type": "@hubspot.type.get.request",
        "typeName": "HubSpot Record Address",
        "typeKey": "hubspot.type.get.request",
        "typeVersion": 1,
        "required": true
      },
      {
        "id": "error",
        "name": "On error",
        "type": "control",
        "typeName": "Control",
        "required": false
      }
    ],
    "configSchema": {
      "type": "object",
      "properties": {},
      "required": [],
      "additionalProperties": false
    },
    "documentation": "encode HubSpot Record Address\n\nPure functional codec; no external request, secret lookup or state mutation. Object codecs preserve unknown fields through a named remainder; collision is rejected. Lists preserve item/rest/index/count; empty lists omit item. Nullable codecs preserve null explicitly. Opaque maps/JSON use JSON text parsing/stringification. Runtime validates the named type after encoding and before decoding.\n\nInputs: id, idProperty, properties, associations, archived. Outputs: value.\n\nAuthored 2026-10-20. Provider reference: [official documentation](https://developers.hubspot.com/docs/api-reference/latest/crm/using-object-apis). New assets are v1; callers must preserve exact dependency pins. Mock tests establish request/codec behavior only; live tenant access is unverified.\n\n## Audited socket contract (21 October 2026)\n\nInputs:\n- `id`: `string`; required.\n- `idProperty`: `string`; optional (absent stays absent).\n- `properties`: `@hubspot.type.list.request.properties`; optional (absent stays absent).\n- `associations`: `@hubspot.type.list.request.associations`; optional (absent stays absent).\n- `archived`: `boolean`; optional (absent stays absent).\n\nOutputs:\n- `value`: `@hubspot.type.get.request`; required.\n\nConfiguration:\nNo asset-specific configuration.\n\nKnown provider records and list elements have structural schemas. Explicit dynamic payloads, selected query results and provider extensions retain the recursive JSON Value vocabulary; they do not imply a known provider entity. Null is distinct from omission. Runtime validates the exact selected immutable type version; reading newer documentation never repins existing graphs. This audit used synthetic fixtures/local mocks and does not establish live provider authorization or delivery.",
    "runtime": "javascript",
    "tags": [
      "codec",
      "encode",
      "hubspot",
      "library-expansion",
      "typed-data"
    ],
    "source": "baseline-catalog"
  }
}
