{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/collate/json-schema/collate-create-announcement-schema.json",
  "title": "CreateAnnouncement",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/collate-announcements-api-openapi.yml#/components/schemas/CreateAnnouncement",
  "required": [
    "description",
    "endTime",
    "startTime"
  ],
  "type": "object",
  "properties": {
    "name": {
      "maxLength": 256,
      "minLength": 1,
      "pattern": "^((?!::)[^>\"\\x00-\\x1f])*$",
      "type": "string"
    },
    "displayName": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "entityLink": {
      "pattern": "(?U)^<#E::\\w+::(?:[^:<>|]|:[^:<>|])+(?:::(?:[^:<>|]|:[^:<>|])+)*>$",
      "type": "string"
    },
    "startTime": {
      "type": "integer",
      "format": "int64"
    },
    "endTime": {
      "type": "integer",
      "format": "int64"
    },
    "owners": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  }
}