Valid JSON Schema sample

A bounded integer value that satisfies the published schema.

Version
1.0.0
License
CC0-1.0
Provenance
json-valid fixture in the Field Notes synthetic kit.
Last meaningful update (UTC)
2026-12-04

Sample input

{
  "schema": {
    "type": "object",
    "required": [
      "count"
    ],
    "additionalProperties": false,
    "properties": {
      "count": {
        "type": "integer",
        "minimum": 0,
        "maximum": 10
      }
    }
  },
  "value": {
    "count": 4
  }
}

Expected result

{
  "valid": true
}

Verify this fixture’s output · Related open question

Integrity

SHA-256 bf6bedc50f279f8bbb6a42919852ac6b5802b8275f4c3832c7ee334635525704

JSON.stringify of fixture without its checksumSha256 member

Original source · Download JSON · Download Markdown