| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/common/json_schema/json_schema_constants.h" | 5 #include "chrome/common/json_schema/json_schema_constants.h" |
| 6 | 6 |
| 7 namespace json_schema_constants { | 7 namespace json_schema_constants { |
| 8 | 8 |
| 9 const char kAdditionalProperties[] = "additionalProperties"; | 9 const char kAdditionalProperties[] = "additionalProperties"; |
| 10 const char kAny[] = "any"; | 10 const char kAny[] = "any"; |
| 11 const char kArray[] = "array"; | 11 const char kArray[] = "array"; |
| 12 const char kBoolean[] = "boolean"; | 12 const char kBoolean[] = "boolean"; |
| 13 const char kChoices[] = "choices"; | 13 const char kChoices[] = "choices"; |
| 14 const char kEnum[] = "enum"; | 14 const char kEnum[] = "enum"; |
| 15 const char kId[] = "id"; | 15 const char kId[] = "id"; |
| 16 const char kInteger[] = "integer"; | 16 const char kInteger[] = "integer"; |
| 17 const char kItems[] = "items"; | 17 const char kItems[] = "items"; |
| 18 const char kMaximum[] = "maximum"; | 18 const char kMaximum[] = "maximum"; |
| 19 const char kMaxItems[] = "maxItems"; | 19 const char kMaxItems[] = "maxItems"; |
| 20 const char kMaxLength[] = "maxLength"; | 20 const char kMaxLength[] = "maxLength"; |
| 21 const char kMinimum[] = "minimum"; | 21 const char kMinimum[] = "minimum"; |
| 22 const char kMinItems[] = "minItems"; | 22 const char kMinItems[] = "minItems"; |
| 23 const char kMinLength[] = "minLength"; | 23 const char kMinLength[] = "minLength"; |
| 24 const char kNull[] = "null"; | 24 const char kNull[] = "null"; |
| 25 const char kNumber[] = "number"; | 25 const char kNumber[] = "number"; |
| 26 const char kObject[] = "object"; | 26 const char kObject[] = "object"; |
| 27 const char kOptional[] = "optional"; | 27 const char kOptional[] = "optional"; |
| 28 const char kPattern[] = "pattern"; | 28 const char kPattern[] = "pattern"; |
| 29 const char kPatternProperties[] = "patternProperties"; |
| 29 const char kProperties[] = "properties"; | 30 const char kProperties[] = "properties"; |
| 30 const char kRef[] = "$ref"; | 31 const char kRef[] = "$ref"; |
| 32 const char kSchema[] = "$schema"; |
| 31 const char kString[] = "string"; | 33 const char kString[] = "string"; |
| 32 const char kType[] = "type"; | 34 const char kType[] = "type"; |
| 33 | 35 |
| 34 } // namespace json_schema_constants | 36 } // namespace json_schema_constants |
| OLD | NEW |