ConstitutionRuleDef Type
Parsed constitution rule definition loaded from JSON
Record fields
| Record Field |
Description
|
Full Usage:
Category
Field type: string
|
Category: "Safety", "Privacy", "Behavioral", "Format", or "Domain:
|
Full Usage:
Description
Field type: string
|
Human-readable description
|
Full Usage:
Id
Field type: string
|
Unique rule identifier
|
Full Usage:
IsHardConstraint
Field type: bool
|
Whether this is a hard constraint (blocks output) vs soft (warning)
|
Full Usage:
Pattern
Field type: string
|
Regex pattern for the check (content matching this pattern violates the rule)
|
Full Usage:
Priority
Field type: int
|
Priority (higher = more important)
|
Nao