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