From c2a5f17d53a205ba9247b2b3b15bce9fc64b6fe9 Mon Sep 17 00:00:00 2001 From: "A.J. Stein" Date: Mon, 7 Oct 2024 12:45:33 -0400 Subject: [PATCH] @Rene2mt's feedback: add level req for #675 --- src/validations/constraints/STYLE.md | 48 ++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/src/validations/constraints/STYLE.md b/src/validations/constraints/STYLE.md index a7c4e8b98..3ea3e1174 100644 --- a/src/validations/constraints/STYLE.md +++ b/src/validations/constraints/STYLE.md @@ -351,3 +351,51 @@ Below is a non-conformant example. ``` + +### FCSR-6 + +ID: `fcsr-6` + +Formal Name: FedRAMP Requires Constraints Have a Severity Level + +State: Required + +Guidance: Developers MUST define a Metaschema constraint with a `level` flag with [a valid value](https://pages.nist.gov/metaschema/specification/syntax/constraints/#level) to indicate to downstream developers and/or users the potential impact of the data instance not meeting its requirements. + +#### FCSR-6 Conformant Example + +Below is a conformant example. + +```xml + + + + + + + + Duplicate response point at '{ path(.) }'. + + + + +``` + +#### FCSR-6 Non-conformant Example + +Below is a non-conformant example. + +```xml + + + + + + + + Duplicate response point at '{ path(.) }'. + + + + +``` \ No newline at end of file