File tree Expand file tree Collapse file tree 5 files changed +6
-5
lines changed
Expand file tree Collapse file tree 5 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 121121 }
122122 },
123123 "required" : [
124- " short_name"
124+ " short_name" ,
125+ " long_name"
125126 ]
126127}
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const Ajv = require('ajv')
55const addFormats = require ( 'ajv-formats' )
66const BaseOrgSchema = JSON . parse ( fs . readFileSync ( 'src/middleware/schemas/BaseOrg.json' ) )
77const AdpOrgSchema = JSON . parse ( fs . readFileSync ( 'src/middleware/schemas/ADPOrg.json' ) )
8- const ajv = new Ajv ( { allErrors : false } )
8+ const ajv = new Ajv ( { allErrors : true } )
99addFormats ( ajv )
1010ajv . addSchema ( BaseOrgSchema )
1111
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const Ajv = require('ajv')
55const addFormats = require ( 'ajv-formats' )
66const BaseOrgSchema = JSON . parse ( fs . readFileSync ( 'src/middleware/schemas/BaseOrg.json' ) )
77const BulkDownloadOrgSchema = JSON . parse ( fs . readFileSync ( 'src/middleware/schemas/BulkDownloadOrg.json' ) )
8- const ajv = new Ajv ( { allErrors : false } )
8+ const ajv = new Ajv ( { allErrors : true } )
99addFormats ( ajv )
1010ajv . addSchema ( BaseOrgSchema )
1111
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const Ajv = require('ajv')
55const addFormats = require ( 'ajv-formats' )
66const BaseOrgSchema = JSON . parse ( fs . readFileSync ( 'src/middleware/schemas/BaseOrg.json' ) )
77const CnaOrgSchema = JSON . parse ( fs . readFileSync ( 'src/middleware/schemas/CNAOrg.json' ) )
8- const ajv = new Ajv ( { allErrors : false } )
8+ const ajv = new Ajv ( { allErrors : true } )
99addFormats ( ajv )
1010ajv . addSchema ( BaseOrgSchema )
1111
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const Ajv = require('ajv')
55const addFormats = require ( 'ajv-formats' )
66const BaseOrgSchema = JSON . parse ( fs . readFileSync ( 'src/middleware/schemas/BaseOrg.json' ) )
77const SecretariatOrgSchema = JSON . parse ( fs . readFileSync ( 'src/middleware/schemas/SecretariatOrg.json' ) )
8- const ajv = new Ajv ( { allErrors : false } )
8+ const ajv = new Ajv ( { allErrors : true } )
99addFormats ( ajv )
1010ajv . addSchema ( BaseOrgSchema )
1111
You can’t perform that action at this time.
0 commit comments