swaggest/jsonschema-go

JSON Schema mapping for Go

46
/ 100
Emerging

This is a tool for Go developers who work with data structures and need to ensure their data conforms to specific rules. It takes a Go struct (a defined data type) and automatically generates a JSON Schema document. This schema then precisely outlines the expected format, types, and constraints for that data, which is useful for API documentation, data validation, and clear data exchange specifications.

184 stars.

Use this if you are a Go developer building APIs or systems that exchange data, and you need to automatically generate precise, machine-readable JSON Schema definitions from your Go data structures to ensure data consistency and validate inputs/outputs.

Not ideal if you are not a Go developer or if you need to manually define JSON Schemas without relying on Go struct reflection.

Go development API design data modeling data validation backend engineering
No Package No Dependents
Maintenance 6 / 25
Adoption 10 / 25
Maturity 16 / 25
Community 14 / 25

How are scores calculated?

Stars

184

Forks

17

Language

Go

License

MIT

Last pushed

Nov 10, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/swaggest/jsonschema-go"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.