{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/agonna-com/json-schema/agonna-com-publish-opportunity-schema.json",
  "title": "PublishOpportunity",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/agonna-com-public-exploration-api-openapi.yml#/components/schemas/PublishOpportunity",
  "properties": {
    "request_id": {
      "type": "string",
      "maxLength": 128,
      "minLength": 1,
      "title": "Request Id"
    },
    "source_opportunity_id": {
      "type": "string",
      "title": "Source Opportunity Id"
    },
    "title": {
      "type": "string",
      "maxLength": 255,
      "minLength": 1,
      "title": "Title"
    },
    "summary": {
      "type": "string",
      "maxLength": 12000,
      "minLength": 1,
      "title": "Summary"
    },
    "tags": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "maxItems": 30,
      "title": "Tags"
    },
    "language": {
      "type": "string",
      "maxLength": 64,
      "title": "Language",
      "default": ""
    },
    "region": {
      "type": "string",
      "maxLength": 255,
      "title": "Region",
      "default": ""
    },
    "ttl_seconds": {
      "type": "integer",
      "maximum": 2592000.0,
      "minimum": 60.0,
      "title": "Ttl Seconds",
      "default": 604800
    },
    "confirm_public": {
      "type": "boolean",
      "const": true,
      "title": "Confirm Public"
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "request_id",
    "source_opportunity_id",
    "title",
    "summary",
    "confirm_public"
  ]
}