# place.stream.metadata.distributionPolicy

> Published by [did:web:longos.iameli.link](https://lexicon.garden/identity/did:web:longos.iameli.link)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:web:longos.iameli.link/place.stream.metadata.distributionPolicy)
- [Documentation](https://lexicon.garden/lexicon/did:web:longos.iameli.link/place.stream.metadata.distributionPolicy/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:longos.iameli.link/place.stream.metadata.distributionPolicy/examples)

## Definitions

### `place.stream.metadata.distributionPolicy`

**Type**: `object`

Distribution and rebroadcast policy.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `deleteAfter` | `integer` | No | Duration in seconds after which segments should be deleted. Each segment will expire N seconds after its creation time. -1 to allow indefinite archival. |
| `allowedBroadcasters` | `array` | No | List of did:webs of the broadcasters you want to allow to distribute your content. "*" allows anyone. Starting a line with a "!" bans that broadcaster. |

## Raw Schema

```json
{
  "id": "place.stream.metadata.distributionPolicy",
  "defs": {
    "main": {
      "type": "object",
      "properties": {
        "deleteAfter": {
          "type": "integer",
          "description": "Duration in seconds after which segments should be deleted. Each segment will expire N seconds after its creation time. -1 to allow indefinite archival."
        },
        "allowedBroadcasters": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "List of did:webs of the broadcasters you want to allow to distribute your content. \"*\" allows anyone. Starting a line with a \"!\" bans that broadcaster."
        }
      },
      "description": "Distribution and rebroadcast policy."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
