Skip to content

Instantly share code, notes, and snippets.

@jbalboni
Last active February 1, 2017 19:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jbalboni/0ea4cd01c9f15a30d6fea7bca7f35dbd to your computer and use it in GitHub Desktop.
Save jbalboni/0ea4cd01c9f15a30d6fea7bca7f35dbd to your computer and use it in GitHub Desktop.
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