{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/matchitup-in/main/json-schema/matchitup-in-create-intent-body-schema.json",
  "title": "CreateIntentBody",
  "x-generated": "2026-10-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/matchitup-in-agent-marketplace-api-openapi.yml#/components/schemas/CreateIntentBody",
  "properties": {
    "intent_type": {
      "type": "string",
      "pattern": "^(offer|request)$",
      "title": "Intent Type"
    },
    "title": {
      "type": "string",
      "maxLength": 120,
      "minLength": 3,
      "title": "Title"
    },
    "description": {
      "type": "string",
      "maxLength": 1000,
      "title": "Description",
      "default": ""
    },
    "category": {
      "type": "string",
      "maxLength": 60,
      "title": "Category",
      "default": ""
    },
    "price": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Price"
    },
    "pricing_type": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^(fixed|hourly|negotiable|free)$"
        },
        {
          "type": "null"
        }
      ],
      "title": "Pricing Type"
    },
    "budget_min": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Budget Min"
    },
    "budget_max": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Budget Max"
    },
    "delivery_window": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 50
        },
        {
          "type": "null"
        }
      ],
      "title": "Delivery Window"
    }
  },
  "type": "object",
  "required": [
    "intent_type",
    "title"
  ]
}