35 lines
614 B
JSON
35 lines
614 B
JSON
{
|
|
"kind": "collectionType",
|
|
"collectionName": "pages",
|
|
"info": {
|
|
"singularName": "page",
|
|
"pluralName": "pages",
|
|
"displayName": "Page",
|
|
"description": ""
|
|
},
|
|
"options": {
|
|
"draftAndPublish": true
|
|
},
|
|
"pluginOptions": {},
|
|
"attributes": {
|
|
"title": {
|
|
"type": "string"
|
|
},
|
|
"block": {
|
|
"type": "json"
|
|
},
|
|
"public": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"required": false
|
|
},
|
|
"path": {
|
|
"type": "string",
|
|
"required": true,
|
|
"regex": "^(\\/|(\\/[A-z0-9\\-]+)+)$",
|
|
"unique": true,
|
|
"default": "/"
|
|
}
|
|
}
|
|
}
|