tundra.tn.document.type.schema:get should look up document type if required
lachlan opened this issue · comments
Lachlan Dowding commented
Add $type/TypeID and $type/TypeName optional inputs, and if no ParsingSchema or recordBlueprint exists in the given $type document, then retrieve the document type from TN using TypeID or TypeName. This will let the service work in two modes, firstly where the document type has already been fetched and is passed whole to this service, and secondly where only the document type id or name is known when this service is called.