addedOutput schema / $defs
Added value: +{
+ "CertificateFilter": {
+ "description": "Filter criteria for certificates.",
+ "properties": {
+ "categories": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "directions": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "exposures": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "issuers": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "leverages": {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ "marketplaceCodes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "subTypes": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "underlyingInstruments": {
+ "items": {
+ "description": "Avanza order-book ID from discovery; not the separate instrumentId.",
+ "minLength": 1,
+ "pattern": "^[0-9]+$",
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "CertificateFilterOptions": {
+ "properties": {
+ "categories": {
+ "items": {
+ "$ref": "#/$defs/FilterOption"
+ },
+ "type": "array"
+ },
+ "directions": {
+ "items": {
+ "$ref": "#/$defs/FilterOption"
+ },
+ "type": "array"
+ },
+ "exposures": {
+ "items": {
+ "$ref": "#/$defs/FilterOption"
+ },
+ "type": "array"
+ },
+ "issuers": {
+ "items": {
+ "$ref": "#/$defs/FilterOption"
+ },
+ "type": "array"
+ },
+ "leverages": {
+ "items": {
+ "$ref": "#/$defs/FilterOption"
+ },
+ "type": "array"
+ },
+ "marketplaces": {
+ "items": {
+ "$ref": "#/$defs/FilterOption"
+ },
+ "type": "array"
+ },
+ "subTypes": {
+ "items": {
+ "$ref": "#/$defs/FilterOption"
+ },
+ "type": "array"
+ },
+ "underlyingInstruments": {
+ "items": {
+ "$ref": "#/$defs/FilterOption"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "CertificateListItem": {
+ "description": "Certificate in filter/list results.",
+ "properties": {
+ "buyPrice": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "countryCode": {
+ "type": "string"
+ },
+ "direction": {
+ "type": "string"
+ },
+ "hasPosition": {
+ "type": "boolean"
+ },
+ "issuer": {
+ "type": "string"
+ },
+ "leverage": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "marketplaceCode": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ },
+ "orderbookId": {
+ "type": "string"
+ },
+ "sellPrice": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "spread": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "totalValueTraded": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "underlyingInstrument": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/UnderlyingInstrument"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ }
+ },
+ "required": [
+ "orderbookId",
+ "countryCode",
+ "name",
+ "direction",
+ "marketplaceCode",
+ "issuer",
+ "hasPosition"
+ ],
+ "type": "object"
+ },
+ "FilterOption": {
+ "description": "Named filter option, optionally containing child options.",
+ "properties": {
+ "children": {
+ "anyOf": [
+ {
+ "items": {
+ "$ref": "#/$defs/FilterOption"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "displayName": {
+ "type": "string"
+ },
+ "numberOfOrderbooks": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ "value": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "value",
+ "displayName",
+ "numberOfOrderbooks"
+ ],
+ "type": "object"
+ },
+ "PaginationResponse": {
+ "description": "Pagination values returned by filter endpoints.",
+ "properties": {
+ "limit": {
+ "type": "integer"
+ },
+ "offset": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "offset",
+ "limit"
+ ],
+ "type": "object"
+ },
+ "SortBy": {
+ "description": "Sort configuration for filter endpoints.",
+ "properties": {
+ "field": {
+ "type": "string"
+ },
+ "order": {
+ "enum": [
+ "asc",
+ "desc"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "field",
+ "order"
+ ],
+ "type": "object"
+ },
+ "UnderlyingInstrument": {
+ "description": "Underlying instrument for derivatives.",
+ "properties": {
+ "countryCode": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "instrumentType": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "name": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "orderbookId": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ }
+ },
+ "type": "object"
+ }
+}
removedOutput schema / additionalProperties
Removed value: -true
addedOutput schema / properties / certificates / items / $ref
Added value: +"#/$defs/CertificateListItem"
removedOutput schema / properties / certificates / items / additionalProperties
Removed value: -true
removedOutput schema / properties / certificates / items / description
Removed value: -"Certificate in filter/list results."
removedOutput schema / properties / certificates / items / properties
Removed value: -{
- "buyPrice": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "countryCode": {
- "type": "string"
- },
- "direction": {
- "type": "string"
- },
- "hasPosition": {
- "type": "boolean"
- },
- "issuer": {
- "type": "string"
- },
- "leverage": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "marketplaceCode": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "orderbookId": {
- "type": "string"
- },
- "sellPrice": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "spread": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "totalValueTraded": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "underlyingInstrument": {
- "anyOf": [
- {
- "additionalProperties": true,
- "description": "Underlying instrument for derivatives.",
- "properties": {
- "countryCode": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "instrumentType": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "name": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "orderbookId": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- }
-}
removedOutput schema / properties / certificates / items / required
Removed value: -[
- "orderbookId",
- "countryCode",
- "name",
- "direction",
- "marketplaceCode",
- "issuer",
- "hasPosition"
-]
removedOutput schema / properties / certificates / items / type
Removed value: -"object"
changedOutput schema / properties / filter / anyOf
Previous value: -[
- {
- "additionalProperties": true,
- "description": "Filter criteria for certificates.",
- "properties": {
- "categories": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "directions": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "exposures": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "issuers": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "leverages": {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- "underlyingInstruments": {
- "items": {
- "description": "Avanza order-book ID from discovery; not the separate instrumentId.",
- "minLength": 1,
- "pattern": "^[0-9]+$",
- "type": "string"
- },
- "type": "array"
- }
- },
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "$ref": "#/$defs/CertificateFilter"
+ },
+ {
+ "type": "null"
+ }
+]
addedOutput schema / properties / filterOptions
Added value: +{
+ "anyOf": [
+ {
+ "$ref": "#/$defs/CertificateFilterOptions"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+}
changedOutput schema / properties / pagination / anyOf
Previous value: -[
- {
- "additionalProperties": true,
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "$ref": "#/$defs/PaginationResponse"
+ },
+ {
+ "type": "null"
+ }
+]
changedOutput schema / properties / sortBy / anyOf
Previous value: -[
- {
- "additionalProperties": true,
- "description": "Sort configuration for filter endpoints.",
- "properties": {
- "field": {
- "type": "string"
- },
- "order": {
- "enum": [
- "asc",
- "desc"
- ],
- "type": "string"
- }
- },
- "required": [
- "field",
- "order"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "$ref": "#/$defs/SortBy"
+ },
+ {
+ "type": "null"
+ }
+]