Discogs · Schema

Community

Community schema from Discogs API

MusicMarketplaceCatalogCommunityVinylPublic APIs

Properties

Name Type Description
have integer
want integer
rating object
submitter object
contributors array
data_quality string
status string
View JSON Schema on GitHub

JSON Schema

discogs-community-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/discogs/refs/heads/main/json-schema/discogs-community-schema.json",
  "title": "Community",
  "description": "Community schema from Discogs API",
  "type": "object",
  "properties": {
    "have": {
      "type": "integer"
    },
    "want": {
      "type": "integer"
    },
    "rating": {
      "type": "object",
      "properties": {
        "count": {
          "type": "integer"
        },
        "average": {
          "type": "number",
          "format": "float"
        }
      }
    },
    "submitter": {
      "$ref": "#/components/schemas/UserSummary"
    },
    "contributors": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/UserSummary"
      }
    },
    "data_quality": {
      "type": "string"
    },
    "status": {
      "type": "string"
    }
  }
}