Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "type": ["object", "integer"],
- "properties": {
- "abcde": {
- "type": "object",
- "patternProperties": {
- "^[a-zA-Z0-9_]+$": {
- "oneOf": [
- {"const": "a"},
- {"const": "b"},
- {"$ref": "#/cde"}
- ]}}},
- "not1": false,
- "not2": {"not":{}},
- "not3": {"not": true}
- },
- "cde": {"$ref": "#/cdeDef"},
- "cdeDef": {"anyOf": [
- {"const": "c"},
- {"const": "d"},
- {"const": "e"}
- ]},
- "anyOf": [
- {"properties": {"foo": {"enum": ["a"]}, "bar": {"multipleOf": 3}}},
- {"properties": {"foo": {"enum": ["b"]}, "bar": {"multipleOf": 5}}}
- ],
- "oneOf": [
- {"type": "object"},
- {"minimum": 15},
- {"maximum": 5}
- ],
- "if": {"minimum": 15},
- "then": {"multipleOf": 5},
- "else": {"multipleOf": 3}
- }
Add Comment
Please, Sign In to add comment