src/models/sections/identificationSSN.js

Summary

Maintainability
A
0 mins
Test Coverage
const identificationSSN = {
  ssn: {
    presence: true,
    ssn: true,
  },
  verified: (value, attributes) => {
    const { ssn } = attributes
    if (ssn && ssn.notApplicable) return {}
    return {
      presence: true,
      requireTrue: true,
    }
  },
}

export default identificationSSN