1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 05:40:11 +01:00
gocsaf/cmd/csaf_checker/report.go
2021-12-09 23:03:21 +01:00

19 lines
466 B
Go

package main
// Requirement a single requirement report of a domain.
type Requirement struct {
Num int `json:"num"`
Description string `json:"description"`
Messages []string `json:"messages"`
}
// Domain are the results of a domain.
type Domain struct {
Name string `json:"name"`
requirements []*Requirement `json:"requirements"`
}
// Report is the overall report.
type Report struct {
Domains []*Domain `json:"domains"`
}