# Access

## Base definition

```javascript
{
    "kind": "access",
    "accessLevel": "none"|"overview"|"metadata"|"sample"|"data"|"edit",
    "dataset": {
      ...dataset.base // See dataset resource definition
    },
    "user": {
      ...user.base // See user resource definition
    } 
}
```

## Documentation

| Fields      | Description                                                                                                                                                                                   |
| ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| kind        | <p><strong>string</strong></p><p>The resource type. Will always be "access".</p>                                                                                                              |
| accessLevel | <p><strong>string</strong><br>The access level. Will be one of <code>none</code>, <code>overview</code>, <code>metadata</code>, <code>sample</code>, <code>data</code>, <code>edit</code></p> |
| user        | <p><strong>object</strong><br>The user for whom this access maps to. Will contain the contents of the <a href="../user#base-definition">user.base resource definition</a></p>                 |
| dataset     | <p><strong>object</strong><br>The dataset for which this access maps to. Will contain the contents of the <a href="../dataset#base-definition">dataset.base resource definition</a>.</p>      |
