Question on behalf of @marcus-stellar-pool:
Is it possible to change/extend the meta data structure of A12 models in the definition on document-level?
Answer on behalf of @tomas-thin-gale:
All models must have a header and this header has an annotations map which can have some additional properties. But beyond that there are no more custom metadata available in document models or documents.
Also the header is on the model level not on the document level. For document level we have no annotations nor any metadata beyond very basic created_at, modified_at, created_by, modified_by.
Answer on behalf of @andreas-fresh-mesa:
If I understand you correctly, you want to associate additional data with a document. Isn’t this what relationships are all about?
Answer on behalf of @armin-slim-delta:
You can also have an include “meta data” you add to each model. The advantage is that you can use these field in validation rules.