addedInput schema / additionalProperties
Added value: +false
removedInput schema / properties / instrument_id
Removed value: -{
- "type": "string"
-}
addedInput schema / properties / limit
Added value: +{
+ "default": 20,
+ "maximum": 100,
+ "minimum": 1,
+ "type": "integer"
+}
addedInput schema / properties / metric
Added value: +{
+ "maxLength": 100,
+ "minLength": 1,
+ "pattern": "^[A-Za-z][A-Za-z0-9]*$",
+ "type": "string"
+}
addedInput schema / properties / offset
Added value: +{
+ "default": 0,
+ "minimum": 0,
+ "type": "integer"
+}
addedInput schema / properties / order_book_id
Added value: +{
+ "description": "Avanza order-book ID from discovery; not the separate instrumentId.",
+ "minLength": 1,
+ "pattern": "^[0-9]+$",
+ "type": "string"
+}
changedInput schema / required
Previous value: -[
- "instrument_id"
-]New value: +[
+ "order_book_id",
+ "metric"
+]
removedOutput schema / additionalProperties
Removed value: -true
addedOutput schema / description
Added value: +"One named metric in one selected section, without sibling series or summaries."
addedOutput schema / properties
Added value: +{
+ "available_metrics": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "data": {
+ "additionalProperties": {
+ "anyOf": [
+ {
+ "additionalProperties": {
+ "anyOf": [
+ {
+ "items": {
+ "additionalProperties": true,
+ "description": "Observed upstream point fields. Values retain their source-specific scale.",
+ "properties": {
+ "date": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "financialYear": {
+ "type": "integer"
+ },
+ "reportType": {
+ "type": "string"
+ },
+ "value": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "reportType",
+ "financialYear",
+ "value"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "type": "object"
+ },
+ "metric": {
+ "type": "string"
+ },
+ "pagination": {
+ "properties": {
+ "has_more": {
+ "type": "boolean"
+ },
+ "limit": {
+ "maximum": 100,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "offset": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "returned": {
+ "type": "integer"
+ },
+ "total": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Source count; null when the selected section is unavailable"
+ }
+ },
+ "required": [
+ "offset",
+ "limit",
+ "total",
+ "returned",
+ "has_more"
+ ],
+ "type": "object"
+ },
+ "selection": {
+ "type": "string"
+ }
+}
addedOutput schema / required
Added value: +[
+ "selection",
+ "metric",
+ "available_metrics",
+ "data",
+ "pagination"
+]