strapi/examples/getstarted/api/article/models/article.settings.json
soupette ddb37266ae Add permissions to edit
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-07-08 11:42:28 +02:00

51 lines
916 B
JSON

{
"kind": "collectionType",
"collectionName": "articles",
"info": {
"name": "article"
},
"options": {
"increments": true,
"timestamps": true
},
"attributes": {
"name": {
"type": "string",
"required": true
},
"content": {
"type": "component",
"repeatable": false,
"component": "blog.content"
},
"content2repet": {
"type": "component",
"repeatable": true,
"component": "blog.content"
},
"dz": {
"type": "dynamiczone",
"components": [
"blog.content",
"blog.sub"
]
},
"address": {
"model": "address"
},
"category": {
"model": "category"
},
"rep": {
"type": "component",
"repeatable": true,
"component": "blog.rep"
},
"not": {
"type": "component",
"repeatable": false,
"component": "blog.sub"
}
}
}