{
    "type": "object",
    "properties": {
        "val": {
            "type": "number"
        },
        "valNullable": {
            "type": [
                "null",
                "number"
            ]
        },
        "valUndef": {
            "type": "number"
        },
        "valOpt": {
            "type": "number"
        },
        "valTrue": {
            "enum": [
                true
            ],
            "type": "boolean"
        },
        "valTrueOpt": {
            "enum": [
                true
            ],
            "type": "boolean"
        },
        "valTrueOrNull": {
            "anyOf": [
                {
                    "enum": [
                        true
                    ],
                    "type": "boolean"
                },
                {
                    "type": "null"
                }
            ]
        }
    },
    "required": [
        "val",
        "valNullable",
        "valTrueOrNull",
        "valTrue"
    ],
    "$schema": "http://json-schema.org/draft-04/schema#"
}