This repository was archived by the owner on Oct 3, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathannouncement-entry-response.jtd.yml
More file actions
65 lines (63 loc) · 1.98 KB
/
announcement-entry-response.jtd.yml
File metadata and controls
65 lines (63 loc) · 1.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
metadata:
git-commit: b662fa67ec3e77eb684b084e067969fa83bf1ac9
definitions:
AnnouncementEntry:
metadata:
description: "`getAnnouncements()` 回傳的公告資訊"
properties:
category:
metadata:
description: 公告類別
type: string
title:
metadata:
description: 公告標題
type: string
href:
metadata:
description: 公告連結
type: string
date:
metadata:
description: 公告日期
type: string
external:
metadata:
description: |-
是否為外部連結
如果連到外部連結,則不建立公告完整資料,
取用者可以直接將使用者導向 `href` 的連結。
type: boolean
content:
metadata:
description: |-
公告內容
已經使用 `sanitize-html` 清理及 `minify-html` 壓縮內容。
type: string
nullable: true
attachments:
metadata:
description: 公告附件清單
elements:
ref: AnnouncementAttachment
AnnouncementAttachment:
metadata:
description: 公告附件資料
properties:
name:
metadata:
description: 附件名稱
type: string
href:
metadata:
description: 附件連結
type: string
properties:
updateAt:
metadata:
description: 更新時間
type: timestamp
data:
metadata:
description: 公告資料
ref: AnnouncementEntry