{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/thevicinityapp-com/json-schema/thevicinityapp-com-coverage-schema.json",
  "title": "Coverage",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/thevicinityapp-com-discovery-api-openapi.yml#/components/schemas/Coverage",
  "type": "object",
  "required": [
    "pricing",
    "rails",
    "intents"
  ],
  "properties": {
    "pricing": {
      "$ref": "#/$defs/PricingBlock"
    },
    "rails": {
      "$ref": "#/$defs/PaymentRails"
    },
    "intents": {
      "$ref": "#/$defs/IntentSurface"
    }
  },
  "$defs": {
    "IntentSurface": {
      "type": "object",
      "required": [
        "kinds"
      ],
      "properties": {
        "kinds": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "PaymentRails": {
      "type": "object",
      "required": [
        "credit"
      ],
      "properties": {
        "credit": {
          "type": "boolean",
          "description": "Always true."
        },
        "x402": {
          "type": "boolean",
          "description": "True iff an x402 facilitator is configured server-side."
        },
        "stripe_checkout": {
          "type": "boolean",
          "description": "True iff Stripe is configured server-side."
        }
      }
    },
    "PricingBlock": {
      "type": "object",
      "required": [
        "unit_scale",
        "intent_fee_micro",
        "intent_bond_micro",
        "reputation_multipliers",
        "report_slash_threshold",
        "report_grace_minutes",
        "max_open_intents_per_account"
      ],
      "properties": {
        "unit_scale": {
          "type": "integer",
          "description": "Micro-units per $1.00."
        },
        "intent_fee_micro": {
          "type": "integer",
          "description": "$0.02 non-refundable fee."
        },
        "intent_bond_micro": {
          "type": "integer",
          "description": "$0.20 refundable bond at 1.0x reputation."
        },
        "reputation_multipliers": {
          "type": "object",
          "required": [
            "min",
            "max"
          ],
          "properties": {
            "min": {
              "type": "number"
            },
            "max": {
              "type": "number"
            }
          }
        },
        "report_slash_threshold": {
          "type": "integer"
        },
        "report_grace_minutes": {
          "type": "integer"
        },
        "max_open_intents_per_account": {
          "type": "integer"
        }
      }
    }
  }
}