changedInput schema / anyOf
Previous value: -[
- {
- "properties": {
- "accept_terms": {
- "enum": [
- true
- ]
- },
- "action": false,
- "coming_soon_id": false,
- "interested": false,
- "offer_hash": false,
- "offer_id": false,
- "offer_terms_hash": false,
- "request_id": {
- "$ref": "#/$defs/entry_id"
- },
- "sale_contact_consent": {
- "enum": [
- true
- ]
- }
- },
- "required": [
- "entry_id",
- "price",
- "unit",
- "terms_hash",
- "accept_terms"
- ]
- },
- {
- "properties": {
- "action": {
- "enum": [
- "interest"
- ]
- },
- "request_id": {
- "$ref": "#/$defs/entry_id"
- }
- },
- "propertyNames": {
- "enum": [
- "coming_soon_id",
- "interested",
- "request_id",
- "action",
- "funding_accounts",
- "max_fee"
- ]
- },
- "required": [
- "coming_soon_id",
- "interested",
- "action"
- ]
- },
- {
- "properties": {
- "accept_terms": {
- "enum": [
- true
- ]
- },
- "action": {
- "enum": [
- "offer"
- ]
- },
- "coming_soon_id": false,
- "interested": false,
- "offer_hash": false,
- "offer_id": false,
- "request_id": {
- "$ref": "#/$defs/entry_id"
- },
- "sale_contact_consent": {
- "enum": [
- true
- ]
- }
- },
- "required": [
- "entry_id",
- "price",
- "unit",
- "terms_hash",
- "accept_terms",
- "action",
- "offer_terms_hash"
- ]
- },
- {
- "properties": {
- "accept_terms": {
- "enum": [
- true
- ]
- },
- "action": {
- "enum": [
- "counter"
- ]
- },
- "coming_soon_id": false,
- "entry_id": false,
- "interested": false,
- "request_id": {
- "$ref": "#/$defs/entry_id"
- },
- "sale_contact_consent": {
- "enum": [
- true
- ]
- },
- "terms_hash": false,
- "unit": false
- },
- "required": [
- "action",
- "offer_id",
- "offer_hash",
- "price",
- "offer_terms_hash",
- "accept_terms"
- ]
- },
- {
- "properties": {
- "accept_terms": {
- "enum": [
- true
- ]
- },
- "action": {
- "enum": [
- "accept"
- ]
- },
- "coming_soon_id": false,
- "entry_id": false,
- "interested": false,
- "offer_terms_hash": false,
- "price": false,
- "request_id": {
- "$ref": "#/$defs/entry_id"
- },
- "sale_contact_consent": {
- "enum": [
- true
- ]
- },
- "terms_hash": false,
- "unit": false
- },
- "required": [
- "action",
- "offer_id",
- "offer_hash",
- "accept_terms"
- ]
- },
- {
- "properties": {
- "action": {
- "enum": [
- "decline",
- "withdraw"
- ]
- },
- "request_id": {
- "$ref": "#/$defs/entry_id"
- }
- },
- "propertyNames": {
- "enum": [
- "action",
- "offer_id",
- "request_id",
- "funding_accounts",
- "max_fee"
- ]
- },
- "required": [
- "action",
- "offer_id"
- ]
- }
-]New value: +[
+ {
+ "properties": {
+ "accept_terms": {
+ "enum": [
+ true
+ ]
+ },
+ "action": false,
+ "coming_soon_id": false,
+ "interested": false,
+ "offer_hash": false,
+ "offer_id": false,
+ "offer_terms_hash": false,
+ "request_id": {
+ "$ref": "#/$defs/entry_id"
+ },
+ "sale_contact_consent": {
+ "enum": [
+ true
+ ]
+ }
+ },
+ "required": [
+ "entry_id",
+ "price",
+ "unit",
+ "terms_hash",
+ "accept_terms"
+ ]
+ },
+ {
+ "properties": {
+ "action": {
+ "enum": [
+ "interest"
+ ]
+ },
+ "request_id": {
+ "$ref": "#/$defs/entry_id"
+ }
+ },
+ "propertyNames": {
+ "enum": [
+ "coming_soon_id",
+ "interested",
+ "request_id",
+ "action",
+ "max_fee"
+ ]
+ },
+ "required": [
+ "coming_soon_id",
+ "interested",
+ "action"
+ ]
+ },
+ {
+ "properties": {
+ "accept_terms": {
+ "enum": [
+ true
+ ]
+ },
+ "action": {
+ "enum": [
+ "offer"
+ ]
+ },
+ "coming_soon_id": false,
+ "interested": false,
+ "offer_hash": false,
+ "offer_id": false,
+ "request_id": {
+ "$ref": "#/$defs/entry_id"
+ },
+ "sale_contact_consent": {
+ "enum": [
+ true
+ ]
+ }
+ },
+ "required": [
+ "entry_id",
+ "price",
+ "unit",
+ "terms_hash",
+ "accept_terms",
+ "action",
+ "offer_terms_hash"
+ ]
+ },
+ {
+ "properties": {
+ "accept_terms": {
+ "enum": [
+ true
+ ]
+ },
+ "action": {
+ "enum": [
+ "counter"
+ ]
+ },
+ "coming_soon_id": false,
+ "entry_id": false,
+ "interested": false,
+ "request_id": {
+ "$ref": "#/$defs/entry_id"
+ },
+ "sale_contact_consent": {
+ "enum": [
+ true
+ ]
+ },
+ "terms_hash": false,
+ "unit": false
+ },
+ "required": [
+ "action",
+ "offer_id",
+ "offer_hash",
+ "price",
+ "offer_terms_hash",
+ "accept_terms"
+ ]
+ },
+ {
+ "properties": {
+ "accept_terms": {
+ "enum": [
+ true
+ ]
+ },
+ "action": {
+ "enum": [
+ "accept"
+ ]
+ },
+ "request_id": {
+ "$ref": "#/$defs/entry_id"
+ },
+ "sale_contact_consent": {
+ "enum": [
+ true
+ ]
+ }
+ },
+ "propertyNames": {
+ "enum": [
+ "action",
+ "offer_id",
+ "offer_hash",
+ "request_id",
+ "accept_terms",
+ "sale_contact_consent",
+ "max_fee"
+ ]
+ },
+ "required": [
+ "action",
+ "offer_id",
+ "offer_hash",
+ "accept_terms"
+ ]
+ },
+ {
+ "properties": {
+ "action": {
+ "enum": [
+ "decline",
+ "withdraw"
+ ]
+ },
+ "request_id": {
+ "$ref": "#/$defs/entry_id"
+ }
+ },
+ "propertyNames": {
+ "enum": [
+ "action",
+ "offer_id",
+ "request_id",
+ "max_fee"
+ ]
+ },
+ "required": [
+ "action",
+ "offer_id"
+ ]
+ }
+]