Guest User

Untitled

a guest
Dec 10th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. {
  2. "id": "breeding-date",
  3. "steps": [{
  4. "name": "step1",
  5. "title": "➀ Calving Date",
  6. "sections": [{
  7. "name": "details",
  8. "caption": "",
  9. "fields": [{
  10. "name": "calvingDate",
  11. "label": "Calving Date",
  12. "component": "date",
  13. "validity": "required"
  14. }]
  15. }],
  16. "required": ["calvingDate"]
  17. }, {
  18. "name": "step2",
  19. "title": "➁ Gestation Period",
  20. "sections": [{
  21. "name": "gestation",
  22. "caption": "",
  23. "fields": [{
  24. "name": "gestationPeriod",
  25. "label": "Gestation Period",
  26. "component": "select",
  27. "options": [{
  28. "text": "279 Days",
  29. "value": "279"
  30. }, {
  31. "text": "280 Days",
  32. "value": "280"
  33. }, {
  34. "text": "281 Days",
  35. "value": "281"
  36. }, {
  37. "text": "282 Days",
  38. "value": "282"
  39. }, {
  40. "text": "283 Days",
  41. "value": "283"
  42. }, {
  43. "text": "284 Days",
  44. "value": "284"
  45. }, {
  46. "text": "285 Days",
  47. "value": "285"
  48. }, {
  49. "text": "286 Days",
  50. "value": "286"
  51. }, {
  52. "text": "287 Days",
  53. "value": "287"
  54. }]
  55. }]
  56. }],
  57. "required": ["gestationPeriod"]
  58. }],
  59. "validity": {
  60. "required": {
  61. "calvingDate": "⚠ Please enter a valid calving date"
  62. }
  63. }
  64. }
Add Comment
Please, Sign In to add comment