Cavuno · Schema
CreateCouponBody
Job Board SoftwareArtificial IntelligenceCommunity PlatformsMonetization
Properties
| Name | Type | Description |
|---|---|---|
| name | string | |
| percentOff | numbernull | |
| amountOff | numbernull | Fixed discount in the currency major unit (e.g. 10 for $10, 1000 for ¥1000). Required with `currency` when there is no percentOff. |
| currency | stringnull | |
| duration | string | |
| durationInMonths | integer | |
| maxRedemptions | integer | |
| redeemBy | integer | Unix ms deadline after which the coupon cannot be redeemed. |
| appliesToPlanIds | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/cavuno-com/json-schema/cavuno-com-create-coupon-body-schema.json",
"title": "CreateCouponBody",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/cavuno-com-coupons-api-openapi.yml#/components/schemas/CreateCouponBody",
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 40
},
"percentOff": {
"type": [
"number",
"null"
],
"minimum": 0,
"maximum": 100
},
"amountOff": {
"type": [
"number",
"null"
],
"description": "Fixed discount in the currency major unit (e.g. 10 for $10, 1000 for ¥1000). Required with `currency` when there is no percentOff.",
"exclusiveMinimum": 0
},
"currency": {
"type": [
"string",
"null"
],
"minLength": 1
},
"duration": {
"type": "string",
"enum": [
"once",
"forever",
"repeating"
]
},
"durationInMonths": {
"type": "integer",
"exclusiveMinimum": 0
},
"maxRedemptions": {
"type": "integer",
"exclusiveMinimum": 0
},
"redeemBy": {
"type": "integer",
"description": "Unix ms deadline after which the coupon cannot be redeemed."
},
"appliesToPlanIds": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
}
}
},
"required": [
"name",
"duration"
],
"additionalProperties": false
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/cavuno-com-create-coupon-body"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.