{
  "kind": "collectionType",
  "collectionName": "insights",
  "info": {
    "name": "Insight",
    "description": ""
  },
  "options": {
    "increments": true,
    "timestamps": true,
    "draftAndPublish": true
  },
  "pluginOptions": {},
  "attributes": {
    "image": {
      "type": "component",
      "repeatable": false,
      "component": "shared.image"
    },
    "lable": {
      "type": "string"
    },
    "title": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "date": {
      "type": "date"
    },
    "relatedInsights": {
      "type": "component",
      "repeatable": true,
      "component": "insight-detail.related-insight"
    },
    "relatedCases": {
      "type": "component",
      "repeatable": true,
      "component": "case-detail.related-cases"
    },
    "author": {
      "model": "author"
    },
    "body": {
      "type": "richtext"
    },
    "whitePaperLink": {
      "type": "string"
    },
    "fillInMethod": {
      "type": "enumeration",
      "enum": [
        "uploadFile",
        "writeDirectly"
      ],
      "required": true
    },
    "file": {
      "model": "file",
      "via": "related",
      "allowedTypes": [
        "files"
      ],
      "plugin": "upload",
      "required": false,
      "pluginOptions": {}
    },
    "customUrl": {
      "type": "string",
      "required": true
    },
    "type": {
      "type": "enumeration",
      "enum": [
        "detail",
        "link"
      ]
    }
  }
}
