Skip to content

Commit

Permalink
Update exr-time-series.json
Browse files Browse the repository at this point in the history
Updated example for issue #38 (Attachment of annotations)
  • Loading branch information
dosse committed Aug 29, 2017
1 parent f8f67fc commit 3f79012
Showing 1 changed file with 29 additions and 8 deletions.
37 changes: 29 additions & 8 deletions data-message/samples/exr/exr-time-series.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@
"name": "Daily"
}
]
}, {
},
{
"id": "CURRENCY_DENOM",
"name": "Currency denominator",
"keyPosition": 2,
Expand All @@ -48,7 +49,8 @@
"name": "Euro"
}
]
}, {
},
{
"id": "EXR_TYPE",
"name": "Exchange rate type",
"keyPosition": 3,
Expand All @@ -58,7 +60,8 @@
"name": "Spot rate"
}
]
}, {
},
{
"id": "EXR_SUFFIX",
"name": "Series variation - EXR context",
"keyPosition": 4,
Expand All @@ -79,7 +82,8 @@
{
"id": "NZD",
"name": "New Zealand dollar"
}, {
},
{
"id": "RUB",
"name": "Russian rouble"
}
Expand All @@ -97,7 +101,8 @@
"name": "2013-01-18",
"start": "2013-01-18T00:00:00.000Z",
"end": "2013-01-18T23:59:59.999Z"
}, {
},
{
"id": "2013-01-21",
"name": "2013-01-21",
"start": "2013-01-21T00:00:00.000Z",
Expand All @@ -117,7 +122,8 @@
"values": [
{
"name": "New Zealand dollar (NZD)"
}, {
},
{
"name": "Russian rouble (RUB)"
}
]
Expand All @@ -136,13 +142,28 @@
]
}
]
}
},
"annotations": [
{
"title": "Sample series annotation title",
"type": "example",
"text": "Sample series annotation text",
"id": "ABC123456"
},
{
"title": "Sample observation annotation title",
"type": "example",
"text": "Sample observation annotation text",
"id": "XYZ98765"
}
]
},
"dataSets": [
{
"action": "Information",
"series": {
"0": {
"annotations": [0],
"attributes": [0],
"observations": {
"0": [1.5931, 0],
Expand All @@ -153,7 +174,7 @@
"attributes": [1],
"observations": {
"0": [40.3426, 0],
"1": [40.3000, 0]
"1": [40.3000, 0, 1]
}
}
}
Expand Down

0 comments on commit 3f79012

Please sign in to comment.