A simple program for validating Airbyte connector's output.
Build using maven (mvn package).
To validte a JSON response file, pass the following arguments to the program:
- string
ListFlightsorDatasourceTypesto specify which schema to validate the input with - path to the JSON file to validate
JSON files are being validated with the JSON schemas from resources/schema.
JSON Schema documentation
Examples:
defaultvalues are ignored during validation, which means that you won't receive warning for anifcondition when a nonrequiredproperty is checked and is missing
- properties
filter,targetandsourceare assumed to have the same fields asconnection - all additional assumptions about the structure of responses are defined in the schema files
- when adding more schemas to validate make their
$ids unique