{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/discogs/refs/heads/main/json-structure/discogs-artist-structure.json",
  "name": "Artist",
  "description": "Represents a person or group in the Discogs database.",
  "type": "object",
  "properties": {
    "id": {
      "type": "int32",
      "readOnly": true
    },
    "name": {
      "type": "string"
    },
    "realname": {
      "type": "string",
      "nullable": true
    },
    "resource_url": {
      "type": "uri",
      "readOnly": true
    },
    "uri": {
      "type": "uri",
      "readOnly": true
    },
    "releases_url": {
      "type": "uri"
    },
    "profile": {
      "type": "string",
      "nullable": true
    },
    "urls": {
      "type": "array",
      "items": {
        "type": "uri"
      }
    },
    "namevariations": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "members": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/ArtistSummary"
      }
    },
    "images": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Image"
      }
    },
    "data_quality": {
      "type": "string"
    }
  }
}