I'd like the ability to blanket add sh:closed true to all my node shapes. (I don't think it's possible to add any finer granularity here other than "on" or "off" at generation time.) Doing so will also require adding sh:property [ sh:path rdf:type ] or sh:ignoredProperties (rdf:type) which is reasonable considering closed shapes are already adding additional restrictions anyway.
Since I'd like this for a project I'm going to implement it, but would it be accepted for merging into the main project?
Yes, please go ahead and add an option for it. Please add tests and make the pull-request clear so that it is easy to review, this will increase the chances to be merged quickly.
I'd like the ability to blanket add
sh:closed true
to all my node shapes. (I don't think it's possible to add any finer granularity here other than "on" or "off" at generation time.) Doing so will also require addingsh:property [ sh:path rdf:type ]
orsh:ignoredProperties (rdf:type)
which is reasonable considering closed shapes are already adding additional restrictions anyway.Since I'd like this for a project I'm going to implement it, but would it be accepted for merging into the main project?