{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "One stored file. The record key is the file name with characters outside the record-key set replaced by '-'.",
      "key": "any",
      "record": {
        "properties": {
          "blob": {
            "accept": [
              "*/*"
            ],
            "type": "blob"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "name": {
            "maxLength": 1024,
            "type": "string"
          },
          "note": {
            "maxLength": 3000,
            "type": "string"
          },
          "sha256": {
            "description": "Hex digest of the bytes, when the writer could compute it.",
            "maxLength": 64,
            "type": "string"
          },
          "size": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "name",
          "size",
          "blob",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "tech.waow.stash.file",
  "lexicon": 1
}
