com.getorbyt.send.defs
Details · defs
| Kind | defs |
|---|---|
| Authority | send.getorbyt.com |
| Indexed |
Showing version bafyreidlmbe65t63k6axbstxuyjoep3wxv53mieydjlzvwup6hyjuhs7hy. Show the latest
Checks
Validunlimited-stringdefs.preferences.properties.allowFromNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"allowFromOption": {
"description": "One choice for `preferences.allowFrom`, in the service's words.",
"properties": {
"title": {
"maxGraphemes": 60,
"maxLength": 200,
"type": "string"
},
"value": {
"maxLength": 32,
"type": "string"
}
},
"required": [
"value",
"title"
],
"type": "object"
},
"preferences": {
"description": "What the viewer lets Sends do. Held by the service and read only by the viewer.",
"properties": {
"allowFrom": {
"description": "Who may send to the viewer: people the viewer follows, only people the viewer follows who follow them back, or no one. A block in either direction always stops a send.",
"knownValues": [
"following",
"mutuals",
"none"
],
"type": "string"
},
"receipts": {
"description": "Whether a sender sees that the viewer watched what they sent, and how many times they looped it.",
"type": "boolean"
}
},
"required": [
"allowFrom",
"receipts"
],
"type": "object"
},
"preferencesView": {
"properties": {
"allowFromDescription": {
"description": "What `allowFrom` does, in the service's words.",
"maxGraphemes": 200,
"maxLength": 600,
"type": "string"
},
"allowFromOptions": {
"description": "The choices for `allowFrom`, in the order to show them.",
"items": {
"ref": "#allowFromOption",
"type": "ref"
},
"maxLength": 8,
"type": "array"
},
"preferences": {
"ref": "#preferences",
"type": "ref"
},
"receiptsDescription": {
"description": "What `receipts` does, in the service's words.",
"maxGraphemes": 200,
"maxLength": 600,
"type": "string"
}
},
"required": [
"preferences",
"allowFromOptions"
],
"type": "object"
},
"recipientState": {
"properties": {
"reaction": {
"maxGraphemes": 1,
"maxLength": 32,
"type": "string"
},
"watchedAt": {
"format": "datetime",
"type": "string"
}
},
"type": "object"
},
"recipientView": {
"properties": {
"actor": {
"ref": "com.getorbyt.actor.defs#profileView",
"type": "ref"
},
"loopCount": {
"description": "How many times the recipient has looped it since it was sent.",
"minimum": 0,
"type": "integer"
},
"reaction": {
"maxGraphemes": 1,
"maxLength": 32,
"type": "string"
},
"watchedAt": {
"description": "When the recipient first looped the video after it was sent. Absent until they do.",
"format": "datetime",
"type": "string"
}
},
"required": [
"actor"
],
"type": "object"
},
"sendView": {
"description": "A video one account sent to a few others: a pointer to a post that is already public, an optional note, and what each recipient did with it. Held by the service, not in any repository, and shown only to its sender and its recipients.",
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"id": {
"maxLength": 64,
"type": "string"
},
"note": {
"maxGraphemes": 150,
"maxLength": 600,
"type": "string"
},
"reactions": {
"description": "The reactions a recipient may answer with, chosen by the service. Present only for a recipient.",
"items": {
"maxGraphemes": 1,
"maxLength": 32,
"type": "string"
},
"maxLength": 12,
"type": "array"
},
"recipients": {
"description": "Who received it and what they did. Only the sender is shown this.",
"items": {
"ref": "#recipientView",
"type": "ref"
},
"maxLength": 8,
"type": "array"
},
"sender": {
"ref": "com.getorbyt.actor.defs#profileView",
"type": "ref"
},
"subject": {
"description": "The post sent.",
"format": "at-uri",
"type": "string"
},
"viewer": {
"description": "The viewer's own state, when the viewer is a recipient.",
"ref": "#recipientState",
"type": "ref"
}
},
"required": [
"id",
"subject",
"sender",
"createdAt"
],
"type": "object"
}
},
"id": "com.getorbyt.send.defs",
"lexicon": 1
}