PremiumQuote
{
"type": "object",
"properties": {
"video_id": {
"type": "string"
},
"duration_seconds": {
"type": "number"
},
"billing_scope": {
"type": "string",
"enum": [
"full_video"
]
},
"owned": {
"type": "boolean"
},
"eligible": {
"type": "boolean"
},
"upgrade": {
"type": "object",
"properties": {
"label": {
"type": "string"
},
"href": {
"type": "string"
}
},
"required": [
"label",
"href"
],
"description": "Present when eligible is false. Names the plan that includes Premium transcripts, as a button label and an absolute link to its checkout."
},
"quote": {
"$ref": "#/components/schemas/TranscriptQuote"
},
"charge": {
"type": "object",
"properties": {
"unit": {
"type": "string",
"enum": [
"rows",
"credits"
]
},
"amount": {
"type": "number"
},
"from": {
"type": "string",
"enum": [
"included",
"on_demand",
"mixed"
],
"description": "Where the charge would come from at the current balance."
}
},
"required": [
"unit",
"amount",
"from"
]
},
"credits_per_row": {
"type": "number",
"description": "Credits in a row: 4."
},
"max_on_demand_cents": {
"type": "number"
},
"on_demand_cents_per_unit": {
"type": "number",
"description": "What one unit of charge.unit costs as on-demand usage, in US cents: 0.2 a credit ($0.002)."
},
"refund_policy": {
"type": "string"
}
},
"required": [
"video_id",
"duration_seconds",
"billing_scope",
"owned",
"eligible",
"quote",
"charge",
"credits_per_row",
"max_on_demand_cents",
"on_demand_cents_per_unit",
"refund_policy"
]
}