org.consentvid.video

ekazakos.bsky.social

Documentation

A video registered for inclusion in a consent-first dataset. Storage of the bytes is decoupled: this record only commits to a content hash and a pointer.

main record

A video registered for inclusion in a consent-first dataset. Storage of the bytes is decoupled: this record only commits to a content hash and a pointer.

Record Key tid Timestamp-based ID

Properties

contentHash string Required

SHA-256 of the video bytes, hex-encoded with 'sha256-' prefix.

maxLength: 80 bytes
createdAt string datetime Required

An RFC 3339 formatted timestamp.

description string Optional

No description available.

maxLength: 3000 bytes
durationMs integer Optional

Duration in milliseconds. ATproto records have no float type.

height integer Optional

No description available.

language string Optional

BCP-47 language tag for primary audio if any.

storageRef ref #storageRef Required

No description available.

tags array of string Optional

No description available.

maxLength: 32 items
title string Required

No description available.

maxLength: 300 bytes
width integer Optional

No description available.

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "title",
      "contentHash",
      "storageRef",
      "createdAt"
    ],
    "properties": {
      "tags": {
        "type": "array",
        "items": {
          "type": "string",
          "maxLength": 64
        },
        "maxLength": 32
      },
      "title": {
        "type": "string",
        "maxLength": 300
      },
      "width": {
        "type": "integer"
      },
      "height": {
        "type": "integer"
      },
      "language": {
        "type": "string",
        "description": "BCP-47 language tag for primary audio if any."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime"
      },
      "durationMs": {
        "type": "integer",
        "description": "Duration in milliseconds. ATproto records have no float type."
      },
      "storageRef": {
        "ref": "#storageRef",
        "type": "ref"
      },
      "contentHash": {
        "type": "string",
        "maxLength": 80,
        "description": "SHA-256 of the video bytes, hex-encoded with 'sha256-' prefix."
      },
      "description": {
        "type": "string",
        "maxLength": 3000
      }
    }
  },
  "description": "A video registered for inclusion in a consent-first dataset. Storage of the bytes is decoupled: this record only commits to a content hash and a pointer."
}
storageRef object

No description available.

Properties

kind string Required

No description available.

Known values: url, local, ipfs, r2, peertube
value string Required

No description available.

View raw schema
{
  "type": "object",
  "required": [
    "kind",
    "value"
  ],
  "properties": {
    "kind": {
      "type": "string",
      "knownValues": [
        "url",
        "local",
        "ipfs",
        "r2",
        "peertube"
      ]
    },
    "value": {
      "type": "string"
    }
  }
}

Lexicon Garden

@