src/applications/simple-forms/21-0972/pages/claimantContactInformation.js
import {
emailSchema,
emailUI,
phoneUI,
phoneSchema,
} from 'platform/forms-system/src/js/web-component-patterns';
/** @type {PageSchema} */
export default {
uiSchema: {
claimantPhone: phoneUI('Phone number'),
claimantEmail: emailUI('Email address'),
},
schema: {
type: 'object',
properties: {
claimantPhone: phoneSchema,
claimantEmail: emailSchema,
},
required: ['claimantPhone'],
},
};