# pre-receive-hook

From **GitHub v3 REST API**.

- Type: `object`

## Properties

### `allow_downstream_configuration`

- Required: false
- Type: `boolean`

### `enforcement`

- Required: false
- Type: `string`

### `environment`

- Required: false
- Type: `object`

### `id`

- Required: false
- Type: `integer`

### `name`

- Required: false
- Type: `string`

### `script`

- Required: false
- Type: `string`

### `script_repository`

- Required: false
- Type: `object`

## JSON Schema

```json
{"properties":{"allow_downstream_configuration":{"type":"boolean"},"enforcement":{"type":"string"},"environment":{"properties":{"created_at":{"type":"string"},"default_environment":{"type":"boolean"},"download":{"properties":{"downloaded_at":{"nullable":true,"type":"string"},"message":{"nullable":true,"type":"string"},"state":{"type":"string"},"url":{"type":"string"}},"type":"object"},"hooks_count":{"type":"integer"},"html_url":{"type":"string"},"id":{"type":"integer"},"image_url":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"}},"type":"object"},"id":{"type":"integer"},"name":{"type":"string"},"script":{"type":"string"},"script_repository":{"properties":{"full_name":{"type":"string"},"html_url":{"type":"string"},"id":{"type":"integer"},"url":{"type":"string"}},"type":"object"}},"type":"object"}
```
