# Datasource

## List definition

```javascript
{
  "kind": "datasource",
  "uri": string,
  "id": string,
  "url": string,	
  "createdAt": integer,
  "updatedAt": integer,
  "isSample": bool,
  "sourceDataset": null | { ...dataset.base },
  "sourceWorkflow": null | { ...workflow.base }
}
```

## Get definition

In addition to the list definition, any dataSource resource returned by a `get` request will contain the following properties:

```javascript
{
  ...dataSource.list,
  "workflow": { ...workflow.base }
}

```
