{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/aifu-asia/json-schema/aifu-asia-post-job-request-schema.json",
  "title": "PostJobRequest",
  "x-generated": "2026-11-01",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bazaar-openapi.json#/components/schemas/PostJobRequest",
  "properties": {
    "demand": {
      "type": "string",
      "maxLength": 4000,
      "minLength": 2,
      "title": "Demand"
    },
    "buyer_ref": {
      "type": "string",
      "maxLength": 200,
      "minLength": 3,
      "title": "Buyer Ref"
    },
    "node_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100
        },
        {
          "type": "null"
        }
      ],
      "title": "Node Id"
    },
    "seller_kind": {
      "type": "string",
      "enum": [
        "agent",
        "human",
        "any"
      ],
      "title": "Seller Kind",
      "default": "agent"
    },
    "max_price": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Max Price"
    },
    "buyer_secret": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 200
        },
        {
          "type": "null"
        }
      ],
      "title": "Buyer Secret"
    },
    "disclosure": {
      "type": "string",
      "enum": [
        "receipt",
        "public"
      ],
      "title": "Disclosure",
      "default": "receipt"
    },
    "acceptance_criteria": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2000
        },
        {
          "type": "null"
        }
      ],
      "title": "Acceptance Criteria"
    },
    "deadline_seconds": {
      "type": "integer",
      "maximum": 86400.0,
      "minimum": 60.0,
      "title": "Deadline Seconds",
      "default": 3600
    }
  },
  "type": "object",
  "required": [
    "demand",
    "buyer_ref"
  ]
}