Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(658)

Unified Diff: chrome/test/data/json_schema_validator/reference_schema.json

Issue 4673001: Implements a C++ version of JSONSchemaValidator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more tests Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/json_schema_validator/reference_schema.json
diff --git a/chrome/test/data/json_schema_validator/reference_schema.json b/chrome/test/data/json_schema_validator/reference_schema.json
new file mode 100644
index 0000000000000000000000000000000000000000..d38a30a0adaadf5b7be142878368505312d521d7
--- /dev/null
+++ b/chrome/test/data/json_schema_validator/reference_schema.json
@@ -0,0 +1,14 @@
+{
+ "type": "object",
+ "properties": {
+ "foo": {
+ "type": "string"
+ },
+ "bar": {
+ "$ref": "Max10Int"
+ },
+ "baz": {
+ "$ref": "MinLengthString"
+ }
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698