kopia lustrzana https://github.com/snarfed/bridgy-fed
46 wiersze
1.1 KiB
JSON
46 wiersze
1.1 KiB
JSON
{
|
|
"lexicon": 1,
|
|
"id": "com.atproto.admin.blob",
|
|
"defs": {
|
|
"view": {
|
|
"type": "object",
|
|
"required": ["cid", "mimeType", "size", "createdAt"],
|
|
"properties": {
|
|
"cid": {"type": "string"},
|
|
"mimeType": {"type": "string"},
|
|
"size": {"type": "integer"},
|
|
"createdAt": {"type": "datetime"},
|
|
"details": {
|
|
"type": "union",
|
|
"refs": ["#imageDetails", "#videoDetails"]
|
|
},
|
|
"moderation": {"type": "ref", "ref": "#moderation"}
|
|
}
|
|
},
|
|
"imageDetails": {
|
|
"type": "object",
|
|
"required": ["width", "height"],
|
|
"properties": {
|
|
"width": {"type": "integer"},
|
|
"height": {"type": "integer"}
|
|
}
|
|
},
|
|
"videoDetails": {
|
|
"type": "object",
|
|
"required": ["width", "height", "length"],
|
|
"properties": {
|
|
"width": {"type": "integer"},
|
|
"height": {"type": "integer"},
|
|
"length": {"type": "integer"}
|
|
}
|
|
},
|
|
"moderation": {
|
|
"type": "object",
|
|
"required": [],
|
|
"properties": {
|
|
"currentAction": {"type": "ref", "ref": "com.atproto.admin.moderationAction#viewCurrent"}
|
|
}
|
|
}
|
|
}
|
|
}
|