NodeRings Inc. · Schema

v1Coupon

A discount. Codes customers type live in CouponCode. Provider coupons apply to that provider's plans. Platform coupons apply across providers.

ComputeGame ServersDNSMarketplaceCloud InfrastructureSoftware-as-a-ServiceHostingVirtual Machines

Properties

Name Type Description
id string
name string
description string
discountType object
percentOff string Decimal string in (0, 100] for percentage coupons.
amountsOff object ISO currency to decimal amount for fixed coupons. Never converted.
maxDiscountAmounts object ISO currency to per-invoice cap for percentage coupons.
appliesTo array Invoice line kinds: base, addon, usage.
usageMetricCodes array
assetCategories array Plan asset_category values that qualify, such as compute. Empty means any.
assetTypes array Plan asset_type values that qualify, such as vm or gameserver. Empty means any.
planIds array
duration object
durationInPeriods integer
durationDays integer
validFrom string
validUntil string
maxRedemptions integer 0 means unlimited.
timesRedeemed integer
oncePerCustomer boolean
firstTimeCustomerOnly boolean
highRisk boolean
status object
timestamps object
fundedBy object
creditValidDays integer Days a redeemed credit lot stays valid. Only set for credit coupons.
View JSON Schema on GitHub

JSON Schema

noderings-com-v1-coupon-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/noderings-com/json-schema/noderings-com-v1-coupon-schema.json",
  "title": "v1Coupon",
  "description": "A discount. Codes customers type live in CouponCode. Provider coupons apply\nto that provider's plans. Platform coupons apply across providers.",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/noderings-com-openapi.json#/components/schemas/v1Coupon",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "discountType": {
      "$ref": "#/$defs/v1CouponDiscountType"
    },
    "percentOff": {
      "type": "string",
      "description": "Decimal string in (0, 100] for percentage coupons."
    },
    "amountsOff": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "ISO currency to decimal amount for fixed coupons. Never converted."
    },
    "maxDiscountAmounts": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "ISO currency to per-invoice cap for percentage coupons."
    },
    "appliesTo": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Invoice line kinds: base, addon, usage."
    },
    "usageMetricCodes": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "assetCategories": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Plan asset_category values that qualify, such as compute. Empty means any."
    },
    "assetTypes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Plan asset_type values that qualify, such as vm or gameserver. Empty means any."
    },
    "planIds": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "duration": {
      "$ref": "#/$defs/v1CouponDuration"
    },
    "durationInPeriods": {
      "type": "integer",
      "format": "int32"
    },
    "durationDays": {
      "type": "integer",
      "format": "int32"
    },
    "validFrom": {
      "type": "string",
      "format": "date-time"
    },
    "validUntil": {
      "type": "string",
      "format": "date-time"
    },
    "maxRedemptions": {
      "type": "integer",
      "format": "int32",
      "description": "0 means unlimited."
    },
    "timesRedeemed": {
      "type": "integer",
      "format": "int32"
    },
    "oncePerCustomer": {
      "type": "boolean"
    },
    "firstTimeCustomerOnly": {
      "type": "boolean"
    },
    "highRisk": {
      "type": "boolean"
    },
    "status": {
      "$ref": "#/$defs/protov1Status"
    },
    "timestamps": {
      "$ref": "#/$defs/v1Timestamps"
    },
    "fundedBy": {
      "$ref": "#/$defs/v1CouponFunding"
    },
    "creditValidDays": {
      "type": "integer",
      "format": "int32",
      "description": "Days a redeemed credit lot stays valid. Only set for credit coupons."
    }
  },
  "$defs": {
    "protov1Status": {
      "type": "string",
      "enum": [
        "STATUS_UNSPECIFIED",
        "STATUS_ACTIVE",
        "STATUS_INACTIVE",
        "STATUS_BANNED",
        "STATUS_SOFT_DELETED"
      ],
      "default": "STATUS_UNSPECIFIED",
      "title": "Status of the object"
    },
    "v1CouponDiscountType": {
      "type": "string",
      "enum": [
        "COUPON_DISCOUNT_TYPE_UNSPECIFIED",
        "COUPON_DISCOUNT_TYPE_PERCENTAGE",
        "COUPON_DISCOUNT_TYPE_FIXED",
        "COUPON_DISCOUNT_TYPE_CREDIT"
      ],
      "default": "COUPON_DISCOUNT_TYPE_UNSPECIFIED",
      "description": " - COUPON_DISCOUNT_TYPE_CREDIT: A code that grants promotional credit instead of discounting a subscription."
    },
    "v1CouponDuration": {
      "type": "string",
      "enum": [
        "COUPON_DURATION_UNSPECIFIED",
        "COUPON_DURATION_ONCE",
        "COUPON_DURATION_REPEATING",
        "COUPON_DURATION_FOREVER"
      ],
      "default": "COUPON_DURATION_UNSPECIFIED",
      "description": " - COUPON_DURATION_ONCE: Discounts the next invoice only.\n - COUPON_DURATION_REPEATING: Discounts duration_in_periods invoices, or every invoice for duration_days."
    },
    "v1CouponFunding": {
      "type": "string",
      "enum": [
        "COUPON_FUNDING_UNSPECIFIED",
        "COUPON_FUNDING_PROVIDER",
        "COUPON_FUNDING_PLATFORM"
      ],
      "default": "COUPON_FUNDING_UNSPECIFIED",
      "description": " - COUPON_FUNDING_PLATFORM: The platform funds the discount. The code applies across providers, and\neach provider still receives the amount they were owed."
    },
    "v1Timestamps": {
      "type": "object",
      "properties": {
        "createTime": {
          "type": "string",
          "format": "date-time"
        },
        "updateTime": {
          "type": "string",
          "format": "date-time"
        }
      },
      "title": "Object details"
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/noderings-com-v1-coupon"
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.