{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "A declaration of an artist.",
      "key": "tid",
      "record": {
        "properties": {
          "bio": {
            "description": "The biography of the artist.",
            "maxLength": 1000,
            "type": "string"
          },
          "born": {
            "description": "The birth date of the artist.",
            "format": "datetime",
            "type": "string"
          },
          "bornIn": {
            "description": "The birth place of the artist.",
            "maxLength": 256,
            "type": "string"
          },
          "createdAt": {
            "description": "The date when the artist was created.",
            "format": "datetime",
            "type": "string"
          },
          "died": {
            "description": "The death date of the artist.",
            "format": "datetime",
            "type": "string"
          },
          "name": {
            "description": "The name of the artist.",
            "maxLength": 512,
            "minLength": 1,
            "type": "string"
          },
          "picture": {
            "accept": [
              "image/png",
              "image/jpeg"
            ],
            "description": "The picture of the artist.",
            "maxSize": 2000000,
            "type": "blob"
          },
          "pictureUrl": {
            "description": "The URL of the picture of the artist.",
            "format": "uri",
            "type": "string"
          },
          "tags": {
            "description": "The tags of the artist.",
            "items": {
              "maxLength": 256,
              "minLength": 1,
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "name",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "app.rocksky.artist",
  "lexicon": 1
}
