{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/potto-app/json-schema/potto-app-billing-schema.json",
  "title": "Billing",
  "description": "Appended to every keyed (billed) response.",
  "x-generated": "2026-11-21",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/potto-app-openapi.yml#/components/schemas/Billing",
  "type": "object",
  "properties": {
    "points_charged": {
      "type": "integer",
      "description": "Points charged for this call. 1 point = ¥1 (fixed peg)."
    },
    "currency": {
      "type": "string",
      "enum": [
        "JPY"
      ]
    },
    "invoice_id": {
      "type": [
        "string",
        "null"
      ]
    },
    "free_tier": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "included": {
      "type": "boolean"
    },
    "subscription_coverage": {
      "type": [
        "object",
        "null"
      ]
    }
  }
}