JSONDownload
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"asset": {
"properties": {
"assetId": {
"description": "Canonical lowercase UUID.",
"maxLength": 36,
"minLength": 36,
"type": "string"
},
"byteLength": {
"maximum": 104857600,
"minimum": 1,
"type": "integer"
},
"contentType": {
"maxLength": 256,
"minLength": 1,
"type": "string"
},
"kind": {
"knownValues": [
"photo",
"poster",
"gif",
"video",
"caption"
],
"maxLength": 64,
"minLength": 1,
"type": "string"
},
"name": {
"maxLength": 1024,
"minLength": 1,
"type": "string"
},
"sha256": {
"maxLength": 64,
"minLength": 64,
"type": "string"
},
"state": {
"knownValues": [
"reserved",
"ready"
],
"maxLength": 64,
"minLength": 1,
"type": "string"
}
},
"required": [
"assetId",
"name",
"contentType",
"byteLength",
"sha256",
"kind",
"state"
],
"type": "object"
},
"assetBinding": {
"properties": {
"asset": {
"ref": "app.thesocialwire.socialDraft.defs#asset",
"type": "ref"
},
"assetId": {
"description": "Canonical lowercase UUID.",
"maxLength": 36,
"minLength": 36,
"type": "string"
},
"ref": {
"maxLength": 512,
"minLength": 0,
"type": "string"
},
"role": {
"knownValues": [
"original",
"prepared",
"video",
"poster",
"caption",
"gif"
],
"maxLength": 64,
"minLength": 1,
"type": "string"
}
},
"required": [
"assetId",
"role",
"ref",
"asset"
],
"type": "object"
},
"manifest": {
"properties": {
"attachments": {
"items": {
"ref": "app.thesocialwire.socialDraft.defs#assetBinding",
"type": "ref"
},
"maxLength": 800,
"type": "array"
},
"deleted": {
"type": "boolean"
},
"draftId": {
"description": "AT Protocol TID identifying the draft.",
"maxLength": 13,
"minLength": 13,
"type": "string"
},
"revision": {
"minimum": 0,
"type": "integer"
}
},
"required": [
"draftId",
"revision",
"deleted",
"attachments"
],
"type": "object"
},
"manifestRef": {
"properties": {
"assetId": {
"description": "Canonical lowercase UUID.",
"maxLength": 36,
"minLength": 36,
"type": "string"
},
"ref": {
"maxLength": 512,
"minLength": 0,
"type": "string"
},
"role": {
"knownValues": [
"original",
"prepared",
"video",
"poster",
"caption",
"gif"
],
"maxLength": 64,
"minLength": 1,
"type": "string"
}
},
"required": [
"assetId",
"role",
"ref"
],
"type": "object"
}
},
"id": "app.thesocialwire.socialDraft.defs",
"lexicon": 1
}