so.sprk.media.video

sprk.so

{
  "id": "so.sprk.media.video",
  "defs": {
    "main": {
      "type": "object",
      "required": [
        "video"
      ],
      "properties": {
        "alt": {
          "type": "string",
          "maxLength": 10000,
          "description": "Alt text description of the video, for accessibility.",
          "maxGraphemes": 1000
        },
        "video": {
          "type": "blob",
          "accept": [
            "video/mp4"
          ],
          "maxSize": 314572800
        },
        "captions": {
          "type": "array",
          "items": {
            "ref": "#caption",
            "type": "ref"
          },
          "maxLength": 20
        },
        "aspectRatio": {
          "ref": "so.sprk.media.defs#aspectRatio",
          "type": "ref"
        }
      }
    },
    "view": {
      "type": "object",
      "required": [
        "cid",
        "playlist"
      ],
      "properties": {
        "alt": {
          "type": "string",
          "maxLength": 10000,
          "maxGraphemes": 1000
        },
        "cid": {
          "type": "string",
          "format": "cid"
        },
        "playlist": {
          "type": "string",
          "format": "uri"
        },
        "thumbnail": {
          "type": "string",
          "format": "uri"
        },
        "aspectRatio": {
          "ref": "so.sprk.media.defs#aspectRatio",
          "type": "ref"
        }
      }
    },
    "caption": {
      "type": "object",
      "required": [
        "lang",
        "file"
      ],
      "properties": {
        "file": {
          "type": "blob",
          "accept": [
            "text/vtt"
          ],
          "maxSize": 20000
        },
        "lang": {
          "type": "string",
          "format": "language"
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "A video in a Spark post."
}

Validate Record

Validate a record against so.sprk.media.video

Validation Options
Automatically resolve and include external schemas for full validation
Treat any remaining unresolved references as valid

Metadata

DID
did:plc:cveom2iroj3mt747sd4qqnr2
CID
bafyreiamr3m4n5kgrzusztpu674wehts7oo4upqu36niqoghefx67caage
Indexed At
2026-04-21 22:28 UTC
AT-URI
at://did:plc:cveom2iroj3mt747sd4qqnr2/com.atproto.lexicon.schema/so.sprk.media.video

Referenced Schemas (1)

Lexicon Garden

@