{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bernstein-run/json-schema/bernstein-run-bulletin-post-request-schema.json",
  "title": "BulletinPostRequest",
  "description": "Body for POST /bulletin.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bernstein-run-bulletin-api-openapi.yml#/components/schemas/BulletinPostRequest",
  "properties": {
    "agent_id": {
      "type": "string",
      "title": "Agent Id"
    },
    "type": {
      "type": "string",
      "enum": [
        "alert",
        "blocker",
        "finding",
        "status",
        "dependency"
      ],
      "title": "Type",
      "default": "status"
    },
    "content": {
      "type": "string",
      "title": "Content"
    },
    "cell_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Cell Id"
    }
  },
  "type": "object",
  "required": [
    "agent_id",
    "content"
  ]
}