changedOutput schema / properties / insider_dealings / anyOf
Previous value: -[
- {
- "items": {
- "additionalProperties": false,
- "properties": {
- "issuer": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "description": "ko.io issuer id (lei:, isin:, co: or name:) -- pass to get_eu_issuer or as `issuer`",
- "type": [
- "string",
- "null"
- ]
- },
- "isin": {
- "$ref": "#/properties/issuer/anyOf/0/properties/id"
- },
- "lei": {
- "$ref": "#/properties/issuer/anyOf/0/properties/id"
- },
- "name": {
- "$ref": "#/properties/issuer/anyOf/0/properties/id"
- }
- },
- "required": [
- "id",
- "name",
- "lei",
- "isin"
- ],
- "type": "object"
- },
- "latest_version": {
- "anyOf": [
- {
- "$ref": "#/properties/insider_dealings/anyOf/0/items/properties/notice_version/anyOf/0"
- },
- {
- "type": "null"
- }
- ],
- "description": "Higher than notice_version = this row was superseded by an amended notice"
- },
- "notice_id": {
- "$ref": "#/properties/issuer/anyOf/0/properties/id"
- },
- "notice_status_label": {
- "$ref": "#/properties/issuer/anyOf/0/properties/id"
- },
- "notice_version": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "person": {
- "additionalProperties": false,
- "properties": {
- "closely_associated": {
- "$ref": "#/properties/issuer/anyOf/0/properties/lei_valid"
- },
- "name": {
- "$ref": "#/properties/issuer/anyOf/0/properties/id"
- },
- "reporting_person": {
- "$ref": "#/properties/issuer/anyOf/0/properties/id"
- },
- "role": {
- "$ref": "#/properties/issuer/anyOf/0/properties/id"
- }
- },
- "required": [
- "name",
- "reporting_person",
- "role",
- "closely_associated"
- ],
- "type": "object"
- },
- "publication_date": {
- "$ref": "#/properties/issuer/anyOf/0/properties/id"
- },
- "published_at": {
- "$ref": "#/properties/issuer/anyOf/0/properties/id"
- },
- "record_id": {
- "$ref": "#/properties/issuer/anyOf/0/properties/id"
- },
- "source": {
- "additionalProperties": false,
- "description": "Per-row source credit",
- "properties": {
- "attribution": {
- "description": "Source credit, verbatim from the register; show it with the row",
- "type": [
- "string",
- "null"
- ]
- },
- "copyright_note": {
- "$ref": "#/properties/issuer/anyOf/0/properties/id"
- },
- "link_policy": {
- "$ref": "#/properties/issuer/anyOf/0/properties/id"
- },
- "retrieved_at": {
- "$ref": "#/properties/issuer/anyOf/0/properties/id"
- },
- "source_date": {
- "$ref": "#/properties/issuer/anyOf/0/properties/id"
- },
- "url": {
- "description": "Link to the original record; null where the source terms allow none (all UK rows)",
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "attribution",
- "source_date",
- "retrieved_at",
- "url",
- "link_policy",
- "copyright_note"
- ],
- "type": "object"
- },
- "transaction": {
- "additionalProperties": false,
- "properties": {
- "currency": {
- "$ref": "#/properties/issuer/anyOf/0/properties/id"
- },
- "date": {
- "$ref": "#/properties/issuer/anyOf/0/properties/id"
- },
- "instrument_name": {
- "$ref": "#/properties/issuer/anyOf/0/properties/id"
- },
- "instrument_type_label": {
- "$ref": "#/properties/issuer/anyOf/0/properties/id"
- },
- "nature_label": {
- "$ref": "#/properties/issuer/anyOf/0/properties/id"
- },
- "price": {
- "$ref": "#/properties/insider_dealings/anyOf/0/items/properties/transaction/properties/quantity"
- },
- "price_unit": {
- "$ref": "#/properties/issuer/anyOf/0/properties/id"
- },
- "quantity": {
- "anyOf": [
- {
- "pattern": "^-?\\d+(\\.\\d+)?([eE][-+]?\\d+)?$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Exact decimal string as served by ko.io (not rounded); null = unknown"
- },
- "quantity_unit": {
- "$ref": "#/properties/issuer/anyOf/0/properties/id"
- },
- "venue": {
- "$ref": "#/properties/issuer/anyOf/0/properties/id"
- }
- },
- "required": [
- "date",
- "nature_label",
- "instrument_name",
- "instrument_type_label",
- "quantity",
- "quantity_unit",
- "price",
- "currency",
- "price_unit",
- "venue"
- ],
- "type": "object"
- }
- },
- "required": [
- "record_id",
- "notice_id",
- "notice_version",
- "latest_version",
- "notice_status_label",
- "published_at",
- "publication_date",
- "issuer",
- "person",
- "transaction",
- "source"
- ],
- "type": "object"
- },
- "type": "array"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "issuer": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "description": "ko.io issuer id (lei:, isin:, co: or name:) -- pass to get_eu_issuer or as `issuer`",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "isin": {
+ "$ref": "#/properties/issuer/anyOf/0/properties/id"
+ },
+ "lei": {
+ "$ref": "#/properties/issuer/anyOf/0/properties/id"
+ },
+ "name": {
+ "$ref": "#/properties/issuer/anyOf/0/properties/id"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "lei",
+ "isin"
+ ],
+ "type": "object"
+ },
+ "latest_version": {
+ "anyOf": [
+ {
+ "$ref": "#/properties/insider_dealings/anyOf/0/items/properties/notice_version/anyOf/0"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Higher than notice_version = this row was superseded by an amended notice"
+ },
+ "notice_id": {
+ "$ref": "#/properties/issuer/anyOf/0/properties/id"
+ },
+ "notice_status_label": {
+ "$ref": "#/properties/issuer/anyOf/0/properties/id"
+ },
+ "notice_version": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "person": {
+ "additionalProperties": false,
+ "properties": {
+ "closely_associated": {
+ "$ref": "#/properties/issuer/anyOf/0/properties/lei_valid"
+ },
+ "name": {
+ "$ref": "#/properties/issuer/anyOf/0/properties/id"
+ },
+ "reporting_person": {
+ "$ref": "#/properties/issuer/anyOf/0/properties/id"
+ },
+ "role": {
+ "$ref": "#/properties/issuer/anyOf/0/properties/id"
+ }
+ },
+ "required": [
+ "name",
+ "reporting_person",
+ "role",
+ "closely_associated"
+ ],
+ "type": "object"
+ },
+ "publication_date": {
+ "$ref": "#/properties/issuer/anyOf/0/properties/id"
+ },
+ "published_at": {
+ "$ref": "#/properties/issuer/anyOf/0/properties/id"
+ },
+ "record_id": {
+ "$ref": "#/properties/issuer/anyOf/0/properties/id"
+ },
+ "source": {
+ "additionalProperties": false,
+ "description": "Per-row source credit",
+ "properties": {
+ "attribution": {
+ "description": "Source credit, verbatim from the register; show it with the row",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "copyright_note": {
+ "$ref": "#/properties/issuer/anyOf/0/properties/id"
+ },
+ "link_policy": {
+ "$ref": "#/properties/issuer/anyOf/0/properties/id"
+ },
+ "retrieved_at": {
+ "$ref": "#/properties/issuer/anyOf/0/properties/id"
+ },
+ "source_date": {
+ "$ref": "#/properties/issuer/anyOf/0/properties/id"
+ },
+ "url": {
+ "description": "Link to the original record; null where the source terms allow none (all UK rows)",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "attribution",
+ "source_date",
+ "retrieved_at",
+ "url",
+ "link_policy",
+ "copyright_note"
+ ],
+ "type": "object"
+ },
+ "transaction": {
+ "additionalProperties": false,
+ "properties": {
+ "currency": {
+ "$ref": "#/properties/issuer/anyOf/0/properties/id"
+ },
+ "date": {
+ "$ref": "#/properties/issuer/anyOf/0/properties/id"
+ },
+ "instrument_name": {
+ "$ref": "#/properties/issuer/anyOf/0/properties/id"
+ },
+ "instrument_type_label": {
+ "$ref": "#/properties/issuer/anyOf/0/properties/id"
+ },
+ "nature_label": {
+ "$ref": "#/properties/issuer/anyOf/0/properties/id"
+ },
+ "price": {
+ "$ref": "#/properties/insider_dealings/anyOf/0/items/properties/transaction/properties/quantity"
+ },
+ "price_kind": {
+ "anyOf": [
+ {
+ "enum": [
+ "exercise",
+ "reported"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "exercise = the notice's own label calls price an exercise, strike or option price (a grant or exercise term, not a market price; UK only today); reported = the price as the notice states it, unclassified (can still be a nil-cost or grant term); null = not stated upstream or not a recognised kind"
+ },
+ "price_unit": {
+ "$ref": "#/properties/issuer/anyOf/0/properties/id"
+ },
+ "quantity": {
+ "anyOf": [
+ {
+ "pattern": "^-?\\d+(\\.\\d+)?([eE][-+]?\\d+)?$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Exact decimal string as served by ko.io (not rounded); null = unknown"
+ },
+ "quantity_unit": {
+ "$ref": "#/properties/issuer/anyOf/0/properties/id"
+ },
+ "venue": {
+ "$ref": "#/properties/issuer/anyOf/0/properties/id"
+ }
+ },
+ "required": [
+ "date",
+ "nature_label",
+ "instrument_name",
+ "instrument_type_label",
+ "quantity",
+ "quantity_unit",
+ "price",
+ "price_kind",
+ "currency",
+ "price_unit",
+ "venue"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "record_id",
+ "notice_id",
+ "notice_version",
+ "latest_version",
+ "notice_status_label",
+ "published_at",
+ "publication_date",
+ "issuer",
+ "person",
+ "transaction",
+ "source"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+]