tags.json 1.37 KB
Newer Older
Florent Chehab's avatar
Florent Chehab committed
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
[
    {
        "name": "photos",
        "config": {
            "photos": {
                "type": "list",
                "content": {
                    "url": {
                        "type": "url",
                        "required": true,
                        "validators": {
                            "extension": [
                                "jpg",
                                "jpeg",
                                "png",
                                "svg"
                            ]
                        }
                    },
                    "title": {
                        "type": "text",
                        "required": true,
                        "validators": {
                            "max_length": 200
                        }
                    },
                    "licence": {
                        "type": "text",
                        "required": false,
                        "validators": {
                            "max_length": 200
                        }
                    },
                    "description": {
                        "type": "text",
                        "required": false,
                        "validators": {
                            "max_length": 500
                        }
                    }
                },
                "required": true
            }
        }
    }
]