layer.settings.json 425 Bytes
Newer Older
alain's avatar
alain committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  "kind": "collectionType",
  "collectionName": "layers",
  "info": {
    "name": "Layer"
  },
  "options": {
    "increments": true,
    "timestamps": true
  },
  "attributes": {
    "title": {
      "type": "string"
    },
    "body": {
      "type": "richtext"
alain's avatar
alain committed
17
18
19
20
21
22
23
24
    },
    "parent": {
      "model": "layer",
      "via": "children"
    },
    "children": {
      "collection": "layer",
      "via": "parent"
alain's avatar
alain committed
25
26
27
    }
  }
}