{
"$type": "com.atproto.lexicon.schema",
"defs": {
"blobFieldView": {
"properties": {
"accept": {
"description": "The media types it takes, `*` for any of a kind (`image/*`); any, without.",
"items": {
"type": "string"
},
"type": "array"
},
"collection": {
"format": "nsid",
"type": "string"
},
"maxSize": {
"description": "The most bytes it takes; no limit, without.",
"type": "integer"
},
"path": {
"description": "Where in the record: `ghost`, or `images[].image`.",
"type": "string"
}
},
"required": [
"collection",
"path"
],
"type": "object"
},
"main": {
"description": "The fields of these kinds of record that hold a file, and what each takes, by their lexicons: the host's own, and the group's. What a page may upload, besides a picture, for a record it writes.",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"fields": {
"items": {
"ref": "#blobFieldView",
"type": "ref"
},
"type": "array"
}
},
"required": [
"fields"
],
"type": "object"
}
},
"parameters": {
"properties": {
"collections": {
"items": {
"format": "nsid",
"type": "string"
},
"maxLength": 60,
"type": "array"
},
"group": {
"format": "did",
"type": "string"
}
},
"required": [
"group",
"collections"
],
"type": "params"
},
"type": "query"
}
},
"id": "fyi.opensocial.getBlobFields",
"lexicon": 1
}