google/jsonschema-go

The Go library for JSON Schema. An official Google project providing a comprehensive toolkit for validation, reflection, and schema construction.

476

stars

76

commits

Go

primary language

May 22, 2026

updated

README

JSON Schema for Go

This module implements the JSON Schema specification. The jsonschema package supports creating schemas, validating JSON values against a schema, and inferring a schema from a Go struct. See the package documentation for usage.

Contributing

This module welcomes external contributions. It has no dependencies outside of the standard library, and can be built with the standard Go toolchain. Run go test ./... at the module root to run all the tests.

Issues

This project uses the GitHub issue tracker for bug reports, feature requests, and other issues.

Please report bugs. If the SDK is not working as you expected, it is likely due to a bug or inadequate documentation, and reporting an issue will help us address this shortcoming.

When reporting a bug, make sure to answer these five questions:

  1. What did you do?
  2. What did you see?
  3. What did you expect to see?
  4. What version of the Go MCP SDK are you using?
  5. What version of Go are you using (go version)?

License

This project is licensed under the MIT license. See the LICENSE file for details.

Contributors

jba

46 commits

samthanawalla

10 commits

baptmont

4 commits

rafaeljusto

3 commits

google/jsonschema-go

The Go library for JSON Schema. An official Google project providing a comprehensive toolkit for validation, reflection, and schema construction.

476

stars

76

commits

Go

primary language

May 22, 2026

updated

README

JSON Schema for Go

This module implements the JSON Schema specification. The jsonschema package supports creating schemas, validating JSON values against a schema, and inferring a schema from a Go struct. See the package documentation for usage.

Contributing

This module welcomes external contributions. It has no dependencies outside of the standard library, and can be built with the standard Go toolchain. Run go test ./... at the module root to run all the tests.

Issues

This project uses the GitHub issue tracker for bug reports, feature requests, and other issues.

Please report bugs. If the SDK is not working as you expected, it is likely due to a bug or inadequate documentation, and reporting an issue will help us address this shortcoming.

When reporting a bug, make sure to answer these five questions:

  1. What did you do?
  2. What did you see?
  3. What did you expect to see?
  4. What version of the Go MCP SDK are you using?
  5. What version of Go are you using (go version)?

License

This project is licensed under the MIT license. See the LICENSE file for details.

Contributors

jba

46 commits

samthanawalla

10 commits

baptmont

4 commits

rafaeljusto

3 commits

Languages

Go

100.0%