Closed bwalsh closed 4 years ago
This is happening because you declared AnvilDocumentReference
as an Extension
, but you also declared its parent as DocumentReference
, which is not an Extension
. This is not valid as a parent of an Extension
must also be an Extension
. We should update SUSHI to report an error when it detects this type of use.
I think you're probably wanting something more like this:
Extension: AnvilDocumentReference
Id: anvil-document-reference
Title: "AnVIL document reference"
Description: "An association to a document."
* value[x] only Reference(DocumentReference)
Thanks very much.
Input
Output