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.
95 lines
2.5 KiB
95 lines
2.5 KiB
{ |
|
"$schema": "http://json-schema.org/draft-04/schema#", |
|
"$id": "https://example.com/product.schema.json", |
|
"title": "Form", |
|
"description": "A form", |
|
"type": "object", |
|
"required": ["form_type", "start_year", "end_year", "sections"], |
|
"properties": { |
|
"form_type": { |
|
"description": "", |
|
"type": "string" |
|
}, |
|
"start_year": { |
|
"description": "", |
|
"type": "integer" |
|
}, |
|
"end_year": { |
|
"description": "", |
|
"type": "integer" |
|
}, |
|
"sections": { |
|
"description": "", |
|
"type": "object", |
|
"patternProperties": { |
|
"^[0-9]+$": { |
|
"description": "", |
|
"type": "string" |
|
}, |
|
"label": { |
|
"description": "", |
|
"type": "string" |
|
}, |
|
"subsections": { |
|
"description": "", |
|
"type": "object", |
|
"patternProperties": { |
|
"^[0-9]+$": { |
|
"description": "", |
|
"type": "string" |
|
}, |
|
"label": { |
|
"description": "", |
|
"type": "string" |
|
}, |
|
"subsections": { |
|
"description": "", |
|
"type": "object", |
|
"patternProperties": { |
|
"^[0-9]+$": { |
|
"description": "", |
|
"type": "string" |
|
}, |
|
"label": { |
|
"description": "", |
|
"type": "string" |
|
}, |
|
"pages": { |
|
"description": "", |
|
"type": "object", |
|
"patternProperties": { |
|
"^[0-9]+$": { |
|
"description": "", |
|
"type": "string" |
|
} |
|
}, |
|
"questions": { |
|
"description": "", |
|
"type": "object", |
|
"patternProperties": { |
|
"^[0-9]+$": { |
|
"description": "", |
|
"type": "string" |
|
}, |
|
"conditional_for": { |
|
"type": "object", |
|
"properties": "" |
|
} |
|
} |
|
}, |
|
"conditional_route_to": { |
|
"type": "object", |
|
"properties": "" |
|
}, |
|
"default_next_page": { |
|
"type" : "string" |
|
} |
|
} |
|
} |
|
} |
|
} |
|
} |
|
} |
|
} |
|
} |
|
} |