Elementy Attribution są używane w plikach danych do podawania pełnej atrybucji źródeł danych. Zobacz też DataSource.
Elementy
W tabeli poniżej znajdziesz elementy Attribution:
| Element | Mnogość | Typ | Opis |
|---|---|---|---|
DataSourceId |
1 | IDREF |
Identyfikator obiektu DataSource. |
Attribution |
0 lub więcej | Attribution |
Umożliwia atrybucję łańcuchową w przypadku danych scalonych z wielu źródeł. |
Przykłady
XML
<!-- Represents "According to ABC via Issuer" --> <Attribution> <DataSourceId>issuer</DataSourceId> <Attribution><DataSourceId>abc</DataSourceId></Attribution> </Attribution> <!-- Represents "According to ABC & XYZ via Issuer" --> <Attribution> <DataSourceId>issuer</DataSourceId> <Attribution><DataSourceId>abc</DataSourceId></Attribution> <Attribution><DataSourceId>xyz</DataSourceId></Attribution> </Attribution>
JSON
"ResultsReportingStage": [ { "Attribution": { "DataSourceId": "issuer", "Attribution": [ { "DataSourceId": "abc" } ] } }, { "StageType": "official", "Attribution": { "DataSourceId": "issuer", "Attribution": [ { "DataSourceId": "abc" }, { "DataSourceId": "xyz" } ] } } ]