mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 05:40:11 +01:00
Add more fields to rolie entry.
This commit is contained in:
parent
d6bac95e45
commit
9a37a8ecfa
1 changed files with 16 additions and 9 deletions
|
|
@ -169,15 +169,22 @@ type Format struct {
|
||||||
|
|
||||||
// Entry for ROLIE.
|
// Entry for ROLIE.
|
||||||
type Entry struct {
|
type Entry struct {
|
||||||
ID string `json:"id"`
|
Base *string `json:"base,omitempty"`
|
||||||
Titel string `json:"title"`
|
LanguageTag *string `json:"lang,omitempty"`
|
||||||
Link []Link `json:"link"`
|
Author *json.RawMessage `json:"author,omitempty"`
|
||||||
Published TimeStamp `json:"published"`
|
Category []ROLIECategory `json:"category,omitempty"`
|
||||||
Updated TimeStamp `json:"updated"`
|
Content Content `json:"content"`
|
||||||
Summary *Summary `json:"summary,omitempty"`
|
Contributor *json.RawMessage `json:"contibutor,omitempty"`
|
||||||
Content Content `json:"content"`
|
ID string `json:"id"`
|
||||||
Format Format `json:"format"`
|
Link []Link `json:"link"`
|
||||||
Category []ROLIECategory `json:"category,omitempty"`
|
Published TimeStamp `json:"published"`
|
||||||
|
Rights *json.RawMessage `json:"rights,omitempty"`
|
||||||
|
Source *json.RawMessage `json:"source,omitempty"`
|
||||||
|
Summary *Summary `json:"summary,omitempty"`
|
||||||
|
Titel string `json:"title"`
|
||||||
|
Updated TimeStamp `json:"updated"`
|
||||||
|
Format Format `json:"format"`
|
||||||
|
Property *json.RawMessage `json:"property,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// FeedData is the content of the ROLIE feed.
|
// FeedData is the content of the ROLIE feed.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue