diff options
Diffstat (limited to 'skate/schema.go')
-rw-r--r-- | skate/schema.go | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/skate/schema.go b/skate/schema.go index c2107e4..db94f4a 100644 --- a/skate/schema.go +++ b/skate/schema.go @@ -167,8 +167,18 @@ func ParseIsbn(s string) []string { // Extra field gets a section for "skate" for conversion related values. type Release struct { ContainerID string `json:"container_id,omitempty"` - ContainerName string `json:"container_name,omitempty"` - Contribs []struct { + ContainerName string `json:"container_name,omitempty"` // when not resolved + Container struct { + ContainerType string `json:"container_type"` + Ident string `json:"ident"` + Issnl string `json:"issnl"` + Name string `json:"name"` + Publisher string `json:"publisher"` + Revision string `json:"revision"` + State string `json:"state"` + WikidataQid string `json:"wikidata_qid"` + } `json:"container"` + Contribs []struct { Index int `json:"index,omitempty"` RawName string `json:"raw_name,omitempty"` Role string `json:"role,omitempty"` |