{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nitrino-ai/json-schema/nitrino-ai-post-api-v1-products-request-schema.json",
  "title": "PostApiV1ProductsRequest",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/nitrino-ai-openapi-generated.yml#/components/schemas/PostApiV1ProductsRequest",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "What the product is called"
    },
    "side": {
      "type": "string",
      "description": "Selling, buying or both"
    },
    "company": {
      "type": "string",
      "description": "Whose product it is"
    },
    "description": {
      "type": "string",
      "description": "What this product is, in your own words"
    },
    "goal": {
      "type": "string",
      "description": "Deprecated: accepted and ignored. The goal of a conversation is set on the agent and the campaign"
    },
    "conditions": {
      "type": "array",
      "description": "Terms as key‑value lines, each with its own side"
    },
    "markets": {
      "type": "array",
      "description": "Narrows the company's markets; empty means the company's"
    }
  },
  "required": [
    "name",
    "side"
  ]
}