go-helpers VS schema-org-json-schemas

Compare go-helpers vs schema-org-json-schemas and see what are their differences.

go-helpers

A small collection of various helpers we use in our Go projects (forms, settings, structure conversions, ...) (by kiprotect)

schema-org-json-schemas

Generate JSON Schemas from Schema.org classes (by charlestati)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
go-helpers schema-org-json-schemas
1 1
5 23
- -
5.6 0.0
8 months ago over 1 year ago
Go JavaScript
GNU General Public License v3.0 or later Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

go-helpers

Posts with mentions or reviews of go-helpers. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-10.
  • JSON Schema bundling finally formalised
    9 projects | news.ycombinator.com | 10 Sep 2021
    ```

    The "IsInteger" validator can of course be interpreted as a type, the important thing is though that it can be customized using type parameters and that we can add any number of additional validators that do advanced things (e.g. we could define an "IsPrime" validator that checks for primality of the number).

    I find this more elegant than having both a "type" field and various extensions for validations that you need to remember. The validator list mechanism also makes it easy to chain validations and perform sub-validations for lists or maps. I have an open-source implementation of this written in Golang [1] that I use in all my projects. It enables me to write a form specification and a Go struct and validate as well as coerce unstructured data into the struct. It makes it very easy to validate complex, hierarchical documents like configuration files as well, is easy to extend and provides nice errors.

    1: https://github.com/kiprotect/go-helpers/tree/master/forms

schema-org-json-schemas

Posts with mentions or reviews of schema-org-json-schemas. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-10.
  • JSON Schema bundling finally formalised
    9 projects | news.ycombinator.com | 10 Sep 2021
    I'd like to offer a contrasting opinion to all of the other currently negative comments: I've used JSON schema in the past to validate outside input and it was a pleasant and straightforward experience.

    There are unfortunately no standard type declarations that I'm aware of, which is a pain, but tools exist to translate schema.org schemas[1] (I have not used this myself).

    [1]: https://github.com/charlestati/schema-org-json-schemas

What are some alternatives?

When comparing go-helpers and schema-org-json-schemas you can also consider the following projects:

myzod

runtypes - Runtime validation for static types

ajv - The fastest JSON schema Validator. Supports JSON Schema draft-04/06/07/2019-09/2020-12 and JSON Type Definition (RFC8927)

zod - TypeScript-first schema validation with static type inference

io-ts - Runtime type system for IO decoding/encoding

typescript-json-schema - Generate json-schema from your Typescript sources

openapi-preprocessor - An authoring tool for OpenAPI specifications