{"format":1,"tools":[{"name":"account_get","inputSchema":{"type":"object","properties":{"view":{"anyOf":[{"type":"string","const":"profile"},{"type":"string","const":"statistics"},{"type":"string","const":"referral"},{"type":"string","const":"permissions"}]},"section":{"type":"string","enum":["all","summary","earnings","invited","payouts"]},"page":{"type":"integer","minimum":1,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":50}},"required":["view"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"view":{"type":"string","const":"profile"}},"required":["view"],"additionalProperties":false},{"type":"object","properties":{"view":{"type":"string","const":"statistics"}},"required":["view"],"additionalProperties":false},{"type":"object","properties":{"view":{"type":"string","const":"referral"},"section":{"type":"string","enum":["all","summary","earnings","invited","payouts"]},"page":{"type":"integer","minimum":1,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":50}},"required":["view"],"additionalProperties":false},{"type":"object","properties":{"view":{"type":"string","const":"permissions"}},"required":["view"],"additionalProperties":false}]},"outputSchema":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"client_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","maxLength":20},"username":{"type":"string","maxLength":128},"language":{"type":"string","pattern":"^[a-z]{2}$","maxLength":2},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"currency_switching_enabled":{"type":"boolean"},"timezone":{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":8},"label":{"type":"string","minLength":1,"maxLength":32},"uses_site_default":{"type":"boolean"}},"required":["value","label","uses_site_default"],"additionalProperties":false},"available_languages":{"type":"array","maxItems":32,"items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z]{2}$","maxLength":2},"name":{"type":"string","maxLength":64},"is_default":{"type":"boolean"}},"required":["code","name","is_default"],"additionalProperties":false}},"available_currencies":{"type":"array","maxItems":64,"items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"symbol":{"type":"string","maxLength":16},"is_accounting":{"type":"boolean"}},"required":["code","symbol","is_accounting"],"additionalProperties":false}},"navigation":{"type":"object","properties":{"links":{"type":"object","properties":{"login":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?login$"},"account":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?account$"}},"required":["login","account"],"additionalProperties":false},"method":{"type":"string","const":"GET"},"effect":{"type":"string","const":"none"},"browser_action_required":{"type":"boolean","const":true}},"required":["links","method","effect","browser_action_required"],"additionalProperties":false}},"required":["client_id","username","language","accounting_currency","display_currency","currency_switching_enabled","timezone","available_languages","available_currencies"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"client_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","maxLength":20},"username":{"type":"string","maxLength":128},"language":{"type":"string","pattern":"^[a-z]{2}$","maxLength":2},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"currency_switching_enabled":{"type":"boolean"},"timezone":{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":8},"label":{"type":"string","minLength":1,"maxLength":32},"uses_site_default":{"type":"boolean"}},"required":["value","label","uses_site_default"],"additionalProperties":false},"available_languages":{"type":"array","maxItems":32,"items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z]{2}$","maxLength":2},"name":{"type":"string","maxLength":64},"is_default":{"type":"boolean"}},"required":["code","name","is_default"],"additionalProperties":false}},"available_currencies":{"type":"array","maxItems":64,"items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"symbol":{"type":"string","maxLength":16},"is_accounting":{"type":"boolean"}},"required":["code","symbol","is_accounting"],"additionalProperties":false}},"navigation":{"type":"object","properties":{"links":{"type":"object","properties":{"login":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?login$"},"account":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?account$"}},"required":["login","account"],"additionalProperties":false},"method":{"type":"string","const":"GET"},"effect":{"type":"string","const":"none"},"browser_action_required":{"type":"boolean","const":true}},"required":["links","method","effect","browser_action_required"],"additionalProperties":false}},"required":["client_id","username","language","accounting_currency","display_currency","currency_switching_enabled","timezone","available_languages","available_currencies"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"client_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","maxLength":20},"username":{"type":"string","maxLength":128},"language":{"type":"string","pattern":"^[a-z]{2}$","maxLength":2},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"currency_switching_enabled":{"type":"boolean"},"timezone":{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":8},"label":{"type":"string","minLength":1,"maxLength":32},"uses_site_default":{"type":"boolean"}},"required":["value","label","uses_site_default"],"additionalProperties":false},"available_languages":{"type":"array","maxItems":32,"items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z]{2}$","maxLength":2},"name":{"type":"string","maxLength":64},"is_default":{"type":"boolean"}},"required":["code","name","is_default"],"additionalProperties":false}},"available_currencies":{"type":"array","maxItems":64,"items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"symbol":{"type":"string","maxLength":16},"is_accounting":{"type":"boolean"}},"required":["code","symbol","is_accounting"],"additionalProperties":false}},"navigation":{"type":"object","properties":{"links":{"type":"object","properties":{"login":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?login$"},"account":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?account$"}},"required":["login","account"],"additionalProperties":false},"method":{"type":"string","const":"GET"},"effect":{"type":"string","const":"none"},"browser_action_required":{"type":"boolean","const":true}},"required":["links","method","effect","browser_action_required"],"additionalProperties":false}},"required":["client_id","username","language","accounting_currency","display_currency","currency_switching_enabled","timezone","available_languages","available_currencies"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"total_orders":{"type":"integer","minimum":0},"paid_total":{"type":"string","pattern":"^[0-9]+\\.[0-9]{2}$","minLength":4,"maxLength":32},"paid_week":{"type":"string","pattern":"^[0-9]+\\.[0-9]{2}$","minLength":4,"maxLength":32},"status_counts":{"type":"object","properties":{"pending":{"type":"integer","minimum":0},"inprogress":{"type":"integer","minimum":0},"processing":{"type":"integer","minimum":0},"completed":{"type":"integer","minimum":0},"partial":{"type":"integer","minimum":0},"canceled":{"type":"integer","minimum":0},"other":{"type":"integer","minimum":0}},"required":["pending","inprogress","processing","completed","partial","canceled","other"],"additionalProperties":false},"daily":{"type":"array","minItems":7,"maxItems":7,"items":{"type":"object","properties":{"date":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","maxLength":10},"orders_count":{"type":"integer","minimum":0},"paid_amount":{"type":"string","pattern":"^[0-9]+\\.[0-9]{2}$","minLength":4,"maxLength":32},"currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3}},"required":["date","orders_count","paid_amount","currency"],"additionalProperties":false}},"recent_orders":{"type":"array","maxItems":6,"items":{"type":"object","properties":{"order_id":{"type":"string","pattern":"^[1-9][0-9]{0,17}$","minLength":1,"maxLength":18},"service_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,17}$","maxLength":18},"service_name":{"type":"string","maxLength":500},"status":{"type":"string","maxLength":32},"created_at":{"type":"string","maxLength":32},"paid_amount":{"type":"string","pattern":"^[0-9]+\\.[0-9]{2}$","minLength":4,"maxLength":32},"currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3}},"required":["order_id","service_id","service_name","status","created_at","paid_amount","currency"],"additionalProperties":false}},"tickets":{"type":"object","properties":{"total":{"type":"integer","minimum":0},"open_count":{"type":"integer","minimum":0}},"required":["total","open_count"],"additionalProperties":false},"navigation":{"type":"object","properties":{"links":{"type":"object","properties":{"login":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?login$"},"account":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?account$"}},"required":["login","account"],"additionalProperties":false},"method":{"type":"string","const":"GET"},"effect":{"type":"string","const":"none"},"browser_action_required":{"type":"boolean","const":true}},"required":["links","method","effect","browser_action_required"],"additionalProperties":false}},"required":["currency","total_orders","paid_total","paid_week","status_counts","daily","recent_orders","tickets"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"total_orders":{"type":"integer","minimum":0},"paid_total":{"type":"string","pattern":"^[0-9]+\\.[0-9]{2}$","minLength":4,"maxLength":32},"paid_week":{"type":"string","pattern":"^[0-9]+\\.[0-9]{2}$","minLength":4,"maxLength":32},"status_counts":{"type":"object","properties":{"pending":{"type":"integer","minimum":0},"inprogress":{"type":"integer","minimum":0},"processing":{"type":"integer","minimum":0},"completed":{"type":"integer","minimum":0},"partial":{"type":"integer","minimum":0},"canceled":{"type":"integer","minimum":0},"other":{"type":"integer","minimum":0}},"required":["pending","inprogress","processing","completed","partial","canceled","other"],"additionalProperties":false},"daily":{"type":"array","minItems":7,"maxItems":7,"items":{"type":"object","properties":{"date":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","maxLength":10},"orders_count":{"type":"integer","minimum":0},"paid_amount":{"type":"string","pattern":"^[0-9]+\\.[0-9]{2}$","minLength":4,"maxLength":32},"currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3}},"required":["date","orders_count","paid_amount","currency"],"additionalProperties":false}},"recent_orders":{"type":"array","maxItems":6,"items":{"type":"object","properties":{"order_id":{"type":"string","pattern":"^[1-9][0-9]{0,17}$","minLength":1,"maxLength":18},"service_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,17}$","maxLength":18},"service_name":{"type":"string","maxLength":500},"status":{"type":"string","maxLength":32},"created_at":{"type":"string","maxLength":32},"paid_amount":{"type":"string","pattern":"^[0-9]+\\.[0-9]{2}$","minLength":4,"maxLength":32},"currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3}},"required":["order_id","service_id","service_name","status","created_at","paid_amount","currency"],"additionalProperties":false}},"tickets":{"type":"object","properties":{"total":{"type":"integer","minimum":0},"open_count":{"type":"integer","minimum":0}},"required":["total","open_count"],"additionalProperties":false},"navigation":{"type":"object","properties":{"links":{"type":"object","properties":{"login":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?login$"},"account":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?account$"}},"required":["login","account"],"additionalProperties":false},"method":{"type":"string","const":"GET"},"effect":{"type":"string","const":"none"},"browser_action_required":{"type":"boolean","const":true}},"required":["links","method","effect","browser_action_required"],"additionalProperties":false}},"required":["currency","total_orders","paid_total","paid_week","status_counts","daily","recent_orders","tickets"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"total_orders":{"type":"integer","minimum":0},"paid_total":{"type":"string","pattern":"^[0-9]+\\.[0-9]{2}$","minLength":4,"maxLength":32},"paid_week":{"type":"string","pattern":"^[0-9]+\\.[0-9]{2}$","minLength":4,"maxLength":32},"status_counts":{"type":"object","properties":{"pending":{"type":"integer","minimum":0},"inprogress":{"type":"integer","minimum":0},"processing":{"type":"integer","minimum":0},"completed":{"type":"integer","minimum":0},"partial":{"type":"integer","minimum":0},"canceled":{"type":"integer","minimum":0},"other":{"type":"integer","minimum":0}},"required":["pending","inprogress","processing","completed","partial","canceled","other"],"additionalProperties":false},"daily":{"type":"array","minItems":7,"maxItems":7,"items":{"type":"object","properties":{"date":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","maxLength":10},"orders_count":{"type":"integer","minimum":0},"paid_amount":{"type":"string","pattern":"^[0-9]+\\.[0-9]{2}$","minLength":4,"maxLength":32},"currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3}},"required":["date","orders_count","paid_amount","currency"],"additionalProperties":false}},"recent_orders":{"type":"array","maxItems":6,"items":{"type":"object","properties":{"order_id":{"type":"string","pattern":"^[1-9][0-9]{0,17}$","minLength":1,"maxLength":18},"service_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,17}$","maxLength":18},"service_name":{"type":"string","maxLength":500},"status":{"type":"string","maxLength":32},"created_at":{"type":"string","maxLength":32},"paid_amount":{"type":"string","pattern":"^[0-9]+\\.[0-9]{2}$","minLength":4,"maxLength":32},"currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3}},"required":["order_id","service_id","service_name","status","created_at","paid_amount","currency"],"additionalProperties":false}},"tickets":{"type":"object","properties":{"total":{"type":"integer","minimum":0},"open_count":{"type":"integer","minimum":0}},"required":["total","open_count"],"additionalProperties":false},"navigation":{"type":"object","properties":{"links":{"type":"object","properties":{"login":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?login$"},"account":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?account$"}},"required":["login","account"],"additionalProperties":false},"method":{"type":"string","const":"GET"},"effect":{"type":"string","const":"none"},"browser_action_required":{"type":"boolean","const":true}},"required":["links","method","effect","browser_action_required"],"additionalProperties":false}},"required":["currency","total_orders","paid_total","paid_week","status_counts","daily","recent_orders","tickets"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"referral_code":{"type":["string","null"],"pattern":"^[A-Za-z0-9_-]{1,128}$","minLength":1,"maxLength":128},"referral_url":{"type":["string","null"],"minLength":8,"maxLength":512},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"conditions":{"type":"object","properties":{"commission_percent":{"type":"string","pattern":"^[0-9]{1,6}\\.[0-9]{2}$","minLength":4,"maxLength":16},"minimum_payout":{"type":"string","pattern":"^[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_minimum_payout":{"type":"string","pattern":"^[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"payout_methods":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["account_balance","external"]},"name":{"type":"string","minLength":1,"maxLength":128},"hint":{"type":"string","maxLength":256}},"required":["code","name","hint"],"additionalProperties":false},"maxItems":50}},"required":["commission_percent","minimum_payout","display_minimum_payout","payout_methods"],"additionalProperties":false},"balances_and_counters":{"type":"object","properties":{"referral_balance":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_referral_balance":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"total_profit":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_total_profit":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"month_profit":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_month_profit":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"total_referrals":{"type":"integer","minimum":0},"month_referrals":{"type":"integer","minimum":0}},"required":["referral_balance","display_referral_balance","total_profit","display_total_profit","month_profit","display_month_profit","total_referrals","month_referrals"],"additionalProperties":false},"earnings":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"referral_label":{"type":"string","minLength":1,"maxLength":64},"direction":{"type":"string","enum":["credit","debit"]},"signed_amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_signed_amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"created_at":{"type":["string","null"],"minLength":10,"maxLength":64}},"required":["referral_label","direction","signed_amount","display_signed_amount","created_at"],"additionalProperties":false},"maxItems":50},"page":{"type":"integer","minimum":1,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":50},"has_more":{"type":"boolean"}},"required":["items","page","limit","has_more"],"additionalProperties":false},"invited":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"referral_label":{"type":"string","minLength":1,"maxLength":64},"registered_at":{"type":["string","null"],"minLength":10,"maxLength":64}},"required":["referral_label","registered_at"],"additionalProperties":false},"maxItems":50},"page":{"type":"integer","minimum":1,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":50},"has_more":{"type":"boolean"}},"required":["items","page","limit","has_more"],"additionalProperties":false},"payouts":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"payout_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"method":{"type":"string","minLength":1,"maxLength":128},"amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"status":{"type":"string","enum":["processing","success","canceled","other"]},"created_at":{"type":["string","null"],"minLength":10,"maxLength":64},"processed_at":{"type":["string","null"],"minLength":10,"maxLength":64}},"required":["payout_id","method","amount","display_amount","status","created_at","processed_at"],"additionalProperties":false},"maxItems":50},"page":{"type":"integer","minimum":1,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":50},"has_more":{"type":"boolean"}},"required":["items","page","limit","has_more"],"additionalProperties":false},"navigation":{"type":"object","properties":{"links":{"type":"object","properties":{"login":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?login$"},"account":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?account$"}},"required":["login","account"],"additionalProperties":false},"method":{"type":"string","const":"GET"},"effect":{"type":"string","const":"none"},"browser_action_required":{"type":"boolean","const":true}},"required":["links","method","effect","browser_action_required"],"additionalProperties":false}},"required":["referral_code","referral_url","accounting_currency","display_currency","conditions","balances_and_counters","earnings","invited","payouts"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"referral_code":{"type":["string","null"],"pattern":"^[A-Za-z0-9_-]{1,128}$","minLength":1,"maxLength":128},"referral_url":{"type":["string","null"],"minLength":8,"maxLength":512},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"conditions":{"type":"object","properties":{"commission_percent":{"type":"string","pattern":"^[0-9]{1,6}\\.[0-9]{2}$","minLength":4,"maxLength":16},"minimum_payout":{"type":"string","pattern":"^[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_minimum_payout":{"type":"string","pattern":"^[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"payout_methods":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["account_balance","external"]},"name":{"type":"string","minLength":1,"maxLength":128},"hint":{"type":"string","maxLength":256}},"required":["code","name","hint"],"additionalProperties":false},"maxItems":50}},"required":["commission_percent","minimum_payout","display_minimum_payout","payout_methods"],"additionalProperties":false},"balances_and_counters":{"type":"object","properties":{"referral_balance":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_referral_balance":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"total_profit":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_total_profit":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"month_profit":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_month_profit":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"total_referrals":{"type":"integer","minimum":0},"month_referrals":{"type":"integer","minimum":0}},"required":["referral_balance","display_referral_balance","total_profit","display_total_profit","month_profit","display_month_profit","total_referrals","month_referrals"],"additionalProperties":false},"earnings":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"referral_label":{"type":"string","minLength":1,"maxLength":64},"direction":{"type":"string","enum":["credit","debit"]},"signed_amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_signed_amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"created_at":{"type":["string","null"],"minLength":10,"maxLength":64}},"required":["referral_label","direction","signed_amount","display_signed_amount","created_at"],"additionalProperties":false},"maxItems":50},"page":{"type":"integer","minimum":1,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":50},"has_more":{"type":"boolean"}},"required":["items","page","limit","has_more"],"additionalProperties":false},"invited":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"referral_label":{"type":"string","minLength":1,"maxLength":64},"registered_at":{"type":["string","null"],"minLength":10,"maxLength":64}},"required":["referral_label","registered_at"],"additionalProperties":false},"maxItems":50},"page":{"type":"integer","minimum":1,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":50},"has_more":{"type":"boolean"}},"required":["items","page","limit","has_more"],"additionalProperties":false},"payouts":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"payout_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"method":{"type":"string","minLength":1,"maxLength":128},"amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"status":{"type":"string","enum":["processing","success","canceled","other"]},"created_at":{"type":["string","null"],"minLength":10,"maxLength":64},"processed_at":{"type":["string","null"],"minLength":10,"maxLength":64}},"required":["payout_id","method","amount","display_amount","status","created_at","processed_at"],"additionalProperties":false},"maxItems":50},"page":{"type":"integer","minimum":1,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":50},"has_more":{"type":"boolean"}},"required":["items","page","limit","has_more"],"additionalProperties":false},"navigation":{"type":"object","properties":{"links":{"type":"object","properties":{"login":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?login$"},"account":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?account$"}},"required":["login","account"],"additionalProperties":false},"method":{"type":"string","const":"GET"},"effect":{"type":"string","const":"none"},"browser_action_required":{"type":"boolean","const":true}},"required":["links","method","effect","browser_action_required"],"additionalProperties":false}},"required":["referral_code","referral_url","accounting_currency","display_currency","conditions","balances_and_counters","earnings","invited","payouts"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"referral_code":{"type":["string","null"],"pattern":"^[A-Za-z0-9_-]{1,128}$","minLength":1,"maxLength":128},"referral_url":{"type":["string","null"],"minLength":8,"maxLength":512},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"conditions":{"type":"object","properties":{"commission_percent":{"type":"string","pattern":"^[0-9]{1,6}\\.[0-9]{2}$","minLength":4,"maxLength":16},"minimum_payout":{"type":"string","pattern":"^[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_minimum_payout":{"type":"string","pattern":"^[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"payout_methods":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["account_balance","external"]},"name":{"type":"string","minLength":1,"maxLength":128},"hint":{"type":"string","maxLength":256}},"required":["code","name","hint"],"additionalProperties":false},"maxItems":50}},"required":["commission_percent","minimum_payout","display_minimum_payout","payout_methods"],"additionalProperties":false},"balances_and_counters":{"type":"object","properties":{"referral_balance":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_referral_balance":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"total_profit":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_total_profit":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"month_profit":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_month_profit":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"total_referrals":{"type":"integer","minimum":0},"month_referrals":{"type":"integer","minimum":0}},"required":["referral_balance","display_referral_balance","total_profit","display_total_profit","month_profit","display_month_profit","total_referrals","month_referrals"],"additionalProperties":false},"earnings":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"referral_label":{"type":"string","minLength":1,"maxLength":64},"direction":{"type":"string","enum":["credit","debit"]},"signed_amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_signed_amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"created_at":{"type":["string","null"],"minLength":10,"maxLength":64}},"required":["referral_label","direction","signed_amount","display_signed_amount","created_at"],"additionalProperties":false},"maxItems":50},"page":{"type":"integer","minimum":1,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":50},"has_more":{"type":"boolean"}},"required":["items","page","limit","has_more"],"additionalProperties":false},"invited":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"referral_label":{"type":"string","minLength":1,"maxLength":64},"registered_at":{"type":["string","null"],"minLength":10,"maxLength":64}},"required":["referral_label","registered_at"],"additionalProperties":false},"maxItems":50},"page":{"type":"integer","minimum":1,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":50},"has_more":{"type":"boolean"}},"required":["items","page","limit","has_more"],"additionalProperties":false},"payouts":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"payout_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"method":{"type":"string","minLength":1,"maxLength":128},"amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"status":{"type":"string","enum":["processing","success","canceled","other"]},"created_at":{"type":["string","null"],"minLength":10,"maxLength":64},"processed_at":{"type":["string","null"],"minLength":10,"maxLength":64}},"required":["payout_id","method","amount","display_amount","status","created_at","processed_at"],"additionalProperties":false},"maxItems":50},"page":{"type":"integer","minimum":1,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":50},"has_more":{"type":"boolean"}},"required":["items","page","limit","has_more"],"additionalProperties":false},"navigation":{"type":"object","properties":{"links":{"type":"object","properties":{"login":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?login$"},"account":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?account$"}},"required":["login","account"],"additionalProperties":false},"method":{"type":"string","const":"GET"},"effect":{"type":"string","const":"none"},"browser_action_required":{"type":"boolean","const":true}},"required":["links","method","effect","browser_action_required"],"additionalProperties":false}},"required":["referral_code","referral_url","accounting_currency","display_currency","conditions","balances_and_counters","earnings","invited","payouts"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"observation":{"type":"string","const":"request"},"effect":{"type":"string","const":"none"},"tools":{"type":"array","maxItems":128,"items":{"type":"object","properties":{"name":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"capability_ids":{"type":"array","maxItems":128,"items":{"type":"string","pattern":"^[a-z][a-z0-9_.]{0,127}$"}},"state":{"type":"string","enum":["callable","conditional","browser_only","unavailable"]},"reason_codes":{"type":"array","items":{"type":"string","enum":["scope_required","site_disabled","not_ready","activation_required","personal_browser_required","personal_confirmation_required","argument_validation_required","future_purchase_not_authorized","not_supported","unavailable"]},"maxItems":8}},"required":["name","capability_ids","state","reason_codes"],"additionalProperties":false}},"groups":{"type":"array","maxItems":8,"items":{"type":"object","properties":{"group":{"type":"string","enum":["orders","lifecycle","recurring","webhooks","webhook_create","export","browser_handoffs"]},"state":{"type":"string","enum":["callable","conditional","browser_only","unavailable"]},"reason_codes":{"type":"array","items":{"type":"string","enum":["scope_required","site_disabled","not_ready","activation_required","personal_browser_required","personal_confirmation_required","argument_validation_required","future_purchase_not_authorized","not_supported","unavailable"]},"maxItems":8}},"required":["group","state","reason_codes"],"additionalProperties":false}},"limits":{"type":"array","maxItems":8,"items":{"type":"string","enum":["future_purchase_not_authorized","subscription_future_only","personal_confirmation_required","activation_required"]}},"navigation":{"type":"object","properties":{"links":{"type":"object","properties":{"login":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?login$"},"account":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?account$"}},"required":["login","account"],"additionalProperties":false},"method":{"type":"string","const":"GET"},"effect":{"type":"string","const":"none"},"browser_action_required":{"type":"boolean","const":true}},"required":["links","method","effect","browser_action_required"],"additionalProperties":false}},"required":["observation","effect","tools","groups","limits"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":"null"},"state":{"type":"null"}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"observation":{"type":"string","const":"request"},"effect":{"type":"string","const":"none"},"tools":{"type":"array","maxItems":128,"items":{"type":"object","properties":{"name":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"capability_ids":{"type":"array","maxItems":128,"items":{"type":"string","pattern":"^[a-z][a-z0-9_.]{0,127}$"}},"state":{"type":"string","enum":["callable","conditional","browser_only","unavailable"]},"reason_codes":{"type":"array","items":{"type":"string","enum":["scope_required","site_disabled","not_ready","activation_required","personal_browser_required","personal_confirmation_required","argument_validation_required","future_purchase_not_authorized","not_supported","unavailable"]},"maxItems":8}},"required":["name","capability_ids","state","reason_codes"],"additionalProperties":false}},"groups":{"type":"array","maxItems":8,"items":{"type":"object","properties":{"group":{"type":"string","enum":["orders","lifecycle","recurring","webhooks","webhook_create","export","browser_handoffs"]},"state":{"type":"string","enum":["callable","conditional","browser_only","unavailable"]},"reason_codes":{"type":"array","items":{"type":"string","enum":["scope_required","site_disabled","not_ready","activation_required","personal_browser_required","personal_confirmation_required","argument_validation_required","future_purchase_not_authorized","not_supported","unavailable"]},"maxItems":8}},"required":["group","state","reason_codes"],"additionalProperties":false}},"limits":{"type":"array","maxItems":8,"items":{"type":"string","enum":["future_purchase_not_authorized","subscription_future_only","personal_confirmation_required","activation_required"]}},"navigation":{"type":"object","properties":{"links":{"type":"object","properties":{"login":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?login$"},"account":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?account$"}},"required":["login","account"],"additionalProperties":false},"method":{"type":"string","const":"GET"},"effect":{"type":"string","const":"none"},"browser_action_required":{"type":"boolean","const":true}},"required":["links","method","effect","browser_action_required"],"additionalProperties":false}},"required":["observation","effect","tools","groups","limits"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":"null"},"state":{"type":"null"}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"observation":{"type":"string","const":"request"},"effect":{"type":"string","const":"none"},"tools":{"type":"array","maxItems":128,"items":{"type":"object","properties":{"name":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"capability_ids":{"type":"array","maxItems":128,"items":{"type":"string","pattern":"^[a-z][a-z0-9_.]{0,127}$"}},"state":{"type":"string","enum":["callable","conditional","browser_only","unavailable"]},"reason_codes":{"type":"array","items":{"type":"string","enum":["scope_required","site_disabled","not_ready","activation_required","personal_browser_required","personal_confirmation_required","argument_validation_required","future_purchase_not_authorized","not_supported","unavailable"]},"maxItems":8}},"required":["name","capability_ids","state","reason_codes"],"additionalProperties":false}},"groups":{"type":"array","maxItems":8,"items":{"type":"object","properties":{"group":{"type":"string","enum":["orders","lifecycle","recurring","webhooks","webhook_create","export","browser_handoffs"]},"state":{"type":"string","enum":["callable","conditional","browser_only","unavailable"]},"reason_codes":{"type":"array","items":{"type":"string","enum":["scope_required","site_disabled","not_ready","activation_required","personal_browser_required","personal_confirmation_required","argument_validation_required","future_purchase_not_authorized","not_supported","unavailable"]},"maxItems":8}},"required":["group","state","reason_codes"],"additionalProperties":false}},"limits":{"type":"array","maxItems":8,"items":{"type":"string","enum":["future_purchase_not_authorized","subscription_future_only","personal_confirmation_required","activation_required"]}},"navigation":{"type":"object","properties":{"links":{"type":"object","properties":{"login":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?login$"},"account":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?account$"}},"required":["login","account"],"additionalProperties":false},"method":{"type":"string","const":"GET"},"effect":{"type":"string","const":"none"},"browser_action_required":{"type":"boolean","const":true}},"required":["links","method","effect","browser_action_required"],"additionalProperties":false}},"required":["observation","effect","tools","groups","limits"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":"null"},"state":{"type":"null"}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]}]},"required_scopes":[],"scope_options":{"profile":["profile.read"],"statistics":["profile.read"],"referral":["referral.read"],"permissions":["balance.read"]},"risk":"read","description":"Read an account section with its own permission and links to sign in or open your account; never signs in."},{"name":"balance_summary","inputSchema":{"type":"object","properties":{"limit":{"type":"integer","minimum":1,"maximum":50}},"required":[],"additionalProperties":false},"outputSchema":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"balance":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_balance":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"spent":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_spent":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32}},"required":["balance","accounting_currency","display_balance","display_currency","spent","display_spent"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"balance":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_balance":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"spent":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_spent":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32}},"required":["balance","accounting_currency","display_balance","display_currency","spent","display_spent"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"balance":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_balance":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"spent":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_spent":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32}},"required":["balance","accounting_currency","display_balance","display_currency","spent","display_spent"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"signup_bonus":{"type":"object","properties":{"granted":{"type":"boolean"},"amount":{"type":["string","null"],"pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_amount":{"type":["string","null"],"pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"granted_at":{"type":["string","null"],"minLength":10,"maxLength":64},"history_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20}},"required":["granted","amount","display_amount","granted_at","history_id"],"additionalProperties":false},"payment_bonuses":{"type":"object","properties":{"split_tracking_available":{"type":"boolean"},"recorded_total":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_recorded_total":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"items":{"type":"array","items":{"type":"object","properties":{"history_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"payment_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"created_at":{"type":["string","null"],"minLength":10,"maxLength":64}},"required":["history_id","payment_id","amount","display_amount","created_at"],"additionalProperties":false},"maxItems":50}},"required":["split_tracking_available","recorded_total","display_recorded_total","items"],"additionalProperties":false},"active_deposit_tiers":{"type":"array","items":{"type":"object","properties":{"method_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"method_name":{"type":"string","minLength":1,"maxLength":256},"min_deposit_amount":{"type":"string","pattern":"^[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_min_deposit_amount":{"type":"string","pattern":"^[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"bonus_percent":{"type":"string","pattern":"^[0-9]{1,6}\\.[0-9]{2}$","minLength":4,"maxLength":16}},"required":["method_id","method_name","min_deposit_amount","display_min_deposit_amount","bonus_percent"],"additionalProperties":false},"maxItems":100}},"required":["accounting_currency","display_currency","signup_bonus","payment_bonuses","active_deposit_tiers"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"signup_bonus":{"type":"object","properties":{"granted":{"type":"boolean"},"amount":{"type":["string","null"],"pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_amount":{"type":["string","null"],"pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"granted_at":{"type":["string","null"],"minLength":10,"maxLength":64},"history_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20}},"required":["granted","amount","display_amount","granted_at","history_id"],"additionalProperties":false},"payment_bonuses":{"type":"object","properties":{"split_tracking_available":{"type":"boolean"},"recorded_total":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_recorded_total":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"items":{"type":"array","items":{"type":"object","properties":{"history_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"payment_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"created_at":{"type":["string","null"],"minLength":10,"maxLength":64}},"required":["history_id","payment_id","amount","display_amount","created_at"],"additionalProperties":false},"maxItems":50}},"required":["split_tracking_available","recorded_total","display_recorded_total","items"],"additionalProperties":false},"active_deposit_tiers":{"type":"array","items":{"type":"object","properties":{"method_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"method_name":{"type":"string","minLength":1,"maxLength":256},"min_deposit_amount":{"type":"string","pattern":"^[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_min_deposit_amount":{"type":"string","pattern":"^[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"bonus_percent":{"type":"string","pattern":"^[0-9]{1,6}\\.[0-9]{2}$","minLength":4,"maxLength":16}},"required":["method_id","method_name","min_deposit_amount","display_min_deposit_amount","bonus_percent"],"additionalProperties":false},"maxItems":100}},"required":["accounting_currency","display_currency","signup_bonus","payment_bonuses","active_deposit_tiers"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"signup_bonus":{"type":"object","properties":{"granted":{"type":"boolean"},"amount":{"type":["string","null"],"pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_amount":{"type":["string","null"],"pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"granted_at":{"type":["string","null"],"minLength":10,"maxLength":64},"history_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20}},"required":["granted","amount","display_amount","granted_at","history_id"],"additionalProperties":false},"payment_bonuses":{"type":"object","properties":{"split_tracking_available":{"type":"boolean"},"recorded_total":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_recorded_total":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"items":{"type":"array","items":{"type":"object","properties":{"history_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"payment_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"created_at":{"type":["string","null"],"minLength":10,"maxLength":64}},"required":["history_id","payment_id","amount","display_amount","created_at"],"additionalProperties":false},"maxItems":50}},"required":["split_tracking_available","recorded_total","display_recorded_total","items"],"additionalProperties":false},"active_deposit_tiers":{"type":"array","items":{"type":"object","properties":{"method_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"method_name":{"type":"string","minLength":1,"maxLength":256},"min_deposit_amount":{"type":"string","pattern":"^[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_min_deposit_amount":{"type":"string","pattern":"^[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"bonus_percent":{"type":"string","pattern":"^[0-9]{1,6}\\.[0-9]{2}$","minLength":4,"maxLength":16}},"required":["method_id","method_name","min_deposit_amount","display_min_deposit_amount","bonus_percent"],"additionalProperties":false},"maxItems":100}},"required":["accounting_currency","display_currency","signup_bonus","payment_bonuses","active_deposit_tiers"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"balance_get":{"type":"object","properties":{"balance":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_balance":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"spent":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_spent":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32}},"required":["balance","accounting_currency","display_balance","display_currency","spent","display_spent"],"additionalProperties":false},"balance_bonuses_get":{"type":"object","properties":{"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"signup_bonus":{"type":"object","properties":{"granted":{"type":"boolean"},"amount":{"type":["string","null"],"pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_amount":{"type":["string","null"],"pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"granted_at":{"type":["string","null"],"minLength":10,"maxLength":64},"history_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20}},"required":["granted","amount","display_amount","granted_at","history_id"],"additionalProperties":false},"payment_bonuses":{"type":"object","properties":{"split_tracking_available":{"type":"boolean"},"recorded_total":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_recorded_total":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"items":{"type":"array","items":{"type":"object","properties":{"history_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"payment_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"created_at":{"type":["string","null"],"minLength":10,"maxLength":64}},"required":["history_id","payment_id","amount","display_amount","created_at"],"additionalProperties":false},"maxItems":50}},"required":["split_tracking_available","recorded_total","display_recorded_total","items"],"additionalProperties":false},"active_deposit_tiers":{"type":"array","items":{"type":"object","properties":{"method_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"method_name":{"type":"string","minLength":1,"maxLength":256},"min_deposit_amount":{"type":"string","pattern":"^[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_min_deposit_amount":{"type":"string","pattern":"^[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"bonus_percent":{"type":"string","pattern":"^[0-9]{1,6}\\.[0-9]{2}$","minLength":4,"maxLength":16}},"required":["method_id","method_name","min_deposit_amount","display_min_deposit_amount","bonus_percent"],"additionalProperties":false},"maxItems":100}},"required":["accounting_currency","display_currency","signup_bonus","payment_bonuses","active_deposit_tiers"],"additionalProperties":false}},"required":["balance_get","balance_bonuses_get"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"balance_get":{"type":"object","properties":{"balance":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_balance":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"spent":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_spent":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32}},"required":["balance","accounting_currency","display_balance","display_currency","spent","display_spent"],"additionalProperties":false},"balance_bonuses_get":{"type":"object","properties":{"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"signup_bonus":{"type":"object","properties":{"granted":{"type":"boolean"},"amount":{"type":["string","null"],"pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_amount":{"type":["string","null"],"pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"granted_at":{"type":["string","null"],"minLength":10,"maxLength":64},"history_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20}},"required":["granted","amount","display_amount","granted_at","history_id"],"additionalProperties":false},"payment_bonuses":{"type":"object","properties":{"split_tracking_available":{"type":"boolean"},"recorded_total":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_recorded_total":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"items":{"type":"array","items":{"type":"object","properties":{"history_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"payment_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"created_at":{"type":["string","null"],"minLength":10,"maxLength":64}},"required":["history_id","payment_id","amount","display_amount","created_at"],"additionalProperties":false},"maxItems":50}},"required":["split_tracking_available","recorded_total","display_recorded_total","items"],"additionalProperties":false},"active_deposit_tiers":{"type":"array","items":{"type":"object","properties":{"method_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"method_name":{"type":"string","minLength":1,"maxLength":256},"min_deposit_amount":{"type":"string","pattern":"^[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_min_deposit_amount":{"type":"string","pattern":"^[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"bonus_percent":{"type":"string","pattern":"^[0-9]{1,6}\\.[0-9]{2}$","minLength":4,"maxLength":16}},"required":["method_id","method_name","min_deposit_amount","display_min_deposit_amount","bonus_percent"],"additionalProperties":false},"maxItems":100}},"required":["accounting_currency","display_currency","signup_bonus","payment_bonuses","active_deposit_tiers"],"additionalProperties":false}},"required":["balance_get","balance_bonuses_get"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"balance_get":{"type":"object","properties":{"balance":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_balance":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"spent":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_spent":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32}},"required":["balance","accounting_currency","display_balance","display_currency","spent","display_spent"],"additionalProperties":false},"balance_bonuses_get":{"type":"object","properties":{"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"signup_bonus":{"type":"object","properties":{"granted":{"type":"boolean"},"amount":{"type":["string","null"],"pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_amount":{"type":["string","null"],"pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"granted_at":{"type":["string","null"],"minLength":10,"maxLength":64},"history_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20}},"required":["granted","amount","display_amount","granted_at","history_id"],"additionalProperties":false},"payment_bonuses":{"type":"object","properties":{"split_tracking_available":{"type":"boolean"},"recorded_total":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_recorded_total":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"items":{"type":"array","items":{"type":"object","properties":{"history_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"payment_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"created_at":{"type":["string","null"],"minLength":10,"maxLength":64}},"required":["history_id","payment_id","amount","display_amount","created_at"],"additionalProperties":false},"maxItems":50}},"required":["split_tracking_available","recorded_total","display_recorded_total","items"],"additionalProperties":false},"active_deposit_tiers":{"type":"array","items":{"type":"object","properties":{"method_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"method_name":{"type":"string","minLength":1,"maxLength":256},"min_deposit_amount":{"type":"string","pattern":"^[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_min_deposit_amount":{"type":"string","pattern":"^[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"bonus_percent":{"type":"string","pattern":"^[0-9]{1,6}\\.[0-9]{2}$","minLength":4,"maxLength":16}},"required":["method_id","method_name","min_deposit_amount","display_min_deposit_amount","bonus_percent"],"additionalProperties":false},"maxItems":100}},"required":["accounting_currency","display_currency","signup_bonus","payment_bonuses","active_deposit_tiers"],"additionalProperties":false}},"required":["balance_get","balance_bonuses_get"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]}]},"required_scopes":["balance.read"],"scope_options":{"summary":["balance.read"]},"risk":"read","description":"Read balance and bonus terms together."},{"name":"basket_add","inputSchema":{"type":"object","properties":{"mutation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"fields":{"type":"object","properties":{"link":{"type":"string","maxLength":65536},"quantity":{"type":"string","maxLength":65536},"comments":{"type":"string","maxLength":65536},"answer_number":{"type":"string","maxLength":65536},"media":{"type":"string","maxLength":65536},"hashtag":{"type":"string","maxLength":65536},"hashtags":{"type":"string","maxLength":65536},"username":{"type":"string","maxLength":65536},"usernames":{"type":"string","maxLength":65536},"keywords":{"type":"string","maxLength":65536},"groups":{"type":"string","maxLength":65536},"country":{"type":"string","maxLength":65536},"device":{"type":"string","maxLength":65536},"type_of_traffic":{"type":"string","maxLength":65536},"google_keyword":{"type":"string","maxLength":65536},"referring_url":{"type":"string","maxLength":65536},"expiry":{"type":"string","maxLength":65536},"delay":{"type":"string","maxLength":65536},"delay_type":{"type":"string","maxLength":65536},"posts_min":{"type":"string","maxLength":65536},"posts_max":{"type":"string","maxLength":65536},"quantity_range_min":{"type":"string","maxLength":65536},"quantity_range_max":{"type":"string","maxLength":65536},"agreeGiveguaranteeCheckbox":{"type":"string","maxLength":65536},"runs":{"type":"string","maxLength":65536},"interval":{"type":"string","maxLength":65536},"interval_time":{"type":"string","maxLength":65536},"check":{"type":"string","maxLength":65536},"additional_field":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^field_[0-9]+$","maxLength":128},"value":{"anyOf":[{"type":"string","maxLength":65536},{"type":"array","items":{"type":"string","maxLength":65536},"maxItems":256}]}},"required":["name","value"],"additionalProperties":false},"maxItems":128},"only_manual_additional_field":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^field_[0-9]+$","maxLength":128},"type":{"type":"string","enum":["input_line","textarea_line","radio_line"]},"value":{"type":"string","maxLength":65536},"options":{"type":"object","properties":{"value":{"anyOf":[{"type":"string","maxLength":65536},{"type":"array","items":{"type":"string","maxLength":65536},"maxItems":256}]}},"required":[],"additionalProperties":false}},"required":["name","type"],"additionalProperties":false},"maxItems":128}},"required":["link"],"additionalProperties":false}},"required":["mutation_id","service_id","fields"],"additionalProperties":false,"description":"Add an item to the real account basket. Requires basket.write and available storage; no balance charge or provider order. The customer reviews and checks out the basket on the website. Reuse mutation_id on retry."},"outputSchema":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"item_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"},"item_revision":{"type":["string","null"],"pattern":"^[a-f0-9]{64}$"},"outcome":{"type":"string","enum":["added","duplicate","limit","removed","not_found","conflict","busy"]},"replayed":{"type":"boolean"}},"required":["item_id","item_revision","outcome","replayed"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"item_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"},"item_revision":{"type":["string","null"],"pattern":"^[a-f0-9]{64}$"},"outcome":{"type":"string","enum":["added","duplicate","limit","removed","not_found","conflict","busy"]},"replayed":{"type":"boolean"}},"required":["item_id","item_revision","outcome","replayed"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"item_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"},"item_revision":{"type":["string","null"],"pattern":"^[a-f0-9]{64}$"},"outcome":{"type":"string","enum":["added","duplicate","limit","removed","not_found","conflict","busy"]},"replayed":{"type":"boolean"}},"required":["item_id","item_revision","outcome","replayed"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},"required_scopes":["basket.write"],"risk":"write","description":"Add a service to the website basket without buying; reuse mutation_id on retry."},{"name":"basket_checkout","inputSchema":{"type":"object","properties":{"checkout_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"basket_quote_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["checkout_id","basket_quote_id"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"basket_quote_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"checkout_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"selection_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"state":{"type":"string","enum":["completed","partial","pending","unknown"]},"items":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"object","properties":{"item_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"state":{"type":"string","enum":["excluded","not_started","processing","succeeded","partial","failed","unknown","manual_reconciliation"]},"operation_id":{"type":["string","null"],"maxLength":128},"order_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"},"code":{"type":"string"},"amount_spent":{"type":["string","null"],"pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"}},"required":["item_id","state","operation_id","order_id","code","amount_spent"],"additionalProperties":false}},"known_spent":{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"has_unknown":{"type":"boolean"},"total_spent":{"type":["string","null"],"pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"continuation_required":{"type":"boolean"}},"required":["basket_quote_id","checkout_id","selection_hash","state","items","known_spent","has_unknown","total_spent","continuation_required"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"basket_quote_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"checkout_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"selection_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"state":{"type":"string","enum":["completed","partial","pending","unknown"]},"items":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"object","properties":{"item_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"state":{"type":"string","enum":["excluded","not_started","processing","succeeded","partial","failed","unknown","manual_reconciliation"]},"operation_id":{"type":["string","null"],"maxLength":128},"order_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"},"code":{"type":"string"},"amount_spent":{"type":["string","null"],"pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"}},"required":["item_id","state","operation_id","order_id","code","amount_spent"],"additionalProperties":false}},"known_spent":{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"has_unknown":{"type":"boolean"},"total_spent":{"type":["string","null"],"pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"continuation_required":{"type":"boolean"}},"required":["basket_quote_id","checkout_id","selection_hash","state","items","known_spent","has_unknown","total_spent","continuation_required"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"basket_quote_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"checkout_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"selection_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"state":{"type":"string","enum":["completed","partial","pending","unknown"]},"items":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"object","properties":{"item_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"state":{"type":"string","enum":["excluded","not_started","processing","succeeded","partial","failed","unknown","manual_reconciliation"]},"operation_id":{"type":["string","null"],"maxLength":128},"order_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"},"code":{"type":"string"},"amount_spent":{"type":["string","null"],"pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"}},"required":["item_id","state","operation_id","order_id","code","amount_spent"],"additionalProperties":false}},"known_spent":{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"has_unknown":{"type":"boolean"},"total_spent":{"type":["string","null"],"pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"continuation_required":{"type":"boolean"}},"required":["basket_quote_id","checkout_id","selection_hash","state","items","known_spent","has_unknown","total_spent","continuation_required"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},"required_scopes":["basket.write","orders.write"],"risk":"money","description":"Buy a quoted basket with current approval; reuse checkout_id on retry."},{"name":"basket_get","inputSchema":{"type":"object","properties":{"reprice_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"items":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"object","properties":{"item_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"expected_revision":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["item_id","expected_revision"],"additionalProperties":false}}},"required":[],"additionalProperties":false,"oneOf":[{"type":"object","properties":{},"required":[],"additionalProperties":false},{"type":"object","properties":{"reprice_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"items":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"object","properties":{"item_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"expected_revision":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["item_id","expected_revision"],"additionalProperties":false}}},"required":["reprice_id","items"],"additionalProperties":false}]},"outputSchema":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"item_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"status":{"type":"string","enum":["cart","processing"]},"item_revision":{"type":"string","pattern":"^[a-f0-9]{64}$"},"service_name":{"type":"string"},"link":{"type":"string"},"quantity":{"type":"string","pattern":"^[0-9]+$"},"details":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"value":{"type":"string"}},"required":["name","value"],"additionalProperties":false},"maxItems":32},"price":{"type":"string","pattern":"^[0-9]+(\\.[0-9]{1,7})?$"},"edit_url":{"type":"string","pattern":"^/neworder/[1-9][0-9]*$"}},"required":["item_id","service_id","status","item_revision","service_name","link","quantity","details","price","edit_url"],"additionalProperties":false},"maxItems":100},"item_count":{"type":"integer","minimum":0,"maximum":100},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"navigation":{"type":"object","properties":{"links":{"type":"object","properties":{"basket":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?basket$"}},"required":["basket"],"additionalProperties":false},"method":{"type":"string","const":"GET"},"effect":{"type":"string","const":"none"},"browser_action_required":{"type":"boolean","const":true}},"required":["links","method","effect","browser_action_required"],"additionalProperties":false}},"required":["items","item_count","accounting_currency","display_currency"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"item_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"status":{"type":"string","enum":["cart","processing"]},"item_revision":{"type":"string","pattern":"^[a-f0-9]{64}$"},"service_name":{"type":"string"},"link":{"type":"string"},"quantity":{"type":"string","pattern":"^[0-9]+$"},"details":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"value":{"type":"string"}},"required":["name","value"],"additionalProperties":false},"maxItems":32},"price":{"type":"string","pattern":"^[0-9]+(\\.[0-9]{1,7})?$"},"edit_url":{"type":"string","pattern":"^/neworder/[1-9][0-9]*$"}},"required":["item_id","service_id","status","item_revision","service_name","link","quantity","details","price","edit_url"],"additionalProperties":false},"maxItems":100},"item_count":{"type":"integer","minimum":0,"maximum":100},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"navigation":{"type":"object","properties":{"links":{"type":"object","properties":{"basket":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?basket$"}},"required":["basket"],"additionalProperties":false},"method":{"type":"string","const":"GET"},"effect":{"type":"string","const":"none"},"browser_action_required":{"type":"boolean","const":true}},"required":["links","method","effect","browser_action_required"],"additionalProperties":false}},"required":["items","item_count","accounting_currency","display_currency"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"item_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"status":{"type":"string","enum":["cart","processing"]},"item_revision":{"type":"string","pattern":"^[a-f0-9]{64}$"},"service_name":{"type":"string"},"link":{"type":"string"},"quantity":{"type":"string","pattern":"^[0-9]+$"},"details":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"value":{"type":"string"}},"required":["name","value"],"additionalProperties":false},"maxItems":32},"price":{"type":"string","pattern":"^[0-9]+(\\.[0-9]{1,7})?$"},"edit_url":{"type":"string","pattern":"^/neworder/[1-9][0-9]*$"}},"required":["item_id","service_id","status","item_revision","service_name","link","quantity","details","price","edit_url"],"additionalProperties":false},"maxItems":100},"item_count":{"type":"integer","minimum":0,"maximum":100},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"navigation":{"type":"object","properties":{"links":{"type":"object","properties":{"basket":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?basket$"}},"required":["basket"],"additionalProperties":false},"method":{"type":"string","const":"GET"},"effect":{"type":"string","const":"none"},"browser_action_required":{"type":"boolean","const":true}},"required":["links","method","effect","browser_action_required"],"additionalProperties":false}},"required":["items","item_count","accounting_currency","display_currency"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"basket_quote_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"selection_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"expires_at":{"type":"string"},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"ready_total":{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"items":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"object","properties":{"item_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"service_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"},"input_revision":{"type":"string","pattern":"^[a-f0-9]{64}$"},"item_revision":{"type":["string","null"],"pattern":"^[a-f0-9]{64}$"},"state":{"type":"string","enum":["ready","excluded"]},"reason":{"type":["string","null"],"maxLength":128},"price_before":{"type":["string","null"],"pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"price_after":{"type":["string","null"],"pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"price_changed":{"type":"boolean"},"quote":{"type":["object","null"],"properties":{"quote_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"snapshot_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"created_at":{"type":"string"},"expires_at":{"type":"string"},"calculation":{"type":"object","properties":{"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"package":{"type":"string"},"status":{"type":"string","enum":["incomplete","calculated"]},"quantity":{"type":["string","null"]},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":100},"errors":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"}},"required":["code"],"additionalProperties":false},"maxItems":100},"amount_now":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"display_amount":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"future_commitment":{"type":"object","properties":{"kind":{"type":"string","enum":["none","subscription"]},"amount":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"price_fixed":{"type":"boolean"}},"required":["kind","amount","currency","price_fixed"],"additionalProperties":false},"readiness_checked":{"type":"boolean"},"committable":{"type":"boolean"}},"required":["service_id","package","status","quantity","required_missing","errors","amount_now","accounting_currency","display_amount","display_currency","future_commitment","readiness_checked","committable"],"additionalProperties":false},"warnings":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":100},"committable":{"type":"boolean"}},"required":["quote_id","snapshot_hash","created_at","expires_at","calculation","warnings","committable"],"additionalProperties":false},"operation_id":{"type":["string","null"],"maxLength":128}},"required":["item_id","service_id","input_revision","item_revision","state","reason","price_before","price_after","price_changed","quote","operation_id"],"additionalProperties":false}},"navigation":{"type":"object","properties":{"links":{"type":"object","properties":{"basket":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?basket$"}},"required":["basket"],"additionalProperties":false},"method":{"type":"string","const":"GET"},"effect":{"type":"string","const":"none"},"browser_action_required":{"type":"boolean","const":true}},"required":["links","method","effect","browser_action_required"],"additionalProperties":false}},"required":["basket_quote_id","selection_hash","expires_at","accounting_currency","ready_total","items"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"basket_quote_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"selection_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"expires_at":{"type":"string"},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"ready_total":{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"items":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"object","properties":{"item_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"service_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"},"input_revision":{"type":"string","pattern":"^[a-f0-9]{64}$"},"item_revision":{"type":["string","null"],"pattern":"^[a-f0-9]{64}$"},"state":{"type":"string","enum":["ready","excluded"]},"reason":{"type":["string","null"],"maxLength":128},"price_before":{"type":["string","null"],"pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"price_after":{"type":["string","null"],"pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"price_changed":{"type":"boolean"},"quote":{"type":["object","null"],"properties":{"quote_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"snapshot_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"created_at":{"type":"string"},"expires_at":{"type":"string"},"calculation":{"type":"object","properties":{"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"package":{"type":"string"},"status":{"type":"string","enum":["incomplete","calculated"]},"quantity":{"type":["string","null"]},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":100},"errors":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"}},"required":["code"],"additionalProperties":false},"maxItems":100},"amount_now":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"display_amount":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"future_commitment":{"type":"object","properties":{"kind":{"type":"string","enum":["none","subscription"]},"amount":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"price_fixed":{"type":"boolean"}},"required":["kind","amount","currency","price_fixed"],"additionalProperties":false},"readiness_checked":{"type":"boolean"},"committable":{"type":"boolean"}},"required":["service_id","package","status","quantity","required_missing","errors","amount_now","accounting_currency","display_amount","display_currency","future_commitment","readiness_checked","committable"],"additionalProperties":false},"warnings":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":100},"committable":{"type":"boolean"}},"required":["quote_id","snapshot_hash","created_at","expires_at","calculation","warnings","committable"],"additionalProperties":false},"operation_id":{"type":["string","null"],"maxLength":128}},"required":["item_id","service_id","input_revision","item_revision","state","reason","price_before","price_after","price_changed","quote","operation_id"],"additionalProperties":false}},"navigation":{"type":"object","properties":{"links":{"type":"object","properties":{"basket":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?basket$"}},"required":["basket"],"additionalProperties":false},"method":{"type":"string","const":"GET"},"effect":{"type":"string","const":"none"},"browser_action_required":{"type":"boolean","const":true}},"required":["links","method","effect","browser_action_required"],"additionalProperties":false}},"required":["basket_quote_id","selection_hash","expires_at","accounting_currency","ready_total","items"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"basket_quote_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"selection_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"expires_at":{"type":"string"},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"ready_total":{"type":"string","pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"items":{"type":"array","minItems":1,"maxItems":100,"items":{"type":"object","properties":{"item_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"service_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"},"input_revision":{"type":"string","pattern":"^[a-f0-9]{64}$"},"item_revision":{"type":["string","null"],"pattern":"^[a-f0-9]{64}$"},"state":{"type":"string","enum":["ready","excluded"]},"reason":{"type":["string","null"],"maxLength":128},"price_before":{"type":["string","null"],"pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"price_after":{"type":["string","null"],"pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"price_changed":{"type":"boolean"},"quote":{"type":["object","null"],"properties":{"quote_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"snapshot_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"created_at":{"type":"string"},"expires_at":{"type":"string"},"calculation":{"type":"object","properties":{"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"package":{"type":"string"},"status":{"type":"string","enum":["incomplete","calculated"]},"quantity":{"type":["string","null"]},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":100},"errors":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"}},"required":["code"],"additionalProperties":false},"maxItems":100},"amount_now":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"display_amount":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"future_commitment":{"type":"object","properties":{"kind":{"type":"string","enum":["none","subscription"]},"amount":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"price_fixed":{"type":"boolean"}},"required":["kind","amount","currency","price_fixed"],"additionalProperties":false},"readiness_checked":{"type":"boolean"},"committable":{"type":"boolean"}},"required":["service_id","package","status","quantity","required_missing","errors","amount_now","accounting_currency","display_amount","display_currency","future_commitment","readiness_checked","committable"],"additionalProperties":false},"warnings":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":100},"committable":{"type":"boolean"}},"required":["quote_id","snapshot_hash","created_at","expires_at","calculation","warnings","committable"],"additionalProperties":false},"operation_id":{"type":["string","null"],"maxLength":128}},"required":["item_id","service_id","input_revision","item_revision","state","reason","price_before","price_after","price_changed","quote","operation_id"],"additionalProperties":false}},"navigation":{"type":"object","properties":{"links":{"type":"object","properties":{"basket":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?basket$"}},"required":["basket"],"additionalProperties":false},"method":{"type":"string","const":"GET"},"effect":{"type":"string","const":"none"},"browser_action_required":{"type":"boolean","const":true}},"required":["links","method","effect","browser_action_required"],"additionalProperties":false}},"required":["basket_quote_id","selection_hash","expires_at","accounting_currency","ready_total","items"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]}]},"required_scopes":[],"scope_options":{"items":["basket.read"],"quote":["basket.write","orders.write"]},"risk":"write","description":"Read basket items or refresh a quote, with a link to review and check out on the website; never buys."},{"name":"basket_remove","inputSchema":{"type":"object","properties":{"mutation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"item_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"expected_revision":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["mutation_id","item_id","expected_revision"],"additionalProperties":false,"description":"Remove an item from the account basket using its current revision. This does not charge the balance or place an order."},"outputSchema":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"item_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"},"item_revision":{"type":["string","null"],"pattern":"^[a-f0-9]{64}$"},"outcome":{"type":"string","enum":["added","duplicate","limit","removed","not_found","conflict","busy"]},"replayed":{"type":"boolean"}},"required":["item_id","item_revision","outcome","replayed"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"item_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"},"item_revision":{"type":["string","null"],"pattern":"^[a-f0-9]{64}$"},"outcome":{"type":"string","enum":["added","duplicate","limit","removed","not_found","conflict","busy"]},"replayed":{"type":"boolean"}},"required":["item_id","item_revision","outcome","replayed"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"item_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"},"item_revision":{"type":["string","null"],"pattern":"^[a-f0-9]{64}$"},"outcome":{"type":"string","enum":["added","duplicate","limit","removed","not_found","conflict","busy"]},"replayed":{"type":"boolean"}},"required":["item_id","item_revision","outcome","replayed"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},"required_scopes":["basket.write"],"risk":"write","description":"Remove a basket item using its current revision."},{"name":"favorite_set","inputSchema":{"type":"object","properties":{"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,17}$","minLength":1,"maxLength":18},"favorite":{"type":"boolean"}},"required":["service_id","favorite"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,17}$","minLength":1,"maxLength":18},"favorite":{"type":"boolean"}},"required":["service_id","favorite"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,17}$","minLength":1,"maxLength":18},"favorite":{"type":"boolean"}},"required":["service_id","favorite"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,17}$","minLength":1,"maxLength":18},"favorite":{"type":"boolean"}},"required":["service_id","favorite"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},"required_scopes":["favorites.write"],"risk":"write","description":"Add or remove a favorite service."},{"name":"finance_history","inputSchema":{"type":"object","properties":{"section":{"anyOf":[{"type":"string","const":"balance"},{"type":"string","const":"payments"}]},"page":{"type":"integer","minimum":1,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":50},"kind":{"type":"string","enum":["all","income","spend","refund"]},"date_from":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","minLength":10,"maxLength":10},"date_to":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","minLength":10,"maxLength":10},"status":{"type":"string","enum":["all","completed","pending","not_completed"]}},"required":["section"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"section":{"type":"string","const":"balance"},"page":{"type":"integer","minimum":1,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":50},"kind":{"type":"string","enum":["all","income","spend","refund"]},"date_from":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","minLength":10,"maxLength":10},"date_to":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","minLength":10,"maxLength":10}},"required":["section"],"additionalProperties":false},{"type":"object","properties":{"section":{"type":"string","const":"payments"},"page":{"type":"integer","minimum":1,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":50},"status":{"type":"string","enum":["all","completed","pending","not_completed"]},"date_from":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","minLength":10,"maxLength":10},"date_to":{"type":"string","pattern":"^[0-9]{4}-[0-9]{2}-[0-9]{2}$","minLength":10,"maxLength":10}},"required":["section"],"additionalProperties":false}]},"outputSchema":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"history_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"entry_type":{"type":"string","enum":["payment_success","signup_bonus","payment_bonus","payment_manual_debit","ref_balance_to_balance","order_create","order_dripfeed_create","order_create_by_dripfeed","order_return_partial","order_return_full","subscription_return","subscription_order_return","panel_charge","panel_refund","admin_edit_balance","other"]},"kind":{"type":"string","enum":["income","spend","refund"]},"direction":{"type":"string","enum":["credit","debit","zero"]},"title":{"type":"string","minLength":1,"maxLength":256},"amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"balance_after":{"type":["string","null"],"pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_balance_after":{"type":["string","null"],"pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"order_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"related_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"payment_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"created_at":{"type":["string","null"],"minLength":10,"maxLength":64}},"required":["history_id","entry_type","kind","direction","title","amount","accounting_currency","display_amount","display_currency","balance_after","display_balance_after","order_id","related_id","payment_id","created_at"],"additionalProperties":false},"maxItems":50},"page":{"type":"integer","minimum":1,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":50},"has_more":{"type":"boolean"},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"totals":{"type":"object","properties":{"topup_total":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_topup_total":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"spent_total":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_spent_total":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"referral_profit_total":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_referral_profit_total":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32}},"required":["topup_total","display_topup_total","spent_total","display_spent_total","referral_profit_total","display_referral_profit_total"],"additionalProperties":false}},"required":["items","page","limit","has_more","accounting_currency","display_currency","totals"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"history_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"entry_type":{"type":"string","enum":["payment_success","signup_bonus","payment_bonus","payment_manual_debit","ref_balance_to_balance","order_create","order_dripfeed_create","order_create_by_dripfeed","order_return_partial","order_return_full","subscription_return","subscription_order_return","panel_charge","panel_refund","admin_edit_balance","other"]},"kind":{"type":"string","enum":["income","spend","refund"]},"direction":{"type":"string","enum":["credit","debit","zero"]},"title":{"type":"string","minLength":1,"maxLength":256},"amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"balance_after":{"type":["string","null"],"pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_balance_after":{"type":["string","null"],"pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"order_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"related_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"payment_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"created_at":{"type":["string","null"],"minLength":10,"maxLength":64}},"required":["history_id","entry_type","kind","direction","title","amount","accounting_currency","display_amount","display_currency","balance_after","display_balance_after","order_id","related_id","payment_id","created_at"],"additionalProperties":false},"maxItems":50},"page":{"type":"integer","minimum":1,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":50},"has_more":{"type":"boolean"},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"totals":{"type":"object","properties":{"topup_total":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_topup_total":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"spent_total":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_spent_total":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"referral_profit_total":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_referral_profit_total":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32}},"required":["topup_total","display_topup_total","spent_total","display_spent_total","referral_profit_total","display_referral_profit_total"],"additionalProperties":false}},"required":["items","page","limit","has_more","accounting_currency","display_currency","totals"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"history_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"entry_type":{"type":"string","enum":["payment_success","signup_bonus","payment_bonus","payment_manual_debit","ref_balance_to_balance","order_create","order_dripfeed_create","order_create_by_dripfeed","order_return_partial","order_return_full","subscription_return","subscription_order_return","panel_charge","panel_refund","admin_edit_balance","other"]},"kind":{"type":"string","enum":["income","spend","refund"]},"direction":{"type":"string","enum":["credit","debit","zero"]},"title":{"type":"string","minLength":1,"maxLength":256},"amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"balance_after":{"type":["string","null"],"pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_balance_after":{"type":["string","null"],"pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"order_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"related_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"payment_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"created_at":{"type":["string","null"],"minLength":10,"maxLength":64}},"required":["history_id","entry_type","kind","direction","title","amount","accounting_currency","display_amount","display_currency","balance_after","display_balance_after","order_id","related_id","payment_id","created_at"],"additionalProperties":false},"maxItems":50},"page":{"type":"integer","minimum":1,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":50},"has_more":{"type":"boolean"},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"totals":{"type":"object","properties":{"topup_total":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_topup_total":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"spent_total":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_spent_total":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"referral_profit_total":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_referral_profit_total":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32}},"required":["topup_total","display_topup_total","spent_total","display_spent_total","referral_profit_total","display_referral_profit_total"],"additionalProperties":false}},"required":["items","page","limit","has_more","accounting_currency","display_currency","totals"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"payment_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"method_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"method_name":{"type":"string","minLength":1,"maxLength":256},"status":{"type":"string","enum":["completed","pending","failed","other"]},"is_delivered":{"type":"boolean"},"paid_amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_paid_amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"bonus_amount":{"type":["string","null"],"pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_bonus_amount":{"type":["string","null"],"pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"credited_amount":{"type":["string","null"],"pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_credited_amount":{"type":["string","null"],"pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"created_at":{"type":["string","null"],"minLength":10,"maxLength":64}},"required":["payment_id","method_id","method_name","status","is_delivered","paid_amount","display_paid_amount","bonus_amount","display_bonus_amount","credited_amount","display_credited_amount","accounting_currency","display_currency","created_at"],"additionalProperties":false},"maxItems":50},"page":{"type":"integer","minimum":1,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":50},"total_count":{"type":"integer","minimum":0},"has_more":{"type":"boolean"},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3}},"required":["items","page","limit","total_count","has_more","accounting_currency","display_currency"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"payment_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"method_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"method_name":{"type":"string","minLength":1,"maxLength":256},"status":{"type":"string","enum":["completed","pending","failed","other"]},"is_delivered":{"type":"boolean"},"paid_amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_paid_amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"bonus_amount":{"type":["string","null"],"pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_bonus_amount":{"type":["string","null"],"pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"credited_amount":{"type":["string","null"],"pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_credited_amount":{"type":["string","null"],"pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"created_at":{"type":["string","null"],"minLength":10,"maxLength":64}},"required":["payment_id","method_id","method_name","status","is_delivered","paid_amount","display_paid_amount","bonus_amount","display_bonus_amount","credited_amount","display_credited_amount","accounting_currency","display_currency","created_at"],"additionalProperties":false},"maxItems":50},"page":{"type":"integer","minimum":1,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":50},"total_count":{"type":"integer","minimum":0},"has_more":{"type":"boolean"},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3}},"required":["items","page","limit","total_count","has_more","accounting_currency","display_currency"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"payment_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"method_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"method_name":{"type":"string","minLength":1,"maxLength":256},"status":{"type":"string","enum":["completed","pending","failed","other"]},"is_delivered":{"type":"boolean"},"paid_amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_paid_amount":{"type":"string","pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"bonus_amount":{"type":["string","null"],"pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_bonus_amount":{"type":["string","null"],"pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"credited_amount":{"type":["string","null"],"pattern":"^-?[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_credited_amount":{"type":["string","null"],"pattern":"^-?[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"created_at":{"type":["string","null"],"minLength":10,"maxLength":64}},"required":["payment_id","method_id","method_name","status","is_delivered","paid_amount","display_paid_amount","bonus_amount","display_bonus_amount","credited_amount","display_credited_amount","accounting_currency","display_currency","created_at"],"additionalProperties":false},"maxItems":50},"page":{"type":"integer","minimum":1,"maximum":100000},"limit":{"type":"integer","minimum":1,"maximum":50},"total_count":{"type":"integer","minimum":0},"has_more":{"type":"boolean"},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3}},"required":["items","page","limit","total_count","has_more","accounting_currency","display_currency"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]}]},"required_scopes":[],"scope_options":{"balance":["balance.read"],"payments":["payments.read"]},"risk":"read","description":"Read balance movements or payments with pagination."},{"name":"notifications_list","inputSchema":{"type":"object","properties":{"page":{"type":"integer","minimum":1,"maximum":1000}},"additionalProperties":false},"outputSchema":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","maxItems":30,"items":{"type":"object","properties":{"key":{"type":"string","pattern":"^(order_completed|order_canceled|payment|ticket):[1-9][0-9]{0,17}$","minLength":8,"maxLength":36},"event_type":{"type":"string","enum":["order_completed","order_canceled","payment","ticket"]},"reference_id":{"type":"string","pattern":"^[1-9][0-9]{0,17}$","minLength":1,"maxLength":18},"occurred_at":{"type":"string","maxLength":32},"is_read":{"type":"boolean"},"subject":{"type":"string","maxLength":300},"amount":{"type":["string","null"],"pattern":"^[0-9]+\\.[0-9]{2}$","maxLength":32},"currency":{"type":["string","null"],"pattern":"^[A-Z]{3}$","maxLength":3},"path":{"type":"string","pattern":"^/[A-Za-z0-9_/?=&-]+$","maxLength":128}},"required":["key","event_type","reference_id","occurred_at","is_read","subject","amount","currency","path"],"additionalProperties":false}},"page":{"type":"integer","minimum":1,"maximum":1000},"per_page":{"type":"integer","const":30},"has_next":{"type":"boolean"},"unread_count":{"type":"integer","minimum":0}},"required":["items","page","per_page","has_next","unread_count"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"items":{"type":"array","maxItems":30,"items":{"type":"object","properties":{"key":{"type":"string","pattern":"^(order_completed|order_canceled|payment|ticket):[1-9][0-9]{0,17}$","minLength":8,"maxLength":36},"event_type":{"type":"string","enum":["order_completed","order_canceled","payment","ticket"]},"reference_id":{"type":"string","pattern":"^[1-9][0-9]{0,17}$","minLength":1,"maxLength":18},"occurred_at":{"type":"string","maxLength":32},"is_read":{"type":"boolean"},"subject":{"type":"string","maxLength":300},"amount":{"type":["string","null"],"pattern":"^[0-9]+\\.[0-9]{2}$","maxLength":32},"currency":{"type":["string","null"],"pattern":"^[A-Z]{3}$","maxLength":3},"path":{"type":"string","pattern":"^/[A-Za-z0-9_/?=&-]+$","maxLength":128}},"required":["key","event_type","reference_id","occurred_at","is_read","subject","amount","currency","path"],"additionalProperties":false}},"page":{"type":"integer","minimum":1,"maximum":1000},"per_page":{"type":"integer","const":30},"has_next":{"type":"boolean"},"unread_count":{"type":"integer","minimum":0}},"required":["items","page","per_page","has_next","unread_count"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","maxItems":30,"items":{"type":"object","properties":{"key":{"type":"string","pattern":"^(order_completed|order_canceled|payment|ticket):[1-9][0-9]{0,17}$","minLength":8,"maxLength":36},"event_type":{"type":"string","enum":["order_completed","order_canceled","payment","ticket"]},"reference_id":{"type":"string","pattern":"^[1-9][0-9]{0,17}$","minLength":1,"maxLength":18},"occurred_at":{"type":"string","maxLength":32},"is_read":{"type":"boolean"},"subject":{"type":"string","maxLength":300},"amount":{"type":["string","null"],"pattern":"^[0-9]+\\.[0-9]{2}$","maxLength":32},"currency":{"type":["string","null"],"pattern":"^[A-Z]{3}$","maxLength":3},"path":{"type":"string","pattern":"^/[A-Za-z0-9_/?=&-]+$","maxLength":128}},"required":["key","event_type","reference_id","occurred_at","is_read","subject","amount","currency","path"],"additionalProperties":false}},"page":{"type":"integer","minimum":1,"maximum":1000},"per_page":{"type":"integer","const":30},"has_next":{"type":"boolean"},"unread_count":{"type":"integer","minimum":0}},"required":["items","page","per_page","has_next","unread_count"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},"required_scopes":["notifications.read"],"risk":"read","description":"List account notifications."},{"name":"notifications_update","inputSchema":{"type":"object","properties":{"action":{"anyOf":[{"type":"string","const":"read"},{"type":"string","const":"dismiss"}]},"mark_all":{"type":"boolean"},"keys":{"type":"array","minItems":1,"maxItems":30,"uniqueItems":true,"items":{"type":"string","pattern":"^(order_completed|order_canceled|payment|ticket):[1-9][0-9]{0,17}$","minLength":8,"maxLength":36}},"notice_id":{"type":"string","pattern":"^[1-9][0-9]{0,17}$","minLength":1,"maxLength":18}},"required":["action"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"action":{"type":"string","const":"read"},"mark_all":{"type":"boolean"},"keys":{"type":"array","minItems":1,"maxItems":30,"uniqueItems":true,"items":{"type":"string","pattern":"^(order_completed|order_canceled|payment|ticket):[1-9][0-9]{0,17}$","minLength":8,"maxLength":36}}},"required":["action"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"dismiss"},"notice_id":{"type":"string","pattern":"^[1-9][0-9]{0,17}$","minLength":1,"maxLength":18}},"required":["action","notice_id"],"additionalProperties":false}]},"outputSchema":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["all","keys"]},"requested_count":{"type":"integer","minimum":0,"maximum":30},"unread_count":{"type":"integer","minimum":0}},"required":["mode","requested_count","unread_count"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"mode":{"type":"string","enum":["all","keys"]},"requested_count":{"type":"integer","minimum":0,"maximum":30},"unread_count":{"type":"integer","minimum":0}},"required":["mode","requested_count","unread_count"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["all","keys"]},"requested_count":{"type":"integer","minimum":0,"maximum":30},"unread_count":{"type":"integer","minimum":0}},"required":["mode","requested_count","unread_count"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"notice_id":{"type":"string","pattern":"^[1-9][0-9]{0,17}$","minLength":1,"maxLength":18},"dismissed":{"type":"boolean","const":true}},"required":["notice_id","dismissed"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"notice_id":{"type":"string","pattern":"^[1-9][0-9]{0,17}$","minLength":1,"maxLength":18},"dismissed":{"type":"boolean","const":true}},"required":["notice_id","dismissed"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"notice_id":{"type":"string","pattern":"^[1-9][0-9]{0,17}$","minLength":1,"maxLength":18},"dismissed":{"type":"boolean","const":true}},"required":["notice_id","dismissed"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]}]},"required_scopes":["notifications.write"],"scope_options":{"read":["notifications.write"],"dismiss":["notifications.write"]},"risk":"write","description":"Mark notifications read or dismiss a notice."},{"name":"operation_status","inputSchema":{"type":"object","properties":{"reference":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","const":"order"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"lifecycle"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"recurring"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"webhook"},"id":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"}},"required":["kind","id"],"additionalProperties":false}]}},"required":["reference"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"reference":{"type":"object","properties":{"kind":{"type":"string","const":"order"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["reference"],"additionalProperties":false},{"type":"object","properties":{"reference":{"type":"object","properties":{"kind":{"type":"string","const":"lifecycle"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["reference"],"additionalProperties":false},{"type":"object","properties":{"reference":{"type":"object","properties":{"kind":{"type":"string","const":"recurring"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["reference"],"additionalProperties":false},{"type":"object","properties":{"reference":{"type":"object","properties":{"kind":{"type":"string","const":"webhook"},"id":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["reference"],"additionalProperties":false}]},"outputSchema":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"order_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$"},"amount_spent":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"order"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["order_id"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"order"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"order_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$"},"amount_spent":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"order"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["order_id"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"order_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$"},"amount_spent":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"order"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["order_id"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"order"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"order_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"action":{"type":"string","enum":["cancel","refill"]},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"lifecycle_state":{"type":"string","enum":["not_admitted","admitted","unknown","accepted","rejected","not_sent","closed"]},"approval_url":{"type":["string","null"],"maxLength":1024},"expires_at":{"type":"string"},"request_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$"},"observed_at":{"type":"string"},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"lifecycle"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","order_id","action","approval_state","lifecycle_state","approval_url","expires_at","request_id","observed_at"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"lifecycle"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"order_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"action":{"type":"string","enum":["cancel","refill"]},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"lifecycle_state":{"type":"string","enum":["not_admitted","admitted","unknown","accepted","rejected","not_sent","closed"]},"approval_url":{"type":["string","null"],"maxLength":1024},"expires_at":{"type":"string"},"request_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$"},"observed_at":{"type":"string"},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"lifecycle"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","order_id","action","approval_state","lifecycle_state","approval_url","expires_at","request_id","observed_at"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"order_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"action":{"type":"string","enum":["cancel","refill"]},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"lifecycle_state":{"type":"string","enum":["not_admitted","admitted","unknown","accepted","rejected","not_sent","closed"]},"approval_url":{"type":["string","null"],"maxLength":1024},"expires_at":{"type":"string"},"request_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$"},"observed_at":{"type":"string"},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"lifecycle"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","order_id","action","approval_state","lifecycle_state","approval_url","expires_at","request_id","observed_at"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"lifecycle"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"parent_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"parent_kind":{"type":"string","enum":["subscription","drip"]},"action":{"type":"string","enum":["pause","resume","stop","drip_cancel"]},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"approval_url":{"type":["string","null"],"maxLength":1024},"expires_at":{"type":"string"},"state":{"type":"string","enum":["not_admitted","succeeded","not_supported","changed","deferred","unknown"]},"effect":{"type":"string","enum":["none","paused","active","canceled","drip_canceled","cancel_requested","unknown"]},"refunded_amount":{"type":["string","null"],"pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"request_result":{"type":["string","null"],"maxLength":64},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"recurring"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","parent_id","parent_kind","action","approval_state","approval_url","expires_at","state","effect","refunded_amount","request_result"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"recurring"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"parent_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"parent_kind":{"type":"string","enum":["subscription","drip"]},"action":{"type":"string","enum":["pause","resume","stop","drip_cancel"]},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"approval_url":{"type":["string","null"],"maxLength":1024},"expires_at":{"type":"string"},"state":{"type":"string","enum":["not_admitted","succeeded","not_supported","changed","deferred","unknown"]},"effect":{"type":"string","enum":["none","paused","active","canceled","drip_canceled","cancel_requested","unknown"]},"refunded_amount":{"type":["string","null"],"pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"request_result":{"type":["string","null"],"maxLength":64},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"recurring"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","parent_id","parent_kind","action","approval_state","approval_url","expires_at","state","effect","refunded_amount","request_result"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"parent_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"parent_kind":{"type":"string","enum":["subscription","drip"]},"action":{"type":"string","enum":["pause","resume","stop","drip_cancel"]},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"approval_url":{"type":["string","null"],"maxLength":1024},"expires_at":{"type":"string"},"state":{"type":"string","enum":["not_admitted","succeeded","not_supported","changed","deferred","unknown"]},"effect":{"type":"string","enum":["none","paused","active","canceled","drip_canceled","cancel_requested","unknown"]},"refunded_amount":{"type":["string","null"],"pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"request_result":{"type":["string","null"],"maxLength":64},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"recurring"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","parent_id","parent_kind","action","approval_state","approval_url","expires_at","state","effect","refunded_amount","request_result"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"recurring"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},"action":{"type":"string","enum":["update","enable","disable","delete","retry","create"]},"target_id":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,18})$"},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"approval_url":{"type":["string","null"],"maxLength":2048},"expires_at":{"type":"string","maxLength":64},"state":{"type":"string","enum":["awaiting_confirmation","admitted","done","unknown","unavailable","conflict","not_found"]},"effect":{"type":"string","enum":["none","configuration_changed","delivery_queued","endpoint_created"]},"code":{"type":"string","enum":["endpoint_created","configuration_changed","enqueued","not_changed","source_changed","not_found","personal_action_required","admitted","unknown","unavailable","conflict"]},"personal_url":{"type":"string","maxLength":2048},"created_webhook_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,18}$"},"delivery_url":{"type":["string","null"],"maxLength":2048},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"webhook"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","action","target_id","approval_state","approval_url","expires_at","state","effect","code","personal_url","created_webhook_id","delivery_url"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"webhook"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},"action":{"type":"string","enum":["update","enable","disable","delete","retry","create"]},"target_id":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,18})$"},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"approval_url":{"type":["string","null"],"maxLength":2048},"expires_at":{"type":"string","maxLength":64},"state":{"type":"string","enum":["awaiting_confirmation","admitted","done","unknown","unavailable","conflict","not_found"]},"effect":{"type":"string","enum":["none","configuration_changed","delivery_queued","endpoint_created"]},"code":{"type":"string","enum":["endpoint_created","configuration_changed","enqueued","not_changed","source_changed","not_found","personal_action_required","admitted","unknown","unavailable","conflict"]},"personal_url":{"type":"string","maxLength":2048},"created_webhook_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,18}$"},"delivery_url":{"type":["string","null"],"maxLength":2048},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"webhook"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","action","target_id","approval_state","approval_url","expires_at","state","effect","code","personal_url","created_webhook_id","delivery_url"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},"action":{"type":"string","enum":["update","enable","disable","delete","retry","create"]},"target_id":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,18})$"},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"approval_url":{"type":["string","null"],"maxLength":2048},"expires_at":{"type":"string","maxLength":64},"state":{"type":"string","enum":["awaiting_confirmation","admitted","done","unknown","unavailable","conflict","not_found"]},"effect":{"type":"string","enum":["none","configuration_changed","delivery_queued","endpoint_created"]},"code":{"type":"string","enum":["endpoint_created","configuration_changed","enqueued","not_changed","source_changed","not_found","personal_action_required","admitted","unknown","unavailable","conflict"]},"personal_url":{"type":"string","maxLength":2048},"created_webhook_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,18}$"},"delivery_url":{"type":["string","null"],"maxLength":2048},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"webhook"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","action","target_id","approval_state","approval_url","expires_at","state","effect","code","personal_url","created_webhook_id","delivery_url"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"webhook"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]}]},"required_scopes":[],"scope_options":{"order":["orders.read"],"lifecycle":["orders.read","orders.write"],"recurring":["subscriptions.read"],"webhook":["webhooks.read"]},"risk":"read","description":"Read an operation in its original namespace; never repeats an effect."},{"name":"order_calculate","inputSchema":{"type":"object","properties":{"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"form":{"type":"object","properties":{"link":{"type":"string","maxLength":65536},"quantity":{"type":"string","maxLength":65536},"comments":{"type":"string","maxLength":65536},"answer_number":{"type":"string","maxLength":65536},"media":{"type":"string","maxLength":65536},"hashtag":{"type":"string","maxLength":65536},"hashtags":{"type":"string","maxLength":65536},"username":{"type":"string","maxLength":65536},"usernames":{"type":"string","maxLength":65536},"keywords":{"type":"string","maxLength":65536},"groups":{"type":"string","maxLength":65536},"country":{"type":"string","maxLength":65536},"device":{"type":"string","maxLength":65536},"type_of_traffic":{"type":"string","maxLength":65536},"google_keyword":{"type":"string","maxLength":65536},"referring_url":{"type":"string","maxLength":65536},"expiry":{"type":"string","maxLength":65536},"delay":{"type":"string","maxLength":65536},"delay_type":{"type":"string","maxLength":65536},"posts_min":{"type":"string","maxLength":65536},"posts_max":{"type":"string","maxLength":65536},"quantity_range_min":{"type":"string","maxLength":65536},"quantity_range_max":{"type":"string","maxLength":65536},"agreeGiveguaranteeCheckbox":{"type":"string","maxLength":65536},"runs":{"type":"string","maxLength":65536},"interval":{"type":"string","maxLength":65536},"interval_time":{"type":"string","maxLength":65536},"check":{"type":"string","maxLength":65536},"additional_field":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^field_[0-9]+$","maxLength":128},"value":{"anyOf":[{"type":"string","maxLength":65536},{"type":"array","items":{"type":"string","maxLength":65536},"maxItems":256}]}},"required":["name","value"],"additionalProperties":false},"maxItems":128},"only_manual_additional_field":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^field_[0-9]+$","maxLength":128},"type":{"type":"string","enum":["input_line","textarea_line","radio_line"]},"value":{"type":"string","maxLength":65536},"options":{"type":"object","properties":{"value":{"anyOf":[{"type":"string","maxLength":65536},{"type":"array","items":{"type":"string","maxLength":65536},"maxItems":256}]}},"required":[],"additionalProperties":false}},"required":["name","type"],"additionalProperties":false},"maxItems":128}},"required":["link"],"additionalProperties":false},"order_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"}},"required":[],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"form":{"type":"object","properties":{"link":{"type":"string","maxLength":65536},"quantity":{"type":"string","maxLength":65536},"comments":{"type":"string","maxLength":65536},"answer_number":{"type":"string","maxLength":65536},"media":{"type":"string","maxLength":65536},"hashtag":{"type":"string","maxLength":65536},"hashtags":{"type":"string","maxLength":65536},"username":{"type":"string","maxLength":65536},"usernames":{"type":"string","maxLength":65536},"keywords":{"type":"string","maxLength":65536},"groups":{"type":"string","maxLength":65536},"country":{"type":"string","maxLength":65536},"device":{"type":"string","maxLength":65536},"type_of_traffic":{"type":"string","maxLength":65536},"google_keyword":{"type":"string","maxLength":65536},"referring_url":{"type":"string","maxLength":65536},"expiry":{"type":"string","maxLength":65536},"delay":{"type":"string","maxLength":65536},"delay_type":{"type":"string","maxLength":65536},"posts_min":{"type":"string","maxLength":65536},"posts_max":{"type":"string","maxLength":65536},"quantity_range_min":{"type":"string","maxLength":65536},"quantity_range_max":{"type":"string","maxLength":65536},"agreeGiveguaranteeCheckbox":{"type":"string","maxLength":65536},"runs":{"type":"string","maxLength":65536},"interval":{"type":"string","maxLength":65536},"interval_time":{"type":"string","maxLength":65536},"check":{"type":"string","maxLength":65536},"additional_field":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^field_[0-9]+$","maxLength":128},"value":{"anyOf":[{"type":"string","maxLength":65536},{"type":"array","items":{"type":"string","maxLength":65536},"maxItems":256}]}},"required":["name","value"],"additionalProperties":false},"maxItems":128},"only_manual_additional_field":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^field_[0-9]+$","maxLength":128},"type":{"type":"string","enum":["input_line","textarea_line","radio_line"]},"value":{"type":"string","maxLength":65536},"options":{"type":"object","properties":{"value":{"anyOf":[{"type":"string","maxLength":65536},{"type":"array","items":{"type":"string","maxLength":65536},"maxItems":256}]}},"required":[],"additionalProperties":false}},"required":["name","type"],"additionalProperties":false},"maxItems":128}},"required":["link"],"additionalProperties":false}},"required":["service_id","form"],"additionalProperties":false},{"type":"object","properties":{"order_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"form":{"type":"object","properties":{"link":{"type":"string","maxLength":65536},"quantity":{"type":"string","maxLength":65536},"comments":{"type":"string","maxLength":65536},"answer_number":{"type":"string","maxLength":65536},"media":{"type":"string","maxLength":65536},"hashtag":{"type":"string","maxLength":65536},"hashtags":{"type":"string","maxLength":65536},"username":{"type":"string","maxLength":65536},"usernames":{"type":"string","maxLength":65536},"keywords":{"type":"string","maxLength":65536},"groups":{"type":"string","maxLength":65536},"country":{"type":"string","maxLength":65536},"device":{"type":"string","maxLength":65536},"type_of_traffic":{"type":"string","maxLength":65536},"google_keyword":{"type":"string","maxLength":65536},"referring_url":{"type":"string","maxLength":65536},"expiry":{"type":"string","maxLength":65536},"delay":{"type":"string","maxLength":65536},"delay_type":{"type":"string","maxLength":65536},"posts_min":{"type":"string","maxLength":65536},"posts_max":{"type":"string","maxLength":65536},"quantity_range_min":{"type":"string","maxLength":65536},"quantity_range_max":{"type":"string","maxLength":65536},"agreeGiveguaranteeCheckbox":{"type":"string","maxLength":65536},"runs":{"type":"string","maxLength":65536},"interval":{"type":"string","maxLength":65536},"interval_time":{"type":"string","maxLength":65536},"check":{"type":"string","maxLength":65536},"additional_field":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^field_[0-9]+$","maxLength":128},"value":{"anyOf":[{"type":"string","maxLength":65536},{"type":"array","items":{"type":"string","maxLength":65536},"maxItems":256}]}},"required":["name","value"],"additionalProperties":false},"maxItems":128},"only_manual_additional_field":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^field_[0-9]+$","maxLength":128},"type":{"type":"string","enum":["input_line","textarea_line","radio_line"]},"value":{"type":"string","maxLength":65536},"options":{"type":"object","properties":{"value":{"anyOf":[{"type":"string","maxLength":65536},{"type":"array","items":{"type":"string","maxLength":65536},"maxItems":256}]}},"required":[],"additionalProperties":false}},"required":["name","type"],"additionalProperties":false},"maxItems":128}},"required":["link"],"additionalProperties":false}},"required":["order_id"],"additionalProperties":false}]},"outputSchema":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"quote_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"snapshot_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"created_at":{"type":"string"},"expires_at":{"type":"string"},"calculation":{"type":"object","properties":{"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"package":{"type":"string"},"status":{"type":"string","enum":["incomplete","calculated"]},"quantity":{"type":["string","null"]},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":100},"errors":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"}},"required":["code"],"additionalProperties":false},"maxItems":100},"amount_now":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"display_amount":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"future_commitment":{"type":"object","properties":{"kind":{"type":"string","enum":["none","subscription"]},"amount":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"price_fixed":{"type":"boolean"}},"required":["kind","amount","currency","price_fixed"],"additionalProperties":false},"readiness_checked":{"type":"boolean"},"committable":{"type":"boolean"}},"required":["service_id","package","status","quantity","required_missing","errors","amount_now","accounting_currency","display_amount","display_currency","future_commitment","readiness_checked","committable"],"additionalProperties":false},"warnings":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":100},"committable":{"type":"boolean"}},"required":["quote_id","snapshot_hash","created_at","expires_at","calculation","warnings","committable"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"quote_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"snapshot_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"created_at":{"type":"string"},"expires_at":{"type":"string"},"calculation":{"type":"object","properties":{"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"package":{"type":"string"},"status":{"type":"string","enum":["incomplete","calculated"]},"quantity":{"type":["string","null"]},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":100},"errors":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"}},"required":["code"],"additionalProperties":false},"maxItems":100},"amount_now":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"display_amount":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"future_commitment":{"type":"object","properties":{"kind":{"type":"string","enum":["none","subscription"]},"amount":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"price_fixed":{"type":"boolean"}},"required":["kind","amount","currency","price_fixed"],"additionalProperties":false},"readiness_checked":{"type":"boolean"},"committable":{"type":"boolean"}},"required":["service_id","package","status","quantity","required_missing","errors","amount_now","accounting_currency","display_amount","display_currency","future_commitment","readiness_checked","committable"],"additionalProperties":false},"warnings":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":100},"committable":{"type":"boolean"}},"required":["quote_id","snapshot_hash","created_at","expires_at","calculation","warnings","committable"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"quote_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"snapshot_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"created_at":{"type":"string"},"expires_at":{"type":"string"},"calculation":{"type":"object","properties":{"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"package":{"type":"string"},"status":{"type":"string","enum":["incomplete","calculated"]},"quantity":{"type":["string","null"]},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":100},"errors":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"}},"required":["code"],"additionalProperties":false},"maxItems":100},"amount_now":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"display_amount":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"future_commitment":{"type":"object","properties":{"kind":{"type":"string","enum":["none","subscription"]},"amount":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"price_fixed":{"type":"boolean"}},"required":["kind","amount","currency","price_fixed"],"additionalProperties":false},"readiness_checked":{"type":"boolean"},"committable":{"type":"boolean"}},"required":["service_id","package","status","quantity","required_missing","errors","amount_now","accounting_currency","display_amount","display_currency","future_commitment","readiness_checked","committable"],"additionalProperties":false},"warnings":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":100},"committable":{"type":"boolean"}},"required":["quote_id","snapshot_hash","created_at","expires_at","calculation","warnings","committable"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"step":{"type":"string","enum":["form","quote"]},"source_order_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"schema":{"type":"object","properties":{"service":{"type":"object","properties":{"service_id":{"type":"string"},"name":{"type":"string"},"package":{"type":"integer"},"description":{"type":"string"},"url":{"type":"string"},"platform":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"group":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"category":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"minimum":{"type":"string"},"maximum":{"type":"string"},"step":{"type":"integer"},"dripfeed":{"type":"boolean"},"refill":{"type":"boolean"},"cancel":{"type":"boolean"},"speed":{"type":["number","null"]},"display_price":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"},"quantity":{"type":"integer"},"from":{"type":"boolean"}},"required":["amount","currency","quantity","from"],"additionalProperties":false}},"required":["service_id","name","package","description","url","platform","group","category","minimum","maximum","step","dripfeed","refill","cancel","speed","display_price"],"additionalProperties":false},"form_schema_json":{"type":"string","maxLength":262144},"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"label":{"type":"string"},"required":{"type":"boolean"},"derived":{"type":"boolean"}},"required":["name","label","required","derived"],"additionalProperties":false},"maxItems":128},"additional_fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"input_name":{"type":"string"},"kind":{"type":"string"},"label":{"type":"string"},"required":{"type":"boolean"}},"required":["id","input_name","kind","label","required"],"additionalProperties":false},"maxItems":128},"manual_fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"input_name":{"type":"string"},"kind":{"type":"string"},"label":{"type":"string"},"required":{"type":"boolean"},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"label":{"type":"string"}},"required":["value","label"],"additionalProperties":false},"maxItems":128}},"required":["id","input_name","kind","label","required","options"],"additionalProperties":false},"maxItems":128},"quantity_source":{"type":"string"},"limits":{"type":"object","properties":{"minimum":{"type":"string"},"maximum":{"type":"string"},"multiple":{"type":"string"}},"required":["minimum","maximum","multiple"],"additionalProperties":false},"dripfeed_available":{"type":"boolean"},"conditional_required":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"when":{"type":"object","properties":{"type_of_traffic":{"type":"string"}},"required":["type_of_traffic"],"additionalProperties":false},"fields":{"type":"array","items":{"type":"string"},"maxItems":128}},"required":["when","fields"],"additionalProperties":false},{"type":"object","properties":{"any_nonempty":{"type":"array","items":{"type":"string"},"maxItems":128}},"required":["any_nonempty"],"additionalProperties":false}]},"maxItems":16},"required_scopes":{"type":"array","items":{"type":"string"},"maxItems":128},"readiness":{"type":"object","properties":{"status":{"type":"string","const":"requires_prepare"},"quote_required":{"type":"boolean","const":true},"commit_checked":{"type":"boolean","const":false}},"required":["status","quote_required","commit_checked"],"additionalProperties":false}},"required":["service","form_schema_json","fields","additional_fields","manual_fields","quantity_source","limits","dripfeed_available","conditional_required","required_scopes","readiness"],"additionalProperties":false},"quote":{"type":"object","properties":{"quote_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"snapshot_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"created_at":{"type":"string"},"expires_at":{"type":"string"},"calculation":{"type":"object","properties":{"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"package":{"type":"string"},"status":{"type":"string","enum":["incomplete","calculated"]},"quantity":{"type":["string","null"]},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":100},"errors":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"}},"required":["code"],"additionalProperties":false},"maxItems":100},"amount_now":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"display_amount":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"future_commitment":{"type":"object","properties":{"kind":{"type":"string","enum":["none","subscription"]},"amount":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"price_fixed":{"type":"boolean"}},"required":["kind","amount","currency","price_fixed"],"additionalProperties":false},"readiness_checked":{"type":"boolean"},"committable":{"type":"boolean"}},"required":["service_id","package","status","quantity","required_missing","errors","amount_now","accounting_currency","display_amount","display_currency","future_commitment","readiness_checked","committable"],"additionalProperties":false},"warnings":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":100},"committable":{"type":"boolean"}},"required":["quote_id","snapshot_hash","created_at","expires_at","calculation","warnings","committable"],"additionalProperties":false}},"required":["step","source_order_id","service_id"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"step":{"type":"string","const":"form"},"source_order_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"schema":{"type":"object","properties":{"service":{"type":"object","properties":{"service_id":{"type":"string"},"name":{"type":"string"},"package":{"type":"integer"},"description":{"type":"string"},"url":{"type":"string"},"platform":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"group":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"category":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"minimum":{"type":"string"},"maximum":{"type":"string"},"step":{"type":"integer"},"dripfeed":{"type":"boolean"},"refill":{"type":"boolean"},"cancel":{"type":"boolean"},"speed":{"type":["number","null"]},"display_price":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"},"quantity":{"type":"integer"},"from":{"type":"boolean"}},"required":["amount","currency","quantity","from"],"additionalProperties":false}},"required":["service_id","name","package","description","url","platform","group","category","minimum","maximum","step","dripfeed","refill","cancel","speed","display_price"],"additionalProperties":false},"form_schema_json":{"type":"string","maxLength":262144},"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"label":{"type":"string"},"required":{"type":"boolean"},"derived":{"type":"boolean"}},"required":["name","label","required","derived"],"additionalProperties":false},"maxItems":128},"additional_fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"input_name":{"type":"string"},"kind":{"type":"string"},"label":{"type":"string"},"required":{"type":"boolean"}},"required":["id","input_name","kind","label","required"],"additionalProperties":false},"maxItems":128},"manual_fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"input_name":{"type":"string"},"kind":{"type":"string"},"label":{"type":"string"},"required":{"type":"boolean"},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"label":{"type":"string"}},"required":["value","label"],"additionalProperties":false},"maxItems":128}},"required":["id","input_name","kind","label","required","options"],"additionalProperties":false},"maxItems":128},"quantity_source":{"type":"string"},"limits":{"type":"object","properties":{"minimum":{"type":"string"},"maximum":{"type":"string"},"multiple":{"type":"string"}},"required":["minimum","maximum","multiple"],"additionalProperties":false},"dripfeed_available":{"type":"boolean"},"conditional_required":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"when":{"type":"object","properties":{"type_of_traffic":{"type":"string"}},"required":["type_of_traffic"],"additionalProperties":false},"fields":{"type":"array","items":{"type":"string"},"maxItems":128}},"required":["when","fields"],"additionalProperties":false},{"type":"object","properties":{"any_nonempty":{"type":"array","items":{"type":"string"},"maxItems":128}},"required":["any_nonempty"],"additionalProperties":false}]},"maxItems":16},"required_scopes":{"type":"array","items":{"type":"string"},"maxItems":128},"readiness":{"type":"object","properties":{"status":{"type":"string","const":"requires_prepare"},"quote_required":{"type":"boolean","const":true},"commit_checked":{"type":"boolean","const":false}},"required":["status","quote_required","commit_checked"],"additionalProperties":false}},"required":["service","form_schema_json","fields","additional_fields","manual_fields","quantity_source","limits","dripfeed_available","conditional_required","required_scopes","readiness"],"additionalProperties":false}},"required":["step","source_order_id","service_id","schema"],"additionalProperties":false},{"type":"object","properties":{"step":{"type":"string","const":"quote"},"source_order_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"quote":{"type":"object","properties":{"quote_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"snapshot_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"created_at":{"type":"string"},"expires_at":{"type":"string"},"calculation":{"type":"object","properties":{"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"package":{"type":"string"},"status":{"type":"string","enum":["incomplete","calculated"]},"quantity":{"type":["string","null"]},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":100},"errors":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"}},"required":["code"],"additionalProperties":false},"maxItems":100},"amount_now":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"display_amount":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"future_commitment":{"type":"object","properties":{"kind":{"type":"string","enum":["none","subscription"]},"amount":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"price_fixed":{"type":"boolean"}},"required":["kind","amount","currency","price_fixed"],"additionalProperties":false},"readiness_checked":{"type":"boolean"},"committable":{"type":"boolean"}},"required":["service_id","package","status","quantity","required_missing","errors","amount_now","accounting_currency","display_amount","display_currency","future_commitment","readiness_checked","committable"],"additionalProperties":false},"warnings":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":100},"committable":{"type":"boolean"}},"required":["quote_id","snapshot_hash","created_at","expires_at","calculation","warnings","committable"],"additionalProperties":false}},"required":["step","source_order_id","service_id","quote"],"additionalProperties":false}]},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"step":{"type":"string","enum":["form","quote"]},"source_order_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"schema":{"type":"object","properties":{"service":{"type":"object","properties":{"service_id":{"type":"string"},"name":{"type":"string"},"package":{"type":"integer"},"description":{"type":"string"},"url":{"type":"string"},"platform":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"group":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"category":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"minimum":{"type":"string"},"maximum":{"type":"string"},"step":{"type":"integer"},"dripfeed":{"type":"boolean"},"refill":{"type":"boolean"},"cancel":{"type":"boolean"},"speed":{"type":["number","null"]},"display_price":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"},"quantity":{"type":"integer"},"from":{"type":"boolean"}},"required":["amount","currency","quantity","from"],"additionalProperties":false}},"required":["service_id","name","package","description","url","platform","group","category","minimum","maximum","step","dripfeed","refill","cancel","speed","display_price"],"additionalProperties":false},"form_schema_json":{"type":"string","maxLength":262144},"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"label":{"type":"string"},"required":{"type":"boolean"},"derived":{"type":"boolean"}},"required":["name","label","required","derived"],"additionalProperties":false},"maxItems":128},"additional_fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"input_name":{"type":"string"},"kind":{"type":"string"},"label":{"type":"string"},"required":{"type":"boolean"}},"required":["id","input_name","kind","label","required"],"additionalProperties":false},"maxItems":128},"manual_fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"input_name":{"type":"string"},"kind":{"type":"string"},"label":{"type":"string"},"required":{"type":"boolean"},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"label":{"type":"string"}},"required":["value","label"],"additionalProperties":false},"maxItems":128}},"required":["id","input_name","kind","label","required","options"],"additionalProperties":false},"maxItems":128},"quantity_source":{"type":"string"},"limits":{"type":"object","properties":{"minimum":{"type":"string"},"maximum":{"type":"string"},"multiple":{"type":"string"}},"required":["minimum","maximum","multiple"],"additionalProperties":false},"dripfeed_available":{"type":"boolean"},"conditional_required":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"when":{"type":"object","properties":{"type_of_traffic":{"type":"string"}},"required":["type_of_traffic"],"additionalProperties":false},"fields":{"type":"array","items":{"type":"string"},"maxItems":128}},"required":["when","fields"],"additionalProperties":false},{"type":"object","properties":{"any_nonempty":{"type":"array","items":{"type":"string"},"maxItems":128}},"required":["any_nonempty"],"additionalProperties":false}]},"maxItems":16},"required_scopes":{"type":"array","items":{"type":"string"},"maxItems":128},"readiness":{"type":"object","properties":{"status":{"type":"string","const":"requires_prepare"},"quote_required":{"type":"boolean","const":true},"commit_checked":{"type":"boolean","const":false}},"required":["status","quote_required","commit_checked"],"additionalProperties":false}},"required":["service","form_schema_json","fields","additional_fields","manual_fields","quantity_source","limits","dripfeed_available","conditional_required","required_scopes","readiness"],"additionalProperties":false},"quote":{"type":"object","properties":{"quote_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"snapshot_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"created_at":{"type":"string"},"expires_at":{"type":"string"},"calculation":{"type":"object","properties":{"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"package":{"type":"string"},"status":{"type":"string","enum":["incomplete","calculated"]},"quantity":{"type":["string","null"]},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":100},"errors":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"}},"required":["code"],"additionalProperties":false},"maxItems":100},"amount_now":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"display_amount":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"future_commitment":{"type":"object","properties":{"kind":{"type":"string","enum":["none","subscription"]},"amount":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"price_fixed":{"type":"boolean"}},"required":["kind","amount","currency","price_fixed"],"additionalProperties":false},"readiness_checked":{"type":"boolean"},"committable":{"type":"boolean"}},"required":["service_id","package","status","quantity","required_missing","errors","amount_now","accounting_currency","display_amount","display_currency","future_commitment","readiness_checked","committable"],"additionalProperties":false},"warnings":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":100},"committable":{"type":"boolean"}},"required":["quote_id","snapshot_hash","created_at","expires_at","calculation","warnings","committable"],"additionalProperties":false}},"required":["step","source_order_id","service_id"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"step":{"type":"string","const":"form"},"source_order_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"schema":{"type":"object","properties":{"service":{"type":"object","properties":{"service_id":{"type":"string"},"name":{"type":"string"},"package":{"type":"integer"},"description":{"type":"string"},"url":{"type":"string"},"platform":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"group":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"category":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"minimum":{"type":"string"},"maximum":{"type":"string"},"step":{"type":"integer"},"dripfeed":{"type":"boolean"},"refill":{"type":"boolean"},"cancel":{"type":"boolean"},"speed":{"type":["number","null"]},"display_price":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"},"quantity":{"type":"integer"},"from":{"type":"boolean"}},"required":["amount","currency","quantity","from"],"additionalProperties":false}},"required":["service_id","name","package","description","url","platform","group","category","minimum","maximum","step","dripfeed","refill","cancel","speed","display_price"],"additionalProperties":false},"form_schema_json":{"type":"string","maxLength":262144},"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"label":{"type":"string"},"required":{"type":"boolean"},"derived":{"type":"boolean"}},"required":["name","label","required","derived"],"additionalProperties":false},"maxItems":128},"additional_fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"input_name":{"type":"string"},"kind":{"type":"string"},"label":{"type":"string"},"required":{"type":"boolean"}},"required":["id","input_name","kind","label","required"],"additionalProperties":false},"maxItems":128},"manual_fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"input_name":{"type":"string"},"kind":{"type":"string"},"label":{"type":"string"},"required":{"type":"boolean"},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"label":{"type":"string"}},"required":["value","label"],"additionalProperties":false},"maxItems":128}},"required":["id","input_name","kind","label","required","options"],"additionalProperties":false},"maxItems":128},"quantity_source":{"type":"string"},"limits":{"type":"object","properties":{"minimum":{"type":"string"},"maximum":{"type":"string"},"multiple":{"type":"string"}},"required":["minimum","maximum","multiple"],"additionalProperties":false},"dripfeed_available":{"type":"boolean"},"conditional_required":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"when":{"type":"object","properties":{"type_of_traffic":{"type":"string"}},"required":["type_of_traffic"],"additionalProperties":false},"fields":{"type":"array","items":{"type":"string"},"maxItems":128}},"required":["when","fields"],"additionalProperties":false},{"type":"object","properties":{"any_nonempty":{"type":"array","items":{"type":"string"},"maxItems":128}},"required":["any_nonempty"],"additionalProperties":false}]},"maxItems":16},"required_scopes":{"type":"array","items":{"type":"string"},"maxItems":128},"readiness":{"type":"object","properties":{"status":{"type":"string","const":"requires_prepare"},"quote_required":{"type":"boolean","const":true},"commit_checked":{"type":"boolean","const":false}},"required":["status","quote_required","commit_checked"],"additionalProperties":false}},"required":["service","form_schema_json","fields","additional_fields","manual_fields","quantity_source","limits","dripfeed_available","conditional_required","required_scopes","readiness"],"additionalProperties":false}},"required":["step","source_order_id","service_id","schema"],"additionalProperties":false},{"type":"object","properties":{"step":{"type":"string","const":"quote"},"source_order_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"quote":{"type":"object","properties":{"quote_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"snapshot_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"created_at":{"type":"string"},"expires_at":{"type":"string"},"calculation":{"type":"object","properties":{"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"package":{"type":"string"},"status":{"type":"string","enum":["incomplete","calculated"]},"quantity":{"type":["string","null"]},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":100},"errors":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"}},"required":["code"],"additionalProperties":false},"maxItems":100},"amount_now":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"display_amount":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"future_commitment":{"type":"object","properties":{"kind":{"type":"string","enum":["none","subscription"]},"amount":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"price_fixed":{"type":"boolean"}},"required":["kind","amount","currency","price_fixed"],"additionalProperties":false},"readiness_checked":{"type":"boolean"},"committable":{"type":"boolean"}},"required":["service_id","package","status","quantity","required_missing","errors","amount_now","accounting_currency","display_amount","display_currency","future_commitment","readiness_checked","committable"],"additionalProperties":false},"warnings":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":100},"committable":{"type":"boolean"}},"required":["quote_id","snapshot_hash","created_at","expires_at","calculation","warnings","committable"],"additionalProperties":false}},"required":["step","source_order_id","service_id","quote"],"additionalProperties":false}]},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"step":{"type":"string","enum":["form","quote"]},"source_order_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"schema":{"type":"object","properties":{"service":{"type":"object","properties":{"service_id":{"type":"string"},"name":{"type":"string"},"package":{"type":"integer"},"description":{"type":"string"},"url":{"type":"string"},"platform":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"group":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"category":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"minimum":{"type":"string"},"maximum":{"type":"string"},"step":{"type":"integer"},"dripfeed":{"type":"boolean"},"refill":{"type":"boolean"},"cancel":{"type":"boolean"},"speed":{"type":["number","null"]},"display_price":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"},"quantity":{"type":"integer"},"from":{"type":"boolean"}},"required":["amount","currency","quantity","from"],"additionalProperties":false}},"required":["service_id","name","package","description","url","platform","group","category","minimum","maximum","step","dripfeed","refill","cancel","speed","display_price"],"additionalProperties":false},"form_schema_json":{"type":"string","maxLength":262144},"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"label":{"type":"string"},"required":{"type":"boolean"},"derived":{"type":"boolean"}},"required":["name","label","required","derived"],"additionalProperties":false},"maxItems":128},"additional_fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"input_name":{"type":"string"},"kind":{"type":"string"},"label":{"type":"string"},"required":{"type":"boolean"}},"required":["id","input_name","kind","label","required"],"additionalProperties":false},"maxItems":128},"manual_fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"input_name":{"type":"string"},"kind":{"type":"string"},"label":{"type":"string"},"required":{"type":"boolean"},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"label":{"type":"string"}},"required":["value","label"],"additionalProperties":false},"maxItems":128}},"required":["id","input_name","kind","label","required","options"],"additionalProperties":false},"maxItems":128},"quantity_source":{"type":"string"},"limits":{"type":"object","properties":{"minimum":{"type":"string"},"maximum":{"type":"string"},"multiple":{"type":"string"}},"required":["minimum","maximum","multiple"],"additionalProperties":false},"dripfeed_available":{"type":"boolean"},"conditional_required":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"when":{"type":"object","properties":{"type_of_traffic":{"type":"string"}},"required":["type_of_traffic"],"additionalProperties":false},"fields":{"type":"array","items":{"type":"string"},"maxItems":128}},"required":["when","fields"],"additionalProperties":false},{"type":"object","properties":{"any_nonempty":{"type":"array","items":{"type":"string"},"maxItems":128}},"required":["any_nonempty"],"additionalProperties":false}]},"maxItems":16},"required_scopes":{"type":"array","items":{"type":"string"},"maxItems":128},"readiness":{"type":"object","properties":{"status":{"type":"string","const":"requires_prepare"},"quote_required":{"type":"boolean","const":true},"commit_checked":{"type":"boolean","const":false}},"required":["status","quote_required","commit_checked"],"additionalProperties":false}},"required":["service","form_schema_json","fields","additional_fields","manual_fields","quantity_source","limits","dripfeed_available","conditional_required","required_scopes","readiness"],"additionalProperties":false},"quote":{"type":"object","properties":{"quote_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"snapshot_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"created_at":{"type":"string"},"expires_at":{"type":"string"},"calculation":{"type":"object","properties":{"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"package":{"type":"string"},"status":{"type":"string","enum":["incomplete","calculated"]},"quantity":{"type":["string","null"]},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":100},"errors":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"}},"required":["code"],"additionalProperties":false},"maxItems":100},"amount_now":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"display_amount":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"future_commitment":{"type":"object","properties":{"kind":{"type":"string","enum":["none","subscription"]},"amount":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"price_fixed":{"type":"boolean"}},"required":["kind","amount","currency","price_fixed"],"additionalProperties":false},"readiness_checked":{"type":"boolean"},"committable":{"type":"boolean"}},"required":["service_id","package","status","quantity","required_missing","errors","amount_now","accounting_currency","display_amount","display_currency","future_commitment","readiness_checked","committable"],"additionalProperties":false},"warnings":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":100},"committable":{"type":"boolean"}},"required":["quote_id","snapshot_hash","created_at","expires_at","calculation","warnings","committable"],"additionalProperties":false}},"required":["step","source_order_id","service_id"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"step":{"type":"string","const":"form"},"source_order_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"schema":{"type":"object","properties":{"service":{"type":"object","properties":{"service_id":{"type":"string"},"name":{"type":"string"},"package":{"type":"integer"},"description":{"type":"string"},"url":{"type":"string"},"platform":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"group":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"category":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"minimum":{"type":"string"},"maximum":{"type":"string"},"step":{"type":"integer"},"dripfeed":{"type":"boolean"},"refill":{"type":"boolean"},"cancel":{"type":"boolean"},"speed":{"type":["number","null"]},"display_price":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"},"quantity":{"type":"integer"},"from":{"type":"boolean"}},"required":["amount","currency","quantity","from"],"additionalProperties":false}},"required":["service_id","name","package","description","url","platform","group","category","minimum","maximum","step","dripfeed","refill","cancel","speed","display_price"],"additionalProperties":false},"form_schema_json":{"type":"string","maxLength":262144},"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"label":{"type":"string"},"required":{"type":"boolean"},"derived":{"type":"boolean"}},"required":["name","label","required","derived"],"additionalProperties":false},"maxItems":128},"additional_fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"input_name":{"type":"string"},"kind":{"type":"string"},"label":{"type":"string"},"required":{"type":"boolean"}},"required":["id","input_name","kind","label","required"],"additionalProperties":false},"maxItems":128},"manual_fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"input_name":{"type":"string"},"kind":{"type":"string"},"label":{"type":"string"},"required":{"type":"boolean"},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"label":{"type":"string"}},"required":["value","label"],"additionalProperties":false},"maxItems":128}},"required":["id","input_name","kind","label","required","options"],"additionalProperties":false},"maxItems":128},"quantity_source":{"type":"string"},"limits":{"type":"object","properties":{"minimum":{"type":"string"},"maximum":{"type":"string"},"multiple":{"type":"string"}},"required":["minimum","maximum","multiple"],"additionalProperties":false},"dripfeed_available":{"type":"boolean"},"conditional_required":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"when":{"type":"object","properties":{"type_of_traffic":{"type":"string"}},"required":["type_of_traffic"],"additionalProperties":false},"fields":{"type":"array","items":{"type":"string"},"maxItems":128}},"required":["when","fields"],"additionalProperties":false},{"type":"object","properties":{"any_nonempty":{"type":"array","items":{"type":"string"},"maxItems":128}},"required":["any_nonempty"],"additionalProperties":false}]},"maxItems":16},"required_scopes":{"type":"array","items":{"type":"string"},"maxItems":128},"readiness":{"type":"object","properties":{"status":{"type":"string","const":"requires_prepare"},"quote_required":{"type":"boolean","const":true},"commit_checked":{"type":"boolean","const":false}},"required":["status","quote_required","commit_checked"],"additionalProperties":false}},"required":["service","form_schema_json","fields","additional_fields","manual_fields","quantity_source","limits","dripfeed_available","conditional_required","required_scopes","readiness"],"additionalProperties":false}},"required":["step","source_order_id","service_id","schema"],"additionalProperties":false},{"type":"object","properties":{"step":{"type":"string","const":"quote"},"source_order_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"quote":{"type":"object","properties":{"quote_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"snapshot_hash":{"type":"string","pattern":"^[a-f0-9]{64}$"},"created_at":{"type":"string"},"expires_at":{"type":"string"},"calculation":{"type":"object","properties":{"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"package":{"type":"string"},"status":{"type":"string","enum":["incomplete","calculated"]},"quantity":{"type":["string","null"]},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":100},"errors":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string"}},"required":["code"],"additionalProperties":false},"maxItems":100},"amount_now":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"display_amount":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$"},"future_commitment":{"type":"object","properties":{"kind":{"type":"string","enum":["none","subscription"]},"amount":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"price_fixed":{"type":"boolean"}},"required":["kind","amount","currency","price_fixed"],"additionalProperties":false},"readiness_checked":{"type":"boolean"},"committable":{"type":"boolean"}},"required":["service_id","package","status","quantity","required_missing","errors","amount_now","accounting_currency","display_amount","display_currency","future_commitment","readiness_checked","committable"],"additionalProperties":false},"warnings":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":100},"committable":{"type":"boolean"}},"required":["quote_id","snapshot_hash","created_at","expires_at","calculation","warnings","committable"],"additionalProperties":false}},"required":["step","source_order_id","service_id","quote"],"additionalProperties":false}]},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]}]},"required_scopes":["orders.write"],"scope_options":{"service":["orders.write"],"repeat":["orders.read","catalog.read","orders.write"]},"risk":"write","description":"Price a new or repeat order without buying."},{"name":"order_create","inputSchema":{"type":"object","properties":{"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"form":{"type":"object","properties":{"link":{"type":"string","maxLength":65536},"quantity":{"type":"string","maxLength":65536},"comments":{"type":"string","maxLength":65536},"answer_number":{"type":"string","maxLength":65536},"media":{"type":"string","maxLength":65536},"hashtag":{"type":"string","maxLength":65536},"hashtags":{"type":"string","maxLength":65536},"username":{"type":"string","maxLength":65536},"usernames":{"type":"string","maxLength":65536},"keywords":{"type":"string","maxLength":65536},"groups":{"type":"string","maxLength":65536},"country":{"type":"string","maxLength":65536},"device":{"type":"string","maxLength":65536},"type_of_traffic":{"type":"string","maxLength":65536},"google_keyword":{"type":"string","maxLength":65536},"referring_url":{"type":"string","maxLength":65536},"expiry":{"type":"string","maxLength":65536},"delay":{"type":"string","maxLength":65536},"delay_type":{"type":"string","maxLength":65536},"posts_min":{"type":"string","maxLength":65536},"posts_max":{"type":"string","maxLength":65536},"quantity_range_min":{"type":"string","maxLength":65536},"quantity_range_max":{"type":"string","maxLength":65536},"agreeGiveguaranteeCheckbox":{"type":"string","maxLength":65536},"runs":{"type":"string","maxLength":65536},"interval":{"type":"string","maxLength":65536},"interval_time":{"type":"string","maxLength":65536},"check":{"type":"string","maxLength":65536},"additional_field":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^field_[0-9]+$","maxLength":128},"value":{"anyOf":[{"type":"string","maxLength":65536},{"type":"array","items":{"type":"string","maxLength":65536},"maxItems":256}]}},"required":["name","value"],"additionalProperties":false},"maxItems":128},"only_manual_additional_field":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^field_[0-9]+$","maxLength":128},"type":{"type":"string","enum":["input_line","textarea_line","radio_line"]},"value":{"type":"string","maxLength":65536},"options":{"type":"object","properties":{"value":{"anyOf":[{"type":"string","maxLength":65536},{"type":"array","items":{"type":"string","maxLength":65536},"maxItems":256}]}},"required":[],"additionalProperties":false}},"required":["name","type"],"additionalProperties":false},"maxItems":128}},"required":["link"],"additionalProperties":false},"request_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"repeat_of":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"}},"required":["request_id","form"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"form":{"type":"object","properties":{"link":{"type":"string","maxLength":65536},"quantity":{"type":"string","maxLength":65536},"comments":{"type":"string","maxLength":65536},"answer_number":{"type":"string","maxLength":65536},"media":{"type":"string","maxLength":65536},"hashtag":{"type":"string","maxLength":65536},"hashtags":{"type":"string","maxLength":65536},"username":{"type":"string","maxLength":65536},"usernames":{"type":"string","maxLength":65536},"keywords":{"type":"string","maxLength":65536},"groups":{"type":"string","maxLength":65536},"country":{"type":"string","maxLength":65536},"device":{"type":"string","maxLength":65536},"type_of_traffic":{"type":"string","maxLength":65536},"google_keyword":{"type":"string","maxLength":65536},"referring_url":{"type":"string","maxLength":65536},"expiry":{"type":"string","maxLength":65536},"delay":{"type":"string","maxLength":65536},"delay_type":{"type":"string","maxLength":65536},"posts_min":{"type":"string","maxLength":65536},"posts_max":{"type":"string","maxLength":65536},"quantity_range_min":{"type":"string","maxLength":65536},"quantity_range_max":{"type":"string","maxLength":65536},"agreeGiveguaranteeCheckbox":{"type":"string","maxLength":65536},"runs":{"type":"string","maxLength":65536},"interval":{"type":"string","maxLength":65536},"interval_time":{"type":"string","maxLength":65536},"check":{"type":"string","maxLength":65536},"additional_field":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^field_[0-9]+$","maxLength":128},"value":{"anyOf":[{"type":"string","maxLength":65536},{"type":"array","items":{"type":"string","maxLength":65536},"maxItems":256}]}},"required":["name","value"],"additionalProperties":false},"maxItems":128},"only_manual_additional_field":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^field_[0-9]+$","maxLength":128},"type":{"type":"string","enum":["input_line","textarea_line","radio_line"]},"value":{"type":"string","maxLength":65536},"options":{"type":"object","properties":{"value":{"anyOf":[{"type":"string","maxLength":65536},{"type":"array","items":{"type":"string","maxLength":65536},"maxItems":256}]}},"required":[],"additionalProperties":false}},"required":["name","type"],"additionalProperties":false},"maxItems":128}},"required":["link"],"additionalProperties":false},"request_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["request_id","form","service_id"],"additionalProperties":false},{"type":"object","properties":{"form":{"type":"object","properties":{"link":{"type":"string","maxLength":65536},"quantity":{"type":"string","maxLength":65536},"comments":{"type":"string","maxLength":65536},"answer_number":{"type":"string","maxLength":65536},"media":{"type":"string","maxLength":65536},"hashtag":{"type":"string","maxLength":65536},"hashtags":{"type":"string","maxLength":65536},"username":{"type":"string","maxLength":65536},"usernames":{"type":"string","maxLength":65536},"keywords":{"type":"string","maxLength":65536},"groups":{"type":"string","maxLength":65536},"country":{"type":"string","maxLength":65536},"device":{"type":"string","maxLength":65536},"type_of_traffic":{"type":"string","maxLength":65536},"google_keyword":{"type":"string","maxLength":65536},"referring_url":{"type":"string","maxLength":65536},"expiry":{"type":"string","maxLength":65536},"delay":{"type":"string","maxLength":65536},"delay_type":{"type":"string","maxLength":65536},"posts_min":{"type":"string","maxLength":65536},"posts_max":{"type":"string","maxLength":65536},"quantity_range_min":{"type":"string","maxLength":65536},"quantity_range_max":{"type":"string","maxLength":65536},"agreeGiveguaranteeCheckbox":{"type":"string","maxLength":65536},"runs":{"type":"string","maxLength":65536},"interval":{"type":"string","maxLength":65536},"interval_time":{"type":"string","maxLength":65536},"check":{"type":"string","maxLength":65536},"additional_field":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^field_[0-9]+$","maxLength":128},"value":{"anyOf":[{"type":"string","maxLength":65536},{"type":"array","items":{"type":"string","maxLength":65536},"maxItems":256}]}},"required":["name","value"],"additionalProperties":false},"maxItems":128},"only_manual_additional_field":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","pattern":"^field_[0-9]+$","maxLength":128},"type":{"type":"string","enum":["input_line","textarea_line","radio_line"]},"value":{"type":"string","maxLength":65536},"options":{"type":"object","properties":{"value":{"anyOf":[{"type":"string","maxLength":65536},{"type":"array","items":{"type":"string","maxLength":65536},"maxItems":256}]}},"required":[],"additionalProperties":false}},"required":["name","type"],"additionalProperties":false},"maxItems":128}},"required":["link"],"additionalProperties":false},"request_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"repeat_of":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"}},"required":["request_id","form","repeat_of"],"additionalProperties":false}]},"outputSchema":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"order_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$"},"amount_spent":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"order"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["order_id"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"order"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"order_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$"},"amount_spent":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"order"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["order_id"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"order_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$"},"amount_spent":{"type":["string","null"],"pattern":"^-?(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"order"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["order_id"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"order"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},"required_scopes":["orders.write"],"risk":"money","description":"Place one permitted order; reuse request_id unchanged on retry. Subscriptions require separate future consent."},{"name":"orders_cancel","inputSchema":{"type":"object","properties":{"order_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["order_id","operation_id"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"order_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"action":{"type":"string","enum":["cancel","refill"]},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"lifecycle_state":{"type":"string","enum":["not_admitted","admitted","unknown","accepted","rejected","not_sent","closed"]},"approval_url":{"type":["string","null"],"maxLength":1024},"expires_at":{"type":"string"},"request_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$"},"observed_at":{"type":"string"},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"lifecycle"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","order_id","action","approval_state","lifecycle_state","approval_url","expires_at","request_id","observed_at"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"lifecycle"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"order_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"action":{"type":"string","enum":["cancel","refill"]},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"lifecycle_state":{"type":"string","enum":["not_admitted","admitted","unknown","accepted","rejected","not_sent","closed"]},"approval_url":{"type":["string","null"],"maxLength":1024},"expires_at":{"type":"string"},"request_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$"},"observed_at":{"type":"string"},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"lifecycle"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","order_id","action","approval_state","lifecycle_state","approval_url","expires_at","request_id","observed_at"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"order_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"action":{"type":"string","enum":["cancel","refill"]},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"lifecycle_state":{"type":"string","enum":["not_admitted","admitted","unknown","accepted","rejected","not_sent","closed"]},"approval_url":{"type":["string","null"],"maxLength":1024},"expires_at":{"type":"string"},"request_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$"},"observed_at":{"type":"string"},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"lifecycle"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","order_id","action","approval_state","lifecycle_state","approval_url","expires_at","request_id","observed_at"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"lifecycle"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},"required_scopes":["orders.read","orders.write"],"scope_options":{"cancel":["orders.read","orders.write"]},"risk":"write","description":"Request cancellation with existing consent; keep the returned operation reference."},{"name":"orders_read","inputSchema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string","pattern":"^[1-9][0-9]*$"},"minItems":1,"maxItems":100,"uniqueItems":true},"kind":{"anyOf":[{"type":"string","const":"orders"},{"type":"string","const":"refills"}]},"status":{"anyOf":[{"type":"string","enum":["all","pending","inprogress","completed","partial","processing","canceled"]},{"type":"string","enum":["all","Pending","Accepted","Refilling","Completed","Rejected","Error","canceled"]}]},"search":{"type":"string","maxLength":200},"parent":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["dripfeed"]},"id":{"type":"string","pattern":"^[1-9][0-9]*$"}},"required":["kind","id"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","enum":["subscription_old","subscription_new"]},"id":{"type":"string","pattern":"^[1-9][0-9]*$"}},"required":["kind","id"],"additionalProperties":false}]},"page":{"type":"integer","minimum":1},"limit":{"type":"integer","minimum":1,"maximum":50}},"required":[],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string","pattern":"^[1-9][0-9]*$"},"minItems":1,"maxItems":100,"uniqueItems":true},"kind":{"type":"string","const":"orders"}},"required":["ids"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["all","pending","inprogress","completed","partial","processing","canceled"]},"search":{"type":"string","maxLength":200},"parent":{"type":"object","properties":{"kind":{"type":"string","enum":["dripfeed"]},"id":{"type":"string","pattern":"^[1-9][0-9]*$"}},"required":["kind","id"],"additionalProperties":false},"page":{"type":"integer","minimum":1},"limit":{"type":"integer","minimum":1,"maximum":50},"kind":{"type":"string","const":"orders"}},"required":[],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["all","Pending","Accepted","Refilling","Completed","Rejected","Error","canceled"]},"search":{"type":"string","maxLength":200},"page":{"type":"integer","minimum":1},"limit":{"type":"integer","minimum":1,"maximum":50},"kind":{"type":"string","const":"refills"}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"status":{"type":"string","enum":["all","pending","inprogress","completed","partial","processing","canceled"]},"search":{"type":"string","maxLength":200},"parent":{"type":"object","properties":{"kind":{"type":"string","enum":["subscription_old","subscription_new"]},"id":{"type":"string","pattern":"^[1-9][0-9]*$"}},"required":["kind","id"],"additionalProperties":false},"page":{"type":"integer","minimum":1},"limit":{"type":"integer","minimum":1,"maximum":50},"kind":{"type":"string","const":"orders"}},"required":["parent"],"additionalProperties":false}]},"outputSchema":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"order_id":{"type":"string"},"service_id":{"type":["string","null"]},"service_name":{"type":"string"},"link":{"type":"string"},"created_at":{"type":"string"},"timezone":{"type":"string"},"status":{"type":"string"},"status_detail":{"type":["string","null"]},"quantity":{"type":"integer"},"start_count":{"type":"integer"},"remains":{"type":"integer"},"done":{"type":"string"},"charge_amount":{"type":"string"},"charge_currency":{"type":"string"},"additional_fields":{"type":"string"},"manual_fields":{"type":"string"}},"required":["order_id","service_id","service_name","link","created_at","timezone","status","quantity","start_count","remains","done","charge_amount","charge_currency"],"additionalProperties":false}},"missing_ids":{"type":"array","items":{"type":"string"}}},"required":["items","missing_ids"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"order_id":{"type":"string"},"service_id":{"type":["string","null"]},"service_name":{"type":"string"},"link":{"type":"string"},"created_at":{"type":"string"},"timezone":{"type":"string"},"status":{"type":"string"},"status_detail":{"type":["string","null"]},"quantity":{"type":"integer"},"start_count":{"type":"integer"},"remains":{"type":"integer"},"done":{"type":"string"},"charge_amount":{"type":"string"},"charge_currency":{"type":"string"},"additional_fields":{"type":"string"},"manual_fields":{"type":"string"}},"required":["order_id","service_id","service_name","link","created_at","timezone","status","quantity","start_count","remains","done","charge_amount","charge_currency"],"additionalProperties":false}},"missing_ids":{"type":"array","items":{"type":"string"}}},"required":["items","missing_ids"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"order_id":{"type":"string"},"service_id":{"type":["string","null"]},"service_name":{"type":"string"},"link":{"type":"string"},"created_at":{"type":"string"},"timezone":{"type":"string"},"status":{"type":"string"},"status_detail":{"type":["string","null"]},"quantity":{"type":"integer"},"start_count":{"type":"integer"},"remains":{"type":"integer"},"done":{"type":"string"},"charge_amount":{"type":"string"},"charge_currency":{"type":"string"},"additional_fields":{"type":"string"},"manual_fields":{"type":"string"}},"required":["order_id","service_id","service_name","link","created_at","timezone","status","quantity","start_count","remains","done","charge_amount","charge_currency"],"additionalProperties":false}},"missing_ids":{"type":"array","items":{"type":"string"}}},"required":["items","missing_ids"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"order_id":{"type":"string"},"service_id":{"type":["string","null"]},"service_name":{"type":"string"},"link":{"type":"string"},"created_at":{"type":"string"},"timezone":{"type":"string"},"status":{"type":"string"},"status_detail":{"type":["string","null"]},"quantity":{"type":"integer"},"start_count":{"type":"integer"},"remains":{"type":"integer"},"done":{"type":"string"},"charge_amount":{"type":"string"},"charge_currency":{"type":"string"},"additional_fields":{"type":"string"},"manual_fields":{"type":"string"}},"required":["order_id","service_id","service_name","link","created_at","timezone","status","quantity","start_count","remains","done","charge_amount","charge_currency"],"additionalProperties":false}},"page":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"},"has_more":{"type":"boolean"},"filters":{"type":"object","properties":{"status":{"type":"string"},"search":{"type":"string"},"parent":{"type":["object","null"],"properties":{"kind":{"type":"string"},"id":{"type":"string"}},"required":["kind","id"],"additionalProperties":false}},"required":["status","search","parent"],"additionalProperties":false},"available":{"type":"boolean"},"parent":{"type":["object","null"],"properties":{"kind":{"type":"string"},"id":{"type":"string"}},"required":["kind","id"],"additionalProperties":false},"status_counts":{"type":"object","properties":{"all":{"type":"integer"},"pending":{"type":"integer"},"inprogress":{"type":"integer"},"completed":{"type":"integer"},"partial":{"type":"integer"},"processing":{"type":"integer"},"canceled":{"type":"integer"}},"required":["all","pending","inprogress","completed","partial","processing","canceled"],"additionalProperties":false}},"required":["items","page","limit","total","has_more","filters","available","parent","status_counts"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"order_id":{"type":"string"},"service_id":{"type":["string","null"]},"service_name":{"type":"string"},"link":{"type":"string"},"created_at":{"type":"string"},"timezone":{"type":"string"},"status":{"type":"string"},"status_detail":{"type":["string","null"]},"quantity":{"type":"integer"},"start_count":{"type":"integer"},"remains":{"type":"integer"},"done":{"type":"string"},"charge_amount":{"type":"string"},"charge_currency":{"type":"string"},"additional_fields":{"type":"string"},"manual_fields":{"type":"string"}},"required":["order_id","service_id","service_name","link","created_at","timezone","status","quantity","start_count","remains","done","charge_amount","charge_currency"],"additionalProperties":false}},"page":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"},"has_more":{"type":"boolean"},"filters":{"type":"object","properties":{"status":{"type":"string"},"search":{"type":"string"},"parent":{"type":["object","null"],"properties":{"kind":{"type":"string"},"id":{"type":"string"}},"required":["kind","id"],"additionalProperties":false}},"required":["status","search","parent"],"additionalProperties":false},"available":{"type":"boolean"},"parent":{"type":["object","null"],"properties":{"kind":{"type":"string"},"id":{"type":"string"}},"required":["kind","id"],"additionalProperties":false},"status_counts":{"type":"object","properties":{"all":{"type":"integer"},"pending":{"type":"integer"},"inprogress":{"type":"integer"},"completed":{"type":"integer"},"partial":{"type":"integer"},"processing":{"type":"integer"},"canceled":{"type":"integer"}},"required":["all","pending","inprogress","completed","partial","processing","canceled"],"additionalProperties":false}},"required":["items","page","limit","total","has_more","filters","available","parent","status_counts"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"order_id":{"type":"string"},"service_id":{"type":["string","null"]},"service_name":{"type":"string"},"link":{"type":"string"},"created_at":{"type":"string"},"timezone":{"type":"string"},"status":{"type":"string"},"status_detail":{"type":["string","null"]},"quantity":{"type":"integer"},"start_count":{"type":"integer"},"remains":{"type":"integer"},"done":{"type":"string"},"charge_amount":{"type":"string"},"charge_currency":{"type":"string"},"additional_fields":{"type":"string"},"manual_fields":{"type":"string"}},"required":["order_id","service_id","service_name","link","created_at","timezone","status","quantity","start_count","remains","done","charge_amount","charge_currency"],"additionalProperties":false}},"page":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"},"has_more":{"type":"boolean"},"filters":{"type":"object","properties":{"status":{"type":"string"},"search":{"type":"string"},"parent":{"type":["object","null"],"properties":{"kind":{"type":"string"},"id":{"type":"string"}},"required":["kind","id"],"additionalProperties":false}},"required":["status","search","parent"],"additionalProperties":false},"available":{"type":"boolean"},"parent":{"type":["object","null"],"properties":{"kind":{"type":"string"},"id":{"type":"string"}},"required":["kind","id"],"additionalProperties":false},"status_counts":{"type":"object","properties":{"all":{"type":"integer"},"pending":{"type":"integer"},"inprogress":{"type":"integer"},"completed":{"type":"integer"},"partial":{"type":"integer"},"processing":{"type":"integer"},"canceled":{"type":"integer"}},"required":["all","pending","inprogress","completed","partial","processing","canceled"],"additionalProperties":false}},"required":["items","page","limit","total","has_more","filters","available","parent","status_counts"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"refill_id":{"type":"string"},"order_id":{"type":"string"},"service_id":{"type":"string"},"service_name":{"type":"string"},"link":{"type":"string"},"created_at":{"type":"string"},"timezone":{"type":"string"},"status":{"type":"string"}},"required":["refill_id","order_id","service_id","service_name","link","created_at","timezone","status"],"additionalProperties":false}},"page":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"},"has_more":{"type":"boolean"},"filters":{"type":"object","properties":{"status":{"type":"string"},"search":{"type":"string"}},"required":["status","search"],"additionalProperties":false}},"required":["items","page","limit","total","has_more","filters"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"refill_id":{"type":"string"},"order_id":{"type":"string"},"service_id":{"type":"string"},"service_name":{"type":"string"},"link":{"type":"string"},"created_at":{"type":"string"},"timezone":{"type":"string"},"status":{"type":"string"}},"required":["refill_id","order_id","service_id","service_name","link","created_at","timezone","status"],"additionalProperties":false}},"page":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"},"has_more":{"type":"boolean"},"filters":{"type":"object","properties":{"status":{"type":"string"},"search":{"type":"string"}},"required":["status","search"],"additionalProperties":false}},"required":["items","page","limit","total","has_more","filters"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"refill_id":{"type":"string"},"order_id":{"type":"string"},"service_id":{"type":"string"},"service_name":{"type":"string"},"link":{"type":"string"},"created_at":{"type":"string"},"timezone":{"type":"string"},"status":{"type":"string"}},"required":["refill_id","order_id","service_id","service_name","link","created_at","timezone","status"],"additionalProperties":false}},"page":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"},"has_more":{"type":"boolean"},"filters":{"type":"object","properties":{"status":{"type":"string"},"search":{"type":"string"}},"required":["status","search"],"additionalProperties":false}},"required":["items","page","limit","total","has_more","filters"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"order_id":{"type":"string"},"service_id":{"type":["string","null"]},"service_name":{"type":"string"},"link":{"type":"string"},"created_at":{"type":"string"},"timezone":{"type":"string"},"status":{"type":"string"},"status_detail":{"type":["string","null"]},"quantity":{"type":"integer"},"start_count":{"type":"integer"},"remains":{"type":"integer"},"done":{"type":"string"},"charge_amount":{"type":"string"},"charge_currency":{"type":"string"},"additional_fields":{"type":"string"},"manual_fields":{"type":"string"}},"required":["order_id","service_id","service_name","link","created_at","timezone","status","quantity","start_count","remains","done","charge_amount","charge_currency"],"additionalProperties":false}},"page":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"},"has_more":{"type":"boolean"},"filters":{"type":"object","properties":{"status":{"type":"string"},"search":{"type":"string"},"parent":{"type":["object","null"],"properties":{"kind":{"type":"string"},"id":{"type":"string"}},"required":["kind","id"],"additionalProperties":false}},"required":["status","search","parent"],"additionalProperties":false},"available":{"type":"boolean"},"parent":{"type":["object","null"],"properties":{"kind":{"type":"string"},"id":{"type":"string"}},"required":["kind","id"],"additionalProperties":false},"status_counts":{"type":"object","properties":{"all":{"type":"integer"},"pending":{"type":"integer"},"inprogress":{"type":"integer"},"completed":{"type":"integer"},"partial":{"type":"integer"},"processing":{"type":"integer"},"canceled":{"type":"integer"}},"required":["all","pending","inprogress","completed","partial","processing","canceled"],"additionalProperties":false}},"required":["items","page","limit","total","has_more","filters","available","parent","status_counts"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"order_id":{"type":"string"},"service_id":{"type":["string","null"]},"service_name":{"type":"string"},"link":{"type":"string"},"created_at":{"type":"string"},"timezone":{"type":"string"},"status":{"type":"string"},"status_detail":{"type":["string","null"]},"quantity":{"type":"integer"},"start_count":{"type":"integer"},"remains":{"type":"integer"},"done":{"type":"string"},"charge_amount":{"type":"string"},"charge_currency":{"type":"string"},"additional_fields":{"type":"string"},"manual_fields":{"type":"string"}},"required":["order_id","service_id","service_name","link","created_at","timezone","status","quantity","start_count","remains","done","charge_amount","charge_currency"],"additionalProperties":false}},"page":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"},"has_more":{"type":"boolean"},"filters":{"type":"object","properties":{"status":{"type":"string"},"search":{"type":"string"},"parent":{"type":["object","null"],"properties":{"kind":{"type":"string"},"id":{"type":"string"}},"required":["kind","id"],"additionalProperties":false}},"required":["status","search","parent"],"additionalProperties":false},"available":{"type":"boolean"},"parent":{"type":["object","null"],"properties":{"kind":{"type":"string"},"id":{"type":"string"}},"required":["kind","id"],"additionalProperties":false},"status_counts":{"type":"object","properties":{"all":{"type":"integer"},"pending":{"type":"integer"},"inprogress":{"type":"integer"},"completed":{"type":"integer"},"partial":{"type":"integer"},"processing":{"type":"integer"},"canceled":{"type":"integer"}},"required":["all","pending","inprogress","completed","partial","processing","canceled"],"additionalProperties":false}},"required":["items","page","limit","total","has_more","filters","available","parent","status_counts"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"order_id":{"type":"string"},"service_id":{"type":["string","null"]},"service_name":{"type":"string"},"link":{"type":"string"},"created_at":{"type":"string"},"timezone":{"type":"string"},"status":{"type":"string"},"status_detail":{"type":["string","null"]},"quantity":{"type":"integer"},"start_count":{"type":"integer"},"remains":{"type":"integer"},"done":{"type":"string"},"charge_amount":{"type":"string"},"charge_currency":{"type":"string"},"additional_fields":{"type":"string"},"manual_fields":{"type":"string"}},"required":["order_id","service_id","service_name","link","created_at","timezone","status","quantity","start_count","remains","done","charge_amount","charge_currency"],"additionalProperties":false}},"page":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"},"has_more":{"type":"boolean"},"filters":{"type":"object","properties":{"status":{"type":"string"},"search":{"type":"string"},"parent":{"type":["object","null"],"properties":{"kind":{"type":"string"},"id":{"type":"string"}},"required":["kind","id"],"additionalProperties":false}},"required":["status","search","parent"],"additionalProperties":false},"available":{"type":"boolean"},"parent":{"type":["object","null"],"properties":{"kind":{"type":"string"},"id":{"type":"string"}},"required":["kind","id"],"additionalProperties":false},"status_counts":{"type":"object","properties":{"all":{"type":"integer"},"pending":{"type":"integer"},"inprogress":{"type":"integer"},"completed":{"type":"integer"},"partial":{"type":"integer"},"processing":{"type":"integer"},"canceled":{"type":"integer"}},"required":["all","pending","inprogress","completed","partial","processing","canceled"],"additionalProperties":false}},"required":["items","page","limit","total","has_more","filters","available","parent","status_counts"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]}]},"required_scopes":["orders.read"],"scope_options":{"ids":["orders.read"],"list":["orders.read"],"refills":["orders.read"],"subscription":["subscriptions.read","orders.read"]},"risk":"read","description":"Read own orders, subscription children or refills."},{"name":"orders_refill","inputSchema":{"type":"object","properties":{"order_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["order_id","operation_id"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"order_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"action":{"type":"string","enum":["cancel","refill"]},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"lifecycle_state":{"type":"string","enum":["not_admitted","admitted","unknown","accepted","rejected","not_sent","closed"]},"approval_url":{"type":["string","null"],"maxLength":1024},"expires_at":{"type":"string"},"request_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$"},"observed_at":{"type":"string"},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"lifecycle"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","order_id","action","approval_state","lifecycle_state","approval_url","expires_at","request_id","observed_at"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"lifecycle"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"order_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"action":{"type":"string","enum":["cancel","refill"]},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"lifecycle_state":{"type":"string","enum":["not_admitted","admitted","unknown","accepted","rejected","not_sent","closed"]},"approval_url":{"type":["string","null"],"maxLength":1024},"expires_at":{"type":"string"},"request_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$"},"observed_at":{"type":"string"},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"lifecycle"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","order_id","action","approval_state","lifecycle_state","approval_url","expires_at","request_id","observed_at"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"order_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"action":{"type":"string","enum":["cancel","refill"]},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"lifecycle_state":{"type":"string","enum":["not_admitted","admitted","unknown","accepted","rejected","not_sent","closed"]},"approval_url":{"type":["string","null"],"maxLength":1024},"expires_at":{"type":"string"},"request_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,19}$"},"observed_at":{"type":"string"},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"lifecycle"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","order_id","action","approval_state","lifecycle_state","approval_url","expires_at","request_id","observed_at"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"lifecycle"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},"required_scopes":["orders.read","orders.write"],"scope_options":{"refill":["orders.read","orders.write"]},"risk":"write","description":"Request refill with existing consent; keep the returned operation reference."},{"name":"payment_prepare","inputSchema":{"type":"object","properties":{},"required":[],"additionalProperties":false},"outputSchema":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"methods":{"type":"array","items":{"type":"object","properties":{"method_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"name":{"type":"string","minLength":1,"maxLength":256},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"min_amount":{"type":["string","null"],"pattern":"^[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_min_amount":{"type":["string","null"],"pattern":"^[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"max_amount":{"type":["string","null"],"pattern":"^[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_max_amount":{"type":["string","null"],"pattern":"^[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"fee_percent":{"type":["string","null"],"pattern":"^[0-9]{1,6}\\.[0-9]{2}$","minLength":4,"maxLength":16},"bonus_tiers":{"type":"array","items":{"type":"object","properties":{"min_deposit_amount":{"type":"string","pattern":"^[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_min_deposit_amount":{"type":"string","pattern":"^[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"bonus_percent":{"type":"string","pattern":"^[0-9]{1,6}\\.[0-9]{2}$","minLength":4,"maxLength":16}},"required":["min_deposit_amount","display_min_deposit_amount","bonus_percent"],"additionalProperties":false},"maxItems":32}},"required":["method_id","name","accounting_currency","display_currency","min_amount","display_min_amount","max_amount","display_max_amount","fee_percent","bonus_tiers"],"additionalProperties":false},"maxItems":100}},"required":["accounting_currency","display_currency","methods"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"methods":{"type":"array","items":{"type":"object","properties":{"method_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"name":{"type":"string","minLength":1,"maxLength":256},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"min_amount":{"type":["string","null"],"pattern":"^[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_min_amount":{"type":["string","null"],"pattern":"^[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"max_amount":{"type":["string","null"],"pattern":"^[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_max_amount":{"type":["string","null"],"pattern":"^[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"fee_percent":{"type":["string","null"],"pattern":"^[0-9]{1,6}\\.[0-9]{2}$","minLength":4,"maxLength":16},"bonus_tiers":{"type":"array","items":{"type":"object","properties":{"min_deposit_amount":{"type":"string","pattern":"^[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_min_deposit_amount":{"type":"string","pattern":"^[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"bonus_percent":{"type":"string","pattern":"^[0-9]{1,6}\\.[0-9]{2}$","minLength":4,"maxLength":16}},"required":["min_deposit_amount","display_min_deposit_amount","bonus_percent"],"additionalProperties":false},"maxItems":32}},"required":["method_id","name","accounting_currency","display_currency","min_amount","display_min_amount","max_amount","display_max_amount","fee_percent","bonus_tiers"],"additionalProperties":false},"maxItems":100}},"required":["accounting_currency","display_currency","methods"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"methods":{"type":"array","items":{"type":"object","properties":{"method_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"name":{"type":"string","minLength":1,"maxLength":256},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"min_amount":{"type":["string","null"],"pattern":"^[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_min_amount":{"type":["string","null"],"pattern":"^[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"max_amount":{"type":["string","null"],"pattern":"^[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_max_amount":{"type":["string","null"],"pattern":"^[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"fee_percent":{"type":["string","null"],"pattern":"^[0-9]{1,6}\\.[0-9]{2}$","minLength":4,"maxLength":16},"bonus_tiers":{"type":"array","items":{"type":"object","properties":{"min_deposit_amount":{"type":"string","pattern":"^[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_min_deposit_amount":{"type":"string","pattern":"^[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"bonus_percent":{"type":"string","pattern":"^[0-9]{1,6}\\.[0-9]{2}$","minLength":4,"maxLength":16}},"required":["min_deposit_amount","display_min_deposit_amount","bonus_percent"],"additionalProperties":false},"maxItems":32}},"required":["method_id","name","accounting_currency","display_currency","min_amount","display_min_amount","max_amount","display_max_amount","fee_percent","bonus_tiers"],"additionalProperties":false},"maxItems":100}},"required":["accounting_currency","display_currency","methods"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"capability_id":{"type":"string","enum":["payments.create"]},"delivery":{"type":"string","const":"browser_only"},"personal_url":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:(?:[a-z]{2}/)?(?:addfunds|account|login|resetpassword)|confirm_email|ai-connections)$"},"method":{"type":"string","const":"GET"},"effect":{"type":"string","const":"none"},"browser_action_required":{"type":"boolean","const":true}},"required":["capability_id","delivery","personal_url","method","effect","browser_action_required"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":"null"},"state":{"type":"null"}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$","const":"personal_action_required"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"capability_id":{"type":"string","enum":["payments.create"]},"delivery":{"type":"string","const":"browser_only"},"personal_url":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:(?:[a-z]{2}/)?(?:addfunds|account|login|resetpassword)|confirm_email|ai-connections)$"},"method":{"type":"string","const":"GET"},"effect":{"type":"string","const":"none"},"browser_action_required":{"type":"boolean","const":true}},"required":["capability_id","delivery","personal_url","method","effect","browser_action_required"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":"null"},"state":{"type":"null"}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"capability_id":{"type":"string","enum":["payments.create"]},"delivery":{"type":"string","const":"browser_only"},"personal_url":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:(?:[a-z]{2}/)?(?:addfunds|account|login|resetpassword)|confirm_email|ai-connections)$"},"method":{"type":"string","const":"GET"},"effect":{"type":"string","const":"none"},"browser_action_required":{"type":"boolean","const":true}},"required":["capability_id","delivery","personal_url","method","effect","browser_action_required"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":"null"},"state":{"type":"null"}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"payment_methods_list":{"type":"object","properties":{"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"methods":{"type":"array","items":{"type":"object","properties":{"method_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"name":{"type":"string","minLength":1,"maxLength":256},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"min_amount":{"type":["string","null"],"pattern":"^[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_min_amount":{"type":["string","null"],"pattern":"^[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"max_amount":{"type":["string","null"],"pattern":"^[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_max_amount":{"type":["string","null"],"pattern":"^[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"fee_percent":{"type":["string","null"],"pattern":"^[0-9]{1,6}\\.[0-9]{2}$","minLength":4,"maxLength":16},"bonus_tiers":{"type":"array","items":{"type":"object","properties":{"min_deposit_amount":{"type":"string","pattern":"^[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_min_deposit_amount":{"type":"string","pattern":"^[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"bonus_percent":{"type":"string","pattern":"^[0-9]{1,6}\\.[0-9]{2}$","minLength":4,"maxLength":16}},"required":["min_deposit_amount","display_min_deposit_amount","bonus_percent"],"additionalProperties":false},"maxItems":32}},"required":["method_id","name","accounting_currency","display_currency","min_amount","display_min_amount","max_amount","display_max_amount","fee_percent","bonus_tiers"],"additionalProperties":false},"maxItems":100}},"required":["accounting_currency","display_currency","methods"],"additionalProperties":false},"payment_browser_prepare":{"type":"object","properties":{"capability_id":{"type":"string","enum":["payments.create"]},"delivery":{"type":"string","const":"browser_only"},"personal_url":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:(?:[a-z]{2}/)?(?:addfunds|account|login|resetpassword)|confirm_email|ai-connections)$"},"method":{"type":"string","const":"GET"},"effect":{"type":"string","const":"none"},"browser_action_required":{"type":"boolean","const":true}},"required":["capability_id","delivery","personal_url","method","effect","browser_action_required"],"additionalProperties":false}},"required":["payment_methods_list","payment_browser_prepare"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"payment_methods_list":{"type":"object","properties":{"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"methods":{"type":"array","items":{"type":"object","properties":{"method_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"name":{"type":"string","minLength":1,"maxLength":256},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"min_amount":{"type":["string","null"],"pattern":"^[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_min_amount":{"type":["string","null"],"pattern":"^[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"max_amount":{"type":["string","null"],"pattern":"^[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_max_amount":{"type":["string","null"],"pattern":"^[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"fee_percent":{"type":["string","null"],"pattern":"^[0-9]{1,6}\\.[0-9]{2}$","minLength":4,"maxLength":16},"bonus_tiers":{"type":"array","items":{"type":"object","properties":{"min_deposit_amount":{"type":"string","pattern":"^[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_min_deposit_amount":{"type":"string","pattern":"^[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"bonus_percent":{"type":"string","pattern":"^[0-9]{1,6}\\.[0-9]{2}$","minLength":4,"maxLength":16}},"required":["min_deposit_amount","display_min_deposit_amount","bonus_percent"],"additionalProperties":false},"maxItems":32}},"required":["method_id","name","accounting_currency","display_currency","min_amount","display_min_amount","max_amount","display_max_amount","fee_percent","bonus_tiers"],"additionalProperties":false},"maxItems":100}},"required":["accounting_currency","display_currency","methods"],"additionalProperties":false},"payment_browser_prepare":{"type":"object","properties":{"capability_id":{"type":"string","enum":["payments.create"]},"delivery":{"type":"string","const":"browser_only"},"personal_url":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:(?:[a-z]{2}/)?(?:addfunds|account|login|resetpassword)|confirm_email|ai-connections)$"},"method":{"type":"string","const":"GET"},"effect":{"type":"string","const":"none"},"browser_action_required":{"type":"boolean","const":true}},"required":["capability_id","delivery","personal_url","method","effect","browser_action_required"],"additionalProperties":false}},"required":["payment_methods_list","payment_browser_prepare"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"payment_methods_list":{"type":"object","properties":{"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"methods":{"type":"array","items":{"type":"object","properties":{"method_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$","minLength":1,"maxLength":20},"name":{"type":"string","minLength":1,"maxLength":256},"accounting_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"display_currency":{"type":"string","pattern":"^[A-Z]{3}$","minLength":3,"maxLength":3},"min_amount":{"type":["string","null"],"pattern":"^[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_min_amount":{"type":["string","null"],"pattern":"^[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"max_amount":{"type":["string","null"],"pattern":"^[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_max_amount":{"type":["string","null"],"pattern":"^[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"fee_percent":{"type":["string","null"],"pattern":"^[0-9]{1,6}\\.[0-9]{2}$","minLength":4,"maxLength":16},"bonus_tiers":{"type":"array","items":{"type":"object","properties":{"min_deposit_amount":{"type":"string","pattern":"^[0-9]{1,19}\\.[0-9]{2,7}$","minLength":4,"maxLength":32},"display_min_deposit_amount":{"type":"string","pattern":"^[0-9]{1,19}\\.[0-9]{2,8}$","minLength":4,"maxLength":32},"bonus_percent":{"type":"string","pattern":"^[0-9]{1,6}\\.[0-9]{2}$","minLength":4,"maxLength":16}},"required":["min_deposit_amount","display_min_deposit_amount","bonus_percent"],"additionalProperties":false},"maxItems":32}},"required":["method_id","name","accounting_currency","display_currency","min_amount","display_min_amount","max_amount","display_max_amount","fee_percent","bonus_tiers"],"additionalProperties":false},"maxItems":100}},"required":["accounting_currency","display_currency","methods"],"additionalProperties":false},"payment_browser_prepare":{"type":"object","properties":{"capability_id":{"type":"string","enum":["payments.create"]},"delivery":{"type":"string","const":"browser_only"},"personal_url":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:(?:[a-z]{2}/)?(?:addfunds|account|login|resetpassword)|confirm_email|ai-connections)$"},"method":{"type":"string","const":"GET"},"effect":{"type":"string","const":"none"},"browser_action_required":{"type":"boolean","const":true}},"required":["capability_id","delivery","personal_url","method","effect","browser_action_required"],"additionalProperties":false}},"required":["payment_methods_list","payment_browser_prepare"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]}]},"required_scopes":["payments.read"],"scope_options":{"payment":["payments.read"]},"risk":"read","description":"Read top-up methods and the browser payment link."},{"name":"public_page_get","inputSchema":{"type":"object","properties":{"mode":{"type":"string","enum":["list","get"]},"query":{"type":"string","maxLength":100},"limit":{"type":"integer","minimum":1,"maximum":20},"cursor":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^[A-Za-z0-9_-]+$"},"slug":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,99}$"},"offset":{"type":"integer","minimum":0,"maximum":1048576},"length":{"type":"integer","minimum":1,"maximum":16000},"revision":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["mode"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["list"]},"query":{"type":"string","maxLength":100},"limit":{"type":"integer","minimum":1,"maximum":20},"cursor":{"type":"string","minLength":1,"maxLength":1024,"pattern":"^[A-Za-z0-9_-]+$"}},"required":["mode"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["get"]},"slug":{"type":"string","pattern":"^[a-z0-9][a-z0-9_-]{0,99}$"},"offset":{"type":"integer","minimum":0,"maximum":1048576},"length":{"type":"integer","minimum":1,"maximum":16000},"revision":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["mode","slug"],"additionalProperties":false}]},"outputSchema":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"slug":{"type":"string","maxLength":100},"title_untrusted":{"type":"string","maxLength":512},"canonical_url":{"type":"string","maxLength":1024},"content_available":{"type":"boolean"},"last_modified":{"type":["string","null"]},"content_text_untrusted":{"type":"string","maxLength":16000},"offset":{"type":"integer","minimum":0},"next_offset":{"type":["integer","null"],"minimum":0},"total_chars":{"type":"integer","minimum":0},"revision":{"type":"string","pattern":"^[a-f0-9]{64}$"},"complete":{"type":"boolean"},"items":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string","maxLength":100},"title_untrusted":{"type":"string","maxLength":512},"canonical_url":{"type":"string","maxLength":1024},"content_available":{"type":"boolean"},"last_modified":{"type":["string","null"]}},"required":["slug","title_untrusted","canonical_url","content_available","last_modified"],"additionalProperties":false},"maxItems":20},"has_more":{"type":"boolean"},"next_cursor":{"type":["string","null"],"maxLength":1024}},"required":[],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"slug":{"type":"string","maxLength":100},"title_untrusted":{"type":"string","maxLength":512},"canonical_url":{"type":"string","maxLength":1024},"content_available":{"type":"boolean"},"last_modified":{"type":["string","null"]},"content_text_untrusted":{"type":"string","maxLength":16000},"offset":{"type":"integer","minimum":0},"next_offset":{"type":["integer","null"],"minimum":0},"total_chars":{"type":"integer","minimum":0},"revision":{"type":"string","pattern":"^[a-f0-9]{64}$"},"complete":{"type":"boolean"}},"required":["slug","title_untrusted","canonical_url","content_available","last_modified","content_text_untrusted","offset","next_offset","total_chars","revision","complete"],"additionalProperties":false},{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string","maxLength":100},"title_untrusted":{"type":"string","maxLength":512},"canonical_url":{"type":"string","maxLength":1024},"content_available":{"type":"boolean"},"last_modified":{"type":["string","null"]}},"required":["slug","title_untrusted","canonical_url","content_available","last_modified"],"additionalProperties":false},"maxItems":20},"has_more":{"type":"boolean"},"next_cursor":{"type":["string","null"],"maxLength":1024}},"required":["items","has_more","next_cursor"],"additionalProperties":false}]},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128},"canonical_url":{"type":"string","maxLength":1024}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"slug":{"type":"string","maxLength":100},"title_untrusted":{"type":"string","maxLength":512},"canonical_url":{"type":"string","maxLength":1024},"content_available":{"type":"boolean"},"last_modified":{"type":["string","null"]},"content_text_untrusted":{"type":"string","maxLength":16000},"offset":{"type":"integer","minimum":0},"next_offset":{"type":["integer","null"],"minimum":0},"total_chars":{"type":"integer","minimum":0},"revision":{"type":"string","pattern":"^[a-f0-9]{64}$"},"complete":{"type":"boolean"},"items":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string","maxLength":100},"title_untrusted":{"type":"string","maxLength":512},"canonical_url":{"type":"string","maxLength":1024},"content_available":{"type":"boolean"},"last_modified":{"type":["string","null"]}},"required":["slug","title_untrusted","canonical_url","content_available","last_modified"],"additionalProperties":false},"maxItems":20},"has_more":{"type":"boolean"},"next_cursor":{"type":["string","null"],"maxLength":1024}},"required":[],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"slug":{"type":"string","maxLength":100},"title_untrusted":{"type":"string","maxLength":512},"canonical_url":{"type":"string","maxLength":1024},"content_available":{"type":"boolean"},"last_modified":{"type":["string","null"]},"content_text_untrusted":{"type":"string","maxLength":16000},"offset":{"type":"integer","minimum":0},"next_offset":{"type":["integer","null"],"minimum":0},"total_chars":{"type":"integer","minimum":0},"revision":{"type":"string","pattern":"^[a-f0-9]{64}$"},"complete":{"type":"boolean"}},"required":["slug","title_untrusted","canonical_url","content_available","last_modified","content_text_untrusted","offset","next_offset","total_chars","revision","complete"],"additionalProperties":false},{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string","maxLength":100},"title_untrusted":{"type":"string","maxLength":512},"canonical_url":{"type":"string","maxLength":1024},"content_available":{"type":"boolean"},"last_modified":{"type":["string","null"]}},"required":["slug","title_untrusted","canonical_url","content_available","last_modified"],"additionalProperties":false},"maxItems":20},"has_more":{"type":"boolean"},"next_cursor":{"type":["string","null"],"maxLength":1024}},"required":["items","has_more","next_cursor"],"additionalProperties":false}]},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"slug":{"type":"string","maxLength":100},"title_untrusted":{"type":"string","maxLength":512},"canonical_url":{"type":"string","maxLength":1024},"content_available":{"type":"boolean"},"last_modified":{"type":["string","null"]},"content_text_untrusted":{"type":"string","maxLength":16000},"offset":{"type":"integer","minimum":0},"next_offset":{"type":["integer","null"],"minimum":0},"total_chars":{"type":"integer","minimum":0},"revision":{"type":"string","pattern":"^[a-f0-9]{64}$"},"complete":{"type":"boolean"},"items":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string","maxLength":100},"title_untrusted":{"type":"string","maxLength":512},"canonical_url":{"type":"string","maxLength":1024},"content_available":{"type":"boolean"},"last_modified":{"type":["string","null"]}},"required":["slug","title_untrusted","canonical_url","content_available","last_modified"],"additionalProperties":false},"maxItems":20},"has_more":{"type":"boolean"},"next_cursor":{"type":["string","null"],"maxLength":1024}},"required":[],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"slug":{"type":"string","maxLength":100},"title_untrusted":{"type":"string","maxLength":512},"canonical_url":{"type":"string","maxLength":1024},"content_available":{"type":"boolean"},"last_modified":{"type":["string","null"]},"content_text_untrusted":{"type":"string","maxLength":16000},"offset":{"type":"integer","minimum":0},"next_offset":{"type":["integer","null"],"minimum":0},"total_chars":{"type":"integer","minimum":0},"revision":{"type":"string","pattern":"^[a-f0-9]{64}$"},"complete":{"type":"boolean"}},"required":["slug","title_untrusted","canonical_url","content_available","last_modified","content_text_untrusted","offset","next_offset","total_chars","revision","complete"],"additionalProperties":false},{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"slug":{"type":"string","maxLength":100},"title_untrusted":{"type":"string","maxLength":512},"canonical_url":{"type":"string","maxLength":1024},"content_available":{"type":"boolean"},"last_modified":{"type":["string","null"]}},"required":["slug","title_untrusted","canonical_url","content_available","last_modified"],"additionalProperties":false},"maxItems":20},"has_more":{"type":"boolean"},"next_cursor":{"type":["string","null"],"maxLength":1024}},"required":["items","has_more","next_cursor"],"additionalProperties":false}]},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128},"canonical_url":{"type":"string","maxLength":1024}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},"required_scopes":["content.read"],"risk":"read","description":"List or read published information pages."},{"name":"service_details","inputSchema":{"type":"object","properties":{"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"}},"required":["service_id"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"service":{"type":"object","properties":{"service_id":{"type":"string"},"name":{"type":"string"},"package":{"type":"integer"},"description":{"type":"string"},"url":{"type":"string"},"platform":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"group":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"category":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"minimum":{"type":"string"},"maximum":{"type":"string"},"step":{"type":"integer"},"dripfeed":{"type":"boolean"},"refill":{"type":"boolean"},"cancel":{"type":"boolean"},"speed":{"type":["number","null"]},"display_price":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"},"quantity":{"type":"integer"},"from":{"type":"boolean"}},"required":["amount","currency","quantity","from"],"additionalProperties":false}},"required":["service_id","name","package","description","url","platform","group","category","minimum","maximum","step","dripfeed","refill","cancel","speed","display_price"],"additionalProperties":false},"form_schema_json":{"type":"string","maxLength":262144},"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"label":{"type":"string"},"required":{"type":"boolean"},"derived":{"type":"boolean"}},"required":["name","label","required","derived"],"additionalProperties":false},"maxItems":128},"additional_fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"input_name":{"type":"string"},"kind":{"type":"string"},"label":{"type":"string"},"required":{"type":"boolean"}},"required":["id","input_name","kind","label","required"],"additionalProperties":false},"maxItems":128},"manual_fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"input_name":{"type":"string"},"kind":{"type":"string"},"label":{"type":"string"},"required":{"type":"boolean"},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"label":{"type":"string"}},"required":["value","label"],"additionalProperties":false},"maxItems":128}},"required":["id","input_name","kind","label","required","options"],"additionalProperties":false},"maxItems":128},"quantity_source":{"type":"string"},"limits":{"type":"object","properties":{"minimum":{"type":"string"},"maximum":{"type":"string"},"multiple":{"type":"string"}},"required":["minimum","maximum","multiple"],"additionalProperties":false},"dripfeed_available":{"type":"boolean"},"conditional_required":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"when":{"type":"object","properties":{"type_of_traffic":{"type":"string"}},"required":["type_of_traffic"],"additionalProperties":false},"fields":{"type":"array","items":{"type":"string"},"maxItems":128}},"required":["when","fields"],"additionalProperties":false},{"type":"object","properties":{"any_nonempty":{"type":"array","items":{"type":"string"},"maxItems":128}},"required":["any_nonempty"],"additionalProperties":false}]},"maxItems":16},"required_scopes":{"type":"array","items":{"type":"string"},"maxItems":128},"readiness":{"type":"object","properties":{"status":{"type":"string","const":"requires_prepare"},"quote_required":{"type":"boolean","const":true},"commit_checked":{"type":"boolean","const":false}},"required":["status","quote_required","commit_checked"],"additionalProperties":false}},"required":["service","form_schema_json","fields","additional_fields","manual_fields","quantity_source","limits","dripfeed_available","conditional_required","required_scopes","readiness"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"service":{"type":"object","properties":{"service_id":{"type":"string"},"name":{"type":"string"},"package":{"type":"integer"},"description":{"type":"string"},"url":{"type":"string"},"platform":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"group":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"category":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"minimum":{"type":"string"},"maximum":{"type":"string"},"step":{"type":"integer"},"dripfeed":{"type":"boolean"},"refill":{"type":"boolean"},"cancel":{"type":"boolean"},"speed":{"type":["number","null"]},"display_price":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"},"quantity":{"type":"integer"},"from":{"type":"boolean"}},"required":["amount","currency","quantity","from"],"additionalProperties":false}},"required":["service_id","name","package","description","url","platform","group","category","minimum","maximum","step","dripfeed","refill","cancel","speed","display_price"],"additionalProperties":false},"form_schema_json":{"type":"string","maxLength":262144},"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"label":{"type":"string"},"required":{"type":"boolean"},"derived":{"type":"boolean"}},"required":["name","label","required","derived"],"additionalProperties":false},"maxItems":128},"additional_fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"input_name":{"type":"string"},"kind":{"type":"string"},"label":{"type":"string"},"required":{"type":"boolean"}},"required":["id","input_name","kind","label","required"],"additionalProperties":false},"maxItems":128},"manual_fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"input_name":{"type":"string"},"kind":{"type":"string"},"label":{"type":"string"},"required":{"type":"boolean"},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"label":{"type":"string"}},"required":["value","label"],"additionalProperties":false},"maxItems":128}},"required":["id","input_name","kind","label","required","options"],"additionalProperties":false},"maxItems":128},"quantity_source":{"type":"string"},"limits":{"type":"object","properties":{"minimum":{"type":"string"},"maximum":{"type":"string"},"multiple":{"type":"string"}},"required":["minimum","maximum","multiple"],"additionalProperties":false},"dripfeed_available":{"type":"boolean"},"conditional_required":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"when":{"type":"object","properties":{"type_of_traffic":{"type":"string"}},"required":["type_of_traffic"],"additionalProperties":false},"fields":{"type":"array","items":{"type":"string"},"maxItems":128}},"required":["when","fields"],"additionalProperties":false},{"type":"object","properties":{"any_nonempty":{"type":"array","items":{"type":"string"},"maxItems":128}},"required":["any_nonempty"],"additionalProperties":false}]},"maxItems":16},"required_scopes":{"type":"array","items":{"type":"string"},"maxItems":128},"readiness":{"type":"object","properties":{"status":{"type":"string","const":"requires_prepare"},"quote_required":{"type":"boolean","const":true},"commit_checked":{"type":"boolean","const":false}},"required":["status","quote_required","commit_checked"],"additionalProperties":false}},"required":["service","form_schema_json","fields","additional_fields","manual_fields","quantity_source","limits","dripfeed_available","conditional_required","required_scopes","readiness"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"service":{"type":"object","properties":{"service_id":{"type":"string"},"name":{"type":"string"},"package":{"type":"integer"},"description":{"type":"string"},"url":{"type":"string"},"platform":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"group":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"category":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"minimum":{"type":"string"},"maximum":{"type":"string"},"step":{"type":"integer"},"dripfeed":{"type":"boolean"},"refill":{"type":"boolean"},"cancel":{"type":"boolean"},"speed":{"type":["number","null"]},"display_price":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"},"quantity":{"type":"integer"},"from":{"type":"boolean"}},"required":["amount","currency","quantity","from"],"additionalProperties":false}},"required":["service_id","name","package","description","url","platform","group","category","minimum","maximum","step","dripfeed","refill","cancel","speed","display_price"],"additionalProperties":false},"form_schema_json":{"type":"string","maxLength":262144},"fields":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"label":{"type":"string"},"required":{"type":"boolean"},"derived":{"type":"boolean"}},"required":["name","label","required","derived"],"additionalProperties":false},"maxItems":128},"additional_fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"input_name":{"type":"string"},"kind":{"type":"string"},"label":{"type":"string"},"required":{"type":"boolean"}},"required":["id","input_name","kind","label","required"],"additionalProperties":false},"maxItems":128},"manual_fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"input_name":{"type":"string"},"kind":{"type":"string"},"label":{"type":"string"},"required":{"type":"boolean"},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string"},"label":{"type":"string"}},"required":["value","label"],"additionalProperties":false},"maxItems":128}},"required":["id","input_name","kind","label","required","options"],"additionalProperties":false},"maxItems":128},"quantity_source":{"type":"string"},"limits":{"type":"object","properties":{"minimum":{"type":"string"},"maximum":{"type":"string"},"multiple":{"type":"string"}},"required":["minimum","maximum","multiple"],"additionalProperties":false},"dripfeed_available":{"type":"boolean"},"conditional_required":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"when":{"type":"object","properties":{"type_of_traffic":{"type":"string"}},"required":["type_of_traffic"],"additionalProperties":false},"fields":{"type":"array","items":{"type":"string"},"maxItems":128}},"required":["when","fields"],"additionalProperties":false},{"type":"object","properties":{"any_nonempty":{"type":"array","items":{"type":"string"},"maxItems":128}},"required":["any_nonempty"],"additionalProperties":false}]},"maxItems":16},"required_scopes":{"type":"array","items":{"type":"string"},"maxItems":128},"readiness":{"type":"object","properties":{"status":{"type":"string","const":"requires_prepare"},"quote_required":{"type":"boolean","const":true},"commit_checked":{"type":"boolean","const":false}},"required":["status","quote_required","commit_checked"],"additionalProperties":false}},"required":["service","form_schema_json","fields","additional_fields","manual_fields","quantity_source","limits","dripfeed_available","conditional_required","required_scopes","readiness"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},"required_scopes":["catalog.read"],"scope_options":{"details":["catalog.read"]},"risk":"read","description":"Read a service and its required order fields together."},{"name":"services_search","inputSchema":{"type":"object","properties":{"query":{"type":"string","maxLength":80},"category":{"type":"integer","minimum":0},"page":{"anyOf":[{"type":"integer","minimum":1},{"type":"integer","minimum":1,"maximum":1000}]},"limit":{"anyOf":[{"type":"integer","minimum":1,"maximum":10},{"type":"integer","minimum":1,"maximum":50}]},"type":{"type":"string","enum":["all","categories","services"]},"platform":{"type":"integer","minimum":0},"dataset":{"anyOf":[{"type":"string","const":"services"},{"type":"string","const":"categories"},{"type":"string","const":"updates"},{"type":"string","const":"platforms"},{"type":"string","const":"favorites"}]},"suggest":{"anyOf":[{"type":"boolean","const":false},{"type":"boolean","const":true}]},"filter":{"type":"string","enum":["all","new_service","price_changed","price_decreased","price_increased","disabled","enabled","minimum_changed","maximum_changed"]},"search":{"type":"string","maxLength":80},"per_page":{"type":"integer","minimum":1,"maximum":100}},"required":[],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"query":{"type":"string","maxLength":80},"category":{"type":"integer","minimum":0},"page":{"type":"integer","minimum":1},"limit":{"type":"integer","minimum":1,"maximum":10},"type":{"type":"string","enum":["all","categories","services"]},"platform":{"type":"integer","minimum":0},"dataset":{"type":"string","const":"services"},"suggest":{"type":"boolean","const":false}},"required":["query"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","maxLength":80},"category":{"type":"integer","minimum":0},"dataset":{"type":"string","const":"services"},"suggest":{"type":"boolean","const":true}},"required":["query","suggest"],"additionalProperties":false},{"type":"object","properties":{"dataset":{"type":"string","const":"categories"}},"required":["dataset"],"additionalProperties":false},{"type":"object","properties":{"filter":{"type":"string","enum":["all","new_service","price_changed","price_decreased","price_increased","disabled","enabled","minimum_changed","maximum_changed"]},"platform":{"type":"integer","minimum":0},"search":{"type":"string","maxLength":80},"page":{"type":"integer","minimum":1},"limit":{"type":"integer","minimum":1,"maximum":50},"dataset":{"type":"string","const":"updates"}},"required":["dataset"],"additionalProperties":false},{"type":"object","properties":{"query":{"type":"string","maxLength":80},"limit":{"type":"integer","minimum":1,"maximum":50},"dataset":{"type":"string","const":"platforms"}},"required":["dataset"],"additionalProperties":false},{"type":"object","properties":{"category":{"type":"integer","minimum":0},"page":{"type":"integer","minimum":1},"limit":{"type":"integer","minimum":1,"maximum":50},"dataset":{"type":"string","const":"services"}},"required":[],"additionalProperties":false},{"type":"object","properties":{"page":{"type":"integer","minimum":1,"maximum":1000},"per_page":{"type":"integer","minimum":1,"maximum":100},"dataset":{"type":"string","const":"favorites"}},"required":["dataset"],"additionalProperties":false}]},"outputSchema":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string"},"id":{"type":"string"},"result_id":{"type":"integer"},"name":{"type":"string"},"context":{"type":"string"},"url":{"type":"string"},"image_url":{"type":"string"},"display_price":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"},"quantity":{"type":"integer"},"from":{"type":"boolean"}},"required":["amount","currency","quantity","from"],"additionalProperties":false},"minimum":{"type":"integer"},"maximum":{"type":"integer"},"speed":{"type":["number","null"]},"service_count":{"type":"integer"},"category":{"type":"string"},"platform":{"type":"string"}},"required":["kind","name","context","url","image_url"],"additionalProperties":false}},"has_more":{"type":"boolean"},"counts":{"type":"object","properties":{"all":{"type":"integer"},"categories":{"type":"integer"},"services":{"type":"integer"}},"required":["all","categories","services"],"additionalProperties":false},"platforms":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"image_url":{"type":"string"},"count":{"type":"integer"},"url":{"type":"string"}},"required":["id","name","image_url","count","url"],"additionalProperties":false}},"platform_total":{"type":"integer"},"total":{"type":"integer"},"page":{"type":"integer"},"limit":{"type":"integer"},"display_currency":{"type":"string"}},"required":["items","has_more","counts","platforms","platform_total","total","page","limit","display_currency"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string"},"id":{"type":"string"},"result_id":{"type":"integer"},"name":{"type":"string"},"context":{"type":"string"},"url":{"type":"string"},"image_url":{"type":"string"},"display_price":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"},"quantity":{"type":"integer"},"from":{"type":"boolean"}},"required":["amount","currency","quantity","from"],"additionalProperties":false},"minimum":{"type":"integer"},"maximum":{"type":"integer"},"speed":{"type":["number","null"]},"service_count":{"type":"integer"},"category":{"type":"string"},"platform":{"type":"string"}},"required":["kind","name","context","url","image_url"],"additionalProperties":false}},"has_more":{"type":"boolean"},"counts":{"type":"object","properties":{"all":{"type":"integer"},"categories":{"type":"integer"},"services":{"type":"integer"}},"required":["all","categories","services"],"additionalProperties":false},"platforms":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"image_url":{"type":"string"},"count":{"type":"integer"},"url":{"type":"string"}},"required":["id","name","image_url","count","url"],"additionalProperties":false}},"platform_total":{"type":"integer"},"total":{"type":"integer"},"page":{"type":"integer"},"limit":{"type":"integer"},"display_currency":{"type":"string"}},"required":["items","has_more","counts","platforms","platform_total","total","page","limit","display_currency"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string"},"id":{"type":"string"},"result_id":{"type":"integer"},"name":{"type":"string"},"context":{"type":"string"},"url":{"type":"string"},"image_url":{"type":"string"},"display_price":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"},"quantity":{"type":"integer"},"from":{"type":"boolean"}},"required":["amount","currency","quantity","from"],"additionalProperties":false},"minimum":{"type":"integer"},"maximum":{"type":"integer"},"speed":{"type":["number","null"]},"service_count":{"type":"integer"},"category":{"type":"string"},"platform":{"type":"string"}},"required":["kind","name","context","url","image_url"],"additionalProperties":false}},"has_more":{"type":"boolean"},"counts":{"type":"object","properties":{"all":{"type":"integer"},"categories":{"type":"integer"},"services":{"type":"integer"}},"required":["all","categories","services"],"additionalProperties":false},"platforms":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"image_url":{"type":"string"},"count":{"type":"integer"},"url":{"type":"string"}},"required":["id","name","image_url","count","url"],"additionalProperties":false}},"platform_total":{"type":"integer"},"total":{"type":"integer"},"page":{"type":"integer"},"limit":{"type":"integer"},"display_currency":{"type":"string"}},"required":["items","has_more","counts","platforms","platform_total","total","page","limit","display_currency"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string"},"id":{"type":"string"},"result_id":{"type":"integer"},"name":{"type":"string"},"context":{"type":"string"},"url":{"type":"string"},"image_url":{"type":"string"},"display_price":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"},"quantity":{"type":"integer"},"from":{"type":"boolean"}},"required":["amount","currency","quantity","from"],"additionalProperties":false},"minimum":{"type":"integer"},"maximum":{"type":"integer"},"speed":{"type":["number","null"]},"service_count":{"type":"integer"},"category":{"type":"string"},"platform":{"type":"string"}},"required":["kind","name","context","url","image_url"],"additionalProperties":false}},"total":{"type":"integer"},"display_currency":{"type":"string"}},"required":["items","total","display_currency"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string"},"id":{"type":"string"},"result_id":{"type":"integer"},"name":{"type":"string"},"context":{"type":"string"},"url":{"type":"string"},"image_url":{"type":"string"},"display_price":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"},"quantity":{"type":"integer"},"from":{"type":"boolean"}},"required":["amount","currency","quantity","from"],"additionalProperties":false},"minimum":{"type":"integer"},"maximum":{"type":"integer"},"speed":{"type":["number","null"]},"service_count":{"type":"integer"},"category":{"type":"string"},"platform":{"type":"string"}},"required":["kind","name","context","url","image_url"],"additionalProperties":false}},"total":{"type":"integer"},"display_currency":{"type":"string"}},"required":["items","total","display_currency"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string"},"id":{"type":"string"},"result_id":{"type":"integer"},"name":{"type":"string"},"context":{"type":"string"},"url":{"type":"string"},"image_url":{"type":"string"},"display_price":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"},"quantity":{"type":"integer"},"from":{"type":"boolean"}},"required":["amount","currency","quantity","from"],"additionalProperties":false},"minimum":{"type":"integer"},"maximum":{"type":"integer"},"speed":{"type":["number","null"]},"service_count":{"type":"integer"},"category":{"type":"string"},"platform":{"type":"string"}},"required":["kind","name","context","url","image_url"],"additionalProperties":false}},"total":{"type":"integer"},"display_currency":{"type":"string"}},"required":["items","total","display_currency"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"directions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"service_count":{"type":"integer"},"platforms":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"image_url":{"type":"string"},"service_count":{"type":"integer"},"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"sections":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"image_url":{"type":"string"},"service_count":{"type":"integer"},"categories":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"service_count":{"type":"integer"}},"required":["id","name","service_count"],"additionalProperties":false}}},"required":["id","name","url","image_url","service_count","categories"],"additionalProperties":false}}},"required":["id","name","sections"],"additionalProperties":false}}},"required":["id","name","url","image_url","service_count","groups"],"additionalProperties":false}}},"required":["id","name","service_count","platforms"],"additionalProperties":false}}},"required":["directions"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"directions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"service_count":{"type":"integer"},"platforms":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"image_url":{"type":"string"},"service_count":{"type":"integer"},"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"sections":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"image_url":{"type":"string"},"service_count":{"type":"integer"},"categories":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"service_count":{"type":"integer"}},"required":["id","name","service_count"],"additionalProperties":false}}},"required":["id","name","url","image_url","service_count","categories"],"additionalProperties":false}}},"required":["id","name","sections"],"additionalProperties":false}}},"required":["id","name","url","image_url","service_count","groups"],"additionalProperties":false}}},"required":["id","name","service_count","platforms"],"additionalProperties":false}}},"required":["directions"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"directions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"service_count":{"type":"integer"},"platforms":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"image_url":{"type":"string"},"service_count":{"type":"integer"},"groups":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"sections":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"image_url":{"type":"string"},"service_count":{"type":"integer"},"categories":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"service_count":{"type":"integer"}},"required":["id","name","service_count"],"additionalProperties":false}}},"required":["id","name","url","image_url","service_count","categories"],"additionalProperties":false}}},"required":["id","name","sections"],"additionalProperties":false}}},"required":["id","name","url","image_url","service_count","groups"],"additionalProperties":false}}},"required":["id","name","service_count","platforms"],"additionalProperties":false}}},"required":["directions"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"available":{"type":"boolean"},"items":{"type":"array","items":{"type":"object","properties":{"event_id":{"type":"string"},"service_id":{"type":"string"},"service_name":{"type":"string"},"platform":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"event_type":{"type":"string"},"date":{"type":"string"},"timezone":{"type":"string"},"price_change":{"type":["object","null"],"properties":{"from":{"type":"string"},"to":{"type":"string"},"currency":{"type":"string"}},"required":["from","to","currency"],"additionalProperties":false},"quantity_change":{"type":["object","null"],"properties":{"from":{"type":"string"},"to":{"type":"string"}},"required":["from","to"],"additionalProperties":false}},"required":["event_id","service_id","service_name","platform","event_type","date","timezone","price_change","quantity_change"],"additionalProperties":false}},"page":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"},"has_more":{"type":"boolean"}},"required":["available","items","page","limit","total","has_more"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"available":{"type":"boolean"},"items":{"type":"array","items":{"type":"object","properties":{"event_id":{"type":"string"},"service_id":{"type":"string"},"service_name":{"type":"string"},"platform":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"event_type":{"type":"string"},"date":{"type":"string"},"timezone":{"type":"string"},"price_change":{"type":["object","null"],"properties":{"from":{"type":"string"},"to":{"type":"string"},"currency":{"type":"string"}},"required":["from","to","currency"],"additionalProperties":false},"quantity_change":{"type":["object","null"],"properties":{"from":{"type":"string"},"to":{"type":"string"}},"required":["from","to"],"additionalProperties":false}},"required":["event_id","service_id","service_name","platform","event_type","date","timezone","price_change","quantity_change"],"additionalProperties":false}},"page":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"},"has_more":{"type":"boolean"}},"required":["available","items","page","limit","total","has_more"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"available":{"type":"boolean"},"items":{"type":"array","items":{"type":"object","properties":{"event_id":{"type":"string"},"service_id":{"type":"string"},"service_name":{"type":"string"},"platform":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"event_type":{"type":"string"},"date":{"type":"string"},"timezone":{"type":"string"},"price_change":{"type":["object","null"],"properties":{"from":{"type":"string"},"to":{"type":"string"},"currency":{"type":"string"}},"required":["from","to","currency"],"additionalProperties":false},"quantity_change":{"type":["object","null"],"properties":{"from":{"type":"string"},"to":{"type":"string"}},"required":["from","to"],"additionalProperties":false}},"required":["event_id","service_id","service_name","platform","event_type","date","timezone","price_change","quantity_change"],"additionalProperties":false}},"page":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"},"has_more":{"type":"boolean"}},"required":["available","items","page","limit","total","has_more"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"image_url":{"type":"string"}},"required":["id","name","url","image_url"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"image_url":{"type":"string"}},"required":["id","name","url","image_url"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"url":{"type":"string"},"image_url":{"type":"string"}},"required":["id","name","url","image_url"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"service_id":{"type":"string"},"name":{"type":"string"},"package":{"type":"integer"},"description":{"type":"string"},"url":{"type":"string"},"platform":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"group":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"category":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"minimum":{"type":"string"},"maximum":{"type":"string"},"step":{"type":"integer"},"dripfeed":{"type":"boolean"},"refill":{"type":"boolean"},"cancel":{"type":"boolean"},"speed":{"type":["number","null"]},"display_price":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"},"quantity":{"type":"integer"},"from":{"type":"boolean"}},"required":["amount","currency","quantity","from"],"additionalProperties":false}},"required":["service_id","name","package","description","url","platform","group","category","minimum","maximum","step","dripfeed","refill","cancel","speed","display_price"],"additionalProperties":false}},"page":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"},"has_more":{"type":"boolean"}},"required":["items","page","limit","total","has_more"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"service_id":{"type":"string"},"name":{"type":"string"},"package":{"type":"integer"},"description":{"type":"string"},"url":{"type":"string"},"platform":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"group":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"category":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"minimum":{"type":"string"},"maximum":{"type":"string"},"step":{"type":"integer"},"dripfeed":{"type":"boolean"},"refill":{"type":"boolean"},"cancel":{"type":"boolean"},"speed":{"type":["number","null"]},"display_price":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"},"quantity":{"type":"integer"},"from":{"type":"boolean"}},"required":["amount","currency","quantity","from"],"additionalProperties":false}},"required":["service_id","name","package","description","url","platform","group","category","minimum","maximum","step","dripfeed","refill","cancel","speed","display_price"],"additionalProperties":false}},"page":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"},"has_more":{"type":"boolean"}},"required":["items","page","limit","total","has_more"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"service_id":{"type":"string"},"name":{"type":"string"},"package":{"type":"integer"},"description":{"type":"string"},"url":{"type":"string"},"platform":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"group":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"category":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"additionalProperties":false},"minimum":{"type":"string"},"maximum":{"type":"string"},"step":{"type":"integer"},"dripfeed":{"type":"boolean"},"refill":{"type":"boolean"},"cancel":{"type":"boolean"},"speed":{"type":["number","null"]},"display_price":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"},"quantity":{"type":"integer"},"from":{"type":"boolean"}},"required":["amount","currency","quantity","from"],"additionalProperties":false}},"required":["service_id","name","package","description","url","platform","group","category","minimum","maximum","step","dripfeed","refill","cancel","speed","display_price"],"additionalProperties":false}},"page":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"},"has_more":{"type":"boolean"}},"required":["items","page","limit","total","has_more"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","maxItems":100,"items":{"type":"object","properties":{"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,17}$","minLength":1,"maxLength":18},"category_id":{"type":"string","pattern":"^[1-9][0-9]{0,17}$","minLength":1,"maxLength":18},"service_name":{"type":"string","maxLength":500},"category_name":{"type":"string","maxLength":300},"service_line":{"type":"integer"},"category_line":{"type":"integer"}},"required":["service_id","category_id","service_name","category_name","service_line","category_line"],"additionalProperties":false}},"page":{"type":"integer","minimum":1,"maximum":1000},"per_page":{"type":"integer","minimum":1,"maximum":100},"total":{"type":"integer","minimum":0},"has_next":{"type":"boolean"}},"required":["items","page","per_page","total","has_next"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"items":{"type":"array","maxItems":100,"items":{"type":"object","properties":{"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,17}$","minLength":1,"maxLength":18},"category_id":{"type":"string","pattern":"^[1-9][0-9]{0,17}$","minLength":1,"maxLength":18},"service_name":{"type":"string","maxLength":500},"category_name":{"type":"string","maxLength":300},"service_line":{"type":"integer"},"category_line":{"type":"integer"}},"required":["service_id","category_id","service_name","category_name","service_line","category_line"],"additionalProperties":false}},"page":{"type":"integer","minimum":1,"maximum":1000},"per_page":{"type":"integer","minimum":1,"maximum":100},"total":{"type":"integer","minimum":0},"has_next":{"type":"boolean"}},"required":["items","page","per_page","total","has_next"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","maxItems":100,"items":{"type":"object","properties":{"service_id":{"type":"string","pattern":"^[1-9][0-9]{0,17}$","minLength":1,"maxLength":18},"category_id":{"type":"string","pattern":"^[1-9][0-9]{0,17}$","minLength":1,"maxLength":18},"service_name":{"type":"string","maxLength":500},"category_name":{"type":"string","maxLength":300},"service_line":{"type":"integer"},"category_line":{"type":"integer"}},"required":["service_id","category_id","service_name","category_name","service_line","category_line"],"additionalProperties":false}},"page":{"type":"integer","minimum":1,"maximum":1000},"per_page":{"type":"integer","minimum":1,"maximum":100},"total":{"type":"integer","minimum":0},"has_next":{"type":"boolean"}},"required":["items","page","per_page","total","has_next"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]}]},"required_scopes":[],"scope_options":{"search":["catalog.read"],"suggestions":["catalog.read"],"categories":["catalog.read"],"updates":["catalog.read"],"platforms":["catalog.read"],"services":["catalog.read"],"favorites":["favorites.read"]},"risk":"read","description":"Search services, categories, platforms, updates or favorites."},{"name":"subscription_change","inputSchema":{"type":"object","properties":{"action":{"anyOf":[{"type":"string","const":"pause"},{"type":"string","const":"resume"},{"type":"string","const":"stop"},{"type":"string","const":"state_link"},{"type":"string","const":"stop_link"},{"type":"string","const":"drip_cancel"},{"type":"string","const":"drip_link"}]},"parent_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"subscription_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"desired_state":{"type":"string","enum":["paused","active"]},"drip_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"}},"required":["action"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"action":{"type":"string","const":"pause"},"parent_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["action","parent_id","operation_id"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"resume"},"parent_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["action","parent_id","operation_id"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"stop"},"parent_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["action","parent_id","operation_id"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"state_link"},"subscription_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"desired_state":{"type":"string","enum":["paused","active"]}},"required":["action","subscription_id","desired_state"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"stop_link"},"subscription_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"}},"required":["action","subscription_id"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"drip_cancel"},"parent_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["action","parent_id","operation_id"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"drip_link"},"drip_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"}},"required":["action","drip_id"],"additionalProperties":false}]},"outputSchema":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"parent_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"parent_kind":{"type":"string","enum":["subscription","drip"]},"action":{"type":"string","enum":["pause","resume","stop","drip_cancel"]},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"approval_url":{"type":["string","null"],"maxLength":1024},"expires_at":{"type":"string"},"state":{"type":"string","enum":["not_admitted","succeeded","not_supported","changed","deferred","unknown"]},"effect":{"type":"string","enum":["none","paused","active","canceled","drip_canceled","cancel_requested","unknown"]},"refunded_amount":{"type":["string","null"],"pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"request_result":{"type":["string","null"],"maxLength":64},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"recurring"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","parent_id","parent_kind","action","approval_state","approval_url","expires_at","state","effect","refunded_amount","request_result"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"recurring"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"parent_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"parent_kind":{"type":"string","enum":["subscription","drip"]},"action":{"type":"string","enum":["pause","resume","stop","drip_cancel"]},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"approval_url":{"type":["string","null"],"maxLength":1024},"expires_at":{"type":"string"},"state":{"type":"string","enum":["not_admitted","succeeded","not_supported","changed","deferred","unknown"]},"effect":{"type":"string","enum":["none","paused","active","canceled","drip_canceled","cancel_requested","unknown"]},"refunded_amount":{"type":["string","null"],"pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"request_result":{"type":["string","null"],"maxLength":64},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"recurring"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","parent_id","parent_kind","action","approval_state","approval_url","expires_at","state","effect","refunded_amount","request_result"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"parent_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"parent_kind":{"type":"string","enum":["subscription","drip"]},"action":{"type":"string","enum":["pause","resume","stop","drip_cancel"]},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"approval_url":{"type":["string","null"],"maxLength":1024},"expires_at":{"type":"string"},"state":{"type":"string","enum":["not_admitted","succeeded","not_supported","changed","deferred","unknown"]},"effect":{"type":"string","enum":["none","paused","active","canceled","drip_canceled","cancel_requested","unknown"]},"refunded_amount":{"type":["string","null"],"pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"request_result":{"type":["string","null"],"maxLength":64},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"recurring"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","parent_id","parent_kind","action","approval_state","approval_url","expires_at","state","effect","refunded_amount","request_result"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"recurring"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"parent_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"parent_kind":{"type":"string","enum":["subscription","drip"]},"action":{"type":"string","enum":["pause","resume","stop","drip_cancel"]},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"approval_url":{"type":["string","null"],"maxLength":1024},"expires_at":{"type":"string"},"state":{"type":"string","enum":["not_admitted","succeeded","not_supported","changed","deferred","unknown"]},"effect":{"type":"string","enum":["none","paused","active","canceled","drip_canceled","cancel_requested","unknown"]},"refunded_amount":{"type":["string","null"],"pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"request_result":{"type":["string","null"],"maxLength":64},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"recurring"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","parent_id","parent_kind","action","approval_state","approval_url","expires_at","state","effect","refunded_amount","request_result"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"recurring"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"parent_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"parent_kind":{"type":"string","enum":["subscription","drip"]},"action":{"type":"string","enum":["pause","resume","stop","drip_cancel"]},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"approval_url":{"type":["string","null"],"maxLength":1024},"expires_at":{"type":"string"},"state":{"type":"string","enum":["not_admitted","succeeded","not_supported","changed","deferred","unknown"]},"effect":{"type":"string","enum":["none","paused","active","canceled","drip_canceled","cancel_requested","unknown"]},"refunded_amount":{"type":["string","null"],"pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"request_result":{"type":["string","null"],"maxLength":64},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"recurring"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","parent_id","parent_kind","action","approval_state","approval_url","expires_at","state","effect","refunded_amount","request_result"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"parent_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"parent_kind":{"type":"string","enum":["subscription","drip"]},"action":{"type":"string","enum":["pause","resume","stop","drip_cancel"]},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"approval_url":{"type":["string","null"],"maxLength":1024},"expires_at":{"type":"string"},"state":{"type":"string","enum":["not_admitted","succeeded","not_supported","changed","deferred","unknown"]},"effect":{"type":"string","enum":["none","paused","active","canceled","drip_canceled","cancel_requested","unknown"]},"refunded_amount":{"type":["string","null"],"pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"request_result":{"type":["string","null"],"maxLength":64},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"recurring"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","parent_id","parent_kind","action","approval_state","approval_url","expires_at","state","effect","refunded_amount","request_result"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"recurring"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"parent_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"parent_kind":{"type":"string","enum":["subscription","drip"]},"action":{"type":"string","enum":["pause","resume","stop","drip_cancel"]},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"approval_url":{"type":["string","null"],"maxLength":1024},"expires_at":{"type":"string"},"state":{"type":"string","enum":["not_admitted","succeeded","not_supported","changed","deferred","unknown"]},"effect":{"type":"string","enum":["none","paused","active","canceled","drip_canceled","cancel_requested","unknown"]},"refunded_amount":{"type":["string","null"],"pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"request_result":{"type":["string","null"],"maxLength":64},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"recurring"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","parent_id","parent_kind","action","approval_state","approval_url","expires_at","state","effect","refunded_amount","request_result"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"recurring"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"parent_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"parent_kind":{"type":"string","enum":["subscription","drip"]},"action":{"type":"string","enum":["pause","resume","stop","drip_cancel"]},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"approval_url":{"type":["string","null"],"maxLength":1024},"expires_at":{"type":"string"},"state":{"type":"string","enum":["not_admitted","succeeded","not_supported","changed","deferred","unknown"]},"effect":{"type":"string","enum":["none","paused","active","canceled","drip_canceled","cancel_requested","unknown"]},"refunded_amount":{"type":["string","null"],"pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"request_result":{"type":["string","null"],"maxLength":64},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"recurring"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","parent_id","parent_kind","action","approval_state","approval_url","expires_at","state","effect","refunded_amount","request_result"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"parent_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"parent_kind":{"type":"string","enum":["subscription","drip"]},"action":{"type":"string","enum":["pause","resume","stop","drip_cancel"]},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"approval_url":{"type":["string","null"],"maxLength":1024},"expires_at":{"type":"string"},"state":{"type":"string","enum":["not_admitted","succeeded","not_supported","changed","deferred","unknown"]},"effect":{"type":"string","enum":["none","paused","active","canceled","drip_canceled","cancel_requested","unknown"]},"refunded_amount":{"type":["string","null"],"pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"request_result":{"type":["string","null"],"maxLength":64},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"recurring"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","parent_id","parent_kind","action","approval_state","approval_url","expires_at","state","effect","refunded_amount","request_result"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"recurring"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"capability_id":{"type":"string","enum":["subscriptions.pause_resume","subscriptions.stop","drip.cancel"]},"parent_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"parent_kind":{"type":"string","enum":["subscription","drip"]},"current_state":{"type":"string","maxLength":32},"requested_action":{"type":"string","enum":["pause","resume","stop","cancel"]},"eligible_observed":{"type":"boolean"},"observed_at":{"type":"string"},"personal_url":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(subscriptions|dripfeeds)/all\\?search=[1-9][0-9]{0,19}$"},"requires_future_purchase_decision":{"type":"boolean"},"effect":{"type":"string","const":"none"}},"required":["capability_id","parent_id","parent_kind","current_state","requested_action","eligible_observed","observed_at","personal_url","requires_future_purchase_decision","effect"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"capability_id":{"type":"string","enum":["subscriptions.pause_resume","subscriptions.stop","drip.cancel"]},"parent_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"parent_kind":{"type":"string","enum":["subscription","drip"]},"current_state":{"type":"string","maxLength":32},"requested_action":{"type":"string","enum":["pause","resume","stop","cancel"]},"eligible_observed":{"type":"boolean"},"observed_at":{"type":"string"},"personal_url":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(subscriptions|dripfeeds)/all\\?search=[1-9][0-9]{0,19}$"},"requires_future_purchase_decision":{"type":"boolean"},"effect":{"type":"string","const":"none"}},"required":["capability_id","parent_id","parent_kind","current_state","requested_action","eligible_observed","observed_at","personal_url","requires_future_purchase_decision","effect"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"capability_id":{"type":"string","enum":["subscriptions.pause_resume","subscriptions.stop","drip.cancel"]},"parent_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"parent_kind":{"type":"string","enum":["subscription","drip"]},"current_state":{"type":"string","maxLength":32},"requested_action":{"type":"string","enum":["pause","resume","stop","cancel"]},"eligible_observed":{"type":"boolean"},"observed_at":{"type":"string"},"personal_url":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(subscriptions|dripfeeds)/all\\?search=[1-9][0-9]{0,19}$"},"requires_future_purchase_decision":{"type":"boolean"},"effect":{"type":"string","const":"none"}},"required":["capability_id","parent_id","parent_kind","current_state","requested_action","eligible_observed","observed_at","personal_url","requires_future_purchase_decision","effect"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"capability_id":{"type":"string","enum":["subscriptions.pause_resume","subscriptions.stop","drip.cancel"]},"parent_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"parent_kind":{"type":"string","enum":["subscription","drip"]},"current_state":{"type":"string","maxLength":32},"requested_action":{"type":"string","enum":["pause","resume","stop","cancel"]},"eligible_observed":{"type":"boolean"},"observed_at":{"type":"string"},"personal_url":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(subscriptions|dripfeeds)/all\\?search=[1-9][0-9]{0,19}$"},"requires_future_purchase_decision":{"type":"boolean"},"effect":{"type":"string","const":"none"}},"required":["capability_id","parent_id","parent_kind","current_state","requested_action","eligible_observed","observed_at","personal_url","requires_future_purchase_decision","effect"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"capability_id":{"type":"string","enum":["subscriptions.pause_resume","subscriptions.stop","drip.cancel"]},"parent_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"parent_kind":{"type":"string","enum":["subscription","drip"]},"current_state":{"type":"string","maxLength":32},"requested_action":{"type":"string","enum":["pause","resume","stop","cancel"]},"eligible_observed":{"type":"boolean"},"observed_at":{"type":"string"},"personal_url":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(subscriptions|dripfeeds)/all\\?search=[1-9][0-9]{0,19}$"},"requires_future_purchase_decision":{"type":"boolean"},"effect":{"type":"string","const":"none"}},"required":["capability_id","parent_id","parent_kind","current_state","requested_action","eligible_observed","observed_at","personal_url","requires_future_purchase_decision","effect"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"capability_id":{"type":"string","enum":["subscriptions.pause_resume","subscriptions.stop","drip.cancel"]},"parent_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"parent_kind":{"type":"string","enum":["subscription","drip"]},"current_state":{"type":"string","maxLength":32},"requested_action":{"type":"string","enum":["pause","resume","stop","cancel"]},"eligible_observed":{"type":"boolean"},"observed_at":{"type":"string"},"personal_url":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(subscriptions|dripfeeds)/all\\?search=[1-9][0-9]{0,19}$"},"requires_future_purchase_decision":{"type":"boolean"},"effect":{"type":"string","const":"none"}},"required":["capability_id","parent_id","parent_kind","current_state","requested_action","eligible_observed","observed_at","personal_url","requires_future_purchase_decision","effect"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"parent_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"parent_kind":{"type":"string","enum":["subscription","drip"]},"action":{"type":"string","enum":["pause","resume","stop","drip_cancel"]},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"approval_url":{"type":["string","null"],"maxLength":1024},"expires_at":{"type":"string"},"state":{"type":"string","enum":["not_admitted","succeeded","not_supported","changed","deferred","unknown"]},"effect":{"type":"string","enum":["none","paused","active","canceled","drip_canceled","cancel_requested","unknown"]},"refunded_amount":{"type":["string","null"],"pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"request_result":{"type":["string","null"],"maxLength":64},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"recurring"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","parent_id","parent_kind","action","approval_state","approval_url","expires_at","state","effect","refunded_amount","request_result"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"recurring"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"parent_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"parent_kind":{"type":"string","enum":["subscription","drip"]},"action":{"type":"string","enum":["pause","resume","stop","drip_cancel"]},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"approval_url":{"type":["string","null"],"maxLength":1024},"expires_at":{"type":"string"},"state":{"type":"string","enum":["not_admitted","succeeded","not_supported","changed","deferred","unknown"]},"effect":{"type":"string","enum":["none","paused","active","canceled","drip_canceled","cancel_requested","unknown"]},"refunded_amount":{"type":["string","null"],"pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"request_result":{"type":["string","null"],"maxLength":64},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"recurring"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","parent_id","parent_kind","action","approval_state","approval_url","expires_at","state","effect","refunded_amount","request_result"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"parent_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"parent_kind":{"type":"string","enum":["subscription","drip"]},"action":{"type":"string","enum":["pause","resume","stop","drip_cancel"]},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"approval_url":{"type":["string","null"],"maxLength":1024},"expires_at":{"type":"string"},"state":{"type":"string","enum":["not_admitted","succeeded","not_supported","changed","deferred","unknown"]},"effect":{"type":"string","enum":["none","paused","active","canceled","drip_canceled","cancel_requested","unknown"]},"refunded_amount":{"type":["string","null"],"pattern":"^(0|[1-9][0-9]*)(\\.[0-9]{1,8})?$"},"request_result":{"type":["string","null"],"maxLength":64},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"recurring"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","parent_id","parent_kind","action","approval_state","approval_url","expires_at","state","effect","refunded_amount","request_result"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"recurring"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"capability_id":{"type":"string","enum":["subscriptions.pause_resume","subscriptions.stop","drip.cancel"]},"parent_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"parent_kind":{"type":"string","enum":["subscription","drip"]},"current_state":{"type":"string","maxLength":32},"requested_action":{"type":"string","enum":["pause","resume","stop","cancel"]},"eligible_observed":{"type":"boolean"},"observed_at":{"type":"string"},"personal_url":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(subscriptions|dripfeeds)/all\\?search=[1-9][0-9]{0,19}$"},"requires_future_purchase_decision":{"type":"boolean"},"effect":{"type":"string","const":"none"}},"required":["capability_id","parent_id","parent_kind","current_state","requested_action","eligible_observed","observed_at","personal_url","requires_future_purchase_decision","effect"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"capability_id":{"type":"string","enum":["subscriptions.pause_resume","subscriptions.stop","drip.cancel"]},"parent_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"parent_kind":{"type":"string","enum":["subscription","drip"]},"current_state":{"type":"string","maxLength":32},"requested_action":{"type":"string","enum":["pause","resume","stop","cancel"]},"eligible_observed":{"type":"boolean"},"observed_at":{"type":"string"},"personal_url":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(subscriptions|dripfeeds)/all\\?search=[1-9][0-9]{0,19}$"},"requires_future_purchase_decision":{"type":"boolean"},"effect":{"type":"string","const":"none"}},"required":["capability_id","parent_id","parent_kind","current_state","requested_action","eligible_observed","observed_at","personal_url","requires_future_purchase_decision","effect"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"capability_id":{"type":"string","enum":["subscriptions.pause_resume","subscriptions.stop","drip.cancel"]},"parent_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"parent_kind":{"type":"string","enum":["subscription","drip"]},"current_state":{"type":"string","maxLength":32},"requested_action":{"type":"string","enum":["pause","resume","stop","cancel"]},"eligible_observed":{"type":"boolean"},"observed_at":{"type":"string"},"personal_url":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(subscriptions|dripfeeds)/all\\?search=[1-9][0-9]{0,19}$"},"requires_future_purchase_decision":{"type":"boolean"},"effect":{"type":"string","const":"none"}},"required":["capability_id","parent_id","parent_kind","current_state","requested_action","eligible_observed","observed_at","personal_url","requires_future_purchase_decision","effect"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]}]},"required_scopes":[],"scope_options":{"pause":["subscriptions.read","subscriptions.write"],"resume":["subscriptions.read","subscriptions.write","subscriptions.future"],"stop":["subscriptions.read","subscriptions.write"],"state_link":["subscriptions.read"],"stop_link":["subscriptions.read"],"drip_cancel":["orders.read","orders.write"],"drip_link":["orders.read"]},"risk":"write","description":"Request subscription or drip changes with existing consent; reuse operation_id."},{"name":"subscriptions_read","inputSchema":{"type":"object","properties":{"kind":{"anyOf":[{"type":"string","const":"subscription"},{"type":"string","const":"drip"}]},"subscription_id":{"type":"string","pattern":"^[1-9][0-9]*$"},"status":{"anyOf":[{"type":"string","enum":["all","active","completed","canceled","paused","expired"]},{"type":"string","enum":["all","active","completed","canceled"]}]},"search":{"type":"string","maxLength":200},"page":{"type":"integer","minimum":1},"limit":{"type":"integer","minimum":1,"maximum":50},"dripfeed_id":{"type":"string","pattern":"^[1-9][0-9]*$"}},"required":["kind"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"subscription"},"subscription_id":{"type":"string","pattern":"^[1-9][0-9]*$"},"status":{"type":"string","enum":["all","active","completed","canceled","paused","expired"]},"search":{"type":"string","maxLength":200},"page":{"type":"integer","minimum":1},"limit":{"type":"integer","minimum":1,"maximum":50}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"drip"},"dripfeed_id":{"type":"string","pattern":"^[1-9][0-9]*$"},"status":{"type":"string","enum":["all","active","completed","canceled"]},"search":{"type":"string","maxLength":200},"page":{"type":"integer","minimum":1},"limit":{"type":"integer","minimum":1,"maximum":50}},"required":["kind"],"additionalProperties":false}]},"outputSchema":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"subscription_id":{"type":"string"},"service_id":{"type":"string"},"service_name":{"type":"string"},"link":{"type":"string"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"timezone":{"type":"string"},"expiry_date":{"type":["string","null"]},"status":{"type":"string"},"package":{"type":"string","enum":["12","18","other"]},"quantity_min":{"type":"integer"},"quantity_max":{"type":"integer"},"delay_seconds":{"type":"integer"},"posts_old":{"type":"object","properties":{"delivered":{"type":"integer"},"target":{"type":"integer"}},"required":["delivered","target"],"additionalProperties":false},"posts_new":{"type":"object","properties":{"delivered":{"type":"integer"},"target":{"type":"integer"}},"required":["delivered","target"],"additionalProperties":false},"last_child_at":{"type":["string","null"]}},"required":["subscription_id","service_id","service_name","link","created_at","updated_at","timezone","expiry_date","status","package","quantity_min","quantity_max","delay_seconds","posts_old","posts_new","last_child_at"],"additionalProperties":false}},"page":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"},"has_more":{"type":"boolean"},"filters":{"type":"object","properties":{"status":{"type":"string"},"search":{"type":"string"}},"required":["status","search"],"additionalProperties":false},"subscription_id":{"type":"string"},"service_id":{"type":"string"},"service_name":{"type":"string"},"link":{"type":"string"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"timezone":{"type":"string"},"expiry_date":{"type":["string","null"]},"status":{"type":"string"},"package":{"type":"string","enum":["12","18","other"]},"quantity_min":{"type":"integer"},"quantity_max":{"type":"integer"},"delay_seconds":{"type":"integer"},"posts_old":{"type":"object","properties":{"delivered":{"type":"integer"},"target":{"type":"integer"}},"required":["delivered","target"],"additionalProperties":false},"posts_new":{"type":"object","properties":{"delivered":{"type":"integer"},"target":{"type":"integer"}},"required":["delivered","target"],"additionalProperties":false},"last_child_at":{"type":["string","null"]}},"additionalProperties":false,"oneOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"subscription_id":{"type":"string"},"service_id":{"type":"string"},"service_name":{"type":"string"},"link":{"type":"string"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"timezone":{"type":"string"},"expiry_date":{"type":["string","null"]},"status":{"type":"string"},"package":{"type":"string","enum":["12","18","other"]},"quantity_min":{"type":"integer"},"quantity_max":{"type":"integer"},"delay_seconds":{"type":"integer"},"posts_old":{"type":"object","properties":{"delivered":{"type":"integer"},"target":{"type":"integer"}},"required":["delivered","target"],"additionalProperties":false},"posts_new":{"type":"object","properties":{"delivered":{"type":"integer"},"target":{"type":"integer"}},"required":["delivered","target"],"additionalProperties":false},"last_child_at":{"type":["string","null"]}},"required":["subscription_id","service_id","service_name","link","created_at","updated_at","timezone","expiry_date","status","package","quantity_min","quantity_max","delay_seconds","posts_old","posts_new","last_child_at"],"additionalProperties":false}},"page":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"},"has_more":{"type":"boolean"},"filters":{"type":"object","properties":{"status":{"type":"string"},"search":{"type":"string"}},"required":["status","search"],"additionalProperties":false}},"required":["items","page","limit","total","has_more","filters"],"additionalProperties":false},{"type":"object","properties":{"subscription_id":{"type":"string"},"service_id":{"type":"string"},"service_name":{"type":"string"},"link":{"type":"string"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"timezone":{"type":"string"},"expiry_date":{"type":["string","null"]},"status":{"type":"string"},"package":{"type":"string","enum":["12","18","other"]},"quantity_min":{"type":"integer"},"quantity_max":{"type":"integer"},"delay_seconds":{"type":"integer"},"posts_old":{"type":"object","properties":{"delivered":{"type":"integer"},"target":{"type":"integer"}},"required":["delivered","target"],"additionalProperties":false},"posts_new":{"type":"object","properties":{"delivered":{"type":"integer"},"target":{"type":"integer"}},"required":["delivered","target"],"additionalProperties":false},"last_child_at":{"type":["string","null"]}},"required":["subscription_id","service_id","service_name","link","created_at","updated_at","timezone","expiry_date","status","package","quantity_min","quantity_max","delay_seconds","posts_old","posts_new","last_child_at"],"additionalProperties":false}]},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"subscription_id":{"type":"string"},"service_id":{"type":"string"},"service_name":{"type":"string"},"link":{"type":"string"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"timezone":{"type":"string"},"expiry_date":{"type":["string","null"]},"status":{"type":"string"},"package":{"type":"string","enum":["12","18","other"]},"quantity_min":{"type":"integer"},"quantity_max":{"type":"integer"},"delay_seconds":{"type":"integer"},"posts_old":{"type":"object","properties":{"delivered":{"type":"integer"},"target":{"type":"integer"}},"required":["delivered","target"],"additionalProperties":false},"posts_new":{"type":"object","properties":{"delivered":{"type":"integer"},"target":{"type":"integer"}},"required":["delivered","target"],"additionalProperties":false},"last_child_at":{"type":["string","null"]}},"required":["subscription_id","service_id","service_name","link","created_at","updated_at","timezone","expiry_date","status","package","quantity_min","quantity_max","delay_seconds","posts_old","posts_new","last_child_at"],"additionalProperties":false}},"page":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"},"has_more":{"type":"boolean"},"filters":{"type":"object","properties":{"status":{"type":"string"},"search":{"type":"string"}},"required":["status","search"],"additionalProperties":false},"subscription_id":{"type":"string"},"service_id":{"type":"string"},"service_name":{"type":"string"},"link":{"type":"string"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"timezone":{"type":"string"},"expiry_date":{"type":["string","null"]},"status":{"type":"string"},"package":{"type":"string","enum":["12","18","other"]},"quantity_min":{"type":"integer"},"quantity_max":{"type":"integer"},"delay_seconds":{"type":"integer"},"posts_old":{"type":"object","properties":{"delivered":{"type":"integer"},"target":{"type":"integer"}},"required":["delivered","target"],"additionalProperties":false},"posts_new":{"type":"object","properties":{"delivered":{"type":"integer"},"target":{"type":"integer"}},"required":["delivered","target"],"additionalProperties":false},"last_child_at":{"type":["string","null"]}},"additionalProperties":false,"oneOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"subscription_id":{"type":"string"},"service_id":{"type":"string"},"service_name":{"type":"string"},"link":{"type":"string"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"timezone":{"type":"string"},"expiry_date":{"type":["string","null"]},"status":{"type":"string"},"package":{"type":"string","enum":["12","18","other"]},"quantity_min":{"type":"integer"},"quantity_max":{"type":"integer"},"delay_seconds":{"type":"integer"},"posts_old":{"type":"object","properties":{"delivered":{"type":"integer"},"target":{"type":"integer"}},"required":["delivered","target"],"additionalProperties":false},"posts_new":{"type":"object","properties":{"delivered":{"type":"integer"},"target":{"type":"integer"}},"required":["delivered","target"],"additionalProperties":false},"last_child_at":{"type":["string","null"]}},"required":["subscription_id","service_id","service_name","link","created_at","updated_at","timezone","expiry_date","status","package","quantity_min","quantity_max","delay_seconds","posts_old","posts_new","last_child_at"],"additionalProperties":false}},"page":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"},"has_more":{"type":"boolean"},"filters":{"type":"object","properties":{"status":{"type":"string"},"search":{"type":"string"}},"required":["status","search"],"additionalProperties":false}},"required":["items","page","limit","total","has_more","filters"],"additionalProperties":false},{"type":"object","properties":{"subscription_id":{"type":"string"},"service_id":{"type":"string"},"service_name":{"type":"string"},"link":{"type":"string"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"timezone":{"type":"string"},"expiry_date":{"type":["string","null"]},"status":{"type":"string"},"package":{"type":"string","enum":["12","18","other"]},"quantity_min":{"type":"integer"},"quantity_max":{"type":"integer"},"delay_seconds":{"type":"integer"},"posts_old":{"type":"object","properties":{"delivered":{"type":"integer"},"target":{"type":"integer"}},"required":["delivered","target"],"additionalProperties":false},"posts_new":{"type":"object","properties":{"delivered":{"type":"integer"},"target":{"type":"integer"}},"required":["delivered","target"],"additionalProperties":false},"last_child_at":{"type":["string","null"]}},"required":["subscription_id","service_id","service_name","link","created_at","updated_at","timezone","expiry_date","status","package","quantity_min","quantity_max","delay_seconds","posts_old","posts_new","last_child_at"],"additionalProperties":false}]},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"subscription_id":{"type":"string"},"service_id":{"type":"string"},"service_name":{"type":"string"},"link":{"type":"string"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"timezone":{"type":"string"},"expiry_date":{"type":["string","null"]},"status":{"type":"string"},"package":{"type":"string","enum":["12","18","other"]},"quantity_min":{"type":"integer"},"quantity_max":{"type":"integer"},"delay_seconds":{"type":"integer"},"posts_old":{"type":"object","properties":{"delivered":{"type":"integer"},"target":{"type":"integer"}},"required":["delivered","target"],"additionalProperties":false},"posts_new":{"type":"object","properties":{"delivered":{"type":"integer"},"target":{"type":"integer"}},"required":["delivered","target"],"additionalProperties":false},"last_child_at":{"type":["string","null"]}},"required":["subscription_id","service_id","service_name","link","created_at","updated_at","timezone","expiry_date","status","package","quantity_min","quantity_max","delay_seconds","posts_old","posts_new","last_child_at"],"additionalProperties":false}},"page":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"},"has_more":{"type":"boolean"},"filters":{"type":"object","properties":{"status":{"type":"string"},"search":{"type":"string"}},"required":["status","search"],"additionalProperties":false},"subscription_id":{"type":"string"},"service_id":{"type":"string"},"service_name":{"type":"string"},"link":{"type":"string"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"timezone":{"type":"string"},"expiry_date":{"type":["string","null"]},"status":{"type":"string"},"package":{"type":"string","enum":["12","18","other"]},"quantity_min":{"type":"integer"},"quantity_max":{"type":"integer"},"delay_seconds":{"type":"integer"},"posts_old":{"type":"object","properties":{"delivered":{"type":"integer"},"target":{"type":"integer"}},"required":["delivered","target"],"additionalProperties":false},"posts_new":{"type":"object","properties":{"delivered":{"type":"integer"},"target":{"type":"integer"}},"required":["delivered","target"],"additionalProperties":false},"last_child_at":{"type":["string","null"]}},"additionalProperties":false,"oneOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"subscription_id":{"type":"string"},"service_id":{"type":"string"},"service_name":{"type":"string"},"link":{"type":"string"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"timezone":{"type":"string"},"expiry_date":{"type":["string","null"]},"status":{"type":"string"},"package":{"type":"string","enum":["12","18","other"]},"quantity_min":{"type":"integer"},"quantity_max":{"type":"integer"},"delay_seconds":{"type":"integer"},"posts_old":{"type":"object","properties":{"delivered":{"type":"integer"},"target":{"type":"integer"}},"required":["delivered","target"],"additionalProperties":false},"posts_new":{"type":"object","properties":{"delivered":{"type":"integer"},"target":{"type":"integer"}},"required":["delivered","target"],"additionalProperties":false},"last_child_at":{"type":["string","null"]}},"required":["subscription_id","service_id","service_name","link","created_at","updated_at","timezone","expiry_date","status","package","quantity_min","quantity_max","delay_seconds","posts_old","posts_new","last_child_at"],"additionalProperties":false}},"page":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"},"has_more":{"type":"boolean"},"filters":{"type":"object","properties":{"status":{"type":"string"},"search":{"type":"string"}},"required":["status","search"],"additionalProperties":false}},"required":["items","page","limit","total","has_more","filters"],"additionalProperties":false},{"type":"object","properties":{"subscription_id":{"type":"string"},"service_id":{"type":"string"},"service_name":{"type":"string"},"link":{"type":"string"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"timezone":{"type":"string"},"expiry_date":{"type":["string","null"]},"status":{"type":"string"},"package":{"type":"string","enum":["12","18","other"]},"quantity_min":{"type":"integer"},"quantity_max":{"type":"integer"},"delay_seconds":{"type":"integer"},"posts_old":{"type":"object","properties":{"delivered":{"type":"integer"},"target":{"type":"integer"}},"required":["delivered","target"],"additionalProperties":false},"posts_new":{"type":"object","properties":{"delivered":{"type":"integer"},"target":{"type":"integer"}},"required":["delivered","target"],"additionalProperties":false},"last_child_at":{"type":["string","null"]}},"required":["subscription_id","service_id","service_name","link","created_at","updated_at","timezone","expiry_date","status","package","quantity_min","quantity_max","delay_seconds","posts_old","posts_new","last_child_at"],"additionalProperties":false}]},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"dripfeed_id":{"type":"string"},"service_id":{"type":"string"},"service_name":{"type":"string"},"link":{"type":"string"},"created_at":{"type":"string"},"timezone":{"type":"string"},"status":{"type":"string"},"status_detail":{"type":["string","null"]},"runs":{"type":"integer"},"delivery":{"type":"integer"},"total_quantity":{"type":"integer"},"quantity":{"type":"integer"},"interval_seconds":{"type":"integer"},"charge_amount":{"type":"string"},"charge_currency":{"type":"string"}},"required":["dripfeed_id","service_id","service_name","link","created_at","timezone","status","status_detail","runs","delivery","total_quantity","quantity","interval_seconds","charge_amount","charge_currency"],"additionalProperties":false}},"page":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"},"has_more":{"type":"boolean"},"filters":{"type":"object","properties":{"status":{"type":"string"},"search":{"type":"string"}},"required":["status","search"],"additionalProperties":false}},"required":["items","page","limit","total","has_more","filters"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"dripfeed_id":{"type":"string"},"service_id":{"type":"string"},"service_name":{"type":"string"},"link":{"type":"string"},"created_at":{"type":"string"},"timezone":{"type":"string"},"status":{"type":"string"},"status_detail":{"type":["string","null"]},"runs":{"type":"integer"},"delivery":{"type":"integer"},"total_quantity":{"type":"integer"},"quantity":{"type":"integer"},"interval_seconds":{"type":"integer"},"charge_amount":{"type":"string"},"charge_currency":{"type":"string"}},"required":["dripfeed_id","service_id","service_name","link","created_at","timezone","status","status_detail","runs","delivery","total_quantity","quantity","interval_seconds","charge_amount","charge_currency"],"additionalProperties":false}},"page":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"},"has_more":{"type":"boolean"},"filters":{"type":"object","properties":{"status":{"type":"string"},"search":{"type":"string"}},"required":["status","search"],"additionalProperties":false}},"required":["items","page","limit","total","has_more","filters"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"dripfeed_id":{"type":"string"},"service_id":{"type":"string"},"service_name":{"type":"string"},"link":{"type":"string"},"created_at":{"type":"string"},"timezone":{"type":"string"},"status":{"type":"string"},"status_detail":{"type":["string","null"]},"runs":{"type":"integer"},"delivery":{"type":"integer"},"total_quantity":{"type":"integer"},"quantity":{"type":"integer"},"interval_seconds":{"type":"integer"},"charge_amount":{"type":"string"},"charge_currency":{"type":"string"}},"required":["dripfeed_id","service_id","service_name","link","created_at","timezone","status","status_detail","runs","delivery","total_quantity","quantity","interval_seconds","charge_amount","charge_currency"],"additionalProperties":false}},"page":{"type":"integer"},"limit":{"type":"integer"},"total":{"type":"integer"},"has_more":{"type":"boolean"},"filters":{"type":"object","properties":{"status":{"type":"string"},"search":{"type":"string"}},"required":["status","search"],"additionalProperties":false}},"required":["items","page","limit","total","has_more","filters"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]}]},"required_scopes":[],"scope_options":{"subscription":["subscriptions.read"],"drip":["orders.read"]},"risk":"read","description":"Read own subscriptions or drip feeds."},{"name":"support_read","inputSchema":{"type":"object","properties":{"view":{"anyOf":[{"type":"string","const":"list"},{"type":"string","const":"ticket"},{"type":"string","const":"topics"},{"type":"string","const":"attachment"}]},"status":{"type":"string","enum":["all","open","closed"]},"page":{"type":"integer","minimum":1,"maximum":1000000},"ticket_id":{"anyOf":[{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},{"type":"string","pattern":"^[1-9][0-9]{0,19}$"}]},"after":{"type":"string","pattern":"^(0|[1-9][0-9]{0,9})$"},"limit":{"type":"integer","minimum":1,"maximum":100},"attachment_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"}},"required":["view"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"view":{"type":"string","const":"list"},"status":{"type":"string","enum":["all","open","closed"]},"page":{"type":"integer","minimum":1,"maximum":1000000}},"required":["view"],"additionalProperties":false},{"type":"object","properties":{"view":{"type":"string","const":"ticket"},"ticket_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"after":{"type":"string","pattern":"^(0|[1-9][0-9]{0,9})$"},"limit":{"type":"integer","minimum":1,"maximum":100}},"required":["view","ticket_id"],"additionalProperties":false},{"type":"object","properties":{"view":{"type":"string","const":"topics"}},"required":["view"],"additionalProperties":false},{"type":"object","properties":{"view":{"type":"string","const":"attachment"},"ticket_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"attachment_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"}},"required":["view","ticket_id","attachment_id"],"additionalProperties":false}]},"outputSchema":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","maxItems":10,"items":{"type":"object","properties":{"ticket_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"subject_untrusted":{"type":"string","maxLength":65536},"status":{"type":"string","maxLength":64},"order_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"},"created_at":{"type":"string","maxLength":64},"updated_at":{"type":"string","maxLength":64},"timezone":{"type":"string","maxLength":16},"last_reply_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"},"preview_untrusted":{"type":"string","maxLength":65536},"last_author":{"type":["string","null"],"enum":["client","staff",null]},"has_attachment":{"type":"boolean"}},"required":["ticket_id","subject_untrusted","status","order_id","created_at","updated_at","timezone","last_reply_id","preview_untrusted","last_author","has_attachment"],"additionalProperties":false}},"page":{"type":"integer","minimum":1,"maximum":1000000},"limit":{"type":"integer","const":10},"total":{"type":"integer","minimum":0},"has_more":{"type":"boolean"},"filters":{"type":"object","properties":{"status":{"type":"string","enum":["all","open","closed"]}},"required":["status"],"additionalProperties":false}},"required":["items","page","limit","total","has_more","filters"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"items":{"type":"array","maxItems":10,"items":{"type":"object","properties":{"ticket_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"subject_untrusted":{"type":"string","maxLength":65536},"status":{"type":"string","maxLength":64},"order_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"},"created_at":{"type":"string","maxLength":64},"updated_at":{"type":"string","maxLength":64},"timezone":{"type":"string","maxLength":16},"last_reply_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"},"preview_untrusted":{"type":"string","maxLength":65536},"last_author":{"type":["string","null"],"enum":["client","staff",null]},"has_attachment":{"type":"boolean"}},"required":["ticket_id","subject_untrusted","status","order_id","created_at","updated_at","timezone","last_reply_id","preview_untrusted","last_author","has_attachment"],"additionalProperties":false}},"page":{"type":"integer","minimum":1,"maximum":1000000},"limit":{"type":"integer","const":10},"total":{"type":"integer","minimum":0},"has_more":{"type":"boolean"},"filters":{"type":"object","properties":{"status":{"type":"string","enum":["all","open","closed"]}},"required":["status"],"additionalProperties":false}},"required":["items","page","limit","total","has_more","filters"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","maxItems":10,"items":{"type":"object","properties":{"ticket_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"subject_untrusted":{"type":"string","maxLength":65536},"status":{"type":"string","maxLength":64},"order_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"},"created_at":{"type":"string","maxLength":64},"updated_at":{"type":"string","maxLength":64},"timezone":{"type":"string","maxLength":16},"last_reply_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"},"preview_untrusted":{"type":"string","maxLength":65536},"last_author":{"type":["string","null"],"enum":["client","staff",null]},"has_attachment":{"type":"boolean"}},"required":["ticket_id","subject_untrusted","status","order_id","created_at","updated_at","timezone","last_reply_id","preview_untrusted","last_author","has_attachment"],"additionalProperties":false}},"page":{"type":"integer","minimum":1,"maximum":1000000},"limit":{"type":"integer","const":10},"total":{"type":"integer","minimum":0},"has_more":{"type":"boolean"},"filters":{"type":"object","properties":{"status":{"type":"string","enum":["all","open","closed"]}},"required":["status"],"additionalProperties":false}},"required":["items","page","limit","total","has_more","filters"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"ticket":{"type":"object","properties":{"ticket_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"subject_untrusted":{"type":"string","maxLength":65536},"status":{"type":"string","maxLength":64},"order_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"},"created_at":{"type":"string","maxLength":64},"updated_at":{"type":"string","maxLength":64},"timezone":{"type":"string","maxLength":16}},"required":["ticket_id","subject_untrusted","status","order_id","created_at","updated_at","timezone"],"additionalProperties":false},"messages":{"type":"array","maxItems":100,"items":{"type":"object","properties":{"message_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"created_at":{"type":"string","maxLength":64},"timezone":{"type":"string","maxLength":16},"author":{"type":"string","enum":["client","staff"]},"message_untrusted":{"type":"string","maxLength":65536},"has_attachment":{"type":"boolean"}},"required":["message_id","created_at","timezone","author","message_untrusted","has_attachment"],"additionalProperties":false}},"next_after":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"}},"required":["ticket","messages","next_after"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"ticket":{"type":"object","properties":{"ticket_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"subject_untrusted":{"type":"string","maxLength":65536},"status":{"type":"string","maxLength":64},"order_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"},"created_at":{"type":"string","maxLength":64},"updated_at":{"type":"string","maxLength":64},"timezone":{"type":"string","maxLength":16}},"required":["ticket_id","subject_untrusted","status","order_id","created_at","updated_at","timezone"],"additionalProperties":false},"messages":{"type":"array","maxItems":100,"items":{"type":"object","properties":{"message_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"created_at":{"type":"string","maxLength":64},"timezone":{"type":"string","maxLength":16},"author":{"type":"string","enum":["client","staff"]},"message_untrusted":{"type":"string","maxLength":65536},"has_attachment":{"type":"boolean"}},"required":["message_id","created_at","timezone","author","message_untrusted","has_attachment"],"additionalProperties":false}},"next_after":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"}},"required":["ticket","messages","next_after"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"ticket":{"type":"object","properties":{"ticket_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"subject_untrusted":{"type":"string","maxLength":65536},"status":{"type":"string","maxLength":64},"order_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"},"created_at":{"type":"string","maxLength":64},"updated_at":{"type":"string","maxLength":64},"timezone":{"type":"string","maxLength":16}},"required":["ticket_id","subject_untrusted","status","order_id","created_at","updated_at","timezone"],"additionalProperties":false},"messages":{"type":"array","maxItems":100,"items":{"type":"object","properties":{"message_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"created_at":{"type":"string","maxLength":64},"timezone":{"type":"string","maxLength":16},"author":{"type":"string","enum":["client","staff"]},"message_untrusted":{"type":"string","maxLength":65536},"has_attachment":{"type":"boolean"}},"required":["message_id","created_at","timezone","author","message_untrusted","has_attachment"],"additionalProperties":false}},"next_after":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"}},"required":["ticket","messages","next_after"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","maxItems":6,"items":{"type":"object","properties":{"topic_id":{"type":"string","enum":["1","2","3","4","6","5"]},"label":{"type":"string","maxLength":1000}},"required":["topic_id","label"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"items":{"type":"array","maxItems":6,"items":{"type":"object","properties":{"topic_id":{"type":"string","enum":["1","2","3","4","6","5"]},"label":{"type":"string","maxLength":1000}},"required":["topic_id","label"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","maxItems":6,"items":{"type":"object","properties":{"topic_id":{"type":"string","enum":["1","2","3","4","6","5"]},"label":{"type":"string","maxLength":1000}},"required":["topic_id","label"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"delivery":{"type":"string","enum":["resource","browser_only"]},"resource":{"anyOf":[{"type":"object","properties":{"uri":{"type":"string","maxLength":2048}},"required":["uri"],"additionalProperties":false},{"type":"null"}]},"personal_url":{"type":"string","maxLength":2048},"kind":{"type":"string","const":"attachment"},"file_name_untrusted":{"type":"string","maxLength":255},"mime_type":{"type":"string","maxLength":128},"file_size":{"type":"integer","minimum":1},"reason":{"type":["string","null"],"enum":[null,"file_too_large","response_budget"]}},"required":["delivery","resource","personal_url","kind","file_name_untrusted","mime_type","file_size","reason"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"delivery":{"type":"string","enum":["resource","browser_only"]},"resource":{"anyOf":[{"type":"object","properties":{"uri":{"type":"string","maxLength":2048}},"required":["uri"],"additionalProperties":false},{"type":"null"}]},"personal_url":{"type":"string","maxLength":2048},"kind":{"type":"string","const":"attachment"},"file_name_untrusted":{"type":"string","maxLength":255},"mime_type":{"type":"string","maxLength":128},"file_size":{"type":"integer","minimum":1},"reason":{"type":["string","null"],"enum":[null,"file_too_large","response_budget"]}},"required":["delivery","resource","personal_url","kind","file_name_untrusted","mime_type","file_size","reason"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"delivery":{"type":"string","enum":["resource","browser_only"]},"resource":{"anyOf":[{"type":"object","properties":{"uri":{"type":"string","maxLength":2048}},"required":["uri"],"additionalProperties":false},{"type":"null"}]},"personal_url":{"type":"string","maxLength":2048},"kind":{"type":"string","const":"attachment"},"file_name_untrusted":{"type":"string","maxLength":255},"mime_type":{"type":"string","maxLength":128},"file_size":{"type":"integer","minimum":1},"reason":{"type":["string","null"],"enum":[null,"file_too_large","response_budget"]}},"required":["delivery","resource","personal_url","kind","file_name_untrusted","mime_type","file_size","reason"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]}]},"required_scopes":["support.read"],"scope_options":{"list":["support.read"],"ticket":["support.read"],"topics":["support.read"],"attachment":["support.read","files.read"]},"risk":"read","description":"Read tickets, replies, topics or an own attachment link."},{"name":"support_send","inputSchema":{"type":"object","properties":{"action":{"anyOf":[{"type":"string","const":"create"},{"type":"string","const":"reply"},{"type":"string","const":"lower_price"}]},"mutation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"topic_id":{"type":"string","enum":["1","2","3","4","6","5"]},"message":{"type":"string","minLength":1,"maxLength":4000},"order_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"confirm_no_order":{"type":"boolean"},"ticket_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"another_service_price":{"type":"string","minLength":1,"maxLength":4000},"another_service_url":{"type":"string","minLength":1,"maxLength":4000},"comment":{"type":"string","maxLength":4000}},"required":["action","mutation_id"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"action":{"type":"string","const":"create"},"mutation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"topic_id":{"type":"string","enum":["1","2","3","4","6","5"]},"message":{"type":"string","minLength":1,"maxLength":4000},"order_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"confirm_no_order":{"type":"boolean"}},"required":["action","mutation_id","topic_id","message"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"reply"},"mutation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"ticket_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"message":{"type":"string","minLength":1,"maxLength":4000}},"required":["action","mutation_id","ticket_id","message"],"additionalProperties":false},{"type":"object","properties":{"action":{"type":"string","const":"lower_price"},"mutation_id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"},"another_service_price":{"type":"string","minLength":1,"maxLength":4000},"another_service_url":{"type":"string","minLength":1,"maxLength":4000},"comment":{"type":"string","maxLength":4000}},"required":["action","mutation_id","another_service_price","another_service_url"],"additionalProperties":false}]},"outputSchema":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"ticket":{"type":"object","properties":{"ticket_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"subject_untrusted":{"type":"string","maxLength":65536},"status":{"type":"string","maxLength":64},"order_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"},"created_at":{"type":"string","maxLength":64},"updated_at":{"type":"string","maxLength":64},"timezone":{"type":"string","maxLength":16}},"required":["ticket_id","subject_untrusted","status","order_id","created_at","updated_at","timezone"],"additionalProperties":false},"message_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"replayed":{"type":"boolean"}},"required":["ticket","message_id","replayed"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"ticket":{"type":"object","properties":{"ticket_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"subject_untrusted":{"type":"string","maxLength":65536},"status":{"type":"string","maxLength":64},"order_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"},"created_at":{"type":"string","maxLength":64},"updated_at":{"type":"string","maxLength":64},"timezone":{"type":"string","maxLength":16}},"required":["ticket_id","subject_untrusted","status","order_id","created_at","updated_at","timezone"],"additionalProperties":false},"message_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"replayed":{"type":"boolean"}},"required":["ticket","message_id","replayed"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"ticket":{"type":"object","properties":{"ticket_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"subject_untrusted":{"type":"string","maxLength":65536},"status":{"type":"string","maxLength":64},"order_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"},"created_at":{"type":"string","maxLength":64},"updated_at":{"type":"string","maxLength":64},"timezone":{"type":"string","maxLength":16}},"required":["ticket_id","subject_untrusted","status","order_id","created_at","updated_at","timezone"],"additionalProperties":false},"message_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"replayed":{"type":"boolean"}},"required":["ticket","message_id","replayed"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"ticket":{"type":"object","properties":{"ticket_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"subject_untrusted":{"type":"string","maxLength":65536},"status":{"type":"string","maxLength":64},"order_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"},"created_at":{"type":"string","maxLength":64},"updated_at":{"type":"string","maxLength":64},"timezone":{"type":"string","maxLength":16}},"required":["ticket_id","subject_untrusted","status","order_id","created_at","updated_at","timezone"],"additionalProperties":false},"message_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"replayed":{"type":"boolean"}},"required":["ticket","message_id","replayed"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"ticket":{"type":"object","properties":{"ticket_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"subject_untrusted":{"type":"string","maxLength":65536},"status":{"type":"string","maxLength":64},"order_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"},"created_at":{"type":"string","maxLength":64},"updated_at":{"type":"string","maxLength":64},"timezone":{"type":"string","maxLength":16}},"required":["ticket_id","subject_untrusted","status","order_id","created_at","updated_at","timezone"],"additionalProperties":false},"message_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"replayed":{"type":"boolean"}},"required":["ticket","message_id","replayed"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"ticket":{"type":"object","properties":{"ticket_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"subject_untrusted":{"type":"string","maxLength":65536},"status":{"type":"string","maxLength":64},"order_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"},"created_at":{"type":"string","maxLength":64},"updated_at":{"type":"string","maxLength":64},"timezone":{"type":"string","maxLength":16}},"required":["ticket_id","subject_untrusted","status","order_id","created_at","updated_at","timezone"],"additionalProperties":false},"message_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"replayed":{"type":"boolean"}},"required":["ticket","message_id","replayed"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"ticket":{"type":"object","properties":{"ticket_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"subject_untrusted":{"type":"string","maxLength":65536},"status":{"type":"string","maxLength":64},"order_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"},"created_at":{"type":"string","maxLength":64},"updated_at":{"type":"string","maxLength":64},"timezone":{"type":"string","maxLength":16}},"required":["ticket_id","subject_untrusted","status","order_id","created_at","updated_at","timezone"],"additionalProperties":false},"message_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"replayed":{"type":"boolean"}},"required":["ticket","message_id","replayed"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"ticket":{"type":"object","properties":{"ticket_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"subject_untrusted":{"type":"string","maxLength":65536},"status":{"type":"string","maxLength":64},"order_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"},"created_at":{"type":"string","maxLength":64},"updated_at":{"type":"string","maxLength":64},"timezone":{"type":"string","maxLength":16}},"required":["ticket_id","subject_untrusted","status","order_id","created_at","updated_at","timezone"],"additionalProperties":false},"message_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"replayed":{"type":"boolean"}},"required":["ticket","message_id","replayed"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"ticket":{"type":"object","properties":{"ticket_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"subject_untrusted":{"type":"string","maxLength":65536},"status":{"type":"string","maxLength":64},"order_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,9}$"},"created_at":{"type":"string","maxLength":64},"updated_at":{"type":"string","maxLength":64},"timezone":{"type":"string","maxLength":16}},"required":["ticket_id","subject_untrusted","status","order_id","created_at","updated_at","timezone"],"additionalProperties":false},"message_id":{"type":"string","pattern":"^[1-9][0-9]{0,9}$"},"replayed":{"type":"boolean"}},"required":["ticket","message_id","replayed"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]}]},"required_scopes":["support.write"],"scope_options":{"create":["support.write"],"reply":["support.write"],"lower_price":["support.write"]},"risk":"write","description":"Create a ticket, reply or request a lower price; reuse mutation_id."},{"name":"webhook_add","inputSchema":{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},"callback_url":{"type":"string","maxLength":500},"events":{"type":"array","minItems":1,"maxItems":3,"uniqueItems":true,"items":{"type":"string","enum":["order.created","order.status_changed","balance.topup"]}}},"required":["operation_id","callback_url","events"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},"action":{"type":"string","enum":["update","enable","disable","delete","retry","create"]},"target_id":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,18})$"},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"approval_url":{"type":["string","null"],"maxLength":2048},"expires_at":{"type":"string","maxLength":64},"state":{"type":"string","enum":["awaiting_confirmation","admitted","done","unknown","unavailable","conflict","not_found"]},"effect":{"type":"string","enum":["none","configuration_changed","delivery_queued","endpoint_created"]},"code":{"type":"string","enum":["endpoint_created","configuration_changed","enqueued","not_changed","source_changed","not_found","personal_action_required","admitted","unknown","unavailable","conflict"]},"personal_url":{"type":"string","maxLength":2048},"created_webhook_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,18}$"},"delivery_url":{"type":["string","null"],"maxLength":2048},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"webhook"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","action","target_id","approval_state","approval_url","expires_at","state","effect","code","personal_url","created_webhook_id","delivery_url"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"webhook"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},"action":{"type":"string","enum":["update","enable","disable","delete","retry","create"]},"target_id":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,18})$"},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"approval_url":{"type":["string","null"],"maxLength":2048},"expires_at":{"type":"string","maxLength":64},"state":{"type":"string","enum":["awaiting_confirmation","admitted","done","unknown","unavailable","conflict","not_found"]},"effect":{"type":"string","enum":["none","configuration_changed","delivery_queued","endpoint_created"]},"code":{"type":"string","enum":["endpoint_created","configuration_changed","enqueued","not_changed","source_changed","not_found","personal_action_required","admitted","unknown","unavailable","conflict"]},"personal_url":{"type":"string","maxLength":2048},"created_webhook_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,18}$"},"delivery_url":{"type":["string","null"],"maxLength":2048},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"webhook"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","action","target_id","approval_state","approval_url","expires_at","state","effect","code","personal_url","created_webhook_id","delivery_url"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},"action":{"type":"string","enum":["update","enable","disable","delete","retry","create"]},"target_id":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,18})$"},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"approval_url":{"type":["string","null"],"maxLength":2048},"expires_at":{"type":"string","maxLength":64},"state":{"type":"string","enum":["awaiting_confirmation","admitted","done","unknown","unavailable","conflict","not_found"]},"effect":{"type":"string","enum":["none","configuration_changed","delivery_queued","endpoint_created"]},"code":{"type":"string","enum":["endpoint_created","configuration_changed","enqueued","not_changed","source_changed","not_found","personal_action_required","admitted","unknown","unavailable","conflict"]},"personal_url":{"type":"string","maxLength":2048},"created_webhook_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,18}$"},"delivery_url":{"type":["string","null"],"maxLength":2048},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"webhook"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","action","target_id","approval_state","approval_url","expires_at","state","effect","code","personal_url","created_webhook_id","delivery_url"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"webhook"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},"required_scopes":["webhooks.read","webhooks.write","webhooks.create"],"scope_options":{"create":["webhooks.read","webhooks.write","webhooks.create"]},"risk":"write","description":"Request webhook creation with existing consent; keep the operation reference."},{"name":"webhook_delivery","inputSchema":{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},"delivery_id":{"type":"string","pattern":"^[1-9][0-9]{0,18}$"}},"required":["operation_id","delivery_id"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},"action":{"type":"string","enum":["update","enable","disable","delete","retry","create"]},"target_id":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,18})$"},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"approval_url":{"type":["string","null"],"maxLength":2048},"expires_at":{"type":"string","maxLength":64},"state":{"type":"string","enum":["awaiting_confirmation","admitted","done","unknown","unavailable","conflict","not_found"]},"effect":{"type":"string","enum":["none","configuration_changed","delivery_queued","endpoint_created"]},"code":{"type":"string","enum":["endpoint_created","configuration_changed","enqueued","not_changed","source_changed","not_found","personal_action_required","admitted","unknown","unavailable","conflict"]},"personal_url":{"type":"string","maxLength":2048},"created_webhook_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,18}$"},"delivery_url":{"type":["string","null"],"maxLength":2048},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"webhook"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","action","target_id","approval_state","approval_url","expires_at","state","effect","code","personal_url","created_webhook_id","delivery_url"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"webhook"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},"action":{"type":"string","enum":["update","enable","disable","delete","retry","create"]},"target_id":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,18})$"},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"approval_url":{"type":["string","null"],"maxLength":2048},"expires_at":{"type":"string","maxLength":64},"state":{"type":"string","enum":["awaiting_confirmation","admitted","done","unknown","unavailable","conflict","not_found"]},"effect":{"type":"string","enum":["none","configuration_changed","delivery_queued","endpoint_created"]},"code":{"type":"string","enum":["endpoint_created","configuration_changed","enqueued","not_changed","source_changed","not_found","personal_action_required","admitted","unknown","unavailable","conflict"]},"personal_url":{"type":"string","maxLength":2048},"created_webhook_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,18}$"},"delivery_url":{"type":["string","null"],"maxLength":2048},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"webhook"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","action","target_id","approval_state","approval_url","expires_at","state","effect","code","personal_url","created_webhook_id","delivery_url"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},"action":{"type":"string","enum":["update","enable","disable","delete","retry","create"]},"target_id":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,18})$"},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"approval_url":{"type":["string","null"],"maxLength":2048},"expires_at":{"type":"string","maxLength":64},"state":{"type":"string","enum":["awaiting_confirmation","admitted","done","unknown","unavailable","conflict","not_found"]},"effect":{"type":"string","enum":["none","configuration_changed","delivery_queued","endpoint_created"]},"code":{"type":"string","enum":["endpoint_created","configuration_changed","enqueued","not_changed","source_changed","not_found","personal_action_required","admitted","unknown","unavailable","conflict"]},"personal_url":{"type":"string","maxLength":2048},"created_webhook_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,18}$"},"delivery_url":{"type":["string","null"],"maxLength":2048},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"webhook"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","action","target_id","approval_state","approval_url","expires_at","state","effect","code","personal_url","created_webhook_id","delivery_url"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"webhook"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},"required_scopes":["webhooks.read","webhooks.write"],"scope_options":{"delivery":["webhooks.read","webhooks.write"]},"risk":"write","description":"Request a delivery with existing consent; queued is not delivered."},{"name":"webhook_update","inputSchema":{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},"action":{"type":"string","enum":["update","enable","disable","delete"]},"webhook_id":{"type":"string","pattern":"^[1-9][0-9]{0,18}$"},"callback_url":{"type":"string","maxLength":500},"events":{"type":"array","minItems":1,"maxItems":3,"uniqueItems":true,"items":{"type":"string","enum":["order.created","order.status_changed","balance.topup"]}}},"required":["operation_id","action","webhook_id"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},"action":{"type":"string","enum":["update","enable","disable","delete","retry","create"]},"target_id":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,18})$"},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"approval_url":{"type":["string","null"],"maxLength":2048},"expires_at":{"type":"string","maxLength":64},"state":{"type":"string","enum":["awaiting_confirmation","admitted","done","unknown","unavailable","conflict","not_found"]},"effect":{"type":"string","enum":["none","configuration_changed","delivery_queued","endpoint_created"]},"code":{"type":"string","enum":["endpoint_created","configuration_changed","enqueued","not_changed","source_changed","not_found","personal_action_required","admitted","unknown","unavailable","conflict"]},"personal_url":{"type":"string","maxLength":2048},"created_webhook_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,18}$"},"delivery_url":{"type":["string","null"],"maxLength":2048},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"webhook"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","action","target_id","approval_state","approval_url","expires_at","state","effect","code","personal_url","created_webhook_id","delivery_url"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"webhook"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},"action":{"type":"string","enum":["update","enable","disable","delete","retry","create"]},"target_id":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,18})$"},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"approval_url":{"type":["string","null"],"maxLength":2048},"expires_at":{"type":"string","maxLength":64},"state":{"type":"string","enum":["awaiting_confirmation","admitted","done","unknown","unavailable","conflict","not_found"]},"effect":{"type":"string","enum":["none","configuration_changed","delivery_queued","endpoint_created"]},"code":{"type":"string","enum":["endpoint_created","configuration_changed","enqueued","not_changed","source_changed","not_found","personal_action_required","admitted","unknown","unavailable","conflict"]},"personal_url":{"type":"string","maxLength":2048},"created_webhook_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,18}$"},"delivery_url":{"type":["string","null"],"maxLength":2048},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"webhook"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","action","target_id","approval_state","approval_url","expires_at","state","effect","code","personal_url","created_webhook_id","delivery_url"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"operation_id":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},"action":{"type":"string","enum":["update","enable","disable","delete","retry","create"]},"target_id":{"type":"string","pattern":"^(?:0|[1-9][0-9]{0,18})$"},"approval_state":{"type":"string","enum":["pending","approved","denied","expired","consumed","unavailable"]},"approval_url":{"type":["string","null"],"maxLength":2048},"expires_at":{"type":"string","maxLength":64},"state":{"type":"string","enum":["awaiting_confirmation","admitted","done","unknown","unavailable","conflict","not_found"]},"effect":{"type":"string","enum":["none","configuration_changed","delivery_queued","endpoint_created"]},"code":{"type":"string","enum":["endpoint_created","configuration_changed","enqueued","not_changed","source_changed","not_found","personal_action_required","admitted","unknown","unavailable","conflict"]},"personal_url":{"type":"string","maxLength":2048},"created_webhook_id":{"type":["string","null"],"pattern":"^[1-9][0-9]{0,18}$"},"delivery_url":{"type":["string","null"],"maxLength":2048},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"webhook"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"required":["operation_id","action","target_id","approval_state","approval_url","expires_at","state","effect","code","personal_url","created_webhook_id","delivery_url"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128},"operation_reference":{"type":"object","properties":{"kind":{"type":"string","const":"webhook"},"id":{"type":"string","pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,127}$"}},"required":["kind","id"],"additionalProperties":false}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},"required_scopes":["webhooks.read","webhooks.write"],"scope_options":{"configure":["webhooks.read","webhooks.write"]},"risk":"write","description":"Request webhook changes with existing consent; keep the operation reference."},{"name":"webhooks_get","inputSchema":{"type":"object","properties":{"view":{"anyOf":[{"type":"string","const":"list"},{"type":"string","const":"deliveries"}]},"webhook_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"status":{"type":"string","enum":["pending","ok","failed"]},"limit":{"type":"integer","minimum":1,"maximum":50}},"required":["view"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"view":{"type":"string","const":"list"}},"required":["view"],"additionalProperties":false},{"type":"object","properties":{"view":{"type":"string","const":"deliveries"},"webhook_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"status":{"type":"string","enum":["pending","ok","failed"]},"limit":{"type":"integer","minimum":1,"maximum":50}},"required":["view"],"additionalProperties":false}]},"outputSchema":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"webhook_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"callback_origin":{"type":["string","null"],"maxLength":515},"events":{"type":"array","items":{"type":"string","maxLength":64},"maxItems":3},"active":{"type":"boolean"},"disabled_reason":{"type":["string","null"],"enum":[null,"admin","client","failures"]},"fail_count":{"type":"integer","minimum":0},"last_success_at":{"type":["string","null"],"maxLength":64},"created_at":{"type":["string","null"],"maxLength":64},"updated_at":{"type":["string","null"],"maxLength":64}},"required":["webhook_id","callback_origin","events","active","disabled_reason","fail_count","last_success_at","created_at","updated_at"],"additionalProperties":false},"maxItems":3},"personal_url":{"type":"string","maxLength":2048},"effect":{"type":"string","const":"none"},"navigation":{"type":"object","properties":{"links":{"type":"object","properties":{"help_url":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?mcp#webhooks-setup$"},"signing_settings_url":{"type":["string","null"],"maxLength":512,"pattern":"^https://[a-z0-9.:-]+/ai-connections$"}},"required":["help_url","signing_settings_url"],"additionalProperties":false},"method":{"type":"string","const":"GET"},"effect":{"type":"string","const":"none"},"browser_action_required":{"type":"boolean","const":true},"hint":{"type":"string","minLength":1,"maxLength":512}},"required":["links","method","effect","browser_action_required","hint"],"additionalProperties":false}},"required":["items","personal_url","effect"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"webhook_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"callback_origin":{"type":["string","null"],"maxLength":515},"events":{"type":"array","items":{"type":"string","maxLength":64},"maxItems":3},"active":{"type":"boolean"},"disabled_reason":{"type":["string","null"],"enum":[null,"admin","client","failures"]},"fail_count":{"type":"integer","minimum":0},"last_success_at":{"type":["string","null"],"maxLength":64},"created_at":{"type":["string","null"],"maxLength":64},"updated_at":{"type":["string","null"],"maxLength":64}},"required":["webhook_id","callback_origin","events","active","disabled_reason","fail_count","last_success_at","created_at","updated_at"],"additionalProperties":false},"maxItems":3},"personal_url":{"type":"string","maxLength":2048},"effect":{"type":"string","const":"none"},"navigation":{"type":"object","properties":{"links":{"type":"object","properties":{"help_url":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?mcp#webhooks-setup$"},"signing_settings_url":{"type":["string","null"],"maxLength":512,"pattern":"^https://[a-z0-9.:-]+/ai-connections$"}},"required":["help_url","signing_settings_url"],"additionalProperties":false},"method":{"type":"string","const":"GET"},"effect":{"type":"string","const":"none"},"browser_action_required":{"type":"boolean","const":true},"hint":{"type":"string","minLength":1,"maxLength":512}},"required":["links","method","effect","browser_action_required","hint"],"additionalProperties":false}},"required":["items","personal_url","effect"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"webhook_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"callback_origin":{"type":["string","null"],"maxLength":515},"events":{"type":"array","items":{"type":"string","maxLength":64},"maxItems":3},"active":{"type":"boolean"},"disabled_reason":{"type":["string","null"],"enum":[null,"admin","client","failures"]},"fail_count":{"type":"integer","minimum":0},"last_success_at":{"type":["string","null"],"maxLength":64},"created_at":{"type":["string","null"],"maxLength":64},"updated_at":{"type":["string","null"],"maxLength":64}},"required":["webhook_id","callback_origin","events","active","disabled_reason","fail_count","last_success_at","created_at","updated_at"],"additionalProperties":false},"maxItems":3},"personal_url":{"type":"string","maxLength":2048},"effect":{"type":"string","const":"none"},"navigation":{"type":"object","properties":{"links":{"type":"object","properties":{"help_url":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?mcp#webhooks-setup$"},"signing_settings_url":{"type":["string","null"],"maxLength":512,"pattern":"^https://[a-z0-9.:-]+/ai-connections$"}},"required":["help_url","signing_settings_url"],"additionalProperties":false},"method":{"type":"string","const":"GET"},"effect":{"type":"string","const":"none"},"browser_action_required":{"type":"boolean","const":true},"hint":{"type":"string","minLength":1,"maxLength":512}},"required":["links","method","effect","browser_action_required","hint"],"additionalProperties":false}},"required":["items","personal_url","effect"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"delivery_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"webhook_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"event_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"event_type":{"type":"string","maxLength":64},"status":{"type":"string","enum":["pending","ok","failed"]},"attempts":{"type":"integer","minimum":0},"next_attempt_at":{"type":["string","null"],"maxLength":64},"created_at":{"type":["string","null"],"maxLength":64},"last_attempt_at":{"type":["string","null"],"maxLength":64},"response_code":{"type":["integer","null"]}},"required":["delivery_id","webhook_id","event_id","event_type","status","attempts","next_attempt_at","created_at","last_attempt_at","response_code"],"additionalProperties":false},"maxItems":50},"personal_url":{"type":"string","maxLength":2048},"effect":{"type":"string","const":"none"},"navigation":{"type":"object","properties":{"links":{"type":"object","properties":{"help_url":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?mcp#webhooks-setup$"},"signing_settings_url":{"type":["string","null"],"maxLength":512,"pattern":"^https://[a-z0-9.:-]+/ai-connections$"}},"required":["help_url","signing_settings_url"],"additionalProperties":false},"method":{"type":"string","const":"GET"},"effect":{"type":"string","const":"none"},"browser_action_required":{"type":"boolean","const":true},"hint":{"type":"string","minLength":1,"maxLength":512}},"required":["links","method","effect","browser_action_required","hint"],"additionalProperties":false}},"required":["items","personal_url","effect"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean"},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false,"oneOf":[{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"delivery_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"webhook_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"event_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"event_type":{"type":"string","maxLength":64},"status":{"type":"string","enum":["pending","ok","failed"]},"attempts":{"type":"integer","minimum":0},"next_attempt_at":{"type":["string","null"],"maxLength":64},"created_at":{"type":["string","null"],"maxLength":64},"last_attempt_at":{"type":["string","null"],"maxLength":64},"response_code":{"type":["integer","null"]}},"required":["delivery_id","webhook_id","event_id","event_type","status","attempts","next_attempt_at","created_at","last_attempt_at","response_code"],"additionalProperties":false},"maxItems":50},"personal_url":{"type":"string","maxLength":2048},"effect":{"type":"string","const":"none"},"navigation":{"type":"object","properties":{"links":{"type":"object","properties":{"help_url":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?mcp#webhooks-setup$"},"signing_settings_url":{"type":["string","null"],"maxLength":512,"pattern":"^https://[a-z0-9.:-]+/ai-connections$"}},"required":["help_url","signing_settings_url"],"additionalProperties":false},"method":{"type":"string","const":"GET"},"effect":{"type":"string","const":"none"},"browser_action_required":{"type":"boolean","const":true},"hint":{"type":"string","minLength":1,"maxLength":512}},"required":["links","method","effect","browser_action_required","hint"],"additionalProperties":false}},"required":["items","personal_url","effect"],"additionalProperties":false},"is_error":{"type":"boolean","const":false},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","succeeded","partial"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false},{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,63}$"},"correlation_id":{"type":"string","minLength":1,"maxLength":128},"summary":{"type":"string","maxLength":1000},"data":{"anyOf":[{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"delivery_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"webhook_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"event_id":{"type":"string","pattern":"^[1-9][0-9]{0,19}$"},"event_type":{"type":"string","maxLength":64},"status":{"type":"string","enum":["pending","ok","failed"]},"attempts":{"type":"integer","minimum":0},"next_attempt_at":{"type":["string","null"],"maxLength":64},"created_at":{"type":["string","null"],"maxLength":64},"last_attempt_at":{"type":["string","null"],"maxLength":64},"response_code":{"type":["integer","null"]}},"required":["delivery_id","webhook_id","event_id","event_type","status","attempts","next_attempt_at","created_at","last_attempt_at","response_code"],"additionalProperties":false},"maxItems":50},"personal_url":{"type":"string","maxLength":2048},"effect":{"type":"string","const":"none"},"navigation":{"type":"object","properties":{"links":{"type":"object","properties":{"help_url":{"type":"string","maxLength":512,"pattern":"^https://[a-z0-9.:-]+/(?:[a-z]{2}/)?mcp#webhooks-setup$"},"signing_settings_url":{"type":["string","null"],"maxLength":512,"pattern":"^https://[a-z0-9.:-]+/ai-connections$"}},"required":["help_url","signing_settings_url"],"additionalProperties":false},"method":{"type":"string","const":"GET"},"effect":{"type":"string","const":"none"},"browser_action_required":{"type":"boolean","const":true},"hint":{"type":"string","minLength":1,"maxLength":512}},"required":["links","method","effect","browser_action_required","hint"],"additionalProperties":false}},"required":["items","personal_url","effect"],"additionalProperties":false},{"type":"object","properties":{"errors":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","maxLength":512},"code":{"type":"string","maxLength":64}},"required":["path","code"],"additionalProperties":false},"maxItems":32},"reason":{"type":"string","maxLength":256},"retry_after":{"type":"integer","minimum":0},"required_missing":{"type":"array","items":{"type":"string","maxLength":128},"maxItems":128}},"additionalProperties":false}]},"is_error":{"type":"boolean","const":true},"operation_id":{"type":["string","null"],"minLength":1,"maxLength":128},"state":{"type":["string","null"],"enum":[null,"prepared","processing","failed","unknown","manual_reconciliation"]}},"required":["code","correlation_id","summary","data","is_error","operation_id","state"],"additionalProperties":false}]}]},"required_scopes":["webhooks.read"],"scope_options":{"list":["webhooks.read"],"deliveries":["webhooks.read"]},"risk":"read","description":"Read webhooks or their delivery attempts without secrets."}]}
