Add extra authorative TOSCA concepts
[policy/models.git] / models-tosca / src / main / java / org / onap / policy / models / tosca / authorative / concepts / ToscaProperty.java
index 59fbc8b..0bd0d44 100644 (file)
@@ -41,9 +41,10 @@ public class ToscaProperty {
     }
 
     private String name;
-
     private String type;
 
+    @ApiModelProperty(name = "type_version")
+    @SerializedName("type_version")
     private String typeVersion;
 
     private String description;
@@ -53,14 +54,16 @@ public class ToscaProperty {
     private Object defaultValue;
 
     private boolean required = false;
-
     private Status status;
-
     private List<ToscaConstraint> constraints;
 
+    @ApiModelProperty(name = "key_schema")
+    @SerializedName("key_schema")
+    private ToscaSchemaDefinition keySchema;
+
     @ApiModelProperty(name = "entry_schema")
     @SerializedName("entry_schema")
-    private ToscaEntrySchema entrySchema;
+    private ToscaSchemaDefinition entrySchema;
 
     private Map<String, String> metadata;
 }