-
Notifications
You must be signed in to change notification settings - Fork 10
/
image.json
executable file
·55 lines (55 loc) · 1.22 KB
/
image.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"$schema": "http://bigcontent.io/cms/schema/v1/schema#",
"id": "{CONTENT_TYPE_BASEPATH}/image.json",
"title": "Image",
"description": "Image Accelerator",
"allOf": [
{
"$ref": "http://bigcontent.io/cms/schema/v1/core#/definitions/content"
}
],
"propertyOrder": [
"image",
"imageAltText",
"seoText",
"roundel"
],
"type": "object",
"properties": {
"image": {
"title": "Image",
"description": "insert an image",
"type": "object",
"anyOf": [
{
"$ref": "http://bigcontent.io/cms/schema/v1/core#/definitions/image-link"
}
]
},
"imageAltText": {
"type": "string",
"minLength": 0,
"maxLength": 150,
"title": "Image alt text",
"description": "insert image alt text"
},
"seoText": {
"type": "string",
"minLength": 0,
"maxLength": 100,
"title": "SEO Text",
"description": "e.g. ladies-sunglasses"
},
"roundel": {
"title": "Roundel",
"description": "Roundel Image",
"type": "array",
"items": {
"$ref": "{CONTENT_TYPE_BASEPATH}/roundel.json"
},
"minItems": 0,
"maxItems": 4,
"_interpolate": true
}
}
}