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

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

Issue 4673001: Implements a C++ version of JSONSchemaValidator. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: warnings 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/complex_schema.json
diff --git a/chrome/test/data/json_schema_validator/complex_schema.json b/chrome/test/data/json_schema_validator/complex_schema.json
new file mode 100644
index 0000000000000000000000000000000000000000..bf0d6b85bd22e10a101c05685e556a5e2180f445
--- /dev/null
+++ b/chrome/test/data/json_schema_validator/complex_schema.json
@@ -0,0 +1,33 @@
+{
+ "type": "array",
+ "items": [
+ {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "integer",
+ "minimum": 1
+ },
+ "url": {
+ "type": "string",
+ "maxLength": 10,
+ "optional": true
+ },
+ "index": {
+ "type": "integer",
+ "minimum": 0,
+ "optional": true
+ },
+ "selected": {
+ "type": "boolean",
+ "optional": true
+ }
+ }
+ },
+ {
+ "type": "number",
+ "optional": true
+ }
+ ]
+}
+

Powered by Google App Engine
This is Rietveld 408576698