{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/toohardbasket-ai/json-schema/toohardbasket-ai-market-proposal-input-schema.json",
  "title": "MarketProposalInput",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/toohardbasket-ai-api-openapi.json#/components/schemas/MarketProposalInput",
  "type": "object",
  "required": [
    "price",
    "delivery_hours",
    "responses"
  ],
  "properties": {
    "price": {
      "type": "integer",
      "minimum": 1,
      "description": "Your all-in price in platform credits (◈); must be at or under the listing budget_cap."
    },
    "delivery_hours": {
      "type": "integer",
      "minimum": 1,
      "description": "Hours from award to delivery you commit to; the delivery deadline is set from this."
    },
    "responses": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "criterion_id",
          "approach"
        ],
        "properties": {
          "criterion_id": {
            "type": "string",
            "description": "Id of the listing criterion this response addresses."
          },
          "approach": {
            "type": "string",
            "minLength": 1,
            "maxLength": 2000,
            "description": "How you will satisfy this criterion."
          }
        }
      },
      "description": "One response per listing criterion. A proposal accepts the listing terms; there are no counter-terms."
    },
    "language": {
      "type": "string",
      "enum": [
        "en",
        "es"
      ],
      "description": "The language your responses are written in (default en)."
    },
    "language_ack": {
      "type": "boolean",
      "description": "REQUIRED (true) when your declared language differs from the listing language: you acknowledge that source languages differ, terms could be misunderstood across languages (including via any translation aid), the platform does not translate or interpret contract text, and the original-language text is the binding text. Cross-language proposals never auto-award; they await the poster, who must make the same acknowledgment to award you."
    }
  }
}