Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.92 KB | None | 0 0
  1. [
  2.       {
  3.         "pagename": "Initialize",
  4.         "rendered": "true",
  5.         "form": [
  6.             {
  7.                 "label": "Name",
  8.                 "type": "text",
  9.                 "path": "installation.user.name",
  10.                 "value": {
  11.                     "default": null,
  12.                     "placeholder": "Input Username"
  13.                 },
  14.                 "layout": {
  15.                     "mobile": 12,
  16.                     "tablet": 4,
  17.                     "desktop": 3
  18.                 }
  19.             },
  20.             {
  21.                 "label": "Do you accept the terms and conditions?",
  22.                 "type": "toggle",
  23.                 "path": "installation.user.accept",
  24.                 "value": {
  25.                     "default": false
  26.                 },
  27.                 "layout": {
  28.                     "mobile": 12,
  29.                     "tablet": 4,
  30.                     "desktop": 3
  31.                 },
  32.                 "rendered": "installation.user.name.length > 0"
  33.             },
  34.             {
  35.                 "label": "testing",
  36.                 "type": "date",
  37.                 "path": "testo",
  38.                 "rendered": "false"
  39.             },
  40.             {
  41.                 "label": "Root",
  42.                 "type": "map",
  43.                 "path": "root",
  44.                 "child_content": [
  45.                     {
  46.                         "label": "Child 1",
  47.                         "type": "array",
  48.                         "path": "child1",
  49.                         "child_content": {
  50.                             "type": "date"
  51.                         },
  52.                         "layout": {
  53.                             "mobile": 12,
  54.                             "tablet": 4,
  55.                             "desktop": 3
  56.                         }
  57.                     },
  58.                     {
  59.                         "label": "Child 2",
  60.                         "type": "map",
  61.                         "path": "child2",
  62.                         "child_content": [
  63.                             {
  64.                                 "label": "Grandchild 1",
  65.                                 "type": "checkbox",
  66.                                 "path": "grandchild1",
  67.                                 "value": {
  68.                                     "default": "value1",
  69.                                     "contents": [
  70.                                         { "text": "Value", "value": "value1" },
  71.                                         { "text": "Eulav", "value": "value2" },
  72.                                         { "text": "Lueva", "value": "value3" },
  73.                                     ]
  74.                                 },
  75.                                 "layout": {
  76.                                     "mobile": 12,
  77.                                     "tablet": 4,
  78.                                     "desktop": 3
  79.                                 }
  80.                             },
  81.                             {
  82.                                 "label": "Grandchild 2",
  83.                                 "type": "image",
  84.                                 "path": "grandchild2"
  85.                             },
  86.                             {
  87.                                 "label": "Grandchild 3",
  88.                                 "type": "time",
  89.                                 "path": "grandchild3",
  90.                                 "layout": {
  91.                                     "mobile": 2,
  92.                                     "tablet": 2,
  93.                                     "desktop": 2
  94.                                 }
  95.                             },
  96.                             {
  97.                                 "label": "Grandchild 4",
  98.                                 "type": "number",
  99.                                 "path": "grandchild4",
  100.                                 "required": true,
  101.                             }
  102.                         ]
  103.                     }
  104.                 ]
  105.             }
  106.         ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement