Discogs · JSON Structure

Discogs Order Message Structure

A message attached to a marketplace order.

Type: object Properties: 7
MusicMarketplaceCatalogCommunityVinylPublic APIs

OrderMessage is a JSON Structure definition published by Discogs, describing 7 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

refund timestamp message type order subject from

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-order-message-structure.json",
  "name": "OrderMessage",
  "description": "A message attached to a marketplace order.",
  "type": "object",
  "properties": {
    "refund": {
      "type": "object",
      "properties": {
        "amount": {
          "type": "double"
        },
        "order": {
          "type": "object"
        }
      }
    },
    "timestamp": {
      "type": "datetime"
    },
    "message": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "enum": [
        "message",
        "status",
        "shipping"
      ]
    },
    "order": {
      "type": "object",
      "properties": {
        "resource_url": {
          "type": "string"
        },
        "id": {
          "type": "string"
        }
      }
    },
    "subject": {
      "type": "string"
    },
    "from": {
      "$ref": "#/components/schemas/UserSummary"
    }
  }
}