Replies: 2 comments
-
Hi @dgreene1, currently there is no universally agreed upon standard. On your second question, the expression used in RulesEngine is C# expression . You can find more details here - https://microsoft.github.io/RulesEngine/#c-expression-support |
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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?
Beta Was this translation helpful? Give feedback.
All reactions