-
Type: Improvement
-
Status: Closed
-
Priority: Minor
-
Resolution: Unresolved
-
Affects Version/s: CSD2
-
Fix Version/s: CSD2
-
Component/s: Profile-YAML
-
Labels:None
-
Proposal:
-
Resolution:
Property definitions can include an "entry_schema" key that is used to declare the schema definition for entries of “container” types such as the TOSCA list or map. The schema specification is currently somewhat confusing, since it seems to allow for 3 different ways to specify "names" associated with the schema:
1. There is a "type" key in the specification that can refer to a named type (either a built-in type of a custom type created in the "datatype_definitions" section of a template).
2. There is a "name" key in the specification that allows an arbitrary name to be associated with the schema
3. The "datatypes_definitions" key of a template specifies a name for each newly created schema external to the schema specification itself.
I believe there is room for simplification.