a0672cc4af
This PR contains the work done to implement the *Marketplace* endpoints for the **Discogs API** backend service, which include the following endpoints:
* GET `/users/{username}/inventory` endpoint
* GET `/marketplace/listings/{listing_id}` endpoint
* DELETE `/marketplace/listings/{listing_id}` endpoint
* POST `/marketplace/listings/{listing_id}` endpoint
* POST `/marketplace/listings` endpoint
* GET `/marketplace/orders` endpoint
* GET `/marketplace/orders/{order_id}` endpoint
* GET `/marketplace/orders/{order_id}/messages` endpoint
* POST `/marketplace/orders/{order_id}/messages` endpoint
* GET `/marketplace/fee/{price}` endpoint
* GET `/marketplace/fee/{price}/{currency}` endpoint
* GET `/marketplace/price_suggestions/{release_id}` endpoint
* GET `/marketplace/stats/{release_id}` endpoint
Reviewed-on: #15
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
1 line
36 KiB
JSON
1 line
36 KiB
JSON
{"sections":[],"hierarchy":{"paths":[["doc:\/\/DiscogsService\/documentation\/DiscogsService","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas"]]},"metadata":{"navigatorTitle":[{"kind":"identifier","text":"Listing"}],"role":"symbol","externalID":"s:14DiscogsService10ComponentsO7SchemasO7ListingV","symbolKind":"struct","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Listing","kind":"identifier"}],"roleHeading":"Structure","title":"Components.Schemas.Listing","modules":[{"name":"DiscogsService"}]},"abstract":[{"type":"text","text":"A type that represents a listing."}],"schemaVersion":{"patch":0,"major":0,"minor":3},"primaryContentSections":[{"kind":"declarations","declarations":[{"platforms":["macOS"],"tokens":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Listing","kind":"identifier"}],"languages":["swift"]}]},{"kind":"content","content":[{"type":"heading","anchor":"overview","level":2,"text":"Overview"},{"style":"note","type":"aside","name":"Remark","content":[{"inlineContent":[{"type":"text","text":"Generated from "},{"type":"codeVoice","code":"#\/components\/schemas\/Listing"},{"type":"text","text":"."}],"type":"paragraph"}]}]}],"kind":"symbol","identifier":{"url":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing","interfaceLanguage":"swift"},"variants":[{"traits":[{"interfaceLanguage":"swift"}],"paths":["\/documentation\/discogsservice\/components\/schemas\/listing"]}],"topicSections":[{"generated":true,"anchor":"Initializers","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/init(from:)","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/init(id:uri:resourceUrl:status:price:originalPrice:shippingPrice:originalShippingPrice:allowOffers:offerSubmitted:condition:sleeveCondition:posted:shipsFrom:comments:seller:release:audio:externalId:formatQuantity:location:weight:inCart:)"],"title":"Initializers"},{"generated":true,"anchor":"Instance-Properties","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/allowOffers","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/audio","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/comments","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/condition","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/externalId","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/formatQuantity","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/id","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/inCart","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/location","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/offerSubmitted","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/originalPrice","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/originalShippingPrice","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/posted","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/price","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/release","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/resourceUrl","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/seller","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/shippingPrice","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/shipsFrom","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/sleeveCondition","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/status","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/uri","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/weight"],"title":"Instance Properties"},{"generated":true,"anchor":"Enumerations","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/CodingKeys","doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/StatusPayload"],"title":"Enumerations"},{"generated":true,"anchor":"Default-Implementations","identifiers":["doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/Equatable-Implementations"],"title":"Default Implementations"}],"relationshipsSections":[{"kind":"relationships","type":"conformsTo","identifiers":["doc:\/\/DiscogsService\/Se","doc:\/\/DiscogsService\/SE","doc:\/\/DiscogsService\/SQ","doc:\/\/DiscogsService\/SH","doc:\/\/DiscogsService\/s8SendableP","doc:\/\/DiscogsService\/s16SendableMetatypeP"],"title":"Conforms To"}],"references":{"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Listing/sleeveCondition":{"abstract":[{"type":"text","text":"A sleeve condition of a listing."}],"kind":"symbol","type":"topic","title":"sleeveCondition","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/sleeveCondition","url":"\/documentation\/discogsservice\/components\/schemas\/listing\/sleevecondition","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"sleeveCondition"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO","text":"Components"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO","text":"Schemas"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO15ConditionSleeveO","text":"ConditionSleeve"}],"role":"symbol"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas":{"url":"\/documentation\/discogsservice\/components\/schemas","title":"Components.Schemas","role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Schemas"}],"navigatorTitle":[{"kind":"identifier","text":"Schemas"}],"kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas","abstract":[{"text":"Types generated from the ","type":"text"},{"code":"#\/components\/schemas","type":"codeVoice"},{"text":" section of the OpenAPI document.","type":"text"}],"type":"topic"},"doc://DiscogsService/s16SendableMetatypeP":{"type":"unresolvable","identifier":"doc:\/\/DiscogsService\/s16SendableMetatypeP","title":"Swift.SendableMetatype"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Listing/release":{"role":"symbol","abstract":[{"type":"text","text":"A release of a listing."}],"type":"topic","kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/release","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"release"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Components","preciseIdentifier":"s:14DiscogsService10ComponentsO"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Schemas","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"ReleaseInListing","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO16ReleaseInListingV"}],"url":"\/documentation\/discogsservice\/components\/schemas\/listing\/release","title":"release"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Listing/uri":{"role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"uri","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"}],"abstract":[{"type":"text","text":"A URI representation of a listing."}],"kind":"symbol","type":"topic","title":"uri","url":"\/documentation\/discogsservice\/components\/schemas\/listing\/uri","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/uri"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Listing/offerSubmitted":{"url":"\/documentation\/discogsservice\/components\/schemas\/listing\/offersubmitted","title":"offerSubmitted","abstract":[{"text":"A flag that indicates whether a user submitted an offer for a listing.","type":"text"}],"kind":"symbol","type":"topic","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/offerSubmitted","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"offerSubmitted"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"role":"symbol"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Listing/init(from:)":{"kind":"symbol","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"from","kind":"externalParam"},{"text":": any ","kind":"text"},{"text":"Decoder","kind":"typeIdentifier","preciseIdentifier":"s:s7DecoderP"},{"text":") ","kind":"text"},{"text":"throws","kind":"keyword"}],"abstract":[],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/init(from:)","title":"init(from:)","url":"\/documentation\/discogsservice\/components\/schemas\/listing\/init(from:)","role":"symbol","type":"topic"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Listing/id":{"title":"id","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/id","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"id","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:Si","text":"Int","kind":"typeIdentifier"}],"abstract":[{"type":"text","text":"An identifier of a listing."}],"url":"\/documentation\/discogsservice\/components\/schemas\/listing\/id","role":"symbol","kind":"symbol","type":"topic"},"doc://DiscogsService/documentation/DiscogsService/Components":{"type":"topic","role":"symbol","fragments":[{"kind":"keyword","text":"enum"},{"kind":"text","text":" "},{"kind":"identifier","text":"Components"}],"navigatorTitle":[{"text":"Components","kind":"identifier"}],"title":"Components","url":"\/documentation\/discogsservice\/components","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components","abstract":[{"text":"Types generated from the components section of the OpenAPI document.","type":"text"}],"kind":"symbol"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Listing/comments":{"role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"comments","kind":"identifier"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"}],"abstract":[{"type":"text","text":"A comment related to a listing."}],"kind":"symbol","type":"topic","title":"comments","url":"\/documentation\/discogsservice\/components\/schemas\/listing\/comments","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/comments"},"doc://DiscogsService/s8SendableP":{"type":"unresolvable","identifier":"doc:\/\/DiscogsService\/s8SendableP","title":"Swift.Sendable"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Listing/status":{"url":"\/documentation\/discogsservice\/components\/schemas\/listing\/status","kind":"symbol","abstract":[{"type":"text","text":"A status of a listing."}],"title":"status","type":"topic","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/status","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"status","kind":"identifier"},{"kind":"text","text":": "},{"preciseIdentifier":"s:14DiscogsService10ComponentsO","kind":"typeIdentifier","text":"Components"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO","kind":"typeIdentifier","text":"Schemas"},{"text":".","kind":"text"},{"text":"Listing","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO7ListingV","kind":"typeIdentifier"},{"kind":"text","text":"."},{"preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO7ListingV13StatusPayloadO","kind":"typeIdentifier","text":"StatusPayload"}],"role":"symbol"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Listing/init(id:uri:resourceUrl:status:price:originalPrice:shippingPrice:originalShippingPrice:allowOffers:offerSubmitted:condition:sleeveCondition:posted:shipsFrom:comments:seller:release:audio:externalId:formatQuantity:location:weight:inCart:)":{"url":"\/documentation\/discogsservice\/components\/schemas\/listing\/init(id:uri:resourceurl:status:price:originalprice:shippingprice:originalshippingprice:allowoffers:offersubmitted:condition:sleevecondition:posted:shipsfrom:comments:seller:release:audio:externalid:formatquantity:location:weight:incart:)","kind":"symbol","abstract":[{"text":"Creates a new ","type":"text"},{"code":"Listing","type":"codeVoice"},{"text":".","type":"text"}],"title":"init(id:uri:resourceUrl:status:price:originalPrice:shippingPrice:originalShippingPrice:allowOffers:offerSubmitted:condition:sleeveCondition:posted:shipsFrom:comments:seller:release:audio:externalId:formatQuantity:location:weight:inCart:)","type":"topic","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/init(id:uri:resourceUrl:status:price:originalPrice:shippingPrice:originalShippingPrice:allowOffers:offerSubmitted:condition:sleeveCondition:posted:shipsFrom:comments:seller:release:audio:externalId:formatQuantity:location:weight:inCart:)","fragments":[{"text":"init","kind":"identifier"},{"text":"(","kind":"text"},{"text":"id","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"text":", ","kind":"text"},{"text":"uri","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"resourceUrl","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"status","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Components","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO"},{"text":".","kind":"text"},{"text":"Schemas","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO"},{"text":".","kind":"text"},{"text":"Listing","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO7ListingV"},{"text":".","kind":"text"},{"text":"StatusPayload","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO7ListingV13StatusPayloadO"},{"text":", ","kind":"text"},{"text":"price","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Components","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO"},{"text":".","kind":"text"},{"text":"Schemas","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO"},{"text":".","kind":"text"},{"text":"Price","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO5PriceV"},{"text":", ","kind":"text"},{"text":"originalPrice","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Components","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO"},{"text":".","kind":"text"},{"text":"Schemas","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO"},{"text":".","kind":"text"},{"text":"PriceFormatted","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO14PriceFormattedV"},{"text":", ","kind":"text"},{"text":"shippingPrice","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Components","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO"},{"text":".","kind":"text"},{"text":"Schemas","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO"},{"text":".","kind":"text"},{"text":"Price","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO5PriceV"},{"text":", ","kind":"text"},{"text":"originalShippingPrice","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Components","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO"},{"text":".","kind":"text"},{"text":"Schemas","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO"},{"text":".","kind":"text"},{"text":"PriceFormatted","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO14PriceFormattedV"},{"text":", ","kind":"text"},{"text":"allowOffers","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"text":", ","kind":"text"},{"text":"offerSubmitted","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"text":", ","kind":"text"},{"text":"condition","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Components","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO"},{"text":".","kind":"text"},{"text":"Schemas","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO"},{"text":".","kind":"text"},{"text":"ConditionMedia","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO14ConditionMediaO"},{"text":", ","kind":"text"},{"text":"sleeveCondition","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Components","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO"},{"text":".","kind":"text"},{"text":"Schemas","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO"},{"text":".","kind":"text"},{"text":"ConditionSleeve","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO15ConditionSleeveO"},{"text":", ","kind":"text"},{"text":"posted","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Date","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DateV"},{"text":", ","kind":"text"},{"text":"shipsFrom","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"comments","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":", ","kind":"text"},{"text":"seller","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Components","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO"},{"text":".","kind":"text"},{"text":"Schemas","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO"},{"text":".","kind":"text"},{"text":"Seller","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO6SellerV"},{"text":", ","kind":"text"},{"text":"release","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Components","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO"},{"text":".","kind":"text"},{"text":"Schemas","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO"},{"text":".","kind":"text"},{"text":"ReleaseInListing","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO16ReleaseInListingV"},{"text":", ","kind":"text"},{"text":"audio","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"text":", ","kind":"text"},{"text":"externalId","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"formatQuantity","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"text":"?, ","kind":"text"},{"text":"location","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"String","kind":"typeIdentifier","preciseIdentifier":"s:SS"},{"text":"?, ","kind":"text"},{"text":"weight","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Int","kind":"typeIdentifier","preciseIdentifier":"s:Si"},{"text":"?, ","kind":"text"},{"text":"inCart","kind":"externalParam"},{"text":": ","kind":"text"},{"text":"Bool","kind":"typeIdentifier","preciseIdentifier":"s:Sb"},{"text":"?)","kind":"text"}],"role":"symbol"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Listing/seller":{"type":"topic","role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"seller","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Components","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO"},{"text":".","kind":"text"},{"text":"Schemas","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO"},{"text":".","kind":"text"},{"text":"Seller","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO6SellerV"}],"title":"seller","url":"\/documentation\/discogsservice\/components\/schemas\/listing\/seller","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/seller","abstract":[{"type":"text","text":"A seller of a listing."}],"kind":"symbol"},"doc://DiscogsService/SE":{"type":"unresolvable","identifier":"doc:\/\/DiscogsService\/SE","title":"Swift.Encodable"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Listing/originalShippingPrice":{"abstract":[{"text":"An original shipping price assigned to a listing.","type":"text"}],"kind":"symbol","type":"topic","title":"originalShippingPrice","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/originalShippingPrice","url":"\/documentation\/discogsservice\/components\/schemas\/listing\/originalshippingprice","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"originalShippingPrice","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Components","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO"},{"text":".","kind":"text"},{"text":"Schemas","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO"},{"text":".","kind":"text"},{"text":"PriceFormatted","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO14PriceFormattedV"}],"role":"symbol"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Listing/StatusPayload":{"title":"Components.Schemas.Listing.StatusPayload","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/StatusPayload","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"StatusPayload","kind":"identifier"}],"navigatorTitle":[{"text":"StatusPayload","kind":"identifier"}],"abstract":[{"type":"text","text":"A status of a listing."}],"url":"\/documentation\/discogsservice\/components\/schemas\/listing\/statuspayload","role":"symbol","kind":"symbol","type":"topic"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Listing/posted":{"kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"posted"},{"kind":"text","text":": "},{"text":"Date","kind":"typeIdentifier","preciseIdentifier":"s:10Foundation4DateV"}],"role":"symbol","url":"\/documentation\/discogsservice\/components\/schemas\/listing\/posted","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/posted","type":"topic","abstract":[{"text":"A date and time a listing was posted in the marketplace.","type":"text"}],"title":"posted"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Listing/CodingKeys":{"kind":"symbol","fragments":[{"text":"enum","kind":"keyword"},{"text":" ","kind":"text"},{"text":"CodingKeys","kind":"identifier"}],"abstract":[],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/CodingKeys","title":"Components.Schemas.Listing.CodingKeys","url":"\/documentation\/discogsservice\/components\/schemas\/listing\/codingkeys","role":"symbol","navigatorTitle":[{"text":"CodingKeys","kind":"identifier"}],"type":"topic"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Listing/price":{"role":"symbol","type":"topic","abstract":[{"type":"text","text":"A price assigned to a listing."}],"kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/price","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"price","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10ComponentsO","text":"Components","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO","text":"Schemas","kind":"typeIdentifier"},{"text":".","kind":"text"},{"preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO5PriceV","text":"Price","kind":"typeIdentifier"}],"url":"\/documentation\/discogsservice\/components\/schemas\/listing\/price","title":"price"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Listing/resourceUrl":{"role":"symbol","abstract":[{"type":"text","text":"A URI resource of a listing."}],"type":"topic","kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/resourceUrl","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"resourceUrl"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"url":"\/documentation\/discogsservice\/components\/schemas\/listing\/resourceurl","title":"resourceUrl"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Listing/externalId":{"role":"symbol","type":"topic","abstract":[{"type":"text","text":"Any private comment for the seller, if any."}],"kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/externalId","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"externalId","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"url":"\/documentation\/discogsservice\/components\/schemas\/listing\/externalid","title":"externalId"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Listing/formatQuantity":{"role":"symbol","abstract":[{"type":"text","text":"A number of units this listing counts as for shipping, if any."}],"type":"topic","kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/formatQuantity","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"formatQuantity"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":"?"}],"url":"\/documentation\/discogsservice\/components\/schemas\/listing\/formatquantity","title":"formatQuantity"},"doc://DiscogsService/Se":{"type":"unresolvable","identifier":"doc:\/\/DiscogsService\/Se","title":"Swift.Decodable"},"doc://DiscogsService/SH":{"type":"unresolvable","identifier":"doc:\/\/DiscogsService\/SH","title":"Swift.Hashable"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Listing/weight":{"kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"weight"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Int","preciseIdentifier":"s:Si"},{"kind":"text","text":"?"}],"abstract":[{"type":"text","text":"A weight in grams of a listing, if any."}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/weight","title":"weight","url":"\/documentation\/discogsservice\/components\/schemas\/listing\/weight","role":"symbol","type":"topic"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Listing/inCart":{"url":"\/documentation\/discogsservice\/components\/schemas\/listing\/incart","title":"inCart","abstract":[{"type":"text","text":"A flag that indicates whether a listing is in the shopping cart of a user, if any."}],"kind":"symbol","type":"topic","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/inCart","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"text":"inCart","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Bool","preciseIdentifier":"s:Sb","kind":"typeIdentifier"},{"kind":"text","text":"?"}],"role":"symbol"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Listing/audio":{"kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"kind":"text","text":" "},{"kind":"identifier","text":"audio"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:Sb","text":"Bool"}],"abstract":[{"type":"text","text":"A flag that indicates whether is an audio listing or not."}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/audio","title":"audio","url":"\/documentation\/discogsservice\/components\/schemas\/listing\/audio","role":"symbol","type":"topic"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Listing/shippingPrice":{"title":"shippingPrice","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/shippingPrice","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"shippingPrice"},{"kind":"text","text":": "},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO","text":"Components"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO","text":"Schemas"},{"kind":"text","text":"."},{"kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO5PriceV","text":"Price"}],"url":"\/documentation\/discogsservice\/components\/schemas\/listing\/shippingprice","abstract":[{"type":"text","text":"A shipping price assigned to a listing."}],"role":"symbol","kind":"symbol","type":"topic"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Listing/originalPrice":{"role":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"originalPrice","kind":"identifier"},{"text":": ","kind":"text"},{"text":"Components","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO"},{"text":".","kind":"text"},{"text":"Schemas","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO"},{"text":".","kind":"text"},{"text":"PriceFormatted","kind":"typeIdentifier","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO14PriceFormattedV"}],"abstract":[{"type":"text","text":"An original price assigned to a listing."}],"kind":"symbol","type":"topic","title":"originalPrice","url":"\/documentation\/discogsservice\/components\/schemas\/listing\/originalprice","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/originalPrice"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Listing/allowOffers":{"role":"symbol","abstract":[{"type":"text","text":"A flag that indicates whether a listing allow to receive offers or not."}],"type":"topic","kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/allowOffers","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"allowOffers"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Bool","preciseIdentifier":"s:Sb"}],"url":"\/documentation\/discogsservice\/components\/schemas\/listing\/allowoffers","title":"allowOffers"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Listing/Equatable-Implementations":{"role":"collectionGroup","abstract":[],"type":"topic","kind":"article","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/Equatable-Implementations","url":"\/documentation\/discogsservice\/components\/schemas\/listing\/equatable-implementations","title":"Equatable Implementations"},"doc://DiscogsService/SQ":{"type":"unresolvable","identifier":"doc:\/\/DiscogsService\/SQ","title":"Swift.Equatable"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Listing":{"url":"\/documentation\/discogsservice\/components\/schemas\/listing","title":"Components.Schemas.Listing","role":"symbol","fragments":[{"text":"struct","kind":"keyword"},{"text":" ","kind":"text"},{"text":"Listing","kind":"identifier"}],"navigatorTitle":[{"text":"Listing","kind":"identifier"}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing","kind":"symbol","abstract":[{"type":"text","text":"A type that represents a listing."}],"type":"topic"},"doc://DiscogsService/documentation/DiscogsService":{"title":"DiscogsService","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService","url":"\/documentation\/discogsservice","abstract":[],"role":"collection","kind":"symbol","type":"topic"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Listing/condition":{"role":"symbol","abstract":[{"type":"text","text":"A media condition of a listing."}],"type":"topic","kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/condition","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"condition"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"Components","preciseIdentifier":"s:14DiscogsService10ComponentsO"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"Schemas","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO"},{"kind":"text","text":"."},{"kind":"typeIdentifier","text":"ConditionMedia","preciseIdentifier":"s:14DiscogsService10ComponentsO7SchemasO14ConditionMediaO"}],"url":"\/documentation\/discogsservice\/components\/schemas\/listing\/condition","title":"condition"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Listing/shipsFrom":{"role":"symbol","abstract":[{"type":"text","text":"A country from where a listing will be shipped."}],"type":"topic","kind":"symbol","identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/shipsFrom","fragments":[{"kind":"keyword","text":"var"},{"kind":"text","text":" "},{"kind":"identifier","text":"shipsFrom"},{"kind":"text","text":": "},{"kind":"typeIdentifier","text":"String","preciseIdentifier":"s:SS"}],"url":"\/documentation\/discogsservice\/components\/schemas\/listing\/shipsfrom","title":"shipsFrom"},"doc://DiscogsService/documentation/DiscogsService/Components/Schemas/Listing/location":{"kind":"symbol","fragments":[{"text":"var","kind":"keyword"},{"text":" ","kind":"text"},{"text":"location","kind":"identifier"},{"text":": ","kind":"text"},{"preciseIdentifier":"s:SS","text":"String","kind":"typeIdentifier"},{"text":"?","kind":"text"}],"abstract":[{"text":"A geographical location of a listing, if any.","type":"text"}],"identifier":"doc:\/\/DiscogsService\/documentation\/DiscogsService\/Components\/Schemas\/Listing\/location","title":"location","url":"\/documentation\/discogsservice\/components\/schemas\/listing\/location","role":"symbol","type":"topic"}}} |