userfrosting / fortress

A schema-driven system for elegant whitelisting, transformation and validation of user input on both the client and server sides from a unified set of rules.
Other
25 stars 9 forks source link

Consider accepting JSON-Schema.org schema #18

Open alexweissman opened 7 years ago

alexweissman commented 7 years ago

WDVSS is great and all, but it's not exactly a widely adopted standard. I was looking into JSON-Schema a few years ago, but it didn't seem to be moving much at the time.

Now however, they seem to have made a lot of progress, and The PHP League has a package for reading and validating against these schema.

Perhaps it's time to start considering it as another option?

senseq commented 7 years ago

Agree strongly. Do add JSON support.

On 16-Feb-2017, at 5:49 AM, Alex Weissman notifications@github.com wrote:

WDVSS is great and all, but it's not exactly a widely adopted standard. I was looking into JSON-Schema a few years ago, but it didn't seem to be moving much at the time.

Now however, they seem to have made a lot of progress, and The PHP League has a package for reading and validating against these schema.

Perhaps it's time to start considering it as another option?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

alexweissman commented 7 years ago

Well, I meant the json-schema.org validation schema in particular. We already read from a "json schema" of sorts.