Skip to content

Commit

Permalink
Updating 10215 schema
Browse files Browse the repository at this point in the history
  • Loading branch information
GovCIOLiz committed Feb 18, 2025
1 parent 143e7d6 commit d96d694
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 30 deletions.
65 changes: 36 additions & 29 deletions dist/22-10215-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
"type": "string"
}
},
"required": [
"institutionDetails",
"programs"
],
"properties": {
"institutionDetails": {
"type": "object",
Expand All @@ -35,35 +39,38 @@
},
"programs": {
"type": "array",
"required": [
"programName",
"studentsEnrolled",
"supportedStudents"
],
"properties": {
"programName": {
"type": "string"
},
"studentsEnrolled": {
"type": "integer"
},
"supportedStudents": {
"type": "integer"
},
"fte": {
"type": "object",
"properties": {
"supported": {
"type": "integer"
},
"nonSupported": {
"type": "integer"
},
"totalFTE": {
"type": "integer"
},
"supportedPercentageFTE": {
"type": "number"
"items": {
"type": "object",
"required": [
"programName",
"studentsEnrolled",
"supportedStudents"
],
"properties": {
"programName": {
"type": "string"
},
"studentsEnrolled": {
"type": "integer"
},
"supportedStudents": {
"type": "integer"
},
"fte": {
"type": "object",
"properties": {
"supported": {
"type": "integer"
},
"nonSupported": {
"type": "integer"
},
"totalFTE": {
"type": "integer"
},
"supportedPercentageFTE": {
"type": "number"
}
}
}
}
Expand Down
20 changes: 19 additions & 1 deletion src/schemas/22-10215/schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const schema = {
type: 'object',
additionalProperties: false,
definitions: pickedDefinitions,
required: ['institutionDetails', 'programs'],
required: ['certifyingOfficial', 'institutionDetails', 'programs', 'statementOfTruthSignature'],
properties: {
institutionDetails: {
type: 'object',
Expand All @@ -29,6 +29,21 @@ const schema = {
},
},
},
certifyingOfficial: {
type: 'object',
required: ['first', 'last', 'title'],
properties: {
first: {
type: 'string',
},
last: {
type: 'string',
},
title: {
type: 'string',
},
},
},
programs: {
type: 'array',
items: {
Expand Down Expand Up @@ -64,6 +79,9 @@ const schema = {
},
},
},
statementOfTruthSignature: {
type: "string"
},
},
};

Expand Down

0 comments on commit d96d694

Please sign in to comment.