Skip to content

Commit

Permalink
vebt-1226 updated form 22-10216 schema
Browse files Browse the repository at this point in the history
  • Loading branch information
wafimohamed committed Feb 21, 2025
1 parent 81c6670 commit 65e48bc
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 3 deletions.
26 changes: 25 additions & 1 deletion dist/22-10216-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,32 @@
"institutionDetails": {
"type": "object",
"required": [
"certifyingOfficial",
"institutionName",
"facilityCode",
"termStartDate"
"termStartDate",
"statementOfTruthSignature"
],
"properties": {
"certifyingOfficial": {
"type": "object",
"required": [
"first",
"last",
"title"
],
"properties": {
"first": {
"type": "string"
},
"last": {
"type": "string"
},
"title": {
"type": "string"
}
}
},
"institutionName": {
"type": "string"
},
Expand All @@ -27,6 +48,9 @@
},
"termStartDate": {
"$ref": "#/definitions/date"
},
"statementOfTruthSignature": {
"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": "24.8.0",
"version": "24.8.1",
"license": "CC0-1.0",
"repository": {
"type": "git",
Expand Down
20 changes: 19 additions & 1 deletion src/schemas/22-10216/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,23 @@ const schema = {
properties: {
institutionDetails: {
type: 'object',
required: ['institutionName', 'facilityCode', 'termStartDate'],
required: ['certifyingOfficial', 'institutionName', 'facilityCode', 'termStartDate', 'statementOfTruthSignature'],
properties: {
certifyingOfficial: {
type: 'object',
required: ['first', 'last', 'title'],
properties: {
first: {
type: 'string',
},
last: {
type: 'string',
},
title: {
type: 'string',
},
},
},
institutionName: {
type: 'string',
},
Expand All @@ -26,6 +41,9 @@ const schema = {
termStartDate: {
$ref: '#/definitions/date',
},
statementOfTruthSignature: {
type: 'string',
},
},
},
studentRatioCalcChapter: {
Expand Down

0 comments on commit 65e48bc

Please sign in to comment.