Go json-schema

Open-source Go projects categorized as json-schema

Top 14 Go json-schema Projects

  • REST Layer

    REST Layer, Go (golang) REST API framework

  • baloo

    Expressive end-to-end HTTP API testing made easy in Go

  • Onboard AI

    Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.

  • jsonschema

    JSONSchema (draft 2020-12, draft 2019-09, draft-7, draft-6, draft-4) Validation using Go (by santhosh-tekuri)

    Project mention: Validating dynamic JSON user input | /r/golang | 2022-10-29

    If I were doing it, I would define struct that match the data you expect and update those struct as the project progresses. Also if I were doing it I'd explicitly not allow values with different types for the same key so that would prevent me from having to declare value types as interface{}. If you want a more general purpose validation of arbitrary JSON, you could define a JSON schema and validate it with a library like this.

  • restish

    Restish is a CLI for interacting with REST-ish HTTP APIs with some nice features built-in

  • go-jsonschema

    A tool to generate Go data types from JSON Schema definitions.

    Project mention: JSON Schema generator | /r/golang | 2023-02-07

    What I have tried: https://github.com/atombender/go-jsonschema gave that a spin and wasn't able to generate any successful types from the few items under objects I tried.

  • rest

    Web services with OpenAPI and JSON Schema done quick in Go (by swaggest)

    Project mention: [Request] Library Recommendation for Auto Swagger/OpenAPIv3 Documentation | /r/golang | 2023-05-27

    This is what I use: https://github.com/swaggest/rest

  • huma

    Huma REST/HTTP API Framework for Golang with OpenAPI 3

    Project mention: State of OpenAPI support in Go routing/web frameworks | /r/golang | 2023-02-03

    Huma might be an option.

  • InfluxDB

    Collect and Analyze Billions of Data Points in Real Time. Manage all types of time series data in a single, purpose-built database. Run at any scale in any environment in the cloud, on-premises, or at the edge.

  • go-jsonstruct

    Generate Go structs from multiple JSON objects.

    Project mention: Are you using ChatGPT internally at your company? | news.ycombinator.com | 2023-05-06
  • openapi-go

    OpenAPI structures for Go

    Project mention: [Request] Library Recommendation for Auto Swagger/OpenAPIv3 Documentation | /r/golang | 2023-05-27

    Also check out https://github.com/swaggest/openapi-go if you want more low level control of mapping structs to OpenAPI representation.

  • caddy-json-schema

    JSON schema generator for Caddy v2

  • xk6-kafka

    k6 extension to load test Apache Kafka with support for various serialization formats, SASL, TLS, compression, Schema Registry client and beyond

  • jr

    JR: streaming quality random data from the command line (by ugol)

    Project mention: JR, quality Random Data from the Command line, part II | dev.to | 2023-06-01

    We have seen how to use JR in more advanced use cases, streaming quality random data with referential integrity. In the next part of this series, we will see how to use REST apis with JR. In the meanwhile, happy streaming!


    Library providing routines to merge and validate JSON, YAML and/or TOML files

  • churro

    main repo for the churro file/API processor

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-06-01.

Go json-schema related posts


What are some of the best open-source json-schema projects in Go? This list will help you:

Project Stars
1 REST Layer 1,228
2 baloo 762
3 jsonschema 678
4 restish 530
5 go-jsonschema 389
6 rest 249
7 huma 229
8 go-jsonstruct 188
9 openapi-go 147
10 caddy-json-schema 101
11 xk6-kafka 97
12 jr 97
14 churro 13
Free Global Payroll designed for tech teams
Building a great tech team takes more than a paycheck. Zero payroll costs, get AI-driven insights to retain best talent, and delight them with amazing local benefits. 100% free and compliant.