{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Bangladeshi Artist / Band Metadata",
  "type": "object",
  "required": [
    "id",
    "name",
    "genres",
    "formed_year"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "URL-friendly slug (e.g., artcell, warfaze)"
    },
    "name": {
      "type": "string",
      "description": "Primary display name"
    },
    "also_known_as": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "type": {
      "type": "string",
      "enum": [
        "band",
        "solo",
        "collective",
        "project"
      ]
    },
    "formed_year": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Year the act formed. Null only when no public source states it; record what is known in 'notes' or 'local_adaptation_notes' and tag the artist 'needs-verification'."
    },
    "disbanded_year": {
      "type": [
        "integer",
        "null"
      ]
    },
    "origin_city": {
      "type": "string",
      "description": "City the act formed in, as a plain city name so it can be faceted. Put qualifiers (diaspora origin, birthplace, later relocation) in 'origin_note'."
    },
    "genres": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Primary and secondary genres"
    },
    "languages": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "default": [
        "bn"
      ]
    },
    "members": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "role": {
            "type": "string"
          },
          "years_active": {
            "type": "string"
          },
          "current": {
            "type": "boolean"
          }
        }
      }
    },
    "discography_summary": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "year": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Release year; null when the release is documented but undated in available sources."
          },
          "type": {
            "type": "string",
            "enum": [
              "studio",
              "live",
              "ep",
              "single",
              "compilation",
              "mixed"
            ]
          },
          "label": {
            "type": [
              "string",
              "null"
            ]
          },
          "notable_tracks": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      }
    },
    "global_influences": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "artist_or_genre": {
            "type": "string"
          },
          "evidence": {
            "type": "string"
          },
          "source": {
            "type": "string"
          },
          "confidence": {
            "type": "string",
            "enum": [
              "high",
              "medium",
              "low",
              "hypothesized"
            ]
          }
        }
      }
    },
    "local_adaptation_notes": {
      "type": "string"
    },
    "sound_evolution_summary": {
      "type": "string"
    },
    "concert_culture_notes": {
      "type": "string"
    },
    "listener_community_notes": {
      "type": "string"
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "url": {
            "type": "string"
          },
          "type": {
            "type": "string"
          },
          "accessed": {
            "type": "string"
          }
        }
      }
    },
    "tags": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "last_updated": {
      "type": "string",
      "format": "date"
    },
    "origin_note": {
      "type": "string",
      "description": "Free-text qualifier on origin_city, e.g. diaspora status or birthplace."
    },
    "musicbrainz_id": {
      "type": "string",
      "description": "MusicBrainz Identifier (MBID) for this artist, if a matching entry exists. Enables programmatic lookups against MusicBrainz-linked sources (e.g. setlist.fm's API, which keys artists by MBID) and AcousticBrainz's archived audio-feature dumps without manual relinking later."
    },
    "wikidata_id": {
      "type": "string",
      "description": "Wikidata entity ID (e.g. 'Q12345'), if a matching entry exists. Wikidata is the preferred cross-reference target for MusicBrainz links since 2015 and offers a language-independent bridge to other catalogues."
    }
  }
}
