{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "aspectRatio": {
      "description": "Width and height of an image, used to reserve its space before it loads. Only the ratio is meaningful; the values may be the pixel size.",
      "properties": {
        "height": {
          "minimum": 1,
          "type": "integer"
        },
        "width": {
          "minimum": 1,
          "type": "integer"
        }
      },
      "required": [
        "width",
        "height"
      ],
      "type": "object"
    },
    "image": {
      "description": "An image stored as a blob in the author's account.",
      "properties": {
        "alt": {
          "description": "Description of the image for people who cannot see it.",
          "maxGraphemes": 1000,
          "maxLength": 10000,
          "type": "string"
        },
        "aspectRatio": {
          "ref": "#aspectRatio",
          "type": "ref"
        },
        "image": {
          "accept": [
            "image/jpeg",
            "image/png",
            "image/webp"
          ],
          "maxSize": 2000000,
          "type": "blob"
        }
      },
      "required": [
        "image"
      ],
      "type": "object"
    },
    "location": {
      "description": "A place on Earth as a WGS 84 coordinate. Field names match community.lexicon.location.geo.",
      "properties": {
        "address": {
          "description": "Address as one line of text, in the form the author wants it shown.",
          "maxGraphemes": 500,
          "maxLength": 5000,
          "type": "string"
        },
        "latitude": {
          "description": "Decimal degrees between -90 and 90, as a string because records cannot hold fractional numbers. Example: \"52.521666\".",
          "maxLength": 32,
          "type": "string"
        },
        "longitude": {
          "description": "Decimal degrees between -180 and 180, as a string. Example: \"13.413191\".",
          "maxLength": 32,
          "type": "string"
        },
        "name": {
          "description": "Name of the place, such as a venue or landmark.",
          "maxGraphemes": 300,
          "maxLength": 3000,
          "type": "string"
        }
      },
      "required": [
        "latitude",
        "longitude"
      ],
      "type": "object"
    }
  },
  "description": "Shared definitions for Indx records.",
  "id": "so.indx.defs",
  "lexicon": 1
}
