Open
Description
Hi, there.
I'm trying to define a schema with DTDL v2. I see many fields are "required" while they can be referenced only. For example, I can globally define an Enum
and refer to it by @id
in other Property
definitions. JSON-LD defines node reference:
A node reference is a node object containing only the
@id
property, which may represent a reference to a node object found elsewhere in the document.
However, in the DTDL v2 spec, @type
, enumValues
, and valueSchema
are required which should not exist in referencing objects.
Do DTDL respect reference nodes, where the above properties should be optional), or should I always denormalize all the references?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels