strapi/examples/getstarted/api/article/models/article.settings.json

51 lines
916 B
JSON
Raw Normal View History

{
"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"
}
}
}