org.consentvid.video
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.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | consentvid.org |
| Indexed |
Showing version bafyreidwa6ad62nccxrr2wdwokkhrv26fdyc6kl2jcztqagynrb726tgt4. Show the latest
Checks
Validunlimited-stringdefs.main.record.properties.languageNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.storageRef.properties.kindNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.storageRef.properties.valueNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"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.",
"key": "tid",
"record": {
"properties": {
"contentHash": {
"description": "SHA-256 of the video bytes, hex-encoded with 'sha256-' prefix.",
"maxLength": 80,
"type": "string"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"description": {
"maxLength": 3000,
"type": "string"
},
"durationMs": {
"description": "Duration in milliseconds. ATproto records have no float type.",
"type": "integer"
},
"height": {
"type": "integer"
},
"language": {
"description": "BCP-47 language tag for primary audio if any.",
"type": "string"
},
"mimeType": {
"description": "MIME type of the video bytes, e.g. video/mp4.",
"maxLength": 128,
"type": "string"
},
"storageRef": {
"ref": "#storageRef",
"type": "ref"
},
"tags": {
"items": {
"maxLength": 64,
"type": "string"
},
"maxLength": 32,
"type": "array"
},
"title": {
"maxLength": 300,
"type": "string"
},
"width": {
"type": "integer"
}
},
"required": [
"title",
"contentHash",
"storageRef",
"createdAt"
],
"type": "object"
},
"type": "record"
},
"storageRef": {
"properties": {
"kind": {
"knownValues": [
"url",
"local",
"ipfs",
"r2",
"peertube"
],
"type": "string"
},
"value": {
"description": "Where the bytes live: a URL (url/r2/peertube), a CID (ipfs), or for 'local' an opaque contributor-side name. Never an absolute filesystem path (records are public).",
"type": "string"
}
},
"required": [
"kind",
"value"
],
"type": "object"
}
},
"id": "org.consentvid.video",
"lexicon": 1
}