Skip to content
Novus Examples
json1.1 KB

Mismatched Field Manifest (intentionally corrupt JSON)

Intentionally corrupt. A field manifest that claims to describe acro-checkbox-matrix.pdf but names two fields the PDF does not have, omits one it does, contradicts one field's type and states a count that does not match its own array.

Preview — first 50 linesjson
{
  "schemaVersion": 1,
  "generatedBy": "generation/forms_p7.py",
  "note": "INTENTIONALLY CORRUPT SAMPLE. This manifest deliberately disagrees with the PDF it names.",
  "boundTo": "acro-checkbox-matrix.pdf",
  "defects": [
    "two fields listed here do not exist in the PDF",
    "one field in the PDF is missing from this list",
    "one field's declared type contradicts its AcroForm widget",
    "the fieldCount does not match the length of the fields array"
  ],
  "fieldCount": 9,
  "fields": [
    {
      "name": "inspection_passed",
      "type": "checkbox"
    },
    {
      "name": "photos_attached",
      "type": "checkbox"
    },
    {
      "name": "parts_ordered",
      "type": "checkbox"
    },
    {
      "name": "follow_up",
      "type": "checkbox"
    },
    {
      "name": "customer_present",
      "type": "checkbox"
    },
    {
      "name": "sample_ack",
      "type": "text"
    },
    {
      "name": "engineer",
      "type": "text"
    },
    {
      "name": "inspector_signature",
      "type": "signature"
    },
    {
      "name": "warranty_months",
      "type": "number"
    }
  ]
52 lines total — download for the full file.

Specifications

Corrupt
true
Bound To
acro-checkbox-matrix.pdf
Declared Count
9
Actual Count
9
Defect
field list disagrees with the PDF it names

What is a .json file?

JSON (JavaScript Object Notation) is a lightweight, text-based data-interchange format representing objects, arrays, strings, numbers, booleans, and null. It is language-independent, human-readable, and the dominant format for web APIs and configuration. It requires a single well-formed root value.

How to use this file

Use an example JSON file to test parsers and serializers, schema validation, Unicode and number-precision handling, and API request or response processing.

How to use this file for testing

“Mismatched Field Manifest (intentionally corrupt JSON)” is a deterministic Novus Examples fixture for Form parsing, Form testing, JSON parsing. PDF AcroForms with documented fields and live HTML forms for testing form parsers and fillers.

Documented properties for this file: JSON · 1,126 bytes. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.

Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.

This form is fictional SAMPLE content for tooling tests (autofill, scrapers, PDF fillers). It is not an official government, bank, or clinic form. Open the HTML offline or fill the PDF in any viewer; the demo submit path never stores data.

Code examples

import json

with open("broken-field-manifest.json") as f:
    data = json.load(f)
print(type(data), len(data))

Generated by generation/forms_p7.py. Free for any use, no attribution required — license.