src/applications/representative-appoint/pages/veteran/veteranContactMailingClaimant.js
import {
addressSchema,
addressUI,
titleUI,
titleSchema,
} from 'platform/forms-system/src/js/web-component-patterns';
export const uiSchema = {
...titleUI('Veteran’s mailing address'),
veteranHomeAddress: addressUI({
labels: {
militaryCheckbox: `This address is on a United States military base outside of the U.S.`,
},
}),
};
export const schema = {
type: 'object',
properties: {
titleSchema,
veteranHomeAddress: addressSchema({
omit: ['street3'],
}),
},
};