๐Ÿ“ƒ ATProto lexicons for blue.zio.*

blue.zio.atfile.*: add lexicons

+7
.editorconfig
···
···
+
root = true
+
+
[*]
+
end_of_line = lf
+
indent_style = space
+
indent_size = 2
+
insert_final_newline = true
+36
blue/zio/atfile/finger.json
···
···
+
{
+
"lexicon": 1,
+
"id": "blue.zio.atfile.finger",
+
"defs": {
+
"browser": {
+
"type": "object",
+
"description": "A fingerprint of a browser upload.",
+
"properties": {
+
"id": {
+
"type": "string"
+
},
+
"userAgent": {
+
"type": "string"
+
}
+
}
+
},
+
"machine": {
+
"type": "object",
+
"description": "A fingerprint of a machine upload.",
+
"properties": {
+
"app": {
+
"type": "string"
+
},
+
"host": {
+
"type": "string"
+
},
+
"id": {
+
"type": "string"
+
},
+
"os": {
+
"type": "string"
+
}
+
}
+
}
+
}
+
}
+20
blue/zio/atfile/lock.json
···
···
+
{
+
"lexicon": 1,
+
"id": "blue.zio.atfile.upload",
+
"defs": {
+
"main": {
+
"type": "record",
+
"description": "A reference to a locked file.",
+
"key": "any",
+
"record": {
+
"type": "object",
+
"properties": {
+
"lock": {
+
"type": "boolean"
+
}
+
}
+
}
+
}
+
}
+
}
+
+15
blue/zio/atfile/meta.json
···
···
+
{
+
"lexicon": 1,
+
"id": "blue.zio.atfile.meta",
+
"defs": {
+
"unknown": {
+
"type": "object",
+
"description": "Unknown metadata for an uploaded file.",
+
"properties": {
+
"reason": {
+
"type": "string"
+
}
+
}
+
}
+
}
+
}
+69
blue/zio/atfile/upload.json
···
···
+
{
+
"lexicon": 1,
+
"id": "blue.zio.atfile.upload",
+
"defs": {
+
"main": {
+
"type": "record",
+
"description": "A reference to an uploaded blob.",
+
"key": "any",
+
"record": {
+
"type": "object",
+
"properties": {
+
"blob": {
+
"type": "blob",
+
"accept": "*/*",
+
"maxSize": 1000000000000
+
},
+
"checksum": {
+
"type": "object",
+
"properties": {
+
"algo": {
+
"type": "string"
+
},
+
"hash": {
+
"type": "string"
+
}
+
}
+
},
+
"createdAt": {
+
"type": "string",
+
"format": "datetime"
+
},
+
"file": {
+
"type": "object",
+
"properties": {
+
"mimeType": {
+
"type": "string"
+
},
+
"modifiedAt": {
+
"type": "string",
+
"format": "datetime"
+
},
+
"name": {
+
"type": "string"
+
},
+
"size": {
+
"type": "integer"
+
}
+
}
+
},
+
"finger": {
+
"type": "union",
+
"refs": [
+
"blue.zio.atfile.finger#browser",
+
"blue.zio.atfile.finger#machine"
+
],
+
"closed": false
+
},
+
"meta": {
+
"type": "union",
+
"refs": [
+
"blue.zio.atfile.meta#unknown"
+
],
+
"closed": false
+
}
+
}
+
}
+
}
+
}
+
}
+19
blue/zio/meta/profile.json
···
···
+
{
+
"lexicon": 1,
+
"id": "blue.zio.meta.profile",
+
"defs": {
+
"main": {
+
"type": "record",
+
"description": "A profile for @Zio apps.",
+
"key": "any",
+
"record": {
+
"type": "object",
+
"properties": {
+
"nick": {
+
"type": "string"
+
}
+
}
+
}
+
}
+
}
+
}