{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "reference-logic-type-entry",
  "title": "JSON Record Entry",
  "section": "Library asset reference",
  "description": "JSON Record Entry has required key/value fields; keys are literal text (maximum 4096 UTF-16 code units), and values use explicit recursive ONFJsonValue including null, false and zero. Entries are limited to 10000 items. Empty keys are allow",
  "kind": "type",
  "url": "/wiki/reference-logic-type-entry/",
  "markdown": "/wiki/reference-logic-type-entry/index.md",
  "json": "/wiki/reference-logic-type-entry/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": "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": "logic",
  "contract": {
    "key": "logic.type.entry",
    "slug": "logic-type-entry",
    "name": "JSON Record Entry",
    "kind": "type",
    "family": "logic",
    "packId": null,
    "category": "Data",
    "description": "",
    "inputs": [],
    "outputs": [],
    "configSchema": {},
    "documentation": "JSON Record Entry has required key/value fields; keys are literal text (maximum 4096 UTF-16 code units), and values use explicit recursive ONFJsonValue including null, false and zero. Entries are limited to 10000 items. Empty keys are allowed; no path interpretation. Example: `{\"key\":\"status\",\"value\":false}`. Unknown entry fields, missing value and non-JSON values fail. No configuration, execution or external effects. Duplicate keys are accepted by this list schema; JSON Record From Entries rejects them before construction. Pair with its named Encode/Decode nodes.\n\n## Audited socket contract (21 October 2026)\n\nInputs:\nNo data sockets.\n\nOutputs:\nNo data sockets.\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.\n\nAuthoritative JSON Schema:\n\n```json\n{\n  \"type\": \"object\",\n  \"properties\": {\n    \"key\": {\n      \"type\": \"string\",\n      \"maxLength\": 4096\n    },\n    \"value\": {\n      \"$ref\": \"#/definitions/ONFJsonValue\",\n      \"description\": \"Explicit opaque JSON Value. This field is data-dependent, not a known provider record.\"\n    }\n  },\n  \"required\": [\n    \"key\",\n    \"value\"\n  ],\n  \"additionalProperties\": false,\n  \"definitions\": {\n    \"ONFJsonValue\": {\n      \"description\": \"Opaque JSON Value: null, text, finite JSON number, boolean, recursively typed list or dictionary. Only used for explicitly dynamic payloads and extension fields.\",\n      \"anyOf\": [\n        {\n          \"type\": \"null\"\n        },\n        {\n          \"type\": \"string\"\n        },\n        {\n          \"type\": \"number\"\n        },\n        {\n          \"type\": \"boolean\"\n        },\n        {\n          \"type\": \"array\",\n          \"items\": {\n            \"$ref\": \"#/definitions/ONFJsonValue\"\n          }\n        },\n        {\n          \"type\": \"object\",\n          \"additionalProperties\": {\n            \"$ref\": \"#/definitions/ONFJsonValue\"\n          }\n        }\n      ]\n    }\n  }\n}\n```",
    "schema": {
      "type": "object",
      "properties": {
        "key": {
          "type": "string",
          "maxLength": 4096
        },
        "value": {
          "$ref": "#/definitions/ONFJsonValue",
          "description": "Explicit opaque JSON Value. This field is data-dependent, not a known provider record."
        }
      },
      "required": [
        "key",
        "value"
      ],
      "additionalProperties": false,
      "definitions": {
        "ONFJsonValue": {
          "description": "Opaque JSON Value: null, text, finite JSON number, boolean, recursively typed list or dictionary. Only used for explicitly dynamic payloads and extension fields.",
          "anyOf": [
            {
              "type": "null"
            },
            {
              "type": "string"
            },
            {
              "type": "number"
            },
            {
              "type": "boolean"
            },
            {
              "type": "array",
              "items": {
                "$ref": "#/definitions/ONFJsonValue"
              }
            },
            {
              "type": "object",
              "additionalProperties": {
                "$ref": "#/definitions/ONFJsonValue"
              }
            }
          ]
        }
      }
    },
    "tags": [
      "general-purpose",
      "library-expansion",
      "type"
    ],
    "source": "baseline-catalog"
  }
}
