mirror of
https://github.com/strapi/strapi.git
synced 2025-12-29 16:16:20 +00:00
51 lines
893 B
JSON
Executable File
51 lines
893 B
JSON
Executable File
{
|
|
"connection": "default",
|
|
"collectionName": "addresses",
|
|
"info": {
|
|
"name": "address",
|
|
"description": ""
|
|
},
|
|
"options": {
|
|
"increments": true,
|
|
"timestamps": [
|
|
"created_at",
|
|
"updated_at"
|
|
],
|
|
"comment": ""
|
|
},
|
|
"attributes": {
|
|
"geolocation": {
|
|
"type": "json",
|
|
"required": true
|
|
},
|
|
"city": {
|
|
"type": "string",
|
|
"required": true
|
|
},
|
|
"postal_coder": {
|
|
"type": "string"
|
|
},
|
|
"categories": {
|
|
"collection": "category",
|
|
"via": "addresses",
|
|
"dominant": true
|
|
},
|
|
"cover": {
|
|
"model": "file",
|
|
"via": "related",
|
|
"plugin": "upload",
|
|
"required": false
|
|
},
|
|
"images": {
|
|
"collection": "file",
|
|
"via": "related",
|
|
"plugin": "upload",
|
|
"required": false
|
|
},
|
|
"full_name": {
|
|
"type": "string",
|
|
"required": true
|
|
}
|
|
}
|
|
}
|