{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Record linking an atproto identity with a stream signing key",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "description": "Client-declared timestamp when this key was created.",
            "format": "datetime",
            "type": "string"
          },
          "createdBy": {
            "description": "The name of the client that created this key.",
            "type": "string"
          },
          "signingKey": {
            "description": "The did:key signing key for the stream.",
            "maxLength": 57,
            "minLength": 57,
            "type": "string"
          }
        },
        "required": [
          "signingKey",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "place.stream.key",
  "lexicon": 1
}
