ddex

package
v0.0.0-...-d15c49a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2020 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DDEX

type DDEX struct {
	MessageHeader MessageHeader
}

DDEX ..

type Deal

type Deal struct {
	Text      string    `xml:",chardata" json:"-"`
	DealTerms DealTerms `xml:"DealTerms"`
}

type DealList

type DealList struct {
	Text        string        `xml:",chardata" json:"-"`
	ReleaseDeal []ReleaseDeal `xml:"ReleaseDeal"`
}

type DealTerms

type DealTerms struct {
	Text                string `xml:",chardata" json:"-"`
	CommercialModelType string `xml:"CommercialModelType"`
	Usage               Usage  `xml:"Usage"`
	TerritoryCode       struct {
		Text           string `xml:",chardata" json:"-"`
		IdentifierType string `xml:"IdentifierType,attr"`
	} `xml:"TerritoryCode"`
	ValidityPeriod struct {
		Text      string `xml:",chardata" json:"-"`
		StartDate string `xml:"StartDate"`
	} `xml:"ValidityPeriod"`
	TakenDown string `xml:"TakenDown"`
}

type DisplayArtist

type DisplayArtist struct {
	Text           string    `xml:",chardata" json:"-"`
	SequenceNumber string    `xml:"SequenceNumber,attr"`
	PartyName      PartyName `xml:"PartyName"`
	ArtistRole     []string  `xml:"ArtistRole"`
}

type File

type File struct {
	Text    string `xml:",chardata" json:"-"`
	URL     string `xml:"URL"`
	HashSum struct {
		Text                 string `xml:",chardata" json:"-"`
		HashSum              string `xml:"HashSum"`
		HashSumAlgorithmType string `xml:"HashSumAlgorithmType"`
	} `xml:"HashSum"`
}

type Genre

type Genre struct {
	Text      string `xml:",chardata" json:"-"`
	GenreText string `xml:"GenreText"`
}

type Image

type Image struct {
	Text                    string                  `xml:",chardata" json:"-"`
	ImageType               string                  `xml:"ImageType"`
	ImageId                 ImageId                 `xml:"ImageId"`
	ResourceReference       string                  `xml:"ResourceReference"`
	ImageDetailsByTerritory ImageDetailsByTerritory `xml:"ImageDetailsByTerritory"`
}

type ImageDetailsByTerritory

type ImageDetailsByTerritory struct {
	Text                  string                `xml:",chardata" json:"-"`
	TerritoryCode         string                `xml:"TerritoryCode"`
	TechnicalImageDetails TechnicalImageDetails `xml:"TechnicalImageDetails"`
}

type ImageId

type ImageId struct {
	Text          string `xml:",chardata" json:"-"`
	ProprietaryId struct {
		Text      string `xml:",chardata"`
		Namespace string `xml:"Namespace,attr"`
	} `xml:"ProprietaryId"`
}

type LabelName

type LabelName struct {
	Text          string `xml:",chardata",json:"-"`
	LabelNameType string `xml:"LabelNameType,attr"`
}

type MessageHeader

type MessageHeader struct {
	Text                   string           `xml:",chardata" json:"-"`
	MessageThreadId        string           `xml:"MessageThreadId"`
	MessageId              string           `xml:"MessageId"`
	MessageSender          MessageSender    `xml:"MessageSender"`
	MessageRecipient       MessageRecipient `xml:"MessageRecipient"`
	MessageCreatedDateTime string           `xml:"MessageCreatedDateTime"`
	MessageControlType     string           `xml:"MessageControlType"`
}

type MessageRecipient

type MessageRecipient struct {
	Text      string    `xml:",chardata" json:"-"`
	PartyId   string    `xml:"PartyId"`
	PartyName PartyName `xml:"PartyName"`
}

type MessageSender

type MessageSender struct {
	Text      string    `xml:",chardata" json:"-"`
	PartyId   string    `xml:"PartyId"`
	PartyName PartyName `xml:"PartyName"`
}

type NewReleaseMessage

