Azure / opendigitaltwins-dtdl

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

Increase Nested Schema Limit #182

Open felixse opened 2 months ago

felixse commented 2 months ago

The current DTDL v3 specification imposes a maximum depth of 5 levels for nested complex schemas. However, in certain scenarios, this limit might be too restrictive. For more complex digital twin models, especially those involving intricate hierarchies or deeply nested structures, a higher limit would be beneficial.

Proposal: I suggest revising the DTDL v3 specification to allow for a deeper nesting level, perhaps up to 10 levels. This change would enhance the flexibility and expressiveness of dtdl models.

jrdouceur commented 2 months ago

DTDL v3 can no longer be changed, but we are considering various limit increases for DTDL v4.