Custom Validation rule for Requirements Viewpoint

Hello,
I wish to create a custom validation rule for the requirements in my model, added using the Requirements viewpoint. Online, it only mentions the outdated built-in requirements module as an available Namespace URI.
Is it possible to build such a validation rule? How do I figure out the correct Namespace URI to achieve this?
Thank you in advance,
Daniil

Hi,
Indeed it is possible to build such rules.
You can look at existing validation rules from Requirement viewpoint.
https://git.polarsys.org/c/capella/capella-requirements-vp.g it/tree/plugins/org.polarsys.capella.vp.requirements.validat ion
https://git.polarsys.org/c/capella/capella-requirements-vp.g it/tree/plugins/org.polarsys.capella.vp.requirements.validat ion/plugin.xml
https://git.polarsys.org/c/capella/capella-requirements-vp.g it/tree/plugins/org.polarsys.capella.vp.requirements.validat ion/src/org/polarsys/capella/vp/requirements/validation/REQ_ Relation_01_Relation.java
Best regards
Philippe

Great thank you very much for pointing me to the correct resources!
Best,
Daniil

Hello,
It seems that my capella studios does not recognize several of the bundles used here. It throws a “Bundle ‘org.polarsys.capella.vp.requirements.model’ cannot be resolved” for 4/5 different bundles. As such, I cannot use the Requirement type in my code, since I cannot add the necessary bundle. Is there any way to add these bundles? How do I make the platform recognize them?
Thank you in advance,
Daniil

Copyright © Eclipse Capella, the Eclipse Capella logo, Eclipse and the Eclipse logo are Trademarks of The Eclipse Foundation.