ai.newnal.illi.family.artworkVersion

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.

Details · record, key any
Kindrecord
Record keyany
Authorityfamily.illi.newnal.ai
Indexed
cid bafyreif7lgi3azyamuamwpijw2lmc67lqw3wwkn2laqrvrcz4er5622d5e

Checks

Valid
  • unlimited-string defs.capturePeriod.properties.sourceNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.record.properties.kindNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.record.properties.workTypeNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "capturePeriod": {
      "properties": {
        "allSourcesVerified": {
          "type": "boolean"
        },
        "coveredSources": {
          "minimum": 1,
          "type": "integer"
        },
        "from": {
          "maxLength": 10,
          "type": "string"
        },
        "source": {
          "knownValues": [
            "captureMetadata"
          ],
          "type": "string"
        },
        "to": {
          "maxLength": 10,
          "type": "string"
        },
        "totalSources": {
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "from",
        "to",
        "source",
        "coveredSources",
        "totalSources",
        "allSourcesVerified"
      ],
      "type": "object"
    },
    "main": {
      "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.",
      "key": "any",
      "record": {
        "properties": {
          "analysisVerifiedAt": {
            "format": "datetime",
            "type": "string"
          },
          "artworkKey": {
            "description": "The Service Agent Node's key of the logical work; every version of the work and every repeat shares it.",
            "maxLength": 64,
            "type": "string"
          },
          "byteSize": {
            "maximum": 314572800,
            "minimum": 1,
            "type": "integer"
          },
          "capturePeriod": {
            "ref": "#capturePeriod",
            "type": "ref"
          },
          "compositionVersion": {
            "description": "The media service's composition version this video was made from.",
            "minimum": 1,
            "type": "integer"
          },
          "contentHash": {
            "description": "sha256 hex of the video file as the media service wrote it, checked before the upload.",
            "maxLength": 128,
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "durationMs": {
            "minimum": 0,
            "type": "integer"
          },
          "height": {
            "minimum": 1,
            "type": "integer"
          },
          "introSubtitle": {
            "maxGraphemes": 60,
            "maxLength": 600,
            "type": "string"
          },
          "keywords": {
            "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).",
            "items": {
              "maxGraphemes": 30,
              "maxLength": 120,
              "type": "string"
            },
            "maxLength": 10,
            "type": "array"
          },
          "kind": {
            "description": "slides: several photos of one day; video: one original video.",
            "knownValues": [
              "slides",
              "video"
            ],
            "type": "string"
          },
          "mediaArtworkId": {
            "description": "The media service's artwork identifier of this version.",
            "maxLength": 128,
            "type": "string"
          },
          "sources": {
            "description": "The original mediaItem records, in the order of the video.",
            "items": {
              "format": "at-uri",
              "type": "string"
            },
            "maxLength": 20,
            "type": "array"
          },
          "thumbnail": {
            "accept": [
              "image/jpeg"
            ],
            "maxSize": 2097152,
            "type": "blob"
          },
          "thumbnailHash": {
            "maxLength": 64,
            "type": "string"
          },
          "title": {
            "maxGraphemes": 30,
            "maxLength": 300,
            "type": "string"
          },
          "video": {
            "accept": [
              "video/mp4"
            ],
            "maxSize": 314572800,
            "type": "blob"
          },
          "width": {
            "minimum": 1,
            "type": "integer"
          },
          "workType": {
            "knownValues": [
              "photoSlides",
              "longVideo",
              "shortVideoCollection"
            ],
            "type": "string"
          }
        },
        "required": [
          "artworkKey",
          "mediaArtworkId",
          "compositionVersion",
          "kind",
          "video",
          "byteSize",
          "contentHash",
          "sources",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "ai.newnal.illi.family.artworkVersion",
  "lexicon": 1
}