{"id":311,"date":"2019-11-01T14:10:13","date_gmt":"2019-11-01T14:10:13","guid":{"rendered":"https:\/\/sdf-docs.mansystems.com\/docs\/acr-rules\/maintenance\/amount-of-non-required-validation-rules-on-entity\/"},"modified":"2020-02-24T11:45:03","modified_gmt":"2020-02-24T11:45:03","slug":"validationruleamount1","status":"publish","type":"docs","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/maintainability\/validationruleamount1","title":{"rendered":"Entity should have a maximum of N non-required validation rules"},"content":{"rendered":"\n<table class=\"wp-block-table\"><tbody><tr><td>\n  Checks if entity has too many\n  non-required validation rules\n  <\/td><\/tr><tr><td>\n  Sometimes you want all validations to be\n  done in microflows and do not allow domain model validations for they are not\n  that visible in the microflow and give unexpected errors.\n  <\/td><\/tr><tr><td>\n  Add an integer value that constrains the\n  max amount of non-required validation rules on an entity.\n  <\/td><\/tr><\/tbody><\/table>\n","protected":false},"featured_media":0,"parent":98,"menu_order":11,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-311","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/311"}],"collection":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=311"}],"version-history":[{"count":2,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/311\/revisions"}],"predecessor-version":[{"id":874,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/311\/revisions\/874"}],"up":[{"embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/98"}],"next":[{"title":"Entity should have a maximum of N validation rules","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/maintainability\/validationrulesamount","href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/323"}],"prev":[{"title":"Entity should have a maximum of N event handlers","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/maintainability\/eventhandleramount","href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/313"}],"wp:attachment":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=311"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}