src/applications/simple-forms/mock-simple-forms-patterns-v3/pages/nameAndDateOfBirth.js
import {
fullNameSchema,
fullNameUI,
dateOfBirthSchema,
dateOfBirthUI,
titleUI,
} from 'platform/forms-system/src/js/web-component-patterns';
/** @type {PageSchema} */
export default {
uiSchema: {
...titleUI('Name and date of birth'),
fullName: fullNameUI(),
dateOfBirth: dateOfBirthUI(),
},
schema: {
type: 'object',
properties: {
fullName: fullNameSchema,
dateOfBirth: dateOfBirthSchema,
},
},
};