type NewReleaseMessage struct {
	XMLName                xml.Name      `xml:"NewReleaseMessage"`
	Text                   string        `xml:",chardata"`
	Ernm                   string        `xml:"ernm,attr"`
	Xs                     string        `xml:"xs,attr"`
	LanguageAndScriptCode  string        `xml:"LanguageAndScriptCode,attr"`
	MessageSchemaVersionId string        `xml:"MessageSchemaVersionId,attr"`
	SchemaLocation         string        `xml:"schemaLocation,attr"`
	MessageHeader          MessageHeader `xml:"MessageHeader"`
	UpdateIndicator        string        `xml:"UpdateIndicator"`
	ResourceList           ResourceList  `xml:"ResourceList"`
	ReleaseList            ReleaseList   `xml:"ReleaseList"`
	DealList               DealList      `xml:"DealList"`
}

NewReleaseMessage ...

type PLine

type PLine struct {
	Text      string `xml:",chardata" json:"-"`
	Year      string `xml:"Year"`
	PLineText string `xml:"PLineText"`
}

type PartyName

type PartyName struct {
	Text                  string `xml:",chardata" json:"-"`
	LanguageAndScriptCode string `xml:"LanguageAndScriptCode,attr"`
	FullName              string `xml:"FullName"`
}

type ReferenceTitle

type ReferenceTitle struct {
	Text                  string `xml:",chardata" json:"-"`
	LanguageAndScriptCode string `xml:"LanguageAndScriptCode,attr"`
	TitleText             string `xml:"TitleText"`
}

type Release

type Release struct {
	Text                         string                       `xml:",chardata" json:"-"`
	IsMainRelease                string                       `xml:"IsMainRelease,attr"`
	ReleaseId                    ReleaseId                    `xml:"ReleaseId"`
	ReleaseReference             string                       `xml:"ReleaseReference"`
	ReferenceTitle               ReferenceTitle               `xml:"ReferenceTitle"`
	ReleaseResourceReferenceList ReleaseResourceReferenceList `xml:"ReleaseResourceReferenceList"`
	ReleaseType                  string                       `xml:"ReleaseType"`
	ReleaseDetailsByTerritory    ReleaseDetailsByTerritory    `xml:"ReleaseDetailsByTerritory"`
	Duration                     string                       `xml:"Duration"`
	PLine                        PLine                        `xml:"PLine"`
	GlobalOriginalReleaseDate    string                       `xml:"GlobalOriginalReleaseDate"`
}

type ReleaseDeal

type ReleaseDeal struct {
	Text                 string   `xml:",chardata" json:"-"`
	DealReleaseReference []string `xml:"DealReleaseReference"`
	Deal                 []Deal   `xml:"Deal"`
}

type ReleaseDetailsByTerritory

type ReleaseDetailsByTerritory struct {
	Text                string        `xml:",chardata" json:"-"`
	TerritoryCode       string        `xml:"TerritoryCode"`
	DisplayArtistName   string        `xml:"DisplayArtistName"`
	LabelName           LabelName     `xml:"LabelName"`
	Title               []Title       `xml:"Title"`
	DisplayArtist       DisplayArtist `xml:"DisplayArtist"`
	ParentalWarningType string        `xml:"ParentalWarningType"`
	ResourceGroup       struct {
		Text                     string                   `xml:",chardata" json:"-"`
		ResourceGroup            ResourceGroup            `xml:"ResourceGroup"`
		ResourceGroupContentItem ResourceGroupContentItem `xml:"ResourceGroupContentItem"`
	} `xml:"ResourceGroup"`
	Genre Genre `xml:"Genre"`
}

type ReleaseId

type ReleaseId struct {
	Text          string `xml:",chardata" json:"-"`
	GRid          string `xml:"GRid"`
	ICPN          string `xml:"ICPN"`
	CatalogNumber struct {
		Text      string `xml:",chardata"`
		Namespace string `xml:"Namespace,attr"`
	} `xml:"CatalogNumber"`
	ISRC string `xml:"ISRC"`
}

type ReleaseList

type ReleaseList struct {
	Text    string    `xml:",chardata",json:"-"`
	Release []Release `xml:"Release"`
}

type ReleaseResourceReference

type ReleaseResourceReference struct {
	Text                string `xml:",chardata" json:"-"`
	ReleaseResourceType string `xml:"ReleaseResourceType,attr"`
}

type ReleaseResourceReferenceList

