RustyCMS: file-based headless CMS — API, Admin UI (content, types, assets), Docker/Caddy, image transform; only demo type and demo content in version control
Made-with: Cursor
This commit is contained in:
32
schemas/campaigns.schema.json
Normal file
32
schemas/campaigns.schema.json
Normal file
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||
"additionalProperties": true,
|
||||
"properties": {
|
||||
"_slug": {
|
||||
"description": "Entry identifier (URL slug / filename without extension)",
|
||||
"type": "string"
|
||||
},
|
||||
"campaigns": {
|
||||
"description": "Campaign list",
|
||||
"items": {
|
||||
"description": "Reference (slug) to collection 'campaign'",
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"enable": {
|
||||
"default": true,
|
||||
"description": "Campaigns enabled",
|
||||
"type": "boolean"
|
||||
},
|
||||
"id": {
|
||||
"description": "Unique ID (e.g. campaigns-global)",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"_slug",
|
||||
"id"
|
||||
],
|
||||
"type": "object"
|
||||
}
|
||||
Reference in New Issue
Block a user