Lines Matching defs:schema
9 #include <valijson/schema.hpp>
46 << "Cannot open schema file, cannot validate JSON, exiting\n\n";
50 nlohmann::json schema =
52 if (schema.is_discarded())
55 << "Illegal schema file detected, cannot validate JSON, exiting\n";
75 if (ENABLE_RUNTIME_VALIDATE_JSON && !validateJson(schema, data))
120 // validates a given input(configuration) with a given json schema file.
123 valijson::Schema schema;
126 parser.populateSchema(schemaAdapter, schema);
129 return validator.validate(schema, targetAdapter, nullptr);