department-of-veterans-affairs/vets-website

View on GitHub
src/applications/simple-forms/21-0966/pages/survivingDependentRelationshipToVeteran.js

Summary

Maintainability
A
40 mins
Test Coverage
import {
  relationshipToVeteranSpouseOrChildUI,
  relationshipToVeteranSpouseOrChildSchema,
} from 'platform/forms-system/src/js/web-component-patterns/';

/** @type {PageSchema} */
export default {
  uiSchema: {
    relationshipToVeteran: relationshipToVeteranSpouseOrChildUI(),
  },
  schema: {
    type: 'object',
    required: ['relationshipToVeteran'],
    properties: {
      relationshipToVeteran: relationshipToVeteranSpouseOrChildSchema,
    },
  },
};