{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nitrino-ai/json-schema/nitrino-ai-post-api-v1-sources-request-schema.json",
  "title": "PostApiV1SourcesRequest",
  "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/PostApiV1SourcesRequest",
  "type": "object",
  "properties": {
    "agent": {
      "type": "string",
      "description": "Agent id: its rules and knowledge"
    },
    "company": {
      "type": "string",
      "description": "Company id: what agents say about it"
    },
    "field": {
      "type": "string",
      "description": "rules or knowledge for an agent and the house rules, pitch for a company"
    },
    "link": {
      "type": "string",
      "description": "An http or https address"
    },
    "note": {
      "type": "string",
      "description": "Text written by a person"
    },
    "file": {
      "type": "object",
      "description": "name and content in base64: xlsx, csv, pdf, docx, txt or md, up to three megabytes"
    }
  }
}