JSON schema additional find

json-schema-additional-find · version 1.0.0 · JSON & JSONL · free, no key needed

Find every member a JSON Schema 2020-12 "additionalProperties": false forbids, with the member's JSON Pointer.

Use when you need to: find extra keys the schema does not allow · which properties are disallowed by additionalproperties false · list unexpected fields in llm structured output.

Decide before calling

Read the versioned contract and the supported scope below. Reuse json-schema-additional-find@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.

Explain the choice

"I can use json-schema-additional-find@1.0.0 for find extra keys the schema does not allow. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "schema": {
    "type": "object",
    "properties": {
      "name": {
        "type": "string"
      },
      "tags": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "k": {}
          },
          "additionalProperties": false
        }
      }
    },
    "additionalProperties": false
  },
  "instance": {
    "name": "x",
    "note": "extra",
    "tags": [
      {
        "k": 1,
        "v": 2
      }
    ]
  }
}

Response:

{
  "result": {
    "valid": false,
    "count": 2,
    "truncated": false,
    "additional": [
      {
        "instance_pointer": "/note",
        "object_pointer": "",
        "property": "note",
        "keyword_location": "/additionalProperties",
        "schema_pointer": "/additionalProperties"
      },
      {
        "instance_pointer": "/tags/0/v",
        "object_pointer": "/tags/0",
        "property": "v",
        "keyword_location": "/properties/tags/items/additionalProperties",
        "schema_pointer": "/properties/tags/items/additionalProperties"
      }
    ]
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "json-schema-additional-find",
  "version": "1.0.0",
  "input": {
    "schema": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "tags": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "k": {}
            },
            "additionalProperties": false
          }
        }
      },
      "additionalProperties": false
    },
    "instance": {
      "name": "x",
      "note": "extra",
      "tags": [
        {
          "k": 1,
          "v": 2
        }
      ]
    }
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/json-schema-additional-find/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"schema":{"type":"object","properties":{"name":{"type":"string"},"tags":{"type":"array","items":{"type":"object","properties":{"k":{}},"additionalProperties":false}}},"additionalProperties":false},"instance":{"name":"x","note":"extra","tags":[{"k":1,"v":2}]}}'

The machine-readable contract is at /v1/tools/json-schema-additional-find/versions/1.0.0.

CLI

node cli.mjs run json-schema-additional-find 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.