OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

tosca-comment message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Sequenced list


Hi,

We are currently working on a Java data model for the current version
of the specification.

There, the data type "sequenced list" is used. For instance, at the
"constraints" of properties (page 94 / 3.6.9.5 Example), it reads as
follows:

constraints:
- min_length: 6
- max_length: 10

Why is not the normal YAML syntax used?

constraints:
  min_length: 6
  max_length: 10

The former leads to a List of Maps, whereas the directly leads to a map.

Maybe the specification could elaborate more an the design decisions
or try to simplify the data structure a bit.

Cheers,

Oliver


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]