{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/payapi-market/json-schema/payapi-market-submit-listing-request-schema.json",
  "title": "SubmitListingRequest",
  "description": "contact_email plus url, paid_route_url, or urls. Every other field is optional and is read from the HTTP 402 when omitted.",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/payapi-market-openapi.json#/components/schemas/SubmitListingRequest",
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "description": "One https route that returns HTTP 402."
    },
    "paid_route_url": {
      "type": "string",
      "format": "uri",
      "description": "Same as url."
    },
    "urls": {
      "type": "array",
      "maxItems": 20,
      "items": {
        "type": "string",
        "format": "uri"
      },
      "description": "Up to 20 paid routes. A url or paid_route_url sent with this array is included once."
    },
    "contact_email": {
      "type": "string",
      "format": "email"
    },
    "email": {
      "type": "string",
      "format": "email",
      "description": "Same as contact_email."
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "price": {
      "type": "number",
      "description": "USDC per request. Read from the Base accept when omitted."
    },
    "payTo": {
      "type": "string",
      "description": "Base wallet. Read from the 402 when omitted."
    },
    "category": {
      "type": "string",
      "enum": [
        "Data",
        "Verification",
        "Intelligence",
        "Tools",
        "Finance"
      ],
      "description": "Defaults to Data."
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "POST"
      ]
    },
    "sample_input": {
      "type": "string",
      "description": "Example query string or JSON body. Read from the 402 when omitted."
    }
  },
  "required": [
    "contact_email"
  ]
}