Skip to content

Add alerts for estimated amount in v3.0, nine 9s in allowed amount elements#89

Merged
shaselton-usds merged 4 commits intomainfrom
alert-estimated-amount
Feb 6, 2026
Merged

Add alerts for estimated amount in v3.0, nine 9s in allowed amount elements#89
shaselton-usds merged 4 commits intomainfrom
alert-estimated-amount

Conversation

@mint-thompson
Copy link
Collaborator

@mint-thompson mint-thompson commented Feb 4, 2026

The estimated amount property was removed from the data dictionaries in version 3.0. If validating a file with version 3.0 or later, show an alert if a CSV column header is found that would match that property's definition, and show an alert if a payers information object in JSON contains an estimated amount property. Do not show these alerts for versions prior to 3.0.

Emit an alert when validating a file on version 3.0.0 or later and a value of nine 9s is encoded for count, median amount, 10th percentile, or 90th percentile.

The estimated amount property was removed from the data dictionaries in
version 3.0. Show an alert if a CSV column header is found that would
match that property's definition. Show an alert if a payers information
object in JSON contains an estimated amount property. Do not show alerts
for versions prior to 3.0.
Emit an alert when validating a file on version 3.0.0 or later and a
value of nine 9s is encoded for median amount, 10th percentile, or 90th
percentile.
@@ -0,0 +1,54 @@
{
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm still impressed/loving this sub-schema implementation check!

Copy link
Collaborator

@shaselton-usds shaselton-usds left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pulled down, ran test locally -- looks great.

Is there an alert limit that can be pushed the array?

@shaselton-usds shaselton-usds merged commit 3dd1078 into main Feb 6, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants