DataSource entities are used in feeds to provide the sources of data that can
be put together to form Attribution
entities.
Attributes
The following table shows the attributes for DataSource:
| Attribute | Required? | Type | Description |
|---|---|---|---|
objectId |
Required | ID |
Unique internal identifier that's used by other elements to reference this element. |
Elements
The following table shows the elements for DataSource:
| Element | Multiplicity | Type | Description |
|---|---|---|---|
DisplayName |
1 | InternationalizedText |
The name of the data source as it should be displayed. |
Uri |
1 or more | InternationalizedUri |
The URL for the data source. |
Examples
XML
<DataSource objectId="issuer"> <DisplayName> <Text language="en">Issuer Company</Text> </DisplayName> <Uri language="en">http://www.issuer.com</Uri> </DataSource> <DataSource objectId="abc"> <DisplayName> <Text language="en">ABC</Text> </DisplayName> <Uri language="en">http://www.abc.com</Uri> </DataSource> <DataSource objectId="xyz"> <DisplayName> <Text language="en">XYZ</Text> </DisplayName> <Uri language="en">http://www.xyz.com</Uri> </DataSource>
JSON
"DataSource": [ { "objectId": "issuer", "DisplayName": { "Text": [ { "value": "Issuer Company", "language": "en" } ] }, "Uri": [ { "value": "http://www.issuer.com", "language": "en" } ] }, { "objectId": "abc", "DisplayName": { "Text": [ { "value": "ABC", "language": "en" } ] }, "Uri": [ { "value": "http://www.abc.com", "language": "en" } ] }, { "objectId": "xyz", "DisplayName": { "Text": [ { "value": "XYZ", "language": "en" } ] }, "Uri": [ { "value": "http://www.xyz.com", "language": "en" } ] } ]