<commit_before>package caa

// CoverArtInfo is the unmarshaled representation of a JSON file in the Cover Art Archive.
// See https://musicbrainz.org/doc/Cover_Art_Archive/API#Cover_Art_Archive_Metadata for an example.
type CoverArtInfo struct {
	Images  []CoverArtImageInfo
	Release string
}

// CoverArtImageInfo is the unmarshaled representation of a single images metadata in a CAA JSON file.
// See https://musicbrainz.org/doc/Cover_Art_Archive/API#Cover_Art_Archive_Metadata for an example.
type CoverArtImageInfo struct {
	Types      []string
	Front      bool
	Back       bool
	Comment    string
	Image      string
	Thumbnails thumbnailMap
	Approved   bool
	Edit       int
}

// CoverArtImage is a wrapper around an image from the CAA, containing its binary data and mimetype information.<commit_msg>Add the `id` field<commit_after>package caa

// CoverArtInfo is the unmarshaled representation of a JSON file in the Cover Art Archive.
// See https://musicbrainz.org/doc/Cover_Art_Archive/API#Cover_Art_Archive_Metadata for an example.
type CoverArtInfo struct {
	Images  []CoverArtImageInfo
	Release string
}

// CoverArtImageInfo is the unmarshaled representation of a single images metadata in a CAA JSON file.
// See https://musicbrainz.org/doc/Cover_Art_Archive/API#Cover_Art_Archive_Metadata for an example.
type CoverArtImageInfo struct {
	Types      []string
	Front      bool
	Back       bool
	Comment    string
	Image      string
	Thumbnails thumbnailMap
	Approved   bool
	Edit       int
	Id         string
}

// CoverArtImage is a wrapper around an image from the CAA, containing its binary data and mimetype information.
{'fraction_non_alphanumeric': 0.05372405372405373, 'fraction_numerical': 0.0, 'mean_word_length': 3.7507246376811594, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3965896', 'n_tokens_mistral': 496, 'n_tokens_neox': 461, 'n_words': 172}