JSON tv4 object valid if true and if other object is present
问题 is possible to validate JSON, if value of object is true, then this object is valid, and if Obj2.included == true is valid, if Obj1.included == true ? This is small piece of schema: 'attachments': { 'type': 'object', 'properties': { 'ZalA': { 'type': 'object', 'properties': { 'included': { 'type': 'boolean' }, 'version': { 'type': 'integer' } }, 'required': [ 'included', 'version' ] }, 'ZalB': { 'type': 'object', 'properties': { 'version': { 'type': 'integer' }, 'included': { 'type': 'boolean