-
Notifications
You must be signed in to change notification settings - Fork 1
/
survey_output.json
28 lines (28 loc) · 1.13 KB
/
survey_output.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"$schema" : "http://json-schema.org/schema#",
"id" : "http://surveyman.github.io/Schemata/survey_output.json#",
"type" : "object",
"title" : "JSON schema for SurveyMan output",
"description" : "This is the schema to be passed between a library or runtime system to the survey host. The JSON object will be interpreteed by the SurveyMan JS library",
"properties" : {
"id" :{
"type" : "string"
},
"filename" : {
"description" : "The source file used to generate this survey. This string is a convenience for retreiving and parsing survey data.",
"type" : "string"
},
"breakoff" : {
"description" : "Indicates whether breakoff is permitted in this survey at any point. This will trigger a notice about allowing breakoff.",
"type" : "boolean"
},
"survey" : {
"description" : "The survey content. This essentially an array of blocks",
"type" : "array",
"items" : {
"$ref" : "survey_block.json"
}
}
},
"required" : ["survey", "filename"]
}