{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Amount",
"title": "Amount",
"type": "object",
"properties": {
"currency": {
"type": "string",
"description": "The base currency applied to the value field to establish a monetary amount.
The currency is represented as a 3-letter ISO 4217 currency code. For example, the code for the Canadian Dollar is CAD.
Default: The default currency of the eBay marketplace that hosts the listing. For implementation help, refer to eBay API documentation"
},
"value": {
"type": "string",
"description": "The monetary amount in the specified currency."
}
},
"description": "A complex type that describes the value of a monetary amount as represented by a global currency. When passing in an amount in a request payload, both currency and value fields are required, and both fields are also always returned for an amount in a response field."
}