{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Hashed tokens for calendar URLs used to validate read-permissions for the ics feed generator.",
"key": "tid",
"record": {
"properties": {
"createdAt": {
"description": "When this capability was minted.",
"format": "datetime",
"type": "string"
},
"eventType": {
"description": "The meeting type this capability is for, when it is a feed for one type. Absent for the account-wide feed. The worker matches it against the type in the URL, so revoking one type's subscription leaves the rest working.",
"format": "at-uri",
"type": "string"
},
"tokenHash": {
"description": "Lowercase hex SHA-256 of the subscribe token. Never the token: the record is public.",
"type": "string"
}
},
"required": [
"tokenHash",
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "boo.sky.convene.feedToken",
"lexicon": 1
}