oasis-tcs / tosca-specs

OASIS TOSCA TC: This repository contains drafts of the TOSCA TC’s specifications and committee notes. https://github.com/oasis-tcs/tosca-specs
Other
5 stars 5 forks source link

Type system of "Property Definition" #81

Closed koppor closed 3 months ago

koppor commented 3 months ago

Context: https://docs.oasis-open.org/tosca/TOSCA/v2.0/csd06/TOSCA-v2.0-csd06.html#93-property-definition

property_type: represents the mandatory data type of the property.

It is of type string.

However, there is no reference for valid values. Can I do: int64, 0..100, 0.0..100, xsd:string, kopp:cpuload?

With TOSCA 1.0 the data model was clear: XML Schema including mappings to programming languages (see https://stackoverflow.com/a/31957831/873282 for more information). - It is not clear now, what a "compliant TOSCA implementation" should cover.

Maybe, there is only some reference to another section missing.

koppor commented 3 months ago

Invalid. Section 9 covers data types in length.

koppor commented 3 months ago

Maybe, a back link from property definition to above would help.