# place.stream.multistream.defs

> Published by [did:web:stream.place](https://lexicon.garden/identity/did:web:stream.place)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:web:stream.place/place.stream.multistream.defs)
- [Documentation](https://lexicon.garden/lexicon/did:web:stream.place/place.stream.multistream.defs/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:stream.place/place.stream.multistream.defs/examples)

## Definitions

### `place.stream.multistream.defs#event`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `status` | `string` | Yes |  |
| `message` | `string` | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |

### `place.stream.multistream.defs#targetView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes |  |
| `uri` | `string` (at-uri) | Yes |  |
| `record` | `unknown` | Yes |  |
| `latestEvent` | `ref` → `place.stream.multistream.defs#event` | No |  |

## Raw Schema

```json
{
  "id": "place.stream.multistream.defs",
  "defs": {
    "event": {
      "type": "object",
      "required": [
        "message",
        "status",
        "createdAt"
      ],
      "properties": {
        "status": {
          "enum": [
            "inactive",
            "pending",
            "active",
            "error"
          ],
          "type": "string"
        },
        "message": {
          "type": "string"
        },
        "createdAt": {
          "type": "string",
          "format": "datetime"
        }
      }
    },
    "targetView": {
      "type": "object",
      "required": [
        "uri",
        "cid",
        "record"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "format": "cid"
        },
        "uri": {
          "type": "string",
          "format": "at-uri"
        },
        "record": {
          "type": "unknown"
        },
        "latestEvent": {
          "ref": "place.stream.multistream.defs#event",
          "type": "ref"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
