Closed jplane closed 3 years ago
For XState, I have a JSON schema here for the machine definition: https://github.com/davidkpiano/xstate/blob/master/packages/core/src/machine.schema.json
This will probably have to be slightly adapted to match SCXML one-to-one, which I can do.
There are abstractions for defining state chart metadata here.
There's an XML-based implementation that adheres to the SCXML spec here.
XML kind of sucks :-) so it would be nice to implement a JSON-based provider. Bonus points for defining a JSON schema that honors the SCXML spec and that we can share with other implementations.