|
264 | 264 | "type": "integer"
|
265 | 265 | },
|
266 | 266 | "last_name": {
|
| 267 | + "allow_nil": true, |
267 | 268 | "type": "string"
|
| 269 | + }, |
| 270 | + "preferred_contact_method": { |
| 271 | + "allow_nil": true, |
| 272 | + "one_of": [ |
| 273 | + "email", |
| 274 | + "phonecall", |
| 275 | + "sms" |
| 276 | + ], |
| 277 | + "type": "symbol" |
268 | 278 | }
|
269 | 279 | },
|
270 | 280 | "required": [
|
|
1074 | 1084 | "type": "integer"
|
1075 | 1085 | },
|
1076 | 1086 | "last_name": {
|
| 1087 | + "allow_nil": true, |
1077 | 1088 | "type": "string"
|
| 1089 | + }, |
| 1090 | + "preferred_contact_method": { |
| 1091 | + "allow_nil": true, |
| 1092 | + "one_of": [ |
| 1093 | + "email", |
| 1094 | + "phonecall", |
| 1095 | + "sms" |
| 1096 | + ], |
| 1097 | + "type": "symbol" |
1078 | 1098 | }
|
1079 | 1099 | },
|
1080 | 1100 | "required": [
|
|
1134 | 1154 | "type": "integer"
|
1135 | 1155 | },
|
1136 | 1156 | "last_name": {
|
| 1157 | + "allow_nil": true, |
1137 | 1158 | "type": "string"
|
| 1159 | + }, |
| 1160 | + "preferred_contact_method": { |
| 1161 | + "allow_nil": true, |
| 1162 | + "one_of": [ |
| 1163 | + "email", |
| 1164 | + "phonecall", |
| 1165 | + "sms" |
| 1166 | + ], |
| 1167 | + "type": "symbol" |
1138 | 1168 | }
|
1139 | 1169 | },
|
1140 | 1170 | "required": [
|
|
1348 | 1378 | "type": "integer"
|
1349 | 1379 | },
|
1350 | 1380 | "last_name": {
|
| 1381 | + "allow_nil": true, |
1351 | 1382 | "type": "string"
|
1352 | 1383 | },
|
| 1384 | + "preferred_contact_method": { |
| 1385 | + "allow_nil": true, |
| 1386 | + "one_of": [ |
| 1387 | + "email", |
| 1388 | + "phonecall", |
| 1389 | + "sms" |
| 1390 | + ], |
| 1391 | + "type": "symbol" |
| 1392 | + }, |
1353 | 1393 | "referral_channel": {
|
1354 | 1394 | "type": "string"
|
1355 | 1395 | },
|
|
1400 | 1440 | "type": "integer"
|
1401 | 1441 | },
|
1402 | 1442 | "last_name": {
|
| 1443 | + "allow_nil": true, |
1403 | 1444 | "type": "string"
|
1404 | 1445 | },
|
| 1446 | + "preferred_contact_method": { |
| 1447 | + "allow_nil": true, |
| 1448 | + "one_of": [ |
| 1449 | + "email", |
| 1450 | + "phonecall", |
| 1451 | + "sms" |
| 1452 | + ], |
| 1453 | + "type": "symbol" |
| 1454 | + }, |
1405 | 1455 | "referral_channel": {
|
1406 | 1456 | "type": "string"
|
1407 | 1457 | },
|
|
1620 | 1670 | "processor_manifest_data": {
|
1621 | 1671 | "casting": {
|
1622 | 1672 | "cast_to": {
|
| 1673 | + "allow_nil": true, |
1623 | 1674 | "type": "string"
|
1624 | 1675 | }
|
1625 | 1676 | }
|
|
1653 | 1704 | },
|
1654 | 1705 | "symbol": "missing_required_attribute"
|
1655 | 1706 | },
|
| 1707 | + "data.preferred_contact_method.cannot_cast": { |
| 1708 | + "category": "data", |
| 1709 | + "error": "Value::Processor::Casting::CannotCastError", |
| 1710 | + "key": "data.preferred_contact_method.cannot_cast", |
| 1711 | + "path": [ |
| 1712 | + "preferred_contact_method" |
| 1713 | + ], |
| 1714 | + "processor_manifest_data": { |
| 1715 | + "casting": { |
| 1716 | + "cast_to": { |
| 1717 | + "allow_nil": true, |
| 1718 | + "one_of": [ |
| 1719 | + "email", |
| 1720 | + "phonecall", |
| 1721 | + "sms" |
| 1722 | + ], |
| 1723 | + "type": "symbol" |
| 1724 | + } |
| 1725 | + } |
| 1726 | + }, |
| 1727 | + "symbol": "cannot_cast" |
| 1728 | + }, |
| 1729 | + "data.preferred_contact_method.value_not_valid": { |
| 1730 | + "category": "data", |
| 1731 | + "error": "duck::SupportedValidators::OneOf::ValueNotValidError", |
| 1732 | + "key": "data.preferred_contact_method.value_not_valid", |
| 1733 | + "path": [ |
| 1734 | + "preferred_contact_method" |
| 1735 | + ], |
| 1736 | + "processor_manifest_data": { |
| 1737 | + "one_of": [ |
| 1738 | + "email", |
| 1739 | + "phonecall", |
| 1740 | + "sms" |
| 1741 | + ] |
| 1742 | + }, |
| 1743 | + "symbol": "value_not_valid" |
| 1744 | + }, |
1656 | 1745 | "data.referral_channel.cannot_cast": {
|
1657 | 1746 | "category": "data",
|
1658 | 1747 | "error": "Value::Processor::Casting::CannotCastError",
|
|
1691 | 1780 | "type": "integer"
|
1692 | 1781 | },
|
1693 | 1782 | "last_name": {
|
| 1783 | + "allow_nil": true, |
1694 | 1784 | "type": "string"
|
| 1785 | + }, |
| 1786 | + "preferred_contact_method": { |
| 1787 | + "allow_nil": true, |
| 1788 | + "one_of": [ |
| 1789 | + "email", |
| 1790 | + "phonecall", |
| 1791 | + "sms" |
| 1792 | + ], |
| 1793 | + "type": "symbol" |
1695 | 1794 | }
|
1696 | 1795 | },
|
1697 | 1796 | "required": [
|
|
1729 | 1828 | "type": "integer"
|
1730 | 1829 | },
|
1731 | 1830 | "last_name": {
|
| 1831 | + "allow_nil": true, |
1732 | 1832 | "type": "string"
|
1733 | 1833 | },
|
| 1834 | + "preferred_contact_method": { |
| 1835 | + "allow_nil": true, |
| 1836 | + "one_of": [ |
| 1837 | + "email", |
| 1838 | + "phonecall", |
| 1839 | + "sms" |
| 1840 | + ], |
| 1841 | + "type": "symbol" |
| 1842 | + }, |
1734 | 1843 | "referral_channel": {
|
1735 | 1844 | "type": "string"
|
1736 | 1845 | },
|
|
7775 | 7884 | "type": "integer"
|
7776 | 7885 | },
|
7777 | 7886 | "last_name": {
|
| 7887 | + "allow_nil": true, |
7778 | 7888 | "type": "string"
|
| 7889 | + }, |
| 7890 | + "preferred_contact_method": { |
| 7891 | + "allow_nil": true, |
| 7892 | + "one_of": [ |
| 7893 | + "email", |
| 7894 | + "phonecall", |
| 7895 | + "sms" |
| 7896 | + ], |
| 7897 | + "type": "symbol" |
7779 | 7898 | }
|
7780 | 7899 | },
|
7781 | 7900 | "required": [
|
|
7799 | 7918 | "type": "integer"
|
7800 | 7919 | },
|
7801 | 7920 | "last_name": {
|
| 7921 | + "allow_nil": true, |
7802 | 7922 | "type": "string"
|
| 7923 | + }, |
| 7924 | + "preferred_contact_method": { |
| 7925 | + "allow_nil": true, |
| 7926 | + "one_of": [ |
| 7927 | + "email", |
| 7928 | + "phonecall", |
| 7929 | + "sms" |
| 7930 | + ], |
| 7931 | + "type": "symbol" |
7803 | 7932 | }
|
7804 | 7933 | },
|
7805 | 7934 | "required": [
|
|
7850 | 7979 | "type": "integer"
|
7851 | 7980 | },
|
7852 | 7981 | "last_name": {
|
| 7982 | + "allow_nil": true, |
7853 | 7983 | "type": "string"
|
| 7984 | + }, |
| 7985 | + "preferred_contact_method": { |
| 7986 | + "allow_nil": true, |
| 7987 | + "one_of": [ |
| 7988 | + "email", |
| 7989 | + "phonecall", |
| 7990 | + "sms" |
| 7991 | + ], |
| 7992 | + "type": "symbol" |
7854 | 7993 | }
|
7855 | 7994 | },
|
7856 | 7995 | "required": [
|
|
0 commit comments