Sarmal Library · law
CustomRule
a function-like rule node defined by the user
- Family
- law
- .sar
- ÖzelKural
Fields
| Field | Type | Required |
|---|---|---|
code | · | Required |
what | · | Required |
target | · | Required |
scope | · | Optional |
condition | · | Optional |
violation | · | Optional |
severity | · | Optional |
diagnostics | · | Optional |
authorityAllowed values: | enum | Optional |
layerAllowed values: | enum | Optional |
Rule
A CustomRule is a Rule that descends into the directory named in its `target:` field; what separates this type from the other one is its scope. Outside the target, structural and threshold evaluation is skipped. There is no separate evaluator: the rule engine is the same.
Back to the Library
Source: SNF-0 v0.6 · Seal 8031fb8fcffc113a