department-of-veterans-affairs/vets-website

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

Summary

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

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