{
"id": "app.bivri.feed.defs",
"defs": {
"draftView": {
"type": "object",
"required": [
"id",
"creatorDid",
"createdAt",
"updatedAt"
],
"properties": {
"id": {
"type": "string",
"maxLength": 36,
"description": "Bivri-owned identifier for this unpublished Draft. It is not an AT URI or record key."
},
"clientDid": {
"type": "string",
"format": "did",
"description": "DID of the commissioning client when this Draft is a private delivery."
},
"createdAt": {
"type": "string",
"format": "datetime"
},
"updatedAt": {
"type": "string",
"format": "datetime"
},
"creatorDid": {
"type": "string",
"format": "did",
"description": "DID of the creator who owns the Draft."
}
},
"description": "Private Draft metadata visible only to the Draft's Parties. Draft bytes are deliberately excluded and use a separate authorized path."
},
"mediaView": {
"type": "object",
"required": [
"thumb",
"fullsize",
"alt"
],
"properties": {
"alt": {
"type": "string",
"description": "Alternative text describing the image for members who cannot see it."
},
"thumb": {
"type": "string",
"format": "uri",
"description": "URL of the thumbnail-sized image."
},
"fullsize": {
"type": "string",
"format": "uri",
"description": "URL of the full-sized image."
},
"aspectRatio": {
"ref": "app.bivri.feed.defs#aspectRatio",
"type": "ref"
}
},
"description": "Image as the AppView resolved it. Carries fetchable URLs in place of the record's blob reference."
},
"artworkView": {
"type": "object",
"required": [
"uri",
"cid",
"author",
"title",
"media",
"createdAt"
],
"properties": {
"cid": {
"type": "string",
"format": "cid"
},
"uri": {
"type": "string",
"format": "at-uri"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"langs": {
"type": "array",
"items": {
"type": "string",
"format": "language"
}
},
"media": {
"type": "array",
"items": {
"ref": "app.bivri.feed.defs#mediaView",
"type": "ref"
}
},
"title": {
"type": "string"
},
"author": {
"ref": "app.bivri.actor.defs#profileViewBasic",
"type": "ref"
},
"labels": {
"refs": [
"com.atproto.label.defs#selfLabels"
],
"type": "union",
"description": "Self-label values the author declared on the artwork record. Author metadata, not platform moderation decisions."
},
"createdAt": {
"type": "string",
"format": "datetime"
},
"indexedAt": {
"type": "string",
"format": "datetime"
},
"likeCount": {
"type": "integer"
},
"viewCount": {
"type": "integer"
},
"description": {
"type": "string"
},
"commentCount": {
"type": "integer"
},
"bookmarkCount": {
"type": "integer"
}
}
},
"aspectRatio": {
"type": "object",
"required": [
"width",
"height"
],
"properties": {
"width": {
"type": "integer",
"minimum": 1
},
"height": {
"type": "integer",
"minimum": 1
}
},
"description": "Width-to-height ratio of an image. A ratio, not an absolute pixel size."
},
"commentView": {
"type": "object",
"required": [
"uri",
"cid",
"author",
"content",
"createdAt"
],
"properties": {
"cid": {
"type": "string",
"format": "cid"
},
"uri": {
"type": "string",
"format": "at-uri"
},
"author": {
"ref": "app.bivri.actor.defs#profileViewBasic",
"type": "ref"
},
"parent": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"content": {
"type": "string"
},
"subject": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"createdAt": {
"type": "string",
"format": "datetime"
},
"likeCount": {
"type": "integer"
}
}
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1,
"description": "Feed view type definitions"
}