| type | | type | "string" |
|---|
| enum | | "scale" |
| "yes-no" |
| "simple" |
| "nested" |
|
|---|
| description | "Type of survey input" |
|---|
|
|---|
| rows | | type | "array" |
|---|
| description | "List of rows (survey items)" |
|---|
| items | | type | "object" |
|---|
| properties | |
|---|
| required | |
|---|
|
|---|
|
|---|
| columns | | type | "array" |
|---|
| description | "Optional columns (for formats like simple/nested)" |
|---|
| items | | type | "object" |
|---|
| properties | |
|---|
| required | |
|---|
|
|---|
|
|---|
| maxValue | | type | "integer" |
|---|
| minimum | 1 |
|---|
| description | "Maximum scale value (for type = 'scale')" |
|---|
|
|---|
| startAt | | type | "integer" |
|---|
| enum | |
|---|
| description | "Starting value for scale (0 or 1)" |
|---|
|
|---|
| allowNull | | type | "boolean" |
|---|
| default | false |
|---|
| description | "Whether null values are allowed" |
|---|
|
|---|
| data | | description | "Actual survey responses" |
|---|
| type | "object" |
|---|
|
|---|