I would change the CDE microschema to store this set of linkml:comments:
- Classes instantiating this SHOULD NOT have identifier slots
- Classes instantiating this SHOULD be used with inlined=true
- Classes instantiating this MAY compose other microschemas via attributes
here:
like this:
ValueMicroschemaDefinition:
is_a: MicroschemaDefinition
annotations:
must_not_have_id_slot: true
must_be_inlined: true
# I don't know how to validate/enforce "Classes instantiating this MAY compose other microschemas via attributes" and write a validator plugin to capture those annotations via the "instantiates" keyword here:
Quantity:
instantiates:
- ValueMicroschemaDefinition
and then I could write a linkml validation plugin to capture those annotations via the "instantiates" keyword:
Quantity:
instantiates:
- ValueMicroschemaDefinition
see also: #21, linkml/linkml#3281
I would change the CDE microschema to store this set of
linkml:comments:here:
linkml-microschema-profile/src/linkml_microschema_profile/schema/linkml_microschema_profile.yaml
Line 48 in e08c308
like this:
and then I could write a linkml validation plugin to capture those annotations via the "instantiates" keyword:
see also: #21, linkml/linkml#3281