{
  "kind": "collectionType",
  "collectionName": "articles",
  "info": {
    "singularName": "article",
    "pluralName": "articles",
    "displayName": "Article",
    "description": "News articles for Placebo.mk"
  },
  "options": {
    "draftAndPublish": true
  },
  "pluginOptions": {},
  "attributes": {
    "title": {
      "type": "string",
      "required": true
    },
    "slug": {
      "type": "uid",
      "targetField": "title",
      "required": true
    },
    "description": {
      "type": "text"
    },
    "content": {
      "type": "richtext"
    },
    "author": {
      "type": "string"
    },
    "img": {
      "type": "media",
      "multiple": false,
      "required": false,
      "allowedTypes": ["images"]
    },
    "imagePosition": {
      "type": "enumeration",
      "enum": ["top", "left", "right", "none"],
      "default": "top"
    },
    "imageSize": {
      "type": "enumeration",
      "enum": ["small", "medium", "large"],
      "default": "medium"
    },
    "media": {
      "type": "media",
      "multiple": true,
      "required": false,
      "allowedTypes": ["images", "files", "videos", "audios"]
    },
    "videoUrl": {
      "type": "string"
    },
    "videoPosition": {
      "type": "enumeration",
      "enum": ["top", "inline", "bottom", "none"],
      "default": "inline"
    },
    "videoCaption": {
      "type": "string"
    },
    "category": {
      "type": "enumeration",
      "enum": ["general", "sport", "art", "science"],
      "default": "general",
      "required": true
    }
  }
}
