Add JSON Schema for VA Form 10-7959E#5
Draft
voidspooks wants to merge 1 commit into
Draft
Conversation
Generated by Optimus (https://github.com/aquia-inc/optimus). All files require human review before merging. Files: - src/schemas/10-7959E/schema.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New schema — VA Form 10-7959E
Summary
This PR introduces the JSON schema for VA Form 10-7959E (CHAMPVA Other Health Insurance Certification). The schema is defined under
src/schemas/10-7959E/schema.jsand covers veteran/beneficiary identification and insurance certification fields.Key details of the schema include:
ssn(formatted as999-99-9999),date(ISO 8601YYYY-MM-DD),usPhone(formatted as(999) 999-9999), andzipCode(5-digit or ZIP+4 format)additionalProperties: falseis set at the root object level, preventing undeclared fields from being submitted$ref-based definition references are used throughout via abuildDefinitionReferencehelper to promote reuse and reduce duplicationvets-json-schemapatternsFiles
src/schemas/10-7959E/schema.jsNotes for reviewer
package.jsonbackend-review-groupas a reviewerssn,date,usPhone, andzipCodedefinitions follow existing conventions in the repository — please verify they align with or can be replaced by shared definitions if those exist in the codebaseadditionalProperties: falseat the root is appropriate for this form's backend processing requirements12345) and ZIP+4 (12345-6789) formats — confirm this is acceptable for this form's use casePull Requests to update the schema in related repositories