diff options
Diffstat (limited to 'components/json_schema/json_schema_constants.cc')
-rw-r--r-- | components/json_schema/json_schema_constants.cc | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/components/json_schema/json_schema_constants.cc b/components/json_schema/json_schema_constants.cc new file mode 100644 index 0000000..0152cfc --- /dev/null +++ b/components/json_schema/json_schema_constants.cc @@ -0,0 +1,38 @@ +// Copyright 2013 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "components/json_schema/json_schema_constants.h" + +namespace json_schema_constants { + +const char kAdditionalProperties[] = "additionalProperties"; +const char kAny[] = "any"; +const char kArray[] = "array"; +const char kBoolean[] = "boolean"; +const char kChoices[] = "choices"; +const char kDescription[] = "description"; +const char kEnum[] = "enum"; +const char kId[] = "id"; +const char kInteger[] = "integer"; +const char kItems[] = "items"; +const char kMaximum[] = "maximum"; +const char kMaxItems[] = "maxItems"; +const char kMaxLength[] = "maxLength"; +const char kMinimum[] = "minimum"; +const char kMinItems[] = "minItems"; +const char kMinLength[] = "minLength"; +const char kNull[] = "null"; +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 kTitle[] = "title"; +const char kType[] = "type"; + +} // namespace json_schema_constants |