Dropto · Schema

OfferedPromotion

One campaign this account may claim.

HostingArtificial IntelligenceStatic SitesDeveloper ToolsCloud

Properties

Name Type Description
allowsFeedback boolean Whether claiming it switches on comments.
allowsInvitedViewers boolean Whether claiming it switches on private sharing by email.
allowsPasswordProtection boolean Whether claiming it switches on password protection.
code nullstring Its code, or null when there is none to type.
deltaAccountBytes nullintegerstring Extra storage it gives, or null when it gives none.
deltaMaxCustomDomains integerstring Extra custom domains it gives.
deltaMaxSites nullintegerstring Extra sites it gives, or null when it gives none.
deltaSitesPerDay nullintegerstring Extra sites a day the account may create, or null. Only ever set on a campaign aimed at named accounts, so only an account the operator chose ever reads a figure here.
deltaWriteOpsPerDay nullintegerstring Extra publishing operations a day, or null.
deltaWriteOpsPerMonth nullintegerstring Extra publishing operations a month, or null.
endsAt nullstring When claiming closes, or null when it does not.
grantExpiresAfterDays nullintegerstring How long what it gives lasts, or null for good.
id string The campaign, which is what a button with no code to type sends back.
name string What to call it on the banner.
placesLeft nullintegerstring How many accounts may still claim it, or null when any number may. Read a moment ago and acted on a moment later, so it is a number to show rather than a number to trust — the redeem endpoint is what
suppressesBadge boolean Whether claiming it takes the Drop2Run badge off.
View JSON Schema on GitHub

JSON Schema

dropto-run-offered-promotion-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/dropto-run/json-schema/dropto-run-offered-promotion-schema.json",
  "title": "OfferedPromotion",
  "description": "One campaign this account may claim.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/dropto-run-promotions-api-openapi.yml#/components/schemas/OfferedPromotion",
  "properties": {
    "allowsFeedback": {
      "description": "Whether claiming it switches on comments.",
      "type": "boolean"
    },
    "allowsInvitedViewers": {
      "description": "Whether claiming it switches on private sharing by email.",
      "type": "boolean"
    },
    "allowsPasswordProtection": {
      "description": "Whether claiming it switches on password protection.",
      "type": "boolean"
    },
    "code": {
      "description": "Its code, or null when there is none to type.",
      "type": [
        "null",
        "string"
      ]
    },
    "deltaAccountBytes": {
      "description": "Extra storage it gives, or null when it gives none.",
      "format": "int64",
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "type": [
        "null",
        "integer",
        "string"
      ]
    },
    "deltaMaxCustomDomains": {
      "description": "Extra custom domains it gives.",
      "format": "int32",
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "type": [
        "integer",
        "string"
      ]
    },
    "deltaMaxSites": {
      "description": "Extra sites it gives, or null when it gives none.",
      "format": "int32",
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "type": [
        "null",
        "integer",
        "string"
      ]
    },
    "deltaSitesPerDay": {
      "description": "Extra sites a day the account may create, or null. Only ever set on a campaign aimed at named\naccounts, so only an account the operator chose ever reads a figure here.",
      "format": "int32",
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "type": [
        "null",
        "integer",
        "string"
      ]
    },
    "deltaWriteOpsPerDay": {
      "description": "Extra publishing operations a day, or null.",
      "format": "int64",
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "type": [
        "null",
        "integer",
        "string"
      ]
    },
    "deltaWriteOpsPerMonth": {
      "description": "Extra publishing operations a month, or null.",
      "format": "int64",
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "type": [
        "null",
        "integer",
        "string"
      ]
    },
    "endsAt": {
      "description": "When claiming closes, or null when it does not.",
      "format": "date-time",
      "type": [
        "null",
        "string"
      ]
    },
    "grantExpiresAfterDays": {
      "description": "How long what it gives lasts, or null for good.",
      "format": "int32",
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "type": [
        "null",
        "integer",
        "string"
      ]
    },
    "id": {
      "description": "The campaign, which is what a button with no code to type sends back.",
      "type": "string"
    },
    "name": {
      "description": "What to call it on the banner.",
      "type": "string"
    },
    "placesLeft": {
      "description": "How many accounts may still claim it, or null when any number may. Read a moment ago and acted on a\nmoment later, so it is a number to show rather than a number to trust — the redeem endpoint is what\ndecides, and it decides in one statement.",
      "format": "int32",
      "pattern": "^-?(?:0|[1-9]\\d*)$",
      "type": [
        "null",
        "integer",
        "string"
      ]
    },
    "suppressesBadge": {
      "description": "Whether claiming it takes the Drop2Run badge off.",
      "type": "boolean"
    }
  },
  "required": [
    "id",
    "code",
    "name",
    "deltaAccountBytes",
    "deltaMaxSites",
    "deltaWriteOpsPerMonth",
    "deltaWriteOpsPerDay",
    "deltaSitesPerDay",
    "deltaMaxCustomDomains",
    "suppressesBadge",
    "allowsInvitedViewers",
    "allowsFeedback",
    "allowsPasswordProtection",
    "grantExpiresAfterDays",
    "placesLeft",
    "endsAt"
  ],
  "type": "object"
}

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/dropto-run-offered-promotion"
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.