Merge "Removal of dead code"
[clamp.git] / src / main / java / org / onap / clamp / clds / tosca / JsonEditorSchemaConstants.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP CLAMP
4  * ================================================================================
5  * Copyright (C) 2018-2019 AT&T Intellectual Property. All rights
6  *                             reserved.
7  * ================================================================================
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  * ============LICENSE_END============================================
20  * ===================================================================
21  *
22  */
23
24 package org.onap.clamp.clds.tosca;
25
26 public class JsonEditorSchemaConstants {
27
28     //Data types in JSON Schema
29     public static final String TYPE_OBJECT = "object";
30     public static final String TYPE_ARRAY = "array";
31     public static final String TYPE_STRING = "string";
32     public static final String TYPE_INTEGER = "integer";
33
34     //Key elements in JSON Schema
35     public static final String TYPE = "type";
36     public static final String TITLE = "title";
37     public static final String REQUIRED = "required";
38     public static final String DEFAULT = "default";
39     public static final String ENUM = "enum";
40     public static final String ENUM_TITLES = "enum_titles";
41     public static final String OPTIONS = "options";
42     public static final String FORMAT = "format";
43     public static final String ITEMS = "items";
44     public static final String PROPERTIES = "properties";
45     public static final String PROPERTY_ORDER = "propertyOrder";
46
47     public static final String MINIMUM = "minimum";
48     public static final String MAXIMUM = "maximum";
49     public static final String MIN_LENGTH = "minLength";
50     public static final String MAX_LENGTH = "maxLength";
51     public static final String EXCLUSIVE_MINIMUM = "exclusiveMinimum";
52     public static final String EXCLUSIVE_MAXIMUM = "exclusiveMaximum";
53
54     public static final String CUSTOM_KEY_FORMAT = "format";
55     public static final String CUSTOM_KEY_FORMAT_TABS_TOP = "tabs-top";
56     public static final String FORMAT_SELECT = "select";
57     public static final String UNIQUE_ITEMS = "uniqueItems";
58     public static final String TRUE = "true";
59     public static final String QSSCHEMA = "qschema";
60     public static final String TYPE_QBLDR = "qbldr";
61
62     public static final String ID = "id";
63     public static final String LABEL = "label";
64     public static final String OPERATORS = "operators";
65     public static final String FILTERS = "filters";
66
67     public static final String SCHEMA = "schema";
68     public static final String CURRENT_VALUES = "currentValues";
69
70
71 }