Ah - ok! BMM wasn’t designed for that, but it’s easy to fake by manual inclusion of course.
NB: there is a line model_name = <"xxx">
that you will see in schemas intended to be top-level models.
rm_publisher = <"openehr">
schema_name = <"am">
rm_release = <"2.2.0">
model_name = <"AOM2">
If a BMM files doesn’t have that, it probably won’t function on its own.
If you want to implement the inclusion logic (not saying you should!), it’s here…
I didn’t know about the " model_name
" rule. I should include that in the validator.
Thank you for sharing your code. I have something similar to build a list of available models:
1 Like
pablo
(Pablo Pazos)
23
1 Like