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

Improving json schema specs #148

Open
OlofBlomqvist opened this issue Nov 8, 2022 · 2 comments
Open

Improving json schema specs #148

OlofBlomqvist opened this issue Nov 8, 2022 · 2 comments

Comments

@OlofBlomqvist
Copy link

OlofBlomqvist commented Nov 8, 2022

As far as I can tell, the json format for marlowe core is only defined in haskell and isabelle.

I think it would be useful to also define it using a more conventional, language-independent standard for json schema specifications, so that it becomes more accessible to non-haskell devs.

https://github.com/json-schema-org/json-schema-spec

@OlofBlomqvist OlofBlomqvist changed the title Improving json and cbor schema specs Improving json schema specs Nov 8, 2022
@hrajchert
Copy link
Collaborator

Hi! The format is specified in Haskell only, and we are creating a blockchain agnostic test suite to make sure that any Marlowe implementation (in PureScript/JS/Rust/etc) conforms to the specification.

I want to eventually integrate the library autodocodec to generate a json schema from the specification, to ensure that it's always in sync.

@OlofBlomqvist
Copy link
Author

Nice! My implementation mainly uses cbor so hoping support for that is added soon, but will start looking in to the json tests!

Having a json schema generated from specs sounds perfect :)

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

2 participants