Uniforms: simple-schema vs jsonschema

Created on 17 Aug 2019  路  2Comments  路  Source: vazco/uniforms

Hi!

I want to integrate uniforms into https://github.com/react-page/react-page to create plugins more easily.

I am just not sure about which schema-type i should support. SimpleSchema or JsonSchema ?

I use SimpleSchema for years and it worked for me, but it has some legacy and might not be as maintained as jsonschema and its ecosystem.

Are there some pros/cons comparing jsonschema bridge (with ajv) to simpleschema?

question

Most helpful comment

Hi @macrozone! It's definitely an important decision. Personally, I really like JSONSchema. It's far more advanced, has tooling for almost every language and it's fully serializable. It's also straightforward to define custom constraints and validation rules via keywords.

From uniforms perspective, both should be equal (in terms of features).

All 2 comments

Hi @macrozone! It's definitely an important decision. Personally, I really like JSONSchema. It's far more advanced, has tooling for almost every language and it's fully serializable. It's also straightforward to define custom constraints and validation rules via keywords.

From uniforms perspective, both should be equal (in terms of features).

@radekmie thx! i will go try it out then!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

arrygoo picture arrygoo  路  3Comments

rafahoro picture rafahoro  路  3Comments

simplecommerce picture simplecommerce  路  6Comments

Vandell63 picture Vandell63  路  3Comments

thearabbit picture thearabbit  路  8Comments