{
  "schemaVersion": 1,
  "snapshotDate": "2026-10-23",
  "slug": "reference-core-json-patch-contract-field-operations",
  "title": "JSON Patch Operations / operations Value",
  "section": "Library asset reference",
  "description": "Exact operations field of JSON Patch Operations.",
  "kind": "type",
  "url": "/wiki/reference-core-json-patch-contract-field-operations/",
  "markdown": "/wiki/reference-core-json-patch-contract-field-operations/index.md",
  "json": "/wiki/reference-core-json-patch-contract-field-operations/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": "utilities",
  "contract": {
    "key": "core.json.patch.contract.field.operations",
    "slug": "core-json-patch-contract-field-operations",
    "name": "JSON Patch Operations / operations Value",
    "kind": "type",
    "family": "utilities",
    "packId": null,
    "category": "Data",
    "description": "Exact operations field of JSON Patch Operations.",
    "inputs": [],
    "outputs": [],
    "configSchema": {},
    "documentation": "# JSON Patch Operations / operations Value\n\nExact structural field contract extracted from JSON Patch Operations. Optional presence belongs to the containing node socket; null is accepted only when this schema explicitly allows it. Required object fields and list element schemas are checked at runtime. Extension values use the explicit recursive ONFJsonValue vocabulary. This type has pure JSON Encode/Decode codecs.\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\": \"array\",\n  \"items\": {\n    \"oneOf\": [\n      {\n        \"type\": \"object\",\n        \"properties\": {\n          \"op\": {\n            \"const\": \"remove\"\n          },\n          \"path\": {\n            \"type\": \"string\"\n          }\n        },\n        \"required\": [\n          \"op\",\n          \"path\"\n        ],\n        \"additionalProperties\": false\n      },\n      {\n        \"type\": \"object\",\n        \"properties\": {\n          \"op\": {\n            \"enum\": [\n              \"add\",\n              \"replace\",\n              \"test\"\n            ]\n          },\n          \"path\": {\n            \"type\": \"string\"\n          },\n          \"value\": {\n            \"$ref\": \"#/definitions/ONFJsonValue\"\n          }\n        },\n        \"required\": [\n          \"op\",\n          \"path\",\n          \"value\"\n        ],\n        \"additionalProperties\": false\n      }\n    ]\n  },\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": "array",
      "items": {
        "oneOf": [
          {
            "type": "object",
            "properties": {
              "op": {
                "const": "remove"
              },
              "path": {
                "type": "string"
              }
            },
            "required": [
              "op",
              "path"
            ],
            "additionalProperties": false
          },
          {
            "type": "object",
            "properties": {
              "op": {
                "enum": [
                  "add",
                  "replace",
                  "test"
                ]
              },
              "path": {
                "type": "string"
              },
              "value": {
                "$ref": "#/definitions/ONFJsonValue"
              }
            },
            "required": [
              "op",
              "path",
              "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": [
      "data",
      "library-expansion",
      "node",
      "type",
      "typed-field"
    ],
    "source": "baseline-catalog"
  }
}
