1 // Copyright 2013 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 #ifndef COMPONENTS_JSON_SCHEMA_JSON_SCHEMA_CONSTANTS_H_ 6 #define COMPONENTS_JSON_SCHEMA_JSON_SCHEMA_CONSTANTS_H_ 7 8 // These constants are shared by code that uses JSON schemas. 9 namespace json_schema_constants { 10 11 extern const char kAdditionalProperties[]; 12 extern const char kAny[]; 13 extern const char kArray[]; 14 extern const char kBoolean[]; 15 extern const char kChoices[]; 16 extern const char kDescription[]; 17 extern const char kEnum[]; 18 extern const char kId[]; 19 extern const char kInteger[]; 20 extern const char kItems[]; 21 extern const char kMaximum[]; 22 extern const char kMaxItems[]; 23 extern const char kMaxLength[]; 24 extern const char kMinimum[]; 25 extern const char kMinItems[]; 26 extern const char kMinLength[]; 27 extern const char kNull[]; 28 extern const char kNumber[]; 29 extern const char kObject[]; 30 extern const char kOptional[]; 31 extern const char kPattern[]; 32 extern const char kPatternProperties[]; 33 extern const char kProperties[]; 34 extern const char kRef[]; 35 extern const char kSchema[]; 36 extern const char kString[]; 37 extern const char kTitle[]; 38 extern const char kType[]; 39 40 } // namespace json_schema_constants 41 42 #endif // COMPONENTS_JSON_SCHEMA_JSON_SCHEMA_CONSTANTS_H_ 43