accordion.schema.json
7 months ago
clone.schema.json
7 months ago
flexible-content.schema.json
7 months ago
group.schema.json
7 months ago
message.schema.json
7 months ago
output.schema.json
7 months ago
repeater.schema.json
7 months ago
separator.schema.json
7 months ago
tab.schema.json
7 months ago
repeater.schema.json
34 lines
| 1 | { |
| 2 | "title": "SCF Repeater Field Fragment", |
| 3 | "description": "Type-specific properties for repeater fields", |
| 4 | "type": "object", |
| 5 | "properties": { |
| 6 | "type": { |
| 7 | "enum": [ "repeater" ] |
| 8 | }, |
| 9 | "sub_fields": { "$ref": "#/definitions/sub_fields" }, |
| 10 | "min": { "$ref": "#/definitions/min" }, |
| 11 | "max": { "$ref": "#/definitions/max" }, |
| 12 | "layout": { |
| 13 | "$ref": "#/definitions/layout_display", |
| 14 | "default": "table" |
| 15 | }, |
| 16 | "button_label": { "$ref": "#/definitions/button_label" }, |
| 17 | "pagination": { |
| 18 | "type": [ "boolean", "integer" ], |
| 19 | "default": 0, |
| 20 | "description": "Enable pagination for repeaters with many rows" |
| 21 | }, |
| 22 | "rows_per_page": { |
| 23 | "type": "integer", |
| 24 | "default": 20, |
| 25 | "description": "Number of rows displayed per page when pagination is enabled" |
| 26 | }, |
| 27 | "collapsed": { |
| 28 | "type": "string", |
| 29 | "default": "", |
| 30 | "description": "Field key to use as collapsed row title" |
| 31 | } |
| 32 | } |
| 33 | } |
| 34 |