full diff

ai.newnal.illi.family.artworkVersion

From
bafyreiag56wf53sjgsmm6vsfjcoliuwxyh5pqsjlx2zhzeworwvbbrnjbu indexed 2026-11-06 13:46 UTC View this version
To
bafyreif7lgi3azyamuamwpijw2lmc67lqw3wwkn2laqrvrcz4er5622d5e indexed 2026-11-07 06:56 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "capturePeriod": {
55 "properties": {
66 "allSourcesVerified": {
77 "type": "boolean"
88 },
99 "coveredSources": {
1010 "minimum": 1,
1111 "type": "integer"
1212 },
1313 "from": {
1414 "maxLength": 10,
1515 "type": "string"
1616 },
1717 "source": {
1818 "knownValues": [
1919 "captureMetadata"
2020 ],
2121 "type": "string"
2222 },
2323 "to": {
2424 "maxLength": 10,
2525 "type": "string"
2626 },
2727 "totalSources": {
2828 "minimum": 1,
2929 "type": "integer"
3030 }
3131 },
3232 "required": [
3333 "from",
3434 "to",
3535 "source",
3636 "coveredSources",
3737 "totalSources",
3838 "allSourcesVerified"
3939 ],
4040 "type": "object"
4141 },
4242 "main": {
43 "description": "One finished version of a family work: the video the media service made, stored as a blob on the root admin's PDN and referenced from the family sphere (root admin repo, written by the Service Agent Node with the root admin's session, like phoneRoom). The record key is deterministic, \"v1-\" plus the first 32 hex characters of sha256 over homeId, artworkKey, mediaArtworkId and compositionVersion joined with newlines (35 characters), and the first payload and createdAt are stored before the write, so a retried write replaces the same record with the same content and a different content under the same key is refused. Every succeeded version keeps its own record and blob and a later version never overwrites an earlier one. Weekly queue, occurrences, rejections and deliveries are operational state of the Service Agent Node and are not records.",
43 "description": "One finished version of a family work: the video the media service made, stored as a blob on the root admin's PDN and referenced from the family sphere (root admin repo, written by the Service Agent Node with the root admin's session). The record key is deterministic, \"v1-\" plus the first 32 hex characters of sha256 over homeId, artworkKey, mediaArtworkId and compositionVersion joined with newlines, so a retried write replaces the same record with the same content and other content under the same key is refused. Every succeeded version keeps its own record and blob; a later version never overwrites an earlier one. The daily schedule, occurrences and deliveries are operational state of the Service Agent Node, not records.",
4444 "key": "any",
4545 "record": {
4646 "properties": {
4747 "analysisVerifiedAt": {
4848 "format": "datetime",
4949 "type": "string"
5050 },
5151 "artworkKey": {
5252 "description": "The Service Agent Node's key of the logical work; every version of the work and every repeat shares it.",
5353 "maxLength": 64,
5454 "type": "string"
5555 },
5656 "byteSize": {
5757 "maximum": 314572800,
5858 "minimum": 1,
5959 "type": "integer"
6060 },
6161 "capturePeriod": {
6262 "ref": "#capturePeriod",
6363 "type": "ref"
6464 },
6565 "compositionVersion": {
6666 "description": "The media service's composition version this video was made from.",
6767 "minimum": 1,
6868 "type": "integer"
6969 },
7070 "contentHash": {
7171 "description": "sha256 hex of the video file as the media service wrote it, checked before the upload.",
7272 "maxLength": 128,
7373 "type": "string"
7474 },
7575 "createdAt": {
7676 "format": "datetime",
7777 "type": "string"
7878 },
7979 "durationMs": {
8080 "minimum": 0,
8181 "type": "integer"
8282 },
8383 "height": {
8484 "minimum": 1,
8585 "type": "integer"
8686 },
8787 "introSubtitle": {
8888 "maxGraphemes": 60,
8989 "maxLength": 600,
9090 "type": "string"
9191 },
9292 "keywords": {
9393 "description": "The guardian's keywords the text was made from, when it was (trimmed, at most 30 Unicode code points each, no duplicates: the media service's rule).",
9494 "items": {
9595 "maxGraphemes": 30,
9696 "maxLength": 120,
9797 "type": "string"
9898 },
9999 "maxLength": 10,
100100 "type": "array"
101101 },
102102 "kind": {
103103 "description": "slides: several photos of one day; video: one original video.",
104104 "knownValues": [
105105 "slides",
106106 "video"
107107 ],
108108 "type": "string"
109109 },
110110 "mediaArtworkId": {
111111 "description": "The media service's artwork identifier of this version.",
112112 "maxLength": 128,
113113 "type": "string"
114114 },
115115 "sources": {
116116 "description": "The original mediaItem records, in the order of the video.",
117117 "items": {
118118 "format": "at-uri",
119119 "type": "string"
120120 },
121121 "maxLength": 20,
122122 "type": "array"
123123 },
124124 "thumbnail": {
125125 "accept": [
126126 "image/jpeg"
127127 ],
128128 "maxSize": 2097152,
129129 "type": "blob"
130130 },
131131 "thumbnailHash": {
132132 "maxLength": 64,
133133 "type": "string"
134134 },
135135 "title": {
136136 "maxGraphemes": 30,
137137 "maxLength": 300,
138138 "type": "string"
139139 },
140140 "video": {
141141 "accept": [
142142 "video/mp4"
143143 ],
144144 "maxSize": 314572800,
145145 "type": "blob"
146146 },
147147 "width": {
148148 "minimum": 1,
149149 "type": "integer"
150150 },
151151 "workType": {
152152 "knownValues": [
153153 "photoSlides",
154154 "longVideo",
155155 "shortVideoCollection"
156156 ],
157157 "type": "string"
158158 }
159159 },
160160 "required": [
161161 "artworkKey",
162162 "mediaArtworkId",
163163 "compositionVersion",
164164 "kind",
165165 "video",
166166 "byteSize",
167167 "contentHash",
168168 "sources",
169169 "createdAt"
170170 ],
171171 "type": "object"
172172 },
173173 "type": "record"
174174 }
175175 },
176176 "id": "ai.newnal.illi.family.artworkVersion",
177177 "lexicon": 1
178178}

Compare other versions