Skip to content
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

Schema unification with JSON-LD Frames #10

Open
u8sand opened this issue Jan 2, 2019 · 2 comments
Open

Schema unification with JSON-LD Frames #10

u8sand opened this issue Jan 2, 2019 · 2 comments

Comments

@u8sand
Copy link
Contributor

u8sand commented Jan 2, 2019

Utilizing this we can devise two-way conversions between a unifying schema and independent schemas used by external applications and databases.

@u8sand u8sand changed the title Schema unification with TypescriptMigration Schema unification with JSON-LD Frames Jan 31, 2019
@u8sand
Copy link
Contributor Author

u8sand commented Jan 31, 2019

We can use JSON-LD frames to unify the schemas. Ultimately all we need to do is devise semantic definitions and setup a JSON-LD Context for each $validator.

@u8sand
Copy link
Contributor Author

u8sand commented Jun 19, 2019

We can learn from https://github.com/datatagsuite/schema on how to do this as we harmonize with it as well.

It seems fundamentally, they use jsonld style syntax and enforce it by specifying all possible instance combinations up-front while we allow instances to reference their own validators. We might be able to find a middle ground but should probably adopt jsonld style syntax: i.e. @context/@type as opposed to $validator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant