{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rigorloop-com/json-schema/rigorloop-com-agent-claim-submission-response-schema.json",
  "title": "AgentClaimSubmissionResponse",
  "x-generated": "2026-11-23",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rigorloop-com-openapi.json#/components/schemas/AgentClaimSubmissionResponse",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "data"
  ],
  "properties": {
    "data": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "claimId",
        "status",
        "claimUrl",
        "statusUrl",
        "checkoutUrl",
        "fundingUrl",
        "payment",
        "quote"
      ],
      "properties": {
        "claimId": {
          "type": "string",
          "format": "uuid"
        },
        "status": {
          "type": "string",
          "enum": [
            "requires_payment",
            "funded"
          ]
        },
        "claimUrl": {
          "type": "string",
          "format": "uri"
        },
        "statusUrl": {
          "type": "string",
          "format": "uri"
        },
        "checkoutUrl": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        },
        "fundingUrl": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        },
        "payment": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "provider",
            "network",
            "asset",
            "mode",
            "x402"
          ],
          "properties": {
            "provider": {
              "type": "string",
              "enum": [
                "stripe",
                "coinbase_cdp"
              ]
            },
            "network": {
              "type": "string",
              "const": "Base"
            },
            "asset": {
              "type": "string",
              "const": "USDC"
            },
            "mode": {
              "type": "string",
              "enum": [
                "hosted_checkout",
                "headless_x402_v2"
              ]
            },
            "x402": {
              "type": "boolean"
            }
          }
        },
        "quote": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "currency",
            "bountyAmountCents",
            "rigorLoopFeeCents",
            "processingFeeCents",
            "totalAmountCents",
            "pricingVersion"
          ],
          "properties": {
            "currency": {
              "type": "string",
              "const": "USD"
            },
            "bountyAmountCents": {
              "type": "integer",
              "minimum": 25000
            },
            "rigorLoopFeeCents": {
              "type": "integer",
              "minimum": 2500
            },
            "processingFeeCents": {
              "type": "integer",
              "minimum": 0
            },
            "totalAmountCents": {
              "type": "integer",
              "minimum": 1,
              "maximum": 5500000
            },
            "pricingVersion": {
              "type": "string",
              "enum": [
                "poster_10pct_usdc_v1",
                "poster_10pct_x402_v1"
              ]
            }
          }
        }
      }
    }
  }
}