Last active
February 1, 2017 19:36
-
-
Save jbalboni/0ea4cd01c9f15a30d6fea7bca7f35dbd to your computer and use it in GitHub Desktop.
This file contains 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
import fullSchema1995 from 'vets-json-schema/dist/change-of-program-schema.json'; | |
const { | |
veteranFullName, | |
veteranSocialSecurityNumber, | |
vaFileNumber | |
} = fullSchema1995.properties; | |
const config = { | |
defaultDefinitions: fullSchema1995.definitions, | |
pages: { | |
veteranInformation: { | |
uiSchema: { | |
... | |
}, | |
schema: { | |
type: 'object', | |
required: ['veteranFullName'], | |
properties: { | |
veteranFullName, | |
veteranSocialSecurityNumber, | |
'view:noSSN': { | |
type: 'boolean' | |
}, | |
vaFileNumber | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment