-
Notifications
You must be signed in to change notification settings - Fork 614
Seeking guidance on standard #395
Description
Can you share with me if there is a universally agreed upon standard for sending rules over HTTP via JSON?
Because I notice that there is a schemaa schema in the repo but it doesn’t appear to be a standard— it’s just what this library uses.
So what I’m looking for is a JSON Schema spec that I can point to to say “this is what the API that reads the rule selections expects to receive.”
For full context, my team is building a rule builder UI and unsure of what engine we’ll be using. So having a standardized output will allow us to make that swap easily (ie the adapter pattern). And it will let us start building the UI before the engine has been decided upon. Thank you for the guidance.
Side note: I find this library to be wonderful but I have concerns about the expression part of the schema since it seems unclear what would constitute a valid string. Like is it any JS?