{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "An external server for rebroadcasting a Streamplace stream",
      "key": "tid",
      "record": {
        "properties": {
          "active": {
            "description": "Whether this target is currently active.",
            "type": "boolean"
          },
          "createdAt": {
            "description": "When this target was created.",
            "format": "datetime",
            "type": "string"
          },
          "name": {
            "description": "A user-friendly name for this target.",
            "maxLength": 100,
            "type": "string"
          },
          "url": {
            "description": "The rtmp:// or rtmps:// url of the target server.",
            "format": "uri",
            "type": "string"
          }
        },
        "required": [
          "url",
          "active",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "place.stream.multistream.target",
  "lexicon": 1
}
