{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nanocart-io/json-schema/nanocart-io-put-shop-storeid-admin-donations-campaigns-campaignid-request-schema.json",
  "title": "PutShopStoreidAdminDonationsCampaignsCampaignidRequest",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/nanocart-io-openapi-generated.yml#/components/schemas/PutShopStoreidAdminDonationsCampaignsCampaignidRequest",
  "type": "object",
  "properties": {
    "campaignId": {
      "type": "string",
      "description": "Immutable slug (must match path)"
    },
    "name": {
      "type": "string",
      "description": "Campaign title"
    },
    "description": {
      "type": "string",
      "description": "Description"
    },
    "buttonText": {
      "type": "string",
      "description": "Button label"
    },
    "suggestedOneTime": {
      "type": "array",
      "description": "Suggested one‑time amounts"
    },
    "suggestedMonthly": {
      "type": "array",
      "description": "Suggested monthly amounts"
    },
    "allowCustomAmount": {
      "type": "boolean"
    },
    "allowOneTime": {
      "type": "boolean"
    },
    "allowRecurring": {
      "type": "boolean"
    },
    "defaultFrequency": {
      "type": "string"
    },
    "goalAmountCents": {
      "type": "integer"
    },
    "goalMetric": {
      "type": "string"
    },
    "statsConfig": {
      "type": "object"
    },
    "hideBranding": {
      "type": "boolean"
    },
    "status": {
      "type": "string"
    }
  }
}