Class PrimitiveSchemaDiffVisitor


  • public class PrimitiveSchemaDiffVisitor
    extends JsonSchemaWrapperVisitor
    This visitor deals with the following schemas:
     {
       "type": "object",
       "properties": {
         "isEmpty": {} // EmptySchema - matches everything
         "isTrue": true, // TrueSchema - matches everything
         "isFalse": false, // FalseSchema - matches nothing
         "isNull": null // NOT VALID
       }
     }
     

    "True" and "Empty" schemas are equivalent, each are not equivalent with "False" schema.

    Author:
    Jakub Senko 'jsenko@redhat.com'