file.schema.json
7 months ago
gallery.schema.json
7 months ago
image.schema.json
7 months ago
oembed.schema.json
7 months ago
wysiwyg.schema.json
7 months ago
gallery.schema.json
29 lines
| 1 | { |
| 2 | "title": "SCF Gallery Field Fragment", |
| 3 | "description": "Type-specific properties for gallery fields", |
| 4 | "type": "object", |
| 5 | "properties": { |
| 6 | "type": { |
| 7 | "enum": [ "gallery" ] |
| 8 | }, |
| 9 | "return_format": { "$ref": "#/definitions/return_format_media" }, |
| 10 | "preview_size": { "$ref": "#/definitions/preview_size" }, |
| 11 | "library": { "$ref": "#/definitions/library" }, |
| 12 | "min_width": { "$ref": "#/definitions/min_width" }, |
| 13 | "min_height": { "$ref": "#/definitions/min_height" }, |
| 14 | "min_size": { "$ref": "#/definitions/min_size" }, |
| 15 | "max_width": { "$ref": "#/definitions/max_width" }, |
| 16 | "max_height": { "$ref": "#/definitions/max_height" }, |
| 17 | "max_size": { "$ref": "#/definitions/max_size" }, |
| 18 | "mime_types": { "$ref": "#/definitions/mime_types" }, |
| 19 | "min": { "$ref": "#/definitions/min" }, |
| 20 | "max": { "$ref": "#/definitions/max" }, |
| 21 | "insert": { |
| 22 | "type": "string", |
| 23 | "enum": [ "append", "prepend" ], |
| 24 | "default": "append", |
| 25 | "description": "Where to insert new images (append or prepend)" |
| 26 | } |
| 27 | } |
| 28 | } |
| 29 |