{"id":323,"date":"2019-11-01T14:13:40","date_gmt":"2019-11-01T14:13:40","guid":{"rendered":"https:\/\/sdf-docs.mansystems.com\/docs\/acr-rules\/maintenance\/amount-of-validation-rules-on-entity\/"},"modified":"2020-02-24T11:45:03","modified_gmt":"2020-02-24T11:45:03","slug":"validationrulesamount","status":"publish","type":"docs","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/maintainability\/validationrulesamount","title":{"rendered":"Entity should have a maximum of N validation rules"},"content":{"rendered":"\n<table class=\"wp-block-table\"><tbody><tr><td>\n  Checks if entity has too many validation\n  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 validation rules per entity.\n  <\/td><\/tr><\/tbody><\/table>\n","protected":false},"featured_media":0,"parent":98,"menu_order":12,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-323","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/323"}],"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=323"}],"version-history":[{"count":2,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/323\/revisions"}],"predecessor-version":[{"id":875,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/323\/revisions\/875"}],"up":[{"embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/98"}],"next":[{"title":"Exclusive split should have a descriptive caption","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/maintainability\/splitcaption","href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/341"}],"prev":[{"title":"Entity should have a maximum of N non-required validation rules","link":"https:\/\/sdf-docs.clevr.com\/?docs=acr-rules\/maintainability\/validationruleamount1","href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=\/wp\/v2\/docs\/311"}],"wp:attachment":[{"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=323"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/sdf-docs.clevr.com\/index.php?rest_route=%2Fwp%2Fv2%2Fdoc_tag&post=323"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}