{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "image": {
      "properties": {
        "alt": {
          "maxGraphemes": 2000,
          "maxLength": 20000,
          "type": "string"
        },
        "image": {
          "accept": [
            "image/jpeg",
            "image/png",
            "image/webp"
          ],
          "maxSize": 5000000,
          "type": "blob"
        }
      },
      "required": [
        "image",
        "alt"
      ],
      "type": "object"
    },
    "main": {
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "images": {
            "items": {
              "ref": "#image",
              "type": "ref"
            },
            "maxLength": 4,
            "type": "array"
          },
          "text": {
            "maxGraphemes": 10000,
            "maxLength": 100000,
            "type": "string"
          }
        },
        "required": [
          "text",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "at.colocate.post",
  "lexicon": 1
}
