17 lines
448 B
Go
17 lines
448 B
Go
package npcoccurrences
|
|
|
|
type extractionResponse struct {
|
|
Occurrences []occurrenceResponse `json:"occurrences"`
|
|
}
|
|
|
|
type occurrenceResponse struct {
|
|
Name string `json:"name"`
|
|
Kind string `json:"kind"`
|
|
SourceRefs []occurrenceSourceRefResponse `json:"source_refs"`
|
|
}
|
|
|
|
type occurrenceSourceRefResponse struct {
|
|
StartUnitID int `json:"start_unit_id"`
|
|
EndUnitID int `json:"end_unit_id"`
|
|
}
|