Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "id": "breeding-date",
- "steps": [{
- "name": "step1",
- "title": "➀ Calving Date",
- "sections": [{
- "name": "details",
- "caption": "",
- "fields": [{
- "name": "calvingDate",
- "label": "Calving Date",
- "component": "date",
- "validity": "required"
- }]
- }],
- "required": ["calvingDate"]
- }, {
- "name": "step2",
- "title": "➁ Gestation Period",
- "sections": [{
- "name": "gestation",
- "caption": "",
- "fields": [{
- "name": "gestationPeriod",
- "label": "Gestation Period",
- "component": "select",
- "options": [{
- "text": "279 Days",
- "value": "279"
- }, {
- "text": "280 Days",
- "value": "280"
- }, {
- "text": "281 Days",
- "value": "281"
- }, {
- "text": "282 Days",
- "value": "282"
- }, {
- "text": "283 Days",
- "value": "283"
- }, {
- "text": "284 Days",
- "value": "284"
- }, {
- "text": "285 Days",
- "value": "285"
- }, {
- "text": "286 Days",
- "value": "286"
- }, {
- "text": "287 Days",
- "value": "287"
- }]
- }]
- }],
- "required": ["gestationPeriod"]
- }],
- "validity": {
- "required": {
- "calvingDate": "⚠ Please enter a valid calving date"
- }
- }
- }
Add Comment
Please, Sign In to add comment