{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/TimeDuration",
"title": "TimeDuration",
"type": "object",
"properties": {
"unit": {
"type": "string",
"description": "These enum values represent the time measurement unit, such as DAY. A span of time is defined when you apply the value specified in the value field to the value specified for unit.
See TimeDurationUnitEnum for a complete list of possible time-measurement units. For implementation help, refer to eBay API documentation"
},
"value": {
"type": "integer",
"description": "An integer that represents an amount of time, as measured by the time-measurement unit specified in the unit field.",
"format": "int32"
}
},
"description": "A type used to specify a period of time using a specified time-measurement unit. Payment, return, and fulfillment business policies all use this type to specify time windows.
Whenever a container that uses this type is used in a request, both of these fields are required. Similarly, whenever a container that uses this type is returned in a response, both of these fields are always returned."
}