Submit social housing lettings and sales data (CORE)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

92 lines
2.7 KiB

3 years ago
{
3 years ago
"$schema": "http://json-schema.org/draft-04/schema#",
3 years ago
"$id": "https://example.com/product.schema.json",
"title": "Form",
"description": "A form",
"type": "object",
3 years ago
"required": ["form_type", "start_year", "end_year", "sections"],
3 years ago
"properties": {
"form_type": {
"description": "",
"type": "string"
},
"start_year": {
"description": "",
3 years ago
"type": "integer"
3 years ago
},
"end_year": {
"description": "",
3 years ago
"type": "integer"
3 years ago
},
"sections": {
"type": "object",
"patternProperties": {
3 years ago
"[a-z_\/#]+": {
3 years ago
"description": "",
3 years ago
"type": "object"
3 years ago
},
3 years ago
"properties": {
"label": {
"description": "",
"type": "string"
},
"subsections": {
"description": "",
"type": "object",
"patternProperties": {
"[a-z_\/#]+": {
"description": "",
"type": "object",
"required": ["label"],
"properties": {
"label": {
3 years ago
"description": "",
3 years ago
"type": "string",
"required": "true"
},
"pages": {
3 years ago
"type": "object",
3 years ago
"required": ["header"],
3 years ago
"patternProperties": {
3 years ago
"type": "object",
"[a-z_]+": {
"properties": {
"header": {
"description": "",
"type": "string"
},
"description": {
"description": "",
"type": "string"
},
"questions": {
"type": "object",
"patternProperties": {
"type": "object",
"[a-z_]+": {
"properties": {
"check_answer_label": {
"type": "string"
}
}
}
},
"minProperties": 8
},
"minProperties": 8
}
3 years ago
}
3 years ago
},
"minProperties": 8
3 years ago
}
}
}
3 years ago
},
"minProperties": 8
3 years ago
}
3 years ago
}
3 years ago
},
"minProperties": 1
3 years ago
}
}
}