{
"id": "website.strange.ephemera",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"content",
"createdAt"
],
"properties": {
"tags": {
"type": "array",
"items": {
"type": "string",
"maxLength": 640,
"maxGraphemes": 64
},
"maxLength": 8
},
"embed": {
"refs": [
"#externalLink"
],
"type": "union"
},
"reply": {
"ref": "#replyRef",
"type": "ref"
},
"content": {
"type": "string",
"maxLength": 100000,
"description": "Post body, in Markdown format."
},
"createdAt": {
"type": "string",
"format": "datetime"
},
"updatedAt": {
"type": "string",
"format": "datetime"
},
"syndications": {
"type": "array",
"items": {
"ref": "#syndication",
"type": "ref"
}
}
}
},
"description": "Short note published on henry.codes/micro. Canonical and contains syndication information."
},
"replyRef": {
"type": "object",
"required": [
"root",
"parent"
],
"properties": {
"root": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"parent": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
}
},
"description": "Threading information, mirrors app.bsky.feed.post#replyRef."
},
"syndication": {
"type": "object",
"required": [
"network",
"syndicatedAt"
],
"properties": {
"cid": {
"type": "string",
"format": "cid",
"description": "Needed to reply to this post when threading."
},
"uri": {
"type": "string",
"format": "at-uri"
},
"url": {
"type": "string",
"format": "uri"
},
"text": {
"type": "string",
"description": "Exactly what was posted to this network."
},
"network": {
"type": "string",
"knownValues": [
"bluesky",
"mastodon"
]
},
"syndicatedAt": {
"type": "string",
"format": "datetime"
}
}
},
"externalLink": {
"type": "object",
"required": [
"uri"
],
"properties": {
"uri": {
"type": "string",
"format": "uri"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
}
}
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}