{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/peoplescourt-ai/json-schema/peoplescourt-ai-canonical-fee-checkout-input-schema.json",
  "title": "CanonicalFeeCheckoutInput",
  "description": "The fee is selected by the resource path; caseId and feeRecordId in the body are refused.",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/peoplescourt-ai-fees-api-openapi.yml#/components/schemas/CanonicalFeeCheckoutInput",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "restartOnly": {
      "type": "boolean",
      "default": false,
      "description": "Claimant account only. Check whether an expired unpaid initial filing can be reviewed as a new filing. Unresolved or non-expired payment attempts refuse recovery. Does not create a filing, accept terms, extend a deadline, or move money. Mutually exclusive with previewOnly."
    },
    "previewOnly": {
      "type": "boolean",
      "default": false,
      "description": "Validate the hosted price selection and return grossCents, discountCents and netCents without opening Checkout or reserving a credit. Availability is checked again when payment starts."
    },
    "promotionCode": {
      "type": "string"
    },
    "priceSelection": {
      "type": "string",
      "const": "full"
    }
  }
}