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 #include "components/json_schema/json_schema_constants.h" 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"; 14 const char kDescription[] = "description"; 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"; 30 const char kPatternProperties[] = "patternProperties"; 31 const char kProperties[] = "properties"; 32 const char kRef[] = "$ref"; 33 const char kSchema[] = "$schema"; 34 const char kString[] = "string"; 35 const char kTitle[] = "title"; 36 const char kType[] = "type"; 37 38 } // namespace json_schema_constants 39