text: import dateRangeUI from 'platform/forms-system/src/js/definitions/dateRange';
  import ServicePeriodView from '../../../platform/forms/components/ServicePeriodView';
  
  export default {
    'ui:title': 'Service periods',
    'ui:options': {
      itemName: 'Service Period',
      viewField: ServicePeriodView,
      hideTitle: true,
    },
    items: {
      dateRange: dateRangeUI(
        'Service start date',
        'Service end date',
        'End of service must be after start of service',
      ),
      serviceBranch: {
        'ui:title': 'Branch of service',
      },
      rank: {
        'ui:title': 'Rank',
      },
      serviceNumber: {
        'ui:title': 'Service number',
      },
      placeOfEntry: {
        'ui:title': 'Place of entry',
      },
      placeOfSeparation: {
        'ui:title': 'Place of separation',
      },
    },
  };
  