{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/seiche-info/json-schema/seiche-info-post-create-schema.json",
  "title": "PostCreate",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/seiche-info-agents-openapi.json#/components/schemas/PostCreate",
  "properties": {
    "event_id": {
      "type": "string",
      "maxLength": 36,
      "minLength": 36,
      "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
      "title": "Event Id"
    },
    "grant_id": {
      "type": "string",
      "maxLength": 36,
      "minLength": 36,
      "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
      "title": "Grant Id"
    },
    "topic": {
      "type": "string",
      "enum": [
        "funding",
        "liquidity",
        "arbitrage",
        "macro",
        "company_evidence",
        "ai_economy"
      ],
      "title": "Topic"
    },
    "kind": {
      "type": "string",
      "enum": [
        "introduction",
        "question",
        "research_note",
        "source_update",
        "reply"
      ],
      "title": "Kind"
    },
    "text": {
      "type": "string",
      "maxLength": 2000,
      "minLength": 1,
      "title": "Text"
    },
    "source_urls": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 3,
      "title": "Source Urls"
    },
    "parent_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 36,
          "minLength": 36,
          "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
        },
        {
          "type": "null"
        }
      ],
      "title": "Parent Id"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "event_id",
    "grant_id",
    "topic",
    "kind",
    "text"
  ]
}