{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/usagerail/json-schema/usagerail-post-v1-consumers-id-plan-request-schema.json",
  "title": "PostV1ConsumersIdPlanRequest",
  "x-generated": "2026-11-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/usagerail-openapi-generated.yml#/components/schemas/PostV1ConsumersIdPlanRequest",
  "type": "object",
  "properties": {
    "plan_id": {
      "type": "string",
      "description": "Target plan identifier"
    },
    "interval": {
      "type": "string",
      "description": "\"month\" or \"year\""
    },
    "keep": {
      "type": "boolean",
      "description": "Set to true to drop a pending change"
    }
  },
  "required": [
    "plan_id"
  ]
}