type ReleaseResourceReferenceList struct {
	Text                     string                     `xml:",chardata" json:"-"`
	ReleaseResourceReference []ReleaseResourceReference `xml:"ReleaseResourceReference"`
}

type ResourceContributor

type ResourceContributor struct {
	Text                    string                    `xml:",chardata" json:"-"`
	SequenceNumber          string                    `xml:"SequenceNumber,attr"`
	PartyName               []PartyName               `xml:"PartyName"`
	ResourceContributorRole []ResourceContributorRole `xml:"ResourceContributorRole"`
}

type ResourceContributorRole

type ResourceContributorRole struct {
	Text             string `xml:",chardata" json:"-"`
	Namespace        string `xml:"Namespace,attr"`
	UserDefinedValue string `xml:"UserDefinedValue,attr"`
}

type ResourceGroup

type ResourceGroup struct {
	Text                     string                     `xml:",chardata" json:"-"`
	Title                    Title                      `xml:"Title"`
	SequenceNumber           string                     `xml:"SequenceNumber"`
	ResourceGroupContentItem []ResourceGroupContentItem `xml:"ResourceGroupContentItem"`
}

type ResourceGroupContentItem

type ResourceGroupContentItem struct {
	Text                     string                   `xml:",chardata" json:"-"`
	SequenceNumber           string                   `xml:"SequenceNumber"`
	ResourceType             string                   `xml:"ResourceType"`
	ReleaseResourceReference ReleaseResourceReference `xml:"ReleaseResourceReference"`
}

type ResourceList

type ResourceList struct {
	Text           string           `xml:",chardata" json:"-"`
	SoundRecording []SoundRecording `xml:"SoundRecording"`
	Image          Image            `xml:"Image"`
}

type SoundRecording

type SoundRecording struct {
	Text                             string                           `xml:",chardata" json:"-"`
	SoundRecordingType               string                           `xml:"SoundRecordingType"`
	SoundRecordingId                 SoundRecordingId                 `xml:"SoundRecordingId"`
	ResourceReference                string                           `xml:"ResourceReference"`
	ReferenceTitle                   ReferenceTitle                   `xml:"ReferenceTitle"`
	LanguageOfPerformance            string                           `xml:"LanguageOfPerformance"`
	Duration                         string                           `xml:"Duration"`
	SoundRecordingDetailsByTerritory SoundRecordingDetailsByTerritory `xml:"SoundRecordingDetailsByTerritory"`
}

type SoundRecordingDetailsByTerritory

type SoundRecordingDetailsByTerritory struct {
	Text                string                `xml:",chardata" json:"-"`
	TerritoryCode       string                `xml:"TerritoryCode"`
	Title               []Title               `xml:"Title"`
	DisplayArtist       DisplayArtist         `xml:"DisplayArtist"`
	ResourceContributor []ResourceContributor `xml:"ResourceContributor"`
	DisplayArtistName   string                `xml:"DisplayArtistName"`
	LabelName           LabelName             `xml:"LabelName"`
	PLine               PLine                 `xml:"PLine"`
	Genre               Genre                 `xml:"Genre"`
	ParentalWarningType string                `xml:"ParentalWarningType"`
}

type SoundRecordingId

type SoundRecordingId struct {
	Text string `xml:",chardata",json:"-"`
	ISRC string `xml:"ISRC"`
}

type TechnicalImageDetails

type TechnicalImageDetails struct {
	Text                              string `xml:",chardata" json:"-"`
	TechnicalResourceDetailsReference string `xml:"TechnicalResourceDetailsReference"`
	ImageCodecType                    string `xml:"ImageCodecType"`
	ImageHeight                       string `xml:"ImageHeight"`
	ImageWidth                        string `xml:"ImageWidth"`
	ImageResolution                   string `xml:"ImageResolution"`
	IsPreview                         string `xml:"IsPreview"`
	File                              File   `xml:"File"`
}

type Title

type Title struct {
	Text                  string `xml:",chardata" json:"-"`
	LanguageAndScriptCode string `xml:"LanguageAndScriptCode,attr"`
	TitleType             string `xml:"TitleType,attr"`
	TitleText             string `xml:"TitleText"`
}

type Usage

type Usage struct {
	Text    string   `xml:",chardata" json:"-"`
	UseType []string `xml:"UseType"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL