1{
2 "lexicon": 1,
3 "id": "blue.zio.atfile.upload",
4 "defs": {
5 "main": {
6 "type": "record",
7 "description": "A reference to an uploaded blob.",
8 "key": "any",
9 "record": {
10 "type": "object",
11 "properties": {
12 "blob": {
13 "type": "blob",
14 "accept": "*/*",
15 "maxSize": 1000000000000
16 },
17 "checksum": {
18 "type": "object",
19 "properties": {
20 "algo": {
21 "type": "string"
22 },
23 "hash": {
24 "type": "string"
25 }
26 }
27 },
28 "createdAt": {
29 "type": "string",
30 "format": "datetime"
31 },
32 "file": {
33 "type": "object",
34 "properties": {
35 "mimeType": {
36 "type": "string"
37 },
38 "modifiedAt": {
39 "type": "string",
40 "format": "datetime"
41 },
42 "name": {
43 "type": "string"
44 },
45 "size": {
46 "type": "integer"
47 }
48 }
49 },
50 "finger": {
51 "type": "union",
52 "refs": [
53 "blue.zio.atfile.finger#browser",
54 "blue.zio.atfile.finger#machine"
55 ],
56 "closed": false
57 },
58 "meta": {
59 "type": "union",
60 "refs": [
61 "blue.zio.atfile.meta#unknown"
62 ],
63 "closed": false
64 }
65 }
66 }
67 }
68 }
69}