{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Record containing a piece of media.",
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "filename": {
            "maxLength": 1000,
            "type": "string"
          },
          "image": {
            "ref": "app.bsky.embed.images#image",
            "type": "ref"
          },
          "path": {
            "maxLength": 1000,
            "type": "string"
          }
        },
        "required": [
          "filename",
          "image",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "Media for my personal blog (https://polhem.us)",
  "id": "us.polhem.blog.media",
  "lexicon": 1
}
