Generate JSON Schema definitions
fd-json-schema-gensubagentsetup L2★2
mistakeknot/Sylveste ↗What it does
Review JSON schema generation from Go structs for correctness
Best for
Catching API contract bugs where generated schema rejects valid v2 payloads or accepts malformed v1
Inputs
- · [object Object]
- · [object Object]
Outputs
- · [object Object]
Requires
- · invopop/jsonschema
Preconditions
- · Go structs with json tags exist
- · JSON schema generated
- · CLAUDE.md readable
Failure modes
- · json tags with omitempty incorrectly marked required
- · json.RawMessage generating incorrect anyOf
- · Non-deterministic field ordering
Trust signals
- · Specific test cases: schema rejects v1/accepts v2
- · Ties findings to struct tag patterns
- · Checks deterministic output