# place.stream.multistream.defs

- Kind: defs
- Authority: multistream.stream.place
- Lexicon: 1
- Published by [stream.place](https://lexicon.garden/identity/did:plc:rbvrr34edl5ddpuwcubjiost), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.multistream.defs)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.multistream.defs/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.multistream.defs/analytics)

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

Type: object

### Properties

- `createdAt` (string · datetime, required)
- `message` (string, required)
- `status` (string, required)
  - Constraints: enum: inactive | pending | active | error

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

Type: object

### Properties

- `cid` (string · cid, required)
- `latestEvent` (ref)
  - Reference: `place.stream.multistream.defs#event`
- `record` (unknown, required)
- `uri` (string · at-uri, required)

## Schema

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