{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Struct2", "type": "object", "properties": { "min_max": { "type": "number", "format": "float", "minimum": 0.01, "maximum": 100 }, "min_max2": { "type": "number", "format": "float", "minimum": 1, "maximum": 1000 }, "regex_str1": { "type": "string", "pattern": "^[Hh]ello\\b" }, "contains_str1": { "type": "string", "pattern": "substring\\.\\.\\." }, "email_address": { "type": "string", "format": "email" }, "homepage": { "type": "string", "format": "uri" }, "non_empty_str": { "type": "string", "minLength": 1, "maxLength": 100 }, "non_empty_str2": { "type": "string", "minLength": 1, "maxLength": 1000 }, "pair": { "type": "array", "items": { "type": "integer", "format": "int32" }, "minItems": 2, "maxItems": 2 }, "required_option": { "type": "boolean" }, "x": { "type": "integer", "format": "int32" } }, "required": [ "min_max", "min_max2", "regex_str1", "contains_str1", "email_address", "homepage", "non_empty_str", "non_empty_str2", "pair", "required_option", "x" ] }