Lines Matching refs:Validate
164 bool JSONSchemaValidator::Validate(Value* instance) {
166 Validate(instance, schema_root_, "");
170 void JSONSchemaValidator::Validate(Value* instance,
183 // If the schema has a $ref property, the instance must validate against
192 Validate(instance, type->second, path);
197 // If the schema has a choices property, the instance must validate against at
243 Validate(instance, choice, path);
302 Validate(prop_value, prop_schema, prop_path);
319 // Validate additional properties.
331 Validate(prop_value, additional_properties_schema, prop_path);
361 // validate against that schema.
367 Validate(item, single_type, item_path);
393 Validate(item_value, item_schema, item_path);
411 // Any additional properties must validate against the additionalProperties
418 Validate(item_value, additional_properties_schema, item_path);