Discogs · JSON Structure

Discogs Listing New Structure

Data for creating a new listing.

Type: object Properties: 11 Required: 4
MusicMarketplaceCatalogCommunityVinylPublic APIs

ListingNew is a JSON Structure definition published by Discogs, describing 11 properties, of which 4 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

release_id condition sleeve_condition price comments allow_offers status external_id location weight format_quantity

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/discogs/refs/heads/main/json-structure/discogs-listing-new-structure.json",
  "name": "ListingNew",
  "description": "Data for creating a new listing.",
  "type": "object",
  "properties": {
    "release_id": {
      "type": "int32",
      "description": "The ID of the release."
    },
    "condition": {
      "$ref": "#/components/schemas/MediaCondition"
    },
    "sleeve_condition": {
      "$ref": "#/components/schemas/SleeveCondition"
    },
    "price": {
      "type": "float",
      "description": "The price of the item in the seller's currency."
    },
    "comments": {
      "type": "string",
      "description": "Any remarks about the item."
    },
    "allow_offers": {
      "type": "boolean",
      "default": false
    },
    "status": {
      "type": "string",
      "description": "The status of the listing.",
      "enum": [
        "For Sale",
        "Draft"
      ],
      "default": "For Sale"
    },
    "external_id": {
      "type": "string",
      "description": "Private comments for the seller."
    },
    "location": {
      "type": "string",
      "description": "Physical location of the item."
    },
    "weight": {
      "type": "int32",
      "description": "The weight in grams."
    },
    "format_quantity": {
      "type": "int32",
      "description": "How many units this item counts as for shipping."
    }
  },
  "required": [
    "release_id",
    "condition",
    "price",
    "status"
  ]
}