button-group.schema.json
7 months ago
checkbox.schema.json
7 months ago
nav-menu.schema.json
7 months ago
radio.schema.json
7 months ago
select.schema.json
7 months ago
true-false.schema.json
7 months ago
radio.schema.json
26 lines
| 1 | { |
| 2 | "title": "SCF Radio Field Fragment", |
| 3 | "description": "Type-specific properties for radio button fields", |
| 4 | "type": "object", |
| 5 | "properties": { |
| 6 | "type": { |
| 7 | "enum": [ "radio" ] |
| 8 | }, |
| 9 | "choices": { "$ref": "#/definitions/choices" }, |
| 10 | "default_value": { "$ref": "#/definitions/default_value" }, |
| 11 | "return_format": { "$ref": "#/definitions/return_format_choice" }, |
| 12 | "layout": { "$ref": "#/definitions/layout_choice" }, |
| 13 | "allow_null": { "$ref": "#/definitions/allow_null" }, |
| 14 | "other_choice": { |
| 15 | "type": "integer", |
| 16 | "default": 0, |
| 17 | "description": "Add an other choice with text input (1 for yes, 0 for no)" |
| 18 | }, |
| 19 | "save_other_choice": { |
| 20 | "type": "integer", |
| 21 | "default": 0, |
| 22 | "description": "Save other choice values to the field choices (1 for yes, 0 for no)" |
| 23 | } |
| 24 | } |
| 25 | } |
| 26 |