Skip to content

Commit

Permalink
Update alternate names schema, switch to ui:required (#304)
Browse files Browse the repository at this point in the history
Fixes alternate names silent validation bug
  • Loading branch information
markgreenburg authored Dec 10, 2018
1 parent 92816fb commit 1067172
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions dist/21-526EZ-ALLCLAIMS-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1499,13 +1499,10 @@
"properties": {
"alternateNames": {
"type": "array",
"minItems": 1,
"maxItems": 100,
"items": {
"type": "object",
"required": [
"first",
"last"
],
"properties": {
"first": {
"type": "string",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vets-json-schema",
"version": "3.118.0",
"version": "3.119.0",
"repository": {
"type": "git",
"url": "git+https://github.com/department-of-veterans-affairs/vets-json-schema.git"
Expand Down
2 changes: 1 addition & 1 deletion src/schemas/21-526EZ-allclaims/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,10 +215,10 @@ const schema = {
properties: {
alternateNames: {
type: 'array',
minItems: 1,
maxItems: 100,
items: {
type: 'object',
required: ['first', 'last'],
properties: {
first: {
type: 'string',
Expand Down

0 comments on commit 1067172

Please sign in to comment.