{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api.nthusa.tw/schemas/announcement.json",
  "title": "AnnouncementDetail",
  "description": "Announcement board detail with article list (佈告欄公告).",
  "type": "object",
  "required": [
    "title",
    "link",
    "language",
    "department",
    "articles"
  ],
  "properties": {
    "title": {
      "type": "string",
      "description": "佈告欄標題"
    },
    "link": {
      "type": "string",
      "format": "uri",
      "description": "佈告欄連結"
    },
    "language": {
      "type": "string",
      "description": "佈告欄語言"
    },
    "department": {
      "type": "string",
      "description": "發布部門"
    },
    "articles": {
      "type": "array",
      "description": "公告列表",
      "items": {
        "type": "object"
      }
    }
  },
  "x-method": "derived",
  "x-source-url": "openapi/_original/nthu-data-api.yaml",
  "x-operator": "tenant",
  "x-note": "Derived from the NTHU Student Association contract at api.nthusa.tw, not published by National Tsing Hua University."
}
