This repository is currently being migrated. It's locked while the migration is in progress.
Add JSON Schema for VA Form 27-2008#1171
Draft
tarratsco wants to merge 3 commits into
Draft
Conversation
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 27-2008
Summary
This schema covers VA Form 27-2008 — Application for United States Flag for Burial Purposes. It is authored against JSON Schema Draft-04 and includes the following key elements:
date(ISO 8601 format,YYYY-MM-DDpattern),ssn(9-digit string),phone(10-digit string),email(format-validated, max 254 characters), andusaState(enum of all U.S. state and territory abbreviations including DC).additionalProperties: falseis set at the root level, enforcing a strict schema boundary and preventing undeclared fields from being accepted.vets-json-schemarepository (e.g.,ssnas a plain 9-digit string without hyphens, 10-digit phone without formatting).Files
src/schemas/27-2008-schema.jsonNotes for reviewer
package.jsonbackend-review-groupas a reviewerusaStateenum should be verified for completeness — the artifact summary was truncated before the full list of state codes was visible. Please confirm all 50 states, DC, and any applicable territories are included.ssnpattern (^\d{9}$) stores Social Security Numbers without hyphens — confirm this is consistent with how downstream consumers (vets-api, vets-website) expect to receive this value.phonepattern (^\d{10}$) does not account for extensions or international numbers — confirm this is acceptable for the form's use case.Pull Requests to update the schema in related repositories