changedInput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "enum": [
- "offer"
- ]
- },
- "funding_accounts": {
- "$ref": "#/$defs/funding_accounts"
- },
- "max_fee": {
- "$ref": "#/$defs/max_fee"
- }
- },
- "required": [
- "action"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "oneOf": [
- {
- "properties": {
- "action": {
- "enum": [
- "request"
- ]
- },
- "example_id": false,
- "example_revision": false,
- "input": {
- "$ref": "#/$defs/input"
- },
- "product": {
- "enum": [
- "report"
- ]
- }
- }
- },
- {
- "properties": {
- "action": {
- "enum": [
- "request"
- ]
- },
- "input": {
- "$ref": "#/$defs/input"
- },
- "product": {
- "enum": [
- "identification"
- ]
- }
- },
- "propertyNames": {
- "enum": [
- "action",
- "product",
- "request_id",
- "input",
- "funding_accounts",
- "max_fee"
- ]
- },
- "required": [
- "input"
- ]
- },
- {
- "properties": {
- "action": {
- "enum": [
- "request"
- ]
- },
- "expected_identification_revision": false,
- "identification_order_id": false,
- "input": false,
- "product": {
- "enum": [
- "example"
- ]
- }
- },
- "required": [
- "example_id",
- "example_revision"
- ]
- }
- ],
- "properties": {
- "action": {},
- "example_id": {
- "$ref": "#/$defs/request_id"
- },
- "example_revision": {
- "$ref": "#/$defs/expected_identification_revision"
- },
- "expected_identification_revision": {
- "$ref": "#/$defs/expected_identification_revision"
- },
- "funding_accounts": {
- "$ref": "#/$defs/funding_accounts"
- },
- "identification_order_id": {
- "$ref": "#/$defs/request_id"
- },
- "input": {},
- "max_fee": {
- "$ref": "#/$defs/max_fee"
- },
- "product": {},
- "request_id": {
- "$ref": "#/$defs/request_id"
- }
- },
- "required": [
- "action",
- "product",
- "request_id",
- "max_fee"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "enum": [
- "status",
- "download"
- ]
- },
- "funding_accounts": {
- "$ref": "#/$defs/funding_accounts"
- },
- "max_fee": {
- "$ref": "#/$defs/max_fee"
- },
- "order_id": {
- "$ref": "#/$defs/request_id"
- }
- },
- "required": [
- "action",
- "order_id"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "enum": [
- "continue"
- ]
- },
- "expected_revision": {
- "$ref": "#/$defs/expected_identification_revision"
- },
- "funding_accounts": {
- "$ref": "#/$defs/funding_accounts"
- },
- "input": {
- "$ref": "#/$defs/input"
- },
- "max_fee": {
- "$ref": "#/$defs/max_fee"
- },
- "order_id": {
- "$ref": "#/$defs/request_id"
- },
- "request_id": {
- "$ref": "#/$defs/request_id"
- }
- },
- "required": [
- "action",
- "order_id",
- "request_id",
- "expected_revision",
- "max_fee"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "enum": [
- "cancel"
- ]
- },
- "expected_revision": {
- "$ref": "#/$defs/expected_identification_revision"
- },
- "funding_accounts": {
- "$ref": "#/$defs/funding_accounts"
- },
- "max_fee": {
- "$ref": "#/$defs/max_fee"
- },
- "order_id": {
- "$ref": "#/$defs/request_id"
- },
- "request_id": {
- "$ref": "#/$defs/request_id"
- }
- },
- "required": [
- "action",
- "order_id",
- "request_id",
- "expected_revision"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "enum": [
+ "offer"
+ ]
+ },
+ "max_fee": {
+ "$ref": "#/$defs/max_fee"
+ }
+ },
+ "required": [
+ "action"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "oneOf": [
+ {
+ "properties": {
+ "action": {
+ "enum": [
+ "request"
+ ]
+ },
+ "example_id": false,
+ "example_revision": false,
+ "input": {
+ "$ref": "#/$defs/input"
+ },
+ "product": {
+ "enum": [
+ "report"
+ ]
+ }
+ }
+ },
+ {
+ "maxProperties": 5,
+ "properties": {
+ "action": {
+ "enum": [
+ "request"
+ ]
+ },
+ "input": {
+ "$ref": "#/$defs/input"
+ },
+ "product": {
+ "enum": [
+ "identification"
+ ]
+ }
+ },
+ "required": [
+ "input"
+ ]
+ },
+ {
+ "maxProperties": 6,
+ "properties": {
+ "action": {
+ "enum": [
+ "request"
+ ]
+ },
+ "product": {
+ "enum": [
+ "example"
+ ]
+ }
+ },
+ "required": [
+ "example_id",
+ "example_revision"
+ ]
+ }
+ ],
+ "properties": {
+ "action": {},
+ "example_id": {
+ "$ref": "#/$defs/order_id"
+ },
+ "example_revision": {
+ "$ref": "#/$defs/example_revision"
+ },
+ "expected_identification_revision": {
+ "$ref": "#/$defs/example_revision"
+ },
+ "identification_order_id": {
+ "$ref": "#/$defs/order_id"
+ },
+ "input": {},
+ "max_fee": {
+ "$ref": "#/$defs/max_fee"
+ },
+ "product": {},
+ "request_id": {
+ "$ref": "#/$defs/order_id"
+ }
+ },
+ "required": [
+ "action",
+ "product",
+ "request_id",
+ "max_fee"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "enum": [
+ "status",
+ "download"
+ ]
+ },
+ "max_fee": {
+ "$ref": "#/$defs/max_fee"
+ },
+ "order_id": {
+ "$ref": "#/$defs/order_id"
+ }
+ },
+ "required": [
+ "action",
+ "order_id"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "enum": [
+ "continue"
+ ]
+ },
+ "expected_revision": {
+ "$ref": "#/$defs/example_revision"
+ },
+ "input": {
+ "$ref": "#/$defs/input"
+ },
+ "max_fee": {
+ "$ref": "#/$defs/max_fee"
+ },
+ "order_id": {
+ "$ref": "#/$defs/order_id"
+ },
+ "request_id": {
+ "$ref": "#/$defs/order_id"
+ }
+ },
+ "required": [
+ "action",
+ "order_id",
+ "request_id",
+ "expected_revision",
+ "max_fee"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "enum": [
+ "cancel"
+ ]
+ },
+ "expected_revision": {
+ "$ref": "#/$defs/example_revision"
+ },
+ "max_fee": {
+ "$ref": "#/$defs/max_fee"
+ },
+ "order_id": {
+ "$ref": "#/$defs/order_id"
+ },
+ "request_id": {
+ "$ref": "#/$defs/order_id"
+ }
+ },
+ "required": [
+ "action",
+ "order_id",
+ "request_id",
+ "expected_revision"
+ ],
+ "type": "object"
+ }
+]