{
"$type": "com.atproto.lexicon.schema",
"defs": {
"addr": {
"description": "One location that serves the content.",
"properties": {
"expires": {
"description": "Time after which this addr is no longer valid. Defaults to, and is capped by, the record's expires.",
"format": "datetime",
"type": "string"
},
"url": {
"description": "Absolute URL for the content. The scheme identifies the retrieval method.",
"format": "uri",
"maxLength": 2048,
"type": "string"
}
},
"required": [
"url"
],
"type": "object"
},
"main": {
"description": "An announcement that the content identified by the DASL or BDASL CID in the record key is retrievable at one or more URLs, until an expiry time.",
"key": "any",
"record": {
"properties": {
"addrs": {
"description": "Locations that serve the content.",
"items": {
"ref": "#addr",
"type": "ref"
},
"maxLength": 32,
"minLength": 1,
"type": "array"
},
"expires": {
"description": "Time after which this record is no longer valid. Ceiling for the expiry of every addr.",
"format": "datetime",
"type": "string"
},
"size": {
"description": "Size of the content in bytes.",
"minimum": 0,
"type": "integer"
}
},
"required": [
"addrs"
],
"type": "object"
},
"type": "record"
}
},
"id": "dev.fisl.at",
"lexicon": 1
}