src/applications/burials-ez/config/chapters/04-benefits-selection/tribalLandLocation.js
import { VaTextInputField } from 'platform/forms-system/src/js/web-component-fields';
import { generateTitle } from '../../../utils/helpers';
export default {
uiSchema: {
'ui:title': generateTitle('Cemetery location'),
tribalLandLocation: {
'ui:description':
'You selected that the deceased Veteran was buried on tribal trust land. Enter additional information here.',
'ui:options': {
classNames:
'vads-u-font-size--md vads-u-font-weight--normal vads-u-font-family--sans',
},
name: {
'ui:title': 'Name of tribal trust land',
'ui:webComponentField': VaTextInputField,
},
zip: {
'ui:title': 'Zip code for tribal trust land',
'ui:webComponentField': VaTextInputField,
},
},
},
schema: {
type: 'object',
properties: {
tribalLandLocation: {
type: 'object',
required: ['name', 'zip'],
properties: {
name: {
type: 'string',
},
zip: {
type: 'string',
},
},
},
},
},
};