Browse Source

Update JSON schema

pull/98/head
baarkerlounger 4 years ago
parent
commit
e0b688ab42
  1. 24
      config/forms/schema/generic.json

24
config/forms/schema/generic.json

@ -27,9 +27,9 @@
"properties": {
"label": {
"description": "",
"type": "string"
"type": "string"
},
"subsections": {
"subsections": {
"type": "object",
"patternProperties": {
"[a-z_]+": {
@ -41,10 +41,10 @@
"description": "",
"type": "string"
},
"pages": {
"pages": {
"type": "object",
"patternProperties": {
"^(?!(conditional_route_to))[a-z_]+$": {
"^(?!(depends_on))[a-z_]+$": {
"description": "Page Name",
"type": "object",
"required": ["header", "questions"],
@ -64,7 +64,7 @@
"description": "Question Name",
"type": "object",
"required": ["header", "type"],
"properties": {
"properties": {
"header": {
"description": "",
"type": "string"
@ -77,7 +77,7 @@
"description": "",
"type": "string",
"optional": "true"
}
}
},
"additionalProperties": {
"hint_text": {
@ -105,25 +105,25 @@
}
},
"additionalProperties": {
"conditional_route_to": {
"depends_on": {
"description": "",
"type": "object"
}
},
},
"minProperties": 1
}
}
}
}
},
"minProperties": 1
}
}
}
}
},
},
"minProperties": 2
}
},
"minProperties": 1
}
}
}
}

Loading…
Cancel
Save