{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/pinch/main/json-schema/pinch-post-plans-request-schema.json",
  "title": "PostPlansRequest",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/pinch-openapi-generated.yml#/components/schemas/PostPlansRequest",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "If present, updates the existing plan; if empty, creates a new plan"
    },
    "name": {
      "type": "string",
      "description": "Name of the plan"
    },
    "payments": {
      "type": "string",
      "description": "Definition of fixed or recurring payments"
    }
  },
  "required": [
    "name",
    "payments"
  ]
}