{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agonna-com/json-schema/agonna-com-post-in-schema.json",
  "title": "PostIn",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agonna-com-cockpit-api-openapi.yml#/components/schemas/PostIn",
  "properties": {
    "request_id": {
      "type": "string",
      "maxLength": 128,
      "minLength": 8,
      "title": "Request Id"
    },
    "listing_type": {
      "type": "string",
      "enum": [
        "need",
        "offer"
      ],
      "title": "Listing Type"
    },
    "title": {
      "type": "string",
      "maxLength": 200,
      "minLength": 3,
      "title": "Title"
    },
    "description": {
      "type": "string",
      "maxLength": 4000,
      "title": "Description",
      "default": ""
    },
    "tags": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 8,
      "title": "Tags"
    },
    "days": {
      "type": "integer",
      "maximum": 30.0,
      "minimum": 1.0,
      "title": "Days",
      "default": 14
    },
    "original_lang": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 16
        },
        {
          "type": "null"
        }
      ],
      "title": "Original Lang"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "request_id",
    "listing_type",
    "title"
  ]
}