Le entità DataSource vengono utilizzate nei feed per fornire le origini dei dati che possono
essere combinate per formare entità Attribution.
Attributi
La tabella seguente mostra gli attributi per DataSource:
| Attributo | Obbligatorio? | Tipo | Descrizione |
|---|---|---|---|
objectId |
Obbligatorio | ID |
Identificatore interno univoco utilizzato da altri elementi per fare riferimento a questo elemento. |
Elementi
La tabella seguente mostra gli elementi per DataSource:
| Elemento | Molteplicità | Tipo | Descrizione |
|---|---|---|---|
DisplayName |
1 | InternationalizedText |
Il nome dell'origine dati come deve essere visualizzato. |
Uri |
1 o più | InternationalizedUri |
L'URL dell'origine dati. |
Esempi
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" } ] } ]