Class Diagram with violations
The colors of element and connectors indicate where this meta-model breaks the rules in the reference model.
1.<<special>>Requirement is in red because that stereotype isn’t in the reference model at all, and that has a default severity of 10. And 10 means it get colored in red.
You change change the severity values, and the colors.
2.The ‘Dependency’ connector between <<stakeholder>> Actor and <<functional>>Requirement is also red, because the reference model doesn’t have that kind of connector.
3.The <<stakeholder>>Actor is pink, because whilst it has some violations, they are not as serious as the first two.