changedInput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "enum": [
- "status"
- ]
- },
- "funding_accounts": {
- "$ref": "#/$defs/funding_accounts"
- },
- "max_fee": {
- "$ref": "#/$defs/max_fee"
- }
- },
- "required": [
- "action"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "enum": [
- "connect"
- ]
- },
- "create_if_missing": {
- "enum": [
- true
- ]
- },
- "email": {
- "$ref": "#/$defs/email"
- },
- "funding_accounts": {
- "$ref": "#/$defs/funding_accounts"
- },
- "max_fee": {
- "$ref": "#/$defs/max_fee"
- },
- "name": {
- "$ref": "#/$defs/name"
- },
- "preferred_handle": {
- "pattern": "^@?[A-Za-z0-9_-]{3,32}$",
- "type": "string"
- },
- "referral_code": {
- "pattern": "^[a-f0-9]{32}$",
- "type": "string"
- },
- "request_id": {
- "$ref": "#/$defs/request_id"
- }
- },
- "required": [
- "action",
- "email",
- "request_id"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "oneOf": [
- {
- "properties": {
- "step": {
- "enum": [
- "verification"
- ]
- }
- },
- "propertyNames": {
- "enum": [
- "action",
- "step",
- "request_id",
- "code",
- "profile_id",
- "name",
- "create_if_missing",
- "preferred_handle",
- "referral_code",
- "funding_accounts",
- "max_fee"
- ]
- }
- },
- {
- "properties": {
- "step": {
- "enum": [
- "resend"
- ]
- }
- },
- "propertyNames": {
- "enum": [
- "action",
- "step",
- "request_id",
- "email",
- "funding_accounts",
- "max_fee"
- ]
- }
- },
- {
- "properties": {
- "step": {
- "enum": [
- "agreement"
- ]
- }
- },
- "propertyNames": {
- "enum": [
- "version",
- "sha256",
- "principal",
- "authorized",
- "electronic_consent",
- "public_history_consent",
- "age_18_or_over",
- "action",
- "step",
- "request_id",
- "funding_accounts",
- "max_fee"
- ]
- },
- "required": [
- "version",
- "sha256",
- "principal",
- "authorized",
- "electronic_consent",
- "public_history_consent",
- "age_18_or_over"
- ]
- },
- {
- "properties": {
- "step": {
- "enum": [
- "seller_application"
- ]
- }
- },
- "propertyNames": {
- "enum": [
- "action",
- "step",
- "request_id",
- "application",
- "funding_accounts",
- "max_fee"
- ]
- },
- "required": [
- "application"
- ]
- },
- {
- "properties": {
- "step": {
- "enum": [
- "settlement"
- ]
- }
- },
- "propertyNames": {
- "enum": [
- "settlement_account_id",
- "settlement",
- "action",
- "step",
- "request_id",
- "funding_accounts",
- "max_fee"
- ]
- },
- "required": [
- "settlement"
- ]
- },
- {
- "properties": {
- "step": {
- "enum": [
- "contact_withdrawal"
- ]
- }
- },
- "propertyNames": {
- "enum": [
- "entry_id",
- "action",
- "step",
- "request_id",
- "funding_accounts",
- "max_fee"
- ]
- },
- "required": [
- "entry_id"
- ]
- }
- ],
- "properties": {
- "action": {
- "enum": [
- "continue"
- ]
- },
- "age_18_or_over": {
- "enum": [
- true
- ]
- },
- "application": {
- "additionalProperties": false,
- "minProperties": 3,
- "properties": {
- "fulfilment_regions": {
- "$ref": "#/$defs/origin_regions"
- },
- "origin_regions": {
- "$ref": "#/$defs/origin_regions"
- },
- "what_they_sell": {
- "maxLength": 4000,
- "minLength": 1,
- "type": "string"
- }
- },
- "type": "object"
- },
- "authorized": {
- "enum": [
- true
- ]
- },
- "code": {
- "pattern": "^[0-9]{6}$",
- "type": "string"
- },
- "create_if_missing": {
- "enum": [
- true
- ]
- },
- "electronic_consent": {
- "enum": [
- true
- ]
- },
- "email": {
- "$ref": "#/$defs/email"
- },
- "entry_id": {
- "$ref": "#/$defs/profile_id"
- },
- "funding_accounts": {
- "$ref": "#/$defs/funding_accounts"
- },
- "max_fee": {
- "$ref": "#/$defs/max_fee"
- },
- "name": {
- "$ref": "#/$defs/name"
- },
- "preferred_handle": {
- "pattern": "^@?[A-Za-z0-9_-]{3,32}$",
- "type": "string"
- },
- "principal": {
- "additionalProperties": false,
- "properties": {
- "country": {
- "type": "string"
- },
- "legal_name": {
- "$ref": "#/$defs/legal_name"
- }
- },
- "required": [
- "legal_name"
- ],
- "type": "object"
- },
- "profile_id": {
- "$ref": "#/$defs/profile_id"
- },
- "public_history_consent": {
- "enum": [
- true
- ]
- },
- "referral_code": {
- "pattern": "^[a-f0-9]{32}$",
- "type": "string"
- },
- "request_id": {
- "$ref": "#/$defs/request_id"
- },
- "settlement": {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "account": {
- "$ref": "#/$defs/account"
- },
- "decimals": {
- "maximum": 255,
- "minimum": 0,
- "type": "integer"
- },
- "instructions": {
- "$ref": "#/$defs/instructions"
- },
- "kind": {
- "enum": [
- "direct"
- ]
- },
- "label": {
- "$ref": "#/$defs/version"
- },
- "method": {
- "$ref": "#/$defs/name"
- },
- "recipient": {
- "$ref": "#/$defs/legal_name"
- },
- "unit": {
- "$ref": "#/$defs/unit"
- }
- },
- "required": [
- "kind",
- "label",
- "unit",
- "decimals",
- "method",
- "recipient",
- "account"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "account": {
- "$ref": "#/$defs/account"
- },
- "country": {
- "type": "string"
- },
- "instructions": {
- "$ref": "#/$defs/instructions"
- },
- "kind": {
- "enum": [
- "fiat"
- ]
- },
- "label": {
- "$ref": "#/$defs/version"
- },
- "method": {
- "enum": [
- "bank_transfer",
- "payment_service"
- ]
- },
- "recipient": {
- "$ref": "#/$defs/legal_name"
- },
- "unit": {
- "$ref": "#/$defs/unit_2"
- }
- },
- "required": [
- "kind",
- "label",
- "unit",
- "method",
- "country",
- "recipient",
- "account"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "account": {
- "$ref": "#/$defs/account"
- },
- "decimals": {
- "maximum": 255,
- "minimum": 0,
- "type": "integer"
- },
- "dti": {
- "pattern": "^[1-9B-DF-HJ-NP-TV-XZ][0-9B-DF-HJ-NP-TV-XZ]{8}$",
- "type": "string"
- },
- "instructions": {
- "$ref": "#/$defs/instructions"
- },
- "kind": {
- "enum": [
- "crypto"
- ]
- },
- "label": {
- "$ref": "#/$defs/version"
- },
- "memo": {
- "$ref": "#/$defs/account"
- },
- "network": {
- "pattern": "^[-a-z0-9]{3,8}:[-_a-zA-Z0-9]{1,32}$",
- "type": "string"
- },
- "recipient": {
- "$ref": "#/$defs/legal_name"
- },
- "symbol": {
- "maxLength": 24,
- "minLength": 1,
- "type": "string"
- },
- "unit": {
- "$ref": "#/$defs/unit_3"
- }
- },
- "required": [
- "kind",
- "label",
- "unit",
- "network",
- "symbol",
- "decimals",
- "recipient",
- "account"
- ],
- "type": "object"
- }
- ]
- },
- "settlement_account_id": {
- "$ref": "#/$defs/profile_id"
- },
- "sha256": {
- "$ref": "#/$defs/sha256"
- },
- "step": {},
- "version": {
- "$ref": "#/$defs/version"
- }
- },
- "required": [
- "action",
- "step",
- "request_id"
- ],
- "type": "object"
- },
- {
- "oneOf": [
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "enum": [
- "update"
- ]
- },
- "agreement": {
- "additionalProperties": false,
- "minProperties": 7,
- "properties": {
- "age_18_or_over": {
- "enum": [
- true
- ]
- },
- "authorized": {
- "enum": [
- true
- ]
- },
- "electronic_consent": {
- "enum": [
- true
- ]
- },
- "principal": {
- "additionalProperties": false,
- "properties": {
- "country": {
- "type": "string"
- },
- "legal_name": {
- "$ref": "#/$defs/legal_name"
- }
- },
- "required": [
- "legal_name"
- ],
- "type": "object"
- },
- "public_history_consent": {
- "enum": [
- true
- ]
- },
- "sha256": {
- "$ref": "#/$defs/sha256"
- },
- "version": {
- "$ref": "#/$defs/version"
- }
- },
- "type": "object"
- },
- "avatar_id": {
- "$ref": "#/$defs/avatar_id"
- },
- "bio": {
- "$ref": "#/$defs/bio"
- },
- "expected_acceptance_id": {
- "anyOf": [
- {
- "$ref": "#/$defs/profile_id"
- },
- {
- "type": "null"
- }
- ]
- },
- "expected_handle": {
- "pattern": "^@?[A-Za-z0-9_-]{3,32}$",
- "type": "string"
- },
- "expected_profile": {
- "additionalProperties": false,
- "minProperties": 3,
- "properties": {
- "avatar_id": {
- "$ref": "#/$defs/avatar_id"
- },
- "bio": {
- "$ref": "#/$defs/bio"
- },
- "website_url": {
- "$ref": "#/$defs/website_url"
- }
- },
- "type": "object"
- },
- "funding_accounts": {
- "$ref": "#/$defs/funding_accounts"
- },
- "handle": {
- "pattern": "^@?[A-Za-z0-9_-]{3,32}$",
- "type": "string"
- },
- "kind": {
- "enum": [
- "details"
- ]
- },
- "max_fee": {
- "$ref": "#/$defs/max_fee"
- },
- "request_id": {
- "$ref": "#/$defs/profile_id"
- },
- "required_change_id": {
- "$ref": "#/$defs/profile_id"
- },
- "website_url": {
- "$ref": "#/$defs/website_url"
- }
- },
- "required": [
- "request_id",
- "expected_handle",
- "expected_acceptance_id",
- "action",
- "kind"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "enum": [
- "update"
- ]
- },
- "avatar_id": {
- "$ref": "#/$defs/avatar_id"
- },
- "bio": {
- "$ref": "#/$defs/bio"
- },
- "email": {
- "$ref": "#/$defs/email"
- },
- "funding_accounts": {
- "$ref": "#/$defs/funding_accounts"
- },
- "kind": {
- "enum": [
- "profile"
- ]
- },
- "line": {
- "$ref": "#/$defs/line"
- },
- "max_fee": {
- "$ref": "#/$defs/max_fee"
- },
- "name": {
- "$ref": "#/$defs/name"
- },
- "paypal_email": {
- "anyOf": [
- {
- "$ref": "#/$defs/email"
- },
- {
- "type": "null"
- }
- ]
- },
- "paypal_gs_consent": {
- "enum": [
- true
- ]
- },
- "request_id": {
- "$ref": "#/$defs/request_id"
- },
- "required_change_id": {
- "$ref": "#/$defs/profile_id"
- },
- "telegram": {
- "$ref": "#/$defs/line"
- },
- "website_url": {
- "$ref": "#/$defs/website_url"
- },
- "whatsapp": {
- "$ref": "#/$defs/line"
- },
- "x": {
- "$ref": "#/$defs/line"
- }
- },
- "required": [
- "action",
- "kind",
- "request_id"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "oneOf": [
- {
- "properties": {
- "operation": {
- "enum": [
- "save"
- ]
- }
- },
- "required": [
- "name",
- "max_price"
- ]
- },
- {
- "properties": {
- "operation": {
- "enum": [
- "delete"
- ]
- }
- },
- "propertyNames": {
- "enum": [
- "request_id",
- "wanted_id",
- "expected_revision",
- "action",
- "kind",
- "operation",
- "funding_accounts",
- "max_fee"
- ]
- },
- "required": [
- "wanted_id",
- "expected_revision"
- ]
- }
- ],
- "properties": {
- "action": {
- "enum": [
- "update"
- ]
- },
- "currency": {
- "$ref": "#/$defs/unit"
- },
- "expected_revision": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "expires_at": {
- "anyOf": [
- {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "funding_accounts": {
- "$ref": "#/$defs/funding_accounts"
- },
- "grader": {
- "$ref": "#/$defs/name_2"
- },
- "kind": {
- "enum": [
- "wanted"
- ]
- },
- "language": {
- "$ref": "#/$defs/name_2"
- },
- "max_fee": {
- "$ref": "#/$defs/max_fee"
- },
- "max_price": {
- "pattern": "^(0|[1-9]\\d{0,19})(\\.\\d{1,255})?$",
- "type": "string"
- },
- "min_grade": {
- "pattern": "^(0|[1-9]\\d{0,19})(\\.\\d{1,255})?$",
- "type": "string"
- },
- "name": {
- "$ref": "#/$defs/name_2"
- },
- "number": {
- "$ref": "#/$defs/name_2"
- },
- "operation": {},
- "request_id": {
- "$ref": "#/$defs/profile_id"
- },
- "set": {
- "$ref": "#/$defs/name_2"
- },
- "wanted_id": {
- "$ref": "#/$defs/profile_id"
- }
- },
- "required": [
- "request_id",
- "action",
- "kind",
- "operation"
- ],
- "type": "object"
- }
- ]
- },
- {
- "additionalProperties": false,
- "properties": {
- "action": {
- "enum": [
- "invite"
- ]
- },
- "consent": {
- "enum": [
- true
- ]
- },
- "email": {
- "$ref": "#/$defs/email"
- },
- "funding_accounts": {
- "$ref": "#/$defs/funding_accounts"
- },
- "max_fee": {
- "$ref": "#/$defs/max_fee"
- },
- "request_id": {
- "$ref": "#/$defs/request_id"
- }
- },
- "required": [
- "action",
- "request_id",
- "email",
- "consent"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "oneOf": [
- {
- "properties": {
- "auction_id": false,
- "run_id": false,
- "submission_id": false,
- "view": {
- "enum": [
- "account",
- "referrals"
- ]
- }
- }
- },
- {
- "properties": {
- "auction_id": false,
- "run_id": false,
- "view": {
- "enum": [
- "submission"
- ]
- }
- },
- "required": [
- "submission_id"
- ]
- },
- {
- "properties": {
- "submission_id": false,
- "view": {
- "enum": [
- "catalogue"
- ]
- }
- },
- "required": [
- "auction_id",
- "run_id"
- ]
- }
- ],
- "properties": {
- "action": {
- "enum": [
- "link"
- ]
- },
- "auction_id": {
- "$ref": "#/$defs/profile_id"
- },
- "funding_accounts": {
- "$ref": "#/$defs/funding_accounts"
- },
- "max_fee": {
- "$ref": "#/$defs/max_fee"
- },
- "run_id": {
- "$ref": "#/$defs/profile_id"
- },
- "submission_id": {
- "$ref": "#/$defs/profile_id"
- },
- "view": {}
- },
- "required": [
- "action",
- "view"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "enum": [
+ "status"
+ ]
+ },
+ "funding_accounts": {
+ "$ref": "#/$defs/funding_accounts"
+ },
+ "max_fee": {
+ "$ref": "#/$defs/max_fee"
+ }
+ },
+ "required": [
+ "action"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "oneOf": [
+ {
+ "properties": {
+ "application": false,
+ "entry_id": false,
+ "settlement": false,
+ "settlement_account_id": false,
+ "step": {
+ "enum": [
+ "agreement"
+ ]
+ }
+ },
+ "required": [
+ "version",
+ "sha256",
+ "principal",
+ "authorized",
+ "electronic_consent",
+ "public_history_consent",
+ "age_18_or_over"
+ ]
+ },
+ {
+ "properties": {
+ "step": {
+ "enum": [
+ "seller_application"
+ ]
+ }
+ },
+ "propertyNames": {
+ "enum": [
+ "action",
+ "step",
+ "request_id",
+ "application",
+ "funding_accounts",
+ "max_fee"
+ ]
+ },
+ "required": [
+ "application"
+ ]
+ },
+ {
+ "properties": {
+ "step": {
+ "enum": [
+ "settlement"
+ ]
+ }
+ },
+ "propertyNames": {
+ "enum": [
+ "settlement_account_id",
+ "settlement",
+ "action",
+ "step",
+ "request_id",
+ "funding_accounts",
+ "max_fee"
+ ]
+ },
+ "required": [
+ "settlement"
+ ]
+ },
+ {
+ "properties": {
+ "step": {
+ "enum": [
+ "contact_withdrawal"
+ ]
+ }
+ },
+ "propertyNames": {
+ "enum": [
+ "entry_id",
+ "action",
+ "step",
+ "request_id",
+ "funding_accounts",
+ "max_fee"
+ ]
+ },
+ "required": [
+ "entry_id"
+ ]
+ }
+ ],
+ "properties": {
+ "action": {
+ "enum": [
+ "continue"
+ ]
+ },
+ "age_18_or_over": {
+ "enum": [
+ true
+ ]
+ },
+ "application": {
+ "additionalProperties": false,
+ "minProperties": 3,
+ "properties": {
+ "fulfilment_regions": {
+ "$ref": "#/$defs/origin_regions"
+ },
+ "origin_regions": {
+ "$ref": "#/$defs/origin_regions"
+ },
+ "what_they_sell": {
+ "maxLength": 4000,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "authorized": {
+ "enum": [
+ true
+ ]
+ },
+ "electronic_consent": {
+ "enum": [
+ true
+ ]
+ },
+ "entry_id": {
+ "$ref": "#/$defs/request_id"
+ },
+ "funding_accounts": {
+ "$ref": "#/$defs/funding_accounts"
+ },
+ "max_fee": {
+ "$ref": "#/$defs/max_fee"
+ },
+ "principal": {
+ "additionalProperties": false,
+ "properties": {
+ "country": {
+ "type": "string"
+ },
+ "legal_name": {
+ "$ref": "#/$defs/legal_name"
+ }
+ },
+ "required": [
+ "legal_name"
+ ],
+ "type": "object"
+ },
+ "public_history_consent": {
+ "enum": [
+ true
+ ]
+ },
+ "request_id": {
+ "$ref": "#/$defs/request_id"
+ },
+ "settlement": {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "account": {
+ "$ref": "#/$defs/account"
+ },
+ "decimals": {
+ "maximum": 255,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "instructions": {
+ "$ref": "#/$defs/instructions"
+ },
+ "kind": {
+ "enum": [
+ "direct"
+ ]
+ },
+ "label": {
+ "$ref": "#/$defs/version"
+ },
+ "method": {
+ "$ref": "#/$defs/method"
+ },
+ "recipient": {
+ "$ref": "#/$defs/legal_name"
+ },
+ "unit": {
+ "$ref": "#/$defs/unit"
+ }
+ },
+ "required": [
+ "kind",
+ "label",
+ "unit",
+ "decimals",
+ "method",
+ "recipient",
+ "account"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "account": {
+ "$ref": "#/$defs/account"
+ },
+ "country": {
+ "type": "string"
+ },
+ "instructions": {
+ "$ref": "#/$defs/instructions"
+ },
+ "kind": {
+ "enum": [
+ "fiat"
+ ]
+ },
+ "label": {
+ "$ref": "#/$defs/version"
+ },
+ "method": {
+ "enum": [
+ "bank_transfer",
+ "payment_service"
+ ]
+ },
+ "recipient": {
+ "$ref": "#/$defs/legal_name"
+ },
+ "unit": {
+ "$ref": "#/$defs/unit_2"
+ }
+ },
+ "required": [
+ "kind",
+ "label",
+ "unit",
+ "method",
+ "country",
+ "recipient",
+ "account"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "account": {
+ "$ref": "#/$defs/account"
+ },
+ "decimals": {
+ "maximum": 255,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "dti": {
+ "pattern": "^[1-9B-DF-HJ-NP-TV-XZ][0-9B-DF-HJ-NP-TV-XZ]{8}$",
+ "type": "string"
+ },
+ "instructions": {
+ "$ref": "#/$defs/instructions"
+ },
+ "kind": {
+ "enum": [
+ "crypto"
+ ]
+ },
+ "label": {
+ "$ref": "#/$defs/version"
+ },
+ "memo": {
+ "$ref": "#/$defs/account"
+ },
+ "network": {
+ "pattern": "^[-a-z0-9]{3,8}:[-_a-zA-Z0-9]{1,32}$",
+ "type": "string"
+ },
+ "recipient": {
+ "$ref": "#/$defs/legal_name"
+ },
+ "symbol": {
+ "maxLength": 24,
+ "minLength": 1,
+ "type": "string"
+ },
+ "unit": {
+ "$ref": "#/$defs/unit_3"
+ }
+ },
+ "required": [
+ "kind",
+ "label",
+ "unit",
+ "network",
+ "symbol",
+ "decimals",
+ "recipient",
+ "account"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "settlement_account_id": {
+ "$ref": "#/$defs/request_id"
+ },
+ "sha256": {
+ "$ref": "#/$defs/sha256"
+ },
+ "step": {},
+ "version": {
+ "$ref": "#/$defs/version"
+ }
+ },
+ "required": [
+ "action",
+ "step",
+ "request_id"
+ ],
+ "type": "object"
+ },
+ {
+ "oneOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "enum": [
+ "update"
+ ]
+ },
+ "agreement": {
+ "additionalProperties": false,
+ "minProperties": 7,
+ "properties": {
+ "age_18_or_over": {
+ "enum": [
+ true
+ ]
+ },
+ "authorized": {
+ "enum": [
+ true
+ ]
+ },
+ "electronic_consent": {
+ "enum": [
+ true
+ ]
+ },
+ "principal": {
+ "additionalProperties": false,
+ "properties": {
+ "country": {
+ "type": "string"
+ },
+ "legal_name": {
+ "$ref": "#/$defs/legal_name"
+ }
+ },
+ "required": [
+ "legal_name"
+ ],
+ "type": "object"
+ },
+ "public_history_consent": {
+ "enum": [
+ true
+ ]
+ },
+ "sha256": {
+ "$ref": "#/$defs/sha256"
+ },
+ "version": {
+ "$ref": "#/$defs/version"
+ }
+ },
+ "type": "object"
+ },
+ "avatar_id": {
+ "$ref": "#/$defs/avatar_id"
+ },
+ "bio": {
+ "$ref": "#/$defs/bio"
+ },
+ "expected_acceptance_id": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/request_id"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "expected_handle": {
+ "pattern": "^@?[A-Za-z0-9_-]{3,32}$",
+ "type": "string"
+ },
+ "expected_profile": {
+ "additionalProperties": false,
+ "minProperties": 3,
+ "properties": {
+ "avatar_id": {
+ "$ref": "#/$defs/avatar_id"
+ },
+ "bio": {
+ "$ref": "#/$defs/bio"
+ },
+ "website_url": {
+ "$ref": "#/$defs/website_url"
+ }
+ },
+ "type": "object"
+ },
+ "funding_accounts": {
+ "$ref": "#/$defs/funding_accounts"
+ },
+ "handle": {
+ "pattern": "^@?[A-Za-z0-9_-]{3,32}$",
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "details"
+ ]
+ },
+ "max_fee": {
+ "$ref": "#/$defs/max_fee"
+ },
+ "request_id": {
+ "$ref": "#/$defs/request_id"
+ },
+ "required_change_id": {
+ "$ref": "#/$defs/request_id"
+ },
+ "website_url": {
+ "$ref": "#/$defs/website_url"
+ }
+ },
+ "required": [
+ "request_id",
+ "expected_handle",
+ "expected_acceptance_id",
+ "action",
+ "kind"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "enum": [
+ "update"
+ ]
+ },
+ "avatar_id": {
+ "$ref": "#/$defs/avatar_id"
+ },
+ "bio": {
+ "$ref": "#/$defs/bio"
+ },
+ "funding_accounts": {
+ "$ref": "#/$defs/funding_accounts"
+ },
+ "kind": {
+ "enum": [
+ "profile"
+ ]
+ },
+ "line": {
+ "$ref": "#/$defs/line"
+ },
+ "max_fee": {
+ "$ref": "#/$defs/max_fee"
+ },
+ "name": {
+ "$ref": "#/$defs/method"
+ },
+ "paypal_email": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/email"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "paypal_gs_consent": {
+ "enum": [
+ true
+ ]
+ },
+ "request_id": {
+ "$ref": "#/$defs/request_id"
+ },
+ "required_change_id": {
+ "$ref": "#/$defs/request_id"
+ },
+ "telegram": {
+ "$ref": "#/$defs/line"
+ },
+ "website_url": {
+ "$ref": "#/$defs/website_url"
+ },
+ "whatsapp": {
+ "$ref": "#/$defs/line"
+ },
+ "x": {
+ "$ref": "#/$defs/line"
+ }
+ },
+ "required": [
+ "action",
+ "kind",
+ "request_id"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "oneOf": [
+ {
+ "properties": {
+ "operation": {
+ "enum": [
+ "save"
+ ]
+ }
+ },
+ "required": [
+ "name",
+ "max_price"
+ ]
+ },
+ {
+ "properties": {
+ "operation": {
+ "enum": [
+ "delete"
+ ]
+ }
+ },
+ "propertyNames": {
+ "enum": [
+ "request_id",
+ "wanted_id",
+ "expected_revision",
+ "action",
+ "kind",
+ "operation",
+ "funding_accounts",
+ "max_fee"
+ ]
+ },
+ "required": [
+ "wanted_id",
+ "expected_revision"
+ ]
+ }
+ ],
+ "properties": {
+ "action": {
+ "enum": [
+ "update"
+ ]
+ },
+ "currency": {
+ "$ref": "#/$defs/unit"
+ },
+ "expected_revision": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "expires_at": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "funding_accounts": {
+ "$ref": "#/$defs/funding_accounts"
+ },
+ "grader": {
+ "$ref": "#/$defs/name"
+ },
+ "kind": {
+ "enum": [
+ "wanted"
+ ]
+ },
+ "language": {
+ "$ref": "#/$defs/name"
+ },
+ "max_fee": {
+ "$ref": "#/$defs/max_fee"
+ },
+ "max_price": {
+ "pattern": "^(0|[1-9]\\d{0,19})(\\.\\d{1,255})?$",
+ "type": "string"
+ },
+ "min_grade": {
+ "pattern": "^(0|[1-9]\\d{0,19})(\\.\\d{1,255})?$",
+ "type": "string"
+ },
+ "name": {
+ "$ref": "#/$defs/name"
+ },
+ "number": {
+ "$ref": "#/$defs/name"
+ },
+ "operation": {},
+ "request_id": {
+ "$ref": "#/$defs/request_id"
+ },
+ "set": {
+ "$ref": "#/$defs/name"
+ },
+ "wanted_id": {
+ "$ref": "#/$defs/request_id"
+ }
+ },
+ "required": [
+ "request_id",
+ "action",
+ "kind",
+ "operation"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "action": {
+ "enum": [
+ "invite"
+ ]
+ },
+ "consent": {
+ "enum": [
+ true
+ ]
+ },
+ "email": {
+ "$ref": "#/$defs/email"
+ },
+ "funding_accounts": {
+ "$ref": "#/$defs/funding_accounts"
+ },
+ "max_fee": {
+ "$ref": "#/$defs/max_fee"
+ },
+ "request_id": {
+ "$ref": "#/$defs/request_id"
+ }
+ },
+ "required": [
+ "action",
+ "request_id",
+ "email",
+ "consent"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "oneOf": [
+ {
+ "properties": {
+ "auction_id": false,
+ "run_id": false,
+ "submission_id": false,
+ "view": {
+ "enum": [
+ "account",
+ "referrals"
+ ]
+ }
+ }
+ },
+ {
+ "properties": {
+ "auction_id": false,
+ "run_id": false,
+ "view": {
+ "enum": [
+ "submission"
+ ]
+ }
+ },
+ "required": [
+ "submission_id"
+ ]
+ },
+ {
+ "properties": {
+ "submission_id": false,
+ "view": {
+ "enum": [
+ "catalogue"
+ ]
+ }
+ },
+ "required": [
+ "auction_id",
+ "run_id"
+ ]
+ }
+ ],
+ "properties": {
+ "action": {
+ "enum": [
+ "link"
+ ]
+ },
+ "auction_id": {
+ "$ref": "#/$defs/request_id"
+ },
+ "funding_accounts": {
+ "$ref": "#/$defs/funding_accounts"
+ },
+ "max_fee": {
+ "$ref": "#/$defs/max_fee"
+ },
+ "run_id": {
+ "$ref": "#/$defs/request_id"
+ },
+ "submission_id": {
+ "$ref": "#/$defs/request_id"
+ },
+ "view": {}
+ },
+ "required": [
+ "action",
+ "view"
+ ],
+ "type": "object"
+ }
+]