src/applications/hca/config/chapters/veteranInformation/birthSex.js
import fullSchemaHca from 'vets-json-schema/dist/10-10EZ-schema.json';
import PrefillMessage from 'platform/forms/save-in-progress/PrefillMessage';
import { genderLabels } from 'platform/static-data/labels';
const { gender } = fullSchemaHca.properties;
export default {
uiSchema: {
'ui:description': PrefillMessage,
gender: {
'ui:title': 'What sex were you assigned at birth?',
'ui:widget': 'radio',
'ui:options': {
labels: genderLabels,
},
},
},
schema: {
type: 'object',
required: ['gender'],
properties: { gender },
},
};