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
16
17
18
{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "array-type",
    "type": "object",
    "properties": {
        "required": {
            "type": "array",
            "items": { "type": "integer" }
        },
        "optional": {
            "type": "array",
            "items": { "type": "integer" }
        }
    },
    "required": [
        "required"
    ]
}