{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "any",
      "record": {
        "properties": {
          "blobs": {
            "items": {
              "accept": [
                "image/*"
              ],
              "maxSize": 1000000,
              "type": "blob"
            },
            "maxLength": 10,
            "type": "array"
          },
          "body": {
            "maxGraphemes": 10000,
            "maxLength": 100000,
            "type": "string"
          },
          "bodyDocument": {
            "maxLength": 262144,
            "type": "bytes"
          },
          "bodyDocumentFormat": {
            "description": "gsp-markdown-v1 makes body the canonical Markdown and omits bodyDocument. gsp-xml-zip-v1 makes bodyDocument canonical and body its Markdown projection.",
            "knownValues": [
              "gsp-xml-zip-v1",
              "gsp-markdown-v1"
            ],
            "type": "string"
          },
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "issueId": {
            "maxLength": 36,
            "minLength": 36,
            "type": "string"
          },
          "mentions": {
            "items": {
              "format": "did",
              "type": "string"
            },
            "maxLength": 50,
            "type": "array"
          },
          "number": {
            "maximum": 9007199254740991,
            "minimum": 1,
            "type": "integer"
          },
          "references": {
            "items": {
              "format": "at-uri",
              "type": "string"
            },
            "maxLength": 50,
            "type": "array"
          },
          "repositoryId": {
            "maxLength": 36,
            "minLength": 36,
            "type": "string"
          },
          "title": {
            "maxGraphemes": 256,
            "maxLength": 2560,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "issueId",
          "number",
          "title",
          "repositoryId",
          "bodyDocumentFormat",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "Alpha issue record stored in its Gitosphere repository Space.",
  "id": "dev.gitosphere.repository.issue",
  "lexicon": 1
}
