{
  "id": "data-source",
  "name": "API Data Source",
  "logo": "/img/data-source-logo.png",
  "description": "Plugin used to generate stream based on an external datasources API.",
  "full_description": "Plugin used to generate stream based on an external datasources API. This plugin can call any API specified and save the data according to any model you want to use. You can specify the interval at which this plugin can be called.",
  "hooks": ["generate"],
  "variables": [
    {
      "name": "URL Endpoint",
      "description": "Endpoint to call to retrieve the results.",
      "id": "url",
      "per_context": true
    },
    {
      "name": "Model",
      "description": "Model you want to use to store the data retrieved.",
      "id": "model_id",
      "type": "model",
      "per_context": true
    },
    {
      "name": "Keys mapping",
      "description": "Map your data source output to your Ceramic schema. Documentation for mapping coming soon.",
      "id": "keys",
      "type": "object",
      "per_context": true
    },
    {
      "name": "Interval",
      "description": "CRON interval to perform the API call.",
      "id": "cron_interval",
      "type": "cron",
      "per_context": true
    }
  ]
}
