sergehuber opened a new pull request #387:
URL: https://github.com/apache/unomi/pull/387


   In this PR I have made an integration of JSON Schema to generate the GraphQL 
schema. We can define event schemas that reference other schemas and use them 
to validate event input.
   
   This is a very early POC at this point. Notably the code would probably need 
some refactoring. Here's a list of TODOs:
   - Validate we can generate ES mapping from JSON schema
   - Validate we can override/extend JSON schema for built-in definitions
   
   - Evaluate if we must complete JSON schema object model implementation or 
replace it with JSON schema library validators (if we can work with it)
   - If keeping our own JSON schema object model:
       - Implement custom keyword for Unomi properties support
       - Implement allOf, oneOf, anyOf (if keeping our custom JSON schema 
object model)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to