polywrap_schemafy 0.1.1

Generates serializable Rust types from a json schema
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "option-type",
    "type": "object",
    "properties": {
        "optional": { "type": "string" },
        "optional-multi": { "type": ["integer", "null"] },
        "required": { "type": "string" },
        "required-multi": { "type": ["integer", "null"] }
    },
    "required": [
        "required",
        "required-multi"
    ]
}