{
"$type": "com.atproto.lexicon.schema",
"defs": {
"aspectRatio": {
"properties": {
"height": {
"minimum": 1,
"type": "integer"
},
"width": {
"minimum": 1,
"type": "integer"
}
},
"required": [
"width",
"height"
],
"type": "object"
},
"link": {
"properties": {
"title": {
"maxLength": 300,
"type": "string"
},
"uri": {
"format": "uri",
"type": "string"
}
},
"required": [
"uri"
],
"type": "object"
},
"main": {
"description": "a picture from the inscribed square work, labelled with how much it actually establishes. the record key is a stable slug, so a later retraction is an edit to the same record.",
"key": "any",
"record": {
"properties": {
"alt": {
"maxLength": 1000,
"type": "string"
},
"aspectRatio": {
"ref": "#aspectRatio",
"type": "ref"
},
"caption": {
"description": "plain text; paragraphs separated by blank lines",
"maxLength": 5000,
"type": "string"
},
"createdAt": {
"description": "when the picture was made",
"format": "datetime",
"type": "string"
},
"image": {
"accept": [
"image/png",
"image/jpeg",
"image/webp"
],
"maxSize": 5000000,
"type": "blob"
},
"links": {
"items": {
"ref": "#link",
"type": "ref"
},
"maxLength": 8,
"type": "array"
},
"retraction": {
"description": "what has been withdrawn and why. present with any status; with a status other than retracted it means the picture stands only in part.",
"maxLength": 2000,
"type": "string"
},
"session": {
"description": "session number in JOURNEY.md",
"minimum": 1,
"type": "integer"
},
"status": {
"description": "proved: illustrates a theorem with a checked proof. sketched: an argument exists but is not fully checked. numerical: computed, not proved. retracted: the whole picture is withdrawn.",
"knownValues": [
"proved",
"sketched",
"numerical",
"retracted"
],
"type": "string"
},
"title": {
"maxLength": 300,
"type": "string"
}
},
"required": [
"title",
"image",
"alt",
"caption",
"status",
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "tech.waow.squarepeg.figure",
"lexicon": 1
}