Implement validation and hierarchical get
[policy/models.git] / models-examples / src / main / resources / policytypes / onap.policies.Naming.yaml
index f1b9c43..c30cefe 100644 (file)
@@ -13,7 +13,7 @@ policy_types:
                     type: policy.data.naming-model-entity
 data_types:
     policy.data.naming-model-entity:
-        derived_from: tosca.nodes.Root
+        derived_from: tosca.datatypes.Root
         properties:
             nfRole:
                 type: string
@@ -26,7 +26,7 @@ data_types:
                 metadata:
                     matchable: true
             naming-recipe:
-                type: String
+                type: string
                 required: true
             name-operation:
                 type: string
@@ -37,7 +37,7 @@ data_types:
                 entry_schema:
                     type: policy.data.naming-property
     policy.data.naming-property:
-        derived_from: tosca.nodes.Root
+        derived_from: tosca.datatypes.Root
         properties:
             property-name:
                 type: string