Azure / opendigitaltwins-dtdl

Digital Twins Definition Language
Creative Commons Attribution 4.0 International
466 stars 160 forks source link

Clarify lowest value of maxMultiplicity of relations #100

Closed mlagally closed 3 years ago

mlagally commented 3 years ago

Please clarify why the lowest value of the max multiplicity of a relationship is 2. The current text defines maxMultiplicity as:

must be > 1 and >= min-Multiplicity

briancr-ms commented 3 years ago

This looks like a doc bug. A value of 1 for maxMultiplicity is accepted. (Tested with the C# DTDL parser (3.12.5): https://www.nuget.org/packages/Microsoft.Azure.DigitalTwins.Parser/.)

There are a few other doc bugs. I'll do a doc update soon and fix all of these.