{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/grabbit-live/json-schema/grabbit-live-pricing-schema.json",
  "title": "Pricing",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/grabbit-live-openapi.json#/components/schemas/Pricing",
  "type": "object",
  "properties": {
    "pricing": {
      "type": "object",
      "properties": {
        "per_grab_usd": {
          "type": "number"
        },
        "currency": {
          "type": "string"
        },
        "billing_model": {
          "type": "string"
        },
        "free_tier": {
          "type": "boolean"
        },
        "test_mode": {
          "type": "string"
        },
        "annual": {
          "type": "object",
          "properties": {
            "price_usd": {
              "type": "number"
            },
            "credits_per_year": {
              "type": "integer"
            },
            "reset_policy": {
              "type": "string"
            }
          },
          "required": [
            "price_usd",
            "credits_per_year",
            "reset_policy"
          ],
          "additionalProperties": {}
        },
        "prepaid_packages": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "credits": {
                "type": "integer"
              },
              "price_usd": {
                "type": "number"
              },
              "reset_policy": {
                "type": "string"
              }
            },
            "required": [
              "name",
              "credits",
              "price_usd",
              "reset_policy"
            ],
            "additionalProperties": {}
          }
        }
      },
      "required": [
        "per_grab_usd",
        "currency",
        "billing_model",
        "free_tier",
        "test_mode",
        "annual",
        "prepaid_packages"
      ],
      "additionalProperties": {}
    },
    "comparison": {
      "type": "object",
      "properties": {
        "schema_version": {
          "type": "string"
        },
        "detail": {
          "type": "string"
        },
        "detail_hint": {
          "type": "string"
        },
        "last_verified": {
          "type": "string"
        },
        "features": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "providers": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "plan": {
                "type": "string"
              },
              "per_grab": {
                "type": "string"
              },
              "billing": {
                "type": "string"
              },
              "billing_unit": {
                "type": "string"
              },
              "quota_note": {
                "type": "string"
              },
              "included": {
                "type": "string"
              },
              "unused_credits": {
                "type": "string"
              },
              "features_supported": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "agent_install": {
                "type": "string"
              },
              "source_url": {
                "type": "string"
              },
              "verified_on": {
                "type": "string"
              },
              "evidence_status": {
                "type": "string"
              },
              "pricing_evidence": {
                "type": "object",
                "properties": {
                  "source_url": {
                    "type": "string"
                  },
                  "locator": {
                    "type": "string"
                  },
                  "note": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  }
                },
                "required": [
                  "source_url",
                  "locator",
                  "note",
                  "status"
                ],
                "additionalProperties": {}
              },
              "quota_evidence": {
                "anyOf": [
                  {
                    "type": "object",
                    "properties": {
                      "source_url": {
                        "type": "string"
                      },
                      "locator": {
                        "type": "string"
                      },
                      "note": {
                        "type": "string"
                      },
                      "status": {
                        "type": "string"
                      }
                    },
                    "required": [
                      "source_url",
                      "locator",
                      "note",
                      "status"
                    ],
                    "additionalProperties": {}
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "capture_evidence": {
                "type": "object",
                "properties": {
                  "source_url": {
                    "type": "string"
                  },
                  "locator": {
                    "type": "string"
                  },
                  "note": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  }
                },
                "required": [
                  "source_url",
                  "locator",
                  "note",
                  "status"
                ],
                "additionalProperties": {}
              },
              "agent_evidence": {
                "type": "object",
                "properties": {
                  "source_url": {
                    "type": "string"
                  },
                  "locator": {
                    "type": "string"
                  },
                  "note": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  }
                },
                "required": [
                  "source_url",
                  "locator",
                  "note",
                  "status"
                ],
                "additionalProperties": {}
              },
              "is_grabbit": {
                "type": "boolean"
              }
            },
            "required": [
              "name",
              "plan",
              "per_grab",
              "billing",
              "billing_unit",
              "quota_note",
              "included",
              "unused_credits",
              "features_supported",
              "agent_install",
              "source_url",
              "verified_on",
              "evidence_status",
              "pricing_evidence",
              "quota_evidence",
              "capture_evidence",
              "agent_evidence",
              "is_grabbit"
            ],
            "additionalProperties": {}
          }
        },
        "decision_pages": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "competitor": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "verdict": {
                "type": "string"
              },
              "pricing_tiers": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "name"
                  ],
                  "additionalProperties": {}
                }
              },
              "capture_capabilities": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              },
              "best_fit": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": [
              "competitor",
              "url",
              "verdict",
              "pricing_tiers",
              "capture_capabilities",
              "best_fit"
            ],
            "additionalProperties": {}
          }
        },
        "agent_surfaces": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "provider": {
                "type": "string"
              },
              "comparison_url": {
                "type": "string"
              },
              "surfaces": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "string"
                    },
                    "availability": {
                      "type": "string"
                    },
                    "grabbit_availability": {
                      "type": "string"
                    },
                    "source_url": {
                      "type": "string"
                    },
                    "verified_on": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "name",
                    "availability",
                    "grabbit_availability",
                    "source_url",
                    "verified_on"
                  ],
                  "additionalProperties": {}
                }
              }
            },
            "required": [
              "provider",
              "comparison_url",
              "surfaces"
            ],
            "additionalProperties": {}
          }
        },
        "sources": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "label": {
                "type": "string"
              },
              "url": {
                "type": "string"
              },
              "locator": {
                "type": "string"
              },
              "claim_group": {
                "type": "string"
              },
              "verified_on": {
                "type": "string"
              },
              "note": {
                "type": "string"
              },
              "evidence_status": {
                "type": "string"
              }
            },
            "required": [
              "label",
              "url",
              "locator",
              "claim_group",
              "verified_on",
              "note",
              "evidence_status"
            ],
            "additionalProperties": {}
          }
        },
        "notes": {
          "type": "string"
        }
      },
      "required": [
        "schema_version",
        "last_verified",
        "features",
        "providers",
        "decision_pages",
        "agent_surfaces",
        "notes"
      ],
      "additionalProperties": {}
    },
    "links": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {
        "type": "string"
      }
    }
  },
  "required": [
    "pricing",
    "comparison",
    "links"
  ],
  "additionalProperties": {}
}