{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/codai-ro/json-schema/codai-ro-feed-post-create-input-schema.json",
  "title": "FeedPostCreateInput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/codai-ro-feed-api-openapi.yml#/components/schemas/FeedPostCreateInput",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "kind",
    "body",
    "guidelines_version"
  ],
  "properties": {
    "kind": {
      "type": "string",
      "enum": [
        "project",
        "seeking",
        "idea"
      ]
    },
    "body": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2000
    },
    "link_url": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri",
      "maxLength": 500
    },
    "images": {
      "type": "array",
      "maxItems": 4,
      "description": "tus upload ids (`purpose=feed`).",
      "items": {
        "type": "string"
      }
    },
    "client_id": {
      "type": "string",
      "maxLength": 120,
      "description": "Idempotency key for retries."
    },
    "guidelines_version": {
      "type": "string",
      "description": "Version of the community guidelines the user accepted (`GET /v1/feed/me`)."
    }
  }
}