department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
281 stars 196 forks source link

Toxic Exposure - Add custom BE validation for Add Conditions #81542

Open sethdarragile6 opened 3 months ago

sethdarragile6 commented 3 months ago

Issue Description

This story is a subset of a larger story, 79938 Toxic Exposure - Schema for all TE fields to Form526 vets JSON schema, currently targeted for the Iteration #4. Because the Add Conditions JSON from the FE (toxicExposureConditions, see contact) generates dynamic properties, it was found on an earlier ticket that our currently implementation of JSON Schema on the BE can not handle it. Therefore, some sort of custom validation (at the submit_all_claim level) should be in place to cover that gap.


Tasks

Acceptance Criteria

alatempa24 commented 3 months ago

This is a nice to have - moving to Post MVP epic