-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a json
field type and jsonSchema
constraint support
#640
Add a json
field type and jsonSchema
constraint support
#640
Comments
I favour this idea but mandatory support of JSON Schema in Table Schema raises the question why to use Table Schema at all if large parts could be expressed in JSON Schema as well. Either further align JSON Schema and Table Schema (e.g. use same regex syntax instead of two different dialects) or make JSON Schema constraints optional. |
There is no need for an additonal |
@nichtich I no longer work with frictionless so no longer have the context in my head or a stake – will unsubscribe and leave this open as it still seems in-use for tracking. |
json
field type and jsonSchema
constraint support
Table schemas already have
array
andobject
types, but without many constraints.Instead of adding more types/constraints (#409, #410), we could simply leverage json schemas, and thus json schema validation libraries.
Additionally, support for a generic
json
field that could contain any valid json string is not uncommon in relational databases (bigquery, postgres).So, we could:
json
typejsonSchema
constraint tojson
,array
, andobject
typesobject
andarray
jsonSchemas
their corresponding type implicitlyThe text was updated successfully, but these errors were encountered: