Discogs · Schema

OrderMessage

A message attached to a marketplace order.

MusicMarketplaceCatalogCommunityVinylPublic APIs

Properties

Name Type Description
refund object
timestamp string
message string
type string
order object
subject string
from object
View JSON Schema on GitHub

JSON Schema

discogs-order-message-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-order-message-schema.json",
  "title": "OrderMessage",
  "description": "A message attached to a marketplace order.",
  "type": "object",
  "properties": {
    "refund": {
      "type": "object",
      "properties": {
        "amount": {
          "type": "number"
        },
        "order": {
          "type": "object"
        }
      }
    },
    "timestamp": {
      "type": "string",
      "format": "date-time"
    },
    "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"
    }
  }
}