Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 502 Bytes

README.org

File metadata and controls

18 lines (12 loc) · 502 Bytes

MiniZinc Input Data Schema

MiniZinc now supports JSON, but I couldn’t find an official schema. This will be my evolving attempt at one. PRs welcome.

Development

I use record query to validate and format the yaml, with some light edits:

rq -yY < schema.yaml | sponge schema.yaml

I use yajsv to validate example data against it

yajsv -s schema.yaml example-data.json