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

Unified Diff: chrome/common/json_schema/json_schema_constants.cc

Issue 14830007: Added a validator for JSON v3 schemas. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 7 months 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/common/json_schema/json_schema_constants.cc
diff --git a/chrome/common/json_schema/json_schema_constants.cc b/chrome/common/json_schema/json_schema_constants.cc
index cfdca280985684863c1bf180bcaae460a4301d8c..956a215c02f4b02fa74ab8998790efbc981300f7 100644
--- a/chrome/common/json_schema/json_schema_constants.cc
+++ b/chrome/common/json_schema/json_schema_constants.cc
@@ -26,8 +26,10 @@ const char kNumber[] = "number";
const char kObject[] = "object";
const char kOptional[] = "optional";
const char kPattern[] = "pattern";
+const char kPatternProperties[] = "patternProperties";
const char kProperties[] = "properties";
const char kRef[] = "$ref";
+const char kSchema[] = "$schema";
const char kString[] = "string";
const char kType[] = "type";

Powered by Google App Engine
This is Rietveld 408576698