{"components":{"schemas":{"About":{"properties":{"language":{"title":"Language","type":"string"},"text":{"title":"Text","type":"string"},"translations":{"additionalProperties":{"type":"string"},"default":{},"title":"Translations","type":"object"},"updated_at":{"format":"date-time","title":"Updated At","type":"string"}},"required":["text","language","updated_at"],"title":"About","type":"object"},"AboutIn":{"additionalProperties":false,"properties":{"language":{"$ref":"#/components/schemas/PageLanguage"},"text":{"maxLength":2000,"minLength":1,"title":"Text","type":"string"}},"required":["text","language"],"title":"AboutIn","type":"object"},"AboutTranslationIn":{"additionalProperties":false,"properties":{"text":{"maxLength":4000,"minLength":1,"title":"Text","type":"string"}},"required":["text"],"title":"AboutTranslationIn","type":"object"},"AcceptIn":{"additionalProperties":false,"properties":{"token":{"maxLength":200,"minLength":10,"title":"Token","type":"string"}},"required":["token"],"title":"AcceptIn","type":"object"},"AcceptInviteIn":{"additionalProperties":false,"properties":{"org_id":{"format":"uuid","title":"Org Id","type":"string"},"token":{"maxLength":200,"minLength":10,"title":"Token","type":"string"}},"required":["token","org_id"],"title":"AcceptInviteIn","type":"object"},"AccountKind":{"description":"Chosen once, never changed (a trigger refuses it).","enum":["personal","business"],"title":"AccountKind","type":"string"},"AddedFrom":{"description":"Where the member followed the product.","enum":["scorecard","code_page","anti_dumping","panel","company"],"title":"AddedFrom","type":"string"},"AgentCard":{"properties":{"agent":{"enum":["showcase","radar","buyer","seller","negotiator","translator","follow_up"],"title":"Agent","type":"string"},"metrics":{"items":{"$ref":"#/components/schemas/AgentMetric"},"title":"Metrics","type":"array"},"next":{"anyOf":[{"$ref":"#/components/schemas/AgentWaiting"},{"type":"null"}]},"quota":{"anyOf":[{"$ref":"#/components/schemas/AgentQuota"},{"type":"null"}]},"reason":{"anyOf":[{"enum":["agents_off","no_company","managers_only","not_enabled","coming_soon"],"type":"string"},{"type":"null"}],"title":"Reason"},"state":{"enum":["off","not_set_up","on"],"title":"State","type":"string"},"waiting":{"title":"Waiting","type":"integer"}},"required":["agent","state","reason","metrics","waiting","next"],"title":"AgentCard","type":"object"},"AgentConversationIn":{"additionalProperties":false,"properties":{"company_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Company Id"},"kind":{"default":"buying","enum":["buying","showcase","sales"],"title":"Kind","type":"string"},"locale":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Locale","type":"string"},"org_id":{"format":"uuid","title":"Org Id","type":"string"}},"required":["org_id"],"title":"AgentConversationIn","type":"object"},"AgentConversationOut":{"properties":{"channel":{"title":"Channel","type":"string"},"company_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Company Id"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"kind":{"title":"Kind","type":"string"},"last_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last At"},"last_from":{"anyOf":[{"enum":["member","agent","staff","notice"],"type":"string"},{"type":"null"}],"title":"Last From"},"locale":{"title":"Locale","type":"string"},"next_follow_up":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Next Follow Up"},"org_id":{"format":"uuid","title":"Org Id","type":"string"},"status":{"title":"Status","type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"turns":{"title":"Turns","type":"integer"},"updated_at":{"format":"date-time","title":"Updated At","type":"string"},"waiting":{"default":0,"title":"Waiting","type":"integer"}},"required":["id","org_id","kind","channel","locale","status","turns","created_at","updated_at"],"title":"AgentConversationOut","type":"object"},"AgentFollowUpOut":{"properties":{"due_at":{"format":"date-time","title":"Due At","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"need_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Need Id"},"note":{"title":"Note","type":"string"},"result":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Result"},"status":{"title":"Status","type":"string"}},"required":["id","need_id","note","due_at","status","result"],"title":"AgentFollowUpOut","type":"object"},"AgentFoundCompany":{"description":"A company the agent's supplier search returned: public facts only, as it read them.","properties":{"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"company_id":{"format":"uuid","title":"Company Id","type":"string"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"name":{"title":"Name","type":"string"},"slug":{"title":"Slug","type":"string"},"verified_owner":{"title":"Verified Owner","type":"boolean"}},"required":["company_id","name","city","slug","verified_owner","created_at"],"title":"AgentFoundCompany","type":"object"},"AgentMessageIn":{"additionalProperties":false,"properties":{"text":{"maxLength":4000,"minLength":1,"title":"Text","type":"string"}},"required":["text"],"title":"AgentMessageIn","type":"object"},"AgentMetric":{"properties":{"key":{"title":"Key","type":"string"},"today":{"title":"Today","type":"integer"},"week":{"title":"Week","type":"integer"}},"required":["key","today","week"],"title":"AgentMetric","type":"object"},"AgentProposalOut":{"properties":{"created_at":{"format":"date-time","title":"Created At","type":"string"},"decided_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Decided At"},"id":{"format":"uuid","title":"Id","type":"string"},"kind":{"title":"Kind","type":"string"},"payload":{"additionalProperties":true,"title":"Payload","type":"object"},"result":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Result"},"status":{"title":"Status","type":"string"}},"required":["id","kind","payload","status","result","created_at","decided_at"],"title":"AgentProposalOut","type":"object"},"AgentQuota":{"properties":{"limit":{"title":"Limit","type":"integer"},"used":{"title":"Used","type":"integer"}},"required":["used","limit"],"title":"AgentQuota","type":"object"},"AgentQuoteDraft":{"description":"A quote draft the selling assistant prepared in a ``sales`` task: open it at\n``GET /v1/conversations/{conversation_id}/quote-draft`` (its prices are the owner's).","properties":{"conversation_id":{"format":"uuid","title":"Conversation Id","type":"string"},"created_at":{"format":"date-time","title":"Created At","type":"string"}},"required":["conversation_id","created_at"],"title":"AgentQuoteDraft","type":"object"},"AgentReply":{"properties":{"proposals":{"items":{"$ref":"#/components/schemas/AgentProposalOut"},"title":"Proposals","type":"array"},"reply":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reply"},"status":{"title":"Status","type":"string"}},"required":["reply","status","proposals"],"title":"AgentReply","type":"object"},"AgentShownMessage":{"properties":{"created_at":{"format":"date-time","title":"Created At","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"role":{"enum":["member","agent","staff","notice"],"title":"Role","type":"string"},"text":{"title":"Text","type":"string"}},"required":["id","role","text","created_at"],"title":"AgentShownMessage","type":"object"},"AgentStep":{"properties":{"created_at":{"format":"date-time","title":"Created At","type":"string"},"tool":{"title":"Tool","type":"string"}},"required":["tool","created_at"],"title":"AgentStep","type":"object"},"AgentTranscript":{"properties":{"conversation":{"$ref":"#/components/schemas/AgentConversationOut"},"follow_ups":{"items":{"$ref":"#/components/schemas/AgentFollowUpOut"},"title":"Follow Ups","type":"array"},"found":{"default":[],"items":{"$ref":"#/components/schemas/AgentFoundCompany"},"title":"Found","type":"array"},"messages":{"items":{"$ref":"#/components/schemas/AgentShownMessage"},"title":"Messages","type":"array"},"proposals":{"items":{"$ref":"#/components/schemas/AgentProposalOut"},"title":"Proposals","type":"array"},"quote_drafts":{"default":[],"items":{"$ref":"#/components/schemas/AgentQuoteDraft"},"title":"Quote Drafts","type":"array"},"steps":{"default":[],"items":{"$ref":"#/components/schemas/AgentStep"},"title":"Steps","type":"array"}},"required":["conversation","messages","proposals","follow_ups"],"title":"AgentTranscript","type":"object"},"AgentWaiting":{"properties":{"company_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Company Id"},"conversation_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Conversation Id"},"id":{"format":"uuid","title":"Id","type":"string"},"kind":{"title":"Kind","type":"string"},"need_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Need Id"},"since":{"format":"date-time","title":"Since","type":"string"},"task_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Task Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"}},"required":["kind","id","since"],"title":"AgentWaiting","type":"object"},"AgentsSummary":{"properties":{"agents":{"items":{"$ref":"#/components/schemas/AgentCard"},"title":"Agents","type":"array"},"day":{"format":"date","title":"Day","type":"string"},"org_id":{"format":"uuid","title":"Org Id","type":"string"},"role":{"title":"Role","type":"string"}},"required":["org_id","role","day","agents"],"title":"AgentsSummary","type":"object"},"AlertKind":{"enum":["company_record","new_company"],"title":"AlertKind","type":"string"},"AlertOut":{"properties":{"company_id":{"format":"uuid","title":"Company Id","type":"string"},"company_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Name"},"company_slug":{"title":"Company Slug","type":"string"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"kind":{"$ref":"#/components/schemas/AlertKind"},"read_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Read At"},"record":{"$ref":"#/components/schemas/Record"}},"required":["id","kind","company_id","company_slug","company_name","record","created_at","read_at"],"title":"AlertOut","type":"object"},"AnswerableItem":{"description":"Something the page shows that the organization may answer.","properties":{"id":{"format":"uuid","title":"Id","type":"string"},"origin":{"anyOf":[{"enum":["signal_project","signal_exhibitor","signal_hotel","signal_news"],"type":"string"},{"type":"null"}],"title":"Origin"},"published_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Published At"},"subject":{"enum":["need","record"],"title":"Subject","type":"string"},"title":{"title":"Title","type":"string"}},"required":["subject","id","origin","title","published_at"],"title":"AnswerableItem","type":"object"},"AntiDumpingAct":{"description":"An act of the page, with the link to its official text.","properties":{"official_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Official Url"},"published_at":{"format":"date-time","title":"Published At","type":"string"},"reference":{"title":"Reference","type":"string"}},"required":["reference","published_at","official_url"],"title":"AntiDumpingAct","type":"object"},"AntiDumpingBuyers":{"description":"Buyers in the home market with an open need for the goods the duty is on now (their\ncodes' six HS digits; the page's headings when no act states a code).","properties":{"code":{"title":"Code","type":"string"},"count":{"title":"Count","type":"integer"},"items":{"items":{"$ref":"#/components/schemas/AntiDumpingOpportunity"},"title":"Items","type":"array"}},"required":["count","items","code"],"title":"AntiDumpingBuyers","type":"object"},"AntiDumpingCode":{"description":"A tariff code an act states, with its title in the tariff.","properties":{"code":{"title":"Code","type":"string"},"partial":{"title":"Partial","type":"boolean"},"system":{"title":"System","type":"string"},"title_en":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title En"},"title_en_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title En By"},"title_tr":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title Tr"},"titled_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Titled By"},"translated_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Translated By"},"translation":{"anyOf":[{"$ref":"#/components/schemas/GtipTitleTranslation"},{"type":"null"}]}},"required":["system","code","partial","title_tr","title_en","titled_by","title_en_by"],"title":"AntiDumpingCode","type":"object"},"AntiDumpingDuty":{"description":"A range of rates as an act sets it, lowest to highest, the rate for all other firms\nincluded; never which firm pays which.","properties":{"basis":{"enum":["ad_valorem","specific"],"title":"Basis","type":"string"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"high":{"title":"High","type":"string"},"low":{"title":"Low","type":"string"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"}},"required":["low","high","basis","unit","currency"],"title":"AntiDumpingDuty","type":"object"},"AntiDumpingFacetCount":{"properties":{"count":{"title":"Count","type":"integer"},"value":{"title":"Value","type":"string"}},"required":["value","count"],"title":"AntiDumpingFacetCount","type":"object"},"AntiDumpingFacets":{"description":"How many pages each choice of a filter would give, the other filters kept: what the\nlist's status links, origins and sectors can say beside their names.","properties":{"origins":{"items":{"$ref":"#/components/schemas/AntiDumpingFacetCount"},"title":"Origins","type":"array"},"sectors":{"items":{"$ref":"#/components/schemas/AntiDumpingFacetCount"},"title":"Sectors","type":"array"},"statuses":{"items":{"$ref":"#/components/schemas/AntiDumpingFacetCount"},"title":"Statuses","type":"array"}},"required":["statuses","origins","sectors"],"title":"AntiDumpingFacets","type":"object"},"AntiDumpingList":{"properties":{"facets":{"$ref":"#/components/schemas/AntiDumpingFacets"},"items":{"items":{"$ref":"#/components/schemas/AntiDumpingSummary"},"title":"Items","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"sources":{"items":{"$ref":"#/components/schemas/RadarCredit"},"title":"Sources","type":"array"},"total":{"title":"Total","type":"integer"}},"required":["items","next_cursor","total","facets","sources"],"title":"AntiDumpingList","type":"object"},"AntiDumpingMakers":{"description":"The Turkish companies Birlesa knows for the product: who a buyer facing the duty can\nask instead.","properties":{"basis":{"enum":["makers","sector_exporters"],"title":"Basis","type":"string"},"count":{"title":"Count","type":"integer"}},"required":["count","basis"],"title":"AntiDumpingMakers","type":"object"},"AntiDumpingMeasure":{"description":"One act on one origin.","properties":{"applies_from":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Applies From"},"duty":{"anyOf":[{"$ref":"#/components/schemas/AntiDumpingDuty"},{"type":"null"}]},"expires_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Expires On"},"instrument":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instrument"},"listed":{"title":"Listed","type":"boolean"},"official_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Official Url"},"origin":{"title":"Origin","type":"string"},"published_at":{"format":"date-time","title":"Published At","type":"string"},"reference":{"title":"Reference","type":"string"},"review_opened_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Review Opened On"},"stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage"}},"required":["origin","instrument","stage","listed","duty","published_at","applies_from","expires_on","reference","official_url","review_opened_on"],"title":"AntiDumpingMeasure","type":"object"},"AntiDumpingOpportunity":{"description":"An open public opportunity for goods of the page's headings.","properties":{"buyer_country":{"title":"Buyer Country","type":"string"},"deadline_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Deadline At"},"id":{"format":"uuid","title":"Id","type":"string"},"opportunity_type":{"enum":["open_tender","contractor_purchase","supplier_switch","project","purchase_request"],"title":"Opportunity Type","type":"string"},"published_at":{"format":"date-time","title":"Published At","type":"string"},"title":{"title":"Title","type":"string"}},"required":["id","title","buyer_country","opportunity_type","published_at","deadline_at"],"title":"AntiDumpingOpportunity","type":"object"},"AntiDumpingPage":{"properties":{"acts":{"items":{"$ref":"#/components/schemas/AntiDumpingAct"},"title":"Acts","type":"array"},"buyers_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Buyers Code"},"buyers_now":{"anyOf":[{"$ref":"#/components/schemas/AntiDumpingBuyers"},{"type":"null"}]},"codes":{"items":{"$ref":"#/components/schemas/AntiDumpingCode"},"title":"Codes","type":"array"},"domestic_buyers":{"default":0,"title":"Domestic Buyers","type":"integer"},"duty":{"anyOf":[{"$ref":"#/components/schemas/AntiDumpingDuty"},{"type":"null"}]},"explanation":{"anyOf":[{"$ref":"#/components/schemas/AntiDumpingText"},{"type":"null"}]},"first_published_at":{"format":"date-time","title":"First Published At","type":"string"},"hs_headings":{"items":{"type":"string"},"title":"Hs Headings","type":"array"},"id":{"format":"uuid","title":"Id","type":"string"},"instruments":{"items":{"type":"string"},"title":"Instruments","type":"array"},"latest_published_at":{"format":"date-time","title":"Latest Published At","type":"string"},"makers":{"items":{"$ref":"#/components/schemas/CompanyCard"},"title":"Makers","type":"array"},"measures":{"items":{"$ref":"#/components/schemas/AntiDumpingMeasure"},"title":"Measures","type":"array"},"origins":{"items":{"type":"string"},"title":"Origins","type":"array"},"product":{"title":"Product","type":"string"},"product_en":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product En"},"product_tariff":{"anyOf":[{"$ref":"#/components/schemas/GtipCodeRef"},{"type":"null"}]},"related_opportunities":{"items":{"$ref":"#/components/schemas/AntiDumpingOpportunity"},"title":"Related Opportunities","type":"array"},"reviewed":{"title":"Reviewed","type":"boolean"},"sectors":{"items":{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},"title":"Sectors","type":"array"},"slug":{"title":"Slug","type":"string"},"source":{"anyOf":[{"$ref":"#/components/schemas/RadarCredit"},{"type":"null"}]},"status":{"$ref":"#/components/schemas/CaseStatus"},"supplier_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Supplier Count"},"turkish_makers":{"anyOf":[{"$ref":"#/components/schemas/AntiDumpingMakers"},{"type":"null"}]},"updated_at":{"format":"date-time","title":"Updated At","type":"string"}},"required":["id","slug","product","product_en","status","instruments","origins","hs_headings","sectors","duty","latest_published_at","supplier_count","reviewed","updated_at","codes","measures","acts","first_published_at","explanation","makers","related_opportunities","source"],"title":"AntiDumpingPage","type":"object"},"AntiDumpingSitemap":{"description":"The pages meant for search engines: those whose text is published.","properties":{"items":{"items":{"$ref":"#/components/schemas/AntiDumpingSitemapEntry"},"title":"Items","type":"array"}},"required":["items"],"title":"AntiDumpingSitemap","type":"object"},"AntiDumpingSitemapEntry":{"properties":{"slug":{"title":"Slug","type":"string"},"updated_at":{"format":"date-time","title":"Updated At","type":"string"}},"required":["slug","updated_at"],"title":"AntiDumpingSitemapEntry","type":"object"},"AntiDumpingSummary":{"properties":{"buyers_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Buyers Code"},"domestic_buyers":{"default":0,"title":"Domestic Buyers","type":"integer"},"duty":{"anyOf":[{"$ref":"#/components/schemas/AntiDumpingDuty"},{"type":"null"}]},"hs_headings":{"items":{"type":"string"},"title":"Hs Headings","type":"array"},"id":{"format":"uuid","title":"Id","type":"string"},"instruments":{"items":{"type":"string"},"title":"Instruments","type":"array"},"latest_published_at":{"format":"date-time","title":"Latest Published At","type":"string"},"origins":{"items":{"type":"string"},"title":"Origins","type":"array"},"product":{"title":"Product","type":"string"},"product_en":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product En"},"product_tariff":{"anyOf":[{"$ref":"#/components/schemas/GtipCodeRef"},{"type":"null"}]},"reviewed":{"title":"Reviewed","type":"boolean"},"sectors":{"items":{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},"title":"Sectors","type":"array"},"slug":{"title":"Slug","type":"string"},"status":{"$ref":"#/components/schemas/CaseStatus"},"supplier_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Supplier Count"},"updated_at":{"format":"date-time","title":"Updated At","type":"string"}},"required":["id","slug","product","product_en","status","instruments","origins","hs_headings","sectors","duty","latest_published_at","supplier_count","reviewed","updated_at"],"title":"AntiDumpingSummary","type":"object"},"AntiDumpingText":{"properties":{"language":{"enum":["tr","en"],"title":"Language","type":"string"},"reviewed_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Reviewed At"},"text":{"title":"Text","type":"string"}},"required":["language","text","reviewed_at"],"title":"AntiDumpingText","type":"object"},"ApprovalOut":{"properties":{"company_id":{"format":"uuid","title":"Company Id","type":"string"},"conversation_id":{"format":"uuid","title":"Conversation Id","type":"string"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"id":{"format":"uuid","title":"Id","type":"string"},"kind":{"title":"Kind","type":"string"},"preview":{"additionalProperties":true,"title":"Preview","type":"object"},"reason":{"title":"Reason","type":"string"},"reasons":{"items":{"additionalProperties":true,"type":"object"},"title":"Reasons","type":"array"},"status":{"title":"Status","type":"string"}},"required":["id","company_id","conversation_id","kind","reason","reasons","preview","status","error","created_at"],"title":"ApprovalOut","type":"object"},"Approved":{"properties":{"products":{"items":{"$ref":"#/components/schemas/CatalogueProduct"},"title":"Products","type":"array"},"skipped":{"items":{"$ref":"#/components/schemas/SkippedDraft"},"title":"Skipped","type":"array"}},"required":["products","skipped"],"title":"Approved","type":"object"},"ArchivedOpportunity":{"description":"A public need matched to a company that is no longer open, with how it ended.","properties":{"awards":{"default":[],"items":{"$ref":"#/components/schemas/OpportunityAward"},"title":"Awards","type":"array"},"buyer_country":{"title":"Buyer Country","type":"string"},"buyer_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Buyer Name"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"credit":{"anyOf":[{"$ref":"#/components/schemas/OpportunityCredit"},{"type":"null"}]},"deadline_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Deadline At"},"destination_country":{"title":"Destination Country","type":"string"},"eligibility":{"anyOf":[{"$ref":"#/components/schemas/OpportunityEligibility"},{"type":"null"}]},"estimated_value":{"anyOf":[{"$ref":"#/components/schemas/OpportunityMoney"},{"type":"null"}]},"id":{"format":"uuid","title":"Id","type":"string"},"item_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Item Count"},"kind":{"title":"Kind","type":"string"},"last_seen_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Seen At"},"match_count":{"title":"Match Count","type":"integer"},"matched_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Matched At"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"opportunity_type":{"default":"open_tender","enum":["open_tender","contractor_purchase","supplier_switch","project","purchase_request"],"title":"Opportunity Type","type":"string"},"origin":{"title":"Origin","type":"string"},"portal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Portal"},"procurement_type":{"anyOf":[{"enum":["goods","services","works","consultancy","other"],"type":"string"},{"type":"null"}],"title":"Procurement Type"},"published_at":{"format":"date-time","title":"Published At","type":"string"},"quantities":{"default":[],"items":{"$ref":"#/components/schemas/OpportunityQuantity"},"title":"Quantities","type":"array"},"reasons":{"items":{"$ref":"#/components/schemas/MatchReason"},"title":"Reasons","type":"array"},"relevance":{"default":"supply","title":"Relevance","type":"string"},"score":{"title":"Score","type":"integer"},"sectors":{"default":[],"items":{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},"title":"Sectors","type":"array"},"seriousness":{"title":"Seriousness","type":"integer"},"status":{"enum":["closed","expired"],"title":"Status","type":"string"},"title":{"title":"Title","type":"string"},"title_language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title Language"},"title_machine_translated":{"default":false,"title":"Title Machine Translated","type":"boolean"},"translated_by":{"anyOf":[{"enum":["source","model"],"type":"string"},{"type":"null"}],"title":"Translated By"},"translated_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Translated Title"}},"required":["id","kind","origin","title","buyer_name","buyer_country","destination_country","city","published_at","deadline_at","seriousness","match_count","score","reasons","matched_at","status"],"title":"ArchivedOpportunity","type":"object"},"AskedCountry":{"properties":{"country":{"title":"Country","type":"string"},"opportunities":{"title":"Opportunities","type":"integer"},"published":{"title":"Published","type":"integer"}},"required":["country","opportunities","published"],"title":"AskedCountry","type":"object"},"AskedProduct":{"properties":{"code":{"title":"Code","type":"string"},"countries":{"items":{"$ref":"#/components/schemas/AskedCountry"},"title":"Countries","type":"array"},"opportunities":{"title":"Opportunities","type":"integer"},"title":{"$ref":"#/components/schemas/GtipTitle"}},"required":["code","title","opportunities","countries"],"title":"AskedProduct","type":"object"},"AssistCompany":{"properties":{"id":{"format":"uuid","title":"Id","type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"required":["id","slug","name"],"title":"AssistCompany","type":"object"},"AssistRequestIn":{"additionalProperties":false,"properties":{"action":{"enum":["offer","connect"],"title":"Action","type":"string"},"company_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Company Id"},"kind":{"enum":["signal","code","need","remedy"],"title":"Kind","type":"string"},"language":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"},"note":{"anyOf":[{"maxLength":2000,"type":"string"},{"type":"null"}],"title":"Note"},"org_id":{"format":"uuid","title":"Org Id","type":"string"},"ref":{"maxLength":160,"minLength":1,"title":"Ref","type":"string"}},"required":["action","kind","ref","org_id"],"title":"AssistRequestIn","type":"object"},"AssistRequestOut":{"properties":{"action":{"enum":["offer","connect"],"title":"Action","type":"string"},"closed_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Closed At"},"company":{"anyOf":[{"$ref":"#/components/schemas/AssistCompany"},{"type":"null"}]},"created_at":{"format":"date-time","title":"Created At","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"org_id":{"format":"uuid","title":"Org Id","type":"string"},"repeated":{"default":false,"title":"Repeated","type":"boolean"},"status":{"enum":["new","in_progress","introduced","offer_sent","closed_won","closed_lost","withdrawn"],"title":"Status","type":"string"},"status_changed_at":{"format":"date-time","title":"Status Changed At","type":"string"},"subject":{"$ref":"#/components/schemas/AssistSubject"},"withdrawable":{"title":"Withdrawable","type":"boolean"}},"required":["id","action","subject","org_id","company","note","status","withdrawable","created_at","status_changed_at","closed_at"],"title":"AssistRequestOut","type":"object"},"AssistSubject":{"properties":{"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"kind":{"enum":["signal","code","need","remedy"],"title":"Kind","type":"string"},"ref":{"title":"Ref","type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"}},"required":["kind","ref","title","country"],"title":"AssistSubject","type":"object"},"AssistantActivity":{"properties":{"entries":{"items":{"$ref":"#/components/schemas/AssistantActivityEntry"},"title":"Entries","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"required":["entries","next_cursor"],"title":"AssistantActivity","type":"object"},"AssistantActivityEntry":{"properties":{"approval_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Approval Id"},"at":{"format":"date-time","title":"At","type":"string"},"buyer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Buyer"},"conversation_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Conversation Id"},"kind":{"enum":["drafted_reply","answered_question","translated","offered_sample","waiting_for_owner","set_aside","suggested_codes","found_buyers"],"title":"Kind","type":"string"},"need_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Need Id"},"params":{"additionalProperties":true,"title":"Params","type":"object"}},"required":["at","kind","params","conversation_id","need_id","approval_id","buyer"],"title":"AssistantActivityEntry","type":"object"},"AssistantDraft":{"properties":{"approval_id":{"format":"uuid","title":"Approval Id","type":"string"},"conversation_id":{"format":"uuid","title":"Conversation Id","type":"string"},"created":{"title":"Created","type":"boolean"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"need_id":{"format":"uuid","title":"Need Id","type":"string"},"quote_draft":{"title":"Quote Draft","type":"boolean"},"score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Score"}},"required":["conversation_id","need_id","approval_id","score","language","created","quote_draft"],"title":"AssistantDraft","type":"object"},"AssistantDraftSkipped":{"properties":{"conversation_id":{"format":"uuid","title":"Conversation Id","type":"string"},"reason":{"enum":["set_aside","held","daily_limit","plan_limit","unavailable"],"title":"Reason","type":"string"}},"required":["conversation_id","reason"],"title":"AssistantDraftSkipped","type":"object"},"AssistantDrafts":{"properties":{"drafts":{"items":{"$ref":"#/components/schemas/AssistantDraft"},"title":"Drafts","type":"array"},"remaining_today":{"title":"Remaining Today","type":"integer"},"skipped":{"items":{"$ref":"#/components/schemas/AssistantDraftSkipped"},"title":"Skipped","type":"array"}},"required":["drafts","skipped","remaining_today"],"title":"AssistantDrafts","type":"object"},"AssistantDraftsIn":{"additionalProperties":false,"properties":{"count":{"anyOf":[{"maximum":3,"minimum":1,"type":"integer"},{"type":"null"}],"title":"Count"}},"title":"AssistantDraftsIn","type":"object"},"AssistantFreeSamples":{"properties":{"enabled":{"title":"Enabled","type":"boolean"},"max_per_month":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Per Month"},"max_units_per_buyer":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Units Per Buyer"}},"required":["enabled","max_units_per_buyer","max_per_month"],"title":"AssistantFreeSamples","type":"object"},"AssistantFreeSamplesIn":{"additionalProperties":false,"properties":{"enabled":{"title":"Enabled","type":"boolean"},"max_per_month":{"anyOf":[{"maximum":1000,"minimum":1,"type":"integer"},{"type":"null"}],"title":"Max Per Month"},"max_units_per_buyer":{"anyOf":[{"maximum":100000,"minimum":1,"type":"integer"},{"type":"null"}],"title":"Max Units Per Buyer"}},"required":["enabled"],"title":"AssistantFreeSamplesIn","type":"object"},"AssistantIn":{"additionalProperties":false,"properties":{"enabled":{"title":"Enabled","type":"boolean"},"mode":{"anyOf":[{"enum":["draft","auto"],"type":"string"},{"type":"null"}],"title":"Mode"}},"required":["enabled"],"title":"AssistantIn","type":"object"},"AssistantOut":{"properties":{"allowed_countries":{"items":{"type":"string"},"title":"Allowed Countries","type":"array"},"auto_answer_questions":{"title":"Auto Answer Questions","type":"boolean"},"company_id":{"format":"uuid","title":"Company Id","type":"string"},"enabled":{"title":"Enabled","type":"boolean"},"enabled_by_you":{"title":"Enabled By You","type":"boolean"},"free_samples":{"$ref":"#/components/schemas/AssistantFreeSamples"},"mode":{"title":"Mode","type":"string"},"negotiate":{"default":false,"title":"Negotiate","type":"boolean"},"price_approval":{"title":"Price Approval","type":"boolean"},"reply_languages":{"items":{"type":"string"},"title":"Reply Languages","type":"array"},"tone":{"title":"Tone","type":"string"},"updated_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Updated At"}},"required":["company_id","enabled","mode","enabled_by_you","updated_at","auto_answer_questions","price_approval","allowed_countries","reply_languages","tone","free_samples"],"title":"AssistantOut","type":"object"},"AssistantRulesIn":{"additionalProperties":false,"description":"Each one left out stays as it is.","properties":{"allowed_countries":{"anyOf":[{"items":{"maxLength":3,"minLength":2,"type":"string"},"maxItems":60,"type":"array"},{"type":"null"}],"title":"Allowed Countries"},"auto_answer_questions":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Auto Answer Questions"},"free_samples":{"anyOf":[{"$ref":"#/components/schemas/AssistantFreeSamplesIn"},{"type":"null"}]},"negotiate":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Negotiate"},"reply_languages":{"anyOf":[{"items":{"enum":["tr","en","ar","fa","ru","de","uz","es","fr"],"type":"string"},"maxItems":9,"type":"array"},{"type":"null"}],"title":"Reply Languages"},"tone":{"anyOf":[{"enum":["formal","friendly","brief"],"type":"string"},{"type":"null"}],"title":"Tone"}},"title":"AssistantRulesIn","type":"object"},"AssistantWeek":{"properties":{"answered":{"title":"Answered","type":"integer"},"drafts_waiting":{"title":"Drafts Waiting","type":"integer"},"found_buyers":{"title":"Found Buyers","type":"integer"},"set_aside":{"title":"Set Aside","type":"integer"},"translated":{"title":"Translated","type":"integer"}},"required":["answered","drafts_waiting","translated","found_buyers","set_aside"],"title":"AssistantWeek","type":"object"},"AssociationAnnouncementIn":{"additionalProperties":false,"properties":{"language":{"enum":["tr","en","ar","fa"],"title":"Language","type":"string"},"published_on":{"format":"date","title":"Published On","type":"string"},"title":{"maxLength":400,"minLength":1,"title":"Title","type":"string"},"url":{"anyOf":[{"maxLength":2048,"type":"string"},{"type":"null"}],"title":"Url"}},"required":["title","language","published_on"],"title":"AssociationAnnouncementIn","type":"object"},"AssociationAnnouncementItem":{"properties":{"association":{"$ref":"#/components/schemas/AssociationRef"},"id":{"format":"uuid","title":"Id","type":"string"},"language":{"enum":["tr","en","ar","fa"],"title":"Language","type":"string"},"published_on":{"format":"date","title":"Published On","type":"string"},"title":{"title":"Title","type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"}},"required":["id","title","language","published_on","url","association"],"title":"AssociationAnnouncementItem","type":"object"},"AssociationAnnouncementList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/AssociationAnnouncementItem"},"title":"Items","type":"array"},"kinds":{"items":{"$ref":"#/components/schemas/AssociationKindCount"},"title":"Kinds","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"total":{"title":"Total","type":"integer"}},"required":["items","total","kinds","next_cursor"],"title":"AssociationAnnouncementList","type":"object"},"AssociationAnnouncementOut":{"properties":{"id":{"format":"uuid","title":"Id","type":"string"},"language":{"enum":["tr","en","ar","fa"],"title":"Language","type":"string"},"published_on":{"format":"date","title":"Published On","type":"string"},"title":{"title":"Title","type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"}},"required":["id","title","language","published_on","url"],"title":"AssociationAnnouncementOut","type":"object"},"AssociationCard":{"properties":{"city_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City Key"},"district":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"District"},"kind":{"$ref":"#/components/schemas/AssociationKind"},"member_count":{"title":"Member Count","type":"integer"},"name":{"title":"Name","type":"string"},"open_opportunities":{"title":"Open Opportunities","type":"integer"},"parent":{"anyOf":[{"$ref":"#/components/schemas/AssociationRef"},{"type":"null"}]},"province":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Province"},"sectors":{"items":{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},"title":"Sectors","type":"array"},"slug":{"title":"Slug","type":"string"},"source":{"$ref":"#/components/schemas/AssociationSource"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"}},"required":["slug","name","kind","province","city_key","district","website","sectors","parent","member_count","open_opportunities","source"],"title":"AssociationCard","type":"object"},"AssociationCityCount":{"properties":{"city_key":{"title":"City Key","type":"string"},"count":{"title":"Count","type":"integer"},"province":{"title":"Province","type":"string"}},"required":["city_key","province","count"],"title":"AssociationCityCount","type":"object"},"AssociationClaimOut":{"properties":{"association_id":{"format":"uuid","title":"Association Id","type":"string"},"association_name":{"title":"Association Name","type":"string"},"association_slug":{"title":"Association Slug","type":"string"},"attempts_left":{"title":"Attempts Left","type":"integer"},"code_expires_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Code Expires At"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"decided_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Decided At"},"id":{"format":"uuid","title":"Id","type":"string"},"level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Level"},"method":{"title":"Method","type":"string"},"next_step":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Step"},"org_id":{"format":"uuid","title":"Org Id","type":"string"},"proved_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Proved At"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"sent_to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sent To"},"status":{"title":"Status","type":"string"}},"required":["id","org_id","association_id","association_slug","association_name","method","status","level","sent_to","code_expires_at","attempts_left","next_step","proved_at","reason","created_at","decided_at"],"title":"AssociationClaimOut","type":"object"},"AssociationContactIn":{"additionalProperties":false,"properties":{"address":{"maxLength":254,"minLength":6,"title":"Address","type":"string"},"purpose":{"$ref":"#/components/schemas/ContactPurpose"}},"required":["purpose","address"],"title":"AssociationContactIn","type":"object"},"AssociationContactOut":{"properties":{"address":{"title":"Address","type":"string"},"purpose":{"$ref":"#/components/schemas/ContactPurpose"}},"required":["purpose","address"],"title":"AssociationContactOut","type":"object"},"AssociationContactsIn":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/AssociationContactIn"},"maxItems":6,"title":"Items","type":"array"}},"required":["items"],"title":"AssociationContactsIn","type":"object"},"AssociationDescriptionIn":{"additionalProperties":false,"properties":{"text":{"maxLength":2000,"minLength":1,"title":"Text","type":"string"}},"required":["text"],"title":"AssociationDescriptionIn","type":"object"},"AssociationDescriptionOut":{"properties":{"language":{"enum":["tr","en","ar","fa"],"title":"Language","type":"string"},"text":{"title":"Text","type":"string"}},"required":["language","text"],"title":"AssociationDescriptionOut","type":"object"},"AssociationEvidenceIn":{"additionalProperties":false,"properties":{"kind":{"$ref":"#/components/schemas/LetterKind"},"media_type":{"enum":["application/pdf","image/jpeg","image/png"],"title":"Media Type","type":"string"},"sha256":{"pattern":"^[0-9a-f]{64}$","title":"Sha256","type":"string"},"size":{"exclusiveMinimum":0,"maximum":10485760,"title":"Size","type":"integer"}},"required":["kind","media_type","size","sha256"],"title":"AssociationEvidenceIn","type":"object"},"AssociationEvidenceOut":{"properties":{"created_at":{"format":"date-time","title":"Created At","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"kind":{"title":"Kind","type":"string"},"media_type":{"title":"Media Type","type":"string"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"size":{"title":"Size","type":"integer"},"status":{"title":"Status","type":"string"}},"required":["id","kind","media_type","size","status","reason","created_at"],"title":"AssociationEvidenceOut","type":"object"},"AssociationEvidenceUploadOut":{"properties":{"evidence":{"$ref":"#/components/schemas/AssociationEvidenceOut"},"upload":{"$ref":"#/components/schemas/UploadTarget"}},"required":["evidence","upload"],"title":"AssociationEvidenceUploadOut","type":"object"},"AssociationKind":{"description":"What a body is, as the register that lists it says. (1.3)","enum":["apex","commerce","industry","commerce_industry","exchange","maritime","sector_council","exporters_secretariat","exporters","tradesmen_federation","tradesmen_union","tradesmen"],"title":"AssociationKind","type":"string"},"AssociationKindCount":{"properties":{"count":{"title":"Count","type":"integer"},"kind":{"$ref":"#/components/schemas/AssociationKind"}},"required":["kind","count"],"title":"AssociationKindCount","type":"object"},"AssociationList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/AssociationCard"},"title":"Items","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"total":{"title":"Total","type":"integer"}},"required":["items","total","next_cursor"],"title":"AssociationList","type":"object"},"AssociationMemberPage":{"description":"A page of a body's members on the platform (``/v1/associations/{slug}/members``).","properties":{"count":{"title":"Count","type":"integer"},"items":{"items":{"$ref":"#/components/schemas/CompanyCard"},"title":"Items","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"required":["count","items","next_cursor"],"title":"AssociationMemberPage","type":"object"},"AssociationMembers":{"properties":{"count":{"title":"Count","type":"integer"},"items":{"items":{"$ref":"#/components/schemas/CompanyCard"},"title":"Items","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"required":["count","items"],"title":"AssociationMembers","type":"object"},"AssociationNewsItem":{"description":"One news item of a body: from its own site's feed (``site``), or an announcement the\norganization that manages its page posted here (``page``). Its title as the body wrote\nit, in its own language; never its text.","properties":{"association":{"$ref":"#/components/schemas/AssociationRef"},"id":{"format":"uuid","title":"Id","type":"string"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"origin":{"enum":["site","page"],"title":"Origin","type":"string"},"published_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Published At"},"published_on":{"format":"date","title":"Published On","type":"string"},"site":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Site"},"title":{"title":"Title","type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"}},"required":["id","origin","association","title","language","published_on","published_at","url","site"],"title":"AssociationNewsItem","type":"object"},"AssociationNewsList":{"description":"The chambers' news feed (``/v1/association-news``): the items of the bodies' own sites\nand the announcements they post on their pages here.","properties":{"items":{"items":{"$ref":"#/components/schemas/AssociationNewsItem"},"title":"Items","type":"array"},"kinds":{"items":{"$ref":"#/components/schemas/AssociationKindCount"},"title":"Kinds","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"source":{"anyOf":[{"$ref":"#/components/schemas/AssociationSource"},{"type":"null"}]},"total":{"title":"Total","type":"integer"}},"required":["items","total","kinds","next_cursor","source"],"title":"AssociationNewsList","type":"object"},"AssociationOfficial":{"description":"What the body itself says on its page: empty until an organization that proved it\nspeaks for the body writes something (the page never says whether one did, or who).","properties":{"announcements":{"items":{"$ref":"#/components/schemas/AssociationAnnouncementOut"},"title":"Announcements","type":"array"},"contacts":{"items":{"$ref":"#/components/schemas/AssociationContactOut"},"title":"Contacts","type":"array"},"description":{"items":{"$ref":"#/components/schemas/AssociationDescriptionOut"},"title":"Description","type":"array"},"proof_domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Proof Domain"}},"required":["description","contacts","announcements","proof_domain"],"title":"AssociationOfficial","type":"object"},"AssociationOpportunities":{"description":"The open needs a body's members are matched to (``/v1/associations/{slug}/\nopportunities``): the list behind ``open_opportunities``. (wave 7, part J)","properties":{"items":{"items":{"$ref":"#/components/schemas/OpportunitySummary"},"title":"Items","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"total":{"title":"Total","type":"integer"}},"required":["items","total","next_cursor"],"title":"AssociationOpportunities","type":"object"},"AssociationPage":{"description":"A body's page: the body, the body it belongs to, the bodies that belong to it, and its\nmembers on the platform.","properties":{"children":{"items":{"$ref":"#/components/schemas/AssociationCard"},"title":"Children","type":"array"},"children_count":{"title":"Children Count","type":"integer"},"city_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City Key"},"district":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"District"},"kind":{"$ref":"#/components/schemas/AssociationKind"},"member_count":{"title":"Member Count","type":"integer"},"members":{"$ref":"#/components/schemas/AssociationMembers"},"name":{"title":"Name","type":"string"},"open_opportunities":{"title":"Open Opportunities","type":"integer"},"parent":{"anyOf":[{"$ref":"#/components/schemas/AssociationRef"},{"type":"null"}]},"province":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Province"},"sectors":{"items":{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},"title":"Sectors","type":"array"},"slug":{"title":"Slug","type":"string"},"source":{"$ref":"#/components/schemas/AssociationSource"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"}},"required":["slug","name","kind","province","city_key","district","website","sectors","parent","member_count","open_opportunities","source","children","children_count","members"],"title":"AssociationPage","type":"object"},"AssociationRef":{"description":"Another body, as a link.","properties":{"kind":{"$ref":"#/components/schemas/AssociationKind"},"name":{"title":"Name","type":"string"},"slug":{"title":"Slug","type":"string"}},"required":["slug","name","kind"],"title":"AssociationRef","type":"object"},"AssociationSectorCount":{"properties":{"count":{"title":"Count","type":"integer"},"sector":{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"title":"Sector","type":"string"}},"required":["sector","count"],"title":"AssociationSectorCount","type":"object"},"AssociationSiteNews":{"description":"A body's newest news from its own site (``/v1/associations/{slug}/news``).","properties":{"items":{"items":{"$ref":"#/components/schemas/AssociationNewsItem"},"title":"Items","type":"array"},"source":{"anyOf":[{"$ref":"#/components/schemas/AssociationSource"},{"type":"null"}]},"total":{"title":"Total","type":"integer"}},"required":["items","total","source"],"title":"AssociationSiteNews","type":"object"},"AssociationSource":{"description":"The register a body comes from.","properties":{"code":{"title":"Code","type":"string"},"credit":{"anyOf":[{"$ref":"#/components/schemas/OpportunityCredit"},{"type":"null"}]},"name":{"title":"Name","type":"string"},"register_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Register Url"}},"required":["code","name","credit"],"title":"AssociationSource","type":"object"},"AssociationSummary":{"description":"The menu's counts: bodies with a page by kind, by sector group and in its cities.","properties":{"cities":{"items":{"$ref":"#/components/schemas/AssociationCityCount"},"title":"Cities","type":"array"},"kinds":{"items":{"$ref":"#/components/schemas/AssociationKindCount"},"title":"Kinds","type":"array"},"sectors":{"items":{"$ref":"#/components/schemas/AssociationSectorCount"},"title":"Sectors","type":"array"},"total":{"title":"Total","type":"integer"}},"required":["total","kinds","sectors","cities"],"title":"AssociationSummary","type":"object"},"BillingProfileIn":{"additionalProperties":false,"properties":{"address":{"maxLength":500,"minLength":10,"title":"Address","type":"string"},"city":{"maxLength":64,"minLength":2,"title":"City","type":"string"},"email":{"maxLength":254,"pattern":"^[^@\\s]{1,64}@[A-Za-z0-9.-]{1,253}\\.[A-Za-z]{2,63}$","title":"Email","type":"string"},"legal_name":{"maxLength":256,"minLength":2,"title":"Legal Name","type":"string"},"tax_id":{"pattern":"^[0-9]{10,11}$","title":"Tax Id","type":"string"},"tax_office":{"maxLength":128,"minLength":2,"title":"Tax Office","type":"string"}},"required":["legal_name","tax_id","tax_office","address","city","email"],"title":"BillingProfileIn","type":"object"},"BillingProfileOut":{"properties":{"address":{"title":"Address","type":"string"},"city":{"title":"City","type":"string"},"email":{"title":"Email","type":"string"},"legal_name":{"title":"Legal Name","type":"string"},"tax_id_hint":{"title":"Tax Id Hint","type":"string"},"tax_id_kind":{"title":"Tax Id Kind","type":"string"},"tax_office":{"title":"Tax Office","type":"string"},"updated_at":{"format":"date-time","title":"Updated At","type":"string"}},"required":["legal_name","tax_id_kind","tax_id_hint","tax_office","address","city","email","updated_at"],"title":"BillingProfileOut","type":"object"},"BlocCount":{"properties":{"bloc":{"enum":["EU","GCC"],"title":"Bloc","type":"string"},"members":{"items":{"type":"string"},"title":"Members","type":"array"},"published":{"title":"Published","type":"integer"}},"required":["bloc","published","members"],"title":"BlocCount","type":"object"},"BriefAgreement":{"properties":{"gazette_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gazette Number"},"gazette_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Gazette On"},"name":{"title":"Name","type":"string"},"signed_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Signed On"}},"required":["name","signed_on","gazette_on","gazette_number"],"title":"BriefAgreement","type":"object"},"BriefDocument":{"properties":{"kind":{"enum":["profile","market"],"title":"Kind","type":"string"},"page_date":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Page Date"},"url":{"title":"Url","type":"string"}},"required":["kind","url","page_date"],"title":"BriefDocument","type":"object"},"BriefFigure":{"properties":{"estimate":{"title":"Estimate","type":"boolean"},"key":{"enum":["gdp_musd","gdp_per_head_usd","growth_percent","population","area_km2"],"title":"Key","type":"string"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"value":{"title":"Value","type":"string"},"written":{"title":"Written","type":"string"},"year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"}},"required":["key","value","written","source","year","estimate"],"title":"BriefFigure","type":"object"},"BriefReport":{"properties":{"or_earlier":{"title":"Or Earlier","type":"boolean"},"title":{"title":"Title","type":"string"},"url":{"title":"Url","type":"string"},"year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"}},"required":["year","or_earlier","title","url"],"title":"BriefReport","type":"object"},"BudgetIn":{"additionalProperties":false,"properties":{"amount":{"anyOf":[{"exclusiveMinimum":0,"type":"number"},{"type":"string"}],"title":"Amount"},"currency":{"pattern":"^[A-Z]{3}$","title":"Currency","type":"string"}},"required":["amount","currency"],"title":"BudgetIn","type":"object"},"BudgetOut":{"properties":{"amount":{"title":"Amount","type":"string"},"currency":{"title":"Currency","type":"string"}},"required":["amount","currency"],"title":"BudgetOut","type":"object"},"BuyRemedy":{"description":"The anti-dumping page a request names, as the page shows it.","properties":{"duty":{"anyOf":[{"$ref":"#/components/schemas/AntiDumpingDuty"},{"type":"null"}]},"hs_headings":{"items":{"type":"string"},"title":"Hs Headings","type":"array"},"latest_published_at":{"format":"date-time","title":"Latest Published At","type":"string"},"origins":{"items":{"type":"string"},"title":"Origins","type":"array"},"product":{"title":"Product","type":"string"},"product_en":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product En"},"slug":{"title":"Slug","type":"string"},"status":{"title":"Status","type":"string"}},"required":["slug","product","product_en","status","origins","hs_headings","duty","latest_published_at"],"title":"BuyRemedy","type":"object"},"BuyRequestIn":{"additionalProperties":false,"properties":{"case":{"anyOf":[{"maxLength":160,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","type":"string"},{"type":"null"}],"title":"Case"},"city":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"title":"City"},"code":{"anyOf":[{"pattern":"^[0-9][0-9. ]{3,20}$","type":"string"},{"type":"null"}],"title":"Code"},"company_name":{"anyOf":[{"maxLength":256,"minLength":2,"type":"string"},{"type":"null"}],"title":"Company Name"},"country":{"pattern":"^[A-Z]{2}$","title":"Country","type":"string"},"identity":{"anyOf":[{"enum":["hidden_until_chosen","shown"],"type":"string"},{"type":"null"}],"title":"Identity"},"needed_by":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Needed By"},"notes":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"title":"Notes"},"org_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Org Id"},"product":{"maxLength":200,"minLength":3,"title":"Product","type":"string"},"quantity":{"anyOf":[{"exclusiveMinimum":0,"type":"number"},{"type":"string"},{"type":"null"}],"title":"Quantity"},"reason":{"anyOf":[{"const":"anti_dumping","type":"string"},{"type":"null"}],"title":"Reason"},"unit":{"anyOf":[{"maxLength":32,"type":"string"},{"type":"null"}],"title":"Unit"}},"required":["product","country"],"title":"BuyRequestIn","type":"object"},"BuySuppliers":{"properties":{"basis":{"enum":["code","words","none"],"title":"Basis","type":"string"},"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"exporting":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Exporting"},"remedy":{"anyOf":[{"$ref":"#/components/schemas/BuyRemedy"},{"type":"null"}]},"stated":{"title":"Stated","type":"boolean"},"suppliers":{"title":"Suppliers","type":"integer"}},"required":["basis","code","stated","suppliers","exporting"],"title":"BuySuppliers","type":"object"},"Buyer":{"description":"A buyer's page: what it buys now, by sector, where the facts come from, and the\nsuppliers matched to it. Counts are the needs' as they are now.","properties":{"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"country":{"title":"Country","type":"string"},"country_stated":{"default":true,"title":"Country Stated","type":"boolean"},"latest_need_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Latest Need At"},"latest_record":{"anyOf":[{"$ref":"#/components/schemas/RecordHead"},{"type":"null"}]},"latest_signal_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Latest Signal At"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"name_shown_to":{"default":"everyone","enum":["everyone","members"],"title":"Name Shown To","type":"string"},"needs":{"items":{"$ref":"#/components/schemas/OpportunitySummary"},"title":"Needs","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"official":{"anyOf":[{"$ref":"#/components/schemas/BuyerOfficial"},{"type":"null"}]},"open_needs":{"title":"Open Needs","type":"integer"},"open_to_turkish":{"default":0,"title":"Open To Turkish","type":"integer"},"other_open_needs":{"title":"Other Open Needs","type":"integer"},"predicted":{"default":[],"items":{"$ref":"#/components/schemas/OpportunitySummary"},"title":"Predicted","type":"array"},"predicted_needs":{"default":0,"title":"Predicted Needs","type":"integer"},"records":{"default":[],"items":{"$ref":"#/components/schemas/BuyerRecord"},"title":"Records","type":"array"},"records_hidden":{"default":0,"title":"Records Hidden","type":"integer"},"records_total":{"default":0,"title":"Records Total","type":"integer"},"roles":{"default":[],"items":{"enum":["authority","winner","exhibitor","developer"],"type":"string"},"title":"Roles","type":"array"},"sector_counts":{"items":{"$ref":"#/components/schemas/BuyerSectorCount"},"title":"Sector Counts","type":"array"},"sectors":{"items":{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},"title":"Sectors","type":"array"},"slug":{"title":"Slug","type":"string"},"sources":{"items":{"$ref":"#/components/schemas/BuyerSource"},"title":"Sources","type":"array"},"suppliers":{"items":{"$ref":"#/components/schemas/BuyerSupplier"},"title":"Suppliers","type":"array"},"total_needs":{"title":"Total Needs","type":"integer"},"total_signals":{"default":0,"title":"Total Signals","type":"integer"}},"required":["slug","name","country","city","open_needs","total_needs","sectors","latest_need_at","sources","other_open_needs","sector_counts","needs","next_cursor","suppliers"],"title":"Buyer","type":"object"},"BuyerAnswer":{"description":"What the organization that manages the page answered about it, a need or a record.","properties":{"id":{"format":"uuid","title":"Id","type":"string"},"origin":{"anyOf":[{"enum":["signal_project","signal_exhibitor","signal_hotel","signal_news"],"type":"string"},{"type":"null"}],"title":"Origin"},"subject":{"enum":["page","need","record"],"title":"Subject","type":"string"},"subject_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Subject Id"},"text":{"title":"Text","type":"string"},"written_at":{"format":"date-time","title":"Written At","type":"string"}},"required":["id","subject","subject_id","origin","text","written_at"],"title":"BuyerAnswer","type":"object"},"BuyerAnswerIn":{"additionalProperties":false,"properties":{"origin":{"anyOf":[{"enum":["signal_project","signal_exhibitor","signal_hotel","signal_news"],"type":"string"},{"type":"null"}],"title":"Origin"},"subject":{"$ref":"#/components/schemas/ReplySubject"},"subject_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Subject Id"},"text":{"maxLength":2000,"minLength":1,"title":"Text","type":"string"}},"required":["subject","text"],"title":"BuyerAnswerIn","type":"object"},"BuyerArchive":{"properties":{"items":{"items":{"$ref":"#/components/schemas/BuyerArchivedNeed"},"title":"Items","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"total":{"title":"Total","type":"integer"}},"required":["total","items","next_cursor"],"title":"BuyerArchive","type":"object"},"BuyerArchivedNeed":{"description":"A need of the buyer that is no longer open, with how it ended.","properties":{"awards":{"items":{"$ref":"#/components/schemas/OpportunityAward"},"title":"Awards","type":"array"},"buyer_country":{"title":"Buyer Country","type":"string"},"buyer_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Buyer Name"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"credit":{"anyOf":[{"$ref":"#/components/schemas/OpportunityCredit"},{"type":"null"}]},"deadline_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Deadline At"},"destination_country":{"title":"Destination Country","type":"string"},"eligibility":{"anyOf":[{"$ref":"#/components/schemas/OpportunityEligibility"},{"type":"null"}]},"estimated_value":{"anyOf":[{"$ref":"#/components/schemas/OpportunityMoney"},{"type":"null"}]},"id":{"format":"uuid","title":"Id","type":"string"},"item_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Item Count"},"kind":{"title":"Kind","type":"string"},"last_seen_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Seen At"},"match_count":{"title":"Match Count","type":"integer"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"opportunity_type":{"default":"open_tender","enum":["open_tender","contractor_purchase","supplier_switch","project","purchase_request"],"title":"Opportunity Type","type":"string"},"origin":{"title":"Origin","type":"string"},"portal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Portal"},"procurement_type":{"anyOf":[{"enum":["goods","services","works","consultancy","other"],"type":"string"},{"type":"null"}],"title":"Procurement Type"},"published_at":{"format":"date-time","title":"Published At","type":"string"},"quantities":{"default":[],"items":{"$ref":"#/components/schemas/OpportunityQuantity"},"title":"Quantities","type":"array"},"relevance":{"default":"supply","title":"Relevance","type":"string"},"sectors":{"default":[],"items":{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},"title":"Sectors","type":"array"},"seriousness":{"title":"Seriousness","type":"integer"},"status":{"enum":["closed","expired"],"title":"Status","type":"string"},"title":{"title":"Title","type":"string"},"title_language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title Language"},"title_machine_translated":{"default":false,"title":"Title Machine Translated","type":"boolean"},"translated_by":{"anyOf":[{"enum":["source","model"],"type":"string"},{"type":"null"}],"title":"Translated By"},"translated_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Translated Title"}},"required":["id","kind","origin","title","buyer_name","buyer_country","destination_country","city","published_at","deadline_at","seriousness","match_count","status","awards"],"title":"BuyerArchivedNeed","type":"object"},"BuyerAward":{"description":"An earlier award of the same buyer, from its public notices (the market context layer):\nwho won, for how much, when, as the notice or its result states it. A winner that may\ntrade under a person's name is never named.","properties":{"amount":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Amount"},"awarded_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Awarded On"},"need_id":{"format":"uuid","title":"Need Id","type":"string"},"notice_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notice Url"},"source":{"default":"notice","enum":["notice","result"],"title":"Source","type":"string"},"title":{"title":"Title","type":"string"},"title_language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title Language"},"total":{"default":false,"title":"Total","type":"boolean"},"winner":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Winner"}},"required":["need_id","title","winner","amount","awarded_on"],"title":"BuyerAward","type":"object"},"BuyerCard":{"properties":{"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"country":{"title":"Country","type":"string"},"country_stated":{"default":true,"title":"Country Stated","type":"boolean"},"latest_need_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Latest Need At"},"latest_record":{"anyOf":[{"$ref":"#/components/schemas/RecordHead"},{"type":"null"}]},"latest_signal_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Latest Signal At"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"name_shown_to":{"default":"everyone","enum":["everyone","members"],"title":"Name Shown To","type":"string"},"open_needs":{"title":"Open Needs","type":"integer"},"open_to_turkish":{"default":0,"title":"Open To Turkish","type":"integer"},"predicted_needs":{"default":0,"title":"Predicted Needs","type":"integer"},"roles":{"default":[],"items":{"enum":["authority","winner","exhibitor","developer"],"type":"string"},"title":"Roles","type":"array"},"sectors":{"items":{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},"title":"Sectors","type":"array"},"slug":{"title":"Slug","type":"string"},"sources":{"items":{"$ref":"#/components/schemas/BuyerSource"},"title":"Sources","type":"array"},"total_needs":{"title":"Total Needs","type":"integer"},"total_signals":{"default":0,"title":"Total Signals","type":"integer"}},"required":["slug","name","country","city","open_needs","total_needs","sectors","latest_need_at","sources"],"title":"BuyerCard","type":"object"},"BuyerClaimOut":{"properties":{"attempts_left":{"title":"Attempts Left","type":"integer"},"buyer_id":{"format":"uuid","title":"Buyer Id","type":"string"},"buyer_name":{"title":"Buyer Name","type":"string"},"buyer_slug":{"title":"Buyer Slug","type":"string"},"code_expires_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Code Expires At"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"decided_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Decided At"},"id":{"format":"uuid","title":"Id","type":"string"},"level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Level"},"method":{"title":"Method","type":"string"},"next_step":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Step"},"org_id":{"format":"uuid","title":"Org Id","type":"string"},"proved_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Proved At"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"sent_to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sent To"},"status":{"title":"Status","type":"string"}},"required":["id","org_id","buyer_id","buyer_slug","buyer_name","method","status","level","sent_to","code_expires_at","attempts_left","next_step","proved_at","reason","created_at","decided_at"],"title":"BuyerClaimOut","type":"object"},"BuyerContactIn":{"additionalProperties":false,"properties":{"address":{"maxLength":254,"minLength":6,"title":"Address","type":"string"},"purpose":{"$ref":"#/components/schemas/BuyerContactPurpose"}},"required":["purpose","address"],"title":"BuyerContactIn","type":"object"},"BuyerContactPurpose":{"description":"What an official channel of a buyer is for (the page names it in the reader's\nlanguage).","enum":["general","procurement","suppliers"],"title":"BuyerContactPurpose","type":"string"},"BuyerContactsIn":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/BuyerContactIn"},"maxItems":6,"title":"Items","type":"array"}},"required":["items"],"title":"BuyerContactsIn","type":"object"},"BuyerDescriptionIn":{"additionalProperties":false,"properties":{"text":{"maxLength":2000,"minLength":1,"title":"Text","type":"string"}},"required":["text"],"title":"BuyerDescriptionIn","type":"object"},"BuyerEvidenceIn":{"additionalProperties":false,"properties":{"kind":{"$ref":"#/components/schemas/LetterKind"},"media_type":{"enum":["application/pdf","image/jpeg","image/png"],"title":"Media Type","type":"string"},"sha256":{"pattern":"^[0-9a-f]{64}$","title":"Sha256","type":"string"},"size":{"exclusiveMinimum":0,"maximum":10485760,"title":"Size","type":"integer"}},"required":["kind","media_type","size","sha256"],"title":"BuyerEvidenceIn","type":"object"},"BuyerEvidenceOut":{"properties":{"created_at":{"format":"date-time","title":"Created At","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"kind":{"title":"Kind","type":"string"},"media_type":{"title":"Media Type","type":"string"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"size":{"title":"Size","type":"integer"},"status":{"title":"Status","type":"string"}},"required":["id","kind","media_type","size","status","reason","created_at"],"title":"BuyerEvidenceOut","type":"object"},"BuyerEvidenceUploadOut":{"properties":{"evidence":{"$ref":"#/components/schemas/BuyerEvidenceOut"},"upload":{"$ref":"#/components/schemas/UploadTarget"}},"required":["evidence","upload"],"title":"BuyerEvidenceUploadOut","type":"object"},"BuyerList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/BuyerCard"},"title":"Items","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"required":["items","next_cursor"],"title":"BuyerList","type":"object"},"BuyerOfficial":{"description":"What the organization that proved it speaks for the buyer states on its page: never\nwho that organization is.","properties":{"answers":{"items":{"$ref":"#/components/schemas/BuyerAnswer"},"title":"Answers","type":"array"},"contacts":{"items":{"$ref":"#/components/schemas/OfficialContact"},"title":"Contacts","type":"array"},"descriptions":{"items":{"$ref":"#/components/schemas/OfficialText"},"title":"Descriptions","type":"array"}},"required":["descriptions","contacts","answers"],"title":"BuyerOfficial","type":"object"},"BuyerProof":{"description":"How a buyer's page can be proven.","properties":{"proof_domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Proof Domain"},"slug":{"title":"Slug","type":"string"}},"required":["slug","proof_domain"],"title":"BuyerProof","type":"object"},"BuyerRecord":{"description":"One of the radar's records naming the buyer: what it says, as its source states it.","properties":{"answer":{"anyOf":[{"$ref":"#/components/schemas/BuyerAnswer"},{"type":"null"}]},"authority":{"anyOf":[{"$ref":"#/components/schemas/RecordParty"},{"type":"null"}]},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"credit":{"anyOf":[{"$ref":"#/components/schemas/OpportunityCredit"},{"type":"null"}]},"fair":{"anyOf":[{"$ref":"#/components/schemas/RecordFair"},{"type":"null"}]},"hotel":{"anyOf":[{"$ref":"#/components/schemas/RecordHotel"},{"type":"null"}]},"id":{"format":"uuid","title":"Id","type":"string"},"kind":{"enum":["award","planned","exhibition","hotel","news"],"title":"Kind","type":"string"},"lines":{"default":[],"items":{"$ref":"#/components/schemas/LineLabel"},"title":"Lines","type":"array"},"need_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Need Id"},"on_the_way":{"title":"On The Way","type":"boolean"},"origin":{"enum":["signal_project","signal_exhibitor","signal_hotel","signal_news"],"title":"Origin","type":"string"},"published_at":{"format":"date-time","title":"Published At","type":"string"},"publisher":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Publisher"},"relevance":{"anyOf":[{"enum":["supply","low"],"type":"string"},{"type":"null"}],"title":"Relevance"},"role":{"enum":["authority","winner","exhibitor","developer"],"title":"Role","type":"string"},"signal_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Signal Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"title_language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title Language"},"translated_by":{"anyOf":[{"enum":["source","model"],"type":"string"},{"type":"null"}],"title":"Translated By"},"translated_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Translated Title"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"value":{"anyOf":[{"$ref":"#/components/schemas/RecordValue"},{"type":"null"}]},"winners":{"default":[],"items":{"$ref":"#/components/schemas/RecordParty"},"title":"Winners","type":"array"}},"required":["kind","role","origin","id","published_at","title","country","city","on_the_way","url","credit"],"title":"BuyerRecord","type":"object"},"BuyerRoleCount":{"properties":{"count":{"title":"Count","type":"integer"},"role":{"enum":["authority","winner","exhibitor","developer"],"title":"Role","type":"string"}},"required":["role","count"],"title":"BuyerRoleCount","type":"object"},"BuyerSectorCount":{"properties":{"open_needs":{"title":"Open Needs","type":"integer"},"sector":{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"title":"Sector","type":"string"},"total_needs":{"title":"Total Needs","type":"integer"}},"required":["sector","open_needs","total_needs"],"title":"BuyerSectorCount","type":"object"},"BuyerSource":{"description":"A source a buyer's needs came from.","properties":{"code":{"title":"Code","type":"string"},"credit":{"anyOf":[{"$ref":"#/components/schemas/OpportunityCredit"},{"type":"null"}]},"name":{"title":"Name","type":"string"}},"required":["code","name","credit"],"title":"BuyerSource","type":"object"},"BuyerSupplier":{"description":"A Turkish company matched to the buyer's open needs: its card, as its page shows it.","properties":{"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"district":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"District"},"id":{"format":"uuid","title":"Id","type":"string"},"legal_form":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Form"},"maker":{"$ref":"#/components/schemas/Maker","default":{}},"matched_needs":{"title":"Matched Needs","type":"integer"},"nace_codes":{"items":{"type":"string"},"title":"Nace Codes","type":"array"},"name":{"title":"Name","type":"string"},"products":{"items":{"type":"string"},"title":"Products","type":"array"},"score":{"title":"Score","type":"integer"},"slug":{"title":"Slug","type":"string"},"status":{"title":"Status","type":"string"},"tier":{"default":"bronze","title":"Tier","type":"string"},"updated_at":{"format":"date-time","title":"Updated At","type":"string"},"verification":{"title":"Verification","type":"string"},"verified_by":{"anyOf":[{"enum":["owner","registry"],"type":"string"},{"type":"null"}],"title":"Verified By"}},"required":["id","slug","name","legal_form","status","verification","city","district","nace_codes","products","updated_at","score","matched_needs"],"title":"BuyerSupplier","type":"object"},"BuyerTotals":{"description":"How many buyers have an open need a Turkish company could supply (the menu's\ncount).","properties":{"abroad":{"title":"Abroad","type":"integer"},"by_role":{"default":[],"items":{"$ref":"#/components/schemas/BuyerRoleCount"},"title":"By Role","type":"array"},"home":{"title":"Home","type":"integer"},"total":{"title":"Total","type":"integer"}},"required":["total","home","abroad"],"title":"BuyerTotals","type":"object"},"BuyingSignalBuyer":{"description":"Who buys, for a signed-in member only.","properties":{"company":{"anyOf":[{"$ref":"#/components/schemas/WinnerCompany"},{"type":"null"}]},"names":{"items":{"type":"string"},"title":"Names","type":"array"},"page":{"anyOf":[{"$ref":"#/components/schemas/BuyingSignalBuyerPage"},{"type":"null"}]},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"}},"required":["names","company","page"],"title":"BuyingSignalBuyer","type":"object"},"BuyingSignalBuyerPage":{"description":"The buyers directory's page of the buyer (``/buyers/{slug}``).","properties":{"name":{"title":"Name","type":"string"},"slug":{"title":"Slug","type":"string"}},"required":["slug","name"],"title":"BuyingSignalBuyerPage","type":"object"},"BuyingSignalCityCount":{"description":"Signals in one city, as their sources write it (a register's province in capitals).","properties":{"city":{"title":"City","type":"string"},"count":{"title":"Count","type":"integer"},"country":{"title":"Country","type":"string"}},"required":["country","city","count"],"title":"BuyingSignalCityCount","type":"object"},"BuyingSignalCompany":{"description":"One of the member's companies, with the headings its signals were matched on.","properties":{"hs_headings":{"items":{"type":"string"},"title":"Hs Headings","type":"array"},"id":{"format":"uuid","title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"slug":{"title":"Slug","type":"string"}},"required":["id","slug","name","hs_headings"],"title":"BuyingSignalCompany","type":"object"},"BuyingSignalCountryCount":{"properties":{"count":{"title":"Count","type":"integer"},"country":{"title":"Country","type":"string"}},"required":["country","count"],"title":"BuyingSignalCountryCount","type":"object"},"BuyingSignalCounts":{"properties":{"by_city":{"default":[],"items":{"$ref":"#/components/schemas/BuyingSignalCityCount"},"title":"By City","type":"array"},"by_country":{"items":{"$ref":"#/components/schemas/BuyingSignalCountryCount"},"title":"By Country","type":"array"},"by_group":{"items":{"$ref":"#/components/schemas/BuyingSignalGroupCount"},"title":"By Group","type":"array"},"by_kind":{"items":{"$ref":"#/components/schemas/BuyingSignalKindCount"},"title":"By Kind","type":"array"},"by_sector":{"items":{"$ref":"#/components/schemas/BuyingSignalSectorCount"},"title":"By Sector","type":"array"},"latest_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Latest At"},"new_investments":{"default":0,"title":"New Investments","type":"integer"},"new_last_7_days":{"title":"New Last 7 Days","type":"integer"},"total":{"title":"Total","type":"integer"}},"required":["total","by_kind","by_group","by_country","by_sector","new_last_7_days","latest_at"],"title":"BuyingSignalCounts","type":"object"},"BuyingSignalDetail":{"properties":{"action":{"enum":["offer","connect"],"title":"Action","type":"string"},"active":{"title":"Active","type":"boolean"},"buyer":{"anyOf":[{"$ref":"#/components/schemas/BuyingSignalBuyer"},{"type":"null"}]},"buyer_named":{"title":"Buyer Named","type":"boolean"},"buyer_pages":{"default":[],"items":{"type":"string"},"title":"Buyer Pages","type":"array"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"country":{"title":"Country","type":"string"},"facts":{"$ref":"#/components/schemas/BuyingSignalFacts"},"first_seen_at":{"format":"date-time","title":"First Seen At","type":"string"},"group":{"enum":["A","B","C","D"],"title":"Group","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"kind":{"enum":["incentive","new_company","kap","trade_remedy_tr","contractor_award","hotel","giga_award","etimad","importer","counsellor_request","purchase_request","switching","investment"],"title":"Kind","type":"string"},"matched_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Matched At"},"matched_companies":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Matched Companies"},"origin":{"$ref":"#/components/schemas/BuyingSignalOrigin"},"products":{"items":{"$ref":"#/components/schemas/BuyingSignalProduct"},"title":"Products","type":"array"},"score":{"$ref":"#/components/schemas/BuyingSignalScore"},"source":{"$ref":"#/components/schemas/BuyingSignalSource"},"subject":{"anyOf":[{"$ref":"#/components/schemas/BuyingSignalSubject"},{"type":"null"}]},"updated_at":{"format":"date-time","title":"Updated At","type":"string"},"window_end":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Window End"},"window_start":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Window Start"}},"required":["id","kind","group","country","city","facts","subject","products","window_start","window_end","score","source","action","buyer_named","buyer","origin","first_seen_at","updated_at","active","matched_companies","matched_at"],"title":"BuyingSignalDetail","type":"object"},"BuyingSignalFacts":{"description":"What the card's sentence is made of, as the source states it. Each kind fills its own:\n``switching`` (``variant``, ``market``, ``origins``, ``instrument``, ``stage``,\n``measures``, ``duty``, ``notices``), ``trade_remedy_tr`` (``origins``, ``instruments``,\n``stage``, ``duty``, ``expires_on``, ``remedy_slug``, ``supplier_count``),\n``contractor_award`` (``portal``, ``nature``, ``value``, ``awarded_on``, ``winners``,\n``official_awards_only``), ``counsellor_request`` (``via``, ``deadline``),\n``purchase_request`` (``purpose``, ``destination``, ``deadline``, ``verified_buyer``),\n``hotel`` (``event``, ``reported_by``, ``brand``, ``hotel_group``, ``keys``, ``stars``,\n``facility_type``, ``opening_year``, ``opening_part``, ``district``, ``certificate``,\n``certificate_status``) and ``importer`` (``fair``, ``edition``, ``fair_starts_on``,\n``venue_city``, ``business_types``, ``business_types_from``, ``business_words``,\n``sector_names``). A signal built from project news (wave 6: ``giga_award``, a\n``contractor_award`` or a ``hotel`` from the news) fills ``event``, ``channel``,\n``publisher``, ``giga``, ``works``, ``value`` and, by kind, ``winners``,\n``counterparties``, ``keys``, ``stars`` and ``opening_year``; an ``investment`` (wave 7)\n``event``, ``channel``, ``publisher``, ``works``, ``value``, ``counterparties`` and\n``opening_year``. A signal several sources reported adds ``reports`` and ``also``.","properties":{"also":{"default":[],"items":{"$ref":"#/components/schemas/BuyingSignalReport"},"title":"Also","type":"array"},"applies_from":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Applies From"},"awarded_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Awarded On"},"brand":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand"},"business_types":{"default":[],"items":{"enum":["distributor","importer","agent","trader"],"type":"string"},"title":"Business Types","type":"array"},"business_types_from":{"anyOf":[{"enum":["list","entry"],"type":"string"},{"type":"null"}],"title":"Business Types From"},"business_words":{"default":[],"items":{"type":"string"},"title":"Business Words","type":"array"},"certificate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Certificate"},"certificate_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Certificate Status"},"channel":{"anyOf":[{"enum":["announcement","news"],"type":"string"},{"type":"null"}],"title":"Channel"},"counterparties":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Counterparties"},"deadline":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Deadline"},"destination":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Destination"},"district":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"District"},"duty":{"anyOf":[{"$ref":"#/components/schemas/DutyRange"},{"type":"null"}]},"edition":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Edition"},"event":{"anyOf":[{"enum":["signing","upcoming","opening","investment_certificate","operation_application"],"type":"string"},{"enum":["award","agreement","hotel_signing","hotel_construction","hotel_opening","project"],"type":"string"},{"type":"null"}],"title":"Event"},"expires_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Expires On"},"facility_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Facility Type"},"fair":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fair"},"fair_starts_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Fair Starts On"},"giga":{"anyOf":[{"enum":["neom","red_sea","qiddiya","roshn","diriyah","new_murabba","king_salman_park","rua_almadinah","soudah"],"type":"string"},{"type":"null"}],"title":"Giga"},"hotel_group":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hotel Group"},"instrument":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instrument"},"instruments":{"default":[],"items":{"type":"string"},"title":"Instruments","type":"array"},"keys":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Keys"},"market":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Market"},"measures":{"default":[],"items":{"type":"string"},"title":"Measures","type":"array"},"nature":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nature"},"notices":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Notices"},"official_awards_only":{"default":false,"title":"Official Awards Only","type":"boolean"},"opening_part":{"anyOf":[{"enum":["early","mid","late","h1","h2","q1","q2","q3","q4"],"type":"string"},{"type":"null"}],"title":"Opening Part"},"opening_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Opening Year"},"origins":{"default":[],"items":{"type":"string"},"title":"Origins","type":"array"},"portal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Portal"},"publisher":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Publisher"},"purpose":{"anyOf":[{"enum":["purchase","partner","service"],"type":"string"},{"type":"null"}],"title":"Purpose"},"remedy_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Remedy Slug"},"reported_by":{"anyOf":[{"enum":["own","register","news"],"type":"string"},{"type":"null"}],"title":"Reported By"},"reports":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Reports"},"sector_names":{"default":[],"items":{"type":"string"},"title":"Sector Names","type":"array"},"stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage"},"stars":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Stars"},"supplier_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Supplier Count"},"value":{"anyOf":[{"$ref":"#/components/schemas/ProjectValue"},{"type":"null"}]},"variant":{"anyOf":[{"enum":["trade_measure","product_alert"],"type":"string"},{"type":"null"}],"title":"Variant"},"venue_city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Venue City"},"verified_buyer":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Verified Buyer"},"via":{"anyOf":[{"enum":["counsellor","mission"],"type":"string"},{"type":"null"}],"title":"Via"},"winners":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Winners"},"works":{"default":[],"items":{"type":"string"},"title":"Works","type":"array"}},"title":"BuyingSignalFacts","type":"object"},"BuyingSignalGroupCount":{"properties":{"count":{"title":"Count","type":"integer"},"group":{"enum":["A","B","C","D"],"title":"Group","type":"string"}},"required":["group","count"],"title":"BuyingSignalGroupCount","type":"object"},"BuyingSignalItem":{"properties":{"action":{"enum":["offer","connect"],"title":"Action","type":"string"},"active":{"title":"Active","type":"boolean"},"buyer":{"anyOf":[{"$ref":"#/components/schemas/BuyingSignalBuyer"},{"type":"null"}]},"buyer_named":{"title":"Buyer Named","type":"boolean"},"buyer_pages":{"default":[],"items":{"type":"string"},"title":"Buyer Pages","type":"array"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"country":{"title":"Country","type":"string"},"facts":{"$ref":"#/components/schemas/BuyingSignalFacts"},"first_seen_at":{"format":"date-time","title":"First Seen At","type":"string"},"group":{"enum":["A","B","C","D"],"title":"Group","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"kind":{"enum":["incentive","new_company","kap","trade_remedy_tr","contractor_award","hotel","giga_award","etimad","importer","counsellor_request","purchase_request","switching","investment"],"title":"Kind","type":"string"},"origin":{"$ref":"#/components/schemas/BuyingSignalOrigin"},"products":{"items":{"$ref":"#/components/schemas/BuyingSignalProduct"},"title":"Products","type":"array"},"score":{"$ref":"#/components/schemas/BuyingSignalScore"},"source":{"$ref":"#/components/schemas/BuyingSignalSource"},"subject":{"anyOf":[{"$ref":"#/components/schemas/BuyingSignalSubject"},{"type":"null"}]},"updated_at":{"format":"date-time","title":"Updated At","type":"string"},"window_end":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Window End"},"window_start":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Window Start"}},"required":["id","kind","group","country","city","facts","subject","products","window_start","window_end","score","source","action","buyer_named","buyer","origin","first_seen_at","updated_at","active"],"title":"BuyingSignalItem","type":"object"},"BuyingSignalKindCount":{"properties":{"count":{"title":"Count","type":"integer"},"estimated":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Estimated"},"kind":{"enum":["incentive","new_company","kap","trade_remedy_tr","contractor_award","hotel","giga_award","etimad","importer","counsellor_request","purchase_request","switching","investment"],"title":"Kind","type":"string"}},"required":["kind","count"],"title":"BuyingSignalKindCount","type":"object"},"BuyingSignalList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/BuyingSignalItem"},"title":"Items","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"required":["items","next_cursor"],"title":"BuyingSignalList","type":"object"},"BuyingSignalOrigin":{"description":"The row the signal is built from, whose own page has the rest.","properties":{"id":{"format":"uuid","title":"Id","type":"string"},"table":{"enum":["signal_switching","trade_remedy_case","signal_project","need","signal_hotel","signal_exhibitor","signal_news"],"title":"Table","type":"string"}},"required":["table","id"],"title":"BuyingSignalOrigin","type":"object"},"BuyingSignalProduct":{"description":"Something the signal's buyers will buy.","properties":{"basis":{"enum":["source","buyer","platform","basket"],"title":"Basis","type":"string"},"code":{"title":"Code","type":"string"},"estimate":{"title":"Estimate","type":"boolean"},"headings":{"items":{"type":"string"},"title":"Headings","type":"array"},"line":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Line"},"names":{"anyOf":[{"$ref":"#/components/schemas/NeedLabel"},{"type":"null"}]},"title":{"anyOf":[{"$ref":"#/components/schemas/GtipTitle"},{"type":"null"}]}},"required":["code","headings","basis","estimate","line","names","title"],"title":"BuyingSignalProduct","type":"object"},"BuyingSignalReport":{"description":"Another source that reported the same event (wave 7: ``build.merged``).","properties":{"published_at":{"format":"date-time","title":"Published At","type":"string"},"source":{"title":"Source","type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"}},"required":["source","url","published_at"],"title":"BuyingSignalReport","type":"object"},"BuyingSignalScore":{"properties":{"credibility":{"$ref":"#/components/schemas/BuyingSignalScorePart"},"scored_on":{"format":"date","title":"Scored On","type":"string"},"size":{"$ref":"#/components/schemas/BuyingSignalScorePart"},"strength":{"$ref":"#/components/schemas/BuyingSignalScorePart"},"timing":{"$ref":"#/components/schemas/BuyingSignalScorePart"},"total":{"title":"Total","type":"integer"}},"required":["total","size","timing","credibility","strength","scored_on"],"title":"BuyingSignalScore","type":"object"},"BuyingSignalScorePart":{"description":"One part of the score (0 to 25) and what it was given for (``score``'s rules).","properties":{"amount":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Amount"},"basis":{"title":"Basis","type":"string"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"heading":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Heading"},"keys":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Keys"},"market":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Market"},"month":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Month"},"of":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Of"},"points":{"title":"Points","type":"integer"},"rank":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rank"},"share":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Share"},"value_eur":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Value Eur"},"verified_buyer":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Verified Buyer"},"window_end":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Window End"},"window_start":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Window Start"},"year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"}},"required":["points","basis"],"title":"BuyingSignalScorePart","type":"object"},"BuyingSignalSectorCount":{"properties":{"count":{"title":"Count","type":"integer"},"sector":{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"title":"Sector","type":"string"}},"required":["sector","count"],"title":"BuyingSignalSectorCount","type":"object"},"BuyingSignalSource":{"properties":{"code":{"title":"Code","type":"string"},"credit":{"anyOf":[{"$ref":"#/components/schemas/RadarCredit"},{"type":"null"}]},"published_at":{"format":"date-time","title":"Published At","type":"string"},"standing":{"enum":["official","official_relay","company","platform","announcement","news"],"title":"Standing","type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"}},"required":["code","standing","url","published_at","credit"],"title":"BuyingSignalSource","type":"object"},"BuyingSignalSubject":{"description":"What the source wrote of it (a product's name, a notice's title), as written, with its\ntranslation into the reader's language where one is already kept.","properties":{"title":{"title":"Title","type":"string"},"title_language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title Language"},"translated_by":{"anyOf":[{"enum":["source","model"],"type":"string"},{"type":"null"}],"title":"Translated By"},"translated_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Translated Title"}},"required":["title","title_language","translated_title","translated_by"],"title":"BuyingSignalSubject","type":"object"},"BuyingSignalsForMember":{"properties":{"companies":{"items":{"$ref":"#/components/schemas/BuyingSignalCompany"},"title":"Companies","type":"array"},"items":{"items":{"$ref":"#/components/schemas/BuyingSignalItem"},"title":"Items","type":"array"}},"required":["companies","items"],"title":"BuyingSignalsForMember","type":"object"},"Capacity":{"properties":{"period":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Period"},"unit":{"title":"Unit","type":"string"},"value":{"title":"Value","type":"number"}},"required":["value","unit"],"title":"Capacity","type":"object"},"CapacityIn":{"additionalProperties":false,"properties":{"period":{"enum":["hour","day","week","month","year"],"title":"Period","type":"string"},"unit":{"pattern":"^[\\w][\\w .,/²³%-]{0,31}$","title":"Unit","type":"string"},"value":{"exclusiveMinimum":0,"maximum":1000000000000,"title":"Value","type":"number"}},"required":["value","unit","period"],"title":"CapacityIn","type":"object"},"CaseStatus":{"enum":["in_force","investigation","ended","terminated"],"type":"string"},"Catalogue":{"properties":{"items":{"items":{"$ref":"#/components/schemas/CatalogueProduct"},"title":"Items","type":"array"},"summary":{"$ref":"#/components/schemas/CatalogueSummary"}},"required":["items","summary"],"title":"Catalogue","type":"object"},"CatalogueProduct":{"properties":{"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"hs":{"$ref":"#/components/schemas/HsCode"},"id":{"format":"uuid","title":"Id","type":"string"},"min_order":{"anyOf":[{"$ref":"#/components/schemas/Quantity"},{"type":"null"}]},"missing":{"items":{"type":"string"},"title":"Missing","type":"array"},"name":{"title":"Name","type":"string"},"photos":{"items":{"$ref":"#/components/schemas/ImageRef"},"title":"Photos","type":"array"},"price":{"anyOf":[{"$ref":"#/components/schemas/Price"},{"type":"null"}]},"price_on_request":{"title":"Price On Request","type":"boolean"},"role":{"anyOf":[{"$ref":"#/components/schemas/ProductRole"},{"type":"null"}]},"spec":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Spec"},"stated_at":{"format":"date-time","title":"Stated At","type":"string"},"status":{"enum":["complete","confirm_hs","missing_hs","missing_price","missing_moq"],"title":"Status","type":"string"},"views_30d":{"default":0,"title":"Views 30D","type":"integer"}},"required":["id","name","spec","category","hs","min_order","price","price_on_request","photos","status","missing","stated_at"],"title":"CatalogueProduct","type":"object"},"CatalogueSummary":{"properties":{"limit":{"title":"Limit","type":"integer"},"total":{"title":"Total","type":"integer"},"with_hs_code":{"title":"With Hs Code","type":"integer"},"with_price":{"title":"With Price","type":"integer"}},"required":["total","with_hs_code","with_price","limit"],"title":"CatalogueSummary","type":"object"},"CertificateIn":{"additionalProperties":false,"properties":{"kind":{"$ref":"#/components/schemas/CertificateKind"},"media_type":{"enum":["application/pdf","image/jpeg","image/png"],"title":"Media Type","type":"string"},"name":{"anyOf":[{"maxLength":80,"minLength":1,"type":"string"},{"type":"null"}],"title":"Name"},"sha256":{"pattern":"^[0-9a-f]{64}$","title":"Sha256","type":"string"},"size":{"exclusiveMinimum":0,"maximum":10485760,"title":"Size","type":"integer"}},"required":["kind","media_type","size","sha256"],"title":"CertificateIn","type":"object"},"CertificateKind":{"enum":["tax_certificate","exporters_association","tobb_capacity_report","sanayi_sicil_belgesi","oeko_tex_100","iso_9001","iso_14001","iso_22000","gots","brc","halal","yerli_mali","saber","ce","other"],"title":"CertificateKind","type":"string"},"CertificateKindOut":{"properties":{"held":{"title":"Held","type":"boolean"},"kind":{"title":"Kind","type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"open_needs":{"title":"Open Needs","type":"integer"},"requires_valid_until":{"title":"Requires Valid Until","type":"boolean"}},"required":["kind","name","requires_valid_until","open_needs","held"],"title":"CertificateKindOut","type":"object"},"CertificateList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/CertificateOut"},"title":"Items","type":"array"},"kinds":{"items":{"$ref":"#/components/schemas/CertificateKindOut"},"title":"Kinds","type":"array"}},"required":["items","kinds"],"title":"CertificateList","type":"object"},"CertificateOut":{"properties":{"completed_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Completed At"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"ended_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Ended At"},"expiring":{"title":"Expiring","type":"boolean"},"id":{"format":"uuid","title":"Id","type":"string"},"kind":{"title":"Kind","type":"string"},"media_type":{"title":"Media Type","type":"string"},"name":{"title":"Name","type":"string"},"number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Number"},"open_needs":{"title":"Open Needs","type":"integer"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"size":{"title":"Size","type":"integer"},"status":{"enum":["uploaded","in_review","verified","rejected","expired","withdrawn"],"title":"Status","type":"string"},"valid_until":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Valid Until"},"verified_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Verified At"}},"required":["id","kind","name","status","reason","valid_until","number","expiring","media_type","size","created_at","completed_at","verified_at","ended_at","open_needs"],"title":"CertificateOut","type":"object"},"CertificateUploadOut":{"properties":{"certificate":{"$ref":"#/components/schemas/CertificateOut"},"upload":{"$ref":"#/components/schemas/CertificateUploadTarget"}},"required":["certificate","upload"],"title":"CertificateUploadOut","type":"object"},"CertificateUploadTarget":{"properties":{"expires_at":{"format":"date-time","title":"Expires At","type":"string"},"headers":{"additionalProperties":{"type":"string"},"title":"Headers","type":"object"},"url":{"title":"Url","type":"string"}},"required":["url","headers","expires_at"],"title":"CertificateUploadTarget","type":"object"},"CertificationOut":{"properties":{"id":{"title":"Id","type":"string"},"kind":{"title":"Kind","type":"string"},"markets":{"items":{"type":"string"},"title":"Markets","type":"array"},"name":{"title":"Name","type":"string"},"names":{"additionalProperties":{"type":"string"},"title":"Names","type":"object"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"required":["id","name","names","kind","markets","note"],"title":"CertificationOut","type":"object"},"CertifierOption":{"description":"A listed certifier that covers the case's destination and industry.","properties":{"accreditation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Accreditation"},"accreditation_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Accreditation Url"},"contact_email":{"title":"Contact Email","type":"string"},"countries":{"items":{"type":"string"},"title":"Countries","type":"array"},"id":{"format":"uuid","title":"Id","type":"string"},"industries":{"items":{"enum":["textiles","furniture","building","food"],"type":"string"},"title":"Industries","type":"array"},"name":{"title":"Name","type":"string"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"}},"required":["id","name","countries","industries","website","accreditation","accreditation_url","contact_email"],"title":"CertifierOption","type":"object"},"Channel":{"enum":["email","whatsapp","sms","in_app"],"title":"Channel","type":"string"},"ChooseIn":{"additionalProperties":false,"properties":{"quote_id":{"format":"uuid","title":"Quote Id","type":"string"}},"required":["quote_id"],"title":"ChooseIn","type":"object"},"Chosen":{"properties":{"chosen_at":{"format":"date-time","title":"Chosen At","type":"string"},"company_name":{"title":"Company Name","type":"string"},"quote_id":{"format":"uuid","title":"Quote Id","type":"string"},"undo_until":{"format":"date-time","title":"Undo Until","type":"string"}},"required":["quote_id","company_name","chosen_at","undo_until"],"title":"Chosen","type":"object"},"ClaimEvidenceIn":{"additionalProperties":false,"properties":{"kind":{"$ref":"#/components/schemas/EvidenceKind"},"media_type":{"enum":["application/pdf","image/jpeg","image/png"],"title":"Media Type","type":"string"},"sha256":{"pattern":"^[0-9a-f]{64}$","title":"Sha256","type":"string"},"size":{"exclusiveMinimum":0,"maximum":10485760,"title":"Size","type":"integer"}},"required":["kind","media_type","size","sha256"],"title":"ClaimEvidenceIn","type":"object"},"ClaimEvidenceOut":{"properties":{"created_at":{"format":"date-time","title":"Created At","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"kind":{"title":"Kind","type":"string"},"media_type":{"title":"Media Type","type":"string"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"size":{"title":"Size","type":"integer"},"status":{"title":"Status","type":"string"}},"required":["id","kind","media_type","size","status","reason","created_at"],"title":"ClaimEvidenceOut","type":"object"},"ClaimEvidenceUploadOut":{"properties":{"evidence":{"$ref":"#/components/schemas/ClaimEvidenceOut"},"upload":{"$ref":"#/components/schemas/UploadTarget"}},"required":["evidence","upload"],"title":"ClaimEvidenceUploadOut","type":"object"},"ClaimOut":{"properties":{"attempts_left":{"title":"Attempts Left","type":"integer"},"claimant_role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Claimant Role"},"code_expires_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Code Expires At"},"company_id":{"format":"uuid","title":"Company Id","type":"string"},"company_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Name"},"company_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Slug"},"contested":{"default":false,"title":"Contested","type":"boolean"},"decided_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Decided At"},"id":{"format":"uuid","title":"Id","type":"string"},"level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Level"},"method":{"title":"Method","type":"string"},"next_step":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Step"},"org_id":{"format":"uuid","title":"Org Id","type":"string"},"proved_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Proved At"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"sent_to":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sent To"},"status":{"title":"Status","type":"string"},"transfer":{"anyOf":[{"$ref":"#/components/schemas/TransferOut"},{"type":"null"}]}},"required":["id","org_id","company_id","company_slug","company_name","method","status","level","sent_to","code_expires_at","attempts_left"],"title":"ClaimOut","type":"object"},"ClaimantRole":{"enum":["signatory","employee"],"title":"ClaimantRole","type":"string"},"ClientIn":{"additionalProperties":false,"properties":{"name":{"maxLength":128,"minLength":2,"title":"Name","type":"string"},"permissions":{"default":[],"items":{"$ref":"#/components/schemas/KeyPermission"},"maxItems":5,"title":"Permissions","type":"array","uniqueItems":true}},"required":["name"],"title":"ClientIn","type":"object"},"ClientOut":{"properties":{"client_id":{"format":"uuid","title":"Client Id","type":"string"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"last_token_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Token At"},"name":{"title":"Name","type":"string"},"permissions":{"items":{"type":"string"},"title":"Permissions","type":"array"},"revoked_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Revoked At"}},"required":["client_id","name","permissions","created_at","revoked_at","last_token_at"],"title":"ClientOut","type":"object"},"Code":{"additionalProperties":false,"properties":{"code":{"pattern":"^[0-9]{8}$","title":"Code","type":"string"}},"required":["code"],"title":"Code","type":"object"},"CodeIn":{"additionalProperties":false,"properties":{"alerts":{"default":false,"title":"Alerts","type":"boolean"},"code":{"pattern":"^\\s*[0-9]{6}\\s*$","title":"Code","type":"string"},"notice_version":{"$ref":"#/components/schemas/NoticeVersion","default":"2026-10"}},"required":["code"],"title":"CodeIn","type":"object"},"Company":{"properties":{"about":{"anyOf":[{"$ref":"#/components/schemas/About"},{"type":"null"}]},"address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Address"},"aliases":{"items":{"type":"string"},"title":"Aliases","type":"array"},"assistant":{"$ref":"#/components/schemas/CompanyAssistant","default":{"available":false}},"badges":{"default":[],"items":{"enum":["fast_responder","verified_exporter","top_supplier"],"type":"string"},"title":"Badges","type":"array"},"capital":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Capital"},"capital_source":{"anyOf":[{"$ref":"#/components/schemas/SourceRef"},{"type":"null"}]},"certifications":{"items":{"type":"string"},"title":"Certifications","type":"array"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"completeness":{"default":0,"title":"Completeness","type":"integer"},"credentials":{"default":[],"items":{"$ref":"#/components/schemas/PublicCredential"},"title":"Credentials","type":"array"},"district":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"District"},"emails":{"items":{"type":"string"},"title":"Emails","type":"array"},"employee_band":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Employee Band"},"events":{"items":{"$ref":"#/components/schemas/CompanyEvent"},"title":"Events","type":"array"},"export_ready":{"default":[],"items":{"$ref":"#/components/schemas/ExportReady"},"title":"Export Ready","type":"array"},"factory_video":{"anyOf":[{"$ref":"#/components/schemas/FactoryVideo"},{"type":"null"}]},"facts":{"$ref":"#/components/schemas/CompanyFacts","default":{"delivery_terms":[],"sales_languages":[]}},"founded_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Founded On"},"id":{"format":"uuid","title":"Id","type":"string"},"identity_verified_at":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Identity Verified At"},"indexable":{"title":"Indexable","type":"boolean"},"latitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Latitude"},"legal_form":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Form"},"listings":{"default":[],"items":{"$ref":"#/components/schemas/CompanyListing"},"title":"Listings","type":"array"},"locations":{"items":{"$ref":"#/components/schemas/Location"},"title":"Locations","type":"array"},"logo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Logo Url"},"longitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Longitude"},"maker":{"$ref":"#/components/schemas/Maker","default":{}},"markets":{"items":{"type":"string"},"title":"Markets","type":"array"},"media":{"$ref":"#/components/schemas/PageMedia","default":{"photos":[]}},"mersis_no":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mersis No"},"nace_codes":{"items":{"type":"string"},"title":"Nace Codes","type":"array"},"name":{"title":"Name","type":"string"},"official":{"$ref":"#/components/schemas/OfficialInfo","default":{}},"ownership":{"default":"no_owner","enum":["no_owner","owned"],"title":"Ownership","type":"string"},"ownership_proof":{"anyOf":[{"$ref":"#/components/schemas/OwnershipProof"},{"type":"null"}]},"phones":{"items":{"type":"string"},"title":"Phones","type":"array"},"product_categories":{"default":[],"items":{"type":"string"},"title":"Product Categories","type":"array"},"products":{"items":{"$ref":"#/components/schemas/Product"},"title":"Products","type":"array"},"quality_score":{"title":"Quality Score","type":"integer"},"record":{"$ref":"#/components/schemas/TrackRecord","default":{"buyer_countries":0,"export_deals":0,"verified_deals":0}},"responsiveness":{"$ref":"#/components/schemas/Responsiveness","default":{}},"reviews":{"$ref":"#/components/schemas/ReviewSummary"},"sales_contacts":{"default":[],"items":{"$ref":"#/components/schemas/SalesContact"},"title":"Sales Contacts","type":"array"},"sections":{"default":[],"items":{"$ref":"#/components/schemas/PageSection"},"title":"Sections","type":"array"},"services":{"default":[],"items":{"$ref":"#/components/schemas/CompanyService"},"title":"Services","type":"array"},"slug":{"title":"Slug","type":"string"},"social":{"default":[],"items":{"$ref":"#/components/schemas/SocialAccount"},"title":"Social","type":"array"},"sources":{"items":{"$ref":"#/components/schemas/SourceRef"},"title":"Sources","type":"array"},"status":{"title":"Status","type":"string"},"tax_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tax Number"},"tier":{"default":"bronze","title":"Tier","type":"string"},"trust":{"default":[],"items":{"$ref":"#/components/schemas/TrustPart"},"title":"Trust","type":"array"},"trust_score":{"anyOf":[{"$ref":"#/components/schemas/TrustScore"},{"type":"null"}]},"updated_at":{"format":"date-time","title":"Updated At","type":"string"},"verification":{"title":"Verification","type":"string"},"waiting":{"default":0,"title":"Waiting","type":"integer"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"},"whatsapp":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Whatsapp"},"working_hours":{"anyOf":[{"$ref":"#/components/schemas/WorkingHours"},{"type":"null"}]}},"required":["id","slug","name","aliases","legal_form","status","verification","indexable","quality_score","mersis_no","founded_on","city","district","address","latitude","longitude","website","phones","emails","nace_codes","products","certifications","markets","employee_band","capital","locations","events","sources","reviews","updated_at"],"title":"Company","type":"object"},"CompanyArchive":{"description":"A company's past opportunities: the public needs matched to it that are no longer open,\nthe latest to end first.","properties":{"items":{"items":{"$ref":"#/components/schemas/ArchivedOpportunity"},"title":"Items","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"total":{"title":"Total","type":"integer"}},"required":["total","items","next_cursor"],"title":"CompanyArchive","type":"object"},"CompanyAssistant":{"description":"The page's sales assistant (``/v1/companies/{key}/assistant/chats``).","properties":{"available":{"default":false,"title":"Available","type":"boolean"}},"title":"CompanyAssistant","type":"object"},"CompanyCard":{"properties":{"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"district":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"District"},"id":{"format":"uuid","title":"Id","type":"string"},"legal_form":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Form"},"maker":{"$ref":"#/components/schemas/Maker","default":{}},"nace_codes":{"items":{"type":"string"},"title":"Nace Codes","type":"array"},"name":{"title":"Name","type":"string"},"products":{"items":{"type":"string"},"title":"Products","type":"array"},"slug":{"title":"Slug","type":"string"},"status":{"title":"Status","type":"string"},"tier":{"default":"bronze","title":"Tier","type":"string"},"updated_at":{"format":"date-time","title":"Updated At","type":"string"},"verification":{"title":"Verification","type":"string"},"verified_by":{"anyOf":[{"enum":["owner","registry"],"type":"string"},{"type":"null"}],"title":"Verified By"}},"required":["id","slug","name","legal_form","status","verification","city","district","nace_codes","products","updated_at"],"title":"CompanyCard","type":"object"},"CompanyEvent":{"properties":{"effect":{"enum":["green","yellow","red","neutral"],"title":"Effect","type":"string"},"id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Id"},"occurred_on":{"format":"date","title":"Occurred On","type":"string"},"params":{"additionalProperties":{"type":"string"},"title":"Params","type":"object"},"precision":{"default":"day","enum":["day","year"],"title":"Precision","type":"string"},"reply":{"anyOf":[{"$ref":"#/components/schemas/EventReply"},{"type":"null"}]},"source":{"$ref":"#/components/schemas/SourceRef"},"type":{"title":"Type","type":"string"}},"required":["type","effect","occurred_on","params","source"],"title":"CompanyEvent","type":"object"},"CompanyFacts":{"description":"What the owner states about the company's production and trade.","properties":{"delivery_terms":{"default":[],"items":{"type":"string"},"title":"Delivery Terms","type":"array"},"factory_area_m2":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Factory Area M2"},"production_capacity":{"anyOf":[{"$ref":"#/components/schemas/ProductionCapacity"},{"type":"null"}]},"sales_languages":{"default":[],"items":{"type":"string"},"title":"Sales Languages","type":"array"},"typical_moq":{"anyOf":[{"$ref":"#/components/schemas/Quantity"},{"type":"null"}]}},"title":"CompanyFacts","type":"object"},"CompanyHeadings":{"description":"One company the member manages, and the HS headings it states for its products.","properties":{"headings":{"items":{"type":"string"},"title":"Headings","type":"array"},"id":{"format":"uuid","title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"slug":{"title":"Slug","type":"string"}},"required":["id","slug","name","headings"],"title":"CompanyHeadings","type":"object"},"CompanyHit":{"properties":{"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"distance_km":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Distance Km"},"district":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"District"},"id":{"format":"uuid","title":"Id","type":"string"},"legal_form":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Form"},"matched_products":{"items":{"type":"string"},"title":"Matched Products","type":"array"},"nace_codes":{"items":{"type":"string"},"title":"Nace Codes","type":"array"},"name":{"title":"Name","type":"string"},"ownership":{"default":"no_owner","enum":["no_owner","owned"],"title":"Ownership","type":"string"},"products":{"items":{"type":"string"},"title":"Products","type":"array"},"slug":{"title":"Slug","type":"string"},"status":{"title":"Status","type":"string"},"verification":{"title":"Verification","type":"string"},"waiting":{"default":0,"title":"Waiting","type":"integer"}},"required":["id","slug","name","legal_form","status","verification","city","district","nace_codes","products","matched_products","distance_km"],"title":"CompanyHit","type":"object"},"CompanyList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/CompanyCard"},"title":"Items","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"total":{"title":"Total","type":"integer"}},"required":["items","next_cursor","total"],"title":"CompanyList","type":"object"},"CompanyListing":{"description":"The company on a published list (contract 1.10): what the list says it is, the list's\nown facts as it writes them, and the list as a source (its name, its publisher credited,\nits licence, when it was read, the record's own page).","properties":{"area_m2":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Area M2"},"body":{"title":"Body","type":"string"},"capital_origin":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Capital Origin"},"codes":{"default":[],"items":{"$ref":"#/components/schemas/ListingCode"},"title":"Codes","type":"array"},"event":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event"},"exports":{"default":false,"title":"Exports","type":"boolean"},"groups":{"default":[],"items":{"type":"string"},"title":"Groups","type":"array"},"hall":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hall"},"indices":{"default":[],"items":{"type":"string"},"title":"Indices","type":"array"},"licences":{"default":[],"items":{"$ref":"#/components/schemas/ListingLicence"},"title":"Licences","type":"array"},"list_date":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"List Date"},"market":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Market"},"parcel":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Parcel"},"plant_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plant Status"},"represents":{"default":[],"items":{"$ref":"#/components/schemas/ListingRepresented"},"title":"Represents","type":"array"},"role":{"enum":["member","exporter","exhibitor","zone_firm","licence_holder","listed_company"],"title":"Role","type":"string"},"serves":{"default":[],"items":{"type":"string"},"title":"Serves","type":"array"},"services":{"default":[],"items":{"type":"string"},"title":"Services","type":"array"},"source":{"$ref":"#/components/schemas/SourceRef"},"stand":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stand"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"trade":{"default":[],"items":{"enum":["export","import"],"type":"string"},"title":"Trade","type":"array"},"year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"}},"required":["role","body","source"],"title":"CompanyListing","type":"object"},"CompanyOpportunities":{"description":"A box of a company's page: the open public needs matched to it, best fit first.","properties":{"countries":{"items":{"$ref":"#/components/schemas/CountryCount"},"title":"Countries","type":"array"},"items":{"items":{"$ref":"#/components/schemas/CompanyOpportunity"},"title":"Items","type":"array"},"new_today":{"title":"New Today","type":"integer"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"predicted":{"default":0,"title":"Predicted","type":"integer"},"total":{"title":"Total","type":"integer"}},"required":["total","new_today","countries","items","next_cursor"],"title":"CompanyOpportunities","type":"object"},"CompanyOpportunity":{"description":"An open public need matched to a company: a card in one of its page's two boxes.","properties":{"buyer_country":{"title":"Buyer Country","type":"string"},"buyer_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Buyer Name"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"credit":{"anyOf":[{"$ref":"#/components/schemas/OpportunityCredit"},{"type":"null"}]},"deadline_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Deadline At"},"destination_country":{"title":"Destination Country","type":"string"},"eligibility":{"anyOf":[{"$ref":"#/components/schemas/OpportunityEligibility"},{"type":"null"}]},"estimated_value":{"anyOf":[{"$ref":"#/components/schemas/OpportunityMoney"},{"type":"null"}]},"id":{"format":"uuid","title":"Id","type":"string"},"item_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Item Count"},"kind":{"title":"Kind","type":"string"},"last_seen_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Seen At"},"match_count":{"title":"Match Count","type":"integer"},"matched_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Matched At"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"opportunity_type":{"default":"open_tender","enum":["open_tender","contractor_purchase","supplier_switch","project","purchase_request"],"title":"Opportunity Type","type":"string"},"origin":{"title":"Origin","type":"string"},"portal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Portal"},"procurement_type":{"anyOf":[{"enum":["goods","services","works","consultancy","other"],"type":"string"},{"type":"null"}],"title":"Procurement Type"},"published_at":{"format":"date-time","title":"Published At","type":"string"},"quantities":{"default":[],"items":{"$ref":"#/components/schemas/OpportunityQuantity"},"title":"Quantities","type":"array"},"reasons":{"items":{"$ref":"#/components/schemas/MatchReason"},"title":"Reasons","type":"array"},"relevance":{"default":"supply","title":"Relevance","type":"string"},"score":{"title":"Score","type":"integer"},"sectors":{"default":[],"items":{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},"title":"Sectors","type":"array"},"seriousness":{"title":"Seriousness","type":"integer"},"title":{"title":"Title","type":"string"},"title_language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title Language"},"title_machine_translated":{"default":false,"title":"Title Machine Translated","type":"boolean"},"translated_by":{"anyOf":[{"enum":["source","model"],"type":"string"},{"type":"null"}],"title":"Translated By"},"translated_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Translated Title"}},"required":["id","kind","origin","title","buyer_name","buyer_country","destination_country","city","published_at","deadline_at","seriousness","match_count","score","reasons","matched_at"],"title":"CompanyOpportunity","type":"object"},"CompanyProductsIn":{"additionalProperties":false,"description":"Follow, in one click, the headings the member's companies state (wave 7). ``consent``\nis the member's own yes to alerts about them: a request without it follows nothing.","properties":{"consent":{"const":true,"title":"Consent","type":"boolean"}},"required":["consent"],"title":"CompanyProductsIn","type":"object"},"CompanyProductsOut":{"description":"What \"Follow my company's products\" would follow, and what it did (wave 7).","properties":{"added":{"items":{"type":"string"},"title":"Added","type":"array"},"companies":{"items":{"$ref":"#/components/schemas/CompanyHeadings"},"title":"Companies","type":"array"},"followed":{"items":{"type":"string"},"title":"Followed","type":"array"},"left_out":{"items":{"type":"string"},"title":"Left Out","type":"array"},"most":{"title":"Most","type":"integer"},"room":{"title":"Room","type":"integer"},"to_follow":{"items":{"type":"string"},"title":"To Follow","type":"array"}},"required":["companies","followed","to_follow","left_out","added","room","most"],"title":"CompanyProductsOut","type":"object"},"CompanySearchResult":{"properties":{"facets":{"anyOf":[{"additionalProperties":{"items":{"$ref":"#/components/schemas/Facet"},"type":"array"},"type":"object"},{"type":"null"}],"title":"Facets"},"has_more":{"title":"Has More","type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/CompanyHit"},"title":"Items","type":"array"},"limit":{"title":"Limit","type":"integer"},"page":{"title":"Page","type":"integer"},"total":{"title":"Total","type":"integer"},"total_is_exact":{"title":"Total Is Exact","type":"boolean"}},"required":["items","total","total_is_exact","page","limit","has_more","facets"],"title":"CompanySearchResult","type":"object"},"CompanyService":{"properties":{"kind":{"enum":["oem","embroidery_printing","custom_packaging","other"],"title":"Kind","type":"string"},"min_quantity":{"anyOf":[{"$ref":"#/components/schemas/Quantity"},{"type":"null"}]},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"required":["kind"],"title":"CompanyService","type":"object"},"CompanyServicesIn":{"additionalProperties":false,"properties":{"kinds":{"items":{"$ref":"#/components/schemas/ServiceKind"},"maxItems":3,"title":"Kinds","type":"array"}},"required":["kinds"],"title":"CompanyServicesIn","type":"object"},"CompanyServicesOut":{"properties":{"company_id":{"format":"uuid","title":"Company Id","type":"string"},"kinds":{"items":{"type":"string"},"title":"Kinds","type":"array"}},"required":["company_id","kinds"],"title":"CompanyServicesOut","type":"object"},"CompanySuggestion":{"properties":{"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"name":{"title":"Name","type":"string"},"slug":{"title":"Slug","type":"string"}},"required":["slug","name","city"],"title":"CompanySuggestion","type":"object"},"CompanyWhatsAppOut":{"properties":{"number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Number"},"pending":{"anyOf":[{"$ref":"#/components/schemas/PendingNumber"},{"type":"null"}]}},"required":["number","pending"],"title":"CompanyWhatsAppOut","type":"object"},"Comparison":{"description":"The cheapest, the fastest and the best combination, worked out without a model;\nthe choice stays the buyer's.","properties":{"best":{"anyOf":[{"$ref":"#/components/schemas/Pick"},{"type":"null"}]},"cheapest":{"anyOf":[{"$ref":"#/components/schemas/Pick"},{"type":"null"}]},"fastest":{"anyOf":[{"$ref":"#/components/schemas/Pick"},{"type":"null"}]}},"required":["cheapest","fastest","best"],"title":"Comparison","type":"object"},"ComplianceAnswerIn":{"additionalProperties":false,"properties":{"status":{"enum":["var","eksik","bilmiyorum"],"title":"Status","type":"string"}},"required":["status"],"title":"ComplianceAnswerIn","type":"object"},"ComplianceCaseIn":{"additionalProperties":false,"properties":{"code":{"anyOf":[{"pattern":"^[0-9][0-9 .]{10,20}$","type":"string"},{"type":"null"}],"title":"Code"},"company_id":{"format":"uuid","title":"Company Id","type":"string"},"destination":{"const":"SA","default":"SA","title":"Destination","type":"string"},"industry":{"anyOf":[{"enum":["textiles","furniture","building","food"],"type":"string"},{"type":"null"}],"title":"Industry"},"product_id":{"format":"uuid","title":"Product Id","type":"string"}},"required":["company_id","product_id"],"title":"ComplianceCaseIn","type":"object"},"ComplianceCaseList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ComplianceCaseSummary"},"title":"Items","type":"array"}},"required":["items"],"title":"ComplianceCaseList","type":"object"},"ComplianceCaseOut":{"properties":{"approval_required":{"default":true,"title":"Approval Required","type":"boolean"},"assessment":{"$ref":"#/components/schemas/ReadinessAssessment"},"can_edit":{"title":"Can Edit","type":"boolean"},"certificate":{"anyOf":[{"$ref":"#/components/schemas/ComplianceCertificate"},{"type":"null"}]},"certifiers":{"default":[],"items":{"$ref":"#/components/schemas/CertifierOption"},"title":"Certifiers","type":"array"},"checklist":{"$ref":"#/components/schemas/ComplianceChecklist"},"checklist_completed_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Checklist Completed At"},"closed_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Closed At"},"code":{"title":"Code","type":"string"},"company_id":{"format":"uuid","title":"Company Id","type":"string"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"destination":{"const":"SA","title":"Destination","type":"string"},"drafts":{"items":{"$ref":"#/components/schemas/ComplianceDraftState"},"title":"Drafts","type":"array"},"id":{"format":"uuid","title":"Id","type":"string"},"industry":{"enum":["textiles","furniture","building","food"],"title":"Industry","type":"string"},"label_values":{"additionalProperties":{"type":"string"},"title":"Label Values","type":"object"},"model":{"$ref":"#/components/schemas/ComplianceModelState"},"org_id":{"format":"uuid","title":"Org Id","type":"string"},"product":{"$ref":"#/components/schemas/ComplianceProduct"},"referrals":{"default":[],"items":{"$ref":"#/components/schemas/ReferralOut"},"title":"Referrals","type":"array"},"rule_changes":{"default":[],"items":{"$ref":"#/components/schemas/ComplianceRuleChange"},"title":"Rule Changes","type":"array"},"shipments":{"default":[],"items":{"$ref":"#/components/schemas/ComplianceShipmentOut"},"title":"Shipments","type":"array"},"status":{"enum":["open","closed"],"title":"Status","type":"string"},"updated_at":{"format":"date-time","title":"Updated At","type":"string"}},"required":["id","org_id","company_id","product","destination","code","industry","status","can_edit","assessment","checklist","label_values","drafts","model","created_at","updated_at","checklist_completed_at","closed_at"],"title":"ComplianceCaseOut","type":"object"},"ComplianceCaseSummary":{"properties":{"answered":{"title":"Answered","type":"integer"},"badge":{"default":false,"title":"Badge","type":"boolean"},"certificate_status":{"anyOf":[{"enum":["in_review","verified","rejected","expired"],"type":"string"},{"type":"null"}],"title":"Certificate Status"},"certificate_valid_until":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Certificate Valid Until"},"closed_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Closed At"},"code":{"title":"Code","type":"string"},"company_id":{"format":"uuid","title":"Company Id","type":"string"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"destination":{"const":"SA","title":"Destination","type":"string"},"documents":{"title":"Documents","type":"integer"},"id":{"format":"uuid","title":"Id","type":"string"},"industry":{"enum":["textiles","furniture","building","food"],"title":"Industry","type":"string"},"org_id":{"format":"uuid","title":"Org Id","type":"string"},"product_id":{"format":"uuid","title":"Product Id","type":"string"},"product_name":{"title":"Product Name","type":"string"},"status":{"enum":["open","closed"],"title":"Status","type":"string"},"updated_at":{"format":"date-time","title":"Updated At","type":"string"}},"required":["id","org_id","company_id","product_id","product_name","destination","code","industry","status","answered","documents","created_at","updated_at","closed_at"],"title":"ComplianceCaseSummary","type":"object"},"ComplianceCertificate":{"properties":{"badge":{"title":"Badge","type":"boolean"},"badge_until":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Badge Until"},"certifier":{"anyOf":[{"$ref":"#/components/schemas/CertifierOption"},{"type":"null"}]},"certifier_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Certifier Name"},"days_left":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Days Left"},"decided_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Decided At"},"documents":{"items":{"$ref":"#/components/schemas/ComplianceDocumentOut"},"title":"Documents","type":"array"},"issued_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Issued On"},"number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Number"},"reason":{"anyOf":[{"enum":["unreadable","not_this_product","not_this_company","dates_mismatch","not_a_pcoc","expired","forged_suspected","other"],"type":"string"},{"type":"null"}],"title":"Reason"},"status":{"anyOf":[{"enum":["in_review","verified","rejected","expired"],"type":"string"},{"type":"null"}],"title":"Status"},"submitted_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Submitted At"},"valid_until":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Valid Until"}},"required":["certifier","certifier_name","number","issued_on","valid_until","days_left","status","reason","submitted_at","decided_at","documents","badge","badge_until"],"title":"ComplianceCertificate","type":"object"},"ComplianceCertificateIn":{"additionalProperties":false,"description":"The product certificate (PCoC) as the member gives it; a field left out keeps its\nvalue, ``null`` clears it. Changing the number or a date of a verified certificate sends\nit back to be verified again (its badge stands until its own last day).","properties":{"certifier_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Certifier Id"},"certifier_name":{"anyOf":[{"maxLength":160,"type":"string"},{"type":"null"}],"title":"Certifier Name"},"issued_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Issued On"},"number":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"title":"Number"},"valid_until":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Valid Until"}},"title":"ComplianceCertificateIn","type":"object"},"ComplianceChecklist":{"properties":{"answered":{"title":"Answered","type":"integer"},"complete":{"title":"Complete","type":"boolean"},"counts":{"additionalProperties":{"type":"integer"},"title":"Counts","type":"object"},"industry":{"anyOf":[{"enum":["textiles","furniture","building","food"],"type":"string"},{"type":"null"}],"title":"Industry"},"items":{"items":{"$ref":"#/components/schemas/ComplianceChecklistItem"},"title":"Items","type":"array"},"ready":{"title":"Ready","type":"boolean"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"total":{"title":"Total","type":"integer"}},"required":["industry","title","items","answered","total","counts","complete","ready"],"title":"ComplianceChecklist","type":"object"},"ComplianceChecklistItem":{"properties":{"answered_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Answered At"},"documents":{"items":{"$ref":"#/components/schemas/ComplianceDocumentOut"},"title":"Documents","type":"array"},"item":{"$ref":"#/components/schemas/ReadinessItem"},"status":{"anyOf":[{"enum":["var","eksik","bilmiyorum"],"type":"string"},{"type":"null"}],"title":"Status"}},"required":["item","status","answered_at","documents"],"title":"ComplianceChecklistItem","type":"object"},"ComplianceDocumentIn":{"additionalProperties":false,"properties":{"file_name":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"title":"File Name"},"item_key":{"maxLength":64,"pattern":"^[a-z0-9]+(?:[._][a-z0-9]+)*$","title":"Item Key","type":"string"},"media_type":{"enum":["application/pdf","image/jpeg","image/png"],"title":"Media Type","type":"string"},"sha256":{"pattern":"^[0-9a-f]{64}$","title":"Sha256","type":"string"},"size":{"exclusiveMinimum":0,"maximum":10485760,"title":"Size","type":"integer"}},"required":["item_key","media_type","size","sha256"],"title":"ComplianceDocumentIn","type":"object"},"ComplianceDocumentOut":{"properties":{"checked_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Checked At"},"content_reviewed":{"default":false,"title":"Content Reviewed","type":"boolean"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"file_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"File Name"},"id":{"format":"uuid","title":"Id","type":"string"},"item_key":{"title":"Item Key","type":"string"},"media_type":{"title":"Media Type","type":"string"},"pages":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pages"},"size":{"title":"Size","type":"integer"},"status":{"enum":["uploaded","kept","rejected","withdrawn"],"title":"Status","type":"string"},"verdict":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verdict"}},"required":["id","item_key","status","verdict","media_type","size","pages","created_at","checked_at"],"title":"ComplianceDocumentOut","type":"object"},"ComplianceDraftOut":{"properties":{"disclaimer":{"title":"Disclaimer","type":"string"},"draft":{"default":true,"title":"Draft","type":"boolean"},"expert_approval_required":{"default":true,"title":"Expert Approval Required","type":"boolean"},"generated_at":{"format":"date-time","title":"Generated At","type":"string"},"kind":{"enum":["label","outline","manual"],"title":"Kind","type":"string"},"label":{"anyOf":[{"$ref":"#/components/schemas/ComplianceLabelDraft"},{"type":"null"}]},"manual":{"anyOf":[{"$ref":"#/components/schemas/ComplianceManual"},{"type":"null"}]},"marks":{"items":{"type":"string"},"title":"Marks","type":"array"},"outline":{"anyOf":[{"$ref":"#/components/schemas/ComplianceOutline"},{"type":"null"}]},"prepared_by":{"enum":["mert","kerem"],"title":"Prepared By","type":"string"}},"required":["kind","generated_at","marks","prepared_by","disclaimer"],"title":"ComplianceDraftOut","type":"object"},"ComplianceDraftState":{"properties":{"generated_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Generated At"},"kind":{"enum":["label","outline","manual"],"title":"Kind","type":"string"},"state":{"enum":["ready","not_generated","needs_model"],"title":"State","type":"string"}},"required":["kind","state","generated_at"],"title":"ComplianceDraftState","type":"object"},"ComplianceLabelDraft":{"properties":{"missing":{"items":{"type":"string"},"title":"Missing","type":"array"},"needs_arabic":{"items":{"type":"string"},"title":"Needs Arabic","type":"array"},"sections":{"items":{"$ref":"#/components/schemas/ComplianceLabelSection"},"title":"Sections","type":"array"},"several":{"title":"Several","type":"boolean"}},"required":["sections","missing","needs_arabic","several"],"title":"ComplianceLabelDraft","type":"object"},"ComplianceLabelIn":{"additionalProperties":false,"properties":{"values":{"patternProperties":{"^[a-z0-9_]{2,40}$":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}]}},"title":"Values","type":"object"}},"required":["values"],"title":"ComplianceLabelIn","type":"object"},"ComplianceLabelLine":{"properties":{"field":{"title":"Field","type":"string"},"place":{"enum":["product","package","outer_package","each_unit"],"title":"Place","type":"string"},"presence":{"enum":["required","if_applicable"],"title":"Presence","type":"string"},"ref":{"title":"Ref","type":"string"},"requirement":{"format":"uuid","title":"Requirement","type":"string"},"rule":{"title":"Rule","type":"string"},"rule_ar":{"title":"Rule Ar","type":"string"},"state":{"enum":["provided","needs_arabic","missing","optional","per_standard"],"title":"State","type":"string"},"title":{"title":"Title","type":"string"},"title_ar":{"title":"Title Ar","type":"string"},"value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value"}},"required":["field","presence","place","title","title_ar","rule","rule_ar","ref","requirement","value","state"],"title":"ComplianceLabelLine","type":"object"},"ComplianceLabelRule":{"properties":{"field":{"title":"Field","type":"string"},"requirement":{"format":"uuid","title":"Requirement","type":"string"},"rule":{"title":"Rule","type":"string"},"title":{"title":"Title","type":"string"},"title_ar":{"title":"Title Ar","type":"string"}},"required":["field","title","title_ar","rule","requirement"],"title":"ComplianceLabelRule","type":"object"},"ComplianceLabelSection":{"properties":{"arabic":{"title":"Arabic","type":"string"},"key":{"title":"Key","type":"string"},"languages":{"additionalProperties":{"anyOf":[{"type":"string"},{"items":{"type":"string"},"type":"array"}]},"title":"Languages","type":"object"},"lines":{"items":{"$ref":"#/components/schemas/ComplianceLabelLine"},"title":"Lines","type":"array"},"placement":{"title":"Placement","type":"string"},"placement_ar":{"title":"Placement Ar","type":"string"},"prohibited":{"items":{"$ref":"#/components/schemas/ComplianceLabelRule"},"title":"Prohibited","type":"array"},"title":{"title":"Title","type":"string"},"title_ar":{"title":"Title Ar","type":"string"},"withheld":{"title":"Withheld","type":"integer"}},"required":["key","title","title_ar","placement","placement_ar","languages","lines","prohibited","arabic","withheld"],"title":"ComplianceLabelSection","type":"object"},"ComplianceLinkOut":{"properties":{"expires_at":{"format":"date-time","title":"Expires At","type":"string"},"url":{"title":"Url","type":"string"}},"required":["url","expires_at"],"title":"ComplianceLinkOut","type":"object"},"ComplianceManual":{"properties":{"arabic":{"title":"Arabic","type":"string"},"source":{"title":"Source","type":"string"},"source_language":{"enum":["tr","en"],"title":"Source Language","type":"string"}},"required":["source_language","source","arabic"],"title":"ComplianceManual","type":"object"},"ComplianceManualIn":{"additionalProperties":false,"properties":{"language":{"default":"tr","enum":["tr","en"],"title":"Language","type":"string"},"text":{"maxLength":8000,"minLength":20,"title":"Text","type":"string"}},"required":["text"],"title":"ComplianceManualIn","type":"object"},"ComplianceModelState":{"properties":{"available":{"title":"Available","type":"boolean"},"reason":{"anyOf":[{"const":"switched_off","type":"string"},{"type":"null"}],"title":"Reason"}},"required":["available","reason"],"title":"ComplianceModelState","type":"object"},"ComplianceOutline":{"description":"The technical file's outline for the conformity body, from the checklist (no\nmodel): what the file holds, what is still open.","properties":{"code":{"title":"Code","type":"string"},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"destination":{"const":"SA","title":"Destination","type":"string"},"documents":{"items":{"$ref":"#/components/schemas/ComplianceOutlineEntry"},"title":"Documents","type":"array"},"hs6":{"title":"Hs6","type":"string"},"label_generated_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Label Generated At"},"label_missing":{"title":"Label Missing","type":"integer"},"models":{"items":{"type":"string"},"title":"Models","type":"array"},"open_points":{"items":{"type":"string"},"title":"Open Points","type":"array"},"others":{"items":{"$ref":"#/components/schemas/ComplianceOutlineEntry"},"title":"Others","type":"array"},"product":{"title":"Product","type":"string"},"regulations":{"items":{"type":"string"},"title":"Regulations","type":"array"},"sources":{"items":{"$ref":"#/components/schemas/ComplianceOutlineSource"},"title":"Sources","type":"array"},"verdict":{"enum":["regulated","partly_regulated","self_declaration","sfda","several_regulations","needs_expert","no_data"],"title":"Verdict","type":"string"}},"required":["destination","product","code","hs6","company","verdict","regulations","models","documents","others","sources","label_generated_at","label_missing","open_points"],"title":"ComplianceOutline","type":"object"},"ComplianceOutlineEntry":{"properties":{"documents":{"items":{"format":"uuid","type":"string"},"title":"Documents","type":"array"},"evidence":{"title":"Evidence","type":"string"},"key":{"title":"Key","type":"string"},"requirements":{"items":{"format":"uuid","type":"string"},"title":"Requirements","type":"array"},"status":{"anyOf":[{"enum":["var","eksik","bilmiyorum"],"type":"string"},{"type":"null"}],"title":"Status"},"title":{"title":"Title","type":"string"},"who":{"items":{"enum":["exporter","importer","body","authority"],"type":"string"},"title":"Who","type":"array"}},"required":["key","title","evidence","who","status","documents","requirements"],"title":"ComplianceOutlineEntry","type":"object"},"ComplianceOutlineSource":{"properties":{"requirement":{"format":"uuid","title":"Requirement","type":"string"},"reviewed_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Reviewed On"},"source":{"title":"Source","type":"string"},"title":{"title":"Title","type":"string"}},"required":["requirement","title","source","reviewed_on"],"title":"ComplianceOutlineSource","type":"object"},"ComplianceProduct":{"properties":{"id":{"format":"uuid","title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"on_page":{"title":"On Page","type":"boolean"}},"required":["id","name","on_page"],"title":"ComplianceProduct","type":"object"},"ComplianceRuleChange":{"description":"A published requirement covering the case that changed after the case was opened.","properties":{"at":{"format":"date-time","title":"At","type":"string"},"change":{"enum":["revised","retired"],"title":"Change","type":"string"},"language":{"enum":["tr","en","ar","fa"],"title":"Language","type":"string"},"requirement":{"format":"uuid","title":"Requirement","type":"string"},"source":{"title":"Source","type":"string"},"title":{"title":"Title","type":"string"}},"required":["requirement","change","title","language","source","at"],"title":"ComplianceRuleChange","type":"object"},"ComplianceShipmentIn":{"additionalProperties":false,"properties":{"reference":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"title":"Reference"},"ships_on":{"format":"date","title":"Ships On","type":"string"}},"required":["ships_on"],"title":"ComplianceShipmentIn","type":"object"},"ComplianceShipmentOut":{"properties":{"created_at":{"format":"date-time","title":"Created At","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"reminded_again_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Reminded Again At"},"ships_on":{"format":"date","title":"Ships On","type":"string"}},"required":["id","ships_on","reference","created_at","reminded_again_at"],"title":"ComplianceShipmentOut","type":"object"},"ComplianceUploadOut":{"properties":{"document":{"$ref":"#/components/schemas/ComplianceDocumentOut"},"upload":{"$ref":"#/components/schemas/ComplianceUploadTarget"}},"required":["document","upload"],"title":"ComplianceUploadOut","type":"object"},"ComplianceUploadTarget":{"properties":{"expires_at":{"format":"date-time","title":"Expires At","type":"string"},"headers":{"additionalProperties":{"type":"string"},"title":"Headers","type":"object"},"url":{"title":"Url","type":"string"}},"required":["url","headers","expires_at"],"title":"ComplianceUploadTarget","type":"object"},"ConsentIn":{"additionalProperties":false,"properties":{"channel":{"$ref":"#/components/schemas/Channel"},"granted":{"title":"Granted","type":"boolean"},"notice_version":{"pattern":"^[A-Za-z0-9._-]{1,32}$","title":"Notice Version","type":"string"},"purpose":{"$ref":"#/components/schemas/Purpose"}},"required":["channel","purpose","granted","notice_version"],"title":"ConsentIn","type":"object"},"ConsentOut":{"properties":{"channel":{"title":"Channel","type":"string"},"granted":{"title":"Granted","type":"boolean"},"notice_version":{"title":"Notice Version","type":"string"},"purpose":{"title":"Purpose","type":"string"},"recorded_at":{"format":"date-time","title":"Recorded At","type":"string"}},"required":["channel","purpose","granted","notice_version","recorded_at"],"title":"ConsentOut","type":"object"},"ContactPurpose":{"description":"What an official contact channel is for (the page names it in the reader's language).","enum":["general","membership","press","foreign_trade","trade_registry","training","projects"],"title":"ContactPurpose","type":"string"},"ConversationIn":{"additionalProperties":false,"properties":{"buyer_org_id":{"format":"uuid","title":"Buyer Org Id","type":"string"},"company_id":{"format":"uuid","title":"Company Id","type":"string"},"need_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Need Id"}},"required":["buyer_org_id","company_id"],"title":"ConversationIn","type":"object"},"ConversationNeed":{"description":"The need a conversation is about, as the conversation shows it: never the buyer's\nbudget, nor who the buyer is.","properties":{"brand":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand"},"certificates":{"items":{"type":"string"},"title":"Certificates","type":"array"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"deadline_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Deadline At"},"delivery_terms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Delivery Terms"},"destination_country":{"title":"Destination Country","type":"string"},"items":{"items":{"$ref":"#/components/schemas/ConversationNeedItem"},"title":"Items","type":"array"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"need_id":{"format":"uuid","title":"Need Id","type":"string"},"packaging":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Packaging"},"payment_terms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Terms"},"purpose":{"title":"Purpose","type":"string"},"title":{"title":"Title","type":"string"},"translated":{"anyOf":[{"$ref":"#/components/schemas/NeedText"},{"type":"null"}]},"translation":{"enum":["ready","pending","unavailable"],"title":"Translation","type":"string"}},"required":["need_id","title","purpose","items","city","destination_country","deadline_at","delivery_terms","payment_terms","brand","packaging","certificates","language","translated","translation"],"title":"ConversationNeed","type":"object"},"ConversationNeedItem":{"properties":{"description":{"title":"Description","type":"string"},"position":{"title":"Position","type":"integer"},"quantity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quantity"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"}},"required":["position","description","quantity","unit"],"title":"ConversationNeedItem","type":"object"},"ConversationOut":{"properties":{"company_id":{"format":"uuid","title":"Company Id","type":"string"},"company_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Name"},"company_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Slug"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"last_message_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Message At"},"need_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Need Id"},"own_org_id":{"format":"uuid","title":"Own Org Id","type":"string"},"own_org_name":{"title":"Own Org Name","type":"string"},"reply_language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reply Language"},"side":{"title":"Side","type":"string"},"status":{"title":"Status","type":"string"},"tag":{"enum":["purchase_request","question","partnership","offer_for_my_need","other"],"title":"Tag","type":"string"}},"required":["id","side","own_org_id","own_org_name","need_id","company_id","company_slug","company_name","status","last_message_at","created_at","tag"],"title":"ConversationOut","type":"object"},"CounterIn":{"additionalProperties":false,"properties":{"certificates":{"anyOf":[{"items":{"maxLength":60,"minLength":2,"type":"string"},"maxItems":10,"type":"array"},{"type":"null"}],"title":"Certificates"},"incoterm":{"anyOf":[{"enum":["EXW","FCA","CPT","CIP","DAP","DPU","DDP","FAS","FOB","CFR","CIF"],"type":"string"},{"type":"null"}],"title":"Incoterm"},"lines":{"items":{"$ref":"#/components/schemas/LineIn"},"maxItems":100,"minItems":1,"title":"Lines","type":"array"},"moq":{"anyOf":[{"$ref":"#/components/schemas/MoqIn"},{"type":"null"}]},"payment_terms":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Payment Terms"},"prepayment_pct":{"anyOf":[{"maximum":100,"minimum":0,"type":"integer"},{"type":"null"}],"title":"Prepayment Pct"},"sample":{"anyOf":[{"$ref":"#/components/schemas/SampleIn"},{"type":"null"}]},"terms":{"anyOf":[{"maxLength":2000,"type":"string"},{"type":"null"}],"title":"Terms"},"valid_until":{"format":"date","title":"Valid Until","type":"string"}},"required":["lines","valid_until"],"title":"CounterIn","type":"object"},"CountryBriefOut":{"description":"The Ministry of Trade's own facts on a country, with where each came from.","properties":{"agreements":{"items":{"$ref":"#/components/schemas/BriefAgreement"},"title":"Agreements","type":"array"},"agreements_date":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Agreements Date"},"agreements_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agreements Url"},"checked_on":{"format":"date","title":"Checked On","type":"string"},"country":{"title":"Country","type":"string"},"documents":{"items":{"$ref":"#/components/schemas/BriefDocument"},"title":"Documents","type":"array"},"figures":{"items":{"$ref":"#/components/schemas/BriefFigure"},"title":"Figures","type":"array"},"figures_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Figures Url"},"reports":{"items":{"$ref":"#/components/schemas/BriefReport"},"title":"Reports","type":"array"},"reports_count":{"title":"Reports Count","type":"integer"},"reports_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reports Url"}},"required":["country","figures","figures_url","agreements","agreements_url","agreements_date","reports","reports_url","reports_count","documents","checked_on"],"title":"CountryBriefOut","type":"object"},"CountryCount":{"properties":{"country":{"title":"Country","type":"string"},"opportunities":{"title":"Opportunities","type":"integer"}},"required":["country","opportunities"],"title":"CountryCount","type":"object"},"CreatedClientOut":{"properties":{"client_id":{"format":"uuid","title":"Client Id","type":"string"},"client_secret":{"title":"Client Secret","type":"string"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"last_token_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Token At"},"name":{"title":"Name","type":"string"},"permissions":{"items":{"type":"string"},"title":"Permissions","type":"array"},"revoked_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Revoked At"}},"required":["client_id","name","permissions","created_at","revoked_at","last_token_at","client_secret"],"title":"CreatedClientOut","type":"object"},"CreatedWebhookOut":{"properties":{"created_at":{"format":"date-time","title":"Created At","type":"string"},"disabled_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Disabled Reason"},"events":{"items":{"type":"string"},"title":"Events","type":"array"},"failing_since":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Failing Since"},"rotated_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Rotated At"},"secret":{"title":"Secret","type":"string"},"status":{"title":"Status","type":"string"},"url":{"title":"Url","type":"string"},"webhook_id":{"format":"uuid","title":"Webhook Id","type":"string"}},"required":["webhook_id","url","events","status","disabled_reason","failing_since","rotated_at","created_at","secret"],"title":"CreatedWebhookOut","type":"object"},"CredentialUsageOut":{"properties":{"credential_id":{"format":"uuid","title":"Credential Id","type":"string"},"kind":{"title":"Kind","type":"string"},"name":{"title":"Name","type":"string"},"requests":{"title":"Requests","type":"integer"}},"required":["credential_id","kind","name","requests"],"title":"CredentialUsageOut","type":"object"},"CreditIn":{"additionalProperties":false,"properties":{"term_days":{"maximum":365,"minimum":1,"title":"Term Days","type":"integer"}},"required":["term_days"],"title":"CreditIn","type":"object"},"CreditOut":{"properties":{"amount":{"title":"Amount","type":"string"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"currency":{"title":"Currency","type":"string"},"escrow_id":{"format":"uuid","title":"Escrow Id","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"offer":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Offer"},"signals_shared":{"title":"Signals Shared","type":"boolean"},"status":{"title":"Status","type":"string"},"term_days":{"title":"Term Days","type":"integer"}},"required":["id","escrow_id","status","amount","currency","term_days","offer","signals_shared","created_at"],"title":"CreditOut","type":"object"},"CustomerOut":{"properties":{"company_id":{"format":"uuid","title":"Company Id","type":"string"},"company_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Name"},"org_id":{"format":"uuid","title":"Org Id","type":"string"}},"required":["company_id","company_name","org_id"],"title":"CustomerOut","type":"object"},"CustomsLandedCostIn":{"additionalProperties":false,"properties":{"code":{"anyOf":[{"pattern":"^[0-9]{4,12}$","type":"string"},{"type":"null"}],"title":"Code"},"currency":{"default":"USD","pattern":"^[A-Z]{3}$","title":"Currency","type":"string"},"destination":{"anyOf":[{"pattern":"^[A-Z]{2}$","type":"string"},{"type":"null"}],"title":"Destination"},"duty_basis":{"anyOf":[{"enum":["cif","fob"],"type":"string"},{"type":"null"}],"title":"Duty Basis"},"duty_rate":{"anyOf":[{"maximum":5,"minimum":0,"type":"number"},{"type":"string"},{"type":"null"}],"title":"Duty Rate"},"freight":{"anyOf":[{"minimum":0,"type":"number"},{"type":"string"}],"default":"0","title":"Freight"},"goods_value":{"anyOf":[{"exclusiveMinimum":0,"type":"number"},{"type":"string"}],"title":"Goods Value"},"insurance":{"anyOf":[{"minimum":0,"type":"number"},{"type":"string"},{"type":"null"}],"title":"Insurance"},"other_charges":{"anyOf":[{"minimum":0,"type":"number"},{"type":"string"}],"default":"0","title":"Other Charges"},"quantity":{"anyOf":[{"exclusiveMinimum":0,"type":"number"},{"type":"string"},{"type":"null"}],"title":"Quantity"},"vat_rate":{"anyOf":[{"maximum":1,"minimum":0,"type":"number"},{"type":"string"},{"type":"null"}],"title":"Vat Rate"}},"required":["goods_value"],"title":"CustomsLandedCostIn","type":"object"},"CustomsLandedCostOut":{"properties":{"currency":{"title":"Currency","type":"string"},"customs_value":{"title":"Customs Value","type":"string"},"duty":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Duty"},"duty_basis":{"anyOf":[{"enum":["cif","fob"],"type":"string"},{"type":"null"}],"title":"Duty Basis"},"duty_checked_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Duty Checked On"},"duty_from":{"anyOf":[{"enum":["yours","recorded"],"type":"string"},{"type":"null"}],"title":"Duty From"},"duty_rate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Duty Rate"},"duty_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Duty Source"},"freight":{"title":"Freight","type":"string"},"goods":{"title":"Goods","type":"string"},"insurance":{"title":"Insurance","type":"string"},"insurance_estimated":{"title":"Insurance Estimated","type":"boolean"},"missing":{"items":{"enum":["duty_rate","vat_rate"],"type":"string"},"title":"Missing","type":"array"},"other_charges":{"title":"Other Charges","type":"string"},"per_unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Per Unit"},"total":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Total"},"vat":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vat"},"vat_checked_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Vat Checked On"},"vat_from":{"anyOf":[{"enum":["yours","recorded"],"type":"string"},{"type":"null"}],"title":"Vat From"},"vat_rate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vat Rate"},"vat_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vat Source"}},"required":["currency","goods","freight","insurance","insurance_estimated","customs_value","duty","duty_rate","duty_basis","duty_from","duty_source","duty_checked_on","vat","vat_rate","vat_from","vat_source","vat_checked_on","other_charges","total","per_unit","missing"],"title":"CustomsLandedCostOut","type":"object"},"CustomsRate":{"description":"A rate recorded with its official source and the day it was checked: a curator's, or\na duty loaded from the official schedule (for goods of Turkish origin), which then says\nhow it is made (``market.tariff_rate``; ``birlesa.customs.duties``).","properties":{"additional_rate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Additional Rate"},"basis":{"anyOf":[{"enum":["cif","fob"],"type":"string"},{"type":"null"}],"title":"Basis"},"checked_on":{"format":"date","title":"Checked On","type":"string"},"edition":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Edition"},"general_rate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"General Rate"},"measure":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Measure"},"quota":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quota"},"rate":{"title":"Rate","type":"string"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"source_url":{"title":"Source Url","type":"string"},"treatment":{"anyOf":[{"enum":["general","additional","preference","exception","mfn"],"type":"string"},{"type":"null"}],"title":"Treatment"}},"required":["rate","basis","source_url","checked_on"],"title":"CustomsRate","type":"object"},"CustomsRates":{"description":"What is recorded for a product in a country: its import duty and the country's\nimport VAT, each only where a curator recorded it.","properties":{"agreement":{"anyOf":[{"$ref":"#/components/schemas/TradeAgreementOut"},{"type":"null"}]},"agreement_list":{"anyOf":[{"$ref":"#/components/schemas/TradeAgreementList"},{"type":"null"}]},"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"destination":{"title":"Destination","type":"string"},"duty":{"anyOf":[{"$ref":"#/components/schemas/CustomsRate"},{"type":"null"}]},"vat":{"anyOf":[{"$ref":"#/components/schemas/CustomsRate"},{"type":"null"}]}},"required":["destination","code","duty","vat"],"title":"CustomsRates","type":"object"},"CustomsWatchCredit":{"description":"Where the figures come from, as the source's licence asks them to be credited.","properties":{"dataset":{"title":"Dataset","type":"string"},"dataset_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Url"},"licence_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Licence Url"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"notice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notice"},"released_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Released At"}},"required":["name","notice","licence_url","dataset","dataset_url","released_at"],"title":"CustomsWatchCredit","type":"object"},"CustomsWatchItem":{"properties":{"added":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Added"},"basis":{"enum":["reported","mirror"],"title":"Basis","type":"string"},"credit":{"$ref":"#/components/schemas/CustomsWatchCredit"},"currency":{"title":"Currency","type":"string"},"growth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Growth"},"heading":{"title":"Heading","type":"string"},"imports_12m":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Imports 12M"},"imports_prev_12m":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Imports Prev 12M"},"market":{"title":"Market","type":"string"},"market_min":{"default":1000000,"title":"Market Min","type":"integer"},"measure":{"enum":["extra_eu","world","turkiye_exports"],"title":"Measure","type":"string"},"month":{"title":"Month","type":"string"},"open":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Open"},"origins":{"items":{"$ref":"#/components/schemas/CustomsWatchOrigin"},"title":"Origins","type":"array"},"partner_basis":{"anyOf":[{"enum":["origin","consignment"],"type":"string"},{"type":"null"}],"title":"Partner Basis"},"reasons":{"items":{"enum":["incomplete","stale","size","growth","share"],"type":"string"},"title":"Reasons","type":"array"},"reporter":{"title":"Reporter","type":"string"},"sectors":{"items":{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},"title":"Sectors","type":"array"},"share":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Share"},"share_change":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Share Change"},"share_prev":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Share Prev"},"since":{"title":"Since","type":"string"},"stale_months":{"default":3,"title":"Stale Months","type":"integer"},"suppliers":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Suppliers"},"turkiye_12m":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Turkiye 12M"},"turkiye_growth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turkiye Growth"},"turkiye_prev_12m":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Turkiye Prev 12M"},"watched":{"default":[],"items":{"$ref":"#/components/schemas/CustomsWatchSupplier"},"title":"Watched","type":"array"}},"required":["market","heading","sectors","basis","measure","reporter","currency","month","since","imports_12m","imports_prev_12m","growth","added","turkiye_12m","turkiye_prev_12m","turkiye_growth","share","share_prev","share_change","origins","open","reasons","credit"],"title":"CustomsWatchItem","type":"object"},"CustomsWatchMonth":{"properties":{"imports":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Imports"},"month":{"title":"Month","type":"string"},"turkiye":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Turkiye"}},"required":["month","imports","turkiye"],"title":"CustomsWatchMonth","type":"object"},"CustomsWatchOrigin":{"properties":{"partner":{"title":"Partner","type":"string"},"share":{"title":"Share","type":"string"},"value":{"title":"Value","type":"integer"}},"required":["partner","value","share"],"title":"CustomsWatchOrigin","type":"object"},"CustomsWatchPage":{"properties":{"computed_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Computed At"},"data_through":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Through"},"items":{"items":{"$ref":"#/components/schemas/CustomsWatchItem"},"title":"Items","type":"array"},"methodology":{"title":"Methodology","type":"string"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"required":["computed_at","methodology","data_through","items","next_cursor"],"title":"CustomsWatchPage","type":"object"},"CustomsWatchRegion":{"description":"The Gulf, Iraq or Africa: Türkiye's exports there that grew (``scope=growing``), and\nthe imports that grew of its markets that report their own (Saudi Arabia, Qatar).","properties":{"growing":{"title":"Growing","type":"integer"},"markets":{"title":"Markets","type":"integer"},"region":{"enum":["gulf","iraq","africa"],"title":"Region","type":"string"},"reported_markets":{"default":[],"items":{"type":"string"},"title":"Reported Markets","type":"array"}},"required":["region","markets","growing"],"title":"CustomsWatchRegion","type":"object"},"CustomsWatchRising":{"description":"Where imports of what Türkiye makes grow (the demand page's first layer): the markets'\nown figures, the most demand the year added first.","properties":{"computed_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Computed At"},"data_through":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Through"},"growth_min":{"title":"Growth Min","type":"string"},"items":{"items":{"$ref":"#/components/schemas/CustomsWatchItem"},"title":"Items","type":"array"},"methodology":{"title":"Methodology","type":"string"}},"required":["computed_at","methodology","data_through","growth_min","items"],"title":"CustomsWatchRising","type":"object"},"CustomsWatchRule":{"description":"The open-market rule of the run's methodology, and what the lists suggest.","properties":{"export_min":{"default":50000000,"title":"Export Min","type":"integer"},"growing_min":{"default":"0.10","title":"Growing Min","type":"string"},"growth_min":{"title":"Growth Min","type":"string"},"late_months":{"default":9,"title":"Late Months","type":"integer"},"market_min":{"title":"Market Min","type":"integer"},"mirror_list_min":{"default":1000000,"title":"Mirror List Min","type":"integer"},"not_goods":{"default":["7106","7108","7110","7112","7118"],"items":{"type":"string"},"title":"Not Goods","type":"array"},"share_max":{"title":"Share Max","type":"string"},"stale_months":{"title":"Stale Months","type":"integer"},"turkiye_share_min":{"default":"0.01","title":"Turkiye Share Min","type":"string"},"window":{"title":"Window","type":"integer"}},"required":["growth_min","share_max","market_min","stale_months","window"],"title":"CustomsWatchRule","type":"object"},"CustomsWatchSectorCount":{"properties":{"open":{"title":"Open","type":"integer"},"sector":{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"title":"Sector","type":"string"},"series":{"title":"Series","type":"integer"}},"required":["sector","open","series"],"title":"CustomsWatchSectorCount","type":"object"},"CustomsWatchSeries":{"properties":{"added":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Added"},"basis":{"enum":["reported","mirror"],"title":"Basis","type":"string"},"computed_at":{"format":"date-time","title":"Computed At","type":"string"},"credit":{"$ref":"#/components/schemas/CustomsWatchCredit"},"currency":{"title":"Currency","type":"string"},"growth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Growth"},"heading":{"title":"Heading","type":"string"},"imports_12m":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Imports 12M"},"imports_prev_12m":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Imports Prev 12M"},"market":{"title":"Market","type":"string"},"market_min":{"default":1000000,"title":"Market Min","type":"integer"},"measure":{"enum":["extra_eu","world","turkiye_exports"],"title":"Measure","type":"string"},"methodology":{"title":"Methodology","type":"string"},"month":{"title":"Month","type":"string"},"months":{"items":{"$ref":"#/components/schemas/CustomsWatchMonth"},"title":"Months","type":"array"},"open":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Open"},"origins":{"items":{"$ref":"#/components/schemas/CustomsWatchOrigin"},"title":"Origins","type":"array"},"others_share":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Others Share"},"partner_basis":{"anyOf":[{"enum":["origin","consignment"],"type":"string"},{"type":"null"}],"title":"Partner Basis"},"reasons":{"items":{"enum":["incomplete","stale","size","growth","share"],"type":"string"},"title":"Reasons","type":"array"},"reporter":{"title":"Reporter","type":"string"},"sectors":{"items":{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},"title":"Sectors","type":"array"},"share":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Share"},"share_change":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Share Change"},"share_prev":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Share Prev"},"since":{"title":"Since","type":"string"},"stale_months":{"default":3,"title":"Stale Months","type":"integer"},"suppliers":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Suppliers"},"turkiye_12m":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Turkiye 12M"},"turkiye_growth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turkiye Growth"},"turkiye_prev_12m":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Turkiye Prev 12M"},"watched":{"default":[],"items":{"$ref":"#/components/schemas/CustomsWatchSupplier"},"title":"Watched","type":"array"}},"required":["market","heading","sectors","basis","measure","reporter","currency","month","since","imports_12m","imports_prev_12m","growth","added","turkiye_12m","turkiye_prev_12m","turkiye_growth","share","share_prev","share_change","origins","open","reasons","credit","months","others_share","computed_at","methodology"],"title":"CustomsWatchSeries","type":"object"},"CustomsWatchSummary":{"properties":{"computed_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Computed At"},"data_through":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Through"},"headings":{"title":"Headings","type":"integer"},"markets":{"title":"Markets","type":"integer"},"methodology":{"title":"Methodology","type":"string"},"mirror_markets":{"title":"Mirror Markets","type":"integer"},"open":{"title":"Open","type":"integer"},"open_markets":{"title":"Open Markets","type":"integer"},"regions":{"default":[],"items":{"$ref":"#/components/schemas/CustomsWatchRegion"},"title":"Regions","type":"array"},"rule":{"$ref":"#/components/schemas/CustomsWatchRule"},"sectors":{"items":{"$ref":"#/components/schemas/CustomsWatchSectorCount"},"title":"Sectors","type":"array"},"series":{"title":"Series","type":"integer"}},"required":["computed_at","methodology","data_through","open","open_markets","series","markets","mirror_markets","headings","sectors","rule"],"title":"CustomsWatchSummary","type":"object"},"CustomsWatchSupplier":{"description":"Türkiye or one of the rivals the customs brief names (China, India, Egypt) among the\nmarket's origins over the twelve months.","properties":{"partner":{"title":"Partner","type":"string"},"rank":{"title":"Rank","type":"integer"},"share":{"title":"Share","type":"string"},"value":{"title":"Value","type":"integer"}},"required":["partner","value","share","rank"],"title":"CustomsWatchSupplier","type":"object"},"DataGrantOut":{"properties":{"approved_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approved By"},"contract_ref":{"title":"Contract Ref","type":"string"},"ends_on":{"format":"date","title":"Ends On","type":"string"},"granted_by":{"title":"Granted By","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"live":{"title":"Live","type":"boolean"},"org_id":{"format":"uuid","title":"Org Id","type":"string"},"org_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Org Name"},"product":{"title":"Product","type":"string"},"review_due_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Review Due On"},"reviewed_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Reviewed At"},"revoke_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Revoke Reason"},"revoked_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Revoked At"},"starts_on":{"format":"date","title":"Starts On","type":"string"}},"required":["id","org_id","org_name","product","contract_ref","starts_on","ends_on","live","granted_by","approved_by","review_due_on","reviewed_at","revoked_at","revoke_reason"],"title":"DataGrantOut","type":"object"},"DataProductOut":{"properties":{"cadence":{"title":"Cadence","type":"string"},"description":{"title":"Description","type":"string"},"fields":{"items":{"type":"string"},"title":"Fields","type":"array"},"id":{"title":"Id","type":"string"},"name":{"title":"Name","type":"string"}},"required":["id","name","description","cadence","fields"],"title":"DataProductOut","type":"object"},"DataRequestIn":{"additionalProperties":false,"properties":{"details":{"maxLength":4000,"minLength":10,"title":"Details","type":"string"},"kind":{"$ref":"#/components/schemas/RequestKind"}},"required":["kind","details"],"title":"DataRequestIn","type":"object"},"DataRequestOut":{"properties":{"created_at":{"format":"date-time","title":"Created At","type":"string"},"details":{"title":"Details","type":"string"},"due_at":{"format":"date-time","title":"Due At","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"kind":{"title":"Kind","type":"string"},"resolved_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Resolved At"},"status":{"title":"Status","type":"string"}},"required":["id","kind","status","details","due_at","created_at","resolved_at"],"title":"DataRequestOut","type":"object"},"DayHours":{"properties":{"closes":{"title":"Closes","type":"string"},"day":{"enum":["mon","tue","wed","thu","fri","sat","sun"],"title":"Day","type":"string"},"opens":{"title":"Opens","type":"string"}},"required":["day","opens","closes"],"title":"DayHours","type":"object"},"DayIn":{"additionalProperties":false,"properties":{"closes":{"pattern":"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$","title":"Closes","type":"string"},"day":{"enum":["mon","tue","wed","thu","fri","sat","sun"],"title":"Day","type":"string"},"opens":{"pattern":"^(?:[01][0-9]|2[0-3]):[0-5][0-9]$","title":"Opens","type":"string"}},"required":["day","opens","closes"],"title":"DayIn","type":"object"},"DealListed":{"properties":{"amount":{"title":"Amount","type":"string"},"attribution":{"title":"Attribution","type":"string"},"buyer_country":{"title":"Buyer Country","type":"string"},"buyer_org_id":{"format":"uuid","title":"Buyer Org Id","type":"string"},"company_id":{"format":"uuid","title":"Company Id","type":"string"},"company_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Name"},"company_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Slug"},"conversation_id":{"format":"uuid","title":"Conversation Id","type":"string"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"currency":{"title":"Currency","type":"string"},"delivered_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Delivered At"},"delivered_via":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Delivered Via"},"destination_country":{"title":"Destination Country","type":"string"},"due_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Due At"},"escrow_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Escrow Status"},"hs_codes":{"items":{"type":"string"},"title":"Hs Codes","type":"array"},"id":{"format":"uuid","title":"Id","type":"string"},"review_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Review Status"},"reviewable_from":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Reviewable From"},"seller_org_id":{"format":"uuid","title":"Seller Org Id","type":"string"},"side":{"title":"Side","type":"string"},"status":{"title":"Status","type":"string"}},"required":["id","amount","currency","attribution","status","side","conversation_id","company_id","company_slug","company_name","created_at","reviewable_from","review_status","escrow_status","buyer_org_id","seller_org_id","buyer_country","destination_country","hs_codes"],"title":"DealListed","type":"object"},"DealOut":{"properties":{"amount":{"title":"Amount","type":"string"},"attribution":{"title":"Attribution","type":"string"},"currency":{"title":"Currency","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"status":{"title":"Status","type":"string"}},"required":["id","amount","currency","attribution","status"],"title":"DealOut","type":"object"},"DecisionOut":{"properties":{"deal":{"anyOf":[{"$ref":"#/components/schemas/DealOut"},{"type":"null"}]},"quote":{"$ref":"#/components/schemas/QuoteOut"}},"required":["quote","deal"],"title":"DecisionOut","type":"object"},"DeclineIn":{"additionalProperties":false,"properties":{"reason":{"anyOf":[{"enum":["not_relevant","capacity","lead_time","price","destination","other"],"type":"string"},{"type":"null"}],"title":"Reason"}},"title":"DeclineIn","type":"object"},"DeletionIn":{"additionalProperties":false,"properties":{"confirm":{"const":"DELETE","title":"Confirm","type":"string"}},"required":["confirm"],"title":"DeletionIn","type":"object"},"DemandOut":{"properties":{"methodology":{"title":"Methodology","type":"string"},"month":{"title":"Month","type":"string"},"series":{"items":{"$ref":"#/components/schemas/DemandSeriesOut"},"title":"Series","type":"array"}},"required":["month","methodology","series"],"title":"DemandOut","type":"object"},"DemandSeriesOut":{"properties":{"destination":{"title":"Destination","type":"string"},"forecast":{"items":{"additionalProperties":true,"type":"object"},"title":"Forecast","type":"array"},"heading":{"title":"Heading","type":"string"},"history":{"items":{"additionalProperties":true,"type":"object"},"title":"History","type":"array"},"relative_error":{"title":"Relative Error","type":"string"},"rising":{"title":"Rising","type":"boolean"}},"required":["heading","destination","history","forecast","relative_error","rising"],"title":"DemandSeriesOut","type":"object"},"DestinationCount":{"properties":{"country":{"title":"Country","type":"string"},"opportunities":{"title":"Opportunities","type":"integer"},"own":{"title":"Own","type":"integer"},"published":{"title":"Published","type":"integer"}},"required":["country","published","own","opportunities"],"title":"DestinationCount","type":"object"},"DirectoryCell":{"properties":{"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"city_key":{"title":"City Key","type":"string"},"companies":{"title":"Companies","type":"integer"},"nace":{"title":"Nace","type":"string"},"updated_at":{"format":"date-time","title":"Updated At","type":"string"}},"required":["nace","city_key","city","companies","updated_at"],"title":"DirectoryCell","type":"object"},"DirectoryPage":{"properties":{"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"city_key":{"title":"City Key","type":"string"},"companies":{"title":"Companies","type":"integer"},"indexable":{"title":"Indexable","type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/CompanyCard"},"title":"Items","type":"array"},"labels":{"anyOf":[{"$ref":"#/components/schemas/Labels"},{"type":"null"}]},"nace":{"title":"Nace","type":"string"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"updated_at":{"format":"date-time","title":"Updated At","type":"string"}},"required":["nace","city_key","city","companies","updated_at","labels","indexable","items","next_cursor"],"title":"DirectoryPage","type":"object"},"DirectorySlice":{"properties":{"items":{"items":{"$ref":"#/components/schemas/DirectoryCell"},"title":"Items","type":"array"},"next_after":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next After"}},"required":["items","next_after"],"title":"DirectorySlice","type":"object"},"Dismissed":{"properties":{"dismissed":{"title":"Dismissed","type":"integer"}},"required":["dismissed"],"title":"Dismissed","type":"object"},"DisputeIn":{"additionalProperties":false,"properties":{"claimed_amount":{"anyOf":[{"exclusiveMinimum":0,"type":"number"},{"type":"string"},{"type":"null"}],"title":"Claimed Amount"},"reason":{"enum":["not_delivered","not_as_described","damaged","late","other"],"title":"Reason","type":"string"},"statement":{"maxLength":10000,"minLength":10,"title":"Statement","type":"string"}},"required":["reason","statement"],"title":"DisputeIn","type":"object"},"DisputeOut":{"properties":{"claimed_amount":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Claimed Amount"},"currency":{"title":"Currency","type":"string"},"decide_by":{"format":"date-time","title":"Decide By","type":"string"},"decision":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Decision"},"escrow_id":{"format":"uuid","title":"Escrow Id","type":"string"},"evidence":{"items":{"$ref":"#/components/schemas/EvidenceOut"},"title":"Evidence","type":"array"},"id":{"format":"uuid","title":"Id","type":"string"},"my_side":{"title":"My Side","type":"string"},"reason":{"title":"Reason","type":"string"},"respond_by":{"format":"date-time","title":"Respond By","type":"string"},"side":{"title":"Side","type":"string"},"status":{"title":"Status","type":"string"}},"required":["id","escrow_id","side","my_side","currency","reason","claimed_amount","status","respond_by","decide_by","decision","evidence"],"title":"DisputeOut","type":"object"},"DocumentKind":{"enum":["export_invoice","customs_declaration","expense_invoice","proof_of_payment","other"],"title":"DocumentKind","type":"string"},"DraftApproval":{"additionalProperties":false,"properties":{"draft_ids":{"items":{"format":"uuid","type":"string"},"maxItems":200,"minItems":1,"title":"Draft Ids","type":"array"},"role":{"anyOf":[{"$ref":"#/components/schemas/ProductRole"},{"type":"null"}]}},"required":["draft_ids"],"title":"DraftApproval","type":"object"},"DraftIds":{"additionalProperties":false,"properties":{"draft_ids":{"items":{"format":"uuid","type":"string"},"maxItems":200,"minItems":1,"title":"Draft Ids","type":"array"}},"required":["draft_ids"],"title":"DraftIds","type":"object"},"DraftLineIn":{"additionalProperties":false,"properties":{"description":{"maxLength":500,"minLength":1,"title":"Description","type":"string"},"lead_time_days":{"anyOf":[{"maximum":730,"minimum":0,"type":"integer"},{"type":"null"}],"title":"Lead Time Days"},"moq":{"anyOf":[{"$ref":"#/components/schemas/MoqIn"},{"type":"null"}]},"product_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Product Id"},"quantity":{"anyOf":[{"exclusiveMinimum":0,"type":"number"},{"type":"string"},{"type":"null"}],"title":"Quantity"},"unit":{"anyOf":[{"maxLength":32,"minLength":1,"type":"string"},{"type":"null"}],"title":"Unit"},"unit_price":{"anyOf":[{"minimum":0,"type":"number"},{"type":"string"},{"type":"null"}],"title":"Unit Price"}},"required":["description"],"title":"DraftLineIn","type":"object"},"DraftMessage":{"properties":{"language":{"title":"Language","type":"string"},"preview":{"anyOf":[{"$ref":"#/components/schemas/MessageText"},{"type":"null"}]},"text":{"title":"Text","type":"string"}},"required":["language","text","preview"],"title":"DraftMessage","type":"object"},"DraftOut":{"properties":{"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"duplicate_of":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Duplicate Of"},"hs_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hs Code"},"id":{"format":"uuid","title":"Id","type":"string"},"min_order":{"anyOf":[{"$ref":"#/components/schemas/Quantity"},{"type":"null"}]},"name":{"title":"Name","type":"string"},"price":{"anyOf":[{"$ref":"#/components/schemas/Price"},{"type":"null"}]},"product_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Product Id"},"spec":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Spec"},"status":{"enum":["draft","approved","dismissed"],"title":"Status","type":"string"}},"required":["id","status","name","spec","category","hs_code","min_order","price","product_id","duplicate_of"],"title":"DraftOut","type":"object"},"DutyRange":{"properties":{"basis":{"enum":["ad_valorem","specific"],"title":"Basis","type":"string"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"high":{"title":"High","type":"string"},"low":{"title":"Low","type":"string"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"}},"required":["low","high","basis","unit","currency"],"title":"DutyRange","type":"object"},"EdgeItem":{"properties":{"compared_share":{"title":"Compared Share","type":"string"},"currency":{"title":"Currency","type":"string"},"duties":{"$ref":"#/components/schemas/EdgeSource"},"edge":{"title":"Edge","type":"string"},"heading":{"title":"Heading","type":"string"},"imports":{"$ref":"#/components/schemas/EdgeSource"},"imports_12m":{"title":"Imports 12M","type":"integer"},"month":{"format":"date","title":"Month","type":"string"},"origins":{"items":{"$ref":"#/components/schemas/EdgeOrigin"},"title":"Origins","type":"array"},"sectors":{"items":{"type":"string"},"title":"Sectors","type":"array"},"turkiye_added":{"title":"Turkiye Added","type":"string"},"turkiye_rank":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Turkiye Rank"},"turkiye_share":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turkiye Share"},"turkiye_value":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Turkiye Value"}},"required":["heading","month","currency","imports_12m","turkiye_value","turkiye_share","turkiye_rank","turkiye_added","edge","compared_share","origins","sectors","duties","imports"],"title":"EdgeItem","type":"object"},"EdgeList":{"properties":{"computed_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Computed At"},"items":{"items":{"$ref":"#/components/schemas/EdgeItem"},"title":"Items","type":"array"},"min_edge":{"title":"Min Edge","type":"string"},"min_imports":{"title":"Min Imports","type":"integer"},"rule":{"title":"Rule","type":"string"},"total":{"title":"Total","type":"integer"}},"required":["items","total","computed_at","rule","min_edge","min_imports"],"title":"EdgeList","type":"object"},"EdgeOrigin":{"properties":{"above":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Above"},"added":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Added"},"basis":{"title":"Basis","type":"string"},"heading":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Heading"},"partner":{"title":"Partner","type":"string"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"share":{"title":"Share","type":"string"},"value":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Value"}},"required":["partner","share","value","basis","added","above","heading","reason"],"title":"EdgeOrigin","type":"object"},"EdgeSource":{"properties":{"edition":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Edition"},"month":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Month"},"name":{"title":"Name","type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"}},"required":["name","url"],"title":"EdgeSource","type":"object"},"EscrowOut":{"properties":{"amount":{"title":"Amount","type":"string"},"auto_release_days":{"title":"Auto Release Days","type":"integer"},"currency":{"title":"Currency","type":"string"},"deal_id":{"format":"uuid","title":"Deal Id","type":"string"},"delivered_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Delivered At"},"dispute_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Dispute Id"},"dispute_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dispute Status"},"fee_amount":{"title":"Fee Amount","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"payment_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Url"},"refunded_amount":{"title":"Refunded Amount","type":"string"},"released_amount":{"title":"Released Amount","type":"string"},"side":{"title":"Side","type":"string"},"status":{"title":"Status","type":"string"}},"required":["id","deal_id","status","currency","amount","fee_amount","released_amount","refunded_amount","payment_url","delivered_at","auto_release_days","side"],"title":"EscrowOut","type":"object"},"EventIn":{"additionalProperties":false,"properties":{"event":{"enum":["scorecard_view","whatsapp_share","code_country_view","code_country_google","widget_open","widget_search","widget_contact","demo_play","demo_then_own"],"title":"Event","type":"string"},"ref":{"maxLength":64,"minLength":1,"title":"Ref","type":"string"}},"required":["event","ref"],"title":"EventIn","type":"object"},"EventReply":{"description":"A page manager's answer to an event, shown next to it once a moderator published it.","properties":{"published_on":{"format":"date","title":"Published On","type":"string"},"text":{"title":"Text","type":"string"}},"required":["text","published_on"],"title":"EventReply","type":"object"},"EventReplyIn":{"additionalProperties":false,"properties":{"text":{"maxLength":1000,"minLength":10,"title":"Text","type":"string"}},"required":["text"],"title":"EventReplyIn","type":"object"},"EventReplyOut":{"properties":{"attempts_left":{"title":"Attempts Left","type":"integer"},"event_id":{"format":"uuid","title":"Event Id","type":"string"},"published_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Published At"},"status":{"title":"Status","type":"string"},"text":{"title":"Text","type":"string"},"written_at":{"format":"date-time","title":"Written At","type":"string"}},"required":["event_id","status","text","written_at","published_at","attempts_left"],"title":"EventReplyOut","type":"object"},"EvidenceIn":{"additionalProperties":false,"properties":{"kind":{"default":"statement","enum":["statement","shipping","inspection","photo","document"],"title":"Kind","type":"string"},"text":{"maxLength":10000,"minLength":1,"title":"Text","type":"string"}},"required":["text"],"title":"EvidenceIn","type":"object"},"EvidenceKind":{"enum":["tax_certificate","signature_circular","id_document","authorization_letter","other"],"title":"EvidenceKind","type":"string"},"EvidenceOut":{"properties":{"created_at":{"format":"date-time","title":"Created At","type":"string"},"kind":{"title":"Kind","type":"string"},"side":{"title":"Side","type":"string"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"}},"required":["side","kind","text","created_at"],"title":"EvidenceOut","type":"object"},"ExportPage":{"properties":{"agreement":{"anyOf":[{"$ref":"#/components/schemas/TradeAgreementOut"},{"type":"null"}]},"agreement_list":{"anyOf":[{"$ref":"#/components/schemas/TradeAgreementList"},{"type":"null"}]},"buyers":{"anyOf":[{"$ref":"#/components/schemas/ExportPageBuyers"},{"type":"null"}]},"code":{"title":"Code","type":"string"},"computed_at":{"format":"date-time","title":"Computed At","type":"string"},"documents":{"anyOf":[{"$ref":"#/components/schemas/ExportPageDocuments"},{"type":"null"}]},"duty":{"anyOf":[{"$ref":"#/components/schemas/ScorecardTariff"},{"type":"null"}]},"exports":{"anyOf":[{"$ref":"#/components/schemas/ScorecardExports"},{"type":"null"}]},"facts":{"items":{"enum":["market","duty","documents","buyers","signals"],"type":"string"},"title":"Facts","type":"array"},"heading_title":{"$ref":"#/components/schemas/GtipTitle"},"language":{"enum":["tr","en","ar","fa"],"title":"Language","type":"string"},"lines":{"items":{"$ref":"#/components/schemas/ExportPageLine"},"title":"Lines","type":"array"},"market":{"title":"Market","type":"string"},"markets":{"items":{"type":"string"},"title":"Markets","type":"array"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"signals":{"anyOf":[{"$ref":"#/components/schemas/ExportPageSignals"},{"type":"null"}]},"sources":{"items":{"$ref":"#/components/schemas/GtipSource"},"title":"Sources","type":"array"},"title":{"$ref":"#/components/schemas/GtipTitle"},"trade":{"$ref":"#/components/schemas/ExportPageTrade"}},"required":["code","market","language","name","title","heading_title","sources","lines","exports","trade","duty","documents","buyers","signals","facts","markets","computed_at"],"title":"ExportPage","type":"object"},"ExportPageBuyers":{"description":"Open public tenders and purchase requests for goods, going to the market, whose items\ncarry the code on its line (the scorecard's buyers, ``facts.on_line``): counts only.","properties":{"count":{"title":"Count","type":"integer"},"next_deadline":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Next Deadline"},"subheading":{"title":"Subheading","type":"integer"}},"required":["count","subheading","next_deadline"],"title":"ExportPageBuyers","type":"object"},"ExportPageDestination":{"properties":{"destination":{"title":"Destination","type":"string"},"kinds":{"items":{"enum":["certification","document","labeling","sps","technical"],"type":"string"},"title":"Kinds","type":"array"},"mandatory":{"title":"Mandatory","type":"integer"},"requirements":{"title":"Requirements","type":"integer"}},"required":["destination","requirements","mandatory","kinds"],"title":"ExportPageDestination","type":"object"},"ExportPageDocuments":{"description":"Published requirements for the code that reach the market (its own and its blocs'):\ncounts and kinds only; each requirement's text is a member's (``/v1/scorecard``).","properties":{"checked_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Checked On"},"destinations":{"items":{"$ref":"#/components/schemas/ExportPageDestination"},"title":"Destinations","type":"array"}},"required":["destinations","checked_on"],"title":"ExportPageDocuments","type":"object"},"ExportPageEntry":{"properties":{"code":{"title":"Code","type":"string"},"currency":{"title":"Currency","type":"string"},"market":{"title":"Market","type":"string"},"month":{"title":"Month","type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"turkiye_12m":{"title":"Turkiye 12M","type":"integer"}},"required":["code","market","name","turkiye_12m","currency","month"],"title":"ExportPageEntry","type":"object"},"ExportPageLine":{"description":"A 12-digit national line of the tariff under the page's subheading.","properties":{"code":{"title":"Code","type":"string"},"title":{"$ref":"#/components/schemas/GtipTitle"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"}},"required":["code","title","unit"],"title":"ExportPageLine","type":"object"},"ExportPageList":{"description":"The published pages (the selection's codes in their order, each in the markets'\norder), and how many each market has.","properties":{"codes":{"title":"Codes","type":"integer"},"computed_at":{"format":"date-time","title":"Computed At","type":"string"},"data_through":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Data Through"},"exports_min":{"title":"Exports Min","type":"integer"},"items":{"items":{"$ref":"#/components/schemas/ExportPageEntry"},"title":"Items","type":"array"},"markets":{"items":{"$ref":"#/components/schemas/ExportPageMarketCount"},"title":"Markets","type":"array"}},"required":["items","markets","codes","exports_min","data_through","computed_at"],"title":"ExportPageList","type":"object"},"ExportPageMarketCount":{"properties":{"market":{"title":"Market","type":"string"},"published":{"title":"Published","type":"integer"}},"required":["market","published"],"title":"ExportPageMarketCount","type":"object"},"ExportPageMonth":{"properties":{"imports":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Imports"},"month":{"title":"Month","type":"string"},"turkiye":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Turkiye"}},"required":["month","turkiye","imports"],"title":"ExportPageMonth","type":"object"},"ExportPageOrigin":{"properties":{"partner":{"title":"Partner","type":"string"},"share":{"title":"Share","type":"string"},"value":{"title":"Value","type":"integer"}},"required":["partner","value","share"],"title":"ExportPageOrigin","type":"object"},"ExportPageSignals":{"description":"Active buying signals in the market for the heading (``/v1/signals?hs=&country=``).","properties":{"count":{"title":"Count","type":"integer"},"heading":{"title":"Heading","type":"string"},"latest_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Latest At"}},"required":["count","heading","latest_at"],"title":"ExportPageSignals","type":"object"},"ExportPageTrade":{"description":"Türkiye's trade with the market in the page's heading over the twelve months (the\nstatistics go no deeper than the heading), from the customs watch's latest run.","properties":{"basis":{"enum":["reported","mirror"],"title":"Basis","type":"string"},"computed_at":{"format":"date-time","title":"Computed At","type":"string"},"credit":{"$ref":"#/components/schemas/CustomsWatchCredit"},"currency":{"title":"Currency","type":"string"},"growth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Growth"},"heading":{"title":"Heading","type":"string"},"imports_12m":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Imports 12M"},"imports_prev_12m":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Imports Prev 12M"},"measure":{"enum":["extra_eu","world","turkiye_exports"],"title":"Measure","type":"string"},"month":{"title":"Month","type":"string"},"months":{"items":{"$ref":"#/components/schemas/ExportPageMonth"},"title":"Months","type":"array"},"origins":{"items":{"$ref":"#/components/schemas/ExportPageOrigin"},"title":"Origins","type":"array"},"rank":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rank"},"reporter":{"title":"Reporter","type":"string"},"share":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Share"},"share_prev":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Share Prev"},"since":{"title":"Since","type":"string"},"suppliers":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Suppliers"},"turkiye_12m":{"title":"Turkiye 12M","type":"integer"},"turkiye_growth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turkiye Growth"},"turkiye_prev_12m":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Turkiye Prev 12M"}},"required":["heading","basis","reporter","measure","currency","month","since","turkiye_12m","turkiye_prev_12m","turkiye_growth","imports_12m","imports_prev_12m","growth","share","share_prev","origins","months","credit","computed_at"],"title":"ExportPageTrade","type":"object"},"ExportPanelCredit":{"description":"Where every figure of the panel comes from, as the source's licence asks it to be\ncredited: the same dataset and release for each.","properties":{"dataset":{"title":"Dataset","type":"string"},"dataset_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Url"},"licence_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Licence Url"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"notice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notice"},"released_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Released At"},"reporter":{"const":"TR","default":"TR","title":"Reporter","type":"string"}},"required":["name","notice","licence_url","dataset","dataset_url","released_at"],"title":"ExportPanelCredit","type":"object"},"ExportPanelHeading":{"properties":{"growth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Growth"},"heading":{"title":"Heading","type":"string"},"last":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Last"},"market_share":{"anyOf":[{"$ref":"#/components/schemas/ExportPanelHeadingShare"},{"type":"null"}]},"months":{"items":{"anyOf":[{"type":"integer"},{"type":"null"}]},"title":"Months","type":"array"},"previous":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Previous"},"share":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Share"},"title":{"anyOf":[{"$ref":"#/components/schemas/GtipTitle"},{"type":"null"}]},"value":{"title":"Value","type":"integer"}},"required":["heading","title","value","previous","growth","share","last","months"],"title":"ExportPanelHeading","type":"object"},"ExportPanelHeadingShare":{"description":"The market's own imports of one heading (Customs watch's series on its own figures):\nTürkiye's share and rank against China, India and Egypt, over the market's newest twelve\nmonths, which can end before the panel's month (UN Comtrade's Saudi Arabia is months\nbehind Eurostat).","properties":{"currency":{"title":"Currency","type":"string"},"first":{"title":"First","type":"string"},"imports":{"title":"Imports","type":"integer"},"last":{"title":"Last","type":"string"},"partners":{"items":{"$ref":"#/components/schemas/ExportPanelRival"},"title":"Partners","type":"array"},"suppliers":{"title":"Suppliers","type":"integer"}},"required":["first","last","imports","currency","suppliers","partners"],"title":"ExportPanelHeadingShare","type":"object"},"ExportPanelLastMonth":{"properties":{"growth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Growth"},"month":{"title":"Month","type":"string"},"previous":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Previous"},"previous_month":{"title":"Previous Month","type":"string"},"value":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Value"}},"required":["month","previous_month","value","previous","growth"],"title":"ExportPanelLastMonth","type":"object"},"ExportPanelList":{"description":"The markets with a panel, in the product plan's order (Saudi Arabia first).","properties":{"credit":{"anyOf":[{"$ref":"#/components/schemas/ExportPanelCredit"},{"type":"null"}]},"items":{"items":{"$ref":"#/components/schemas/ExportPanelSummary"},"title":"Items","type":"array"}},"required":["items","credit"],"title":"ExportPanelList","type":"object"},"ExportPanelMonthValue":{"properties":{"month":{"title":"Month","type":"string"},"value":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Value"}},"required":["month","value"],"title":"ExportPanelMonthValue","type":"object"},"ExportPanelNewsItem":{"properties":{"headline":{"title":"Headline","type":"string"},"published_on":{"format":"date","title":"Published On","type":"string"},"url":{"title":"Url","type":"string"}},"required":["headline","url","published_on"],"title":"ExportPanelNewsItem","type":"object"},"ExportPanelOfficial":{"description":"The Ministry of Trade's newest monthly release (provisional, general trade system):\nTürkiye's exports in the month and the year to date, the market's own where it is among\nthe 20 countries listed, the release's item and the newest daily export record.","properties":{"credit":{"$ref":"#/components/schemas/TradeStatsCredit"},"currency":{"title":"Currency","type":"string"},"market":{"anyOf":[{"$ref":"#/components/schemas/ExportPanelOfficialMarket"},{"type":"null"}]},"month":{"title":"Month","type":"string"},"record":{"anyOf":[{"$ref":"#/components/schemas/ExportPanelRecord"},{"type":"null"}]},"release":{"anyOf":[{"$ref":"#/components/schemas/ExportPanelNewsItem"},{"type":"null"}]},"turkiye":{"$ref":"#/components/schemas/ExportPanelOfficialFigures"}},"required":["month","currency","turkiye","market","release","record","credit"],"title":"ExportPanelOfficial","type":"object"},"ExportPanelOfficialFigures":{"properties":{"last_month":{"$ref":"#/components/schemas/TradeStatsFigure"},"year_to_date":{"$ref":"#/components/schemas/TradeStatsFigure"}},"required":["last_month","year_to_date"],"title":"ExportPanelOfficialFigures","type":"object"},"ExportPanelOfficialMarket":{"properties":{"last_month":{"$ref":"#/components/schemas/TradeStatsFigure"},"rank":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rank"},"year_to_date":{"$ref":"#/components/schemas/TradeStatsFigure"}},"required":["last_month","year_to_date","rank"],"title":"ExportPanelOfficialMarket","type":"object"},"ExportPanelPeriod":{"description":"A run of months (the year to date, the last twelve) against the same months a year\nbefore. ``value`` is ``None`` when a month of it was not read.","properties":{"first":{"title":"First","type":"string"},"growth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Growth"},"last":{"title":"Last","type":"string"},"previous":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Previous"},"previous_first":{"title":"Previous First","type":"string"},"previous_last":{"title":"Previous Last","type":"string"},"value":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Value"}},"required":["first","last","previous_first","previous_last","value","previous","growth"],"title":"ExportPanelPeriod","type":"object"},"ExportPanelRecord":{"properties":{"day":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Day"},"headline":{"title":"Headline","type":"string"},"published_on":{"format":"date","title":"Published On","type":"string"},"url":{"title":"Url","type":"string"},"value":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Value"}},"required":["headline","url","published_on","day","value"],"title":"ExportPanelRecord","type":"object"},"ExportPanelRival":{"description":"Türkiye or a rival the customs brief names among the market's own origins.","properties":{"partner":{"title":"Partner","type":"string"},"rank":{"title":"Rank","type":"integer"},"share":{"title":"Share","type":"string"}},"required":["partner","share","rank"],"title":"ExportPanelRival","type":"object"},"ExportPanelSameWeek":{"description":"TİM's newest month for the market (export registrations, out about the 3rd): the\nmonth and the year to date against a year before, and the largest sectors.","properties":{"credit":{"$ref":"#/components/schemas/TradeStatsCredit"},"currency":{"title":"Currency","type":"string"},"last_month":{"$ref":"#/components/schemas/ExportPanelSameWeekMonth"},"month":{"title":"Month","type":"string"},"sectors":{"items":{"$ref":"#/components/schemas/ExportPanelSector"},"title":"Sectors","type":"array"},"sectors_counted":{"title":"Sectors Counted","type":"integer"},"sectors_credit":{"anyOf":[{"$ref":"#/components/schemas/TradeStatsCredit"},{"type":"null"}]},"year_to_date":{"$ref":"#/components/schemas/ExportPanelSameWeekPeriod"}},"required":["month","currency","last_month","year_to_date","sectors","sectors_counted","credit"],"title":"ExportPanelSameWeek","type":"object"},"ExportPanelSameWeekMonth":{"properties":{"growth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Growth"},"month":{"title":"Month","type":"string"},"previous":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Previous"},"previous_month":{"title":"Previous Month","type":"string"},"value":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Value"}},"required":["value","previous","growth","month","previous_month"],"title":"ExportPanelSameWeekMonth","type":"object"},"ExportPanelSameWeekPeriod":{"properties":{"first":{"title":"First","type":"string"},"growth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Growth"},"last":{"title":"Last","type":"string"},"previous":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Previous"},"value":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Value"}},"required":["value","previous","growth","first","last"],"title":"ExportPanelSameWeekPeriod","type":"object"},"ExportPanelSector":{"properties":{"growth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Growth"},"last":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Last"},"previous":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Previous"},"sector":{"title":"Sector","type":"string"},"share":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Share"},"value":{"title":"Value","type":"integer"}},"required":["sector","value","previous","growth","share","last"],"title":"ExportPanelSector","type":"object"},"ExportPanelShare":{"description":"Who supplies the market, from its own imports by partner: the newest twelve months\n(``twelve_months``), or the newest month where the source lists only its 20 largest\npartners (``month``, Kuwait's CSB).","properties":{"basis":{"enum":["twelve_months","month"],"title":"Basis","type":"string"},"credit":{"$ref":"#/components/schemas/TradeStatsCredit"},"currency":{"title":"Currency","type":"string"},"first":{"title":"First","type":"string"},"last":{"title":"Last","type":"string"},"partners":{"items":{"$ref":"#/components/schemas/ExportPanelSupplier"},"title":"Partners","type":"array"},"previous_total":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Previous Total"},"reporter":{"title":"Reporter","type":"string"},"source":{"title":"Source","type":"string"},"suppliers":{"title":"Suppliers","type":"integer"},"total":{"title":"Total","type":"integer"},"turkiye":{"anyOf":[{"$ref":"#/components/schemas/ExportPanelSupplier"},{"type":"null"}]}},"required":["reporter","source","currency","basis","first","last","total","previous_total","suppliers","partners","turkiye","credit"],"title":"ExportPanelShare","type":"object"},"ExportPanelSummary":{"description":"A market's last month, for menus and links.","properties":{"currency":{"title":"Currency","type":"string"},"growth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Growth"},"market":{"title":"Market","type":"string"},"month":{"title":"Month","type":"string"},"previous":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Previous"},"value":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Value"}},"required":["market","month","currency","value","previous","growth"],"title":"ExportPanelSummary","type":"object"},"ExportPanelSupplier":{"properties":{"partner":{"title":"Partner","type":"string"},"previous_share":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Previous Share"},"rank":{"title":"Rank","type":"integer"},"share":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Share"},"value":{"title":"Value","type":"integer"}},"required":["partner","value","share","previous_share","rank"],"title":"ExportPanelSupplier","type":"object"},"ExportPanelView":{"description":"One market's panel: Türkiye's exports there, up to the newest month shown.","properties":{"agreement":{"anyOf":[{"$ref":"#/components/schemas/TradeAgreementOut"},{"type":"null"}]},"agreement_list":{"anyOf":[{"$ref":"#/components/schemas/TradeAgreementList"},{"type":"null"}]},"computed_at":{"format":"date-time","title":"Computed At","type":"string"},"credit":{"$ref":"#/components/schemas/ExportPanelCredit"},"currency":{"title":"Currency","type":"string"},"last_month":{"$ref":"#/components/schemas/ExportPanelLastMonth"},"last_year":{"anyOf":[{"$ref":"#/components/schemas/ExportPanelPeriod"},{"type":"null"}]},"market":{"title":"Market","type":"string"},"market_share":{"anyOf":[{"$ref":"#/components/schemas/ExportPanelShare"},{"type":"null"}]},"methodology":{"title":"Methodology","type":"string"},"month":{"title":"Month","type":"string"},"months":{"items":{"$ref":"#/components/schemas/ExportPanelMonthValue"},"title":"Months","type":"array"},"newest":{"title":"Newest","type":"string"},"not_ranked":{"items":{"type":"string"},"title":"Not Ranked","type":"array"},"official":{"anyOf":[{"$ref":"#/components/schemas/ExportPanelOfficial"},{"type":"null"}]},"pending":{"items":{"type":"string"},"title":"Pending","type":"array"},"same_week":{"anyOf":[{"$ref":"#/components/schemas/ExportPanelSameWeek"},{"type":"null"}]},"top":{"items":{"$ref":"#/components/schemas/ExportPanelHeading"},"title":"Top","type":"array"},"top_shares_credit":{"anyOf":[{"$ref":"#/components/schemas/TradeStatsCredit"},{"type":"null"}]},"twelve_months":{"$ref":"#/components/schemas/ExportPanelPeriod"},"year_to_date":{"$ref":"#/components/schemas/ExportPanelPeriod"}},"required":["market","currency","month","newest","pending","methodology","computed_at","last_month","year_to_date","twelve_months","top","months","not_ranked","credit"],"title":"ExportPanelView","type":"object"},"ExportReady":{"description":"A destination the company is ready for, by evidence a staff member verified (never its\nword): a readiness case's product certificate (``pcoc``: the products it covers) or the\npage's SABER certificate (``saber``, the company only).","properties":{"destination":{"const":"SA","title":"Destination","type":"string"},"evidence":{"items":{"enum":["pcoc","saber"],"type":"string"},"title":"Evidence","type":"array"},"products":{"items":{"format":"uuid","type":"string"},"title":"Products","type":"array"},"valid_until":{"format":"date","title":"Valid Until","type":"string"}},"required":["destination","products","valid_until","evidence"],"title":"ExportReady","type":"object"},"ExporterCompany":{"properties":{"name":{"title":"Name","type":"string"},"slug":{"title":"Slug","type":"string"}},"required":["slug","name"],"title":"ExporterCompany","type":"object"},"ExportersCredit":{"description":"TİM's credit, as the list's licence asks it to be shown with the list.","properties":{"licence_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Licence Url"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"notice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notice"}},"required":["name","notice","licence_url"],"title":"ExportersCredit","type":"object"},"ExtendIn":{"additionalProperties":false,"properties":{"days":{"maximum":60,"minimum":1,"title":"Days","type":"integer"}},"required":["days"],"title":"ExtendIn","type":"object"},"Facet":{"properties":{"count":{"title":"Count","type":"integer"},"value":{"title":"Value","type":"string"}},"required":["value","count"],"title":"Facet","type":"object"},"FactKey":{"description":"The facts the quick setup after a claim asks the new owner to check.","enum":["official_title","address","main_activity","public_phone","website"],"title":"FactKey","type":"string"},"FactOut":{"properties":{"editable":{"title":"Editable","type":"boolean"},"key":{"title":"Key","type":"string"},"observed_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Observed At"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"source_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Name"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"value":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Value"}},"required":["key","value","source","source_name","observed_at","editable","status"],"title":"FactOut","type":"object"},"FactValueIn":{"additionalProperties":false,"properties":{"value":{"maxLength":512,"minLength":1,"title":"Value","type":"string"}},"required":["value"],"title":"FactValueIn","type":"object"},"FactoryVideo":{"properties":{"provider":{"enum":["youtube","vimeo","website"],"title":"Provider","type":"string"},"url":{"title":"Url","type":"string"}},"required":["url","provider"],"title":"FactoryVideo","type":"object"},"FactsOut":{"properties":{"confirmed":{"title":"Confirmed","type":"integer"},"facts":{"items":{"$ref":"#/components/schemas/FactOut"},"title":"Facts","type":"array"},"progress":{"title":"Progress","type":"number"},"total":{"title":"Total","type":"integer"}},"required":["facts","confirmed","total","progress"],"title":"FactsOut","type":"object"},"Features":{"description":"What this deployment has switched on, so the panel shows only what works.","properties":{"agent":{"title":"Agent","type":"boolean"},"credit":{"title":"Credit","type":"boolean"},"escrow":{"title":"Escrow","type":"boolean"},"federation":{"default":false,"title":"Federation","type":"boolean"},"kep_offered":{"default":false,"title":"Kep Offered","type":"boolean"},"sandbox":{"default":false,"title":"Sandbox","type":"boolean"},"transfers_offered":{"default":false,"title":"Transfers Offered","type":"boolean"},"whatsapp":{"title":"Whatsapp","type":"boolean"}},"required":["agent","whatsapp","escrow","credit"],"title":"Features","type":"object"},"FederatedNeedOut":{"properties":{"expires_at":{"format":"date-time","title":"Expires At","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"need":{"additionalProperties":true,"title":"Need","type":"object"},"offered":{"default":[],"items":{"format":"uuid","type":"string"},"title":"Offered","type":"array"},"received_at":{"format":"date-time","title":"Received At","type":"string"},"ref":{"title":"Ref","type":"string"},"region":{"title":"Region","type":"string"}},"required":["id","region","ref","need","received_at","expires_at"],"title":"FederatedNeedOut","type":"object"},"FederatedOfferIn":{"additionalProperties":false,"properties":{"company_id":{"format":"uuid","title":"Company Id","type":"string"}},"required":["company_id"],"title":"FederatedOfferIn","type":"object"},"FederatedProposalOut":{"properties":{"id":{"format":"uuid","title":"Id","type":"string"},"interest_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Interest At"},"introduction":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Introduction"},"offer":{"additionalProperties":true,"title":"Offer","type":"object"},"received_at":{"format":"date-time","title":"Received At","type":"string"},"region":{"title":"Region","type":"string"},"score":{"title":"Score","type":"integer"}},"required":["id","region","offer","score","introduction","interest_at","received_at"],"title":"FederatedProposalOut","type":"object"},"FederationConsentOut":{"properties":{"company_id":{"format":"uuid","title":"Company Id","type":"string"},"granted":{"title":"Granted","type":"boolean"},"granted_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Granted At"},"shared":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Shared"}},"required":["company_id","granted","granted_at","shared"],"title":"FederationConsentOut","type":"object"},"FederationInterestOut":{"properties":{"id":{"format":"uuid","title":"Id","type":"string"},"introduced_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Introduced At"},"need":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Need"},"received_at":{"format":"date-time","title":"Received At","type":"string"},"region":{"title":"Region","type":"string"}},"required":["id","region","need","received_at","introduced_at"],"title":"FederationInterestOut","type":"object"},"FederationShareIn":{"additionalProperties":false,"properties":{"share":{"title":"Share","type":"boolean"}},"required":["share"],"title":"FederationShareIn","type":"object"},"FederationShareOut":{"properties":{"need_id":{"format":"uuid","title":"Need Id","type":"string"},"shared":{"title":"Shared","type":"boolean"},"shared_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Shared At"}},"required":["need_id","shared","shared_at"],"title":"FederationShareOut","type":"object"},"FitSupplier":{"properties":{"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"district":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"District"},"exports_there":{"title":"Exports There","type":"boolean"},"id":{"format":"uuid","title":"Id","type":"string"},"legal_form":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Form"},"maker":{"$ref":"#/components/schemas/Maker","default":{}},"matched_needs":{"title":"Matched Needs","type":"integer"},"nace_codes":{"items":{"type":"string"},"title":"Nace Codes","type":"array"},"name":{"title":"Name","type":"string"},"products":{"items":{"type":"string"},"title":"Products","type":"array"},"slug":{"title":"Slug","type":"string"},"status":{"title":"Status","type":"string"},"tier":{"default":"bronze","title":"Tier","type":"string"},"updated_at":{"format":"date-time","title":"Updated At","type":"string"},"verification":{"title":"Verification","type":"string"},"verified_by":{"anyOf":[{"enum":["owner","registry"],"type":"string"},{"type":"null"}],"title":"Verified By"}},"required":["id","slug","name","legal_form","status","verification","city","district","nace_codes","products","updated_at","matched_needs","exports_there"],"title":"FitSupplier","type":"object"},"FitSuppliers":{"properties":{"country":{"title":"Country","type":"string"},"group":{"title":"Group","type":"string"},"items":{"items":{"$ref":"#/components/schemas/FitSupplier"},"title":"Items","type":"array"}},"required":["country","group","items"],"title":"FitSuppliers","type":"object"},"FollowUpItem":{"properties":{"company_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Company Id"},"company_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Name"},"conversation_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Conversation Id"},"expires_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Expires On"},"id":{"format":"uuid","title":"Id","type":"string"},"kind":{"$ref":"#/components/schemas/ItemKind"},"need_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Need Id"},"nudges":{"title":"Nudges","type":"integer"},"since":{"format":"date-time","title":"Since","type":"string"},"task_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Task Id"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"}},"required":["kind","id","since","conversation_id","task_id","need_id","company_id","company_name","title","expires_on","nudges"],"title":"FollowUpItem","type":"object"},"FollowUpReminder":{"properties":{"due_at":{"format":"date-time","title":"Due At","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"need_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Need Id"},"note":{"title":"Note","type":"string"},"task_id":{"format":"uuid","title":"Task Id","type":"string"}},"required":["id","task_id","need_id","note","due_at"],"title":"FollowUpReminder","type":"object"},"FollowUps":{"properties":{"frequency":{"$ref":"#/components/schemas/Frequency"},"nudges":{"items":{"$ref":"#/components/schemas/NudgeOut"},"title":"Nudges","type":"array"},"org_id":{"format":"uuid","title":"Org Id","type":"string"},"owed_by_you":{"items":{"$ref":"#/components/schemas/FollowUpItem"},"title":"Owed By You","type":"array"},"owed_to_you":{"items":{"$ref":"#/components/schemas/FollowUpItem"},"title":"Owed To You","type":"array"},"reminders":{"items":{"$ref":"#/components/schemas/FollowUpReminder"},"title":"Reminders","type":"array"}},"required":["org_id","frequency","owed_by_you","owed_to_you","reminders","nudges"],"title":"FollowUps","type":"object"},"Followed":{"properties":{"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"company_id":{"format":"uuid","title":"Company Id","type":"string"},"name":{"title":"Name","type":"string"},"slug":{"title":"Slug","type":"string"}},"required":["company_id","slug","name","city"],"title":"Followed","type":"object"},"Frequency":{"enum":["instant","daily","off"],"title":"Frequency","type":"string"},"GoogleRating":{"properties":{"attribution":{"default":"Google","title":"Attribution","type":"string"},"available":{"title":"Available","type":"boolean"},"count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Count"},"maps_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Maps Url"},"rating":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rating"},"reviews":{"default":[],"items":{"$ref":"#/components/schemas/GoogleReview"},"title":"Reviews","type":"array"}},"required":["available"],"title":"GoogleRating","type":"object"},"GoogleReview":{"properties":{"author":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Author"},"author_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Author Url"},"rating":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rating"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"},"when":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"When"}},"required":["rating","text","author","author_url","when"],"title":"GoogleReview","type":"object"},"GroupCount":{"properties":{"companies":{"title":"Companies","type":"integer"},"group":{"title":"Group","type":"string"}},"required":["group","companies"],"title":"GroupCount","type":"object"},"GrowthLevel":{"properties":{"done":{"title":"Done","type":"boolean"},"key":{"enum":["presence","ready_to_sell","trusted","exporter","top_supplier"],"title":"Key","type":"string"},"steps":{"items":{"$ref":"#/components/schemas/GrowthStep"},"title":"Steps","type":"array"}},"required":["key","done","steps"],"title":"GrowthLevel","type":"object"},"GrowthPath":{"properties":{"badges":{"items":{"enum":["fast_responder","verified_exporter","top_supplier"],"type":"string"},"title":"Badges","type":"array"},"company_id":{"format":"uuid","title":"Company Id","type":"string"},"level":{"title":"Level","type":"integer"},"levels":{"items":{"$ref":"#/components/schemas/GrowthLevel"},"title":"Levels","type":"array"}},"required":["company_id","level","levels","badges"],"title":"GrowthPath","type":"object"},"GrowthStep":{"properties":{"done":{"title":"Done","type":"boolean"},"key":{"title":"Key","type":"string"},"target":{"anyOf":[{"type":"integer"},{"type":"number"}],"title":"Target"},"value":{"anyOf":[{"type":"integer"},{"type":"number"},{"type":"null"}],"title":"Value"}},"required":["key","done","value","target"],"title":"GrowthStep","type":"object"},"GtipActivity":{"description":"An activity that makes the code's goods by TÜİK's official CN 2024 → CPA 2.1 table (the\ntaxonomy's HS → NACE links), and how many listed companies are registered for it. Being\nregistered for the activity never makes a company a maker of the code.","properties":{"companies":{"title":"Companies","type":"integer"},"manufacturing":{"title":"Manufacturing","type":"boolean"},"nace":{"title":"Nace","type":"string"},"title":{"additionalProperties":{"type":"string"},"title":"Title","type":"object"}},"required":["nace","title","companies","manufacturing"],"title":"GtipActivity","type":"object"},"GtipAlternative":{"properties":{"code":{"title":"Code","type":"string"},"difference":{"title":"Difference","type":"string"},"title":{"$ref":"#/components/schemas/GtipTitle"}},"required":["code","title","difference"],"title":"GtipAlternative","type":"object"},"GtipAnswerIn":{"additionalProperties":false,"properties":{"answer":{"maxLength":200,"minLength":1,"title":"Answer","type":"string"},"question":{"maxLength":200,"minLength":1,"title":"Question","type":"string"}},"required":["question","answer"],"title":"GtipAnswerIn","type":"object"},"GtipCandidate":{"properties":{"code":{"title":"Code","type":"string"},"score":{"title":"Score","type":"number"},"title":{"$ref":"#/components/schemas/GtipTitle"}},"required":["code","title","score"],"title":"GtipCandidate","type":"object"},"GtipClassification":{"properties":{"cached":{"default":false,"title":"Cached","type":"boolean"},"candidates":{"items":{"$ref":"#/components/schemas/GtipCandidate"},"title":"Candidates","type":"array"},"disclaimer":{"title":"Disclaimer","type":"string"},"log_id":{"format":"uuid","title":"Log Id","type":"string"},"question":{"anyOf":[{"$ref":"#/components/schemas/GtipQuestion"},{"type":"null"}]},"remaining":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Remaining"},"result":{"anyOf":[{"$ref":"#/components/schemas/GtipResult"},{"type":"null"}]},"status":{"enum":["answered","question","search_only"],"title":"Status","type":"string"}},"required":["status","log_id","remaining","question","result","candidates","disclaimer"],"title":"GtipClassification","type":"object"},"GtipClassifyIn":{"additionalProperties":false,"properties":{"answers":{"default":[],"items":{"$ref":"#/components/schemas/GtipAnswerIn"},"maxItems":2,"title":"Answers","type":"array"},"destination":{"anyOf":[{"pattern":"^[A-Z]{2}$","type":"string"},{"type":"null"}],"title":"Destination"},"language":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"},"log_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Log Id"},"text":{"maxLength":2000,"minLength":3,"title":"Text","type":"string"}},"required":["text"],"title":"GtipClassifyIn","type":"object"},"GtipCodePage":{"properties":{"activities":{"default":[],"items":{"$ref":"#/components/schemas/GtipActivity"},"title":"Activities","type":"array"},"activities_of":{"anyOf":[{"enum":["subheading","heading"],"type":"string"},{"type":"null"}],"title":"Activities Of"},"children":{"items":{"$ref":"#/components/schemas/GtipCodeRef"},"title":"Children","type":"array"},"code":{"title":"Code","type":"string"},"companies":{"title":"Companies","type":"integer"},"everyday_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Everyday Name"},"export_rank":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Export Rank"},"hs6":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hs6"},"legal_text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Text"},"level":{"title":"Level","type":"integer"},"mappings":{"items":{"$ref":"#/components/schemas/GtipMapping"},"title":"Mappings","type":"array"},"nearby":{"items":{"$ref":"#/components/schemas/GtipCodeRef"},"title":"Nearby","type":"array"},"notes":{"items":{"$ref":"#/components/schemas/GtipNote"},"title":"Notes","type":"array"},"opportunities":{"title":"Opportunities","type":"integer"},"page":{"anyOf":[{"$ref":"#/components/schemas/GtipPageText"},{"type":"null"}]},"parents":{"items":{"$ref":"#/components/schemas/GtipCodeRef"},"title":"Parents","type":"array"},"requirements":{"items":{"$ref":"#/components/schemas/GtipRequirement"},"title":"Requirements","type":"array"},"sources":{"items":{"$ref":"#/components/schemas/GtipSource"},"title":"Sources","type":"array"},"status":{"enum":["active","deprecated"],"title":"Status","type":"string"},"title":{"$ref":"#/components/schemas/GtipTitle"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"},"updated_at":{"format":"date-time","title":"Updated At","type":"string"}},"required":["code","hs6","level","title","unit","legal_text","status","parents","children","nearby","notes","page","requirements","mappings","opportunities","companies","export_rank","sources","updated_at"],"title":"GtipCodePage","type":"object"},"GtipCodeRef":{"properties":{"code":{"title":"Code","type":"string"},"title":{"$ref":"#/components/schemas/GtipTitle"}},"required":["code","title"],"title":"GtipCodeRef","type":"object"},"GtipFeedbackIn":{"additionalProperties":false,"properties":{"correct":{"title":"Correct","type":"boolean"},"correct_code":{"anyOf":[{"pattern":"^[0-9]{4,12}$","type":"string"},{"type":"null"}],"title":"Correct Code"},"log_id":{"format":"uuid","title":"Log Id","type":"string"}},"required":["log_id","correct"],"title":"GtipFeedbackIn","type":"object"},"GtipGuide":{"properties":{"sections":{"items":{"$ref":"#/components/schemas/GtipGuideSection"},"title":"Sections","type":"array"}},"required":["sections"],"title":"GtipGuide","type":"object"},"GtipGuideNode":{"properties":{"children":{"items":{"$ref":"#/components/schemas/GtipGuideNode"},"title":"Children","type":"array"},"code":{"title":"Code","type":"string"},"level":{"title":"Level","type":"integer"},"title":{"$ref":"#/components/schemas/GtipTitle"}},"required":["code","title","level","children"],"title":"GtipGuideNode","type":"object"},"GtipGuideSection":{"properties":{"chapters":{"items":{"$ref":"#/components/schemas/GtipGuideNode"},"title":"Chapters","type":"array"},"number":{"title":"Number","type":"string"},"title":{"$ref":"#/components/schemas/GtipTitle"}},"required":["number","title","chapters"],"title":"GtipGuideSection","type":"object"},"GtipMapping":{"description":"The goods' code in another country's nomenclature.","properties":{"code":{"title":"Code","type":"string"},"country":{"title":"Country","type":"string"},"level":{"default":"hs6","enum":["hs6","cn8","national"],"title":"Level","type":"string"},"source":{"anyOf":[{"$ref":"#/components/schemas/GtipSource"},{"type":"null"}]},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"}},"required":["country","code","title","source"],"title":"GtipMapping","type":"object"},"GtipNote":{"properties":{"kind":{"enum":["notes","subheading_notes","additional_notes"],"title":"Kind","type":"string"},"level":{"enum":["section","chapter"],"title":"Level","type":"string"},"ref":{"title":"Ref","type":"string"},"scope":{"title":"Scope","type":"string"},"text":{"title":"Text","type":"string"},"title":{"title":"Title","type":"string"}},"required":["scope","level","ref","kind","title","text"],"title":"GtipNote","type":"object"},"GtipPagePoint":{"properties":{"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"text":{"title":"Text","type":"string"}},"required":["text","code"],"title":"GtipPagePoint","type":"object"},"GtipPageText":{"description":"Lale's description of the code, shown only once a person reviewed it.","properties":{"description":{"title":"Description","type":"string"},"excludes":{"items":{"$ref":"#/components/schemas/GtipPagePoint"},"title":"Excludes","type":"array"},"includes":{"items":{"$ref":"#/components/schemas/GtipPagePoint"},"title":"Includes","type":"array"},"language":{"enum":["tr","en","ar","fa"],"title":"Language","type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"reviewed_at":{"format":"date-time","title":"Reviewed At","type":"string"}},"required":["language","name","description","includes","excludes","reviewed_at"],"title":"GtipPageText","type":"object"},"GtipPathStep":{"description":"A level of Lale's walk through the tariff to the code.","properties":{"code":{"title":"Code","type":"string"},"confidence":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Confidence"},"level":{"enum":["chapter","heading","subheading","line"],"title":"Level","type":"string"},"title":{"$ref":"#/components/schemas/GtipTitle"}},"required":["level","code","title","confidence"],"title":"GtipPathStep","type":"object"},"GtipProgress":{"description":"What a streamed classification (``/classify/stream``) tells as it happens, before its\n``result``: never a timer, each event is a step that was made.","properties":{"auto":{"default":false,"title":"Auto","type":"boolean"},"codes":{"default":[],"items":{"$ref":"#/components/schemas/GtipStepCode"},"title":"Codes","type":"array"},"event":{"enum":["started","read","searched","step","cached"],"title":"Event","type":"string"},"level":{"anyOf":[{"enum":["chapter","heading","subheading","line"],"type":"string"},{"type":"null"}],"title":"Level"},"lines":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Lines"},"product":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product"},"remaining":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Remaining"}},"required":["event"],"title":"GtipProgress","type":"object"},"GtipQuestion":{"properties":{"choices":{"items":{"type":"string"},"title":"Choices","type":"array"},"text":{"title":"Text","type":"string"}},"required":["text","choices"],"title":"GtipQuestion","type":"object"},"GtipRequirement":{"description":"A published requirement for selling the goods in a country (``birlesa.requirements``).","properties":{"destination":{"title":"Destination","type":"string"},"kind":{"enum":["certification","document","labeling","sps","technical"],"title":"Kind","type":"string"},"mandatory":{"title":"Mandatory","type":"boolean"},"reviewed_at":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Reviewed At"},"source_url":{"title":"Source Url","type":"string"},"title":{"title":"Title","type":"string"}},"required":["destination","kind","title","mandatory","source_url","reviewed_at"],"title":"GtipRequirement","type":"object"},"GtipResult":{"properties":{"activities":{"default":[],"items":{"$ref":"#/components/schemas/GtipActivity"},"title":"Activities","type":"array"},"activities_of":{"anyOf":[{"enum":["subheading","heading"],"type":"string"},{"type":"null"}],"title":"Activities Of"},"alternatives":{"items":{"$ref":"#/components/schemas/GtipAlternative"},"title":"Alternatives","type":"array"},"binding_info":{"title":"Binding Info","type":"boolean"},"code":{"title":"Code","type":"string"},"companies":{"title":"Companies","type":"integer"},"confidence":{"title":"Confidence","type":"integer"},"hs6":{"title":"Hs6","type":"string"},"mappings":{"items":{"$ref":"#/components/schemas/GtipMapping"},"title":"Mappings","type":"array"},"opportunities":{"title":"Opportunities","type":"integer"},"path":{"anyOf":[{"items":{"$ref":"#/components/schemas/GtipPathStep"},"type":"array"},{"type":"null"}],"title":"Path"},"reason":{"title":"Reason","type":"string"},"requirements":{"items":{"$ref":"#/components/schemas/GtipRequirement"},"title":"Requirements","type":"array"},"sources":{"items":{"$ref":"#/components/schemas/GtipSource"},"title":"Sources","type":"array"},"title":{"$ref":"#/components/schemas/GtipTitle"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"}},"required":["code","title","hs6","confidence","reason","sources","alternatives","requirements","mappings","opportunities","companies","binding_info"],"title":"GtipResult","type":"object"},"GtipSearch":{"description":"The headings and HS subheadings closest to the words, the best first, each with its\nofficial titles (and in Arabic or Persian its machine translation): codes to pick from,\nnever a model's choice.","properties":{"items":{"items":{"$ref":"#/components/schemas/GtipCodeRef"},"title":"Items","type":"array"}},"required":["items"],"title":"GtipSearch","type":"object"},"GtipSearchIn":{"additionalProperties":false,"properties":{"language":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"},"limit":{"default":8,"maximum":12,"minimum":1,"title":"Limit","type":"integer"},"text":{"maxLength":200,"minLength":2,"title":"Text","type":"string"}},"required":["text"],"title":"GtipSearchIn","type":"object"},"GtipSource":{"properties":{"name":{"title":"Name","type":"string"},"url":{"title":"Url","type":"string"}},"required":["name","url"],"title":"GtipSource","type":"object"},"GtipStepCode":{"properties":{"code":{"title":"Code","type":"string"},"title":{"$ref":"#/components/schemas/GtipTitle"}},"required":["code","title"],"title":"GtipStepCode","type":"object"},"GtipStreamError":{"description":"The stream ended without an answer (the record of the search is kept).","properties":{"code":{"const":"unavailable","title":"Code","type":"string"},"event":{"const":"error","title":"Event","type":"string"}},"required":["event","code"],"title":"GtipStreamError","type":"object"},"GtipStreamEvent":{"anyOf":[{"$ref":"#/components/schemas/GtipProgress"},{"$ref":"#/components/schemas/GtipStreamResult"},{"$ref":"#/components/schemas/GtipStreamError"}],"description":"One event of a streamed classification (its ``event`` says which).","title":"GtipStreamEvent"},"GtipStreamResult":{"description":"The stream's last event: the classification, as ``/classify`` answers it.","properties":{"classification":{"$ref":"#/components/schemas/GtipClassification"},"event":{"const":"result","title":"Event","type":"string"}},"required":["event","classification"],"title":"GtipStreamResult","type":"object"},"GtipTitle":{"properties":{"en":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"En"},"tr":{"title":"Tr","type":"string"},"translation":{"anyOf":[{"$ref":"#/components/schemas/GtipTitleTranslation"},{"type":"null"}]}},"required":["tr","en"],"title":"GtipTitle","type":"object"},"GtipTitleTranslation":{"description":"A title in the reader's language where the tariff has no official text in it: a\nmachine translation of the official English (``source``), shown as one beside the\nofficial texts, which stay the reference.","properties":{"language":{"enum":["ar","fa"],"title":"Language","type":"string"},"model":{"title":"Model","type":"string"},"release":{"title":"Release","type":"string"},"source":{"enum":["en","tr"],"title":"Source","type":"string"},"text":{"title":"Text","type":"string"},"translated_on":{"format":"date","title":"Translated On","type":"string"},"version":{"title":"Version","type":"string"}},"required":["language","text","source","model","version","release","translated_on"],"title":"GtipTitleTranslation","type":"object"},"GtipTitles":{"description":"Codes' titles, in the order asked; a code the tariff does not have is left out.","properties":{"items":{"items":{"$ref":"#/components/schemas/GtipCodeRef"},"title":"Items","type":"array"}},"required":["items"],"title":"GtipTitles","type":"object"},"GtipTop":{"properties":{"items":{"items":{"$ref":"#/components/schemas/GtipTopItem"},"title":"Items","type":"array"},"notice":{"title":"Notice","type":"string"},"source":{"$ref":"#/components/schemas/GtipSource"},"year":{"title":"Year","type":"integer"}},"required":["year","source","notice","items"],"title":"GtipTop","type":"object"},"GtipTopItem":{"properties":{"code":{"title":"Code","type":"string"},"exports_eur":{"title":"Exports Eur","type":"integer"},"lines":{"title":"Lines","type":"integer"},"rank":{"title":"Rank","type":"integer"},"title":{"$ref":"#/components/schemas/GtipTitle"}},"required":["code","title","rank","exports_eur","lines"],"title":"GtipTopItem","type":"object"},"HoursIn":{"additionalProperties":false,"properties":{"days":{"items":{"$ref":"#/components/schemas/DayIn"},"maxItems":7,"minItems":1,"title":"Days","type":"array"},"time_zone":{"default":"Europe/Istanbul","maxLength":64,"minLength":3,"title":"Time Zone","type":"string"}},"required":["days"],"title":"HoursIn","type":"object"},"HsCode":{"properties":{"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"labels":{"anyOf":[{"$ref":"#/components/schemas/Labels"},{"type":"null"}]},"origin":{"anyOf":[{"enum":["owner","lale","verified"],"type":"string"},{"type":"null"}],"title":"Origin"},"state":{"enum":["confirmed","suggested","missing"],"title":"State","type":"string"},"suggestions":{"items":{"$ref":"#/components/schemas/HsSuggestion"},"title":"Suggestions","type":"array"}},"required":["code","state","labels","suggestions"],"title":"HsCode","type":"object"},"HsCodeIn":{"additionalProperties":false,"description":"One product of a bulk change: its confirmed code, its role, or both (wave 7: the role\ntoo, so a list's changes go in one request).","properties":{"hs_code":{"anyOf":[{"pattern":"^[0-9][0-9 .]{3,19}$","type":"string"},{"type":"null"}],"title":"Hs Code"},"product_id":{"format":"uuid","title":"Product Id","type":"string"},"role":{"anyOf":[{"$ref":"#/components/schemas/ProductRole"},{"type":"null"}]}},"required":["product_id"],"title":"HsCodeIn","type":"object"},"HsCodesIn":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/HsCodeIn"},"maxItems":200,"minItems":1,"title":"Items","type":"array"}},"required":["items"],"title":"HsCodesIn","type":"object"},"HsSuggestion":{"properties":{"code":{"title":"Code","type":"string"},"confidence":{"title":"Confidence","type":"number"},"labels":{"anyOf":[{"$ref":"#/components/schemas/Labels"},{"type":"null"}]},"method":{"title":"Method","type":"string"}},"required":["code","confidence","method","labels"],"title":"HsSuggestion","type":"object"},"Identity":{"description":"Whether suppliers see who a buyer is from the start or once the buyer chose one.","enum":["hidden_until_chosen","shown"],"title":"Identity","type":"string"},"ImageRef":{"description":"An image of the page, redrawn by the platform (WebP), by size (``lg``, ``md``,\n``sm``: what the kind has) as paths on this API.","properties":{"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Caption"},"height":{"title":"Height","type":"integer"},"id":{"format":"uuid","title":"Id","type":"string"},"urls":{"additionalProperties":{"type":"string"},"title":"Urls","type":"object"},"width":{"title":"Width","type":"integer"}},"required":["id","urls","width","height"],"title":"ImageRef","type":"object"},"ImportIn":{"additionalProperties":false,"properties":{"media_type":{"anyOf":[{"maxLength":80,"type":"string"},{"type":"null"}],"title":"Media Type"},"sha256":{"anyOf":[{"pattern":"^[0-9a-f]{64}$","type":"string"},{"type":"null"}],"title":"Sha256"},"size":{"anyOf":[{"exclusiveMinimum":0,"maximum":10485760,"type":"integer"},{"type":"null"}],"title":"Size"},"source":{"$ref":"#/components/schemas/ImportSource"}},"required":["source"],"title":"ImportIn","type":"object"},"ImportOptions":{"properties":{"limit":{"title":"Limit","type":"integer"},"remaining":{"title":"Remaining","type":"integer"},"sources":{"additionalProperties":{"$ref":"#/components/schemas/SourceOption"},"title":"Sources","type":"object"},"website_domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website Domain"}},"required":["sources","website_domain","limit","remaining"],"title":"ImportOptions","type":"object"},"ImportOut":{"properties":{"created_at":{"format":"date-time","title":"Created At","type":"string"},"drafts":{"title":"Drafts","type":"integer"},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"finished_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Finished At"},"id":{"format":"uuid","title":"Id","type":"string"},"items":{"items":{"$ref":"#/components/schemas/DraftOut"},"title":"Items","type":"array"},"pages":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Pages"},"source":{"title":"Source","type":"string"},"status":{"enum":["pending_upload","running","done","failed"],"title":"Status","type":"string"}},"required":["id","source","status","error","pages","drafts","created_at","finished_at","items"],"title":"ImportOut","type":"object"},"ImportSource":{"enum":["website","file","photo"],"title":"ImportSource","type":"string"},"ImportStarted":{"properties":{"item":{"$ref":"#/components/schemas/ImportOut"},"upload":{"anyOf":[{"$ref":"#/components/schemas/UploadOut"},{"type":"null"}]}},"required":["item","upload"],"title":"ImportStarted","type":"object"},"Imports":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ImportOut"},"title":"Items","type":"array"},"options":{"$ref":"#/components/schemas/ImportOptions"}},"required":["options","items"],"title":"Imports","type":"object"},"Inbox":{"properties":{"items":{"items":{"$ref":"#/components/schemas/AlertOut"},"title":"Items","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"unread":{"title":"Unread","type":"integer"}},"required":["unread","items"],"title":"Inbox","type":"object"},"Incoterm":{"enum":["EXW","FCA","CPT","CIP","DAP","DPU","DDP","FAS","FOB","CFR","CIF"],"type":"string"},"IndexHighlight":{"description":"One sentence of the month's summary; each page phrases it in its own language.","properties":{"change":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Change"},"key":{"enum":["incorporations_change","top_province","fastest_province","closures_change"],"title":"Key","type":"string"},"province":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Province"},"province_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Province Name"},"value":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Value"}},"required":["key"],"title":"IndexHighlight","type":"object"},"IndexMonth":{"properties":{"highlights":{"items":{"$ref":"#/components/schemas/IndexHighlight"},"title":"Highlights","type":"array"},"methodology":{"title":"Methodology","type":"string"},"month":{"title":"Month","type":"string"},"national":{"additionalProperties":{"$ref":"#/components/schemas/IndexValue"},"title":"National","type":"object"},"provinces":{"items":{"$ref":"#/components/schemas/IndexRow"},"title":"Provinces","type":"array"},"published_at":{"format":"date-time","title":"Published At","type":"string"},"sectors":{"items":{"$ref":"#/components/schemas/IndexRow"},"title":"Sectors","type":"array"}},"required":["month","published_at","methodology","national","provinces","sectors","highlights"],"title":"IndexMonth","type":"object"},"IndexRelease":{"properties":{"has_figures":{"default":false,"title":"Has Figures","type":"boolean"},"month":{"title":"Month","type":"string"},"published_at":{"format":"date-time","title":"Published At","type":"string"}},"required":["month","published_at"],"title":"IndexRelease","type":"object"},"IndexReleases":{"properties":{"items":{"items":{"$ref":"#/components/schemas/IndexRelease"},"title":"Items","type":"array"}},"required":["items"],"title":"IndexReleases","type":"object"},"IndexRow":{"properties":{"closures":{"title":"Closures","type":"integer"},"incorporations":{"title":"Incorporations","type":"integer"},"key":{"title":"Key","type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"net_formation":{"title":"Net Formation","type":"integer"}},"required":["key","name","incorporations","closures","net_formation"],"title":"IndexRow","type":"object"},"IndexScope":{"properties":{"metrics":{"additionalProperties":{"$ref":"#/components/schemas/IndexValue"},"title":"Metrics","type":"object"},"month":{"title":"Month","type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"scope":{"title":"Scope","type":"string"}},"required":["month","scope","name","metrics"],"title":"IndexScope","type":"object"},"IndexValue":{"properties":{"change":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Change"},"previous":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Previous"},"value":{"title":"Value","type":"integer"},"year_ago":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year Ago"}},"required":["value","previous","year_ago","change"],"title":"IndexValue","type":"object"},"InvitationIn":{"additionalProperties":false,"properties":{"email":{"maxLength":254,"minLength":6,"title":"Email","type":"string"},"role":{"default":"member","enum":["admin","member","sales","purchasing","viewer"],"title":"Role","type":"string"}},"required":["email"],"title":"InvitationIn","type":"object"},"InvitationOut":{"properties":{"created_at":{"format":"date-time","title":"Created At","type":"string"},"email_hint":{"title":"Email Hint","type":"string"},"expires_at":{"format":"date-time","title":"Expires At","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"role":{"title":"Role","type":"string"}},"required":["id","role","email_hint","created_at","expires_at"],"title":"InvitationOut","type":"object"},"InviteIn":{"additionalProperties":false,"properties":{"email":{"maxLength":254,"minLength":6,"title":"Email","type":"string"}},"required":["email"],"title":"InviteIn","type":"object"},"InviteOut":{"properties":{"created_at":{"format":"date-time","title":"Created At","type":"string"},"email_hint":{"title":"Email Hint","type":"string"},"expires_at":{"format":"date-time","title":"Expires At","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"status":{"title":"Status","type":"string"}},"required":["id","email_hint","status","created_at","expires_at"],"title":"InviteOut","type":"object"},"InvoiceOut":{"properties":{"created_at":{"format":"date-time","title":"Created At","type":"string"},"currency":{"title":"Currency","type":"string"},"description":{"title":"Description","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"issued_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Issued At"},"kind":{"title":"Kind","type":"string"},"net":{"title":"Net","type":"string"},"number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Number"},"profile":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Profile"},"status":{"title":"Status","type":"string"},"total":{"title":"Total","type":"string"},"vat":{"title":"Vat","type":"string"},"vat_rate":{"title":"Vat Rate","type":"string"}},"required":["id","kind","description","currency","net","vat_rate","vat","total","status","number","profile","issued_at","created_at"],"title":"InvoiceOut","type":"object"},"IssuedKeyOut":{"properties":{"created_at":{"format":"date-time","title":"Created At","type":"string"},"expires_at":{"format":"date-time","title":"Expires At","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"key":{"title":"Key","type":"string"},"last_used_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Used At"},"name":{"title":"Name","type":"string"},"permissions":{"items":{"type":"string"},"title":"Permissions","type":"array"},"revoked_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Revoked At"}},"required":["id","name","permissions","created_at","expires_at","revoked_at","last_used_at","key"],"title":"IssuedKeyOut","type":"object"},"ItemError":{"additionalProperties":false,"properties":{"code":{"title":"Code","type":"string"},"message":{"title":"Message","type":"string"},"pointer":{"title":"Pointer","type":"string"}},"required":["pointer","code","message"],"title":"ItemError","type":"object"},"ItemIn":{"additionalProperties":false,"properties":{"description":{"maxLength":2000,"minLength":3,"title":"Description","type":"string"},"product_code":{"anyOf":[{"pattern":"^(hs|gtip|nace):[0-9A-Z][0-9.]{0,15}$","type":"string"},{"type":"null"}],"title":"Product Code"},"quantity":{"anyOf":[{"exclusiveMinimum":0,"type":"number"},{"type":"string"},{"type":"null"}],"title":"Quantity"},"unit":{"anyOf":[{"maxLength":32,"type":"string"},{"type":"null"}],"title":"Unit"}},"required":["description"],"title":"ItemIn","type":"object"},"ItemKind":{"enum":["reply","quote","counter","rfq","approval","draft"],"title":"ItemKind","type":"string"},"JoinedOut":{"properties":{"org_id":{"format":"uuid","title":"Org Id","type":"string"},"org_name":{"title":"Org Name","type":"string"},"role":{"title":"Role","type":"string"}},"required":["org_id","org_name","role"],"title":"JoinedOut","type":"object"},"KeyIn":{"additionalProperties":false,"properties":{"days":{"default":90,"maximum":366,"minimum":1,"title":"Days","type":"integer"},"name":{"maxLength":128,"minLength":2,"title":"Name","type":"string"},"permissions":{"default":[],"items":{"$ref":"#/components/schemas/KeyPermission"},"maxItems":5,"title":"Permissions","type":"array","uniqueItems":true}},"required":["name"],"title":"KeyIn","type":"object"},"KeyOut":{"properties":{"created_at":{"format":"date-time","title":"Created At","type":"string"},"expires_at":{"format":"date-time","title":"Expires At","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"last_used_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Used At"},"name":{"title":"Name","type":"string"},"permissions":{"items":{"type":"string"},"title":"Permissions","type":"array"},"revoked_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Revoked At"}},"required":["id","name","permissions","created_at","expires_at","revoked_at","last_used_at"],"title":"KeyOut","type":"object"},"KeyPermission":{"description":"What a key may do besides reading public data, granted when it is issued.","enum":["needs:write","rfqs:send","signals:read","data:read","org:read"],"title":"KeyPermission","type":"string"},"KeyUsageOut":{"properties":{"day":{"format":"date","title":"Day","type":"string"},"requests":{"title":"Requests","type":"integer"}},"required":["day","requests"],"title":"KeyUsageOut","type":"object"},"KindIn":{"additionalProperties":false,"properties":{"kind":{"$ref":"#/components/schemas/AccountKind"}},"required":["kind"],"title":"KindIn","type":"object"},"KindOut":{"properties":{"kind":{"title":"Kind","type":"string"},"personal_org":{"anyOf":[{"$ref":"#/components/schemas/OrgOut"},{"type":"null"}]}},"required":["kind","personal_org"],"title":"KindOut","type":"object"},"KpiTask":{"properties":{"count":{"title":"Count","type":"integer"},"kind":{"enum":["answer_requests","confirm_hs_codes","review_approvals","renew_certificates","replace_rejected_certificates","complete_catalogue"],"title":"Kind","type":"string"},"params":{"additionalProperties":{"type":"string"},"default":{},"title":"Params","type":"object"}},"required":["kind","count"],"title":"KpiTask","type":"object"},"Labels":{"properties":{"ar":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ar"},"en":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"En"},"tr":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tr"}},"required":["tr","en","ar"],"title":"Labels","type":"object"},"LandedCostIn":{"additionalProperties":false,"properties":{"currency":{"pattern":"^[A-Z]{3}$","title":"Currency","type":"string"},"destination":{"pattern":"^[A-Z]{2}$","title":"Destination","type":"string"},"destination_charges":{"anyOf":[{"minimum":0,"type":"number"},{"type":"string"}],"default":"0","title":"Destination Charges"},"freight":{"anyOf":[{"minimum":0,"type":"number"},{"type":"string"},{"type":"null"}],"title":"Freight"},"freight_offer_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Freight Offer Id"},"goods_value":{"anyOf":[{"exclusiveMinimum":0,"type":"number"},{"type":"string"}],"title":"Goods Value"},"hs_code":{"pattern":"^[0-9]{4,12}$","title":"Hs Code","type":"string"},"incoterm":{"enum":["EXW","FCA","CPT","CIP","DAP","DPU","DDP","FAS","FOB","CFR","CIF"],"title":"Incoterm","type":"string"},"insurance":{"anyOf":[{"minimum":0,"type":"number"},{"type":"string"},{"type":"null"}],"title":"Insurance"},"insurance_rate":{"anyOf":[{"maximum":0.05,"minimum":0,"type":"number"},{"type":"string"},{"type":"null"}],"title":"Insurance Rate"},"quantity":{"anyOf":[{"exclusiveMinimum":0,"type":"number"},{"type":"string"},{"type":"null"}],"title":"Quantity"}},"required":["destination","hs_code","incoterm","currency","goods_value"],"title":"LandedCostIn","type":"object"},"LandedCostOut":{"properties":{"currency":{"title":"Currency","type":"string"},"customs_value":{"title":"Customs Value","type":"string"},"destination_charges":{"title":"Destination Charges","type":"string"},"duty":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Duty"},"duty_checked_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Duty Checked On"},"duty_rate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Duty Rate"},"duty_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Duty Source"},"freight":{"title":"Freight","type":"string"},"goods":{"title":"Goods","type":"string"},"insurance":{"title":"Insurance","type":"string"},"notes":{"items":{"type":"string"},"title":"Notes","type":"array"},"per_unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Per Unit"},"total":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Total"},"vat":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vat"},"vat_checked_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Vat Checked On"},"vat_rate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vat Rate"},"vat_source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Vat Source"}},"required":["currency","goods","freight","insurance","customs_value","duty","duty_rate","duty_source","duty_checked_on","vat","vat_rate","vat_source","vat_checked_on","destination_charges","total","per_unit","notes"],"title":"LandedCostOut","type":"object"},"LetterKind":{"enum":["official_letter","authorization","other"],"title":"LetterKind","type":"string"},"Limit":{"enum":["api_keys","needs_per_day","agent_turns_per_day","selling_turns_per_day","translations_per_day","conversations_per_day","members","api_requests_per_day","page_imports_per_day","need_previews_per_day","active_negotiations"],"title":"Limit","type":"string"},"LineIn":{"additionalProperties":false,"properties":{"description":{"maxLength":500,"minLength":1,"title":"Description","type":"string"},"lead_time_days":{"anyOf":[{"maximum":730,"minimum":0,"type":"integer"},{"type":"null"}],"title":"Lead Time Days"},"quantity":{"anyOf":[{"exclusiveMinimum":0,"type":"number"},{"type":"string"}],"title":"Quantity"},"unit":{"maxLength":32,"minLength":1,"title":"Unit","type":"string"},"unit_price":{"anyOf":[{"minimum":0,"type":"number"},{"type":"string"}],"title":"Unit Price"}},"required":["description","quantity","unit","unit_price"],"title":"LineIn","type":"object"},"LineLabel":{"description":"A basket line's name in the site's four languages, written by hand (``signals.baskets``).","properties":{"ar":{"title":"Ar","type":"string"},"en":{"title":"En","type":"string"},"fa":{"title":"Fa","type":"string"},"tr":{"title":"Tr","type":"string"}},"required":["en","tr","ar","fa"],"title":"LineLabel","type":"object"},"LinkIn":{"additionalProperties":false,"properties":{"number":{"maxLength":32,"minLength":8,"title":"Number","type":"string"},"org_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Org Id"}},"required":["number"],"title":"LinkIn","type":"object"},"LinkOut":{"properties":{"alerts":{"title":"Alerts","type":"boolean"},"attempts_left":{"title":"Attempts Left","type":"integer"},"number_hint":{"title":"Number Hint","type":"string"},"org_id":{"format":"uuid","title":"Org Id","type":"string"},"status":{"title":"Status","type":"string"},"verified_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Verified At"}},"required":["status","number_hint","org_id","alerts","verified_at","attempts_left"],"title":"LinkOut","type":"object"},"ListingCode":{"properties":{"code":{"title":"Code","type":"string"},"system":{"enum":["stock","hs","atc"],"title":"System","type":"string"}},"required":["system","code"],"title":"ListingCode","type":"object"},"ListingLicence":{"description":"A licence, certificate or registration the register lists, as written; one past its\nlast valid day is never sent.","properties":{"count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Count"},"decided_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Decided On"},"decision":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Decision"},"first_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"First On"},"group":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Group"},"issued_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Issued On"},"kind":{"title":"Kind","type":"string"},"latest_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Latest On"},"market":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Market"},"number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Number"},"outcome":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Outcome"},"valid_until":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Valid Until"}},"required":["kind"],"title":"ListingLicence","type":"object"},"ListingRepresented":{"properties":{"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"name":{"title":"Name","type":"string"}},"required":["name"],"title":"ListingRepresented","type":"object"},"LiveActivity":{"properties":{"as_of":{"format":"date-time","title":"As Of","type":"string"},"country":{"title":"Country","type":"string"},"recent":{"items":{"$ref":"#/components/schemas/LiveEvent"},"title":"Recent","type":"array"},"today":{"$ref":"#/components/schemas/LiveCounts"},"week":{"$ref":"#/components/schemas/LiveCounts"}},"required":["country","today","week","recent","as_of"],"title":"LiveActivity","type":"object"},"LiveCounts":{"properties":{"opportunities":{"title":"Opportunities","type":"integer"},"purchase_requests":{"title":"Purchase Requests","type":"integer"},"sent":{"title":"Sent","type":"integer"}},"required":["opportunities","purchase_requests","sent"],"title":"LiveCounts","type":"object"},"LiveEvent":{"properties":{"at":{"format":"date-time","title":"At","type":"string"},"kind":{"enum":["opportunity","purchase_request","sent"],"title":"Kind","type":"string"},"sector":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sector"}},"required":["kind","at"],"title":"LiveEvent","type":"object"},"Location":{"properties":{"district":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"District"},"latitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Latitude"},"longitude":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Longitude"},"province":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Province"},"role":{"title":"Role","type":"string"}},"required":["role"],"title":"Location","type":"object"},"Maker":{"description":"Whether the company manufactures, and on what ground (``birlesa.public.makers``). A\ncompany's name or its own say-so about itself never proves it.","properties":{"proof":{"anyOf":[{"enum":["capacity_report","industrial_registry"],"type":"string"},{"type":"null"}],"title":"Proof"},"status":{"anyOf":[{"enum":["proven","declared"],"type":"string"},{"type":"null"}],"title":"Status"},"verified_at":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Verified At"}},"title":"Maker","type":"object"},"ManagedAssociation":{"properties":{"association_id":{"format":"uuid","title":"Association Id","type":"string"},"kind":{"$ref":"#/components/schemas/AssociationKind"},"level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Level"},"name":{"title":"Name","type":"string"},"org_id":{"format":"uuid","title":"Org Id","type":"string"},"org_name":{"title":"Org Name","type":"string"},"since":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Since"},"slug":{"title":"Slug","type":"string"}},"required":["association_id","slug","name","kind","org_id","org_name","since","level"],"title":"ManagedAssociation","type":"object"},"ManagedAssociationPage":{"description":"The managing organization's view of the page: read by its members, changed by its\nowners and admins (``can_edit``).","properties":{"announcements":{"items":{"$ref":"#/components/schemas/AssociationAnnouncementOut"},"title":"Announcements","type":"array"},"association_id":{"format":"uuid","title":"Association Id","type":"string"},"can_edit":{"title":"Can Edit","type":"boolean"},"contact_domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Contact Domain"},"contacts":{"items":{"$ref":"#/components/schemas/AssociationContactOut"},"title":"Contacts","type":"array"},"description":{"items":{"$ref":"#/components/schemas/AssociationDescriptionOut"},"title":"Description","type":"array"},"has_page":{"title":"Has Page","type":"boolean"},"kind":{"$ref":"#/components/schemas/AssociationKind"},"level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Level"},"link_domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Link Domain"},"member_count":{"title":"Member Count","type":"integer"},"name":{"title":"Name","type":"string"},"open_opportunities":{"title":"Open Opportunities","type":"integer"},"org_id":{"format":"uuid","title":"Org Id","type":"string"},"org_name":{"title":"Org Name","type":"string"},"province":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Province"},"since":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Since"},"slug":{"title":"Slug","type":"string"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website"}},"required":["association_id","slug","name","kind","org_id","org_name","since","level","province","website","has_page","can_edit","member_count","open_opportunities","contact_domain","link_domain","description","contacts","announcements"],"title":"ManagedAssociationPage","type":"object"},"ManagedBuyer":{"description":"A buyer page one of the member's organizations manages.","properties":{"buyer_id":{"format":"uuid","title":"Buyer Id","type":"string"},"can_edit":{"title":"Can Edit","type":"boolean"},"claim_id":{"format":"uuid","title":"Claim Id","type":"string"},"country":{"title":"Country","type":"string"},"level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Level"},"name":{"title":"Name","type":"string"},"org_id":{"format":"uuid","title":"Org Id","type":"string"},"since":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Since"},"slug":{"title":"Slug","type":"string"}},"required":["buyer_id","slug","name","country","org_id","claim_id","level","since","can_edit"],"title":"ManagedBuyer","type":"object"},"ManagedBuyerPage":{"properties":{"answerable":{"items":{"$ref":"#/components/schemas/AnswerableItem"},"title":"Answerable","type":"array"},"answers":{"items":{"$ref":"#/components/schemas/BuyerAnswer"},"title":"Answers","type":"array"},"buyer_id":{"format":"uuid","title":"Buyer Id","type":"string"},"can_edit":{"title":"Can Edit","type":"boolean"},"claim_id":{"format":"uuid","title":"Claim Id","type":"string"},"contacts":{"items":{"$ref":"#/components/schemas/OfficialContact"},"title":"Contacts","type":"array"},"country":{"title":"Country","type":"string"},"descriptions":{"items":{"$ref":"#/components/schemas/OfficialText"},"title":"Descriptions","type":"array"},"level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Level"},"name":{"title":"Name","type":"string"},"org_id":{"format":"uuid","title":"Org Id","type":"string"},"proof_domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Proof Domain"},"since":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Since"},"slug":{"title":"Slug","type":"string"}},"required":["buyer_id","slug","name","country","org_id","claim_id","level","since","can_edit","proof_domain","descriptions","contacts","answers","answerable"],"title":"ManagedBuyerPage","type":"object"},"MandateFit":{"description":"The latest offer against your mandate, part by part (yes or no: never the limits).","properties":{"delivery":{"title":"Delivery","type":"boolean"},"inside":{"title":"Inside","type":"boolean"},"prepayment":{"title":"Prepayment","type":"boolean"},"price":{"title":"Price","type":"boolean"}},"required":["price","delivery","prepayment","inside"],"title":"MandateFit","type":"object"},"MandateIn":{"additionalProperties":false,"properties":{"ceiling_unit_price":{"anyOf":[{"exclusiveMinimum":0,"type":"number"},{"type":"string"}],"title":"Ceiling Unit Price"},"currency":{"pattern":"^[A-Z]{3}$","title":"Currency","type":"string"},"latest_delivery_days":{"anyOf":[{"maximum":730,"minimum":0,"type":"integer"},{"type":"null"}],"title":"Latest Delivery Days"},"max_prepayment_pct":{"anyOf":[{"maximum":100,"minimum":0,"type":"integer"},{"type":"null"}],"title":"Max Prepayment Pct"},"mode":{"anyOf":[{"enum":["draft","auto"],"type":"string"},{"type":"null"}],"title":"Mode"},"rounds":{"anyOf":[{"maximum":5,"minimum":1,"type":"integer"},{"type":"null"}],"title":"Rounds"},"target_unit_price":{"anyOf":[{"exclusiveMinimum":0,"type":"number"},{"type":"string"}],"title":"Target Unit Price"},"unit":{"maxLength":32,"minLength":1,"title":"Unit","type":"string"}},"required":["currency","unit","target_unit_price","ceiling_unit_price"],"title":"MandateIn","type":"object"},"MandateOut":{"properties":{"auto_available":{"title":"Auto Available","type":"boolean"},"ceiling_unit_price":{"title":"Ceiling Unit Price","type":"string"},"currency":{"title":"Currency","type":"string"},"latest_delivery_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Latest Delivery Days"},"max_prepayment_pct":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Prepayment Pct"},"mode":{"title":"Mode","type":"string"},"need_id":{"format":"uuid","title":"Need Id","type":"string"},"rounds":{"title":"Rounds","type":"integer"},"set_by_you":{"title":"Set By You","type":"boolean"},"target_unit_price":{"title":"Target Unit Price","type":"string"},"unit":{"title":"Unit","type":"string"},"updated_at":{"format":"date-time","title":"Updated At","type":"string"}},"required":["need_id","currency","unit","target_unit_price","ceiling_unit_price","rounds","latest_delivery_days","max_prepayment_pct","mode","auto_available","set_by_you","updated_at"],"title":"MandateOut","type":"object"},"MatchOut":{"properties":{"buyer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Buyer"},"buyer_verified":{"title":"Buyer Verified","type":"boolean"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"company_id":{"format":"uuid","title":"Company Id","type":"string"},"company_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Name"},"company_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Slug"},"deadline_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Deadline At"},"destination_country":{"title":"Destination Country","type":"string"},"details":{"$ref":"#/components/schemas/SharedDetails"},"eligibility":{"anyOf":[{"$ref":"#/components/schemas/OpportunityEligibility"},{"type":"null"}]},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"match_id":{"format":"uuid","title":"Match Id","type":"string"},"need_id":{"format":"uuid","title":"Need Id","type":"string"},"opportunity_type":{"default":"open_tender","enum":["open_tender","contractor_purchase","supplier_switch","project","purchase_request"],"title":"Opportunity Type","type":"string"},"predicted":{"default":false,"title":"Predicted","type":"boolean"},"procurement_type":{"anyOf":[{"enum":["goods","services","works","consultancy","other"],"type":"string"},{"type":"null"}],"title":"Procurement Type"},"reasons":{"items":{"additionalProperties":true,"type":"object"},"title":"Reasons","type":"array"},"region":{"enum":["tr","gcc","other"],"title":"Region","type":"string"},"score":{"title":"Score","type":"integer"},"source":{"title":"Source","type":"string"},"status":{"title":"Status","type":"string"},"title":{"title":"Title","type":"string"},"translated":{"anyOf":[{"$ref":"#/components/schemas/NeedText"},{"type":"null"}]},"translation":{"enum":["ready","pending","unavailable"],"title":"Translation","type":"string"},"type":{"enum":["purchase_request","tender","partner","service"],"title":"Type","type":"string"}},"required":["match_id","company_id","company_slug","company_name","need_id","title","buyer","city","deadline_at","score","status","reasons","details","type","destination_country","region","buyer_verified","source","language","translated","translation"],"title":"MatchOut","type":"object"},"MatchReason":{"description":"Why a company fits a need: a key with its parameters, said in the reader's language.","properties":{"key":{"title":"Key","type":"string"},"params":{"additionalProperties":true,"default":{},"title":"Params","type":"object"}},"required":["key"],"title":"MatchReason","type":"object"},"Me":{"properties":{"features":{"$ref":"#/components/schemas/Features"},"id":{"format":"uuid","title":"Id","type":"string"},"kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"},"locale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locale"},"orgs":{"items":{"$ref":"#/components/schemas/OrgOut"},"title":"Orgs","type":"array"},"profile":{"anyOf":[{"$ref":"#/components/schemas/Profile"},{"type":"null"}]},"roles":{"items":{"type":"string"},"title":"Roles","type":"array"}},"required":["id","locale","roles","orgs","features"],"title":"Me","type":"object"},"MediaIn":{"additionalProperties":false,"properties":{"caption":{"anyOf":[{"maxLength":200,"minLength":1,"type":"string"},{"type":"null"}],"title":"Caption"},"kind":{"$ref":"#/components/schemas/MediaKind"},"media_type":{"enum":["image/jpeg","image/png","image/webp"],"title":"Media Type","type":"string"},"sha256":{"pattern":"^[0-9a-f]{64}$","title":"Sha256","type":"string"},"size":{"exclusiveMinimum":0,"maximum":8388608,"title":"Size","type":"integer"}},"required":["kind","media_type","size","sha256"],"title":"MediaIn","type":"object"},"MediaKind":{"enum":["logo","cover","photo"],"title":"MediaKind","type":"string"},"MediaOut":{"properties":{"caption":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Caption"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height"},"id":{"format":"uuid","title":"Id","type":"string"},"kind":{"title":"Kind","type":"string"},"position":{"title":"Position","type":"integer"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"status":{"title":"Status","type":"string"},"urls":{"additionalProperties":{"type":"string"},"title":"Urls","type":"object"},"width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Width"}},"required":["id","kind","status","caption","position","width","height","urls","reason","created_at"],"title":"MediaOut","type":"object"},"MediaPatch":{"additionalProperties":false,"properties":{"caption":{"anyOf":[{"maxLength":200,"minLength":1,"type":"string"},{"type":"null"}],"title":"Caption"},"position":{"anyOf":[{"maximum":1000,"minimum":0,"type":"integer"},{"type":"null"}],"title":"Position"}},"title":"MediaPatch","type":"object"},"MediaUploadOut":{"properties":{"media":{"$ref":"#/components/schemas/MediaOut"},"upload":{"$ref":"#/components/schemas/UploadOut"}},"required":["media","upload"],"title":"MediaUploadOut","type":"object"},"MemberOut":{"properties":{"account_id":{"format":"uuid","title":"Account Id","type":"string"},"email_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email Hint"},"last_active_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Active At"},"role":{"title":"Role","type":"string"},"since":{"format":"date-time","title":"Since","type":"string"},"you":{"title":"You","type":"boolean"}},"required":["account_id","role","email_hint","since","you","last_active_at"],"title":"MemberOut","type":"object"},"MessageIn":{"additionalProperties":false,"properties":{"body":{"maxLength":4000,"minLength":1,"title":"Body","type":"string"},"translate":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Translate"},"translate_to":{"anyOf":[{"enum":["tr","en","ar","fa","ru","de","fr","es","uz","zh"],"type":"string"},{"type":"null"}],"title":"Translate To"}},"required":["body"],"title":"MessageIn","type":"object"},"MessageOut":{"properties":{"body":{"title":"Body","type":"string"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"intent":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Intent"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"mine":{"title":"Mine","type":"boolean"},"tag":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Tag"},"text":{"title":"Text","type":"string"},"translated":{"anyOf":[{"$ref":"#/components/schemas/MessageText"},{"type":"null"}]},"translation":{"enum":["ready","pending","unavailable"],"title":"Translation","type":"string"},"written_by":{"title":"Written By","type":"string"}},"required":["id","mine","written_by","body","text","language","translated","translation","intent","tag","created_at"],"title":"MessageOut","type":"object"},"MessageText":{"properties":{"language":{"title":"Language","type":"string"},"text":{"title":"Text","type":"string"}},"required":["language","text"],"title":"MessageText","type":"object"},"Moq":{"properties":{"quantity":{"title":"Quantity","type":"string"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"}},"required":["quantity","unit"],"title":"Moq","type":"object"},"MoqIn":{"additionalProperties":false,"properties":{"quantity":{"anyOf":[{"exclusiveMinimum":0,"type":"number"},{"type":"string"}],"title":"Quantity"},"unit":{"anyOf":[{"maxLength":32,"minLength":1,"type":"string"},{"type":"null"}],"title":"Unit"}},"required":["quantity"],"title":"MoqIn","type":"object"},"NeedBasket":{"description":"A kind of contract the award's codes and nature matched in the table.","properties":{"key":{"title":"Key","type":"string"},"label":{"$ref":"#/components/schemas/NeedLabel"}},"required":["key","label"],"title":"NeedBasket","type":"object"},"NeedDetailsIn":{"additionalProperties":false,"description":"What the need asks for besides its items. Suppliers see all of it but the budget.","properties":{"brand":{"anyOf":[{"maxLength":120,"type":"string"},{"type":"null"}],"title":"Brand"},"budget":{"anyOf":[{"$ref":"#/components/schemas/BudgetIn"},{"type":"null"}]},"certificates":{"anyOf":[{"items":{"maxLength":60,"minLength":2,"type":"string"},"maxItems":10,"type":"array"},{"type":"null"}],"title":"Certificates"},"delivery_terms":{"anyOf":[{"enum":["EXW","FCA","CPT","CIP","DAP","DPU","DDP","FAS","FOB","CFR","CIF"],"type":"string"},{"type":"null"}],"title":"Delivery Terms"},"packaging":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Packaging"},"payment_terms":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Payment Terms"}},"title":"NeedDetailsIn","type":"object"},"NeedDetailsOut":{"properties":{"brand":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand"},"budget":{"anyOf":[{"$ref":"#/components/schemas/BudgetOut"},{"type":"null"}]},"certificates":{"items":{"type":"string"},"title":"Certificates","type":"array"},"delivery_terms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Delivery Terms"},"packaging":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Packaging"},"payment_terms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Terms"}},"required":["delivery_terms","payment_terms","budget","brand","packaging","certificates"],"title":"NeedDetailsOut","type":"object"},"NeedDraft":{"description":"A need as the buying assistant read it: nothing is stored or posted until you post\nit (``POST /v1/needs``).","properties":{"brand":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand"},"budget":{"anyOf":[{"$ref":"#/components/schemas/BudgetOut"},{"type":"null"}]},"certificates":{"items":{"type":"string"},"title":"Certificates","type":"array"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"deadline":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Deadline"},"delivery_terms":{"anyOf":[{"enum":["EXW","FCA","CPT","CIP","DAP","DPU","DDP","FAS","FOB","CFR","CIF"],"type":"string"},{"type":"null"}],"title":"Delivery Terms"},"destination_country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Destination Country"},"items":{"items":{"$ref":"#/components/schemas/NeedDraftItem"},"title":"Items","type":"array"},"missing":{"items":{"enum":["what","quantity","where"],"type":"string"},"title":"Missing","type":"array"},"packaging":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Packaging"},"payment_terms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Terms"},"title":{"title":"Title","type":"string"}},"required":["title","items","city","destination_country","deadline","certificates","delivery_terms","payment_terms","budget","brand","packaging","missing"],"title":"NeedDraft","type":"object"},"NeedDraftItem":{"properties":{"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"code_label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code Label"},"description":{"title":"Description","type":"string"},"quantity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quantity"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"}},"required":["description","quantity","unit","code","code_label"],"title":"NeedDraftItem","type":"object"},"NeedIn":{"additionalProperties":false,"properties":{"city":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"title":"City"},"deadline_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Deadline At"},"destination_country":{"anyOf":[{"pattern":"^[A-Z]{2}$","type":"string"},{"type":"null"}],"title":"Destination Country"},"details":{"anyOf":[{"$ref":"#/components/schemas/NeedDetailsIn"},{"type":"null"}]},"identity":{"anyOf":[{"enum":["hidden_until_chosen","shown"],"type":"string"},{"type":"null"}],"title":"Identity"},"items":{"items":{"$ref":"#/components/schemas/ItemIn"},"maxItems":50,"minItems":1,"title":"Items","type":"array"},"org_id":{"format":"uuid","title":"Org Id","type":"string"},"purpose":{"anyOf":[{"enum":["purchase","partner","service"],"type":"string"},{"type":"null"}],"title":"Purpose"},"show_buyer":{"default":false,"title":"Show Buyer","type":"boolean"},"title":{"maxLength":300,"minLength":5,"title":"Title","type":"string"},"visibility":{"default":"members","enum":["public","members"],"title":"Visibility","type":"string"}},"required":["org_id","title","items"],"title":"NeedIn","type":"object"},"NeedInviteFailure":{"properties":{"company_id":{"format":"uuid","title":"Company Id","type":"string"},"reason":{"title":"Reason","type":"string"}},"required":["company_id","reason"],"title":"NeedInviteFailure","type":"object"},"NeedInviteOut":{"properties":{"company_id":{"format":"uuid","title":"Company Id","type":"string"},"conversation_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Conversation Id"},"invited_at":{"format":"date-time","title":"Invited At","type":"string"},"repeated":{"title":"Repeated","type":"boolean"},"state":{"enum":["sent","held","delivered"],"title":"State","type":"string"}},"required":["company_id","state","conversation_id","invited_at","repeated"],"title":"NeedInviteOut","type":"object"},"NeedInvitesIn":{"additionalProperties":false,"properties":{"company_ids":{"items":{"format":"uuid","type":"string"},"maxItems":10,"minItems":1,"title":"Company Ids","type":"array"}},"required":["company_ids"],"title":"NeedInvitesIn","type":"object"},"NeedInvitesOut":{"properties":{"failed":{"items":{"$ref":"#/components/schemas/NeedInviteFailure"},"title":"Failed","type":"array"},"invites":{"items":{"$ref":"#/components/schemas/NeedInviteOut"},"title":"Invites","type":"array"}},"required":["invites","failed"],"title":"NeedInvitesOut","type":"object"},"NeedItemOut":{"properties":{"codes":{"items":{"type":"string"},"title":"Codes","type":"array"},"description":{"title":"Description","type":"string"},"position":{"title":"Position","type":"integer"},"quantity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quantity"},"shareable":{"title":"Shareable","type":"boolean"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"}},"required":["position","description","quantity","unit","codes","shareable"],"title":"NeedItemOut","type":"object"},"NeedLabel":{"description":"A line's or a kind of contract's name in each of the site's languages, written by hand\n(``birlesa.signals.baskets``): a page shows its reader's.","properties":{"ar":{"title":"Ar","type":"string"},"en":{"title":"En","type":"string"},"fa":{"title":"Fa","type":"string"},"tr":{"title":"Tr","type":"string"}},"required":["en","tr","ar","fa"],"title":"NeedLabel","type":"object"},"NeedLine":{"description":"A thing an award's winner will buy, as the platform's table reads the award's CPV codes\nand nature (``birlesa.signals.baskets``), with how many Turkish companies supply it.","properties":{"export_sectors":{"items":{"type":"string"},"title":"Export Sectors","type":"array"},"hs_headings":{"items":{"type":"string"},"title":"Hs Headings","type":"array"},"key":{"title":"Key","type":"string"},"label":{"$ref":"#/components/schemas/NeedLabel"},"sector_groups":{"items":{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},"title":"Sector Groups","type":"array"},"supplier_basis":{"anyOf":[{"enum":["makers","sector_exporters"],"type":"string"},{"type":"null"}],"title":"Supplier Basis"},"suppliers":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Suppliers"}},"required":["key","label","hs_headings","sector_groups","export_sectors","suppliers","supplier_basis"],"title":"NeedLine","type":"object"},"NeedOut":{"properties":{"chosen":{"anyOf":[{"$ref":"#/components/schemas/Chosen"},{"type":"null"}]},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"deadline_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Deadline At"},"destination_country":{"title":"Destination Country","type":"string"},"details":{"$ref":"#/components/schemas/NeedDetailsOut"},"expires_at":{"format":"date-time","title":"Expires At","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"items":{"default":[],"items":{"$ref":"#/components/schemas/NeedItemOut"},"title":"Items","type":"array"},"offers":{"title":"Offers","type":"integer"},"org_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Org Id"},"posted_by_you":{"default":false,"title":"Posted By You","type":"boolean"},"purpose":{"default":"purchase","enum":["purchase","partner","service"],"title":"Purpose","type":"string"},"shared_abroad":{"default":false,"title":"Shared Abroad","type":"boolean"},"show_buyer":{"title":"Show Buyer","type":"boolean"},"stage":{"enum":["review","published","offers","chosen","closed"],"title":"Stage","type":"string"},"status":{"title":"Status","type":"string"},"title":{"title":"Title","type":"string"},"visibility":{"title":"Visibility","type":"string"}},"required":["id","org_id","title","status","visibility","show_buyer","city","destination_country","deadline_at","expires_at","created_at","stage","details","chosen","offers"],"title":"NeedOut","type":"object"},"NeedPatch":{"additionalProperties":false,"properties":{"deadline_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Deadline At"},"details":{"anyOf":[{"$ref":"#/components/schemas/NeedDetailsIn"},{"type":"null"}]},"purpose":{"anyOf":[{"enum":["purchase","partner","service"],"type":"string"},{"type":"null"}],"title":"Purpose"},"title":{"anyOf":[{"maxLength":300,"minLength":5,"type":"string"},{"type":"null"}],"title":"Title"}},"title":"NeedPatch","type":"object"},"NeedPreviewIn":{"additionalProperties":false,"properties":{"locale":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Locale","type":"string"},"org_id":{"format":"uuid","title":"Org Id","type":"string"},"text":{"maxLength":2000,"minLength":1,"title":"Text","type":"string"}},"required":["org_id","text"],"title":"NeedPreviewIn","type":"object"},"NeedStats":{"properties":{"avg_first_reply_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Avg First Reply Minutes"},"exported_to_destination":{"title":"Exported To Destination","type":"integer"},"notified":{"title":"Notified","type":"integer"},"offers":{"title":"Offers","type":"integer"},"relevant":{"title":"Relevant","type":"integer"},"verified":{"title":"Verified","type":"integer"},"views":{"title":"Views","type":"integer"}},"required":["relevant","verified","exported_to_destination","notified","views","offers","avg_first_reply_minutes"],"title":"NeedStats","type":"object"},"NeedText":{"description":"A need's texts in the reader's language (``None``: read that one as written).","properties":{"aid":{"items":{"type":"string"},"title":"Aid","type":"array"},"brand":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand"},"items":{"items":{"$ref":"#/components/schemas/NeedTextItem"},"title":"Items","type":"array"},"language":{"title":"Language","type":"string"},"packaging":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Packaging"},"payment_terms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Terms"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"}},"required":["language","title","items","payment_terms","brand","packaging","aid"],"title":"NeedText","type":"object"},"NeedTextItem":{"properties":{"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"position":{"title":"Position","type":"integer"}},"required":["position","description"],"title":"NeedTextItem","type":"object"},"NegotiationEntry":{"properties":{"action":{"enum":["offer","counter","accept","hand_over"],"title":"Action","type":"string"},"at":{"format":"date-time","title":"At","type":"string"},"position":{"title":"Position","type":"integer"},"quote_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Quote Id"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"side":{"enum":["buyer","seller"],"title":"Side","type":"string"},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"terms":{"anyOf":[{"$ref":"#/components/schemas/NegotiationTerms"},{"type":"null"}]},"written_by":{"title":"Written By","type":"string"}},"required":["position","side","action","terms","written_by","quote_id","status","reason","at"],"title":"NegotiationEntry","type":"object"},"NegotiationIn":{"additionalProperties":false,"properties":{"company_id":{"format":"uuid","title":"Company Id","type":"string"},"need_id":{"format":"uuid","title":"Need Id","type":"string"}},"required":["need_id","company_id"],"title":"NegotiationIn","type":"object"},"NegotiationOut":{"properties":{"agreed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Agreed"},"approval_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Approval Id"},"buyer_approved":{"title":"Buyer Approved","type":"boolean"},"company_id":{"format":"uuid","title":"Company Id","type":"string"},"company_name":{"title":"Company Name","type":"string"},"conversation_id":{"format":"uuid","title":"Conversation Id","type":"string"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"deal_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Deal Id"},"drafts":{"default":[],"items":{"format":"uuid","type":"string"},"title":"Drafts","type":"array"},"due_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Due At"},"expires_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Expires At"},"id":{"format":"uuid","title":"Id","type":"string"},"inside_mandate":{"anyOf":[{"$ref":"#/components/schemas/MandateFit"},{"type":"null"}]},"latest":{"anyOf":[{"$ref":"#/components/schemas/NegotiationTerms"},{"type":"null"}]},"method":{"enum":["by_message","at_once"],"title":"Method","type":"string"},"need_id":{"format":"uuid","title":"Need Id","type":"string"},"need_title":{"title":"Need Title","type":"string"},"next_step":{"title":"Next Step","type":"string"},"quote_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Quote Id"},"round":{"title":"Round","type":"integer"},"rounds":{"title":"Rounds","type":"integer"},"seller_approved":{"title":"Seller Approved","type":"boolean"},"side":{"enum":["buyer","seller"],"title":"Side","type":"string"},"status":{"title":"Status","type":"string"},"transcript":{"default":[],"items":{"$ref":"#/components/schemas/NegotiationEntry"},"title":"Transcript","type":"array"},"updated_at":{"format":"date-time","title":"Updated At","type":"string"},"waiting_for":{"items":{"enum":["buyer","seller"],"type":"string"},"title":"Waiting For","type":"array"}},"required":["id","method","side","status","need_id","need_title","company_id","company_name","conversation_id","round","rounds","latest","next_step","waiting_for","agreed","buyer_approved","seller_approved","quote_id","deal_id","expires_at","due_at","created_at","updated_at"],"title":"NegotiationOut","type":"object"},"NegotiationTerms":{"description":"A proposal's terms as both sides read them.","properties":{"currency":{"title":"Currency","type":"string"},"extras":{"items":{"type":"string"},"title":"Extras","type":"array"},"lead_time_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Lead Time Days"},"prepayment_pct":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prepayment Pct"},"total":{"title":"Total","type":"string"},"unit":{"title":"Unit","type":"string"},"unit_price":{"title":"Unit Price","type":"string"}},"required":["unit_price","unit","currency","total","lead_time_days","prepayment_pct","extras"],"title":"NegotiationTerms","type":"object"},"NewAssociationClaim":{"additionalProperties":false,"properties":{"address":{"anyOf":[{"maxLength":254,"minLength":6,"type":"string"},{"type":"null"}],"title":"Address"},"method":{"enum":["domain_email","document"],"title":"Method","type":"string"},"org_id":{"format":"uuid","title":"Org Id","type":"string"},"slug":{"maxLength":128,"minLength":1,"pattern":"^[a-z0-9-]+$","title":"Slug","type":"string"}},"required":["org_id","slug","method"],"title":"NewAssociationClaim","type":"object"},"NewBuyerClaim":{"additionalProperties":false,"properties":{"address":{"anyOf":[{"maxLength":254,"minLength":6,"type":"string"},{"type":"null"}],"title":"Address"},"method":{"enum":["domain_email","document"],"title":"Method","type":"string"},"org_id":{"format":"uuid","title":"Org Id","type":"string"},"slug":{"maxLength":128,"minLength":1,"pattern":"^[a-z0-9-]+$","title":"Slug","type":"string"}},"required":["org_id","slug","method"],"title":"NewBuyerClaim","type":"object"},"NewClaim":{"additionalProperties":false,"properties":{"address":{"anyOf":[{"maxLength":254,"minLength":6,"type":"string"},{"type":"null"}],"title":"Address"},"claimant_role":{"anyOf":[{"$ref":"#/components/schemas/ClaimantRole"},{"type":"null"}]},"company_id":{"format":"uuid","title":"Company Id","type":"string"},"method":{"enum":["kep","domain_email","document","bank_transfer"],"title":"Method","type":"string"},"org_id":{"format":"uuid","title":"Org Id","type":"string"}},"required":["org_id","company_id","method"],"title":"NewClaim","type":"object"},"NewCompany":{"properties":{"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"district":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"District"},"founded_on":{"format":"date","title":"Founded On","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"legal_form":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Form"},"maker":{"$ref":"#/components/schemas/Maker","default":{}},"nace_codes":{"items":{"type":"string"},"title":"Nace Codes","type":"array"},"name":{"title":"Name","type":"string"},"products":{"items":{"type":"string"},"title":"Products","type":"array"},"slug":{"title":"Slug","type":"string"},"status":{"title":"Status","type":"string"},"tier":{"default":"bronze","title":"Tier","type":"string"},"updated_at":{"format":"date-time","title":"Updated At","type":"string"},"verification":{"title":"Verification","type":"string"},"verified_by":{"anyOf":[{"enum":["owner","registry"],"type":"string"},{"type":"null"}],"title":"Verified By"}},"required":["id","slug","name","legal_form","status","verification","city","district","nace_codes","products","updated_at","founded_on"],"title":"NewCompany","type":"object"},"NewOrg":{"additionalProperties":false,"properties":{"name":{"maxLength":256,"minLength":2,"title":"Name","type":"string"}},"required":["name"],"title":"NewOrg","type":"object"},"NoticeChannels":{"properties":{"email":{"title":"Email","type":"boolean"},"kind":{"$ref":"#/components/schemas/NotificationKind"},"whatsapp":{"title":"Whatsapp","type":"boolean"},"whatsapp_available":{"title":"Whatsapp Available","type":"boolean"}},"required":["kind","email","whatsapp","whatsapp_available"],"title":"NoticeChannels","type":"object"},"NoticeChannelsIn":{"additionalProperties":false,"properties":{"email":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Email"},"kind":{"$ref":"#/components/schemas/NotificationKind"},"whatsapp":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Whatsapp"}},"required":["kind"],"title":"NoticeChannelsIn","type":"object"},"NoticeVersion":{"pattern":"^[0-9]{4}-[0-9]{2}$","type":"string"},"NotificationKind":{"description":"Notices a member switches on or off per channel.","enum":["new_offer","new_message","deadline_approaching","new_purchase_request","high_fit_opportunity","product_alert"],"title":"NotificationKind","type":"string"},"NotificationPreferencesIn":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/NoticeChannelsIn"},"maxItems":6,"minItems":1,"title":"Items","type":"array"}},"required":["items"],"title":"NotificationPreferencesIn","type":"object"},"NotificationPreferencesOut":{"properties":{"email_consent":{"title":"Email Consent","type":"boolean"},"items":{"items":{"$ref":"#/components/schemas/NoticeChannels"},"title":"Items","type":"array"},"whatsapp_consent":{"title":"Whatsapp Consent","type":"boolean"},"whatsapp_linked":{"title":"Whatsapp Linked","type":"boolean"}},"required":["items","email_consent","whatsapp_consent","whatsapp_linked"],"title":"NotificationPreferencesOut","type":"object"},"NudgeOut":{"properties":{"conversation_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Conversation Id"},"id":{"format":"uuid","title":"Id","type":"string"},"level":{"title":"Level","type":"integer"},"need_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Need Id"},"resolved_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Resolved At"},"rule":{"title":"Rule","type":"string"},"sent_at":{"format":"date-time","title":"Sent At","type":"string"},"snoozed_until":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Snoozed Until"},"status":{"title":"Status","type":"string"},"subject_id":{"format":"uuid","title":"Subject Id","type":"string"},"subject_type":{"title":"Subject Type","type":"string"},"task_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Task Id"}},"required":["id","rule","subject_type","subject_id","level","status","sent_at","snoozed_until","resolved_at","conversation_id","task_id","need_id"],"title":"NudgeOut","type":"object"},"OfferCompany":{"properties":{"id":{"format":"uuid","title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"rating":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Rating"},"reviews":{"title":"Reviews","type":"integer"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"},"verified":{"title":"Verified","type":"boolean"}},"required":["id","name","slug","verified","rating","reviews"],"title":"OfferCompany","type":"object"},"OfferOut":{"properties":{"certificates":{"items":{"type":"string"},"title":"Certificates","type":"array"},"company":{"$ref":"#/components/schemas/OfferCompany"},"conversation_id":{"format":"uuid","title":"Conversation Id","type":"string"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"currency":{"title":"Currency","type":"string"},"incoterm":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Incoterm"},"lead_time_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Lead Time Days"},"moq":{"anyOf":[{"$ref":"#/components/schemas/Moq"},{"type":"null"}]},"payment_terms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Terms"},"quote_id":{"format":"uuid","title":"Quote Id","type":"string"},"sample":{"anyOf":[{"$ref":"#/components/schemas/Sample"},{"type":"null"}]},"sample_requests":{"default":[],"items":{"$ref":"#/components/schemas/SampleRequestOut"},"title":"Sample Requests","type":"array"},"status":{"title":"Status","type":"string"},"tags":{"items":{"enum":["cheapest","fastest","best"],"type":"string"},"title":"Tags","type":"array"},"total":{"title":"Total","type":"string"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"},"unit_price":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit Price"},"valid_until":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Valid Until"}},"required":["quote_id","conversation_id","company","currency","total","unit_price","unit","lead_time_days","moq","certificates","incoterm","payment_terms","valid_until","sample","status","tags","created_at"],"title":"OfferOut","type":"object"},"Offers":{"properties":{"comparison":{"$ref":"#/components/schemas/Comparison"},"offers":{"items":{"$ref":"#/components/schemas/OfferOut"},"title":"Offers","type":"array"}},"required":["offers","comparison"],"title":"Offers","type":"object"},"OfficialContact":{"properties":{"address":{"title":"Address","type":"string"},"purpose":{"enum":["general","procurement","suppliers"],"title":"Purpose","type":"string"}},"required":["purpose","address"],"title":"OfficialContact","type":"object"},"OfficialInfo":{"description":"Facts from official sources only (the trade registry, chambers' reports, or a\ncorrection a reviewer accepted); ``None`` where they have none.","properties":{"chamber":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Chamber"},"main_nace":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Main Nace"},"observed_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Observed At"},"registry_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registry Number"},"registry_office":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registry Office"}},"title":"OfficialInfo","type":"object"},"OfficialText":{"properties":{"language":{"enum":["tr","en","ar","fa"],"title":"Language","type":"string"},"text":{"title":"Text","type":"string"}},"required":["language","text"],"title":"OfficialText","type":"object"},"Opportunity":{"properties":{"awards":{"default":[],"items":{"$ref":"#/components/schemas/OpportunityAward"},"title":"Awards","type":"array"},"bid":{"anyOf":[{"$ref":"#/components/schemas/OpportunityBid"},{"type":"null"}]},"buyer_countries":{"default":[],"items":{"type":"string"},"title":"Buyer Countries","type":"array"},"buyer_country":{"title":"Buyer Country","type":"string"},"buyer_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Buyer Name"},"buyer_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Buyer Slug"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"context":{"anyOf":[{"$ref":"#/components/schemas/OpportunityContext"},{"type":"null"}]},"cpv_codes":{"default":[],"items":{"type":"string"},"title":"Cpv Codes","type":"array"},"credit":{"anyOf":[{"$ref":"#/components/schemas/OpportunityCredit"},{"type":"null"}]},"deadline_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Deadline At"},"destination_country":{"title":"Destination Country","type":"string"},"eligibility":{"anyOf":[{"$ref":"#/components/schemas/OpportunityEligibility"},{"type":"null"}]},"estimated_value":{"anyOf":[{"$ref":"#/components/schemas/OpportunityMoney"},{"type":"null"}]},"id":{"format":"uuid","title":"Id","type":"string"},"item_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Item Count"},"items":{"items":{"$ref":"#/components/schemas/OpportunityItem"},"title":"Items","type":"array"},"kind":{"title":"Kind","type":"string"},"last_seen_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Seen At"},"match_count":{"title":"Match Count","type":"integer"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"opportunity_type":{"default":"open_tender","enum":["open_tender","contractor_purchase","supplier_switch","project","purchase_request"],"title":"Opportunity Type","type":"string"},"origin":{"title":"Origin","type":"string"},"place_of_delivery":{"default":[],"items":{"$ref":"#/components/schemas/OpportunityPlace"},"title":"Place Of Delivery","type":"array"},"portal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Portal"},"prediction":{"anyOf":[{"$ref":"#/components/schemas/OpportunityPrediction"},{"type":"null"}]},"procedure":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Procedure"},"procurement_type":{"anyOf":[{"enum":["goods","services","works","consultancy","other"],"type":"string"},{"type":"null"}],"title":"Procurement Type"},"published_at":{"format":"date-time","title":"Published At","type":"string"},"quantities":{"default":[],"items":{"$ref":"#/components/schemas/OpportunityQuantity"},"title":"Quantities","type":"array"},"reference_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference Number"},"relevance":{"default":"supply","title":"Relevance","type":"string"},"sectors":{"default":[],"items":{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},"title":"Sectors","type":"array"},"seriousness":{"title":"Seriousness","type":"integer"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"sources":{"default":[],"items":{"$ref":"#/components/schemas/OpportunitySource"},"title":"Sources","type":"array"},"status":{"title":"Status","type":"string"},"title":{"title":"Title","type":"string"},"title_language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title Language"},"title_machine_translated":{"default":false,"title":"Title Machine Translated","type":"boolean"},"translated_by":{"anyOf":[{"enum":["source","model"],"type":"string"},{"type":"null"}],"title":"Translated By"},"translated_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Translated Title"},"unverified_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Unverified At"}},"required":["id","kind","origin","title","buyer_name","buyer_country","destination_country","city","published_at","deadline_at","seriousness","match_count","status","items","source_url"],"title":"Opportunity","type":"object"},"OpportunityAward":{"properties":{"amount":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Amount"},"awarded_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Awarded On"},"lot":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Lot"},"notice_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notice Url"},"source":{"default":"notice","enum":["notice","result"],"title":"Source","type":"string"},"total":{"default":false,"title":"Total","type":"boolean"},"winner":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Winner"}},"required":["winner","amount","awarded_on","lot"],"title":"OpportunityAward","type":"object"},"OpportunityBid":{"description":"What the notice states of the bid (contract 1.10), for the documents layer: each part\nonly as stated, never filled in.","properties":{"criteria":{"default":[],"items":{"$ref":"#/components/schemas/OpportunityCriterion"},"title":"Criteria","type":"array"},"criteria_in":{"default":[],"items":{"enum":["notice","procurement_documents","espd"],"type":"string"},"title":"Criteria In","type":"array"},"documents":{"default":[],"items":{"const":"contract_draft","type":"string"},"title":"Documents","type":"array"},"electronic":{"anyOf":[{"enum":["required","allowed","not_allowed"],"type":"string"},{"type":"null"}],"title":"Electronic"},"guarantee":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Guarantee"},"languages":{"default":[],"items":{"type":"string"},"title":"Languages","type":"array"},"partial":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Partial"}},"title":"OpportunityBid","type":"object"},"OpportunityContext":{"description":"The market around an opportunity (the master plan's fifth layer): what its buyer bought\nbefore, from whom and at what price, from its earlier public awards; the matched companies\nare the opportunity's ``match_count``.","properties":{"buyer_awarded":{"title":"Buyer Awarded","type":"integer"},"buyer_awards":{"items":{"$ref":"#/components/schemas/BuyerAward"},"title":"Buyer Awards","type":"array"}},"required":["buyer_awards","buyer_awarded"],"title":"OpportunityContext","type":"object"},"OpportunityCountries":{"properties":{"countries":{"items":{"$ref":"#/components/schemas/CountryCount"},"title":"Countries","type":"array"},"total":{"title":"Total","type":"integer"}},"required":["total","countries"],"title":"OpportunityCountries","type":"object"},"OpportunityCredit":{"description":"Where an opportunity came from, as its source's licence asks it to be credited.","properties":{"licence_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Licence Url"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"notice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notice"}},"required":["name","notice","licence_url"],"title":"OpportunityCredit","type":"object"},"OpportunityCriterion":{"description":"A selection criterion the notice states (contract 1.10): what a bidder proves, to word\nin the reader's language by its family and the source's code; never the notice's text.","properties":{"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"family":{"enum":["suitability","economic","technical","certificates","other"],"title":"Family","type":"string"}},"required":["family"],"title":"OpportunityCriterion","type":"object"},"OpportunityEligibility":{"description":"Whether a Turkish company may bid, from official sources only (``market.eligibility``):\nguidance on the rules, not legal advice.","properties":{"level":{"enum":["open","buyer_decides","likely_open","restricted"],"title":"Level","type":"string"},"reasons":{"items":{"type":"string"},"title":"Reasons","type":"array"},"source":{"title":"Source","type":"string"}},"required":["level","reasons","source"],"title":"OpportunityEligibility","type":"object"},"OpportunityEligibilityCounts":{"description":"How many of the board's open needs carry each level of the \"suitable for a Turkish\ncompany\" label, under the same filters as the board.","properties":{"levels":{"items":{"$ref":"#/components/schemas/OpportunityLevelCount"},"title":"Levels","type":"array"},"total":{"title":"Total","type":"integer"}},"required":["total","levels"],"title":"OpportunityEligibilityCounts","type":"object"},"OpportunityItem":{"properties":{"codes":{"items":{"type":"string"},"title":"Codes","type":"array"},"description":{"title":"Description","type":"string"},"quantity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quantity"},"raw_unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Raw Unit"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"}},"required":["description","quantity","unit","codes"],"title":"OpportunityItem","type":"object"},"OpportunityLevelCount":{"properties":{"level":{"enum":["open","likely_open","buyer_decides","restricted","unlabelled"],"title":"Level","type":"string"},"opportunities":{"title":"Opportunities","type":"integer"}},"required":["level","opportunities"],"title":"OpportunityLevelCount","type":"object"},"OpportunityList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/OpportunitySummary"},"title":"Items","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"required":["items","next_cursor"],"title":"OpportunityList","type":"object"},"OpportunityMoney":{"description":"An amount as a notice states it.","properties":{"amount":{"title":"Amount","type":"string"},"currency":{"title":"Currency","type":"string"}},"required":["amount","currency"],"title":"OpportunityMoney","type":"object"},"OpportunityPlace":{"description":"Where the goods go or the work is done, as the notice states it (contract 1.9).","properties":{"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region"},"town":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Town"}},"title":"OpportunityPlace","type":"object"},"OpportunityPrediction":{"description":"How a predicted opportunity (``kind`` ``signal``, ``signals.derived``) was read: from\nwhich signal, by which rule, for which window. The platform's reading of a signal, never a\nbuyer's own words; kinds of goods only, never quantities (wave 7, part D1).","properties":{"awarded_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Awarded On"},"basis":{"anyOf":[{"enum":["source","platform","basket"],"type":"string"},{"type":"null"}],"title":"Basis"},"headings":{"default":[],"items":{"type":"string"},"title":"Headings","type":"array"},"keys":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Keys"},"lines":{"default":[],"items":{"$ref":"#/components/schemas/PredictedLine"},"title":"Lines","type":"array"},"opening_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Opening Year"},"origins":{"default":[],"items":{"type":"string"},"title":"Origins","type":"array"},"rule":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rule"},"signal":{"enum":["award","switching","hotel","giga"],"title":"Signal","type":"string"},"signal_id":{"format":"uuid","title":"Signal Id","type":"string"},"stars":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Stars"},"switch_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Switch Id"},"value":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Value"},"variant":{"anyOf":[{"enum":["trade_measure","product_alert"],"type":"string"},{"type":"null"}],"title":"Variant"},"window_from":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Window From"},"window_to":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Window To"},"winner_pages":{"default":[],"items":{"$ref":"#/components/schemas/PredictedWinnerPage"},"title":"Winner Pages","type":"array"},"winners":{"default":[],"items":{"type":"string"},"title":"Winners","type":"array"}},"required":["signal","signal_id"],"title":"OpportunityPrediction","type":"object"},"OpportunityQuantity":{"description":"How much of an item a notice asks for, as it states it.","properties":{"quantity":{"title":"Quantity","type":"string"},"raw_unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Raw Unit"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"}},"required":["quantity"],"title":"OpportunityQuantity","type":"object"},"OpportunitySectorCount":{"properties":{"opportunities":{"title":"Opportunities","type":"integer"},"sector":{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"title":"Sector","type":"string"}},"required":["sector","opportunities"],"title":"OpportunitySectorCount","type":"object"},"OpportunitySectors":{"properties":{"sectors":{"items":{"$ref":"#/components/schemas/OpportunitySectorCount"},"title":"Sectors","type":"array"},"total":{"title":"Total","type":"integer"}},"required":["total","sectors"],"title":"OpportunitySectors","type":"object"},"OpportunitySource":{"properties":{"portal":{"title":"Portal","type":"string"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"}},"required":["portal","url"],"title":"OpportunitySource","type":"object"},"OpportunitySummary":{"properties":{"buyer_country":{"title":"Buyer Country","type":"string"},"buyer_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Buyer Name"},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"credit":{"anyOf":[{"$ref":"#/components/schemas/OpportunityCredit"},{"type":"null"}]},"deadline_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Deadline At"},"destination_country":{"title":"Destination Country","type":"string"},"eligibility":{"anyOf":[{"$ref":"#/components/schemas/OpportunityEligibility"},{"type":"null"}]},"estimated_value":{"anyOf":[{"$ref":"#/components/schemas/OpportunityMoney"},{"type":"null"}]},"id":{"format":"uuid","title":"Id","type":"string"},"item_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Item Count"},"kind":{"title":"Kind","type":"string"},"last_seen_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Seen At"},"match_count":{"title":"Match Count","type":"integer"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"opportunity_type":{"default":"open_tender","enum":["open_tender","contractor_purchase","supplier_switch","project","purchase_request"],"title":"Opportunity Type","type":"string"},"origin":{"title":"Origin","type":"string"},"portal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Portal"},"procurement_type":{"anyOf":[{"enum":["goods","services","works","consultancy","other"],"type":"string"},{"type":"null"}],"title":"Procurement Type"},"published_at":{"format":"date-time","title":"Published At","type":"string"},"quantities":{"default":[],"items":{"$ref":"#/components/schemas/OpportunityQuantity"},"title":"Quantities","type":"array"},"relevance":{"default":"supply","title":"Relevance","type":"string"},"sectors":{"default":[],"items":{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},"title":"Sectors","type":"array"},"seriousness":{"title":"Seriousness","type":"integer"},"title":{"title":"Title","type":"string"},"title_language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title Language"},"title_machine_translated":{"default":false,"title":"Title Machine Translated","type":"boolean"},"translated_by":{"anyOf":[{"enum":["source","model"],"type":"string"},{"type":"null"}],"title":"Translated By"},"translated_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Translated Title"}},"required":["id","kind","origin","title","buyer_name","buyer_country","destination_country","city","published_at","deadline_at","seriousness","match_count"],"title":"OpportunitySummary","type":"object"},"OpportunityTypeCount":{"properties":{"opportunities":{"title":"Opportunities","type":"integer"},"predicted":{"title":"Predicted","type":"boolean"},"type":{"enum":["open_tender","contractor_purchase","supplier_switch","project","purchase_request"],"title":"Type","type":"string"}},"required":["type","opportunities","predicted"],"title":"OpportunityTypeCount","type":"object"},"OpportunityTypeCounts":{"description":"How many of the board's open needs each card type has, under the board's filters: the\nboard's type filter shows a type only where it has some.","properties":{"announced":{"title":"Announced","type":"integer"},"types":{"items":{"$ref":"#/components/schemas/OpportunityTypeCount"},"title":"Types","type":"array"}},"required":["announced","types"],"title":"OpportunityTypeCounts","type":"object"},"OrgKyb":{"description":"The organization's business checks (KYB): what is checked before money moves, and\nthe page's blue tick when they passed.","properties":{"checked_at":{"format":"date-time","title":"Checked At","type":"string"},"status":{"enum":["pending","passed","failed","review"],"title":"Status","type":"string"}},"required":["status","checked_at"],"title":"OrgKyb","type":"object"},"OrgOut":{"properties":{"id":{"format":"uuid","title":"Id","type":"string"},"kind":{"default":"business","title":"Kind","type":"string"},"kyb":{"anyOf":[{"$ref":"#/components/schemas/OrgKyb"},{"type":"null"}]},"name":{"title":"Name","type":"string"},"role":{"title":"Role","type":"string"}},"required":["id","name","role"],"title":"OrgOut","type":"object"},"OrgPlanOut":{"properties":{"ends_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Ends At"},"limits":{"additionalProperties":{"type":"integer"},"propertyNames":{"$ref":"#/components/schemas/Limit"},"title":"Limits","type":"object"},"plan":{"title":"Plan","type":"string"},"usage":{"additionalProperties":{"type":"integer"},"propertyNames":{"$ref":"#/components/schemas/Limit"},"title":"Usage","type":"object"}},"required":["plan","ends_at","limits","usage"],"title":"OrgPlanOut","type":"object"},"OrgUsageOut":{"properties":{"credentials":{"items":{"$ref":"#/components/schemas/CredentialUsageOut"},"title":"Credentials","type":"array"},"daily_quota":{"title":"Daily Quota","type":"integer"},"month":{"title":"Month","type":"string"},"total":{"title":"Total","type":"integer"}},"required":["month","total","daily_quota","credentials"],"title":"OrgUsageOut","type":"object"},"OutcomeIn":{"additionalProperties":false,"properties":{"reason":{"anyOf":[{"enum":["price","quality","capacity","lead_time","no_response","need_changed","other"],"type":"string"},{"type":"null"}],"title":"Reason"},"result":{"enum":["deal","no_deal","ongoing"],"title":"Result","type":"string"}},"required":["result"],"title":"OutcomeIn","type":"object"},"OutcomeOut":{"properties":{"match_id":{"format":"uuid","title":"Match Id","type":"string"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"result":{"title":"Result","type":"string"},"side":{"title":"Side","type":"string"}},"required":["match_id","side","result","reason"],"title":"OutcomeOut","type":"object"},"OutreachUnsubscribed":{"properties":{"address":{"title":"Address","type":"string"},"done":{"title":"Done","type":"boolean"}},"required":["done","address"],"title":"OutreachUnsubscribed","type":"object"},"OwnedEvent":{"description":"An official event on the page, as its managers see it, with its reply.","properties":{"effect":{"title":"Effect","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"occurred_on":{"format":"date","title":"Occurred On","type":"string"},"params":{"additionalProperties":{"type":"string"},"title":"Params","type":"object"},"reply":{"anyOf":[{"$ref":"#/components/schemas/EventReplyOut"},{"type":"null"}]},"source":{"title":"Source","type":"string"},"type":{"title":"Type","type":"string"}},"required":["id","type","effect","occurred_on","params","source","reply"],"title":"OwnedEvent","type":"object"},"OwnerAbout":{"properties":{"corrected":{"default":[],"items":{"type":"string"},"title":"Corrected","type":"array"},"language":{"title":"Language","type":"string"},"text":{"title":"Text","type":"string"},"translations":{"additionalProperties":{"type":"string"},"default":{},"title":"Translations","type":"object"},"updated_at":{"format":"date-time","title":"Updated At","type":"string"}},"required":["text","language","updated_at"],"title":"OwnerAbout","type":"object"},"OwnerPage":{"description":"The company page as its organization edits it: what is stated now (the public page\nfollows within moments), what waits, and what is missing.","properties":{"about":{"anyOf":[{"$ref":"#/components/schemas/OwnerAbout"},{"type":"null"}]},"can_edit":{"title":"Can Edit","type":"boolean"},"company_id":{"format":"uuid","title":"Company Id","type":"string"},"completeness":{"title":"Completeness","type":"integer"},"factory_video":{"anyOf":[{"$ref":"#/components/schemas/FactoryVideo"},{"type":"null"}]},"facts":{"$ref":"#/components/schemas/CompanyFacts"},"media":{"items":{"$ref":"#/components/schemas/MediaOut"},"title":"Media","type":"array"},"name":{"title":"Name","type":"string"},"products":{"$ref":"#/components/schemas/CatalogueSummary"},"role":{"title":"Role","type":"string"},"sales_contacts":{"items":{"$ref":"#/components/schemas/SalesContactOut"},"title":"Sales Contacts","type":"array"},"sections":{"items":{"$ref":"#/components/schemas/PageSection"},"title":"Sections","type":"array"},"services":{"items":{"$ref":"#/components/schemas/CompanyService"},"title":"Services","type":"array"},"slug":{"title":"Slug","type":"string"},"website_domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website Domain"},"whatsapp":{"$ref":"#/components/schemas/CompanyWhatsAppOut"},"working_hours":{"anyOf":[{"$ref":"#/components/schemas/WorkingHours"},{"type":"null"}]}},"required":["company_id","slug","name","role","can_edit","website_domain","about","facts","services","working_hours","factory_video","whatsapp","media","sales_contacts","products","sections","completeness"],"title":"OwnerPage","type":"object"},"OwnerValues":{"additionalProperties":false,"properties":{"values":{"items":{"additionalProperties":true,"type":"object"},"maxItems":200,"title":"Values","type":"array"}},"required":["values"],"title":"OwnerValues","type":"object"},"OwnerValuesOut":{"properties":{"field":{"title":"Field","type":"string"},"values":{"title":"Values","type":"integer"}},"required":["field","values"],"title":"OwnerValuesOut","type":"object"},"OwnershipProof":{"description":"How the organization managing the page proved it, in general terms (never the\naddress, account or document used).","properties":{"level":{"enum":["verified","claimed"],"title":"Level","type":"string"},"method":{"enum":["official_mail","registry_document","bank_transfer","domain_email","submission"],"title":"Method","type":"string"},"since":{"format":"date","title":"Since","type":"string"}},"required":["level","method","since"],"title":"OwnershipProof","type":"object"},"PageFactsIn":{"additionalProperties":false,"description":"Only the fields given change; ``null`` (or an empty list) takes a field off.","properties":{"about":{"anyOf":[{"$ref":"#/components/schemas/AboutIn"},{"type":"null"}]},"delivery_terms":{"anyOf":[{"items":{"$ref":"#/components/schemas/Incoterm"},"maxItems":11,"type":"array"},{"type":"null"}],"title":"Delivery Terms"},"factory_area_m2":{"anyOf":[{"exclusiveMinimum":0,"maximum":100000000,"type":"number"},{"type":"null"}],"title":"Factory Area M2"},"factory_video_url":{"anyOf":[{"maxLength":2048,"type":"string"},{"type":"null"}],"title":"Factory Video Url"},"production_capacity":{"anyOf":[{"$ref":"#/components/schemas/CapacityIn"},{"type":"null"}]},"sales_languages":{"anyOf":[{"items":{"type":"string"},"maxItems":20,"type":"array"},{"type":"null"}],"title":"Sales Languages"},"services":{"anyOf":[{"items":{"$ref":"#/components/schemas/ServiceIn"},"maxItems":10,"type":"array"},{"type":"null"}],"title":"Services"},"typical_moq":{"anyOf":[{"$ref":"#/components/schemas/QuantityIn"},{"type":"null"}]},"working_hours":{"anyOf":[{"$ref":"#/components/schemas/HoursIn"},{"type":"null"}]}},"title":"PageFactsIn","type":"object"},"PageLanguage":{"enum":["tr","en","ar","fa","ru","de","uz","es","fr"],"type":"string"},"PageMedia":{"properties":{"cover":{"anyOf":[{"$ref":"#/components/schemas/ImageRef"},{"type":"null"}]},"logo":{"anyOf":[{"$ref":"#/components/schemas/ImageRef"},{"type":"null"}]},"photos":{"default":[],"items":{"$ref":"#/components/schemas/ImageRef"},"title":"Photos","type":"array"}},"title":"PageMedia","type":"object"},"PageMilestone":{"properties":{"text":{"title":"Text","type":"string"},"year":{"title":"Year","type":"integer"}},"required":["year","text"],"title":"PageMilestone","type":"object"},"PageMilestoneIn":{"additionalProperties":false,"properties":{"text":{"maxLength":140,"minLength":1,"title":"Text","type":"string"},"year":{"maximum":2100,"minimum":1800,"title":"Year","type":"integer"}},"required":["year","text"],"title":"PageMilestoneIn","type":"object"},"PageMilestonesIn":{"additionalProperties":false,"properties":{"items":{"items":{"$ref":"#/components/schemas/PageMilestoneIn"},"maxItems":10,"title":"Items","type":"array"}},"required":["items"],"title":"PageMilestonesIn","type":"object"},"PageSection":{"properties":{"done":{"title":"Done","type":"boolean"},"key":{"enum":["about","products","certificates","production_capacity","export_markets","factory_video","contact_info"],"title":"Key","type":"string"}},"required":["key","done"],"title":"PageSection","type":"object"},"PartAverage":{"properties":{"average":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Average"},"count":{"title":"Count","type":"integer"}},"required":["average","count"],"title":"PartAverage","type":"object"},"PartAverages":{"description":"What buyers rated besides the whole, averaged over the company's reviews: never one\nreviewer's ratings.","properties":{"on_time":{"$ref":"#/components/schemas/PartAverage","default":{"count":0}},"packaging":{"$ref":"#/components/schemas/PartAverage","default":{"count":0}},"quality":{"$ref":"#/components/schemas/PartAverage","default":{"count":0}},"responsiveness":{"$ref":"#/components/schemas/PartAverage","default":{"count":0}}},"title":"PartAverages","type":"object"},"Party":{"properties":{"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"hidden":{"default":false,"title":"Hidden","type":"boolean"},"mersis_no":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Mersis No"},"name":{"title":"Name","type":"string"}},"required":["name"],"title":"Party","type":"object"},"PendingNumber":{"properties":{"attempts_left":{"title":"Attempts Left","type":"integer"},"code_expires_at":{"format":"date-time","title":"Code Expires At","type":"string"},"number_hint":{"title":"Number Hint","type":"string"}},"required":["number_hint","code_expires_at","attempts_left"],"title":"PendingNumber","type":"object"},"Pick":{"properties":{"company_name":{"title":"Company Name","type":"string"},"params":{"additionalProperties":true,"title":"Params","type":"object"},"quote_id":{"format":"uuid","title":"Quote Id","type":"string"},"reason":{"title":"Reason","type":"string"}},"required":["quote_id","company_name","reason","params"],"title":"Pick","type":"object"},"PredictedLine":{"description":"A kind of goods a predicted opportunity's buyer will buy: a line of the basket table.","properties":{"hs_headings":{"items":{"type":"string"},"title":"Hs Headings","type":"array"},"key":{"title":"Key","type":"string"},"label":{"$ref":"#/components/schemas/LineLabel"}},"required":["key","label","hs_headings"],"title":"PredictedLine","type":"object"},"PredictedWinnerPage":{"description":"A winner of the award a predicted need was read from, and its buyer page.","properties":{"name":{"title":"Name","type":"string"},"slug":{"title":"Slug","type":"string"}},"required":["name","slug"],"title":"PredictedWinnerPage","type":"object"},"PreferenceIn":{"additionalProperties":false,"properties":{"frequency":{"$ref":"#/components/schemas/Frequency"}},"required":["frequency"],"title":"PreferenceIn","type":"object"},"PreferenceKind":{"description":"What a member sets a frequency for: the alert kinds, and two notices that are not\nalerts.","enum":["company_record","new_company","opportunity","follow_up","product"],"title":"PreferenceKind","type":"string"},"PreferenceOut":{"properties":{"frequency":{"$ref":"#/components/schemas/Frequency"},"kind":{"$ref":"#/components/schemas/PreferenceKind"}},"required":["kind","frequency"],"title":"PreferenceOut","type":"object"},"Price":{"description":"Indicative unit price range stated by the company (not an offer).","properties":{"currency":{"title":"Currency","type":"string"},"max":{"title":"Max","type":"string"},"min":{"title":"Min","type":"string"},"per":{"title":"Per","type":"string"}},"required":["min","max","currency","per"],"title":"Price","type":"object"},"PriceConsentOut":{"properties":{"consented":{"title":"Consented","type":"boolean"},"granted_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Granted At"},"revoked_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Revoked At"}},"required":["consented","granted_at","revoked_at"],"title":"PriceConsentOut","type":"object"},"PriceHeadingOut":{"properties":{"heading":{"title":"Heading","type":"string"},"latest_month":{"title":"Latest Month","type":"string"},"months":{"title":"Months","type":"integer"}},"required":["heading","latest_month","months"],"title":"PriceHeadingOut","type":"object"},"PriceIn":{"additionalProperties":false,"properties":{"currency":{"pattern":"^[A-Z]{3}$","title":"Currency","type":"string"},"max":{"anyOf":[{"maximum":1000000000000,"minimum":0,"type":"number"},{"type":"string"}],"title":"Max"},"min":{"anyOf":[{"maximum":1000000000000,"minimum":0,"type":"number"},{"type":"string"}],"title":"Min"},"per":{"pattern":"^[\\w][\\w .,/²³%-]{0,31}$","title":"Per","type":"string"}},"required":["min","max","currency","per"],"title":"PriceIn","type":"object"},"PriceIndexOut":{"properties":{"methodology":{"title":"Methodology","type":"string"},"months":{"items":{"type":"string"},"title":"Months","type":"array"}},"required":["months","methodology"],"title":"PriceIndexOut","type":"object"},"PricePointOut":{"properties":{"change":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Change"},"currency":{"title":"Currency","type":"string"},"heading":{"title":"Heading","type":"string"},"median":{"title":"Median","type":"string"},"month":{"title":"Month","type":"string"},"observations":{"title":"Observations","type":"string"},"p25":{"title":"P25","type":"string"},"p75":{"title":"P75","type":"string"},"unit":{"title":"Unit","type":"string"}},"required":["month","heading","unit","currency","median","p25","p75","observations","change"],"title":"PricePointOut","type":"object"},"ProForma":{"properties":{"buyer":{"$ref":"#/components/schemas/Party"},"currency":{"title":"Currency","type":"string"},"issued_on":{"format":"date","title":"Issued On","type":"string"},"lines":{"items":{"$ref":"#/components/schemas/ProFormaLine"},"title":"Lines","type":"array"},"note":{"title":"Note","type":"string"},"number":{"title":"Number","type":"string"},"seller":{"$ref":"#/components/schemas/Party"},"status":{"title":"Status","type":"string"},"terms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Terms"},"total":{"title":"Total","type":"string"},"valid_until":{"format":"date","title":"Valid Until","type":"string"}},"required":["number","issued_on","seller","buyer","lines","currency","total","valid_until","terms","status","note"],"title":"ProForma","type":"object"},"ProFormaLine":{"properties":{"amount":{"title":"Amount","type":"string"},"description":{"title":"Description","type":"string"},"lead_time_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Lead Time Days"},"quantity":{"title":"Quantity","type":"string"},"unit":{"title":"Unit","type":"string"},"unit_price":{"title":"Unit Price","type":"string"}},"required":["description","quantity","unit","unit_price","amount","lead_time_days"],"title":"ProFormaLine","type":"object"},"Problem":{"additionalProperties":false,"description":"RFC 9457 problem details, returned for every non-2xx response.","properties":{"code":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Code"},"detail":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Detail"},"errors":{"default":[],"items":{"$ref":"#/components/schemas/ItemError"},"title":"Errors","type":"array"},"instance":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Instance"},"request_id":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Request Id"},"status":{"title":"Status","type":"integer"},"title":{"title":"Title","type":"string"},"type":{"default":"about:blank","title":"Type","type":"string"}},"required":["title","status"],"title":"Problem","type":"object"},"ProcedurePageOut":{"properties":{"links":{"items":{"type":"string"},"title":"Links","type":"array"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"}},"required":["title","links"],"title":"ProcedurePageOut","type":"object"},"Product":{"properties":{"capacity":{"anyOf":[{"$ref":"#/components/schemas/Capacity"},{"type":"null"}]},"category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Category"},"hs_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hs Code"},"id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Id"},"min_order":{"anyOf":[{"$ref":"#/components/schemas/Quantity"},{"type":"null"}]},"name":{"title":"Name","type":"string"},"names":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Names"},"node_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Node Id"},"photos":{"default":[],"items":{"$ref":"#/components/schemas/ImageRef"},"title":"Photos","type":"array"},"price":{"anyOf":[{"$ref":"#/components/schemas/Price"},{"type":"null"}]},"price_on_request":{"default":false,"title":"Price On Request","type":"boolean"},"role":{"anyOf":[{"enum":["producer","wholesaler","importer","service"],"type":"string"},{"type":"null"}],"title":"Role"},"spec":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Spec"}},"required":["name"],"title":"Product","type":"object"},"ProductAlertKind":{"description":"What happened, by the row it comes from.","enum":["need","remedy","switching","requirement","signal","notification","exports"],"title":"ProductAlertKind","type":"string"},"ProductAlertOut":{"description":"One alert, in fields the page words in its reader's language: what happened, where,\nto which of the member's codes, and the one step it leads to (``action`` on ``target``).","properties":{"action":{"enum":["offer","connect","remedy","switching","requirement","exports"],"title":"Action","type":"string"},"area":{"anyOf":[{"enum":["sps","tbt"],"type":"string"},{"type":"null"}],"title":"Area"},"changed":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Changed"},"code":{"title":"Code","type":"string"},"comment_deadline":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Comment Deadline"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"deadline_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Deadline At"},"estimate":{"default":false,"title":"Estimate","type":"boolean"},"event_at":{"format":"date-time","title":"Event At","type":"string"},"growth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Growth"},"heading":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Heading"},"id":{"format":"uuid","title":"Id","type":"string"},"instrument":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instrument"},"kind":{"$ref":"#/components/schemas/ProductAlertKind"},"match":{"$ref":"#/components/schemas/ProductMatch"},"measure":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Measure"},"members":{"default":[],"items":{"type":"string"},"title":"Members","type":"array"},"month":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Month"},"origins":{"default":[],"items":{"type":"string"},"title":"Origins","type":"array"},"read_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Read At"},"signal_kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Signal Kind"},"stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage"},"symbol":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Symbol"},"target":{"title":"Target","type":"string"},"tender":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Tender"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"title_en":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title En"}},"required":["id","kind","code","match","event_at","created_at","read_at","action","target","country","title"],"title":"ProductAlertOut","type":"object"},"ProductAlertsOut":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ProductAlertOut"},"title":"Items","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"},"unread":{"title":"Unread","type":"integer"}},"required":["unread","items"],"title":"ProductAlertsOut","type":"object"},"ProductAlertsReadIn":{"additionalProperties":false,"properties":{"all":{"default":false,"title":"All","type":"boolean"},"ids":{"anyOf":[{"items":{"format":"uuid","type":"string"},"maxItems":200,"type":"array"},{"type":"null"}],"title":"Ids"}},"title":"ProductAlertsReadIn","type":"object"},"ProductAlertsReadOut":{"properties":{"marked":{"title":"Marked","type":"integer"}},"required":["marked"],"title":"ProductAlertsReadOut","type":"object"},"ProductFollowIn":{"additionalProperties":false,"properties":{"added_from":{"$ref":"#/components/schemas/AddedFrom","default":"panel"},"code":{"maxLength":24,"minLength":2,"title":"Code","type":"string"}},"required":["code"],"title":"ProductFollowIn","type":"object"},"ProductIn":{"additionalProperties":false,"properties":{"category":{"anyOf":[{"maxLength":48,"minLength":1,"type":"string"},{"type":"null"}],"title":"Category"},"gtip_log_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Gtip Log Id"},"hs_code":{"anyOf":[{"pattern":"^[0-9][0-9 .]{3,19}$","type":"string"},{"type":"null"}],"title":"Hs Code"},"hs_code_origin":{"anyOf":[{"enum":["owner","lale"],"type":"string"},{"type":"null"}],"title":"Hs Code Origin"},"min_order":{"anyOf":[{"$ref":"#/components/schemas/QuantityIn"},{"type":"null"}]},"name":{"maxLength":120,"minLength":1,"title":"Name","type":"string"},"photos":{"default":[],"items":{"format":"uuid","type":"string"},"maxItems":4,"title":"Photos","type":"array"},"price":{"anyOf":[{"$ref":"#/components/schemas/PriceIn"},{"type":"null"}]},"price_on_request":{"default":false,"title":"Price On Request","type":"boolean"},"role":{"anyOf":[{"$ref":"#/components/schemas/ProductRole"},{"type":"null"}]},"spec":{"anyOf":[{"maxLength":200,"minLength":1,"type":"string"},{"type":"null"}],"title":"Spec"}},"required":["name"],"title":"ProductIn","type":"object"},"ProductMatch":{"description":"How closely the event names the followed code (``matching``).","enum":["subheading","heading","chapter"],"title":"ProductMatch","type":"string"},"ProductOut":{"properties":{"added_from":{"$ref":"#/components/schemas/AddedFrom"},"alerts":{"title":"Alerts","type":"integer"},"code":{"title":"Code","type":"string"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"level":{"enum":["chapter","heading","subheading","cn8","line"],"title":"Level","type":"string"},"title":{"$ref":"#/components/schemas/GtipTitle"},"unread":{"title":"Unread","type":"integer"}},"required":["code","level","title","added_from","created_at","alerts","unread"],"title":"ProductOut","type":"object"},"ProductPatch":{"additionalProperties":false,"description":"Only the fields given change; ``null`` clears one (not ``name``).","properties":{"category":{"anyOf":[{"maxLength":48,"minLength":1,"type":"string"},{"type":"null"}],"title":"Category"},"hs_code":{"anyOf":[{"pattern":"^[0-9][0-9 .]{3,19}$","type":"string"},{"type":"null"}],"title":"Hs Code"},"hs_code_origin":{"anyOf":[{"enum":["owner","lale"],"type":"string"},{"type":"null"}],"title":"Hs Code Origin"},"min_order":{"anyOf":[{"$ref":"#/components/schemas/QuantityIn"},{"type":"null"}]},"name":{"anyOf":[{"maxLength":120,"minLength":1,"type":"string"},{"type":"null"}],"title":"Name"},"photos":{"anyOf":[{"items":{"format":"uuid","type":"string"},"maxItems":4,"type":"array"},{"type":"null"}],"title":"Photos"},"price":{"anyOf":[{"$ref":"#/components/schemas/PriceIn"},{"type":"null"}]},"price_on_request":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Price On Request"},"role":{"anyOf":[{"$ref":"#/components/schemas/ProductRole"},{"type":"null"}]},"spec":{"anyOf":[{"maxLength":200,"minLength":1,"type":"string"},{"type":"null"}],"title":"Spec"}},"title":"ProductPatch","type":"object"},"ProductRole":{"enum":["producer","wholesaler","importer","service"],"type":"string"},"ProductionCapacity":{"properties":{"period":{"title":"Period","type":"string"},"unit":{"title":"Unit","type":"string"},"value":{"title":"Value","type":"number"}},"required":["value","unit","period"],"title":"ProductionCapacity","type":"object"},"ProductsOut":{"properties":{"email":{"title":"Email","type":"boolean"},"frequency":{"$ref":"#/components/schemas/Frequency"},"items":{"items":{"$ref":"#/components/schemas/ProductOut"},"title":"Items","type":"array"},"most":{"title":"Most","type":"integer"},"recent_days":{"title":"Recent Days","type":"integer"},"whatsapp":{"title":"Whatsapp","type":"boolean"}},"required":["items","most","recent_days","frequency","email","whatsapp"],"title":"ProductsOut","type":"object"},"Profile":{"properties":{"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"default_identity":{"title":"Default Identity","type":"string"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"kind":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Kind"},"locale":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Locale"},"mobile_verified":{"title":"Mobile Verified","type":"boolean"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"verified_suppliers_only":{"title":"Verified Suppliers Only","type":"boolean"}},"required":["kind","name","email","country","city","locale","default_identity","verified_suppliers_only","mobile_verified"],"title":"Profile","type":"object"},"ProfileIn":{"additionalProperties":false,"description":"Only the fields sent change; ``null`` clears the country, city or language.","properties":{"city":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"title":"City"},"country":{"anyOf":[{"pattern":"^[A-Z]{2}$","type":"string"},{"type":"null"}],"title":"Country"},"default_identity":{"anyOf":[{"$ref":"#/components/schemas/Identity"},{"type":"null"}]},"locale":{"anyOf":[{"enum":["tr","en","ar","fa"],"type":"string"},{"type":"null"}],"title":"Locale"},"verified_suppliers_only":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Verified Suppliers Only"}},"title":"ProfileIn","type":"object"},"Project":{"properties":{"awarded_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Awarded On"},"basket_version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Basket Version"},"baskets":{"items":{"$ref":"#/components/schemas/NeedBasket"},"title":"Baskets","type":"array"},"buyer_country":{"title":"Buyer Country","type":"string"},"buyer_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Buyer Name"},"cpv_codes":{"items":{"type":"string"},"title":"Cpv Codes","type":"array"},"credit":{"anyOf":[{"$ref":"#/components/schemas/RadarCredit"},{"type":"null"}]},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"ends_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Ends On"},"id":{"format":"uuid","title":"Id","type":"string"},"nature":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nature"},"open_until":{"format":"date","title":"Open Until","type":"string"},"opportunity_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Opportunity Id"},"places":{"items":{"$ref":"#/components/schemas/ProjectPlace"},"title":"Places","type":"array"},"planned_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Planned On"},"portal":{"title":"Portal","type":"string"},"procedure_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Procedure Id"},"published_at":{"format":"date-time","title":"Published At","type":"string"},"reference":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reference"},"relevance":{"default":"supply","enum":["supply","low"],"title":"Relevance","type":"string"},"sectors":{"items":{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},"title":"Sectors","type":"array"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"stage":{"enum":["planned","awarded"],"title":"Stage","type":"string"},"starts_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Starts On"},"status":{"enum":["open","closed","cancelled","superseded"],"title":"Status","type":"string"},"superseded_by":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Superseded By"},"title":{"title":"Title","type":"string"},"value":{"anyOf":[{"$ref":"#/components/schemas/ProjectValue"},{"type":"null"}]},"will_need":{"items":{"$ref":"#/components/schemas/NeedLine"},"title":"Will Need","type":"array"},"winners":{"items":{"$ref":"#/components/schemas/ProjectWinner"},"title":"Winners","type":"array"}},"required":["id","stage","portal","nature","title","buyer_name","buyer_country","places","value","cpv_codes","sectors","published_at","planned_on","awarded_on","open_until","winners","will_need","source_url","credit","status","reference","procedure_id","baskets","basket_version","starts_on","ends_on","description","superseded_by"],"title":"Project","type":"object"},"ProjectList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ProjectSummary"},"title":"Items","type":"array"},"low_relevance":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Low Relevance"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"required":["items","next_cursor"],"title":"ProjectList","type":"object"},"ProjectPlace":{"properties":{"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"region":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Region"},"town":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Town"}},"required":["country","region","town"],"title":"ProjectPlace","type":"object"},"ProjectSummary":{"properties":{"awarded_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Awarded On"},"buyer_country":{"title":"Buyer Country","type":"string"},"buyer_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Buyer Name"},"cpv_codes":{"items":{"type":"string"},"title":"Cpv Codes","type":"array"},"credit":{"anyOf":[{"$ref":"#/components/schemas/RadarCredit"},{"type":"null"}]},"id":{"format":"uuid","title":"Id","type":"string"},"nature":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nature"},"open_until":{"format":"date","title":"Open Until","type":"string"},"places":{"items":{"$ref":"#/components/schemas/ProjectPlace"},"title":"Places","type":"array"},"planned_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Planned On"},"portal":{"title":"Portal","type":"string"},"published_at":{"format":"date-time","title":"Published At","type":"string"},"relevance":{"default":"supply","enum":["supply","low"],"title":"Relevance","type":"string"},"sectors":{"items":{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},"title":"Sectors","type":"array"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"stage":{"enum":["planned","awarded"],"title":"Stage","type":"string"},"title":{"title":"Title","type":"string"},"value":{"anyOf":[{"$ref":"#/components/schemas/ProjectValue"},{"type":"null"}]},"will_need":{"items":{"$ref":"#/components/schemas/NeedLine"},"title":"Will Need","type":"array"},"winners":{"items":{"$ref":"#/components/schemas/ProjectWinner"},"title":"Winners","type":"array"}},"required":["id","stage","portal","nature","title","buyer_name","buyer_country","places","value","cpv_codes","sectors","published_at","planned_on","awarded_on","open_until","winners","will_need","source_url","credit"],"title":"ProjectSummary","type":"object"},"ProjectValue":{"properties":{"amount":{"title":"Amount","type":"string"},"currency":{"title":"Currency","type":"string"}},"required":["amount","currency"],"title":"ProjectValue","type":"object"},"ProjectWinner":{"description":"A company that won the contract; never a person.","properties":{"company":{"anyOf":[{"$ref":"#/components/schemas/WinnerCompany"},{"type":"null"}]},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"identifier":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Identifier"},"name":{"title":"Name","type":"string"},"registry_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Registry Number"},"size":{"anyOf":[{"enum":["micro","small","medium","sme","large"],"type":"string"},{"type":"null"}],"title":"Size"}},"required":["name","country"],"title":"ProjectWinner","type":"object"},"ProvinceCount":{"properties":{"city_key":{"title":"City Key","type":"string"},"companies":{"title":"Companies","type":"integer"}},"required":["city_key","companies"],"title":"ProvinceCount","type":"object"},"ProvinceCounts":{"properties":{"provinces":{"items":{"$ref":"#/components/schemas/ProvinceCount"},"title":"Provinces","type":"array"},"total":{"title":"Total","type":"integer"}},"required":["total","provinces"],"title":"ProvinceCounts","type":"object"},"PublicAssistantIn":{"additionalProperties":false,"properties":{"public_assistant":{"title":"Public Assistant","type":"boolean"}},"required":["public_assistant"],"title":"PublicAssistantIn","type":"object"},"PublicAssistantOut":{"properties":{"available":{"title":"Available","type":"boolean"},"company_id":{"format":"uuid","title":"Company Id","type":"string"},"public_assistant":{"title":"Public Assistant","type":"boolean"},"reason":{"anyOf":[{"enum":["not_verified","switched_off","unavailable","platform_off"],"type":"string"},{"type":"null"}],"title":"Reason"},"updated_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Updated At"}},"required":["company_id","public_assistant","available","reason","updated_at"],"title":"PublicAssistantOut","type":"object"},"PublicCredential":{"description":"A certificate a reviewer verified and that is valid today: never the file, never\nits number.","properties":{"kind":{"title":"Kind","type":"string"},"name":{"title":"Name","type":"string"},"valid_until":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Valid Until"},"verified_at":{"format":"date","title":"Verified At","type":"string"}},"required":["kind","name","verified_at","valid_until"],"title":"PublicCredential","type":"object"},"PublicFeatures":{"description":"What this deployment has switched on, for the pages visitors read: a page promises\nonly what works (a member's own switches are in ``GET /v1/me``).","properties":{"agent":{"title":"Agent","type":"boolean"},"federation":{"title":"Federation","type":"boolean"},"kep_offered":{"title":"Kep Offered","type":"boolean"},"transfers_offered":{"title":"Transfers Offered","type":"boolean"},"whatsapp":{"title":"Whatsapp","type":"boolean"},"whatsapp_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Whatsapp Number"}},"required":["agent","whatsapp","federation","kep_offered","transfers_offered"],"title":"PublicFeatures","type":"object"},"PublicReview":{"properties":{"buyer_verified":{"title":"Buyer Verified","type":"boolean"},"id":{"format":"uuid","title":"Id","type":"string"},"proof":{"title":"Proof","type":"string"},"published_at":{"format":"date-time","title":"Published At","type":"string"},"rating":{"title":"Rating","type":"integer"},"reply":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reply"},"text":{"title":"Text","type":"string"}},"required":["id","rating","text","buyer_verified","proof","published_at","reply"],"title":"PublicReview","type":"object"},"PublicSource":{"properties":{"code":{"title":"Code","type":"string"},"granted_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Granted On"},"group":{"enum":["companies","opportunities","trade","other"],"title":"Group","type":"string"},"kinds":{"items":{"type":"string"},"title":"Kinds","type":"array"},"last_read":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Last Read"},"license_kind":{"enum":["permission","cc_by_4","cc0","ogl_3","us_government_work","eu_reuse","other"],"title":"License Kind","type":"string"},"name":{"title":"Name","type":"string"},"notice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notice"},"publisher":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Publisher"},"retired":{"default":false,"title":"Retired","type":"boolean"},"terms_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Terms Url"}},"required":["code","name","publisher","group","kinds","license_kind"],"title":"PublicSource","type":"object"},"Purpose":{"enum":["alerts","digest","marketing"],"title":"Purpose","type":"string"},"Quantity":{"properties":{"unit":{"title":"Unit","type":"string"},"value":{"title":"Value","type":"number"}},"required":["value","unit"],"title":"Quantity","type":"object"},"QuantityIn":{"additionalProperties":false,"properties":{"unit":{"pattern":"^[\\w][\\w .,/²³%-]{0,31}$","title":"Unit","type":"string"},"value":{"exclusiveMinimum":0,"maximum":1000000000000,"title":"Value","type":"number"}},"required":["value","unit"],"title":"QuantityIn","type":"object"},"QuickReplyIn":{"additionalProperties":false,"properties":{"close":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Close"},"intent":{"enum":["in_stock","samples_available","not_available"],"title":"Intent","type":"string"},"params":{"anyOf":[{"$ref":"#/components/schemas/QuickReplyParams"},{"type":"null"}]}},"required":["intent"],"title":"QuickReplyIn","type":"object"},"QuickReplyParams":{"additionalProperties":false,"properties":{"lead_time_days":{"anyOf":[{"maximum":730,"minimum":1,"type":"integer"},{"type":"null"}],"title":"Lead Time Days"},"product_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Product Id"},"sample_days":{"anyOf":[{"maximum":90,"minimum":1,"type":"integer"},{"type":"null"}],"title":"Sample Days"}},"title":"QuickReplyParams","type":"object"},"QuietHoursIn":{"additionalProperties":false,"properties":{"ends":{"format":"time","title":"Ends","type":"string"},"starts":{"format":"time","title":"Starts","type":"string"},"zone":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"title":"Zone"}},"required":["starts","ends"],"title":"QuietHoursIn","type":"object"},"QuietHoursOut":{"properties":{"ends":{"format":"time","title":"Ends","type":"string"},"starts":{"format":"time","title":"Starts","type":"string"},"zone":{"title":"Zone","type":"string"}},"required":["starts","ends","zone"],"title":"QuietHoursOut","type":"object"},"QuoteDraftIn":{"additionalProperties":false,"properties":{"currency":{"anyOf":[{"pattern":"^[A-Z]{3}$","type":"string"},{"type":"null"}],"title":"Currency"},"incoterm":{"anyOf":[{"enum":["EXW","FCA","CPT","CIP","DAP","DPU","DDP","FAS","FOB","CFR","CIF"],"type":"string"},{"type":"null"}],"title":"Incoterm"},"lines":{"items":{"$ref":"#/components/schemas/DraftLineIn"},"maxItems":100,"title":"Lines","type":"array"},"message":{"anyOf":[{"maxLength":4000,"type":"string"},{"type":"null"}],"title":"Message"},"payment_terms":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Payment Terms"},"terms":{"anyOf":[{"maxLength":2000,"type":"string"},{"type":"null"}],"title":"Terms"},"valid_until":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Valid Until"}},"required":["lines"],"title":"QuoteDraftIn","type":"object"},"QuoteDraftLine":{"properties":{"description":{"title":"Description","type":"string"},"item_position":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Item Position"},"lead_time_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Lead Time Days"},"matched_by":{"anyOf":[{"enum":["hs_code","name"],"type":"string"},{"type":"null"}],"title":"Matched By"},"moq":{"anyOf":[{"$ref":"#/components/schemas/Moq"},{"type":"null"}]},"product_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Product Id"},"quantity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quantity"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"},"unit_price":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit Price"}},"required":["description","quantity","unit","unit_price","lead_time_days","moq","product_id","matched_by","item_position"],"title":"QuoteDraftLine","type":"object"},"QuoteDraftOut":{"description":"A quote for you to price, prefilled from your catalogue. It is never sent and the\nbuyer never sees it: send the quote (``POST /v1/conversations/{id}/quotes``) with its\nprices when it is ready.","properties":{"company_id":{"format":"uuid","title":"Company Id","type":"string"},"conversation_id":{"format":"uuid","title":"Conversation Id","type":"string"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"incoterm":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Incoterm"},"lines":{"items":{"$ref":"#/components/schemas/QuoteDraftLine"},"title":"Lines","type":"array"},"message":{"anyOf":[{"$ref":"#/components/schemas/DraftMessage"},{"type":"null"}]},"payment_terms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Terms"},"saved":{"title":"Saved","type":"boolean"},"terms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Terms"},"updated_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Updated At"},"valid_until":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Valid Until"}},"required":["conversation_id","company_id","saved","updated_at","lines","currency","valid_until","terms","incoterm","payment_terms","message"],"title":"QuoteDraftOut","type":"object"},"QuoteIn":{"additionalProperties":false,"properties":{"certificates":{"anyOf":[{"items":{"maxLength":60,"minLength":2,"type":"string"},"maxItems":10,"type":"array"},{"type":"null"}],"title":"Certificates"},"currency":{"pattern":"^[A-Z]{3}$","title":"Currency","type":"string"},"in_reply_to":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"In Reply To"},"incoterm":{"anyOf":[{"enum":["EXW","FCA","CPT","CIP","DAP","DPU","DDP","FAS","FOB","CFR","CIF"],"type":"string"},{"type":"null"}],"title":"Incoterm"},"lines":{"items":{"$ref":"#/components/schemas/LineIn"},"maxItems":100,"minItems":1,"title":"Lines","type":"array"},"moq":{"anyOf":[{"$ref":"#/components/schemas/MoqIn"},{"type":"null"}]},"payment_terms":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Payment Terms"},"prepayment_pct":{"anyOf":[{"maximum":100,"minimum":0,"type":"integer"},{"type":"null"}],"title":"Prepayment Pct"},"sample":{"anyOf":[{"$ref":"#/components/schemas/SampleIn"},{"type":"null"}]},"terms":{"anyOf":[{"maxLength":2000,"type":"string"},{"type":"null"}],"title":"Terms"},"valid_until":{"format":"date","title":"Valid Until","type":"string"}},"required":["lines","currency","valid_until"],"title":"QuoteIn","type":"object"},"QuoteOut":{"properties":{"certificates":{"items":{"type":"string"},"title":"Certificates","type":"array"},"conversation_id":{"format":"uuid","title":"Conversation Id","type":"string"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"currency":{"title":"Currency","type":"string"},"extras":{"default":[],"items":{"type":"string"},"title":"Extras","type":"array"},"id":{"format":"uuid","title":"Id","type":"string"},"in_reply_to":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"In Reply To"},"incoterm":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Incoterm"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"lines":{"items":{"additionalProperties":true,"type":"object"},"title":"Lines","type":"array"},"moq":{"anyOf":[{"$ref":"#/components/schemas/Moq"},{"type":"null"}]},"payment_terms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Terms"},"prepayment_pct":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prepayment Pct"},"sample":{"anyOf":[{"$ref":"#/components/schemas/Sample"},{"type":"null"}]},"sample_requests":{"default":[],"items":{"$ref":"#/components/schemas/SampleRequestOut"},"title":"Sample Requests","type":"array"},"side":{"title":"Side","type":"string"},"status":{"title":"Status","type":"string"},"terms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Terms"},"total":{"title":"Total","type":"string"},"translated":{"anyOf":[{"$ref":"#/components/schemas/QuoteText"},{"type":"null"}]},"translation":{"enum":["ready","pending","unavailable"],"title":"Translation","type":"string"},"valid_until":{"format":"date","title":"Valid Until","type":"string"},"written_by":{"title":"Written By","type":"string"}},"required":["id","conversation_id","side","written_by","in_reply_to","lines","currency","total","valid_until","terms","status","created_at","moq","certificates","incoterm","payment_terms","sample","language","translated","translation"],"title":"QuoteOut","type":"object"},"QuoteText":{"properties":{"aid":{"items":{"type":"string"},"title":"Aid","type":"array"},"language":{"title":"Language","type":"string"},"lines":{"items":{"anyOf":[{"type":"string"},{"type":"null"}]},"title":"Lines","type":"array"},"payment_terms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Terms"},"terms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Terms"}},"required":["language","lines","terms","payment_terms","aid"],"title":"QuoteText","type":"object"},"RadarCompany":{"properties":{"company_id":{"format":"uuid","title":"Company Id","type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"slug":{"title":"Slug","type":"string"}},"required":["company_id","slug","name"],"title":"RadarCompany","type":"object"},"RadarCounts":{"properties":{"demand_rising":{"title":"Demand Rising","type":"integer"},"foreign_interest":{"title":"Foreign Interest","type":"integer"},"new":{"title":"New","type":"integer"},"new_companies":{"title":"New Companies","type":"integer"},"outcomes":{"title":"Outcomes","type":"integer"},"waiting":{"title":"Waiting","type":"integer"}},"required":["new","waiting","outcomes","new_companies","demand_rising","foreign_interest"],"title":"RadarCounts","type":"object"},"RadarCredit":{"description":"Where a signal came from, as its source's licence asks it to be credited.","properties":{"licence_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Licence Url"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"notice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notice"}},"required":["name","notice","licence_url"],"title":"RadarCredit","type":"object"},"RadarIn":{"additionalProperties":false,"properties":{"city":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"title":"City"},"nace":{"anyOf":[{"pattern":"^[0-9]{2}\\.[0-9]{2}$","type":"string"},{"type":"null"}],"title":"Nace"}},"title":"RadarIn","type":"object"},"RadarList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/NewCompany"},"title":"Items","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"required":["items","next_cursor"],"title":"RadarList","type":"object"},"RadarOpportunity":{"properties":{"buyer_verified":{"title":"Buyer Verified","type":"boolean"},"company_id":{"format":"uuid","title":"Company Id","type":"string"},"company_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Name"},"deadline_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Deadline At"},"destination_country":{"title":"Destination Country","type":"string"},"eligibility":{"anyOf":[{"$ref":"#/components/schemas/OpportunityEligibility"},{"type":"null"}]},"match_id":{"format":"uuid","title":"Match Id","type":"string"},"need_id":{"format":"uuid","title":"Need Id","type":"string"},"predicted":{"default":false,"title":"Predicted","type":"boolean"},"procurement_type":{"anyOf":[{"enum":["goods","services","works","consultancy","other"],"type":"string"},{"type":"null"}],"title":"Procurement Type"},"published_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Published At"},"region":{"enum":["tr","gcc","other"],"title":"Region","type":"string"},"score":{"title":"Score","type":"integer"},"source":{"title":"Source","type":"string"},"status":{"title":"Status","type":"string"},"title":{"title":"Title","type":"string"},"type":{"enum":["purchase_request","tender","partner","service"],"title":"Type","type":"string"},"urgent":{"title":"Urgent","type":"boolean"}},"required":["match_id","need_id","company_id","company_name","title","score","status","published_at","deadline_at","urgent","type","destination_country","region","buyer_verified","source"],"title":"RadarOpportunity","type":"object"},"RadarOut":{"properties":{"city_key":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City Key"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"nace":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nace"}},"required":["id","city_key","nace","created_at"],"title":"RadarOut","type":"object"},"RadarSectorCount":{"properties":{"count":{"title":"Count","type":"integer"},"sector":{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"title":"Sector","type":"string"}},"required":["sector","count"],"title":"RadarSectorCount","type":"object"},"RadarSummary":{"properties":{"latest_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Latest At"},"projects_by_sector":{"items":{"$ref":"#/components/schemas/RadarSectorCount"},"title":"Projects By Sector","type":"array"},"projects_open":{"title":"Projects Open","type":"integer"},"switching_by_sector":{"items":{"$ref":"#/components/schemas/RadarSectorCount"},"title":"Switching By Sector","type":"array"},"switching_days":{"title":"Switching Days","type":"integer"},"switching_home_recent":{"title":"Switching Home Recent","type":"integer"},"switching_recent":{"title":"Switching Recent","type":"integer"}},"required":["projects_open","projects_by_sector","switching_recent","switching_home_recent","switching_by_sector","switching_days","latest_at"],"title":"RadarSummary","type":"object"},"RadarView":{"properties":{"companies":{"items":{"$ref":"#/components/schemas/RadarCompany"},"title":"Companies","type":"array"},"counts":{"$ref":"#/components/schemas/RadarCounts"},"day":{"format":"date","title":"Day","type":"string"},"frequency":{"$ref":"#/components/schemas/Frequency"},"new":{"items":{"$ref":"#/components/schemas/RadarOpportunity"},"title":"New","type":"array"},"org_id":{"format":"uuid","title":"Org Id","type":"string"},"outcomes":{"items":{"$ref":"#/components/schemas/RadarOpportunity"},"title":"Outcomes","type":"array"},"reason":{"anyOf":[{"enum":["managers_only","no_company"],"type":"string"},{"type":"null"}],"title":"Reason"},"sent_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Sent At"},"state":{"enum":["on","not_set_up"],"title":"State","type":"string"},"waiting":{"items":{"$ref":"#/components/schemas/RadarOpportunity"},"title":"Waiting","type":"array"}},"required":["org_id","state","reason","frequency","day","sent_at","counts","new","waiting","outcomes","companies"],"title":"RadarView","type":"object"},"ReadIn":{"additionalProperties":false,"properties":{"all":{"default":false,"title":"All","type":"boolean"},"ids":{"anyOf":[{"items":{"format":"uuid","type":"string"},"maxItems":200,"type":"array"},{"type":"null"}],"title":"Ids"}},"title":"ReadIn","type":"object"},"ReadOut":{"properties":{"marked":{"title":"Marked","type":"integer"}},"required":["marked"],"title":"ReadOut","type":"object"},"ReadinessAssessment":{"properties":{"code":{"title":"Code","type":"string"},"destination":{"enum":["SA","AE","QA"],"title":"Destination","type":"string"},"disclaimer":{"title":"Disclaimer","type":"string"},"estimate":{"anyOf":[{"$ref":"#/components/schemas/ReadinessEstimate"},{"type":"null"}]},"expert":{"items":{"enum":["no_published_requirements","several_regulations","routes_conflict","missing_conformity","missing_shipment_certificate","unclassified_certification","no_checklist"],"type":"string"},"title":"Expert","type":"array"},"hs6":{"title":"Hs6","type":"string"},"industries":{"items":{"enum":["textiles","furniture","building","food"],"type":"string"},"title":"Industries","type":"array"},"industry":{"anyOf":[{"enum":["textiles","furniture","building","food"],"type":"string"},{"type":"null"}],"title":"Industry"},"language":{"enum":["tr","en","ar","fa"],"title":"Language","type":"string"},"others":{"items":{"$ref":"#/components/schemas/ReadinessItem"},"title":"Others","type":"array"},"path":{"$ref":"#/components/schemas/ReadinessPath"},"prepare":{"items":{"$ref":"#/components/schemas/ReadinessItem"},"title":"Prepare","type":"array"},"regulated":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Regulated"},"requirements":{"items":{"$ref":"#/components/schemas/ReadinessRequirement"},"title":"Requirements","type":"array"},"roles":{"additionalProperties":{"type":"string"},"title":"Roles","type":"object"},"statuses":{"additionalProperties":{"type":"string"},"title":"Statuses","type":"object"},"title":{"$ref":"#/components/schemas/GtipTitle"},"verdict":{"enum":["regulated","partly_regulated","self_declaration","sfda","several_regulations","needs_expert","no_data"],"title":"Verdict","type":"string"}},"required":["destination","code","hs6","title","industries","industry","verdict","regulated","expert","path","requirements","prepare","others","estimate","statuses","roles","language","disclaimer"],"title":"ReadinessAssessment","type":"object"},"ReadinessCandidate":{"properties":{"code":{"title":"Code","type":"string"},"score":{"title":"Score","type":"number"},"title":{"$ref":"#/components/schemas/GtipTitle"}},"required":["code","title","score"],"title":"ReadinessCandidate","type":"object"},"ReadinessCheck":{"properties":{"assessment":{"$ref":"#/components/schemas/ReadinessAssessment"},"remaining":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Remaining"}},"required":["assessment","remaining"],"title":"ReadinessCheck","type":"object"},"ReadinessCheckIn":{"additionalProperties":false,"properties":{"code":{"pattern":"^[0-9][0-9 .]{10,20}$","title":"Code","type":"string"},"destination":{"default":"SA","enum":["SA","AE","QA"],"title":"Destination","type":"string"},"language":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"}},"required":["code"],"title":"ReadinessCheckIn","type":"object"},"ReadinessCost":{"properties":{"basis":{"enum":["published","cap","free","not_published","unconfirmed"],"title":"Basis","type":"string"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"item":{"title":"Item","type":"string"},"max":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Max"},"min":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Min"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"payer":{"anyOf":[{"enum":["exporter","importer","authority"],"type":"string"},{"type":"null"}],"title":"Payer"},"per":{"enum":["certificate","shipment","product","establishment"],"title":"Per","type":"string"},"requirement":{"format":"uuid","title":"Requirement","type":"string"},"vat":{"anyOf":[{"enum":["excluded","included"],"type":"string"},{"type":"null"}],"title":"Vat"}},"required":["item","per","basis","payer","model","min","max","currency","vat","requirement"],"title":"ReadinessCost","type":"object"},"ReadinessCosting":{"description":"What one way through costs and takes, from published figures only.","properties":{"complete":{"title":"Complete","type":"boolean"},"costs":{"items":{"$ref":"#/components/schemas/ReadinessCost"},"title":"Costs","type":"array"},"durations":{"items":{"$ref":"#/components/schemas/ReadinessDuration"},"title":"Durations","type":"array"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"spans":{"items":{"$ref":"#/components/schemas/ReadinessSpan"},"title":"Spans","type":"array"},"totals":{"items":{"$ref":"#/components/schemas/ReadinessTotal"},"title":"Totals","type":"array"},"unknown":{"items":{"type":"string"},"title":"Unknown","type":"array"}},"required":["model","costs","durations","totals","spans","unknown","complete"],"title":"ReadinessCosting","type":"object"},"ReadinessDestination":{"properties":{"available":{"title":"Available","type":"boolean"},"destination":{"enum":["SA","AE","QA"],"title":"Destination","type":"string"},"published":{"title":"Published","type":"integer"},"seeded":{"title":"Seeded","type":"boolean"}},"required":["destination","published","seeded","available"],"title":"ReadinessDestination","type":"object"},"ReadinessDestinations":{"properties":{"items":{"items":{"$ref":"#/components/schemas/ReadinessDestination"},"title":"Items","type":"array"}},"required":["items"],"title":"ReadinessDestinations","type":"object"},"ReadinessDuration":{"properties":{"basis":{"enum":["published","not_published"],"title":"Basis","type":"string"},"item":{"title":"Item","type":"string"},"max":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max"},"min":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Min"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"per":{"enum":["certificate","shipment","product","establishment"],"title":"Per","type":"string"},"requirement":{"format":"uuid","title":"Requirement","type":"string"},"unit":{"anyOf":[{"enum":["immediate","working_days","days"],"type":"string"},{"type":"null"}],"title":"Unit"}},"required":["item","per","basis","model","unit","min","max","requirement"],"title":"ReadinessDuration","type":"object"},"ReadinessEstimate":{"properties":{"label":{"title":"Label","type":"string"},"options":{"items":{"$ref":"#/components/schemas/ReadinessCosting"},"title":"Options","type":"array"},"per_shipment":{"$ref":"#/components/schemas/ReadinessCosting"},"validity":{"items":{"$ref":"#/components/schemas/ReadinessValidity"},"title":"Validity","type":"array"}},"required":["label","options","per_shipment","validity"],"title":"ReadinessEstimate","type":"object"},"ReadinessItem":{"description":"A checklist item for the code, shown because a published requirement it rests on\ncovers the code.","properties":{"condition":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Condition"},"evidence":{"title":"Evidence","type":"string"},"key":{"title":"Key","type":"string"},"requirements":{"items":{"format":"uuid","type":"string"},"title":"Requirements","type":"array"},"title":{"title":"Title","type":"string"},"who":{"items":{"enum":["exporter","importer","body","authority"],"type":"string"},"title":"Who","type":"array"}},"required":["key","who","title","evidence","condition","requirements"],"title":"ReadinessItem","type":"object"},"ReadinessModel":{"properties":{"model":{"enum":["type1a","type3","quality_mark","self_declaration"],"title":"Model","type":"string"},"requirement":{"format":"uuid","title":"Requirement","type":"string"},"scope":{"enum":["all","some","accepted"],"title":"Scope","type":"string"}},"required":["model","scope","requirement"],"title":"ReadinessModel","type":"object"},"ReadinessPath":{"description":"The way into the destination, from the published requirements alone.","properties":{"label_licences":{"items":{"format":"uuid","type":"string"},"title":"Label Licences","type":"array"},"line_check":{"title":"Line Check","type":"boolean"},"models":{"items":{"$ref":"#/components/schemas/ReadinessModel"},"title":"Models","type":"array"},"regulations":{"items":{"$ref":"#/components/schemas/ReadinessRegulation"},"title":"Regulations","type":"array"},"route":{"anyOf":[{"enum":["saber","sfda"],"type":"string"},{"type":"null"}],"title":"Route"},"self_declaration":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Self Declaration"},"sfda_clearance":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Sfda Clearance"},"shipment_certificate":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Shipment Certificate"}},"required":["route","regulations","models","self_declaration","shipment_certificate","sfda_clearance","label_licences","line_check"],"title":"ReadinessPath","type":"object"},"ReadinessRegulation":{"properties":{"regulation":{"title":"Regulation","type":"string"},"requirements":{"items":{"format":"uuid","type":"string"},"title":"Requirements","type":"array"}},"required":["regulation","requirements"],"title":"ReadinessRegulation","type":"object"},"ReadinessRequirement":{"description":"A published requirement for the code in the destination (or its bloc).","properties":{"applies_to":{"title":"Applies To","type":"string"},"certification":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Certification"},"certification_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Certification Id"},"destination":{"title":"Destination","type":"string"},"details":{"title":"Details","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"kind":{"enum":["certification","document","labeling","sps","technical"],"title":"Kind","type":"string"},"language":{"enum":["tr","en","ar","fa"],"title":"Language","type":"string"},"mandatory":{"title":"Mandatory","type":"boolean"},"published_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Published At"},"reviewed_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Reviewed On"},"route":{"anyOf":[{"enum":["saber","sfda"],"type":"string"},{"type":"null"}],"title":"Route"},"rule":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rule"},"source":{"title":"Source","type":"string"},"step":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Step"},"title":{"title":"Title","type":"string"}},"required":["id","rule","destination","applies_to","kind","step","route","mandatory","certification_id","certification","title","details","language","source","reviewed_on","published_at"],"title":"ReadinessRequirement","type":"object"},"ReadinessSearch":{"properties":{"candidates":{"items":{"$ref":"#/components/schemas/ReadinessCandidate"},"title":"Candidates","type":"array"},"disclaimer":{"title":"Disclaimer","type":"string"},"remaining":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Remaining"}},"required":["candidates","remaining","disclaimer"],"title":"ReadinessSearch","type":"object"},"ReadinessSearchIn":{"additionalProperties":false,"properties":{"language":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"},"text":{"maxLength":2000,"minLength":3,"title":"Text","type":"string"}},"required":["text"],"title":"ReadinessSearchIn","type":"object"},"ReadinessSpan":{"properties":{"max":{"title":"Max","type":"integer"},"min":{"title":"Min","type":"integer"},"unit":{"enum":["immediate","working_days","days"],"title":"Unit","type":"string"}},"required":["unit","min","max"],"title":"ReadinessSpan","type":"object"},"ReadinessTotal":{"properties":{"currency":{"title":"Currency","type":"string"},"max":{"title":"Max","type":"string"},"min":{"title":"Min","type":"string"}},"required":["currency","min","max"],"title":"ReadinessTotal","type":"object"},"ReadinessValidity":{"properties":{"item":{"title":"Item","type":"string"},"requirement":{"format":"uuid","title":"Requirement","type":"string"},"unit":{"enum":["days","years"],"title":"Unit","type":"string"},"value":{"title":"Value","type":"integer"}},"required":["item","value","unit","requirement"],"title":"ReadinessValidity","type":"object"},"Record":{"properties":{"effect":{"enum":["green","yellow","red","neutral"],"title":"Effect","type":"string"},"occurred_on":{"format":"date","title":"Occurred On","type":"string"},"params":{"additionalProperties":{"type":"string"},"title":"Params","type":"object"},"type":{"title":"Type","type":"string"}},"required":["type","effect","occurred_on","params"],"title":"Record","type":"object"},"RecordFair":{"properties":{"edition":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Edition"},"ends_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Ends On"},"name":{"title":"Name","type":"string"},"products":{"items":{"type":"string"},"title":"Products","type":"array"},"starts_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Starts On"},"venue_city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Venue City"},"venue_country":{"title":"Venue Country","type":"string"}},"required":["name","edition","starts_on","ends_on","venue_country","venue_city","products"],"title":"RecordFair","type":"object"},"RecordHead":{"description":"A record in one line: what it is and what it says of itself.","properties":{"kind":{"enum":["award","planned","exhibition","hotel","news"],"title":"Kind","type":"string"},"published_at":{"format":"date-time","title":"Published At","type":"string"},"title":{"title":"Title","type":"string"}},"required":["kind","title","published_at"],"title":"RecordHead","type":"object"},"RecordHotel":{"properties":{"brand":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand"},"event":{"title":"Event","type":"string"},"keys":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Keys"},"opening_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Opening Year"},"stars":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Stars"}},"required":["event","keys","stars","opening_year","brand"],"title":"RecordHotel","type":"object"},"RecordParty":{"description":"Another organisation a record names, as everyone may read it (an award's authority or\nits winners), with its page here when it has one.","properties":{"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"name":{"title":"Name","type":"string"},"slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Slug"}},"required":["name"],"title":"RecordParty","type":"object"},"RecordValue":{"properties":{"amount":{"title":"Amount","type":"string"},"currency":{"title":"Currency","type":"string"}},"required":["amount","currency"],"title":"RecordValue","type":"object"},"ReferralContact":{"properties":{"email":{"title":"Email","type":"string"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"}},"required":["name","email"],"title":"ReferralContact","type":"object"},"ReferralIn":{"additionalProperties":false,"properties":{"approve":{"const":true,"title":"Approve","type":"boolean"},"certifier_id":{"format":"uuid","title":"Certifier Id","type":"string"},"digest":{"pattern":"^[0-9a-f]{64}$","title":"Digest","type":"string"},"note":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"title":"Note"},"parts":{"default":[],"items":{"enum":["checklist","outline","label"],"type":"string"},"maxItems":3,"title":"Parts","type":"array"}},"required":["certifier_id","digest","approve"],"title":"ReferralIn","type":"object"},"ReferralLetter":{"description":"The letter's values exactly as the certifier reads them (its language), the note\naside: what the member approves.","properties":{"checklist":{"items":{"type":"string"},"title":"Checklist","type":"array"},"code":{"title":"Code","type":"string"},"company_name":{"title":"Company Name","type":"string"},"contact_email":{"title":"Contact Email","type":"string"},"contact_name":{"title":"Contact Name","type":"string"},"destination":{"title":"Destination","type":"string"},"industry":{"title":"Industry","type":"string"},"label":{"items":{"type":"string"},"title":"Label","type":"array"},"marks":{"title":"Marks","type":"string"},"outline":{"items":{"type":"string"},"title":"Outline","type":"array"},"product_name":{"title":"Product Name","type":"string"}},"required":["product_name","code","destination","industry","company_name","contact_name","contact_email","checklist","outline","label","marks"],"title":"ReferralLetter","type":"object"},"ReferralOut":{"properties":{"certifier_id":{"format":"uuid","title":"Certifier Id","type":"string"},"certifier_name":{"title":"Certifier Name","type":"string"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"parts":{"items":{"type":"string"},"title":"Parts","type":"array"},"sent_to":{"title":"Sent To","type":"string"}},"required":["id","certifier_id","certifier_name","sent_to","parts","created_at"],"title":"ReferralOut","type":"object"},"ReferralPackage":{"description":"Exactly what a request for a quote carries (the member sees it before approving).","properties":{"checklist":{"anyOf":[{"items":{"additionalProperties":{"type":"string"},"type":"object"},"type":"array"},{"type":"null"}],"title":"Checklist"},"code":{"title":"Code","type":"string"},"company":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company"},"contact":{"$ref":"#/components/schemas/ReferralContact"},"destination":{"const":"SA","title":"Destination","type":"string"},"hs6":{"title":"Hs6","type":"string"},"industry":{"enum":["textiles","furniture","building","food"],"title":"Industry","type":"string"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"marks":{"items":{"type":"string"},"title":"Marks","type":"array"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"outline":{"anyOf":[{"$ref":"#/components/schemas/ComplianceOutline"},{"type":"null"}]},"product":{"title":"Product","type":"string"}},"required":["product","code","hs6","destination","industry","company","contact","note","checklist","outline","label","marks"],"title":"ReferralPackage","type":"object"},"ReferralPreview":{"properties":{"available":{"items":{"enum":["checklist","outline","label"],"type":"string"},"title":"Available","type":"array"},"certifier":{"$ref":"#/components/schemas/CertifierOption"},"digest":{"title":"Digest","type":"string"},"language":{"enum":["tr","en","ar"],"title":"Language","type":"string"},"letter":{"$ref":"#/components/schemas/ReferralLetter"},"package":{"$ref":"#/components/schemas/ReferralPackage"},"parts":{"items":{"enum":["checklist","outline","label"],"type":"string"},"title":"Parts","type":"array"}},"required":["certifier","language","parts","available","package","letter","digest"],"title":"ReferralPreview","type":"object"},"ReferralPreviewIn":{"additionalProperties":false,"properties":{"certifier_id":{"format":"uuid","title":"Certifier Id","type":"string"},"note":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"title":"Note"},"parts":{"default":[],"items":{"enum":["checklist","outline","label"],"type":"string"},"maxItems":3,"title":"Parts","type":"array"}},"required":["certifier_id"],"title":"ReferralPreviewIn","type":"object"},"RegionCounts":{"properties":{"gcc":{"title":"Gcc","type":"integer"},"other":{"title":"Other","type":"integer"},"tr":{"title":"Tr","type":"integer"}},"required":["tr","gcc","other"],"title":"RegionCounts","type":"object"},"RegulatorNews":{"description":"A market's regulators' newest news (``/v1/regulator-news``).","properties":{"items":{"items":{"$ref":"#/components/schemas/RegulatorNewsItem"},"title":"Items","type":"array"},"regulators":{"items":{"$ref":"#/components/schemas/RegulatorRef"},"title":"Regulators","type":"array"},"sources":{"items":{"$ref":"#/components/schemas/AssociationSource"},"title":"Sources","type":"array"},"total":{"title":"Total","type":"integer"}},"required":["items","regulators","total","sources"],"title":"RegulatorNews","type":"object"},"RegulatorNewsItem":{"description":"One item of a regulator's own news: its headline as the regulator wrote it (in its\nlanguage), its day in the market and its link on the regulator's site; never its text.","properties":{"id":{"format":"uuid","title":"Id","type":"string"},"language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Language"},"published_on":{"format":"date","title":"Published On","type":"string"},"regulator":{"title":"Regulator","type":"string"},"title":{"title":"Title","type":"string"},"url":{"title":"Url","type":"string"}},"required":["id","regulator","title","language","published_on","url"],"title":"RegulatorNewsItem","type":"object"},"RegulatorRef":{"properties":{"key":{"title":"Key","type":"string"},"name":{"title":"Name","type":"string"},"name_ar":{"title":"Name Ar","type":"string"},"url":{"title":"Url","type":"string"}},"required":["key","name","name_ar","url"],"title":"RegulatorRef","type":"object"},"ReleaseIn":{"additionalProperties":false,"properties":{"amount":{"anyOf":[{"exclusiveMinimum":0,"type":"number"},{"type":"string"}],"title":"Amount"}},"required":["amount"],"title":"ReleaseIn","type":"object"},"RemovedOut":{"properties":{"keys_revoked":{"title":"Keys Revoked","type":"integer"}},"required":["keys_revoked"],"title":"RemovedOut","type":"object"},"ReplyIn":{"additionalProperties":false,"properties":{"text":{"maxLength":2000,"minLength":10,"title":"Text","type":"string"}},"required":["text"],"title":"ReplyIn","type":"object"},"ReplySubject":{"description":"What a buyer's answer is about.","enum":["page","need","record"],"title":"ReplySubject","type":"string"},"ReportDownloadOut":{"properties":{"expires_at":{"format":"date-time","title":"Expires At","type":"string"},"url":{"title":"Url","type":"string"}},"required":["url","expires_at"],"title":"ReportDownloadOut","type":"object"},"ReportIn":{"additionalProperties":false,"properties":{"buyer":{"anyOf":[{"pattern":"^[a-z0-9][a-z0-9-]{0,127}$","type":"string"},{"type":"null"}],"title":"Buyer"},"company_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Company Id"},"contact_email":{"anyOf":[{"maxLength":320,"pattern":"^[^@\\s]{1,64}@[A-Za-z0-9.-]{1,253}\\.[A-Za-z]{2,63}$","type":"string"},{"type":"null"}],"title":"Contact Email"},"message":{"maxLength":2000,"minLength":10,"title":"Message","type":"string"},"reason":{"enum":["incorrect","outdated","personal_data","legal","other"],"title":"Reason","type":"string"}},"required":["reason","message"],"title":"ReportIn","type":"object"},"ReportOut":{"properties":{"answer_by":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Answer By"},"reference":{"format":"uuid","title":"Reference","type":"string"}},"required":["reference","answer_by"],"title":"ReportOut","type":"object"},"ReportUploadOut":{"properties":{"expires_at":{"format":"date-time","title":"Expires At","type":"string"},"report":{"$ref":"#/components/schemas/ServiceReportOut"},"upload_headers":{"additionalProperties":{"type":"string"},"title":"Upload Headers","type":"object"},"upload_url":{"title":"Upload Url","type":"string"}},"required":["report","upload_url","upload_headers","expires_at"],"title":"ReportUploadOut","type":"object"},"RequestKind":{"enum":["access","correction","erasure","objection"],"title":"RequestKind","type":"string"},"RequirementSummary":{"properties":{"applies_to":{"title":"Applies To","type":"string"},"certification":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Certification"},"certification_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Certification Id"},"checked_on":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Checked On"},"destination":{"title":"Destination","type":"string"},"details":{"title":"Details","type":"string"},"kind":{"title":"Kind","type":"string"},"mandatory":{"title":"Mandatory","type":"boolean"},"source":{"title":"Source","type":"string"},"title":{"title":"Title","type":"string"}},"required":["destination","applies_to","kind","mandatory","certification_id","certification","title","details","source","checked_on"],"title":"RequirementSummary","type":"object"},"RequirementsOverview":{"properties":{"blocs":{"items":{"$ref":"#/components/schemas/BlocCount"},"title":"Blocs","type":"array"},"destinations":{"items":{"$ref":"#/components/schemas/DestinationCount"},"title":"Destinations","type":"array"},"products":{"items":{"$ref":"#/components/schemas/AskedProduct"},"title":"Products","type":"array"},"published":{"title":"Published","type":"integer"}},"required":["published","destinations","blocs","products"],"title":"RequirementsOverview","type":"object"},"Responsiveness":{"description":"How the company answers buyers who write to it here, over the last 90 days.","properties":{"avg_first_reply_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Avg First Reply Minutes"},"reply_rate":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Reply Rate"}},"required":["reply_rate","avg_first_reply_minutes"],"title":"Responsiveness","type":"object"},"ReviewIn":{"additionalProperties":false,"properties":{"rating":{"maximum":5,"minimum":1,"title":"Rating","type":"integer"},"sub_ratings":{"anyOf":[{"$ref":"#/components/schemas/SubRatingsIn"},{"type":"null"}]},"text":{"maxLength":2000,"minLength":20,"title":"Text","type":"string"}},"required":["rating","text"],"title":"ReviewIn","type":"object"},"ReviewOut":{"properties":{"attempts_left":{"title":"Attempts Left","type":"integer"},"company_id":{"format":"uuid","title":"Company Id","type":"string"},"company_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Name"},"company_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Slug"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"deal_id":{"format":"uuid","title":"Deal Id","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"proof":{"title":"Proof","type":"string"},"published_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Published At"},"rating":{"title":"Rating","type":"integer"},"reply":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reply"},"reply_attempts_left":{"title":"Reply Attempts Left","type":"integer"},"reply_status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reply Status"},"side":{"title":"Side","type":"string"},"status":{"title":"Status","type":"string"},"sub_ratings":{"anyOf":[{"$ref":"#/components/schemas/SubRatingsOut"},{"type":"null"}]},"text":{"title":"Text","type":"string"}},"required":["id","side","deal_id","company_id","company_slug","company_name","rating","text","proof","status","attempts_left","reply","reply_status","reply_attempts_left","created_at","published_at"],"title":"ReviewOut","type":"object"},"ReviewSummary":{"properties":{"average":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Average"},"count":{"title":"Count","type":"integer"},"parts":{"$ref":"#/components/schemas/PartAverages","default":{"on_time":{"count":0},"packaging":{"count":0},"quality":{"count":0},"responsiveness":{"count":0}}}},"required":["count","average"],"title":"ReviewSummary","type":"object"},"Reviews":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PublicReview"},"title":"Items","type":"array"},"summary":{"$ref":"#/components/schemas/ReviewSummary"}},"required":["summary","items"],"title":"Reviews","type":"object"},"RfqFailure":{"properties":{"company_id":{"format":"uuid","title":"Company Id","type":"string"},"reason":{"title":"Reason","type":"string"}},"required":["company_id","reason"],"title":"RfqFailure","type":"object"},"RfqIn":{"additionalProperties":false,"properties":{"company_ids":{"items":{"format":"uuid","type":"string"},"maxItems":20,"minItems":1,"title":"Company Ids","type":"array"},"need_id":{"format":"uuid","title":"Need Id","type":"string"}},"required":["need_id","company_ids"],"title":"RfqIn","type":"object"},"RfqOut":{"properties":{"failed":{"items":{"$ref":"#/components/schemas/RfqFailure"},"title":"Failed","type":"array"},"sent":{"items":{"format":"uuid","type":"string"},"title":"Sent","type":"array"}},"required":["sent","failed"],"title":"RfqOut","type":"object"},"RoleIn":{"additionalProperties":false,"properties":{"role":{"enum":["owner","admin","member","sales","purchasing","viewer"],"title":"Role","type":"string"}},"required":["role"],"title":"RoleIn","type":"object"},"RoleOut":{"properties":{"account_id":{"format":"uuid","title":"Account Id","type":"string"},"email_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email Hint"},"keys_revoked":{"title":"Keys Revoked","type":"integer"},"last_active_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Active At"},"role":{"title":"Role","type":"string"},"since":{"format":"date-time","title":"Since","type":"string"},"you":{"title":"You","type":"boolean"}},"required":["account_id","role","email_hint","since","you","last_active_at","keys_revoked"],"title":"RoleOut","type":"object"},"RuleExtra":{"properties":{"label":{"title":"Label","type":"string"},"min_quantity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Min Quantity"}},"required":["label","min_quantity"],"title":"RuleExtra","type":"object"},"RuleExtraIn":{"additionalProperties":false,"properties":{"label":{"maxLength":80,"minLength":2,"title":"Label","type":"string"},"min_quantity":{"anyOf":[{"exclusiveMinimum":0,"type":"number"},{"type":"string"},{"type":"null"}],"title":"Min Quantity"}},"required":["label"],"title":"RuleExtraIn","type":"object"},"RuleIn":{"additionalProperties":false,"properties":{"code":{"anyOf":[{"pattern":"^(hs|gtip|nace):[0-9.]{2,16}$","type":"string"},{"type":"null"}],"title":"Code"},"currency":{"pattern":"^[A-Z]{3}$","title":"Currency","type":"string"},"extras":{"anyOf":[{"items":{"$ref":"#/components/schemas/RuleExtraIn"},"maxItems":5,"type":"array"},{"type":"null"}],"title":"Extras"},"floor_price":{"anyOf":[{"minimum":0,"type":"number"},{"type":"string"}],"title":"Floor Price"},"lead_time_days":{"maximum":730,"minimum":0,"title":"Lead Time Days","type":"integer"},"list_price":{"anyOf":[{"minimum":0,"type":"number"},{"type":"string"}],"title":"List Price"},"min_lead_time_days":{"anyOf":[{"maximum":730,"minimum":0,"type":"integer"},{"type":"null"}],"title":"Min Lead Time Days"},"min_order":{"anyOf":[{"exclusiveMinimum":0,"type":"number"},{"type":"string"},{"type":"null"}],"title":"Min Order"},"min_prepayment_pct":{"anyOf":[{"maximum":100,"minimum":0,"type":"integer"},{"type":"null"}],"title":"Min Prepayment Pct"},"payment_terms":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"title":"Payment Terms"},"prepayment_pct":{"anyOf":[{"maximum":100,"minimum":0,"type":"integer"},{"type":"null"}],"title":"Prepayment Pct"},"product":{"maxLength":200,"minLength":2,"title":"Product","type":"string"},"unit":{"maxLength":32,"minLength":1,"title":"Unit","type":"string"},"validity_days":{"default":14,"maximum":90,"minimum":1,"title":"Validity Days","type":"integer"}},"required":["product","unit","list_price","floor_price","lead_time_days"],"title":"RuleIn","type":"object"},"RuleOut":{"properties":{"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"currency":{"title":"Currency","type":"string"},"extras":{"default":[],"items":{"$ref":"#/components/schemas/RuleExtra"},"title":"Extras","type":"array"},"floor_price":{"title":"Floor Price","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"lead_time_days":{"title":"Lead Time Days","type":"integer"},"list_price":{"title":"List Price","type":"string"},"min_lead_time_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Min Lead Time Days"},"min_order":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Min Order"},"min_prepayment_pct":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Min Prepayment Pct"},"payment_terms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Terms"},"prepayment_pct":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Prepayment Pct"},"product":{"title":"Product","type":"string"},"unit":{"title":"Unit","type":"string"},"validity_days":{"title":"Validity Days","type":"integer"}},"required":["id","product","code","currency","unit","list_price","floor_price","min_order","lead_time_days","payment_terms","validity_days"],"title":"RuleOut","type":"object"},"SalesContact":{"description":"A member of the company's team who chose to be shown: never a phone or an address\n(buyers write through the page).","properties":{"languages":{"default":[],"items":{"type":"string"},"title":"Languages","type":"array"},"name":{"title":"Name","type":"string"},"role":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role"}},"required":["name"],"title":"SalesContact","type":"object"},"SalesContactIn":{"additionalProperties":false,"properties":{"display_name":{"maxLength":60,"minLength":2,"title":"Display Name","type":"string"},"languages":{"default":[],"items":{"type":"string"},"maxItems":8,"title":"Languages","type":"array"},"notice_version":{"default":"2026-10","pattern":"^[0-9]{4}-[0-9]{2}$","title":"Notice Version","type":"string"},"role_title":{"anyOf":[{"maxLength":60,"minLength":1,"type":"string"},{"type":"null"}],"title":"Role Title"}},"required":["display_name"],"title":"SalesContactIn","type":"object"},"SalesContactOut":{"properties":{"account_id":{"format":"uuid","title":"Account Id","type":"string"},"consented_at":{"format":"date-time","title":"Consented At","type":"string"},"display_name":{"title":"Display Name","type":"string"},"languages":{"items":{"type":"string"},"title":"Languages","type":"array"},"mine":{"title":"Mine","type":"boolean"},"notice_version":{"title":"Notice Version","type":"string"},"role_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Role Title"}},"required":["account_id","display_name","role_title","languages","notice_version","consented_at","mine"],"title":"SalesContactOut","type":"object"},"Sample":{"properties":{"free":{"title":"Free","type":"boolean"},"offered":{"title":"Offered","type":"boolean"}},"required":["offered","free"],"title":"Sample","type":"object"},"SampleIn":{"additionalProperties":false,"properties":{"free":{"default":false,"title":"Free","type":"boolean"},"offered":{"title":"Offered","type":"boolean"}},"required":["offered"],"title":"SampleIn","type":"object"},"SampleRequestIn":{"additionalProperties":false,"properties":{"note":{"anyOf":[{"maxLength":500,"minLength":1,"type":"string"},{"type":"null"}],"title":"Note"},"quantity":{"anyOf":[{"exclusiveMinimum":0,"type":"number"},{"type":"string"}],"title":"Quantity"},"unit":{"anyOf":[{"maxLength":32,"minLength":1,"type":"string"},{"type":"null"}],"title":"Unit"}},"required":["quantity"],"title":"SampleRequestIn","type":"object"},"SampleRequestOut":{"properties":{"conversation_id":{"format":"uuid","title":"Conversation Id","type":"string"},"decided_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Decided At"},"decided_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Decided By"},"free":{"title":"Free","type":"boolean"},"id":{"format":"uuid","title":"Id","type":"string"},"quantity":{"title":"Quantity","type":"string"},"quote_id":{"format":"uuid","title":"Quote Id","type":"string"},"received_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Received At"},"requested_at":{"format":"date-time","title":"Requested At","type":"string"},"sent_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Sent At"},"status":{"title":"Status","type":"string"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"}},"required":["id","quote_id","conversation_id","quantity","unit","status","requested_at","decided_at","decided_by","free","sent_at","received_at"],"title":"SampleRequestOut","type":"object"},"SanctionsListSource":{"properties":{"attribution":{"title":"Attribution","type":"string"},"code":{"title":"Code","type":"string"},"licence":{"title":"Licence","type":"string"},"license_kind":{"default":"other","enum":["permission","cc_by_4","cc0","ogl_3","us_government_work","eu_reuse","other"],"title":"License Kind","type":"string"},"name":{"title":"Name","type":"string"},"page":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page"},"published_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Published On"},"publisher":{"title":"Publisher","type":"string"}},"required":["code","name","publisher","licence","attribution"],"title":"SanctionsListSource","type":"object"},"Scorecard":{"properties":{"asked":{"title":"Asked","type":"string"},"buyers":{"anyOf":[{"$ref":"#/components/schemas/ScorecardBuyers"},{"type":"null"}]},"code":{"$ref":"#/components/schemas/ScorecardCode"},"competitors":{"anyOf":[{"$ref":"#/components/schemas/ScorecardCompetitors"},{"type":"null"}]},"computed_at":{"format":"date-time","title":"Computed At","type":"string"},"documents":{"anyOf":[{"$ref":"#/components/schemas/ScorecardDocuments"},{"type":"null"}]},"incentives":{"anyOf":[{"$ref":"#/components/schemas/ScorecardIncentives"},{"type":"null"}]},"language":{"enum":["tr","en","ar","fa"],"title":"Language","type":"string"},"markets":{"anyOf":[{"$ref":"#/components/schemas/ScorecardMarkets"},{"type":"null"}]},"member":{"title":"Member","type":"boolean"},"summary":{"$ref":"#/components/schemas/ScorecardSummary"},"switching":{"anyOf":[{"$ref":"#/components/schemas/ScorecardSwitching"},{"type":"null"}]}},"required":["asked","language","member","code","summary","markets","documents","buyers","switching","incentives","computed_at"],"title":"Scorecard","type":"object"},"ScorecardAlternative":{"properties":{"code":{"title":"Code","type":"string"},"difference":{"title":"Difference","type":"string"},"title":{"anyOf":[{"$ref":"#/components/schemas/GtipTitle"},{"type":"null"}]}},"required":["code","title","difference"],"title":"ScorecardAlternative","type":"object"},"ScorecardBuyers":{"description":"Open public tenders and purchase requests whose items carry the code: an item's HS\ncode is on the code's path (its heading, or deeper on the same line), never a sibling\nsubheading, and never a guessed mapping of another classification.","properties":{"board_hs":{"title":"Board Hs","type":"string"},"count":{"title":"Count","type":"integer"},"countries":{"items":{"$ref":"#/components/schemas/ScorecardCountryCount"},"title":"Countries","type":"array"},"items":{"items":{"$ref":"#/components/schemas/ScorecardNeed"},"title":"Items","type":"array"},"next_deadline":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Next Deadline"},"subheading":{"title":"Subheading","type":"integer"}},"required":["count","subheading","countries","next_deadline","items","board_hs"],"title":"ScorecardBuyers","type":"object"},"ScorecardCap":{"description":"A cap of a support for a calendar year, from the Ministry's caps table of that year.","properties":{"amount":{"title":"Amount","type":"string"},"currency":{"title":"Currency","type":"string"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"},"per":{"enum":["year","project","activity","fair","person_day","integration"],"title":"Per","type":"string"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"}},"required":["amount","currency","per","year","label","source_url"],"title":"ScorecardCap","type":"object"},"ScorecardCode":{"properties":{"code":{"title":"Code","type":"string"},"exports":{"anyOf":[{"$ref":"#/components/schemas/ScorecardExports"},{"type":"null"}]},"heading":{"title":"Heading","type":"string"},"hs6":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hs6"},"level":{"enum":["heading","subheading","cn8","line"],"title":"Level","type":"string"},"path":{"items":{"$ref":"#/components/schemas/ScorecardPathStep"},"title":"Path","type":"array"},"sources":{"items":{"$ref":"#/components/schemas/GtipSource"},"title":"Sources","type":"array"},"status":{"enum":["active","deprecated"],"title":"Status","type":"string"},"title":{"$ref":"#/components/schemas/GtipTitle"},"unit":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Unit"}},"required":["code","level","title","path","heading","hs6","unit","status","exports","sources"],"title":"ScorecardCode","type":"object"},"ScorecardCompetitor":{"properties":{"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"exporter":{"title":"Exporter","type":"boolean"},"name":{"title":"Name","type":"string"},"proofs":{"items":{"$ref":"#/components/schemas/ScorecardCompetitorProof"},"title":"Proofs","type":"array"},"slug":{"title":"Slug","type":"string"}},"required":["slug","name","city","exporter","proofs"],"title":"ScorecardCompetitor","type":"object"},"ScorecardCompetitorProof":{"description":"One list that proves what the card says of the company, with its source and date.","properties":{"attribution":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attribution"},"body":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Body"},"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"kind":{"enum":["code","exporter_list","exporters_association","top_exporter"],"title":"Kind","type":"string"},"list_date":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"List Date"},"observed_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Observed At"},"rank":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Rank"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"source_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Name"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"}},"required":["kind"],"title":"ScorecardCompetitorProof","type":"object"},"ScorecardCompetitors":{"description":"Turkish companies a published list proves to deal in the code's goods: a list files them\nunder its code (MİB's machinery makers, by product, first). Those a list proves to export\ncome first and are marked; the others are listed by what their list proves, never called\nexporters. Shown only where a list proves at least one (wave 7, part K).","properties":{"count":{"title":"Count","type":"integer"},"exporters":{"title":"Exporters","type":"integer"},"items":{"items":{"$ref":"#/components/schemas/ScorecardCompetitor"},"title":"Items","type":"array"}},"required":["count","exporters","items"],"title":"ScorecardCompetitors","type":"object"},"ScorecardCountryCount":{"properties":{"count":{"title":"Count","type":"integer"},"country":{"title":"Country","type":"string"}},"required":["country","count"],"title":"ScorecardCountryCount","type":"object"},"ScorecardDemo":{"properties":{"city":{"title":"City","type":"string"},"code":{"title":"Code","type":"string"},"code_source":{"enum":["finder","staff"],"title":"Code Source","type":"string"},"finder":{"anyOf":[{"$ref":"#/components/schemas/ScorecardFinder"},{"type":"null"}]},"picture":{"title":"Picture","type":"string"},"play":{"$ref":"#/components/schemas/ScorecardPlay"},"position":{"title":"Position","type":"integer"},"product":{"title":"Product","type":"string"},"refreshed_at":{"format":"date-time","title":"Refreshed At","type":"string"},"sector":{"enum":["textiles","apparel","furniture","building","food","home"],"title":"Sector","type":"string"},"slug":{"title":"Slug","type":"string"},"title":{"$ref":"#/components/schemas/GtipTitle"}},"required":["slug","position","sector","picture","product","city","code","title","code_source","finder","play","refreshed_at"],"title":"ScorecardDemo","type":"object"},"ScorecardDemos":{"description":"The demos with a code, in their order: served from the table, never a search.","properties":{"items":{"items":{"$ref":"#/components/schemas/ScorecardDemo"},"title":"Items","type":"array"}},"required":["items"],"title":"ScorecardDemos","type":"object"},"ScorecardDestination":{"properties":{"destination":{"title":"Destination","type":"string"},"items":{"anyOf":[{"items":{"$ref":"#/components/schemas/ScorecardRequirement"},"type":"array"},{"type":"null"}],"title":"Items"},"kinds":{"items":{"enum":["certification","document","labeling","sps","technical"],"type":"string"},"title":"Kinds","type":"array"},"mandatory":{"title":"Mandatory","type":"integer"},"requirements":{"title":"Requirements","type":"integer"}},"required":["destination","requirements","mandatory","kinds","items"],"title":"ScorecardDestination","type":"object"},"ScorecardDocuments":{"description":"Published requirements for the code: the top markets' first, then every other\ndestination curators covered. Drafts are never shown.","properties":{"destinations":{"items":{"$ref":"#/components/schemas/ScorecardDestination"},"title":"Destinations","type":"array"}},"required":["destinations"],"title":"ScorecardDocuments","type":"object"},"ScorecardExports":{"description":"Türkiye's exports of the code's HS subheading in a year, as Türkiye declared them\n(``kb.tariff_export``: Eurostat Comext), and its place among them.","properties":{"hs6":{"title":"Hs6","type":"string"},"notice":{"title":"Notice","type":"string"},"of":{"title":"Of","type":"integer"},"rank":{"title":"Rank","type":"integer"},"source":{"$ref":"#/components/schemas/GtipSource"},"value_eur":{"title":"Value Eur","type":"integer"},"year":{"title":"Year","type":"integer"}},"required":["hs6","year","value_eur","rank","of","source","notice"],"title":"ScorecardExports","type":"object"},"ScorecardFinder":{"description":"The GTİP finder's answer the demo's code came from.","properties":{"alternatives":{"items":{"$ref":"#/components/schemas/ScorecardAlternative"},"title":"Alternatives","type":"array"},"classified_at":{"format":"date-time","title":"Classified At","type":"string"},"confidence":{"title":"Confidence","type":"integer"},"language":{"enum":["tr","en","ar","fa"],"title":"Language","type":"string"},"reason":{"title":"Reason","type":"string"}},"required":["confidence","reason","language","alternatives","classified_at"],"title":"ScorecardFinder","type":"object"},"ScorecardIncentive":{"properties":{"applicant":{"default":"company","enum":["company","cooperation_body"],"title":"Applicant","type":"string"},"authority":{"title":"Authority","type":"string"},"cap":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cap"},"caps":{"default":[],"items":{"$ref":"#/components/schemas/ScorecardCap"},"title":"Caps","type":"array"},"checked_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Checked On"},"code":{"title":"Code","type":"string"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"expenses":{"items":{"type":"string"},"title":"Expenses","type":"array"},"legal_basis":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Basis"},"name":{"title":"Name","type":"string"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"rate":{"title":"Rate","type":"string"},"rate_max":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rate Max"},"source_url":{"title":"Source Url","type":"string"}},"required":["code","name","authority","source_url","checked_on","expenses","rate","cap","currency"],"title":"ScorecardIncentive","type":"object"},"ScorecardIncentives":{"description":"Published export-support programmes. Their rules name expense kinds, not products or\nmarkets, so each applies to any code and market.","properties":{"items":{"items":{"$ref":"#/components/schemas/ScorecardIncentive"},"title":"Items","type":"array"}},"required":["items"],"title":"ScorecardIncentives","type":"object"},"ScorecardMarket":{"properties":{"agreement":{"anyOf":[{"$ref":"#/components/schemas/TradeAgreementOut"},{"type":"null"}]},"basis":{"enum":["reported","mirror"],"title":"Basis","type":"string"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"growth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Growth"},"imports_12m":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Imports 12M"},"market":{"title":"Market","type":"string"},"measure":{"enum":["extra_eu","world","turkiye_exports"],"title":"Measure","type":"string"},"month":{"title":"Month","type":"string"},"open":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Open"},"partner_basis":{"anyOf":[{"enum":["origin","consignment"],"type":"string"},{"type":"null"}],"title":"Partner Basis"},"reporter":{"title":"Reporter","type":"string"},"share":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Share"},"since":{"title":"Since","type":"string"},"tariff":{"anyOf":[{"$ref":"#/components/schemas/ScorecardTariff"},{"type":"null"}]},"turkiye_12m":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Turkiye 12M"},"turkiye_growth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turkiye Growth"},"turkiye_prev_12m":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Turkiye Prev 12M"}},"required":["market","basis","reporter","measure","month","since","turkiye_12m","turkiye_prev_12m","turkiye_growth","imports_12m","growth","share","open","tariff"],"title":"ScorecardMarket","type":"object"},"ScorecardMarkets":{"properties":{"agreement_list":{"anyOf":[{"$ref":"#/components/schemas/TradeAgreementList"},{"type":"null"}]},"computed_at":{"format":"date-time","title":"Computed At","type":"string"},"credits":{"items":{"$ref":"#/components/schemas/CustomsWatchCredit"},"title":"Credits","type":"array"},"currency":{"title":"Currency","type":"string"},"heading":{"title":"Heading","type":"string"},"items":{"items":{"$ref":"#/components/schemas/ScorecardMarket"},"title":"Items","type":"array"},"markets":{"title":"Markets","type":"integer"},"month":{"title":"Month","type":"string"},"rule":{"enum":["turkiye_12m","turkiye_exports_12m"],"title":"Rule","type":"string"}},"required":["heading","currency","month","rule","items","markets","computed_at","credits"],"title":"ScorecardMarkets","type":"object"},"ScorecardNeed":{"properties":{"buyer_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Buyer Name"},"country":{"title":"Country","type":"string"},"deadline_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Deadline At"},"id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Id"},"kind":{"enum":["open_tender","purchase_request"],"title":"Kind","type":"string"},"match":{"enum":["heading","subheading"],"title":"Match","type":"string"},"published_at":{"format":"date-time","title":"Published At","type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"},"title_language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title Language"},"translated_by":{"anyOf":[{"enum":["source","model"],"type":"string"},{"type":"null"}],"title":"Translated By"},"translated_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Translated Title"}},"required":["country","deadline_at","published_at","kind","match","id","title","title_language","translated_title","translated_by","buyer_name"],"title":"ScorecardNeed","type":"object"},"ScorecardPathStep":{"properties":{"code":{"title":"Code","type":"string"},"level":{"enum":["chapter","heading","subheading","cn8","line"],"title":"Level","type":"string"},"title":{"$ref":"#/components/schemas/GtipTitle"}},"required":["level","code","title"],"title":"ScorecardPathStep","type":"object"},"ScorecardPlay":{"description":"What a demo's step-by-step build shows, from its precomputed facts.","properties":{"buyer_countries":{"items":{"type":"string"},"title":"Buyer Countries","type":"array"},"buyers":{"title":"Buyers","type":"integer"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"documents":{"title":"Documents","type":"integer"},"exports":{"anyOf":[{"$ref":"#/components/schemas/ScorecardExports"},{"type":"null"}]},"heading":{"title":"Heading","type":"string"},"markets":{"items":{"$ref":"#/components/schemas/ScorecardPlayMarket"},"title":"Markets","type":"array"},"month":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Month"},"switching":{"title":"Switching","type":"integer"}},"required":["heading","currency","month","markets","documents","buyers","buyer_countries","switching","exports"],"title":"ScorecardPlay","type":"object"},"ScorecardPlayMarket":{"properties":{"basis":{"enum":["reported","mirror"],"title":"Basis","type":"string"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"market":{"title":"Market","type":"string"},"turkiye_12m":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Turkiye 12M"},"turkiye_growth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Turkiye Growth"}},"required":["market","basis","turkiye_12m","turkiye_growth"],"title":"ScorecardPlayMarket","type":"object"},"ScorecardRemedy":{"description":"Türkiye's own anti-dumping, countervailing or safeguard case on the code: its buyers\nlook beyond the origins it names.","properties":{"latest_published_at":{"format":"date-time","title":"Latest Published At","type":"string"},"origins":{"items":{"type":"string"},"title":"Origins","type":"array"},"product":{"title":"Product","type":"string"},"product_en":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product En"},"slug":{"title":"Slug","type":"string"},"status":{"enum":["in_force","investigation"],"title":"Status","type":"string"}},"required":["slug","product","product_en","status","origins","latest_published_at"],"title":"ScorecardRemedy","type":"object"},"ScorecardRequirement":{"properties":{"certification":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Certification"},"checked_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Checked On"},"kind":{"enum":["certification","document","labeling","sps","technical"],"title":"Kind","type":"string"},"mandatory":{"title":"Mandatory","type":"boolean"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"}},"required":["kind","mandatory","title","certification","source_url","checked_on"],"title":"ScorecardRequirement","type":"object"},"ScorecardSignal":{"properties":{"caveat":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Caveat"},"credit":{"anyOf":[{"$ref":"#/components/schemas/RadarCredit"},{"type":"null"}]},"headings_from":{"enum":["source","text"],"title":"Headings From","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"instrument":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instrument"},"kind":{"enum":["trade_measure","product_alert"],"title":"Kind","type":"string"},"market":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Market"},"markets":{"items":{"type":"string"},"title":"Markets","type":"array"},"origins":{"items":{"type":"string"},"title":"Origins","type":"array"},"product":{"title":"Product","type":"string"},"product_en":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product En"},"published_at":{"format":"date-time","title":"Published At","type":"string"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage"}},"required":["id","kind","instrument","stage","product","product_en","market","markets","origins","published_at","source_url","headings_from","credit","caveat"],"title":"ScorecardSignal","type":"object"},"ScorecardSummary":{"description":"The facts the page's opening sentence is made of, and nothing beyond them.","properties":{"buyers":{"title":"Buyers","type":"integer"},"buyers_subheading":{"title":"Buyers Subheading","type":"integer"},"currency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Currency"},"exports":{"anyOf":[{"$ref":"#/components/schemas/ScorecardExports"},{"type":"null"}]},"growing":{"title":"Growing","type":"integer"},"markets":{"title":"Markets","type":"integer"},"month":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Month"},"switching":{"title":"Switching","type":"integer"},"top_market":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Top Market"},"top_market_basis":{"anyOf":[{"enum":["reported","mirror"],"type":"string"},{"type":"null"}],"title":"Top Market Basis"},"top_market_growth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Top Market Growth"},"top_market_turkiye_12m":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Top Market Turkiye 12M"}},"required":["exports","top_market","top_market_basis","top_market_turkiye_12m","top_market_growth","currency","month","growing","markets","buyers","buyers_subheading","switching"],"title":"ScorecardSummary","type":"object"},"ScorecardSwitching":{"properties":{"count":{"title":"Count","type":"integer"},"items":{"items":{"$ref":"#/components/schemas/ScorecardSignal"},"title":"Items","type":"array"},"remedies":{"items":{"$ref":"#/components/schemas/ScorecardRemedy"},"title":"Remedies","type":"array"}},"required":["count","items","remedies"],"title":"ScorecardSwitching","type":"object"},"ScorecardTariff":{"description":"The market's import duty on the code for goods of Turkish origin, where the platform\nholds one (``market.tariff_rate``, with its source): a curator's, or loaded from the\nofficial schedule, which then says how the rate is made.","properties":{"additional_rate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Additional Rate"},"basis":{"enum":["cif","fob"],"title":"Basis","type":"string"},"checked_on":{"format":"date","title":"Checked On","type":"string"},"edition":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Edition"},"general_rate":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"General Rate"},"hs_prefix":{"title":"Hs Prefix","type":"string"},"measure":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Measure"},"quota":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quota"},"rate":{"title":"Rate","type":"string"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"source_url":{"title":"Source Url","type":"string"},"treatment":{"anyOf":[{"enum":["general","additional","preference","exception","mfn"],"type":"string"},{"type":"null"}],"title":"Treatment"}},"required":["rate","basis","hs_prefix","source_url","checked_on"],"title":"ScorecardTariff","type":"object"},"SectorCount":{"properties":{"companies":{"title":"Companies","type":"integer"},"group":{"title":"Group","type":"string"},"sector":{"title":"Sector","type":"string"}},"required":["sector","group","companies"],"title":"SectorCount","type":"object"},"SectorCounts":{"properties":{"groups":{"items":{"$ref":"#/components/schemas/GroupCount"},"title":"Groups","type":"array"},"sectors":{"items":{"$ref":"#/components/schemas/SectorCount"},"title":"Sectors","type":"array"}},"required":["groups","sectors"],"title":"SectorCounts","type":"object"},"SellerKpis":{"properties":{"assistant_week":{"$ref":"#/components/schemas/AssistantWeek"},"avg_first_reply_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Avg First Reply Minutes"},"company_id":{"format":"uuid","title":"Company Id","type":"string"},"oldest_waiting_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Oldest Waiting At"},"opportunities_7d":{"title":"Opportunities 7D","type":"integer"},"opportunities_by_region":{"$ref":"#/components/schemas/RegionCounts"},"reply_rate":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Reply Rate"},"tasks":{"items":{"$ref":"#/components/schemas/KpiTask"},"title":"Tasks","type":"array"},"views_7d":{"title":"Views 7D","type":"integer"},"views_delta_pct":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Views Delta Pct"},"waiting_replies":{"title":"Waiting Replies","type":"integer"}},"required":["company_id","views_7d","views_delta_pct","opportunities_7d","opportunities_by_region","waiting_replies","oldest_waiting_at","reply_rate","avg_first_reply_minutes","tasks","assistant_week"],"title":"SellerKpis","type":"object"},"ServiceIn":{"additionalProperties":false,"properties":{"kind":{"enum":["oem","embroidery_printing","custom_packaging","other"],"title":"Kind","type":"string"},"min_quantity":{"anyOf":[{"$ref":"#/components/schemas/QuantityIn"},{"type":"null"}]},"note":{"anyOf":[{"maxLength":200,"minLength":1,"type":"string"},{"type":"null"}],"title":"Note"}},"required":["kind"],"title":"ServiceIn","type":"object"},"ServiceKind":{"enum":["freight","inspection","lab_test"],"title":"ServiceKind","type":"string"},"ServiceLinkIn":{"additionalProperties":false,"properties":{"token":{"maxLength":200,"minLength":20,"title":"Token","type":"string"}},"required":["token"],"title":"ServiceLinkIn","type":"object"},"ServiceLinkOfferIn":{"additionalProperties":false,"properties":{"currency":{"pattern":"^[A-Z]{3}$","title":"Currency","type":"string"},"notes":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"title":"Notes"},"price":{"anyOf":[{"exclusiveMinimum":0,"type":"number"},{"type":"string"}],"title":"Price"},"terms":{"additionalProperties":true,"title":"Terms","type":"object"},"token":{"maxLength":200,"minLength":20,"title":"Token","type":"string"},"valid_until":{"format":"date","title":"Valid Until","type":"string"}},"required":["price","currency","valid_until","terms","token"],"title":"ServiceLinkOfferIn","type":"object"},"ServiceLinkRequestOut":{"description":"What a link's recipient sees: the request, not who else was asked.","properties":{"kind":{"title":"Kind","type":"string"},"offered":{"title":"Offered","type":"boolean"},"offers_until":{"format":"date-time","title":"Offers Until","type":"string"},"requester":{"title":"Requester","type":"string"},"spec":{"additionalProperties":true,"title":"Spec","type":"object"},"status":{"title":"Status","type":"string"},"title":{"title":"Title","type":"string"}},"required":["title","kind","spec","requester","offers_until","status","offered"],"title":"ServiceLinkRequestOut","type":"object"},"ServiceOfferIn":{"additionalProperties":false,"properties":{"currency":{"pattern":"^[A-Z]{3}$","title":"Currency","type":"string"},"notes":{"anyOf":[{"maxLength":1000,"type":"string"},{"type":"null"}],"title":"Notes"},"price":{"anyOf":[{"exclusiveMinimum":0,"type":"number"},{"type":"string"}],"title":"Price"},"terms":{"additionalProperties":true,"title":"Terms","type":"object"},"valid_until":{"format":"date","title":"Valid Until","type":"string"}},"required":["price","currency","valid_until","terms"],"title":"ServiceOfferIn","type":"object"},"ServiceOfferOut":{"properties":{"created_at":{"format":"date-time","title":"Created At","type":"string"},"currency":{"title":"Currency","type":"string"},"external":{"title":"External","type":"boolean"},"id":{"format":"uuid","title":"Id","type":"string"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"price":{"title":"Price","type":"string"},"provider":{"title":"Provider","type":"string"},"status":{"title":"Status","type":"string"},"terms":{"additionalProperties":true,"title":"Terms","type":"object"},"valid_until":{"format":"date","title":"Valid Until","type":"string"}},"required":["id","provider","external","price","currency","valid_until","terms","notes","status","created_at"],"title":"ServiceOfferOut","type":"object"},"ServiceProviderOut":{"properties":{"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"company_id":{"format":"uuid","title":"Company Id","type":"string"},"kinds":{"items":{"type":"string"},"title":"Kinds","type":"array"},"name":{"title":"Name","type":"string"},"slug":{"title":"Slug","type":"string"}},"required":["company_id","slug","name","city","kinds"],"title":"ServiceProviderOut","type":"object"},"ServiceRecipientOut":{"properties":{"company_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Company Id"},"first_offer_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"First Offer At"},"name":{"title":"Name","type":"string"},"status":{"title":"Status","type":"string"}},"required":["company_id","name","status","first_offer_at"],"title":"ServiceRecipientOut","type":"object"},"ServiceReportIn":{"additionalProperties":false,"properties":{"certification_id":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"title":"Certification Id"},"result":{"enum":["pass","fail","conditional"],"title":"Result","type":"string"},"sha256":{"pattern":"^[0-9a-f]{64}$","title":"Sha256","type":"string"},"size":{"exclusiveMinimum":0,"maximum":20971520,"title":"Size","type":"integer"},"standard":{"maxLength":128,"minLength":2,"title":"Standard","type":"string"},"summary":{"maxLength":2000,"minLength":10,"title":"Summary","type":"string"},"valid_until":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Valid Until"}},"required":["sha256","size","result","standard","summary"],"title":"ServiceReportIn","type":"object"},"ServiceReportOut":{"properties":{"certification_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Certification Id"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"result":{"title":"Result","type":"string"},"standard":{"title":"Standard","type":"string"},"status":{"title":"Status","type":"string"},"summary":{"title":"Summary","type":"string"},"valid_until":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Valid Until"}},"required":["id","status","result","standard","certification_id","valid_until","summary","created_at"],"title":"ServiceReportOut","type":"object"},"ServiceRequestIn":{"additionalProperties":false,"properties":{"company_ids":{"default":[],"items":{"format":"uuid","type":"string"},"maxItems":20,"title":"Company Ids","type":"array"},"deal_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Deal Id"},"emails":{"default":[],"items":{"maxLength":254,"minLength":6,"type":"string"},"maxItems":10,"title":"Emails","type":"array"},"kind":{"$ref":"#/components/schemas/ServiceKind"},"offers_until":{"format":"date-time","title":"Offers Until","type":"string"},"org_id":{"format":"uuid","title":"Org Id","type":"string"},"spec":{"additionalProperties":true,"title":"Spec","type":"object"},"subject_company_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Subject Company Id"},"title":{"maxLength":200,"minLength":5,"title":"Title","type":"string"}},"required":["org_id","kind","title","spec","offers_until"],"title":"ServiceRequestIn","type":"object"},"ServiceRequestOut":{"properties":{"awarded_offer_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Awarded Offer Id"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"deal_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Deal Id"},"id":{"format":"uuid","title":"Id","type":"string"},"kind":{"title":"Kind","type":"string"},"offers":{"items":{"$ref":"#/components/schemas/ServiceOfferOut"},"title":"Offers","type":"array"},"offers_until":{"format":"date-time","title":"Offers Until","type":"string"},"org_id":{"format":"uuid","title":"Org Id","type":"string"},"own_org_id":{"format":"uuid","title":"Own Org Id","type":"string"},"own_org_name":{"title":"Own Org Name","type":"string"},"recipients":{"items":{"$ref":"#/components/schemas/ServiceRecipientOut"},"title":"Recipients","type":"array"},"reports":{"items":{"$ref":"#/components/schemas/ServiceReportOut"},"title":"Reports","type":"array"},"side":{"title":"Side","type":"string"},"spec":{"additionalProperties":true,"title":"Spec","type":"object"},"status":{"title":"Status","type":"string"},"title":{"title":"Title","type":"string"}},"required":["id","kind","org_id","deal_id","title","spec","status","offers_until","awarded_offer_id","side","own_org_id","own_org_name","recipients","offers","reports","created_at"],"title":"ServiceRequestOut","type":"object"},"ShareConsentOut":{"properties":{"company_id":{"format":"uuid","title":"Company Id","type":"string"},"granted_at":{"format":"date-time","title":"Granted At","type":"string"},"partner_org_id":{"format":"uuid","title":"Partner Org Id","type":"string"},"revoked_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Revoked At"}},"required":["company_id","partner_org_id","granted_at","revoked_at"],"title":"ShareConsentOut","type":"object"},"SharedDetails":{"description":"What a need asks for besides its items, as its suppliers see it (no budget).","properties":{"brand":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Brand"},"certificates":{"items":{"type":"string"},"title":"Certificates","type":"array"},"delivery_terms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Delivery Terms"},"packaging":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Packaging"},"payment_terms":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Payment Terms"}},"required":["delivery_terms","payment_terms","brand","packaging","certificates"],"title":"SharedDetails","type":"object"},"ShipmentIn":{"additionalProperties":false,"properties":{"carrier":{"maxLength":64,"minLength":2,"title":"Carrier","type":"string"},"deal_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Deal Id"},"mode":{"enum":["sea","air","road","rail"],"title":"Mode","type":"string"},"offer_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Offer Id"},"org_id":{"format":"uuid","title":"Org Id","type":"string"},"reference":{"maxLength":80,"minLength":3,"title":"Reference","type":"string"},"reference_kind":{"enum":["container","bill_of_lading","air_waybill","truck_plate","tracking_number"],"title":"Reference Kind","type":"string"}},"required":["org_id","mode","carrier","reference_kind","reference"],"title":"ShipmentIn","type":"object"},"ShipmentMilestoneIn":{"additionalProperties":false,"properties":{"code":{"enum":["booked","gate_in","departed","transshipment","arrived","customs_cleared","out_for_delivery","delivered","exception"],"title":"Code","type":"string"},"location":{"anyOf":[{"maxLength":128,"type":"string"},{"type":"null"}],"title":"Location"},"note":{"anyOf":[{"maxLength":500,"type":"string"},{"type":"null"}],"title":"Note"},"occurred_at":{"format":"date-time","title":"Occurred At","type":"string"}},"required":["code","occurred_at"],"title":"ShipmentMilestoneIn","type":"object"},"ShipmentMilestoneOut":{"properties":{"code":{"title":"Code","type":"string"},"location":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Location"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"},"occurred_at":{"format":"date-time","title":"Occurred At","type":"string"},"source":{"title":"Source","type":"string"}},"required":["code","location","occurred_at","source","note"],"title":"ShipmentMilestoneOut","type":"object"},"ShipmentOut":{"properties":{"carrier":{"title":"Carrier","type":"string"},"deal_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Deal Id"},"eta":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Eta"},"events":{"items":{"$ref":"#/components/schemas/ShipmentMilestoneOut"},"title":"Events","type":"array"},"id":{"format":"uuid","title":"Id","type":"string"},"last_event_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Event At"},"mode":{"title":"Mode","type":"string"},"offer_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Offer Id"},"org_id":{"format":"uuid","title":"Org Id","type":"string"},"reference":{"title":"Reference","type":"string"},"reference_kind":{"title":"Reference Kind","type":"string"},"status":{"title":"Status","type":"string"},"tracked":{"title":"Tracked","type":"boolean"}},"required":["id","org_id","deal_id","offer_id","mode","carrier","reference_kind","reference","tracked","status","eta","last_event_at","events"],"title":"ShipmentOut","type":"object"},"SignUpIn":{"additionalProperties":false,"properties":{"email":{"maxLength":320,"title":"Email","type":"string"},"first_name":{"maxLength":400,"title":"First Name","type":"string"},"last_name":{"maxLength":400,"title":"Last Name","type":"string"},"locale":{"enum":["tr","en","ar","fa"],"title":"Locale","type":"string"},"scorecard":{"anyOf":[{"pattern":"^[0-9]{4,12}$","type":"string"},{"type":"null"}],"title":"Scorecard"}},"required":["email","first_name","last_name","locale"],"title":"SignUpIn","type":"object"},"SignUpOut":{"properties":{"status":{"const":"queued","title":"Status","type":"string"}},"required":["status"],"title":"SignUpOut","type":"object"},"SimilarCompany":{"properties":{"activity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Activity"},"activity_label":{"anyOf":[{"$ref":"#/components/schemas/Labels"},{"type":"null"}]},"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"id":{"format":"uuid","title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"slug":{"title":"Slug","type":"string"},"verified":{"title":"Verified","type":"boolean"}},"required":["id","slug","name","city","activity","activity_label","verified"],"title":"SimilarCompany","type":"object"},"SkippedDraft":{"properties":{"draft_id":{"format":"uuid","title":"Draft Id","type":"string"},"reason":{"title":"Reason","type":"string"}},"required":["draft_id","reason"],"title":"SkippedDraft","type":"object"},"SnoozeIn":{"additionalProperties":false,"properties":{"hours":{"default":24,"maximum":168,"minimum":1,"title":"Hours","type":"integer"}},"title":"SnoozeIn","type":"object"},"SocialAccount":{"properties":{"followers":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Followers"},"last_post_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Last Post At"},"platform":{"title":"Platform","type":"string"},"posts":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Posts"},"url":{"title":"Url","type":"string"}},"required":["platform","url"],"title":"SocialAccount","type":"object"},"Sort":{"enum":["newest","open_first"],"type":"string"},"SourceOption":{"properties":{"available":{"title":"Available","type":"boolean"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"}},"required":["available","reason"],"title":"SourceOption","type":"object"},"SourceRef":{"properties":{"attribution":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attribution"},"license":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"License"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"observed_at":{"format":"date-time","title":"Observed At","type":"string"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"}},"required":["source","observed_at"],"title":"SourceRef","type":"object"},"Sources":{"properties":{"sanctions_lists":{"items":{"$ref":"#/components/schemas/SanctionsListSource"},"title":"Sanctions Lists","type":"array"},"sources":{"items":{"$ref":"#/components/schemas/PublicSource"},"title":"Sources","type":"array"}},"required":["sources"],"title":"Sources","type":"object"},"Standing":{"properties":{"taken_down":{"title":"Taken Down","type":"boolean"}},"required":["taken_down"],"title":"Standing","type":"object"},"StorefrontAmount":{"properties":{"max":{"title":"Max","type":"string"},"min":{"title":"Min","type":"string"}},"required":["min","max"],"title":"StorefrontAmount","type":"object"},"StorefrontCaution":{"properties":{"code":{"enum":["below_moq","moq_unit_differs","certificate_missing"],"title":"Code","type":"string"},"params":{"additionalProperties":{"type":"string"},"title":"Params","type":"object"}},"required":["code","params"],"title":"StorefrontCaution","type":"object"},"StorefrontChat":{"properties":{"expires_at":{"format":"date-time","title":"Expires At","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"token":{"title":"Token","type":"string"}},"required":["id","token","expires_at"],"title":"StorefrontChat","type":"object"},"StorefrontChatIn":{"additionalProperties":false,"properties":{"country":{"anyOf":[{"pattern":"^[A-Z]{2}$","type":"string"},{"type":"null"}],"title":"Country"},"locale":{"$ref":"#/components/schemas/PageLanguage"},"query":{"anyOf":[{"maxLength":200,"minLength":1,"type":"string"},{"type":"null"}],"title":"Query"}},"required":["locale"],"title":"StorefrontChatIn","type":"object"},"StorefrontChatStarted":{"properties":{"chat":{"$ref":"#/components/schemas/StorefrontChat"},"greeting":{"$ref":"#/components/schemas/StorefrontGreeting"}},"required":["chat","greeting"],"title":"StorefrontChatStarted","type":"object"},"StorefrontChip":{"properties":{"intent":{"enum":["estimate","trust","compare","fit","feed"],"title":"Intent","type":"string"},"params":{"additionalProperties":{"type":"string"},"title":"Params","type":"object"}},"required":["intent","params"],"title":"StorefrontChip","type":"object"},"StorefrontCompareCard":{"properties":{"destination":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Destination"},"rows":{"items":{"$ref":"#/components/schemas/StorefrontCompareRow"},"title":"Rows","type":"array"},"type":{"const":"compare","default":"compare","title":"Type","type":"string"}},"required":["destination","rows"],"title":"StorefrontCompareCard","type":"object"},"StorefrontCompareCertificate":{"properties":{"held":{"title":"Held","type":"boolean"},"kind":{"title":"Kind","type":"string"}},"required":["kind","held"],"title":"StorefrontCompareCertificate","type":"object"},"StorefrontCompareProduct":{"properties":{"id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Id"},"moq":{"anyOf":[{"$ref":"#/components/schemas/Quantity"},{"type":"null"}]},"name":{"title":"Name","type":"string"},"price":{"anyOf":[{"$ref":"#/components/schemas/Price"},{"type":"null"}]},"price_on_request":{"title":"Price On Request","type":"boolean"}},"required":["id","name","price","price_on_request","moq"],"title":"StorefrontCompareProduct","type":"object"},"StorefrontCompareRow":{"properties":{"avg_first_reply_minutes":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Avg First Reply Minutes"},"certificates":{"items":{"$ref":"#/components/schemas/StorefrontCompareCertificate"},"title":"Certificates","type":"array"},"company_id":{"format":"uuid","title":"Company Id","type":"string"},"fit":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Fit"},"name":{"title":"Name","type":"string"},"product":{"anyOf":[{"$ref":"#/components/schemas/StorefrontCompareProduct"},{"type":"null"}]},"slug":{"title":"Slug","type":"string"},"this":{"title":"This","type":"boolean"},"verified":{"title":"Verified","type":"boolean"}},"required":["company_id","slug","name","this","verified","product","avg_first_reply_minutes","certificates","fit"],"title":"StorefrontCompareRow","type":"object"},"StorefrontEstimateCard":{"properties":{"approximate":{"const":true,"default":true,"title":"Approximate","type":"boolean"},"cautions":{"items":{"$ref":"#/components/schemas/StorefrontCaution"},"title":"Cautions","type":"array"},"currency":{"title":"Currency","type":"string"},"delivery_terms":{"items":{"type":"string"},"title":"Delivery Terms","type":"array"},"destination":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Destination"},"estimate_id":{"format":"uuid","title":"Estimate Id","type":"string"},"lines":{"items":{"$ref":"#/components/schemas/StorefrontEstimateLine"},"title":"Lines","type":"array"},"moq":{"anyOf":[{"$ref":"#/components/schemas/Quantity"},{"type":"null"}]},"needs_seller_approval":{"const":true,"default":true,"title":"Needs Seller Approval","type":"boolean"},"product":{"$ref":"#/components/schemas/StorefrontEstimateProduct"},"quantity":{"title":"Quantity","type":"string"},"total":{"$ref":"#/components/schemas/StorefrontAmount"},"type":{"const":"estimate","default":"estimate","title":"Type","type":"string"},"unit":{"title":"Unit","type":"string"}},"required":["estimate_id","product","quantity","unit","currency","lines","total","moq","cautions","destination","delivery_terms"],"title":"StorefrontEstimateCard","type":"object"},"StorefrontEstimateLine":{"properties":{"code":{"enum":["unit_price","goods"],"title":"Code","type":"string"},"max":{"title":"Max","type":"string"},"min":{"title":"Min","type":"string"},"quantity":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quantity"},"unit":{"title":"Unit","type":"string"}},"required":["code","unit","min","max"],"title":"StorefrontEstimateLine","type":"object"},"StorefrontEstimateProduct":{"properties":{"hs_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hs Code"},"id":{"format":"uuid","title":"Id","type":"string"},"name":{"title":"Name","type":"string"}},"required":["id","name","hs_code"],"title":"StorefrontEstimateProduct","type":"object"},"StorefrontFeedCard":{"properties":{"items":{"items":{"$ref":"#/components/schemas/StorefrontFeedItem"},"title":"Items","type":"array"},"type":{"const":"feed","default":"feed","title":"Type","type":"string"}},"required":["items"],"title":"StorefrontFeedCard","type":"object"},"StorefrontFeedItem":{"properties":{"on":{"format":"date","title":"On","type":"string"},"params":{"additionalProperties":{"type":"string"},"title":"Params","type":"object"},"type":{"enum":["certificate_verified","certificate_renewed","review_published","needs_matched"],"title":"Type","type":"string"}},"required":["type","params","on"],"title":"StorefrontFeedItem","type":"object"},"StorefrontFitCard":{"properties":{"parts":{"items":{"$ref":"#/components/schemas/StorefrontFitPart"},"title":"Parts","type":"array"},"score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Score"},"type":{"const":"fit","default":"fit","title":"Type","type":"string"}},"required":["score","parts"],"title":"StorefrontFitCard","type":"object"},"StorefrontFitPart":{"properties":{"basis":{"enum":["catalogue","verified_deals","stated_markets","conversations"],"title":"Basis","type":"string"},"key":{"enum":["product","destination","response"],"title":"Key","type":"string"},"value":{"title":"Value","type":"integer"}},"required":["key","value","basis"],"title":"StorefrontFitPart","type":"object"},"StorefrontGreeting":{"properties":{"chips":{"items":{"$ref":"#/components/schemas/StorefrontChip"},"title":"Chips","type":"array"},"feed":{"$ref":"#/components/schemas/StorefrontFeedCard"},"fit":{"$ref":"#/components/schemas/StorefrontFitCard"},"negotiates":{"title":"Negotiates","type":"boolean"},"points":{"items":{"$ref":"#/components/schemas/StorefrontPoint"},"title":"Points","type":"array"}},"required":["points","fit","feed","chips","negotiates"],"title":"StorefrontGreeting","type":"object"},"StorefrontMessageIn":{"additionalProperties":false,"description":"A question in the visitor's words (``text``), or an intent with its parameters.\nIntents use the chat's country (``StorefrontChatIn.country``).","properties":{"intent":{"anyOf":[{"enum":["estimate","trust","compare","fit","feed"],"type":"string"},{"type":"null"}],"title":"Intent"},"need":{"anyOf":[{"maxLength":200,"minLength":1,"type":"string"},{"type":"null"}],"title":"Need"},"product_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Product Id"},"quantity":{"anyOf":[{"exclusiveMinimum":0,"maximum":1000000000,"type":"number"},{"type":"string"},{"type":"null"}],"title":"Quantity"},"text":{"anyOf":[{"maxLength":500,"minLength":1,"type":"string"},{"type":"null"}],"title":"Text"}},"title":"StorefrontMessageIn","type":"object"},"StorefrontNoticeCard":{"properties":{"code":{"enum":["not_in_data","price_on_request","no_similar","no_photos","not_compared"],"title":"Code","type":"string"},"params":{"additionalProperties":{"type":"string"},"default":{},"title":"Params","type":"object"},"type":{"const":"notice","default":"notice","title":"Type","type":"string"}},"required":["code"],"title":"StorefrontNoticeCard","type":"object"},"StorefrontPhotoCard":{"properties":{"compared":{"title":"Compared","type":"integer"},"matches":{"items":{"$ref":"#/components/schemas/StorefrontPhotoMatch"},"title":"Matches","type":"array"},"type":{"const":"photo","default":"photo","title":"Type","type":"string"}},"required":["compared","matches"],"title":"StorefrontPhotoCard","type":"object"},"StorefrontPhotoMatch":{"properties":{"name":{"title":"Name","type":"string"},"photo":{"anyOf":[{"$ref":"#/components/schemas/ImageRef"},{"type":"null"}]},"product_id":{"format":"uuid","title":"Product Id","type":"string"},"reason":{"anyOf":[{"enum":["same_model","same_material","similar_pattern","similar_shape","similar_size","same_use","different_colour","different_material"],"type":"string"},{"type":"null"}],"title":"Reason"},"similarity":{"enum":["same","similar","related"],"title":"Similarity","type":"string"}},"required":["product_id","name","photo","similarity","reason"],"title":"StorefrontPhotoMatch","type":"object"},"StorefrontPoint":{"properties":{"code":{"enum":["product_match","no_product_match","exports_to","certificate_held","certificate_missing"],"title":"Code","type":"string"},"params":{"additionalProperties":{"type":"string"},"title":"Params","type":"object"},"tone":{"enum":["ok","caution"],"title":"Tone","type":"string"}},"required":["code","params","tone"],"title":"StorefrontPoint","type":"object"},"StorefrontReply":{"properties":{"cards":{"default":[],"items":{"discriminator":{"mapping":{"compare":"#/components/schemas/StorefrontCompareCard","estimate":"#/components/schemas/StorefrontEstimateCard","feed":"#/components/schemas/StorefrontFeedCard","fit":"#/components/schemas/StorefrontFitCard","notice":"#/components/schemas/StorefrontNoticeCard","photo":"#/components/schemas/StorefrontPhotoCard","trust":"#/components/schemas/StorefrontTrustCard"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/StorefrontEstimateCard"},{"$ref":"#/components/schemas/StorefrontTrustCard"},{"$ref":"#/components/schemas/StorefrontCompareCard"},{"$ref":"#/components/schemas/StorefrontFitCard"},{"$ref":"#/components/schemas/StorefrontFeedCard"},{"$ref":"#/components/schemas/StorefrontNoticeCard"},{"$ref":"#/components/schemas/StorefrontPhotoCard"}]},"title":"Cards","type":"array"},"text":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Text"}},"title":"StorefrontReply","type":"object"},"StorefrontSendIn":{"additionalProperties":false,"properties":{"confirm":{"const":true,"title":"Confirm","type":"boolean"},"org_id":{"format":"uuid","title":"Org Id","type":"string"}},"required":["org_id","confirm"],"title":"StorefrontSendIn","type":"object"},"StorefrontSent":{"properties":{"conversation_id":{"format":"uuid","title":"Conversation Id","type":"string"},"estimate_id":{"format":"uuid","title":"Estimate Id","type":"string"},"sent_at":{"format":"date-time","title":"Sent At","type":"string"}},"required":["estimate_id","conversation_id","sent_at"],"title":"StorefrontSent","type":"object"},"StorefrontTrustCard":{"properties":{"cautions":{"items":{"$ref":"#/components/schemas/StorefrontTrustItem"},"title":"Cautions","type":"array"},"parts":{"items":{"$ref":"#/components/schemas/StorefrontTrustPart"},"title":"Parts","type":"array"},"score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Score"},"strengths":{"items":{"$ref":"#/components/schemas/StorefrontTrustItem"},"title":"Strengths","type":"array"},"type":{"const":"trust","default":"trust","title":"Type","type":"string"}},"required":["score","parts","strengths","cautions"],"title":"StorefrontTrustCard","type":"object"},"StorefrontTrustItem":{"properties":{"code":{"title":"Code","type":"string"},"on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"On"},"params":{"additionalProperties":{"type":"string"},"title":"Params","type":"object"},"source":{"enum":["registry","credit_partner","sanctions_lists","web","reviews","reviewers","conversations","deals","ownership","kyb","requirements","platform"],"title":"Source","type":"string"}},"required":["code","params","source","on"],"title":"StorefrontTrustItem","type":"object"},"StorefrontTrustPart":{"properties":{"key":{"enum":["identity","legal","credit","sanctions","online","behaviour","documents","responsiveness","deals"],"title":"Key","type":"string"},"max":{"title":"Max","type":"integer"},"points":{"title":"Points","type":"integer"}},"required":["key","points","max"],"title":"StorefrontTrustPart","type":"object"},"SubRatingsIn":{"additionalProperties":false,"description":"Optional parts of a review, each from 1 to 5. The public sees only each one's\naverage over the company's reviews (once three rated it), never yours alone.","properties":{"on_time":{"anyOf":[{"maximum":5,"minimum":1,"type":"integer"},{"type":"null"}],"title":"On Time"},"packaging":{"anyOf":[{"maximum":5,"minimum":1,"type":"integer"},{"type":"null"}],"title":"Packaging"},"quality":{"anyOf":[{"maximum":5,"minimum":1,"type":"integer"},{"type":"null"}],"title":"Quality"},"responsiveness":{"anyOf":[{"maximum":5,"minimum":1,"type":"integer"},{"type":"null"}],"title":"Responsiveness"}},"title":"SubRatingsIn","type":"object"},"SubRatingsOut":{"properties":{"on_time":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"On Time"},"packaging":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Packaging"},"quality":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Quality"},"responsiveness":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Responsiveness"}},"required":["quality","responsiveness","on_time","packaging"],"title":"SubRatingsOut","type":"object"},"SubmissionIn":{"additionalProperties":false,"properties":{"activity":{"maxLength":200,"minLength":3,"title":"Activity","type":"string"},"attestation":{"const":true,"title":"Attestation","type":"boolean"},"city":{"maxLength":64,"minLength":2,"title":"City","type":"string"},"legal_form":{"$ref":"#/components/schemas/SubmittedForm"},"legal_name":{"maxLength":256,"minLength":2,"title":"Legal Name","type":"string"},"org_id":{"format":"uuid","title":"Org Id","type":"string"},"phone":{"maxLength":32,"minLength":6,"title":"Phone","type":"string"},"vkn":{"pattern":"^[0-9]{10}$","title":"Vkn","type":"string"},"website":{"anyOf":[{"maxLength":2048,"type":"string"},{"type":"null"}],"title":"Website"}},"required":["org_id","legal_name","legal_form","vkn","city","phone","activity","attestation"],"title":"SubmissionIn","type":"object"},"SubmissionOut":{"properties":{"city":{"title":"City","type":"string"},"company_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Company Id"},"company_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Company Slug"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"decided_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Decided At"},"id":{"format":"uuid","title":"Id","type":"string"},"legal_form":{"title":"Legal Form","type":"string"},"legal_name":{"title":"Legal Name","type":"string"},"nace_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nace Code"},"org_id":{"format":"uuid","title":"Org Id","type":"string"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason"},"status":{"title":"Status","type":"string"}},"required":["id","org_id","legal_name","legal_form","city","status","reason","nace_code","company_id","company_slug","created_at","decided_at"],"title":"SubmissionOut","type":"object"},"SubmittedForm":{"description":"The legal forms the \"add your business\" form offers.","enum":["ltd","as","sahis","cooperative","other"],"title":"SubmittedForm","type":"string"},"SubsidyApplicationIn":{"additionalProperties":false,"properties":{"program_id":{"format":"uuid","title":"Program Id","type":"string"}},"required":["program_id"],"title":"SubsidyApplicationIn","type":"object"},"SubsidyApplicationOut":{"properties":{"claimed":{"title":"Claimed","type":"string"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"currency":{"title":"Currency","type":"string"},"expense_ids":{"items":{"type":"string"},"title":"Expense Ids","type":"array"},"granted":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Granted"},"id":{"format":"uuid","title":"Id","type":"string"},"org_id":{"format":"uuid","title":"Org Id","type":"string"},"program_id":{"format":"uuid","title":"Program Id","type":"string"},"review_note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Review Note"},"status":{"title":"Status","type":"string"},"support":{"title":"Support","type":"string"}},"required":["id","org_id","program_id","status","claimed","support","currency","granted","review_note","expense_ids","created_at"],"title":"SubsidyApplicationOut","type":"object"},"SubsidyAssessmentOut":{"properties":{"claimed":{"title":"Claimed","type":"string"},"currency":{"title":"Currency","type":"string"},"eligible":{"title":"Eligible","type":"boolean"},"program_id":{"format":"uuid","title":"Program Id","type":"string"},"reasons":{"items":{"additionalProperties":true,"type":"object"},"title":"Reasons","type":"array"},"support":{"title":"Support","type":"string"}},"required":["program_id","eligible","reasons","claimed","support","currency"],"title":"SubsidyAssessmentOut","type":"object"},"SubsidyDocumentIn":{"additionalProperties":false,"properties":{"kind":{"$ref":"#/components/schemas/DocumentKind"},"media_type":{"enum":["application/xml","application/pdf"],"title":"Media Type","type":"string"},"sha256":{"pattern":"^[0-9a-f]{64}$","title":"Sha256","type":"string"},"size":{"exclusiveMinimum":0,"maximum":20971520,"title":"Size","type":"integer"}},"required":["kind","media_type","size","sha256"],"title":"SubsidyDocumentIn","type":"object"},"SubsidyDocumentOut":{"properties":{"created_at":{"format":"date-time","title":"Created At","type":"string"},"fields":{"additionalProperties":true,"title":"Fields","type":"object"},"fields_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fields By"},"id":{"format":"uuid","title":"Id","type":"string"},"kind":{"title":"Kind","type":"string"},"media_type":{"title":"Media Type","type":"string"},"org_id":{"format":"uuid","title":"Org Id","type":"string"},"status":{"title":"Status","type":"string"},"verified":{"title":"Verified","type":"boolean"}},"required":["id","org_id","kind","media_type","status","fields","fields_by","verified","created_at"],"title":"SubsidyDocumentOut","type":"object"},"SubsidyFieldsIn":{"additionalProperties":false,"properties":{"currency":{"anyOf":[{"pattern":"^[A-Z]{3}$","type":"string"},{"type":"null"}],"title":"Currency"},"expense_kind":{"anyOf":[{"enum":["certification","registration","testing","fair","market_research","advertising","e_commerce_membership","design","consultancy","trademark","trade_delegation"],"type":"string"},{"type":"null"}],"title":"Expense Kind"},"issued_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Issued On"},"net":{"anyOf":[{"minimum":0,"type":"number"},{"type":"string"},{"type":"null"}],"title":"Net"},"pays_document":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Pays Document"}},"title":"SubsidyFieldsIn","type":"object"},"SubsidyLinkOut":{"properties":{"expires_at":{"format":"date-time","title":"Expires At","type":"string"},"url":{"title":"Url","type":"string"}},"required":["url","expires_at"],"title":"SubsidyLinkOut","type":"object"},"SubsidyOutcomeIn":{"additionalProperties":false,"properties":{"decided_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Decided On"},"granted":{"anyOf":[{"minimum":0,"type":"number"},{"type":"string"},{"type":"null"}],"title":"Granted"},"outcome":{"enum":["filed","granted","rejected","withdrawn"],"title":"Outcome","type":"string"}},"required":["outcome"],"title":"SubsidyOutcomeIn","type":"object"},"SubsidyProgramOut":{"properties":{"authority":{"title":"Authority","type":"string"},"code":{"title":"Code","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"legal_basis":{"title":"Legal Basis","type":"string"},"lineage_id":{"format":"uuid","title":"Lineage Id","type":"string"},"name":{"additionalProperties":true,"title":"Name","type":"object"},"published_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Published At"},"rules":{"additionalProperties":true,"title":"Rules","type":"object"},"source_checked_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Source Checked On"},"source_url":{"title":"Source Url","type":"string"},"status":{"title":"Status","type":"string"},"version":{"title":"Version","type":"integer"}},"required":["id","lineage_id","version","code","name","authority","legal_basis","source_url","source_checked_on","rules","status","published_at"],"title":"SubsidyProgramOut","type":"object"},"SubsidyUploadOut":{"properties":{"document":{"$ref":"#/components/schemas/SubsidyDocumentOut"},"expires_at":{"format":"date-time","title":"Expires At","type":"string"},"upload_headers":{"additionalProperties":{"type":"string"},"title":"Upload Headers","type":"object"},"upload_url":{"title":"Upload Url","type":"string"}},"required":["document","upload_url","upload_headers","expires_at"],"title":"SubsidyUploadOut","type":"object"},"SuggestedCompany":{"properties":{"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"id":{"format":"uuid","title":"Id","type":"string"},"name":{"title":"Name","type":"string"},"on_platform":{"title":"On Platform","type":"boolean"},"slug":{"title":"Slug","type":"string"},"verified":{"title":"Verified","type":"boolean"}},"required":["id","name","slug","city","verified","on_platform"],"title":"SuggestedCompany","type":"object"},"SuggestedSeller":{"properties":{"company":{"$ref":"#/components/schemas/SuggestedCompany"},"invited":{"title":"Invited","type":"boolean"},"need_id":{"format":"uuid","title":"Need Id","type":"string"},"need_title":{"title":"Need Title","type":"string"},"why":{"items":{"additionalProperties":true,"type":"object"},"title":"Why","type":"array"}},"required":["need_id","need_title","company","why","invited"],"title":"SuggestedSeller","type":"object"},"SuggestedSellers":{"properties":{"items":{"items":{"$ref":"#/components/schemas/SuggestedSeller"},"title":"Items","type":"array"},"week":{"title":"Week","type":"string"}},"required":["week","items"],"title":"SuggestedSellers","type":"object"},"Suggestions":{"properties":{"companies":{"items":{"$ref":"#/components/schemas/CompanySuggestion"},"title":"Companies","type":"array"}},"required":["companies"],"title":"Suggestions","type":"object"},"SupplierLists":{"description":"How many companies each of the site's supplier lists holds (the Suppliers menu); a\nlist counted 0 has nothing to show yet. Each is a ``/v1/companies`` filter but\n``top_exporters`` (``/v1/companies/top-exporters``).","properties":{"active":{"title":"Active","type":"integer"},"all":{"title":"All","type":"integer"},"makers_any":{"title":"Makers Any","type":"integer"},"makers_proven":{"title":"Makers Proven","type":"integer"},"new":{"title":"New","type":"integer"},"top":{"title":"Top","type":"integer"},"top_exporters":{"title":"Top Exporters","type":"integer"},"top_exporters_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Top Exporters Year"},"verified":{"title":"Verified","type":"integer"}},"required":["all","makers_any","makers_proven","top","top_exporters","top_exporters_year","new","active","verified"],"title":"SupplierLists","type":"object"},"SupplierOut":{"properties":{"city":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"City"},"company_id":{"format":"uuid","title":"Company Id","type":"string"},"match_id":{"format":"uuid","title":"Match Id","type":"string"},"name":{"title":"Name","type":"string"},"on_platform":{"title":"On Platform","type":"boolean"},"reasons":{"items":{"additionalProperties":true,"type":"object"},"title":"Reasons","type":"array"},"score":{"title":"Score","type":"integer"},"slug":{"title":"Slug","type":"string"},"status":{"title":"Status","type":"string"}},"required":["match_id","company_id","slug","name","city","score","status","reasons","on_platform"],"title":"SupplierOut","type":"object"},"Switch":{"properties":{"applies_from":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Applies From"},"case_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Case Number"},"caveat":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Caveat"},"codes":{"items":{"$ref":"#/components/schemas/TariffCode"},"title":"Codes","type":"array"},"credit":{"anyOf":[{"$ref":"#/components/schemas/RadarCredit"},{"type":"null"}]},"duty":{"anyOf":[{"$ref":"#/components/schemas/DutyRange"},{"type":"null"}]},"expires_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Expires On"},"hazard":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hazard"},"headings_from":{"anyOf":[{"enum":["source","category","text"],"type":"string"},{"type":"null"}],"title":"Headings From"},"hits_turkiye":{"title":"Hits Turkiye","type":"boolean"},"home_market":{"title":"Home Market","type":"boolean"},"hs_headings":{"items":{"type":"string"},"title":"Hs Headings","type":"array"},"id":{"format":"uuid","title":"Id","type":"string"},"instrument":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instrument"},"kind":{"enum":["trade_measure","product_alert"],"title":"Kind","type":"string"},"listed":{"title":"Listed","type":"boolean"},"market":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Market"},"markets":{"items":{"type":"string"},"title":"Markets","type":"array"},"measures":{"items":{"type":"string"},"title":"Measures","type":"array"},"origins":{"items":{"type":"string"},"title":"Origins","type":"array"},"product":{"title":"Product","type":"string"},"product_category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Category"},"product_en":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product En"},"published_at":{"format":"date-time","title":"Published At","type":"string"},"reference":{"title":"Reference","type":"string"},"remedy_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Remedy Slug"},"risk_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Risk Level"},"sectors":{"items":{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},"title":"Sectors","type":"array"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage"},"supplier_basis":{"anyOf":[{"enum":["makers","sector_exporters"],"type":"string"},{"type":"null"}],"title":"Supplier Basis"},"supplier_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Supplier Count"},"suppliers":{"items":{"$ref":"#/components/schemas/CompanyCard"},"title":"Suppliers","type":"array"},"suppliers_counted_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Suppliers Counted At"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"}},"required":["id","kind","instrument","stage","measures","title","product","product_category","hazard","risk_level","origins","market","markets","hits_turkiye","home_market","listed","codes","hs_headings","headings_from","sectors","duty","published_at","applies_from","expires_on","reference","case_number","supplier_count","source_url","credit","caveat","suppliers","suppliers_counted_at"],"title":"Switch","type":"object"},"SwitchList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/SwitchSummary"},"title":"Items","type":"array"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"required":["items","next_cursor"],"title":"SwitchList","type":"object"},"SwitchSummary":{"properties":{"applies_from":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Applies From"},"case_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Case Number"},"caveat":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Caveat"},"codes":{"items":{"$ref":"#/components/schemas/TariffCode"},"title":"Codes","type":"array"},"credit":{"anyOf":[{"$ref":"#/components/schemas/RadarCredit"},{"type":"null"}]},"duty":{"anyOf":[{"$ref":"#/components/schemas/DutyRange"},{"type":"null"}]},"expires_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Expires On"},"hazard":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Hazard"},"headings_from":{"anyOf":[{"enum":["source","category","text"],"type":"string"},{"type":"null"}],"title":"Headings From"},"hits_turkiye":{"title":"Hits Turkiye","type":"boolean"},"home_market":{"title":"Home Market","type":"boolean"},"hs_headings":{"items":{"type":"string"},"title":"Hs Headings","type":"array"},"id":{"format":"uuid","title":"Id","type":"string"},"instrument":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Instrument"},"kind":{"enum":["trade_measure","product_alert"],"title":"Kind","type":"string"},"listed":{"title":"Listed","type":"boolean"},"market":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Market"},"markets":{"items":{"type":"string"},"title":"Markets","type":"array"},"measures":{"items":{"type":"string"},"title":"Measures","type":"array"},"origins":{"items":{"type":"string"},"title":"Origins","type":"array"},"product":{"title":"Product","type":"string"},"product_category":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product Category"},"product_en":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Product En"},"published_at":{"format":"date-time","title":"Published At","type":"string"},"reference":{"title":"Reference","type":"string"},"remedy_slug":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Remedy Slug"},"risk_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Risk Level"},"sectors":{"items":{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},"title":"Sectors","type":"array"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"stage":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Stage"},"supplier_basis":{"anyOf":[{"enum":["makers","sector_exporters"],"type":"string"},{"type":"null"}],"title":"Supplier Basis"},"supplier_count":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Supplier Count"},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title"}},"required":["id","kind","instrument","stage","measures","title","product","product_category","hazard","risk_level","origins","market","markets","hits_turkiye","home_market","listed","codes","hs_headings","headings_from","sectors","duty","published_at","applies_from","expires_on","reference","case_number","supplier_count","source_url","credit","caveat"],"title":"SwitchSummary","type":"object"},"TariffCode":{"properties":{"code":{"title":"Code","type":"string"},"partial":{"title":"Partial","type":"boolean"},"system":{"title":"System","type":"string"}},"required":["system","code","partial"],"title":"TariffCode","type":"object"},"Tip":{"properties":{"code":{"enum":["invite_suppliers","extend_deadline","widen_origin","add_code","add_quantity"],"title":"Code","type":"string"},"params":{"additionalProperties":true,"title":"Params","type":"object"}},"required":["code","params"],"title":"Tip","type":"object"},"Tips":{"properties":{"tips":{"items":{"$ref":"#/components/schemas/Tip"},"title":"Tips","type":"array"}},"required":["tips"],"title":"Tips","type":"object"},"TitleKind":{"enum":["need","project","signal"],"type":"string"},"TitleList":{"properties":{"items":{"items":{"$ref":"#/components/schemas/TitleOut"},"title":"Items","type":"array"},"language":{"enum":["tr","en","ar","fa"],"title":"Language","type":"string"}},"required":["language","items"],"title":"TitleList","type":"object"},"TitleOut":{"properties":{"id":{"format":"uuid","title":"Id","type":"string"},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model"},"title":{"title":"Title","type":"string"},"title_language":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title Language"},"translated_by":{"anyOf":[{"enum":["source","model"],"type":"string"},{"type":"null"}],"title":"Translated By"},"translated_title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Translated Title"},"type":{"$ref":"#/components/schemas/TitleKind"}},"required":["type","id","title","title_language","translated_title","translated_by","model"],"title":"TitleOut","type":"object"},"TopExporter":{"properties":{"company":{"anyOf":[{"$ref":"#/components/schemas/ExporterCompany"},{"type":"null"}]},"export_sector":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Export Sector"},"listed_name":{"title":"Listed Name","type":"string"},"rank":{"title":"Rank","type":"integer"},"sector":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sector"}},"required":["rank","listed_name","company"],"title":"TopExporter","type":"object"},"TopExporters":{"description":"One year of TİM's \"Türkiye'nin İlk 1000 İhracatçısı\", by rank: the companies TİM\nnames (ranks of companies that withheld their name are left out).","properties":{"credit":{"anyOf":[{"$ref":"#/components/schemas/ExportersCredit"},{"type":"null"}]},"items":{"items":{"$ref":"#/components/schemas/TopExporter"},"title":"Items","type":"array"},"year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year"},"years":{"items":{"type":"integer"},"title":"Years","type":"array"}},"required":["year","years","items","credit"],"title":"TopExporters","type":"object"},"TrackRecord":{"description":"Deals made here and verified (delivery confirmed, or the escrow paid out), by the\norganization that manages the page now. No buyer is named or can be singled out.","properties":{"buyer_countries":{"default":0,"title":"Buyer Countries","type":"integer"},"export_deals":{"default":0,"title":"Export Deals","type":"integer"},"on_time_pct":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"On Time Pct"},"repeat_buyer_pct":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Repeat Buyer Pct"},"since":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Since"},"verified_deals":{"default":0,"title":"Verified Deals","type":"integer"}},"title":"TrackRecord","type":"object"},"TradeAgreementList":{"description":"The Ministry's list as last read: a market it does not name has no agreement with\nTürkiye in force, signed or under negotiation (what lets a page say \"no FTA\").","properties":{"checked_on":{"format":"date","title":"Checked On","type":"string"},"source_url":{"title":"Source Url","type":"string"}},"required":["checked_on","source_url"],"title":"TradeAgreementList","type":"object"},"TradeAgreementOut":{"description":"Türkiye's agreement with a market, as the Ministry of Trade states it.","properties":{"checked_on":{"format":"date","title":"Checked On","type":"string"},"in_force_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"In Force On"},"in_force_year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"In Force Year"},"listed_as":{"title":"Listed As","type":"string"},"partner":{"title":"Partner","type":"string"},"signed_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Signed On"},"source_url":{"title":"Source Url","type":"string"},"status":{"enum":["in_force","ratification","negotiation","customs_union"],"title":"Status","type":"string"}},"required":["partner","status","listed_as","signed_on","in_force_on","in_force_year","source_url","checked_on"],"title":"TradeAgreementOut","type":"object"},"TradeProcedureOut":{"properties":{"checked_on":{"format":"date","title":"Checked On","type":"string"},"enquiry_points":{"items":{"type":"string"},"title":"Enquiry Points","type":"array"},"member":{"title":"Member","type":"string"},"procedures":{"items":{"$ref":"#/components/schemas/ProcedurePageOut"},"title":"Procedures","type":"array"},"single_window":{"items":{"type":"string"},"title":"Single Window","type":"array"}},"required":["member","single_window","procedures","enquiry_points","checked_on"],"title":"TradeProcedureOut","type":"object"},"TradeRestrictionOut":{"description":"An import prohibition or restriction on Turkish goods, as the WTO lists it.","properties":{"checked_on":{"format":"date","title":"Checked On","type":"string"},"codes":{"default":0,"title":"Codes","type":"integer"},"description":{"title":"Description","type":"string"},"id":{"title":"Id","type":"integer"},"in_force_from":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"In Force From"},"legal_basis":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Legal Basis"},"member":{"title":"Member","type":"string"},"notified_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Notified On"},"notified_symbol":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notified Symbol"},"symbols":{"items":{"type":"string"},"title":"Symbols","type":"array"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"}},"required":["id","member","description","symbols","legal_basis","in_force_from","notified_symbol","notified_on","url","checked_on"],"title":"TradeRestrictionOut","type":"object"},"TradeStatsCredit":{"description":"Where a block's figures come from, as the source's licence asks them to be credited.","properties":{"dataset":{"title":"Dataset","type":"string"},"dataset_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Dataset Url"},"licence_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Licence Url"},"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"notice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notice"},"released_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Released At"},"reporter":{"title":"Reporter","type":"string"}},"required":["name","notice","licence_url","dataset","dataset_url","released_at","reporter"],"title":"TradeStatsCredit","type":"object"},"TradeStatsFigure":{"properties":{"growth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Growth"},"previous":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Previous"},"value":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Value"}},"required":["value","previous","growth"],"title":"TradeStatsFigure","type":"object"},"TransferOut":{"description":"Where the claimant sends the transfer, from the company's own account.","properties":{"amount":{"title":"Amount","type":"string"},"currency":{"title":"Currency","type":"string"},"holder":{"title":"Holder","type":"string"},"iban":{"title":"Iban","type":"string"},"reference":{"title":"Reference","type":"string"}},"required":["holder","iban","amount","currency","reference"],"title":"TransferOut","type":"object"},"TransferReportOut":{"properties":{"claim":{"$ref":"#/components/schemas/ClaimOut"},"outcome":{"enum":["verified","proved","waiting"],"title":"Outcome","type":"string"}},"required":["outcome","claim"],"title":"TransferReportOut","type":"object"},"TrustPart":{"properties":{"checked_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Checked On"},"level":{"enum":["good","fair","attention","unknown"],"title":"Level","type":"string"},"part":{"enum":["identity","legal","credit","sanctions","online","behaviour"],"title":"Part","type":"string"},"reasons":{"items":{"$ref":"#/components/schemas/TrustReason"},"title":"Reasons","type":"array"}},"required":["part","level","reasons"],"title":"TrustPart","type":"object"},"TrustReason":{"properties":{"code":{"title":"Code","type":"string"},"params":{"additionalProperties":{"type":"string"},"default":{},"title":"Params","type":"object"}},"required":["code"],"title":"TrustReason","type":"object"},"TrustScore":{"description":"A transparent composite (D1): ``score`` is the sum of the parts' points; it is never\nshown without them (``birlesa.reputation.score`` says how each part is counted).","properties":{"parts":{"items":{"$ref":"#/components/schemas/TrustScorePart"},"title":"Parts","type":"array"},"score":{"title":"Score","type":"integer"}},"required":["score","parts"],"title":"TrustScore","type":"object"},"TrustScorePart":{"properties":{"key":{"enum":["identity","legal","credit","sanctions","online","behaviour","documents","responsiveness","deals"],"title":"Key","type":"string"},"max":{"title":"Max","type":"integer"},"points":{"title":"Points","type":"integer"},"reasons":{"items":{"$ref":"#/components/schemas/TrustReason"},"title":"Reasons","type":"array"},"source":{"enum":["registry","credit_partner","sanctions_lists","web","reviews","reviewers","conversations","deals"],"title":"Source","type":"string"}},"required":["key","points","max","reasons","source"],"title":"TrustScorePart","type":"object"},"UploadOut":{"properties":{"expires_at":{"format":"date-time","title":"Expires At","type":"string"},"headers":{"additionalProperties":{"type":"string"},"title":"Headers","type":"object"},"url":{"title":"Url","type":"string"}},"required":["url","headers","expires_at"],"title":"UploadOut","type":"object"},"UploadTarget":{"properties":{"expires_at":{"format":"date-time","title":"Expires At","type":"string"},"headers":{"additionalProperties":{"type":"string"},"title":"Headers","type":"object"},"url":{"title":"Url","type":"string"}},"required":["url","headers","expires_at"],"title":"UploadTarget","type":"object"},"Upstream":{"description":"A company's place in the table: its inputs, and the open needs its goods go into.","properties":{"headings":{"items":{"type":"string"},"title":"Headings","type":"array"},"inputs":{"items":{"$ref":"#/components/schemas/UpstreamInput"},"title":"Inputs","type":"array"},"needs":{"items":{"$ref":"#/components/schemas/OpportunitySummary"},"title":"Needs","type":"array"},"open_needs":{"title":"Open Needs","type":"integer"},"products":{"items":{"$ref":"#/components/schemas/UpstreamProduct"},"title":"Products","type":"array"},"rule":{"title":"Rule","type":"string"}},"required":["rule","headings","inputs","products","open_needs","needs"],"title":"Upstream","type":"object"},"UpstreamInput":{"description":"A kind of input the company's products are commonly made with (the table's line).","properties":{"activities":{"items":{"type":"string"},"title":"Activities","type":"array"},"generic":{"title":"Generic","type":"boolean"},"headings":{"items":{"type":"string"},"title":"Headings","type":"array"},"key":{"title":"Key","type":"string"},"makers":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Makers"},"name":{"$ref":"#/components/schemas/LineLabel"},"products":{"items":{"type":"string"},"title":"Products","type":"array"}},"required":["key","name","headings","activities","generic","makers","products"],"title":"UpstreamInput","type":"object"},"UpstreamProduct":{"description":"A product the company's goods go into, by the table.","properties":{"heading":{"title":"Heading","type":"string"},"inputs":{"items":{"type":"string"},"title":"Inputs","type":"array"},"name":{"$ref":"#/components/schemas/LineLabel"},"stated":{"items":{"type":"string"},"title":"Stated","type":"array"}},"required":["heading","name","inputs","stated"],"title":"UpstreamProduct","type":"object"},"ViewIn":{"additionalProperties":false,"properties":{"company_id":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Company Id"},"subject_id":{"format":"uuid","title":"Subject Id","type":"string"},"subject_type":{"enum":["need","company","product"],"title":"Subject Type","type":"string"}},"required":["subject_type","subject_id"],"title":"ViewIn","type":"object"},"WebhookChange":{"additionalProperties":false,"properties":{"active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Active"},"events":{"anyOf":[{"items":{"maxLength":64,"minLength":3,"type":"string"},"maxItems":28,"minItems":1,"type":"array"},{"type":"null"}],"title":"Events"},"url":{"anyOf":[{"maxLength":2048,"minLength":12,"type":"string"},{"type":"null"}],"title":"Url"}},"title":"WebhookChange","type":"object"},"WebhookDeliveryOut":{"properties":{"attempts":{"title":"Attempts","type":"integer"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"data":{"additionalProperties":true,"title":"Data","type":"object"},"delivered_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Delivered At"},"delivery_id":{"format":"uuid","title":"Delivery Id","type":"string"},"event_id":{"format":"uuid","title":"Event Id","type":"string"},"last_error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Error"},"next_attempt_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Next Attempt At"},"response_status":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Response Status"},"status":{"title":"Status","type":"string"},"type":{"title":"Type","type":"string"}},"required":["delivery_id","event_id","type","data","status","attempts","response_status","last_error","next_attempt_at","delivered_at","created_at"],"title":"WebhookDeliveryOut","type":"object"},"WebhookEventOut":{"properties":{"ids":{"items":{"type":"string"},"title":"Ids","type":"array"},"type":{"title":"Type","type":"string"}},"required":["type","ids"],"title":"WebhookEventOut","type":"object"},"WebhookIn":{"additionalProperties":false,"properties":{"events":{"items":{"maxLength":64,"minLength":3,"type":"string"},"maxItems":28,"minItems":1,"title":"Events","type":"array"},"url":{"maxLength":2048,"minLength":12,"title":"Url","type":"string"}},"required":["url","events"],"title":"WebhookIn","type":"object"},"WebhookOut":{"properties":{"created_at":{"format":"date-time","title":"Created At","type":"string"},"disabled_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Disabled Reason"},"events":{"items":{"type":"string"},"title":"Events","type":"array"},"failing_since":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Failing Since"},"rotated_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Rotated At"},"status":{"title":"Status","type":"string"},"url":{"title":"Url","type":"string"},"webhook_id":{"format":"uuid","title":"Webhook Id","type":"string"}},"required":["webhook_id","url","events","status","disabled_reason","failing_since","rotated_at","created_at"],"title":"WebhookOut","type":"object"},"WebhookSecretOut":{"properties":{"secret":{"title":"Secret","type":"string"}},"required":["secret"],"title":"WebhookSecretOut","type":"object"},"WhatsAppCodeIn":{"additionalProperties":false,"properties":{"code":{"pattern":"^\\s*[0-9]{6}\\s*$","title":"Code","type":"string"}},"required":["code"],"title":"WhatsAppCodeIn","type":"object"},"WhatsAppIn":{"additionalProperties":false,"properties":{"number":{"maxLength":32,"minLength":8,"title":"Number","type":"string"}},"required":["number"],"title":"WhatsAppIn","type":"object"},"WidgetIn":{"additionalProperties":false,"properties":{"contact":{"maxLength":512,"minLength":1,"title":"Contact","type":"string"},"display_name":{"maxLength":480,"minLength":1,"title":"Display Name","type":"string"},"kind":{"enum":["consultant","association"],"title":"Kind","type":"string"},"site_origin":{"maxLength":255,"minLength":1,"title":"Site Origin","type":"string"}},"required":["kind","display_name","site_origin","contact"],"title":"WidgetIn","type":"object"},"WidgetOut":{"properties":{"contact_link":{"title":"Contact Link","type":"string"},"created_at":{"format":"date-time","title":"Created At","type":"string"},"display_name":{"title":"Display Name","type":"string"},"id":{"format":"uuid","title":"Id","type":"string"},"kind":{"enum":["consultant","association"],"title":"Kind","type":"string"},"reviewed_at":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Reviewed At"},"site_origin":{"title":"Site Origin","type":"string"},"slug":{"title":"Slug","type":"string"},"status":{"enum":["pending","approved","rejected","suspended"],"title":"Status","type":"string"}},"required":["id","slug","kind","display_name","contact_link","site_origin","status","created_at","reviewed_at"],"title":"WidgetOut","type":"object"},"WidgetSite":{"description":"What the widget shows of an approved registration, and the origin that may frame it.","properties":{"contact_link":{"title":"Contact Link","type":"string"},"display_name":{"title":"Display Name","type":"string"},"kind":{"enum":["consultant","association"],"title":"Kind","type":"string"},"site_origin":{"title":"Site Origin","type":"string"},"slug":{"title":"Slug","type":"string"}},"required":["slug","kind","display_name","contact_link","site_origin"],"title":"WidgetSite","type":"object"},"WinnerCompany":{"description":"A winner's page here: only when the winner is proven to be that company (the tax\nnumber its notice states is the company's own, and the names agree).","properties":{"name":{"title":"Name","type":"string"},"slug":{"title":"Slug","type":"string"}},"required":["slug","name"],"title":"WinnerCompany","type":"object"},"WorkingHours":{"properties":{"days":{"items":{"$ref":"#/components/schemas/DayHours"},"title":"Days","type":"array"},"time_zone":{"title":"Time Zone","type":"string"}},"required":["time_zone","days"],"title":"WorkingHours","type":"object"},"WtoCredit":{"properties":{"name":{"title":"Name","type":"string"},"url":{"title":"Url","type":"string"}},"required":["name","url"],"title":"WtoCredit","type":"object"},"WtoFactsOut":{"properties":{"code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Code"},"country":{"title":"Country","type":"string"},"credit":{"$ref":"#/components/schemas/WtoCredit"},"notifications":{"items":{"$ref":"#/components/schemas/WtoNotificationOut"},"title":"Notifications","type":"array"},"notifications_open":{"title":"Notifications Open","type":"integer"},"notifications_total":{"title":"Notifications Total","type":"integer"},"procedures":{"items":{"$ref":"#/components/schemas/TradeProcedureOut"},"title":"Procedures","type":"array"},"restrictions":{"items":{"$ref":"#/components/schemas/TradeRestrictionOut"},"title":"Restrictions","type":"array"}},"required":["country","code","notifications","notifications_total","notifications_open","restrictions","procedures","credit"],"title":"WtoFactsOut","type":"object"},"WtoNotificationOut":{"description":"A rule a market notified to the WTO, facts only (never the notification's text).","properties":{"adoption_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Adoption On"},"affected":{"items":{"type":"string"},"title":"Affected","type":"array"},"area":{"enum":["sps","tbt"],"title":"Area","type":"string"},"comment_deadline":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"Comment Deadline"},"distributed_on":{"format":"date","title":"Distributed On","type":"string"},"document_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Document Url"},"hs_codes":{"items":{"type":"string"},"title":"Hs Codes","type":"array"},"id":{"format":"uuid","title":"Id","type":"string"},"in_force_on":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"title":"In Force On"},"kind":{"enum":["regular","emergency","addendum","corrigendum","revision","other"],"title":"Kind","type":"string"},"member":{"title":"Member","type":"string"},"notification_type":{"title":"Notification Type","type":"string"},"open_for_comments":{"title":"Open For Comments","type":"boolean"},"products":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Products"},"symbol":{"title":"Symbol","type":"string"},"title":{"title":"Title","type":"string"},"url":{"title":"Url","type":"string"}},"required":["id","member","area","kind","notification_type","symbol","title","products","hs_codes","affected","distributed_on","comment_deadline","open_for_comments","adoption_on","in_force_on","url","document_url"],"title":"WtoNotificationOut","type":"object"}}},"info":{"title":"Birlesa API","version":"0.1.0"},"openapi":"3.1.0","paths":{"/oauth/token":{"post":{"description":"``grant_type=client_credentials`` (form-encoded); the client authenticates with HTTP\nBasic or ``client_id``/``client_secret``; ``scope`` narrows its permissions.","operationId":"token_oauth_token_post","responses":{"200":{"content":{"application/json":{"schema":{}}},"description":"Successful Response"}},"summary":"Client credentials → a token","tags":["oauth"]}},"/v1/agent/conversations":{"get":{"description":"The member's own tasks (of one ``kind``, for one organization, when given), in\norganizations they still belong to, most recently active first.","operationId":"mine_v1_agent_conversations_get","parameters":[{"in":"query","name":"kind","required":false,"schema":{"anyOf":[{"enum":["buying","showcase","sales"],"type":"string"},{"type":"null"}],"title":"Kind"}},{"in":"query","name":"org_id","required":false,"schema":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"Org Id"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AgentConversationOut"},"title":"Response Mine V1 Agent Conversations Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Mine","tags":["agent"]},"post":{"operationId":"start_v1_agent_conversations_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentConversationIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentConversationOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Start","tags":["agent"]}},"/v1/agent/conversations/{conversation_id}":{"get":{"operationId":"transcript_v1_agent_conversations__conversation_id__get","parameters":[{"in":"path","name":"conversation_id","required":true,"schema":{"format":"uuid","title":"Conversation Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentTranscript"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Transcript","tags":["agent"]}},"/v1/agent/conversations/{conversation_id}/close":{"post":{"description":"End the conversation; its waiting reminders are dropped.","operationId":"close_v1_agent_conversations__conversation_id__close_post","parameters":[{"in":"path","name":"conversation_id","required":true,"schema":{"format":"uuid","title":"Conversation Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentConversationOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Close","tags":["agent"]}},"/v1/agent/conversations/{conversation_id}/messages":{"post":{"operationId":"say_v1_agent_conversations__conversation_id__messages_post","parameters":[{"in":"path","name":"conversation_id","required":true,"schema":{"format":"uuid","title":"Conversation Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentMessageIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentReply"}},"text/event-stream":{}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Say something to the agent (or, after a handover, to a person)","tags":["agent"]}},"/v1/agent/follow-ups/{follow_up_id}/cancel":{"post":{"operationId":"cancel_follow_up_v1_agent_follow_ups__follow_up_id__cancel_post","parameters":[{"in":"path","name":"follow_up_id","required":true,"schema":{"format":"uuid","title":"Follow Up Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentFollowUpOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Cancel Follow Up","tags":["agent"]}},"/v1/agent/proposals/{proposal_id}/confirm":{"post":{"description":"Do what the agent drafted, as the member: once, however often it is clicked.","operationId":"confirm_v1_agent_proposals__proposal_id__confirm_post","parameters":[{"in":"path","name":"proposal_id","required":true,"schema":{"format":"uuid","title":"Proposal Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentProposalOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Confirm","tags":["agent"]}},"/v1/agent/proposals/{proposal_id}/dismiss":{"post":{"operationId":"dismiss_v1_agent_proposals__proposal_id__dismiss_post","parameters":[{"in":"path","name":"proposal_id","required":true,"schema":{"format":"uuid","title":"Proposal Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentProposalOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Dismiss","tags":["agent"]}},"/v1/agents/radar":{"get":{"operationId":"radar_v1_agents_radar_get","parameters":[{"in":"query","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RadarView"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The radar of an organization's companies","tags":["agents"]}},"/v1/agents/summary":{"get":{"operationId":"summary_v1_agents_summary_get","parameters":[{"in":"query","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentsSummary"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The storefront agents of an organization","tags":["agents"]}},"/v1/approvals/{approval_id}/approve":{"post":{"description":"Carry out what the assistant prepared, with your rights, once.","operationId":"approve_v1_approvals__approval_id__approve_post","parameters":[{"in":"path","name":"approval_id","required":true,"schema":{"format":"uuid","title":"Approval Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovalOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Approve","tags":["selling"]}},"/v1/approvals/{approval_id}/reject":{"post":{"operationId":"reject_v1_approvals__approval_id__reject_post","parameters":[{"in":"path","name":"approval_id","required":true,"schema":{"format":"uuid","title":"Approval Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApprovalOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Reject","tags":["selling"]}},"/v1/assist-requests":{"get":{"operationId":"mine_v1_assist_requests_get","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AssistRequestOut"},"title":"Response Mine V1 Assist Requests Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Your requests to the team","tags":["assist"]},"post":{"description":"Asking again about the same subject while a request waits returns that request\n(``repeated``).","operationId":"create_v1_assist_requests_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistRequestIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistRequestOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Ask Birlesa's team to prepare an offer or to connect you (nothing is sent without your approval)","tags":["assist"]}},"/v1/assist-requests/subject":{"get":{"operationId":"subject_v1_assist_requests_subject_get","parameters":[{"in":"query","name":"kind","required":true,"schema":{"enum":["signal","code","need","remedy"],"title":"Kind","type":"string"}},{"in":"query","name":"ref","required":true,"schema":{"maxLength":160,"minLength":1,"title":"Ref","type":"string"}},{"in":"query","name":"language","required":false,"schema":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistSubject"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"No such opportunity or anti-dumping page"}},"summary":"What a request to the team would be about, read where the platform holds it","tags":["assist"]}},"/v1/assist-requests/{request_id}/withdraw":{"post":{"operationId":"withdraw_v1_assist_requests__request_id__withdraw_post","parameters":[{"in":"path","name":"request_id","required":true,"schema":{"format":"uuid","title":"Request Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistRequestOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Take back one of your requests while it is new or in progress","tags":["assist"]}},"/v1/association-announcements":{"get":{"description":"``kind`` may repeat (bodies of any of them); ``cursor`` is a page's ``next_cursor``.","operationId":"announcements_v1_association_announcements_get","parameters":[{"in":"query","name":"kind","required":false,"schema":{"anyOf":[{"items":{"$ref":"#/components/schemas/AssociationKind"},"maxItems":12,"type":"array"},{"type":"null"}],"title":"Kind"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"maxLength":1024,"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"maximum":50,"minimum":1,"title":"Limit","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationAnnouncementList"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The bodies' newest announcements, for the chambers' news feed","tags":["associations"]}},"/v1/association-claims":{"get":{"operationId":"list_claims_v1_association_claims_get","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AssociationClaimOut"},"title":"Response List Claims V1 Association Claims Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The claims of the member's organizations, newest first","tags":["association pages"]},"post":{"description":"A ``domain_email`` claim sends a code to the address given on the body's own domain;\na ``document`` claim waits for its letter (``…/evidence``) and a reviewer. The answer\nnever says whether another organization manages the page.","operationId":"open_claim_v1_association_claims_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewAssociationClaim"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationClaimOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"The proof cannot be given that way (``no_website``, …)"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"No such body with a page"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"The organization manages it or has an open claim"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too many claims today (on the body, or by the account)"}},"summary":"Ask to manage a chamber's or an association's page for an organization","tags":["association pages"]}},"/v1/association-claims/{claim_id}":{"get":{"operationId":"get_claim_v1_association_claims__claim_id__get","parameters":[{"in":"path","name":"claim_id","required":true,"schema":{"format":"uuid","title":"Claim Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationClaimOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"No such claim of the member's organizations"}},"summary":"Get Claim","tags":["association pages"]}},"/v1/association-claims/{claim_id}/evidence":{"get":{"operationId":"list_evidence_v1_association_claims__claim_id__evidence_get","parameters":[{"in":"path","name":"claim_id","required":true,"schema":{"format":"uuid","title":"Claim Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AssociationEvidenceOut"},"title":"Response List Evidence V1 Association Claims  Claim Id  Evidence Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The claim's files (never their content)","tags":["association pages"]},"post":{"operationId":"add_evidence_v1_association_claims__claim_id__evidence_post","parameters":[{"in":"path","name":"claim_id","required":true,"schema":{"format":"uuid","title":"Claim Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationEvidenceIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationEvidenceUploadOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Add a letter (PDF, JPEG or PNG): declare it, then upload to the returned URL","tags":["association pages"]}},"/v1/association-claims/{claim_id}/evidence/{evidence_id}/complete":{"post":{"operationId":"complete_evidence_v1_association_claims__claim_id__evidence__evidence_id__complete_post","parameters":[{"in":"path","name":"claim_id","required":true,"schema":{"format":"uuid","title":"Claim Id","type":"string"}},{"in":"path","name":"evidence_id","required":true,"schema":{"format":"uuid","title":"Evidence Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationEvidenceOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"After the upload: the file is checked in a sandbox and kept (or refused)","tags":["association pages"]}},"/v1/association-claims/{claim_id}/resend":{"post":{"operationId":"resend_code_v1_association_claims__claim_id__resend_post","parameters":[{"in":"path","name":"claim_id","required":true,"schema":{"format":"uuid","title":"Claim Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"202":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Send a new code (a minute after the last at the earliest, five per claim)","tags":["association pages"]}},"/v1/association-claims/{claim_id}/verify":{"post":{"operationId":"verify_claim_v1_association_claims__claim_id__verify_post","parameters":[{"in":"path","name":"claim_id","required":true,"schema":{"format":"uuid","title":"Claim Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Code"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationClaimOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"``wrong_code``, ``code_expired``"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"}},"summary":"Enter the code: the organization manages the page, or a reviewer decides","tags":["association pages"]}},"/v1/association-claims/{claim_id}/withdraw":{"post":{"operationId":"withdraw_claim_v1_association_claims__claim_id__withdraw_post","parameters":[{"in":"path","name":"claim_id","required":true,"schema":{"format":"uuid","title":"Claim Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationClaimOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Give a waiting claim up (its files are deleted)","tags":["association pages"]}},"/v1/association-news":{"get":{"description":"``kind`` may repeat (bodies of any of them); ``cursor`` is a page's ``next_cursor``.","operationId":"latest_news_v1_association_news_get","parameters":[{"in":"query","name":"kind","required":false,"schema":{"anyOf":[{"items":{"$ref":"#/components/schemas/AssociationKind"},"maxItems":12,"type":"array"},{"type":"null"}],"title":"Kind"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"maxLength":1024,"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"maximum":50,"minimum":1,"title":"Limit","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationNewsList"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The chambers' news: the bodies' own sites' items and their announcements here","tags":["associations"]}},"/v1/association-pages":{"get":{"operationId":"managed_pages_v1_association_pages_get","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ManagedAssociation"},"title":"Response Managed Pages V1 Association Pages Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The chambers' and associations' pages the member's organizations manage","tags":["association pages"]}},"/v1/association-pages/{association_id}":{"get":{"operationId":"managed_page_v1_association_pages__association_id__get","parameters":[{"in":"path","name":"association_id","required":true,"schema":{"format":"uuid","title":"Association Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagedAssociationPage"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not a page the member's organizations manage"}},"summary":"A managed page as its organization sees it: what it states, and its counts","tags":["association pages"]}},"/v1/association-pages/{association_id}/announcements":{"post":{"operationId":"post_announcement_v1_association_pages__association_id__announcements_post","parameters":[{"in":"path","name":"association_id","required":true,"schema":{"format":"uuid","title":"Association Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationAnnouncementIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationAnnouncementOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Post an announcement: a title, its date and a link to the body's own site","tags":["association pages"]}},"/v1/association-pages/{association_id}/announcements/{announcement_id}":{"delete":{"operationId":"remove_announcement_v1_association_pages__association_id__announcements__announcement_id__delete","parameters":[{"in":"path","name":"association_id","required":true,"schema":{"format":"uuid","title":"Association Id","type":"string"}},{"in":"path","name":"announcement_id","required":true,"schema":{"format":"uuid","title":"Announcement Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Take an announcement down","tags":["association pages"]}},"/v1/association-pages/{association_id}/contacts":{"put":{"operationId":"set_contacts_v1_association_pages__association_id__contacts_put","parameters":[{"in":"path","name":"association_id","required":true,"schema":{"format":"uuid","title":"Association Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationContactsIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AssociationContactOut"},"title":"Response Set Contacts V1 Association Pages  Association Id  Contacts Put","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The page's official channels: role mailboxes on the body's own domain","tags":["association pages"]}},"/v1/association-pages/{association_id}/description/{language}":{"delete":{"operationId":"remove_description_v1_association_pages__association_id__description__language__delete","parameters":[{"in":"path","name":"association_id","required":true,"schema":{"format":"uuid","title":"Association Id","type":"string"}},{"in":"path","name":"language","required":true,"schema":{"enum":["tr","en","ar","fa"],"title":"Language","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Remove Description","tags":["association pages"]},"put":{"operationId":"set_description_v1_association_pages__association_id__description__language__put","parameters":[{"in":"path","name":"association_id","required":true,"schema":{"format":"uuid","title":"Association Id","type":"string"}},{"in":"path","name":"language","required":true,"schema":{"enum":["tr","en","ar","fa"],"title":"Language","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationDescriptionIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationDescriptionOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The page's short description in one language (600 characters at most)","tags":["association pages"]}},"/v1/associations":{"get":{"description":"``kind`` and ``sector`` may repeat (any of them); ``province`` is a city key\n(``istanbul``); ``parent`` a body's slug (the bodies that belong to it).","operationId":"list_associations_v1_associations_get","parameters":[{"in":"query","name":"kind","required":false,"schema":{"anyOf":[{"items":{"$ref":"#/components/schemas/AssociationKind"},"maxItems":12,"type":"array"},{"type":"null"}],"title":"Kind"}},{"in":"query","name":"sector","required":false,"schema":{"anyOf":[{"items":{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},"maxItems":14,"type":"array"},{"type":"null"}],"title":"Sector"}},{"in":"query","name":"province","required":false,"schema":{"anyOf":[{"pattern":"^[a-z]{2,32}$","type":"string"},{"type":"null"}],"title":"Province"}},{"in":"query","name":"parent","required":false,"schema":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}],"title":"Parent"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"maxLength":1024,"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"maximum":50,"minimum":1,"title":"Limit","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationList"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Chambers, exchanges and associations: most members on the platform first","tags":["associations"]}},"/v1/associations/summary":{"get":{"operationId":"association_summary_v1_associations_summary_get","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationSummary"}}},"description":"Successful Response"}},"summary":"How many bodies have a page, by kind, by sector group and in the menu's cities","tags":["associations"]}},"/v1/associations/{slug}":{"get":{"operationId":"get_association_v1_associations__slug__get","parameters":[{"in":"path","name":"slug","required":true,"schema":{"maxLength":128,"minLength":1,"title":"Slug","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationPage"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"A body's page: its parent, the bodies that belong to it and its members","tags":["associations"]}},"/v1/associations/{slug}/members":{"get":{"description":"Past the body page's first 20 (its ``members.next_cursor``): the never-indexed members\npage reads it. Companies with a page only, as their own cards show them.","operationId":"association_members_v1_associations__slug__members_get","parameters":[{"in":"path","name":"slug","required":true,"schema":{"maxLength":128,"minLength":1,"title":"Slug","type":"string"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"maxLength":1024,"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"maximum":50,"minimum":1,"title":"Limit","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationMemberPage"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"A body's members on the platform, a page at a time, the best documented first","tags":["associations"]}},"/v1/associations/{slug}/news":{"get":{"description":"Posted within the last year, newest first; empty for a body whose site gives none.","operationId":"body_news_v1_associations__slug__news_get","parameters":[{"in":"path","name":"slug","required":true,"schema":{"maxLength":128,"minLength":1,"title":"Slug","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":5,"maximum":20,"minimum":1,"title":"Limit","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationSiteNews"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"A body's newest news from its own site: headline, day and link","tags":["associations"]}},"/v1/associations/{slug}/official":{"get":{"description":"The same shape for every body with a page: empty until an organization that proved it\nspeaks for the body writes something; never who manages it.","operationId":"official_v1_associations__slug__official_get","parameters":[{"in":"path","name":"slug","required":true,"schema":{"maxLength":128,"minLength":1,"title":"Slug","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationOfficial"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"What the body itself says on its page: description, official channels, announcements","tags":["associations"]}},"/v1/associations/{slug}/opportunities":{"get":{"description":"The list behind a body's ``open_opportunities``: announced, open, public needs a\nTurkish company could supply, matched to its members at the floor or above.","operationId":"association_opportunities_v1_associations__slug__opportunities_get","parameters":[{"in":"path","name":"slug","required":true,"schema":{"maxLength":128,"minLength":1,"title":"Slug","type":"string"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"maxLength":1024,"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"maximum":50,"minimum":1,"title":"Limit","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssociationOpportunities"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"The open needs a body's members are matched to, newest first","tags":["associations"]}},"/v1/buy-requests":{"post":{"operationId":"post_request_v1_buy_requests_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyRequestIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NeedOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Post a purchase request from the buyers' page (it waits for a reviewer at first)","tags":["market"]}},"/v1/buy-requests/suppliers":{"get":{"description":"``product``: the buyer's words; ``code``: a tariff code they know (it wins);\n``country``: theirs (the home country when left out); ``case``: an anti-dumping page's\nslug or id, returned as ``remedy`` (none when it is not shown).","operationId":"suppliers_v1_buy_requests_suppliers_get","parameters":[{"in":"query","name":"product","required":false,"schema":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Product"}},{"in":"query","name":"code","required":false,"schema":{"anyOf":[{"pattern":"^[0-9][0-9. ]{3,20}$","type":"string"},{"type":"null"}],"title":"Code"}},{"in":"query","name":"country","required":false,"schema":{"anyOf":[{"pattern":"^[A-Z]{2}$","type":"string"},{"type":"null"}],"title":"Country"}},{"in":"query","name":"case","required":false,"schema":{"anyOf":[{"maxLength":160,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","type":"string"},{"type":"null"}],"title":"Case"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuySuppliers"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"503":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Search is temporarily unavailable"}},"summary":"How many Turkish suppliers match a product, before anything is asked","tags":["market"]}},"/v1/buyer-claims":{"get":{"operationId":"list_claims_v1_buyer_claims_get","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BuyerClaimOut"},"title":"Response List Claims V1 Buyer Claims Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The buyer-page claims of the member's organizations, newest first","tags":["buyer pages"]},"post":{"description":"A ``domain_email`` claim sends a code to the address given on the buyer's own domain;\na ``document`` claim waits for its letter (``…/evidence``) and a reviewer. The answer\nnever says whether another organization manages the page.","operationId":"open_claim_v1_buyer_claims_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewBuyerClaim"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyerClaimOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"summary":"Ask to manage a buyer's page for an organization","tags":["buyer pages"]}},"/v1/buyer-claims/proof/{slug}":{"get":{"operationId":"proof_v1_buyer_claims_proof__slug__get","parameters":[{"in":"path","name":"slug","required":true,"schema":{"maxLength":128,"minLength":1,"pattern":"^[a-z0-9-]+$","title":"Slug","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyerProof"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"How a buyer's page can be proven: a code to its own domain, or a letter","tags":["buyer pages"]}},"/v1/buyer-claims/{claim_id}":{"get":{"operationId":"get_claim_v1_buyer_claims__claim_id__get","parameters":[{"in":"path","name":"claim_id","required":true,"schema":{"format":"uuid","title":"Claim Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyerClaimOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"Get Claim","tags":["buyer pages"]}},"/v1/buyer-claims/{claim_id}/evidence":{"get":{"operationId":"list_evidence_v1_buyer_claims__claim_id__evidence_get","parameters":[{"in":"path","name":"claim_id","required":true,"schema":{"format":"uuid","title":"Claim Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BuyerEvidenceOut"},"title":"Response List Evidence V1 Buyer Claims  Claim Id  Evidence Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The claim's files (never their content)","tags":["buyer pages"]},"post":{"operationId":"add_evidence_v1_buyer_claims__claim_id__evidence_post","parameters":[{"in":"path","name":"claim_id","required":true,"schema":{"format":"uuid","title":"Claim Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyerEvidenceIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyerEvidenceUploadOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Add a letter (PDF, JPEG or PNG): declare it, then upload to the returned URL","tags":["buyer pages"]}},"/v1/buyer-claims/{claim_id}/evidence/{evidence_id}/complete":{"post":{"operationId":"complete_evidence_v1_buyer_claims__claim_id__evidence__evidence_id__complete_post","parameters":[{"in":"path","name":"claim_id","required":true,"schema":{"format":"uuid","title":"Claim Id","type":"string"}},{"in":"path","name":"evidence_id","required":true,"schema":{"format":"uuid","title":"Evidence Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyerEvidenceOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"After the upload: the file is checked in a sandbox and kept (or refused)","tags":["buyer pages"]}},"/v1/buyer-claims/{claim_id}/resend":{"post":{"operationId":"resend_code_v1_buyer_claims__claim_id__resend_post","parameters":[{"in":"path","name":"claim_id","required":true,"schema":{"format":"uuid","title":"Claim Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"202":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Send a new code (a minute after the last at the earliest, five per claim)","tags":["buyer pages"]}},"/v1/buyer-claims/{claim_id}/verify":{"post":{"operationId":"verify_claim_v1_buyer_claims__claim_id__verify_post","parameters":[{"in":"path","name":"claim_id","required":true,"schema":{"format":"uuid","title":"Claim Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Code"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyerClaimOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"}},"summary":"Enter the code: the organization manages the page, or a reviewer decides","tags":["buyer pages"]}},"/v1/buyer-claims/{claim_id}/withdraw":{"post":{"operationId":"withdraw_claim_v1_buyer_claims__claim_id__withdraw_post","parameters":[{"in":"path","name":"claim_id","required":true,"schema":{"format":"uuid","title":"Claim Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyerClaimOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Give a waiting claim up (its files are deleted)","tags":["buyer pages"]}},"/v1/buyer-pages":{"get":{"operationId":"managed_pages_v1_buyer_pages_get","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ManagedBuyer"},"title":"Response Managed Pages V1 Buyer Pages Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The buyer pages the member's organizations manage","tags":["buyer pages"]}},"/v1/buyer-pages/{buyer_id}":{"get":{"operationId":"managed_page_v1_buyer_pages__buyer_id__get","parameters":[{"in":"path","name":"buyer_id","required":true,"schema":{"format":"uuid","title":"Buyer Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ManagedBuyerPage"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"A managed buyer page as its organization sees it","tags":["buyer pages"]}},"/v1/buyer-pages/{buyer_id}/answers":{"post":{"operationId":"post_answer_v1_buyer_pages__buyer_id__answers_post","parameters":[{"in":"path","name":"buyer_id","required":true,"schema":{"format":"uuid","title":"Buyer Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyerAnswerIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyerAnswer"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Answer what the page shows: the page itself, one of its needs or records","tags":["buyer pages"]}},"/v1/buyer-pages/{buyer_id}/answers/{answer_id}":{"delete":{"operationId":"remove_answer_v1_buyer_pages__buyer_id__answers__answer_id__delete","parameters":[{"in":"path","name":"buyer_id","required":true,"schema":{"format":"uuid","title":"Buyer Id","type":"string"}},{"in":"path","name":"answer_id","required":true,"schema":{"format":"uuid","title":"Answer Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Take an answer down","tags":["buyer pages"]}},"/v1/buyer-pages/{buyer_id}/contacts":{"put":{"operationId":"set_contacts_v1_buyer_pages__buyer_id__contacts_put","parameters":[{"in":"path","name":"buyer_id","required":true,"schema":{"format":"uuid","title":"Buyer Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyerContactsIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/OfficialContact"},"title":"Response Set Contacts V1 Buyer Pages  Buyer Id  Contacts Put","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The page's official channels: role mailboxes on the buyer's own domain","tags":["buyer pages"]}},"/v1/buyer-pages/{buyer_id}/description/{language}":{"delete":{"operationId":"remove_description_v1_buyer_pages__buyer_id__description__language__delete","parameters":[{"in":"path","name":"buyer_id","required":true,"schema":{"format":"uuid","title":"Buyer Id","type":"string"}},{"in":"path","name":"language","required":true,"schema":{"enum":["tr","en","ar","fa"],"title":"Language","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Remove Description","tags":["buyer pages"]},"put":{"operationId":"set_description_v1_buyer_pages__buyer_id__description__language__put","parameters":[{"in":"path","name":"buyer_id","required":true,"schema":{"format":"uuid","title":"Buyer Id","type":"string"}},{"in":"path","name":"language","required":true,"schema":{"enum":["tr","en","ar","fa"],"title":"Language","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyerDescriptionIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OfficialText"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The page's short description in one language (600 characters at most)","tags":["buyer pages"]}},"/v1/buyers":{"get":{"description":"``role`` (wave 7): ``winner``, ``exhibitor`` or ``developer``, the organisations the\nradar's records name in that role (``authority``: the list without one).","operationId":"list_buyers_v1_buyers_get","parameters":[{"in":"query","name":"country","required":false,"schema":{"anyOf":[{"pattern":"^[A-Z]{2}$","type":"string"},{"type":"null"}],"title":"Country"}},{"in":"query","name":"sector","required":false,"schema":{"anyOf":[{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},{"type":"null"}],"title":"Sector"}},{"in":"query","name":"scope","required":false,"schema":{"default":"all","enum":["home","abroad","all"],"title":"Scope","type":"string"}},{"in":"query","name":"q","required":false,"schema":{"anyOf":[{"maxLength":100,"minLength":2,"type":"string"},{"type":"null"}],"title":"Q"}},{"in":"query","name":"role","required":false,"schema":{"anyOf":[{"enum":["authority","winner","exhibitor","developer"],"type":"string"},{"type":"null"}],"title":"Role"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"maxLength":256,"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"maximum":50,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyerList"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Buyers public needs and records name: most open needs first (a role's list: the newest record first)","tags":["buyers"]}},"/v1/buyers/summary":{"get":{"operationId":"buyer_totals_v1_buyers_summary_get","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyerTotals"}}},"description":"Successful Response"}},"summary":"How many buyers have an open need a Turkish company could supply, by scope; and buyers by role","tags":["buyers"]}},"/v1/buyers/{slug}":{"get":{"description":"``lang``: the records' titles in that language where a translation is kept.","operationId":"get_buyer_v1_buyers__slug__get","parameters":[{"in":"path","name":"slug","required":true,"schema":{"maxLength":128,"minLength":1,"title":"Slug","type":"string"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"maxLength":256,"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"maximum":50,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"lang","required":false,"schema":{"anyOf":[{"enum":["tr","en","ar","fa"],"type":"string"},{"type":"null"}],"title":"Lang"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Buyer"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"A buyer's page: its open and predicted needs, counts by sector, the radar's records naming it, sources, matched suppliers and what its organization states","tags":["buyers"]}},"/v1/buyers/{slug}/archive":{"get":{"operationId":"buyer_archive_v1_buyers__slug__archive_get","parameters":[{"in":"path","name":"slug","required":true,"schema":{"maxLength":128,"minLength":1,"title":"Slug","type":"string"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"maxLength":256,"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"maximum":50,"minimum":1,"title":"Limit","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyerArchive"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"A buyer's needs that closed or expired, the newest first","tags":["buyers"]}},"/v1/certifications":{"get":{"description":"Persian readers get each name in Persian where the registry has one, else in\nEnglish (as ``/v1/requirements`` gives curated texts).","operationId":"certifications_v1_certifications_get","parameters":[{"in":"query","name":"locale","required":false,"schema":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Locale","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CertificationOut"},"title":"Response Certifications V1 Certifications Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The certifications Birlesa recognizes, and where they are mandatory","tags":["requirements"]}},"/v1/companies":{"get":{"operationId":"list_companies_v1_companies_get","parameters":[{"in":"query","name":"city","required":false,"schema":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"title":"City"}},{"in":"query","name":"nace","required":false,"schema":{"anyOf":[{"pattern":"^[0-9]{2}(\\.[0-9]{1,2}){0,2}$","type":"string"},{"type":"null"}],"title":"Nace"}},{"in":"query","name":"group","required":false,"schema":{"anyOf":[{"pattern":"^[a-z][a-z_]{1,31}$","type":"string"},{"type":"null"}],"title":"Group"}},{"in":"query","name":"sector","required":false,"schema":{"anyOf":[{"pattern":"^[a-z][a-z_]{1,31}$","type":"string"},{"type":"null"}],"title":"Sector"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"maxLength":256,"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"maximum":50,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"best_first","required":false,"schema":{"default":false,"title":"Best First","type":"boolean"}},{"description":"Only manufacturers and factories: `any`, proven or declared (an activity in manufacturing, NACE divisions 10 to 33, in official records, or the owner's statement that it produces), or `proven` (a capacity report or an industrial registry certificate a reviewer verified). `1` and `true` mean `any`.","in":"query","name":"maker","required":false,"schema":{"anyOf":[{"type":"boolean"},{"enum":["any","proven"],"type":"string"}],"default":false,"description":"Only manufacturers and factories: `any`, proven or declared (an activity in manufacturing, NACE divisions 10 to 33, in official records, or the owner's statement that it produces), or `proven` (a capacity report or an industrial registry certificate a reviewer verified). `1` and `true` mean `any`.","title":"Maker"}},{"description":"Only verified suppliers, the owners' first: those whose owners proved with an official proof that they manage their pages (`verified_by` `owner`), then those whose identity matched an official registry's record: the trade registry, MERSİS, a tax number or an LEI, from an official register (`registry`). Who a company is, never how it works: nobody audited it.","in":"query","name":"verified","required":false,"schema":{"default":false,"description":"Only verified suppliers, the owners' first: those whose owners proved with an official proof that they manage their pages (`verified_by` `owner`), then those whose identity matched an official registry's record: the trade registry, MERSİS, a tax number or an LEI, from an official register (`registry`). Who a company is, never how it works: nobody audited it.","title":"Verified","type":"boolean"}},{"description":"Only those with a dated public sign of business in the 12 months before the day's snapshot: a public contract won, a rank in TİM's top 1,000 exporters of a year that ended within them, an exporters' association's list of the firms that exported in the last 12 months, or their own activity on Birlesa. Never which sign, or when.","in":"query","name":"active","required":false,"schema":{"default":false,"description":"Only those with a dated public sign of business in the 12 months before the day's snapshot: a public contract won, a rank in TİM's top 1,000 exporters of a year that ended within them, an exporters' association's list of the firms that exported in the last 12 months, or their own activity on Birlesa. Never which sign, or when.","title":"Active","type":"boolean"}},{"description":"Only those that joined Birlesa in the 30 days before the day's snapshot, the latest day first","in":"query","name":"new","required":false,"schema":{"default":false,"description":"Only those that joined Birlesa in the 30 days before the day's snapshot, the latest day first","title":"New","type":"boolean"}},{"description":"`top`: the real businesses only, by trust score, best first","in":"query","name":"sort","required":false,"schema":{"anyOf":[{"const":"top","type":"string"},{"type":"null"}],"description":"`top`: the real businesses only, by trust score, best first","title":"Sort"}},{"description":"An HS or GTİP code: companies stating a product under its heading (4 digits) or its HS subheading (6 digits or more, by the first six).","in":"query","name":"hs","required":false,"schema":{"anyOf":[{"pattern":"^[0-9]{4}(?:[0-9]{2}){1,4}$|^[0-9]{4}$","type":"string"},{"type":"null"}],"description":"An HS or GTİP code: companies stating a product under its heading (4 digits) or its HS subheading (6 digits or more, by the first six).","title":"Hs"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyList"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Indexable companies, by province and activity","tags":["public"]}},"/v1/companies/lists":{"get":{"operationId":"supplier_lists_v1_companies_lists_get","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierLists"}}},"description":"Successful Response"}},"summary":"How many companies each supplier list holds (the Suppliers menu)","tags":["public"]}},"/v1/companies/top-exporters":{"get":{"operationId":"top_exporters_v1_companies_top_exporters_get","parameters":[{"description":"The latest year when not given","in":"query","name":"year","required":false,"schema":{"anyOf":[{"maximum":2100,"minimum":2000,"type":"integer"},{"type":"null"}],"description":"The latest year when not given","title":"Year"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopExporters"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"No list of that year"}},"summary":"Türkiye's top 1,000 exporters of a year, as TİM ranks them, with TİM's credit","tags":["public"]}},"/v1/companies/{company_id}/about/translations/{language}":{"put":{"description":"One of the page's languages (``tr``, ``en``, ``ar``, ``fa``, ``ru``, ``de``, ``uz``,\n``es``, ``fr``), not the text's own: your translation is shown in it, and no machine\ntranslation replaces it while the text stays the same. The page's owners and admins.","operationId":"correct_about_v1_companies__company_id__about_translations__language__put","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"path","name":"language","required":true,"schema":{"title":"Language","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AboutTranslationIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OwnerAbout"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Write the page's about text in one of its other languages (kept over the machine's)","tags":["company pages"]}},"/v1/companies/{company_id}/assistant":{"get":{"operationId":"assistant_v1_companies__company_id__assistant_get","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Assistant","tags":["selling"]},"put":{"operationId":"set_assistant_v1_companies__company_id__assistant_put","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Turn the company's selling assistant on or off (it acts with your rights)","tags":["selling"]}},"/v1/companies/{company_id}/assistant/activity":{"get":{"description":"Computed from the platform's own rows, no model: drafts and questions waiting for a\nmanager, answers it sent on its own, translations, free samples, requests set aside,\nHS codes suggested, opportunities found. Codes and counts only; a buyer named only\nwhere its need shows it.","operationId":"assistant_activity_v1_companies__company_id__assistant_activity_get","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"maxLength":300,"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantActivity"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"What the selling assistant did for the company (its organization's members)","tags":["selling"]}},"/v1/companies/{company_id}/assistant/drafts":{"post":{"description":"For the best-fitting buyers' requests the company has not answered: a reply in the\nbuyer's language waiting in your approvals, and a quote draft from your catalogue with\nthe prices left for you. A request already waiting is returned as it is. The company's\nmanagers only.","operationId":"assistant_drafts_v1_companies__company_id__assistant_drafts_post","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AssistantDraftsIn"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantDrafts"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Have the assistant draft replies to your best unanswered opportunities (nothing is sent)","tags":["selling"]}},"/v1/companies/{company_id}/assistant/rules":{"put":{"description":"Allowed countries, reply languages, tone, answering general questions on its own,\nfree samples, the negotiator. Every price and commitment waits for a manager whatever\nthese say (D2); the assistant keeps acting for whoever turned it on.","operationId":"set_assistant_rules_v1_companies__company_id__assistant_rules_put","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantRulesIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssistantOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Set whom the selling assistant answers, in which languages and tone, and more","tags":["selling"]}},"/v1/companies/{company_id}/certificates":{"get":{"operationId":"list_certificates_v1_companies__company_id__certificates_get","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificateList"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The page's certificates","tags":["company pages"]},"post":{"operationId":"add_certificate_v1_companies__company_id__certificates_post","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificateIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificateUploadOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Add a certificate (PDF, JPEG or PNG): declare it, then upload to the returned URL","tags":["company pages"]}},"/v1/companies/{company_id}/certificates/{certificate_id}":{"delete":{"operationId":"remove_certificate_v1_companies__company_id__certificates__certificate_id__delete","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"path","name":"certificate_id","required":true,"schema":{"format":"uuid","title":"Certificate Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Take a certificate off the page (its file is deleted)","tags":["company pages"]}},"/v1/companies/{company_id}/certificates/{certificate_id}/complete":{"post":{"operationId":"complete_certificate_v1_companies__company_id__certificates__certificate_id__complete_post","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"path","name":"certificate_id","required":true,"schema":{"format":"uuid","title":"Certificate Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CertificateOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"After the upload: the file is checked in a sandbox, then a reviewer decides","tags":["company pages"]}},"/v1/companies/{company_id}/customer-invites":{"get":{"operationId":"customer_invites_v1_companies__company_id__customer_invites_get","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/InviteOut"},"title":"Response Customer Invites V1 Companies  Company Id  Customer Invites Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Customer Invites","tags":["selling"]},"post":{"operationId":"invite_customer_v1_companies__company_id__customer_invites_post","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InviteOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Invite a customer you already have: their deals carry no commission","tags":["selling"]}},"/v1/companies/{company_id}/events":{"get":{"operationId":"owned_events_v1_companies__company_id__events_get","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/OwnedEvent"},"title":"Response Owned Events V1 Companies  Company Id  Events Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The official events on a page you manage, with your replies","tags":["companies"]}},"/v1/companies/{company_id}/events/{event_id}/reply":{"post":{"description":"403 for a page you do not manage, 404 for an event not on it, 409 ``already_replied``\nor ``no_attempts_left``, 400 ``personal_data``.","operationId":"reply_v1_companies__company_id__events__event_id__reply_post","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"path","name":"event_id","required":true,"schema":{"format":"uuid","title":"Event Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventReplyIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventReplyOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Answer an event on a page you manage (moderated before it is shown)","tags":["companies"]}},"/v1/companies/{company_id}/facts":{"get":{"operationId":"get_facts_v1_companies__company_id__facts_get","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FactsOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The page's official facts with their sources, to confirm or correct","tags":["onboarding"]}},"/v1/companies/{company_id}/facts/{fact}/confirm":{"post":{"operationId":"confirm_fact_v1_companies__company_id__facts__fact__confirm_post","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"path","name":"fact","required":true,"schema":{"$ref":"#/components/schemas/FactKey"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FactsOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Confirm a fact (the phone and the website become the owner's own)","tags":["onboarding"]}},"/v1/companies/{company_id}/facts/{fact}/correct":{"post":{"operationId":"correct_fact_v1_companies__company_id__facts__fact__correct_post","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"path","name":"fact","required":true,"schema":{"$ref":"#/components/schemas/FactKey"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FactValueIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FactsOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Correct a fact: the owner's own phone or website, or a report a reviewer decides for the title, address and activity","tags":["onboarding"]}},"/v1/companies/{company_id}/federation-consent":{"delete":{"description":"Peer regions are told to delete what they have of the company.","operationId":"revoke_consent_v1_companies__company_id__federation_consent_delete","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FederationConsentOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Revoke Consent","tags":["federation"]},"get":{"operationId":"consent_status_v1_companies__company_id__federation_consent_get","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FederationConsentOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Consent Status","tags":["federation"]},"put":{"operationId":"grant_consent_v1_companies__company_id__federation_consent_put","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FederationConsentOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Show the company's public profile subset to buyers in peer regions","tags":["federation"]}},"/v1/companies/{company_id}/federation-interests":{"get":{"operationId":"interests_v1_companies__company_id__federation_interests_get","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/FederationInterestOut"},"title":"Response Interests V1 Companies  Company Id  Federation Interests Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Interests","tags":["federation"]}},"/v1/companies/{company_id}/growth":{"get":{"operationId":"growth_path_v1_companies__company_id__growth_get","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrowthPath"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The page's growth path: levels and steps from its data, and its badges","tags":["reputation"]}},"/v1/companies/{company_id}/hs-suggestions":{"get":{"operationId":"hs_suggestions_v1_companies__company_id__hs_suggestions_get","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"query","name":"name","required":true,"schema":{"maxLength":120,"minLength":2,"title":"Name","type":"string"}},{"in":"query","name":"spec","required":false,"schema":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Spec"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/HsSuggestion"},"title":"Response Hs Suggestions V1 Companies  Company Id  Hs Suggestions Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"HS codes the taxonomy suggests for a product name (deterministic, no model)","tags":["company pages"]}},"/v1/companies/{company_id}/imports":{"get":{"operationId":"list_imports_v1_companies__company_id__imports_get","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Imports"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Import sources, today's allowance, the latest imports","tags":["company pages"]},"post":{"operationId":"start_import_v1_companies__company_id__imports_post","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportIn"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportStarted"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Import products: from the website (starts at once) or a file or photo (upload first)","tags":["company pages"]}},"/v1/companies/{company_id}/imports/{import_id}":{"get":{"operationId":"get_import_v1_companies__company_id__imports__import_id__get","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"path","name":"import_id","required":true,"schema":{"format":"uuid","title":"Import Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"An import and its drafts","tags":["company pages"]}},"/v1/companies/{company_id}/imports/{import_id}/approve":{"post":{"operationId":"approve_drafts_v1_companies__company_id__imports__import_id__approve_post","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"path","name":"import_id","required":true,"schema":{"format":"uuid","title":"Import Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DraftApproval"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Approved"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Approve drafts: each becomes a catalogue product","tags":["company pages"]}},"/v1/companies/{company_id}/imports/{import_id}/complete":{"post":{"operationId":"complete_import_v1_companies__company_id__imports__import_id__complete_post","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"path","name":"import_id","required":true,"schema":{"format":"uuid","title":"Import Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"After the upload: the assistant reads the file or photo","tags":["company pages"]}},"/v1/companies/{company_id}/imports/{import_id}/dismiss":{"post":{"operationId":"dismiss_drafts_v1_companies__company_id__imports__import_id__dismiss_post","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"path","name":"import_id","required":true,"schema":{"format":"uuid","title":"Import Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DraftIds"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Dismissed"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Dismiss drafts","tags":["company pages"]}},"/v1/companies/{company_id}/media":{"post":{"operationId":"start_media_v1_companies__company_id__media_post","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaUploadOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Add a logo, cover or photo: declare it, then upload to the returned URL","tags":["company pages"]}},"/v1/companies/{company_id}/media/{media_id}":{"delete":{"operationId":"remove_media_v1_companies__company_id__media__media_id__delete","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"path","name":"media_id","required":true,"schema":{"format":"uuid","title":"Media Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Take an image off the page (its files are deleted)","tags":["company pages"]},"patch":{"operationId":"describe_media_v1_companies__company_id__media__media_id__patch","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"path","name":"media_id","required":true,"schema":{"format":"uuid","title":"Media Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaPatch"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"A photo's caption and place","tags":["company pages"]}},"/v1/companies/{company_id}/media/{media_id}/complete":{"post":{"operationId":"complete_media_v1_companies__company_id__media__media_id__complete_post","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"path","name":"media_id","required":true,"schema":{"format":"uuid","title":"Media Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"After the upload: the image is checked, redrawn and shown (or rejected)","tags":["company pages"]}},"/v1/companies/{company_id}/milestones":{"get":{"operationId":"list_milestones_v1_companies__company_id__milestones_get","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PageMilestone"},"title":"Response List Milestones V1 Companies  Company Id  Milestones Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The milestones the page's owner added to its timeline","tags":["reputation"]},"put":{"operationId":"put_milestones_v1_companies__company_id__milestones_put","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageMilestonesIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PageMilestone"},"title":"Response Put Milestones V1 Companies  Company Id  Milestones Put","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"State the page's milestones (the whole set: at most ten)","tags":["reputation"]}},"/v1/companies/{company_id}/owner/{field}":{"put":{"operationId":"set_owner_values_v1_companies__company_id__owner__field__put","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"path","name":"field","required":true,"schema":{"pattern":"^[a-z_]{2,32}$","title":"Field","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OwnerValues"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OwnerValuesOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"State the owner's values of one field (they outrank every source)","tags":["members"]}},"/v1/companies/{company_id}/page":{"get":{"operationId":"owner_page_v1_companies__company_id__page_get","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OwnerPage"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The company page as its owner edits it","tags":["company pages"]},"patch":{"operationId":"edit_page_v1_companies__company_id__page_patch","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageFactsIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OwnerPage"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"State what the company page says (only the fields given change)","tags":["company pages"]}},"/v1/companies/{company_id}/products":{"get":{"operationId":"list_products_v1_companies__company_id__products_get","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Catalogue"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The page's product catalogue","tags":["company pages"]},"post":{"operationId":"add_product_v1_companies__company_id__products_post","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogueProduct"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Add a product to the catalogue","tags":["company pages"]}},"/v1/companies/{company_id}/products/hs-codes":{"post":{"operationId":"confirm_codes_v1_companies__company_id__products_hs_codes_post","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HsCodesIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CatalogueProduct"},"title":"Response Confirm Codes V1 Companies  Company Id  Products Hs Codes Post","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Confirm or correct the HS codes and set the roles of several products at once","tags":["company pages"]}},"/v1/companies/{company_id}/products/{product_id}":{"delete":{"operationId":"remove_product_v1_companies__company_id__products__product_id__delete","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"path","name":"product_id","required":true,"schema":{"format":"uuid","title":"Product Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Take a product off the catalogue","tags":["company pages"]},"patch":{"operationId":"change_product_v1_companies__company_id__products__product_id__patch","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"path","name":"product_id","required":true,"schema":{"format":"uuid","title":"Product Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductPatch"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CatalogueProduct"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Change a product (only the fields given)","tags":["company pages"]}},"/v1/companies/{company_id}/public-assistant":{"get":{"operationId":"public_assistant_v1_companies__company_id__public_assistant_get","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicAssistantOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Whether visitors of the page may talk to its sales assistant (owners, admins)","tags":["storefront"]},"put":{"operationId":"switch_public_assistant_v1_companies__company_id__public_assistant_put","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicAssistantIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicAssistantOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Switch the page's sales assistant for visitors on or off (owners, admins)","tags":["storefront"]}},"/v1/companies/{company_id}/rules":{"get":{"operationId":"list_rules_v1_companies__company_id__rules_get","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/RuleOut"},"title":"Response List Rules V1 Companies  Company Id  Rules Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"List Rules","tags":["selling"]},"post":{"operationId":"add_rule_v1_companies__company_id__rules_post","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Add Rule","tags":["selling"]}},"/v1/companies/{company_id}/rules/{rule_id}":{"delete":{"operationId":"remove_rule_v1_companies__company_id__rules__rule_id__delete","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"path","name":"rule_id","required":true,"schema":{"format":"uuid","title":"Rule Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Remove Rule","tags":["selling"]},"put":{"operationId":"change_rule_v1_companies__company_id__rules__rule_id__put","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"path","name":"rule_id","required":true,"schema":{"format":"uuid","title":"Rule Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Change Rule","tags":["selling"]}},"/v1/companies/{company_id}/sales-contacts":{"get":{"operationId":"sales_contacts_v1_companies__company_id__sales_contacts_get","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SalesContactOut"},"title":"Response Sales Contacts V1 Companies  Company Id  Sales Contacts Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The members shown on the page as its sales team","tags":["company pages"]}},"/v1/companies/{company_id}/sales-contacts/me":{"put":{"operationId":"show_me_v1_companies__company_id__sales_contacts_me_put","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SalesContactIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SalesContactOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Show me on the page as a sales contact (my choice; withdraw any time)","tags":["company pages"]}},"/v1/companies/{company_id}/sales-contacts/{account_id}":{"delete":{"operationId":"withdraw_contact_v1_companies__company_id__sales_contacts__account_id__delete","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"path","name":"account_id","required":true,"schema":{"format":"uuid","title":"Account Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Withdraw (your own card) or take a member's card off the page (managers)","tags":["company pages"]}},"/v1/companies/{company_id}/services":{"get":{"operationId":"company_services_v1_companies__company_id__services_get","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyServicesOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Company Services","tags":["supply"]},"put":{"operationId":"set_company_services_v1_companies__company_id__services_put","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyServicesIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyServicesOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"List the company in the providers' directory for these services","tags":["supply"]}},"/v1/companies/{company_id}/share-consents":{"get":{"operationId":"consents_v1_companies__company_id__share_consents_get","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ShareConsentOut"},"title":"Response Consents V1 Companies  Company Id  Share Consents Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Consents","tags":["money"]}},"/v1/companies/{company_id}/share-consents/{partner_org_id}":{"delete":{"operationId":"revoke_v1_companies__company_id__share_consents__partner_org_id__delete","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"path","name":"partner_org_id","required":true,"schema":{"format":"uuid","title":"Partner Org Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Revoke","tags":["money"]},"put":{"operationId":"grant_v1_companies__company_id__share_consents__partner_org_id__put","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"path","name":"partner_org_id","required":true,"schema":{"format":"uuid","title":"Partner Org Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShareConsentOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Let a partner (a bank, a financier) read the company's risk signals","tags":["money"]}},"/v1/companies/{company_id}/whatsapp":{"delete":{"operationId":"remove_whatsapp_v1_companies__company_id__whatsapp_delete","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Take the WhatsApp number off the page","tags":["company pages"]},"put":{"operationId":"start_whatsapp_v1_companies__company_id__whatsapp_put","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WhatsAppIn"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyWhatsAppOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Give the company's WhatsApp Business number: a code goes to it","tags":["company pages"]}},"/v1/companies/{company_id}/whatsapp/verify":{"post":{"operationId":"verify_whatsapp_v1_companies__company_id__whatsapp_verify_post","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WhatsAppCodeIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyWhatsAppOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The code that came on WhatsApp: the number goes on the page","tags":["company pages"]}},"/v1/companies/{key}":{"get":{"operationId":"get_company_v1_companies__key__get","parameters":[{"in":"path","name":"key","required":true,"schema":{"title":"Key","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Company"}}},"description":"Successful Response"},"301":{"description":"Merged into another company"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"410":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Taken down on request (``taken_down``)"}},"summary":"A company page by slug or id","tags":["public"]}},"/v1/companies/{key}/assistant/chats":{"post":{"description":"404 ``no_assistant`` for a page without one; 401 ``sign_in_to_continue`` past an\nanonymous visitor's chats of the day; 503 ``assistant_unavailable`` while the\nplatform has it off. The chat's country is set here, for good.","operationId":"start_chat_v1_companies__key__assistant_chats_post","parameters":[{"in":"path","name":"key","required":true,"schema":{"title":"Key","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorefrontChatIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorefrontChatStarted"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"},"503":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Service Unavailable"}},"summary":"Begin a chat with the page's sales assistant: its greeting for this visitor","tags":["storefront"]}},"/v1/companies/{key}/assistant/chats/{chat_id}/estimates/{estimate_id}/send":{"post":{"description":"Signed-in members only, confirmed: the company learns which organization asks.\nSending an estimate again answers the same quote request; the organization's later\nestimates to the company go into the conversation the first one opened. 429\n``limit_reached`` past the member's sends of the day.","operationId":"send_estimate_v1_companies__key__assistant_chats__chat_id__estimates__estimate_id__send_post","parameters":[{"in":"path","name":"key","required":true,"schema":{"title":"Key","type":"string"}},{"in":"path","name":"chat_id","required":true,"schema":{"format":"uuid","title":"Chat Id","type":"string"}},{"in":"path","name":"estimate_id","required":true,"schema":{"format":"uuid","title":"Estimate Id","type":"string"}},{"in":"header","name":"X-Birlesa-Chat","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Birlesa-Chat"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorefrontSendIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorefrontSent"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"summary":"Send an estimate to the company for its approval: a quote request (members)","tags":["storefront"]}},"/v1/companies/{key}/assistant/chats/{chat_id}/messages":{"post":{"description":"Intents are computed from the page's public facts, never by a model. A question in\nthe visitor's words takes a model answer of the day (401 ``sign_in_to_continue`` past\nan anonymous visitor's, 429 ``limit_reached`` past a member's, 429 ``assistant_busy``\npast the page's or the platform's) and comes back as checked plain text, or as a\n``not_in_data`` notice.","operationId":"write_v1_companies__key__assistant_chats__chat_id__messages_post","parameters":[{"in":"path","name":"key","required":true,"schema":{"title":"Key","type":"string"}},{"in":"path","name":"chat_id","required":true,"schema":{"format":"uuid","title":"Chat Id","type":"string"}},{"in":"header","name":"X-Birlesa-Chat","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Birlesa-Chat"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorefrontMessageIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorefrontReply"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"},"503":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Service Unavailable"}},"summary":"Ask the assistant: in the visitor's words, or an intent (estimate, trust, compare, fit, feed)","tags":["storefront"]}},"/v1/companies/{key}/assistant/chats/{chat_id}/photos":{"post":{"description":"The body is the photo itself, sent as its type (``image/jpeg``, ``image/png`` or\n``image/webp``, at most 5 MB): never stored, never logged, its pixels alone redrawn\nfor the model. Signed-in members only (401 ``sign_in_to_continue``). 400\n``invalid_media_type`` (another type), 413 ``payload_too_large``, 400 ``invalid_photo``\n(not a still image of its type, or too many pixels: ``errors[0].code`` says which);\n429 ``limit_reached`` past the member's photos of the day, ``assistant_busy`` past the\npage's or the platform's, ``rate_limited``; 503 ``assistant_unavailable``. A ``photo``\ncard, or a ``no_photos`` notice (the page shows no product photo: no model ran) or a\n``not_compared`` one (the model could not compare it: it counts as one of the\nday's).","operationId":"send_photo_v1_companies__key__assistant_chats__chat_id__photos_post","parameters":[{"in":"path","name":"key","required":true,"schema":{"title":"Key","type":"string"}},{"in":"path","name":"chat_id","required":true,"schema":{"format":"uuid","title":"Chat Id","type":"string"}},{"in":"header","name":"X-Birlesa-Chat","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Birlesa-Chat"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"image/jpeg":{"schema":{"format":"binary","type":"string"}},"image/png":{"schema":{"format":"binary","type":"string"}},"image/webp":{"schema":{"format":"binary","type":"string"}}},"description":"The photo itself: a JPEG, PNG or WebP image of at most 5 MB.","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StorefrontReply"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"401":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Unauthorized"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Content Too Large"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"},"503":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Service Unavailable"}},"summary":"Ask the assistant whether the company makes what a photo shows (members)","tags":["storefront"]}},"/v1/companies/{key}/google-rating":{"get":{"operationId":"google_rating_v1_companies__key__google_rating_get","parameters":[{"in":"path","name":"key","required":true,"schema":{"title":"Key","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoogleRating"}}},"description":"Successful Response"},"301":{"description":"Merged into another company"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"The company's Google rating, live (``available: false`` when there is none)","tags":["public"]}},"/v1/companies/{key}/opportunities":{"get":{"operationId":"company_opportunities_v1_companies__key__opportunities_get","parameters":[{"in":"path","name":"key","required":true,"schema":{"title":"Key","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"default":"all","enum":["home","abroad","all"],"title":"Scope","type":"string"}},{"in":"query","name":"country","required":false,"schema":{"anyOf":[{"pattern":"^[A-Z]{2}$","type":"string"},{"type":"null"}],"title":"Country"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"maxLength":256,"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"maximum":50,"minimum":1,"title":"Limit","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyOpportunities"}}},"description":"Successful Response"},"301":{"description":"Merged into another company"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"Open public needs matched to the company, best fit first: its page's boxes, buyers in the region (home) or abroad, with a count for each buyer's country","tags":["public"]}},"/v1/companies/{key}/opportunities/archive":{"get":{"operationId":"company_archive_v1_companies__key__opportunities_archive_get","parameters":[{"in":"path","name":"key","required":true,"schema":{"title":"Key","type":"string"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"maxLength":256,"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"maximum":50,"minimum":1,"title":"Limit","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyArchive"}}},"description":"Successful Response"},"301":{"description":"Merged into another company"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"The company's past opportunities: public needs matched to it that closed or expired, the latest to end first, each with how it ended","tags":["public"]}},"/v1/companies/{key}/reviews":{"get":{"operationId":"company_reviews_v1_companies__key__reviews_get","parameters":[{"in":"path","name":"key","required":true,"schema":{"title":"Key","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"maximum":50,"minimum":1,"title":"Limit","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Reviews"}}},"description":"Successful Response"},"301":{"description":"Merged into another company"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"Moderated reviews of a company by buyers that made a deal with it here","tags":["public"]}},"/v1/companies/{key}/similar":{"get":{"operationId":"similar_companies_v1_companies__key__similar_get","parameters":[{"in":"path","name":"key","required":true,"schema":{"title":"Key","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SimilarCompany"},"title":"Response Similar Companies V1 Companies  Key  Similar Get","type":"array"}}},"description":"Successful Response"},"301":{"description":"Merged into another company"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"Up to six public companies like this one, nearest provinces first","tags":["reputation"]}},"/v1/companies/{key}/standing":{"get":{"operationId":"standing_v1_companies__key__standing_get","parameters":[{"in":"path","name":"key","required":true,"schema":{"title":"Key","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Standing"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Whether a company's page was taken down on request (the web answers 410 then)","tags":["public"]}},"/v1/company-submissions":{"get":{"operationId":"my_submissions_v1_company_submissions_get","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SubmissionOut"},"title":"Response My Submissions V1 Company Submissions Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The businesses your organizations added, and what became of them","tags":["onboarding"]},"post":{"operationId":"submit_v1_company_submissions_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmissionIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmissionOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"It has a page already (claim it), or waits for review"}},"summary":"Add a business that has no page yet (a reviewer checks it, usually within a day)","tags":["onboarding"]}},"/v1/compliance-cases/{case_id}":{"get":{"operationId":"get_case_v1_compliance_cases__case_id__get","parameters":[{"in":"path","name":"case_id","required":true,"schema":{"format":"uuid","title":"Case Id","type":"string"}},{"in":"query","name":"language","required":false,"schema":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplianceCaseOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"A readiness case: its assessment, checklist, documents and drafts","tags":["customs"]}},"/v1/compliance-cases/{case_id}/answers/{item_key}":{"put":{"operationId":"answer_v1_compliance_cases__case_id__answers__item_key__put","parameters":[{"in":"path","name":"case_id","required":true,"schema":{"format":"uuid","title":"Case Id","type":"string"}},{"in":"path","name":"item_key","required":true,"schema":{"maxLength":64,"pattern":"^[a-z0-9]+(?:[._][a-z0-9]+)*$","title":"Item Key","type":"string"}},{"in":"query","name":"language","required":false,"schema":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplianceAnswerIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplianceCaseOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"}},"summary":"Answer a checklist item: var, eksik or bilmiyorum","tags":["customs"]}},"/v1/compliance-cases/{case_id}/certificate":{"put":{"description":"Dila reminds 30 and 7 days before the last valid day. Its file is a document of item\n``pcoc`` (``/documents``). 409 ``certificate_in_review`` while staff verify it.","operationId":"record_certificate_v1_compliance_cases__case_id__certificate_put","parameters":[{"in":"path","name":"case_id","required":true,"schema":{"format":"uuid","title":"Case Id","type":"string"}},{"in":"query","name":"language","required":false,"schema":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplianceCertificateIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplianceCaseOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"}},"summary":"Record the product certificate (PCoC): its body, number, issue and last valid day","tags":["customs"]}},"/v1/compliance-cases/{case_id}/certificate/submit":{"post":{"description":"Verified, the product holds \"Suudi Arabistan'a hazır\" until the certificate's last\nday. 409 ``certificate_incomplete``, ``already_in_review``, ``already_verified``.","operationId":"submit_certificate_v1_compliance_cases__case_id__certificate_submit_post","parameters":[{"in":"path","name":"case_id","required":true,"schema":{"format":"uuid","title":"Case Id","type":"string"}},{"in":"query","name":"language","required":false,"schema":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplianceCaseOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"}},"summary":"Send the product certificate for a staff member's verification (the badge)","tags":["customs"]}},"/v1/compliance-cases/{case_id}/close":{"post":{"operationId":"close_case_v1_compliance_cases__case_id__close_post","parameters":[{"in":"path","name":"case_id","required":true,"schema":{"format":"uuid","title":"Case Id","type":"string"}},{"in":"query","name":"language","required":false,"schema":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplianceCaseOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"}},"summary":"Close a readiness case (a new one may be opened for the product)","tags":["customs"]}},"/v1/compliance-cases/{case_id}/documents":{"post":{"operationId":"add_document_v1_compliance_cases__case_id__documents_post","parameters":[{"in":"path","name":"case_id","required":true,"schema":{"format":"uuid","title":"Case Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplianceDocumentIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplianceUploadOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"}},"summary":"Give a checklist item a document (PDF, JPEG or PNG): declare it, then upload to the returned URL","tags":["customs"]}},"/v1/compliance-cases/{case_id}/documents/{document_id}":{"delete":{"operationId":"remove_document_v1_compliance_cases__case_id__documents__document_id__delete","parameters":[{"in":"path","name":"case_id","required":true,"schema":{"format":"uuid","title":"Case Id","type":"string"}},{"in":"path","name":"document_id","required":true,"schema":{"format":"uuid","title":"Document Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"}},"summary":"Take a document off (its file is deleted)","tags":["customs"]}},"/v1/compliance-cases/{case_id}/documents/{document_id}/complete":{"post":{"description":"409 ``not_uploaded`` (the file has not arrived), ``being_checked``,\n``already_complete``. A refused file comes back ``rejected`` with its ``verdict``.","operationId":"complete_document_v1_compliance_cases__case_id__documents__document_id__complete_post","parameters":[{"in":"path","name":"case_id","required":true,"schema":{"format":"uuid","title":"Case Id","type":"string"}},{"in":"path","name":"document_id","required":true,"schema":{"format":"uuid","title":"Document Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplianceDocumentOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"summary":"After the upload: the file is checked in a sandbox and kept only as rewritten","tags":["customs"]}},"/v1/compliance-cases/{case_id}/documents/{document_id}/file":{"get":{"operationId":"document_file_v1_compliance_cases__case_id__documents__document_id__file_get","parameters":[{"in":"path","name":"case_id","required":true,"schema":{"format":"uuid","title":"Case Id","type":"string"}},{"in":"path","name":"document_id","required":true,"schema":{"format":"uuid","title":"Document Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplianceLinkOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"A short-lived link to a kept document (downloaded, never shown inline)","tags":["customs"]}},"/v1/compliance-cases/{case_id}/drafts/{kind}":{"delete":{"description":"404 ``not_generated`` when there is none; a request already sent keeps what it\ncarried.","operationId":"delete_draft_v1_compliance_cases__case_id__drafts__kind__delete","parameters":[{"in":"path","name":"case_id","required":true,"schema":{"format":"uuid","title":"Case Id","type":"string"}},{"in":"path","name":"kind","required":true,"schema":{"enum":["label","outline","manual"],"title":"Kind","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"}},"summary":"Delete a draft (it can be generated again)","tags":["customs"]},"get":{"description":"404 ``not_generated`` before the first generation.","operationId":"get_draft_v1_compliance_cases__case_id__drafts__kind__get","parameters":[{"in":"path","name":"case_id","required":true,"schema":{"format":"uuid","title":"Case Id","type":"string"}},{"in":"path","name":"kind","required":true,"schema":{"enum":["label","outline","manual"],"title":"Kind","type":"string"}},{"in":"query","name":"language","required":false,"schema":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplianceDraftOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"The latest draft of a kind, as generated","tags":["customs"]},"post":{"description":"``label`` and ``outline`` take no body; ``manual`` takes the text to translate. 409\n``no_label_rules`` (no label rule is published for the line), 503 ``needs_model`` (the\nmanual: the model is switched off). Marked \"Taslak - uzman onayı gerekir\" and who\nprepared it; never sent anywhere.","operationId":"generate_draft_v1_compliance_cases__case_id__drafts__kind__post","parameters":[{"in":"path","name":"case_id","required":true,"schema":{"format":"uuid","title":"Case Id","type":"string"}},{"in":"path","name":"kind","required":true,"schema":{"enum":["label","outline","manual"],"title":"Kind","type":"string"}},{"in":"query","name":"language","required":false,"schema":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/ComplianceManualIn"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplianceDraftOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"},"503":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Service Unavailable"}},"summary":"Generate a draft: the Arabic label or the technical file's outline (templates, no model); the manual in Arabic only while the model is switched on","tags":["customs"]}},"/v1/compliance-cases/{case_id}/label":{"put":{"operationId":"set_label_v1_compliance_cases__case_id__label_put","parameters":[{"in":"path","name":"case_id","required":true,"schema":{"format":"uuid","title":"Case Id","type":"string"}},{"in":"query","name":"language","required":false,"schema":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplianceLabelIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplianceCaseOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"}},"summary":"What the label says, field by field (the Arabic label draft is built from it)","tags":["customs"]}},"/v1/compliance-cases/{case_id}/referrals":{"post":{"description":"Sent only as previewed (``digest``) and approved (``approve: true``); recorded in the\nreferral log. 409 ``package_changed``, ``already_requested``, ``too_many_referrals``.","operationId":"send_referral_v1_compliance_cases__case_id__referrals_post","parameters":[{"in":"path","name":"case_id","required":true,"schema":{"format":"uuid","title":"Case Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferralIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferralOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"}},"summary":"Teklif iste, step 2: send the previewed package to the certifier, with approval","tags":["customs"]}},"/v1/compliance-cases/{case_id}/referrals/preview":{"post":{"description":"400 ``contact_required`` (the certifier answers at your verified address); 404\n``unknown_certifier``.","operationId":"preview_referral_v1_compliance_cases__case_id__referrals_preview_post","parameters":[{"in":"path","name":"case_id","required":true,"schema":{"format":"uuid","title":"Case Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferralPreviewIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferralPreview"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"}},"summary":"Teklif iste, step 1: exactly what would be sent to a certifier (nothing is sent)","tags":["customs"]}},"/v1/compliance-cases/{case_id}/shipments":{"post":{"description":"A letter to the organization's managers now, and again 3 days before the day; nothing\ngoes to the importer. 400 ``invalid_date``; 409 ``too_many_shipments``.","operationId":"add_shipment_v1_compliance_cases__case_id__shipments_post","parameters":[{"in":"path","name":"case_id","required":true,"schema":{"format":"uuid","title":"Case Id","type":"string"}},{"in":"query","name":"language","required":false,"schema":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplianceShipmentIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplianceCaseOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"}},"summary":"Record a shipment: Dila reminds its shipment certificate (SCoC)","tags":["customs"]}},"/v1/consents":{"get":{"operationId":"consents_v1_consents_get","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ConsentOut"},"title":"Response Consents V1 Consents Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Consents","tags":["members"]},"post":{"operationId":"record_consent_v1_consents_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsentIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConsentOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Record Consent","tags":["members"]}},"/v1/conversations":{"get":{"description":"Your organizations' conversations, latest first; ``tag`` keeps those your side reads\nas that tag.","operationId":"mine_v1_conversations_get","parameters":[{"in":"query","name":"tag","required":false,"schema":{"anyOf":[{"enum":["purchase_request","question","partnership","offer_for_my_need","other"],"type":"string"},{"type":"null"}],"title":"Tag"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ConversationOut"},"title":"Response Mine V1 Conversations Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Mine","tags":["commerce"]},"post":{"operationId":"start_v1_conversations_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConversationIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConversationOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Start talking with a supplier (the buyer becomes known to it)","tags":["commerce"]}},"/v1/conversations/{conversation_id}":{"get":{"operationId":"conversation_v1_conversations__conversation_id__get","parameters":[{"in":"path","name":"conversation_id","required":true,"schema":{"format":"uuid","title":"Conversation Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConversationOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Conversation","tags":["commerce"]}},"/v1/conversations/{conversation_id}/messages":{"get":{"description":"Each message as written, with its language and, when it is in another, its\ntranslation into yours (``pending`` while it is made: read again shortly). A reading\nhas the ten newest messages that need it translated, against your organization's\n``translations_per_day``; an older one reads ``unavailable`` until you ask for it\n(``POST /v1/conversations/{id}/messages/{message_id}/translation``).","operationId":"read_messages_v1_conversations__conversation_id__messages_get","parameters":[{"in":"path","name":"conversation_id","required":true,"schema":{"format":"uuid","title":"Conversation Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/MessageOut"},"title":"Response Read Messages V1 Conversations  Conversation Id  Messages Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Read a conversation, each message also in your language","tags":["commerce"]},"post":{"description":"Your words are kept as written. Unless ``translate`` is ``false``, they are also\ntranslated into ``translate_to`` (by default the language the other side writes in,\nwhen it is not the one you wrote in), against your organization's\n``translations_per_day``: the other side reads that first, marked as a translation,\nwith your words a tap away. With the assistants off or the day's translations spent,\nthe message goes as written (``translation``: ``unavailable``).","operationId":"write_message_v1_conversations__conversation_id__messages_post","parameters":[{"in":"path","name":"conversation_id","required":true,"schema":{"format":"uuid","title":"Conversation Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Write in a conversation (translated for the other side when they read another language)","tags":["commerce"]}},"/v1/conversations/{conversation_id}/messages/{message_id}/translation":{"post":{"description":"An older message than the ten a reading translates, translated on request: against\nyour organization's ``translations_per_day`` and the caps on what the other side makes\nyou pay for (``pending`` while it is made; ``unavailable`` when none can be had).","operationId":"translate_message_v1_conversations__conversation_id__messages__message_id__translation_post","parameters":[{"in":"path","name":"conversation_id","required":true,"schema":{"format":"uuid","title":"Conversation Id","type":"string"}},{"in":"path","name":"message_id","required":true,"schema":{"format":"uuid","title":"Message Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Have one message translated into your language (one a reading left unavailable)","tags":["commerce"]}},"/v1/conversations/{conversation_id}/need":{"get":{"description":"Its title, items and what it asks for besides the items; for the supplier, its texts\nalso in your language when they are written in another (against your organization's\n``translations_per_day``).","operationId":"conversation_need_v1_conversations__conversation_id__need_get","parameters":[{"in":"path","name":"conversation_id","required":true,"schema":{"format":"uuid","title":"Conversation Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConversationNeed"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The need a conversation is about, its texts in the supplier's language","tags":["commerce"]}},"/v1/conversations/{conversation_id}/quick-replies":{"post":{"description":"In stock, samples available, or not available: written from a template in the\nlanguage the buyer writes in (Turkish, English, Arabic, Persian, Russian, German,\nFrench, Spanish; English otherwise), never by a model, and sent as your message.","operationId":"quick_reply_v1_conversations__conversation_id__quick_replies_post","parameters":[{"in":"path","name":"conversation_id","required":true,"schema":{"format":"uuid","title":"Conversation Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuickReplyIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Answer the buyer with a quick reply, in their language (the supplier's people)","tags":["commerce"]}},"/v1/conversations/{conversation_id}/quote-draft":{"get":{"description":"Your organization's saved draft, else one prepared now: the buyer's items matched to\nyour catalogue (by confirmed HS code, then by name), each with the buyer's quantity, your\nminimum order and lead time, and no price; with a message in your language and its\npreview in the buyer's. The supplier's people only.","operationId":"quote_draft_v1_conversations__conversation_id__quote_draft_get","parameters":[{"in":"path","name":"conversation_id","required":true,"schema":{"format":"uuid","title":"Conversation Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteDraftOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"A quote prefilled from your catalogue, for you to price (never sent)","tags":["commerce"]},"put":{"description":"Kept as you leave it, one per conversation for your organization; prices may stay\nempty. Nothing reaches the buyer until a quote is sent.","operationId":"save_quote_draft_v1_conversations__conversation_id__quote_draft_put","parameters":[{"in":"path","name":"conversation_id","required":true,"schema":{"format":"uuid","title":"Conversation Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteDraftIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteDraftOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Save your quote draft (nothing is sent)","tags":["commerce"]}},"/v1/conversations/{conversation_id}/quotes":{"get":{"description":"The conversation's quotes and counter-offers, oldest first; the other side's with\ntheir lines' descriptions and terms also in your language.","operationId":"quotes_v1_conversations__conversation_id__quotes_get","parameters":[{"in":"path","name":"conversation_id","required":true,"schema":{"format":"uuid","title":"Conversation Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/QuoteOut"},"title":"Response Quotes V1 Conversations  Conversation Id  Quotes Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Quotes","tags":["commerce"]},"post":{"operationId":"send_quote_v1_conversations__conversation_id__quotes_post","parameters":[{"in":"path","name":"conversation_id","required":true,"schema":{"format":"uuid","title":"Conversation Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Send a priced offer (the supplier's managers)","tags":["commerce"]}},"/v1/credit-applications/{application_id}/accept":{"post":{"description":"Take the partner's offer (binding: the partner pays the escrow, you repay it).","operationId":"accept_credit_v1_credit_applications__application_id__accept_post","parameters":[{"in":"path","name":"application_id","required":true,"schema":{"format":"uuid","title":"Application Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Accept Credit","tags":["money"]}},"/v1/credit-applications/{application_id}/cancel":{"post":{"operationId":"cancel_credit_v1_credit_applications__application_id__cancel_post","parameters":[{"in":"path","name":"application_id","required":true,"schema":{"format":"uuid","title":"Application Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Cancel Credit","tags":["money"]}},"/v1/customer-invites/accept":{"post":{"operationId":"accept_invite_v1_customer_invites_accept_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptInviteIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomerOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Accept Invite","tags":["selling"]}},"/v1/customs-watch":{"get":{"description":"Open markets first, the most demand the year added first. ``scope=all`` adds every\nother series: the reported markets that are not open (largest first), then the mirrors\n(Türkiye's largest exports first); ``scope=growing``: the mirrors whose Turkish exports\ngrew (the regions' lists, Türkiye's largest exports first). ``region``: the Gulf, Iraq\nor Africa. ``heading`` takes a heading or a two-digit chapter. Only goods Türkiye really\nexports are listed (``watch.suggested``).","operationId":"open_markets_v1_customs_watch_get","parameters":[{"in":"query","name":"sector","required":false,"schema":{"anyOf":[{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},{"type":"null"}],"title":"Sector"}},{"in":"query","name":"market","required":false,"schema":{"anyOf":[{"pattern":"^[A-Z]{2}$","type":"string"},{"type":"null"}],"title":"Market"}},{"in":"query","name":"heading","required":false,"schema":{"anyOf":[{"pattern":"^[0-9]{2}([0-9]{2})?$","type":"string"},{"type":"null"}],"title":"Heading"}},{"in":"query","name":"scope","required":false,"schema":{"default":"open","enum":["open","all","growing"],"title":"Scope","type":"string"}},{"in":"query","name":"basis","required":false,"schema":{"default":"all","enum":["reported","mirror","all"],"title":"Basis","type":"string"}},{"in":"query","name":"region","required":false,"schema":{"anyOf":[{"enum":["gulf","iraq","africa"],"type":"string"},{"type":"null"}],"title":"Region"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"maxLength":256,"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"maximum":50,"minimum":1,"title":"Limit","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomsWatchPage"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The strongest open markets for Turkish goods, from official trade statistics","tags":["customs-watch"]}},"/v1/customs-watch/rising":{"get":{"description":"The markets' own import figures (never a mirror) of goods Türkiye really exports\n(``watch.suggested``) whose twelve months grew at least the open-market rule's growth and\nreach its size floor in their currency, the most demand the year added first: open or\nnot (Türkiye's share may already be large there; each series says so).","operationId":"rising_v1_customs_watch_rising_get","parameters":[{"in":"query","name":"market","required":false,"schema":{"anyOf":[{"pattern":"^[A-Z]{2}$","type":"string"},{"type":"null"}],"title":"Market"}},{"in":"query","name":"heading","required":false,"schema":{"anyOf":[{"pattern":"^[0-9]{2}([0-9]{2})?$","type":"string"},{"type":"null"}],"title":"Heading"}},{"in":"query","name":"sector","required":false,"schema":{"anyOf":[{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},{"type":"null"}],"title":"Sector"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"maximum":50,"minimum":1,"title":"Limit","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomsWatchRising"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Where imports of a product grow: the markets' own figures, the most demand added first, with Türkiye's share and the main suppliers","tags":["customs-watch"]}},"/v1/customs-watch/summary":{"get":{"operationId":"summary_v1_customs_watch_summary_get","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomsWatchSummary"}}},"description":"Successful Response"}},"summary":"Customs watch in numbers, for the menu: open markets, series, markets, sectors","tags":["customs-watch"]}},"/v1/customs-watch/{market}/{heading}":{"get":{"operationId":"series_v1_customs_watch__market___heading__get","parameters":[{"in":"path","name":"market","required":true,"schema":{"pattern":"^[A-Z]{2}$","title":"Market","type":"string"}},{"in":"path","name":"heading","required":true,"schema":{"pattern":"^[0-9]{4}$","title":"Heading","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomsWatchSeries"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"One market's imports of one HS heading: 36 months, origins and Türkiye's share","tags":["customs-watch"]}},"/v1/customs/agreements":{"get":{"description":"Every country with an agreement in force, signed, under negotiation, or in the\nEU-Türkiye customs union; a country without one is not listed.","operationId":"list_agreements_v1_customs_agreements_get","parameters":[{"in":"query","name":"partner","required":false,"schema":{"anyOf":[{"pattern":"^[A-Z]{2}$","type":"string"},{"type":"null"}],"title":"Partner"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TradeAgreementOut"},"title":"Response List Agreements V1 Customs Agreements Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Türkiye's trade agreements by country, as the Ministry of Trade states them","tags":["customs"]}},"/v1/customs/anti-damping":{"get":{"description":"``status``: ``current`` (in force or under investigation, the default), one status, or\n``all``. ``q``: words of the product's name, as its source writes it (Turkish letters\nfolded). ``facets``: how many pages each status, origin and sector would give, the other\nfilters kept. ``language``: the reader's; in Arabic or Persian each product's\n``product_tariff`` carries its title's kept machine translation.","operationId":"list_cases_v1_customs_anti_damping_get","parameters":[{"in":"query","name":"status","required":false,"schema":{"default":"current","enum":["current","in_force","investigation","ended","terminated","all"],"title":"Status","type":"string"}},{"in":"query","name":"sector","required":false,"schema":{"anyOf":[{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},{"type":"null"}],"title":"Sector"}},{"in":"query","name":"heading","required":false,"schema":{"anyOf":[{"pattern":"^[0-9]{4}$","type":"string"},{"type":"null"}],"title":"Heading"}},{"in":"query","name":"origin","required":false,"schema":{"anyOf":[{"pattern":"^[A-Z]{2}$","type":"string"},{"type":"null"}],"title":"Origin"}},{"in":"query","name":"q","required":false,"schema":{"anyOf":[{"maxLength":80,"minLength":2,"type":"string"},{"type":"null"}],"title":"Q"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"maxLength":256,"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"language","required":false,"schema":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AntiDumpingList"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Products under the home market's anti-dumping, anti-subsidy and safeguard measures and investigations, newest act first, by status, sector group, heading and origin","tags":["customs"]}},"/v1/customs/anti-damping/{slug}":{"get":{"description":"``explanation`` is the published text in ``language``, only for the facts it was\nwritten for (Turkish or English: a request in Arabic or Persian gets the English text,\nits ``language`` says so; the texts are never machine-translated); the facts themselves\nshow at once, each with its official text. In Arabic or Persian, ``product_tariff`` and\neach code carry the tariff titles' kept machine translations.","operationId":"get_case_v1_customs_anti_damping__slug__get","parameters":[{"in":"path","name":"slug","required":true,"schema":{"maxLength":160,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","title":"Slug","type":"string"}},{"in":"query","name":"language","required":false,"schema":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AntiDumpingPage"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"One product's page: its acts on each origin with their rates and dates, its tariff codes, the official texts, its makers and the reviewed text for buyers","tags":["customs"]}},"/v1/customs/countries/{country}/brief":{"get":{"operationId":"country_brief_v1_customs_countries__country__brief_get","parameters":[{"in":"path","name":"country","required":true,"schema":{"pattern":"^[A-Z]{2}$","title":"Country","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CountryBriefOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"The Ministry of Trade's own facts on a country (figures, agreements, reports)","tags":["customs"]}},"/v1/customs/gtip":{"get":{"description":"With ``language`` Arabic or Persian, each title also carries its machine translation\n(``title.translation``) when one is kept for its official text.","operationId":"guide_v1_customs_gtip_get","parameters":[{"in":"query","name":"chapter","required":false,"schema":{"anyOf":[{"pattern":"^[0-9]{2}$","type":"string"},{"type":"null"}],"title":"Chapter"}},{"in":"query","name":"heading","required":false,"schema":{"anyOf":[{"pattern":"^[0-9]{4}$","type":"string"},{"type":"null"}],"title":"Heading"}},{"in":"query","name":"language","required":false,"schema":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GtipGuide"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The tariff's guide: sections and chapters, a chapter's headings, a heading's lines","tags":["customs"]}},"/v1/customs/gtip/classify":{"post":{"description":"``answered``: a code of the official tariff with its reason; ``question``: Lale needs\none fact first (send the answers back with ``log_id``); ``search_only``: the model is\noff or unavailable, ``candidates`` are the tariff lines the search found. 429\n``rate_limited`` past the visitor's searches of the day (``Retry-After``: the next day).","operationId":"classify_text_v1_customs_gtip_classify_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GtipClassifyIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GtipClassification"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"summary":"Lale proposes the GTİP code of a product described in words","tags":["customs"]}},"/v1/customs/gtip/classify-file":{"post":{"description":"As ``/classify``, with a photo (redrawn in the sandbox; only the redrawing reaches the\nmodel) or a PDF (its text read in the sandbox): never stored, never logged. 400\n``invalid_media_type`` (another type), ``invalid_file`` (not a still photo or a\nreadable PDF: ``errors[0].code`` says why), 413 ``payload_too_large``. The file is one of\nthe visitor's files of the day (six before signing in) as well as a search.","operationId":"classify_file_v1_customs_gtip_classify_file_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"destination":{"pattern":"^[A-Z]{2}$","type":"string"},"file":{"description":"A JPEG, PNG or WebP photo, or a PDF, of at most 10 MB: read once, in memory, never stored.","format":"binary","type":"string"},"language":{"enum":["tr","en","ar","fa"],"type":"string"},"text":{"maxLength":2000,"minLength":3,"type":"string"}},"required":["text","file"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GtipClassification"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Content Too Large"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"summary":"Lale proposes the GTİP code of a product shown in a photo or a PDF","tags":["customs"]}},"/v1/customs/gtip/classify-file/stream":{"post":{"description":"The photo or PDF is read before the stream starts (its refusals are error statuses),\nthen the events of ``/classify/stream``.","operationId":"classify_file_stream_v1_customs_gtip_classify_file_stream_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"destination":{"pattern":"^[A-Z]{2}$","type":"string"},"file":{"description":"A JPEG, PNG or WebP photo, or a PDF, of at most 10 MB: read once, in memory, never stored.","format":"binary","type":"string"},"language":{"enum":["tr","en","ar","fa"],"type":"string"},"text":{"maxLength":2000,"minLength":3,"type":"string"}},"required":["text","file"],"type":"object"}}},"required":true},"responses":{"200":{"content":{"text/event-stream":{"schema":{"$ref":"#/components/schemas/GtipStreamEvent","type":"string"}}},"description":"Server-sent events, one JSON object a ``data:`` line: ``GtipProgress`` events as each step is made, then one ``GtipStreamResult`` (or ``GtipStreamError``)."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"413":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Content Too Large"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"summary":"The same as /classify-file, told as it happens (as /classify/stream)","tags":["customs"]}},"/v1/customs/gtip/classify/stream":{"post":{"description":"Each event is a step that was made, never a timer: ``started`` (the search counted),\n``read`` (what the model read), ``searched``, ``step`` per level (``codes`` with their\ntitles), ``cached`` (the same question was answered before), then ``result`` with the\nclassification as ``/classify`` gives it. Errors before the stream starts are the same\nas ``/classify``'s (429 past the visitor's day); one after it, an ``error`` event.","operationId":"classify_text_stream_v1_customs_gtip_classify_stream_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GtipClassifyIn"}}},"required":true},"responses":{"200":{"content":{"text/event-stream":{"schema":{"$ref":"#/components/schemas/GtipStreamEvent","type":"string"}}},"description":"Server-sent events, one JSON object a ``data:`` line: ``GtipProgress`` events as each step is made, then one ``GtipStreamResult`` (or ``GtipStreamError``)."},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"summary":"The same as /classify, told as it happens: the search, each step of Lale's walk (chapter, heading, subheading, national line), then the answer","tags":["customs"]}},"/v1/customs/gtip/feedback":{"post":{"description":"Only the visitor who asked, the same day (a member: any day). 404 for anyone else.","operationId":"feedback_v1_customs_gtip_feedback_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GtipFeedbackIn"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"summary":"Whether Lale's code was right, and the right one when the visitor knows it","tags":["customs"]}},"/v1/customs/gtip/search":{"post":{"description":"The headings and HS subheadings closest to the words, the best first: the GTİP tool's\nsearch over the official Turkish and English titles, and in Arabic or Persian over the\ntitles' kept machine translations first (``birlesa.gtip.search``). Deterministic and\nfree: not one of a visitor's searches; the words are never stored or logged.","operationId":"search_codes_v1_customs_gtip_search_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GtipSearchIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GtipSearch"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"summary":"A product in words as the tariff's codes to pick from (no model, nothing kept)","tags":["customs"]}},"/v1/customs/gtip/titles":{"get":{"description":"The codes the tariff has, in the order asked (others are left out): what a list of\nHS headings (customs watch, the most-asked products) names them by. 400 ``invalid_codes``\npast 100 codes or for a code of another shape.","operationId":"titles_v1_customs_gtip_titles_get","parameters":[{"description":"Comma-separated, up to 100: sections (`XI`), chapters, headings, subheadings or lines (`63,6302,630260`)","in":"query","name":"codes","required":true,"schema":{"description":"Comma-separated, up to 100: sections (`XI`), chapters, headings, subheadings or lines (`63,6302,630260`)","maxLength":1400,"title":"Codes","type":"string"}},{"in":"query","name":"language","required":false,"schema":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GtipTitles"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Tariff codes' titles: the official Turkish and English, and in Arabic or Persian their machine translation","tags":["customs"]}},"/v1/customs/gtip/top":{"get":{"description":"With ``language`` Arabic or Persian, each title also carries its machine translation\n(``title.translation``) when one is kept for its official text.","operationId":"top_v1_customs_gtip_top_get","parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":2000,"maximum":5000,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"language","required":false,"schema":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GtipTop"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Türkiye's most-exported HS subheadings (for the code pages and the sitemap)","tags":["customs"]}},"/v1/customs/gtip/{code}":{"get":{"description":"Any code of the tariff (a heading, an HS subheading, a CN code or a 12-digit line;\ndots and spaces as people write them are accepted). 404 for one the tariff lacks.\n``page`` is Lale's description once a person reviewed it, in ``language`` (else\nTurkish), never before. In Arabic or Persian, the code's title and those around it also\ncarry their machine translations (``title.translation``) where one is kept.","operationId":"code_page_v1_customs_gtip__code__get","parameters":[{"in":"path","name":"code","required":true,"schema":{"title":"Code","type":"string"}},{"in":"query","name":"language","required":false,"schema":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GtipCodePage"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"A code's page: its line of the tariff, what sits around it, what it needs","tags":["customs"]}},"/v1/customs/landed-cost":{"post":{"description":"Nothing is kept. ``missing`` names a rate the total waits for.","operationId":"landed_cost_v1_customs_landed_cost_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomsLandedCostIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomsLandedCostOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"What goods cost delivered: price, freight, insurance, duty and import VAT (the person's own figures; recorded rates where they gave none)","tags":["customs"]}},"/v1/customs/rates":{"get":{"description":"Each only where a curator recorded it (``None`` otherwise: never a guess).","operationId":"rates_v1_customs_rates_get","parameters":[{"in":"query","name":"destination","required":true,"schema":{"pattern":"^[A-Z]{2}$","title":"Destination","type":"string"}},{"in":"query","name":"code","required":false,"schema":{"anyOf":[{"pattern":"^[0-9]{4,12}$","type":"string"},{"type":"null"}],"title":"Code"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CustomsRates"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"A product's recorded import duty and a country's import VAT, with their sources","tags":["customs"]}},"/v1/customs/readiness/check":{"post":{"description":"Computed from published requirements alone, never by a model. 404 ``unknown_code``\nfor a line Türkiye's tariff lacks (not counted against the visitor's day); 429\n``rate_limited`` past the visitor's checks of the day (``Retry-After``: the next day).\n``verdict`` ``several_regulations``, ``needs_expert`` and ``no_data`` say ask an\nexpert (``expert`` says why); ``estimate`` is ``None`` until the path is settled.","operationId":"check_v1_customs_readiness_check_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadinessCheckIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadinessCheck"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"summary":"What a product needs to be sold in a destination (Saudi Arabia; the UAE and Qatar once their requirements are published): its path, what to prepare, an estimate of time and cost, every requirement with its source","tags":["customs"]}},"/v1/customs/readiness/destinations":{"get":{"description":"Saudi Arabia, and the UAE and Qatar prepared as data: a destination is\n``available`` once a requirement applying there (its own or its bloc's) is published.","operationId":"destinations_v1_customs_readiness_destinations_get","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadinessDestinations"}}},"description":"Successful Response"}},"summary":"Where the check runs, and whether each destination has published requirements (only then is it offered)","tags":["customs"]}},"/v1/customs/readiness/search":{"post":{"description":"The GTİP tool's search (no model): the description, contact details masked, is\nnever stored or logged. One of the visitor's checks of the day.","operationId":"search_v1_customs_readiness_search_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadinessSearchIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadinessSearch"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"429":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Too Many Requests"}},"summary":"The tariff lines closest to a product described in words, to check one of","tags":["customs"]}},"/v1/customs/wto":{"get":{"description":"A market's newest notifications (about the product, when ``code`` is given: an HS\nchapter, heading, subheading or a national line, read to its subheading), its import\nrestrictions on the product, and its official procedures pages.","operationId":"wto_facts_v1_customs_wto_get","parameters":[{"in":"query","name":"country","required":true,"schema":{"pattern":"^[A-Z]{2}$","title":"Country","type":"string"}},{"in":"query","name":"code","required":false,"schema":{"anyOf":[{"pattern":"^[0-9]{2}(?:[0-9]{2}){0,5}$","type":"string"},{"type":"null"}],"title":"Code"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"maximum":50,"minimum":1,"title":"Limit","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WtoFactsOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"What a market notified to the WTO: rules (SPS, TBT), import restrictions, procedures","tags":["customs"]}},"/v1/data-requests":{"get":{"operationId":"data_requests_v1_data_requests_get","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/DataRequestOut"},"title":"Response Data Requests V1 Data Requests Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Data Requests","tags":["members"]},"post":{"operationId":"open_data_request_v1_data_requests_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRequestIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRequestOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Ask for access to, correction or erasure of personal data, or object to processing","tags":["members"]}},"/v1/data/products":{"get":{"operationId":"products_v1_data_products_get","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/DataProductOut"},"title":"Response Products V1 Data Products Get","type":"array"}}},"description":"Successful Response"}},"summary":"The data products","tags":["data"]}},"/v1/data/products/{product}/records":{"get":{"description":"Oldest first; ``Birlesa-Next-Cursor`` names the next page when there is one.","operationId":"feed_v1_data_products__product__records_get","parameters":[{"in":"path","name":"product","required":true,"schema":{"pattern":"^[a-z0-9-]{1,32}$","title":"Product","type":"string"}},{"in":"query","name":"since","required":false,"schema":{"anyOf":[{"pattern":"^\\d{4}-(0[1-9]|1[0-2])$","type":"string"},{"type":"null"}],"title":"Since"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"maxLength":512,"type":"string"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"content":{"application/x-ndjson":{}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"A data product's records, as JSON lines (API key with data:read and a live grant)","tags":["data"]}},"/v1/deals":{"get":{"operationId":"deals_v1_deals_get","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/DealListed"},"title":"Response Deals V1 Deals Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Deals of my organizations","tags":["commerce"]}},"/v1/deals/{deal_id}":{"get":{"operationId":"deal_v1_deals__deal_id__get","parameters":[{"in":"path","name":"deal_id","required":true,"schema":{"format":"uuid","title":"Deal Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealListed"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"One deal of my organizations","tags":["commerce"]}},"/v1/deals/{deal_id}/escrow":{"get":{"operationId":"deal_escrow_v1_deals__deal_id__escrow_get","parameters":[{"in":"path","name":"deal_id","required":true,"schema":{"format":"uuid","title":"Deal Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EscrowOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Deal Escrow","tags":["money"]},"post":{"operationId":"open_escrow_v1_deals__deal_id__escrow_post","parameters":[{"in":"path","name":"deal_id","required":true,"schema":{"format":"uuid","title":"Deal Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EscrowOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Pay a deal into escrow: a licensed partner holds it until delivery","tags":["money"]}},"/v1/deals/{deal_id}/fulfil":{"post":{"description":"A deal paid into escrow is confirmed at ``/v1/escrows/{id}/received`` instead, so\nreceipt and release happen together.","operationId":"fulfil_v1_deals__deal_id__fulfil_post","parameters":[{"in":"path","name":"deal_id","required":true,"schema":{"format":"uuid","title":"Deal Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Confirm that the order arrived (the buyer)","tags":["commerce"]}},"/v1/deals/{deal_id}/review":{"post":{"operationId":"write_v1_deals__deal_id__review_post","parameters":[{"in":"path","name":"deal_id","required":true,"schema":{"format":"uuid","title":"Deal Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Review the supplier of a deal (the buyer's managers; moderated before shown)","tags":["reviews"]}},"/v1/demand":{"get":{"operationId":"demand_v1_demand_get","parameters":[{"in":"query","name":"rising","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Rising"}},{"in":"query","name":"destination","required":false,"schema":{"anyOf":[{"pattern":"^[A-Z]{2}$","type":"string"},{"type":"null"}],"title":"Destination"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemandOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Demand forecasts per HS heading and destination (the latest run)","tags":["demand"]}},"/v1/demand/{heading}":{"get":{"operationId":"heading_demand_v1_demand__heading__get","parameters":[{"in":"path","name":"heading","required":true,"schema":{"pattern":"^\\d{4}$","title":"Heading","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemandOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"One HS heading's demand forecasts, per destination","tags":["demand"]}},"/v1/directory":{"get":{"operationId":"directory_cells_v1_directory_get","parameters":[{"in":"query","name":"after","required":false,"schema":{"anyOf":[{"pattern":"^[0-9]{2}\\.[0-9]{2}:[a-z]{2,32}$","type":"string"},{"type":"null"}],"title":"After"}},{"in":"query","name":"limit","required":false,"schema":{"default":1000,"maximum":1000,"minimum":1,"title":"Limit","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectorySlice"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Activity-and-province pages worth indexing, in slices for sitemap files","tags":["public"]}},"/v1/directory/{nace}/{city_key}":{"get":{"operationId":"directory_page_v1_directory__nace___city_key__get","parameters":[{"in":"path","name":"nace","required":true,"schema":{"pattern":"^[0-9]{2}\\.[0-9]{2}$","title":"Nace","type":"string"}},{"in":"path","name":"city_key","required":true,"schema":{"pattern":"^[a-z]{2,32}$","title":"City Key","type":"string"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"maxLength":256,"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"maximum":50,"minimum":1,"title":"Limit","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DirectoryPage"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"The public companies of one activity in one province, best first","tags":["public"]}},"/v1/disputes/{dispute_id}":{"get":{"operationId":"dispute_v1_disputes__dispute_id__get","parameters":[{"in":"path","name":"dispute_id","required":true,"schema":{"format":"uuid","title":"Dispute Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisputeOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Dispute","tags":["money"]}},"/v1/disputes/{dispute_id}/evidence":{"post":{"operationId":"evidence_v1_disputes__dispute_id__evidence_post","parameters":[{"in":"path","name":"dispute_id","required":true,"schema":{"format":"uuid","title":"Dispute Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EvidenceIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisputeOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Evidence","tags":["money"]}},"/v1/disputes/{dispute_id}/withdraw":{"post":{"operationId":"withdraw_v1_disputes__dispute_id__withdraw_post","parameters":[{"in":"path","name":"dispute_id","required":true,"schema":{"format":"uuid","title":"Dispute Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisputeOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Withdraw","tags":["money"]}},"/v1/escrows/{escrow_id}/cancel":{"post":{"operationId":"cancel_v1_escrows__escrow_id__cancel_post","parameters":[{"in":"path","name":"escrow_id","required":true,"schema":{"format":"uuid","title":"Escrow Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EscrowOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Cancel","tags":["money"]}},"/v1/escrows/{escrow_id}/credit":{"get":{"operationId":"escrow_credit_v1_escrows__escrow_id__credit_get","parameters":[{"in":"path","name":"escrow_id","required":true,"schema":{"format":"uuid","title":"Escrow Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Escrow Credit","tags":["money"]},"post":{"operationId":"apply_for_credit_v1_escrows__escrow_id__credit_post","parameters":[{"in":"path","name":"escrow_id","required":true,"schema":{"format":"uuid","title":"Escrow Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Ask the financing partner to pay this escrow (the buyer repays it later)","tags":["money"]}},"/v1/escrows/{escrow_id}/delivered":{"post":{"description":"The supplier reports the delivery; the buyer confirms or disputes it.","operationId":"delivered_v1_escrows__escrow_id__delivered_post","parameters":[{"in":"path","name":"escrow_id","required":true,"schema":{"format":"uuid","title":"Escrow Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EscrowOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Delivered","tags":["money"]}},"/v1/escrows/{escrow_id}/disputes":{"post":{"operationId":"open_dispute_v1_escrows__escrow_id__disputes_post","parameters":[{"in":"path","name":"escrow_id","required":true,"schema":{"format":"uuid","title":"Escrow Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisputeIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DisputeOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Dispute a funded escrow: releases stop until a decision","tags":["money"]}},"/v1/escrows/{escrow_id}/received":{"post":{"description":"The buyer confirms receipt: the deal is fulfilled and the rest is released.","operationId":"received_v1_escrows__escrow_id__received_post","parameters":[{"in":"path","name":"escrow_id","required":true,"schema":{"format":"uuid","title":"Escrow Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EscrowOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Received","tags":["money"]}},"/v1/escrows/{escrow_id}/release":{"post":{"description":"The buyer releases part of the escrow (a milestone).","operationId":"release_v1_escrows__escrow_id__release_post","parameters":[{"in":"path","name":"escrow_id","required":true,"schema":{"format":"uuid","title":"Escrow Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EscrowOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Release","tags":["money"]}},"/v1/events":{"post":{"description":"No person, address or cookie is stored: one more of the event for its subject today\n(``birlesa.analytics.events``).","operationId":"event_v1_events_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventIn"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"No such code, page or approved widget"}},"summary":"Count one event of the weekly metrics (the web servers only)","tags":["analytics"]}},"/v1/export-pages":{"get":{"description":"The selection's codes in their order (Türkiye's most exported first), each in the\nmarkets' order; ``language`` names the codes.","operationId":"list_pages_v1_export_pages_get","parameters":[{"in":"query","name":"language","required":false,"schema":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"}},{"in":"query","name":"market","required":false,"schema":{"anyOf":[{"pattern":"^[A-Z]{2}$","type":"string"},{"type":"null"}],"title":"Market"}},{"in":"query","name":"code","required":false,"schema":{"anyOf":[{"pattern":"^[0-9]{6}$","type":"string"},{"type":"null"}],"title":"Code"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportPageList"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The export pages that pass the quality gate: one code in one market each","tags":["customs"]}},"/v1/export-pages/{market}/{code}":{"get":{"description":"``market``: ISO 3166-1 alpha-2, one of the ten; ``code``: an HS subheading (six\ndigits). 404 when it names no page or the page does not pass the quality gate.","operationId":"get_page_v1_export_pages__market___code__get","parameters":[{"in":"path","name":"market","required":true,"schema":{"title":"Market","type":"string"}},{"in":"path","name":"code","required":true,"schema":{"title":"Code","type":"string"}},{"in":"query","name":"language","required":false,"schema":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportPage"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"One export page: a code's facts in one market (Türkiye's exports, the market's imports, duty, documents, buyers and signals counted)","tags":["customs"]}},"/v1/export-panel":{"get":{"operationId":"list_panels_v1_export_panel_get","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportPanelList"}}},"description":"Successful Response"}},"summary":"Markets with a live export panel and their last month, from Türkiye's own declarations (Eurostat Comext)","tags":["customs"]}},"/v1/export-panel/{market}":{"get":{"operationId":"get_panel_v1_export_panel__market__get","parameters":[{"in":"path","name":"market","required":true,"schema":{"pattern":"^[A-Z]{2}$","title":"Market","type":"string"}},{"in":"query","name":"language","required":false,"schema":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExportPanelView"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"Türkiye's exports to one market: last month, year to date, twelve months, the top 20 headings and five years of months, each figure with its source and release","tags":["customs"]}},"/v1/export/{country}/{group}/suppliers":{"get":{"operationId":"export_suppliers_v1_export__country___group__suppliers_get","parameters":[{"in":"path","name":"country","required":true,"schema":{"pattern":"^[A-Z]{2}$","title":"Country","type":"string"}},{"in":"path","name":"group","required":true,"schema":{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"title":"Group","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":6,"maximum":24,"minimum":1,"title":"Limit","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FitSuppliers"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"A market's sector's suppliers in Türkiye by fit to its open needs, makers first","tags":["public"]}},"/v1/features":{"get":{"operationId":"public_features_v1_features_get","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicFeatures"}}},"description":"Successful Response"}},"summary":"What this deployment has switched on, for visitors' pages","tags":["public"]}},"/v1/federated-needs":{"get":{"operationId":"remote_needs_v1_federated_needs_get","parameters":[{"in":"query","name":"code","required":false,"schema":{"anyOf":[{"pattern":"^hs:[0-9]{2,6}$","type":"string"},{"type":"null"}],"title":"Code"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/FederatedNeedOut"},"title":"Response Remote Needs V1 Federated Needs Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Needs of buyers in peer regions (anonymized), by product code","tags":["federation"]}},"/v1/federated-needs/{remote_need_id}/offers":{"post":{"description":"Only the company's public profile subset crosses, as with automatic proposals; the\nbuyer abroad decides whether to ask for an introduction.","operationId":"offer_v1_federated_needs__remote_need_id__offers_post","parameters":[{"in":"path","name":"remote_need_id","required":true,"schema":{"format":"uuid","title":"Remote Need Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FederatedOfferIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FederatedNeedOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Propose a company you manage for a need of a peer region","tags":["federation"]}},"/v1/federated-proposals/{proposal_id}/interest":{"post":{"description":"Ask to be introduced: the company is told a buyer there is interested, never who.","operationId":"express_interest_v1_federated_proposals__proposal_id__interest_post","parameters":[{"in":"path","name":"proposal_id","required":true,"schema":{"format":"uuid","title":"Proposal Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FederatedProposalOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Express Interest","tags":["federation"]}},"/v1/federation-interests/{interest_id}/introduce":{"post":{"description":"Agree to be introduced: the company's page and business mailbox go to the buyer.","operationId":"introduce_v1_federation_interests__interest_id__introduce_post","parameters":[{"in":"path","name":"interest_id","required":true,"schema":{"format":"uuid","title":"Interest Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FederationInterestOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Introduce","tags":["federation"]}},"/v1/follow-ups":{"get":{"operationId":"follow_ups_v1_follow_ups_get","parameters":[{"in":"query","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FollowUps"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"What waits on you and on others","tags":["follow-ups"]}},"/v1/follow-ups/nudges/{nudge_id}/snooze":{"post":{"description":"Whoever the nudge went to snoozes it: the owners and admins of the organization it\nwent to (and, on a buyer's side, whoever asked), or the one member a draft's nudge is\nfor, while their role buys. To anyone else it does not exist.","operationId":"snooze_v1_follow_ups_nudges__nudge_id__snooze_post","parameters":[{"in":"path","name":"nudge_id","required":true,"schema":{"format":"uuid","title":"Nudge Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/SnoozeIn"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NudgeOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"No further nudge about this item for a while","tags":["follow-ups"]}},"/v1/follows":{"get":{"operationId":"follows_v1_follows_get","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Followed"},"title":"Response Follows V1 Follows Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Follows","tags":["members"]}},"/v1/follows/{company_id}":{"delete":{"operationId":"unfollow_v1_follows__company_id__delete","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Unfollow","tags":["members"]},"put":{"operationId":"follow_v1_follows__company_id__put","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Follow","tags":["members"]}},"/v1/index":{"get":{"operationId":"index_releases_v1_index_get","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndexReleases"}}},"description":"Successful Response"}},"summary":"Released months of the monthly B2B index, newest first","tags":["public"]}},"/v1/index/{month}":{"get":{"operationId":"index_month_v1_index__month__get","parameters":[{"in":"path","name":"month","required":true,"schema":{"pattern":"^20[0-9]{2}-(0[1-9]|1[0-2])$","title":"Month","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndexMonth"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"One month of the B2B index: national figures, provinces, sectors, highlights","tags":["public"]}},"/v1/index/{month}/provinces/{city_key}":{"get":{"operationId":"index_province_v1_index__month__provinces__city_key__get","parameters":[{"in":"path","name":"month","required":true,"schema":{"pattern":"^20[0-9]{2}-(0[1-9]|1[0-2])$","title":"Month","type":"string"}},{"in":"path","name":"city_key","required":true,"schema":{"pattern":"^[a-z]{2,32}$","title":"City Key","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndexScope"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"One province's month in the B2B index, with the month before and a year before","tags":["public"]}},"/v1/invitations/accept":{"post":{"operationId":"accept_v1_invitations_accept_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JoinedOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Join an organization (signed in with the invited, verified e-mail address)","tags":["teams"]}},"/v1/landed-cost":{"post":{"operationId":"landed_cost_v1_landed_cost_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LandedCostIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LandedCostOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"What the goods cost delivered: freight, insurance, duty and import VAT","tags":["supply"]}},"/v1/live/{country}":{"get":{"description":"Counts and times only (``birlesa.market.live``); never a member or a buyer's name.","operationId":"live_v1_live__country__get","parameters":[{"in":"path","name":"country","required":true,"schema":{"pattern":"^[A-Z]{2}$","title":"Country","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveActivity"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"A country's activity on Birlesa: opportunities, purchase requests, offers sent","tags":["opportunities"]}},"/v1/logos/{document_id}":{"get":{"operationId":"logo_v1_logos__document_id__get","parameters":[{"in":"path","name":"document_id","required":true,"schema":{"format":"uuid","title":"Document Id","type":"string"}}],"responses":{"200":{"content":{"image/jpeg":{},"image/png":{},"image/webp":{}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"A company's logo image (as its page links it)","tags":["public"]}},"/v1/matches":{"get":{"description":"Open opportunities matched to your companies, newest first; ``type`` and ``region``\nkeep one kind of opportunity, or those going to one region. A need written in another\nlanguage comes with its title and details in yours (``translation``), against the\norganization's ``translations_per_day``.","operationId":"my_matches_v1_matches_get","parameters":[{"in":"query","name":"type","required":false,"schema":{"anyOf":[{"enum":["purchase_request","tender","partner","service"],"type":"string"},{"type":"null"}],"title":"Type"}},{"in":"query","name":"region","required":false,"schema":{"anyOf":[{"enum":["tr","gcc","other"],"type":"string"},{"type":"null"}],"title":"Region"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/MatchOut"},"title":"Response My Matches V1 Matches Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Needs matched to companies you manage","tags":["market"]}},"/v1/matches/{match_id}/decline":{"post":{"operationId":"decline_v1_matches__match_id__decline_post","parameters":[{"in":"path","name":"match_id","required":true,"schema":{"format":"uuid","title":"Match Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/DeclineIn"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MatchOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Decline a match: it leaves your matches and radar (the managers of its company)","tags":["market"]}},"/v1/matches/{match_id}/interest":{"post":{"operationId":"interest_v1_matches__match_id__interest_post","parameters":[{"in":"path","name":"match_id","required":true,"schema":{"format":"uuid","title":"Match Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MatchOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Tell the buyer your company is interested","tags":["market"]}},"/v1/matches/{match_id}/outcome":{"post":{"operationId":"outcome_v1_matches__match_id__outcome_post","parameters":[{"in":"path","name":"match_id","required":true,"schema":{"format":"uuid","title":"Match Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutcomeIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutcomeOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Say how a match ended (it teaches matching)","tags":["market"]}},"/v1/me":{"get":{"operationId":"me_v1_me_get","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Me"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The signed-in member","tags":["members"]}},"/v1/me/alert-preferences":{"get":{"operationId":"preferences_v1_me_alert_preferences_get","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PreferenceOut"},"title":"Response Preferences V1 Me Alert Preferences Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Preferences","tags":["alerts"]}},"/v1/me/alert-preferences/{kind}":{"put":{"operationId":"set_preference_v1_me_alert_preferences__kind__put","parameters":[{"in":"path","name":"kind","required":true,"schema":{"$ref":"#/components/schemas/PreferenceKind"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreferenceIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PreferenceOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"How often alerts, opportunities or nudges come by e-mail (e-mail also needs the alerts consent)","tags":["alerts"]}},"/v1/me/alerts":{"get":{"operationId":"inbox_v1_me_alerts_get","parameters":[{"in":"query","name":"unread_only","required":false,"schema":{"default":false,"title":"Unread Only","type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"maxLength":256,"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Inbox"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"My alerts, newest first","tags":["alerts"]}},"/v1/me/alerts/read":{"post":{"operationId":"read_v1_me_alerts_read_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReadOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Mark alerts as read","tags":["alerts"]}},"/v1/me/companies/{company_id}/upstream":{"get":{"operationId":"upstream_v1_me_companies__company_id__upstream_get","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"query","name":"lang","required":false,"schema":{"anyOf":[{"pattern":"^(tr|en|ar|fa)$","type":"string"},{"type":"null"}],"title":"Lang"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Upstream"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"A company's inputs and the open needs its goods go into, by Birlesa's own table","tags":["market"]}},"/v1/me/deletion":{"post":{"operationId":"request_deletion_v1_me_deletion_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeletionIn"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DataRequestOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Ask for the account to be deleted (an erasure request administrators carry out)","tags":["members"]}},"/v1/me/export":{"get":{"operationId":"export_v1_me_export_get","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{}}},"description":"The document"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"A copy of my personal data (KVKK right of access), as a JSON download","tags":["members"]}},"/v1/me/kind":{"post":{"operationId":"choose_kind_v1_me_kind_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KindIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KindOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Already chosen (it never changes)"}},"summary":"Choose the account's kind, once: personal (one personal organization) or business","tags":["members"]}},"/v1/me/notification-preferences":{"get":{"operationId":"notification_preferences_v1_me_notification_preferences_get","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationPreferencesOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Which notices come by e-mail and WhatsApp","tags":["alerts"]},"put":{"operationId":"set_notification_preferences_v1_me_notification_preferences_put","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationPreferencesIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotificationPreferencesOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Switch notices on or off per channel (consent still decides)","tags":["alerts"]}},"/v1/me/product-alerts":{"get":{"description":"``code``: one product's alerts only. An alert whose row is gone is left out.","operationId":"product_alerts_v1_me_product_alerts_get","parameters":[{"in":"query","name":"code","required":false,"schema":{"anyOf":[{"maxLength":24,"type":"string"},{"type":"null"}],"title":"Code"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"maxLength":256,"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"language","required":false,"schema":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductAlertsOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Alerts about the products I follow, newest first","tags":["alerts"]}},"/v1/me/product-alerts/read":{"post":{"operationId":"read_v1_me_product_alerts_read_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductAlertsReadIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductAlertsReadOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Mark alerts about my products as read","tags":["alerts"]}},"/v1/me/products":{"get":{"operationId":"products_v1_me_products_get","parameters":[{"in":"query","name":"language","required":false,"schema":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductsOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The products I follow","tags":["alerts"]},"post":{"description":"201 when followed now; 200 when it already was (nothing changes). 400 ``invalid_code``\nfor another shape, ``unknown_code`` for a code the tariff lacks; 409\n``too_many_products`` past ``MAX_FOLLOWS``.","operationId":"follow_v1_me_products_post","parameters":[{"in":"query","name":"language","required":false,"schema":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFollowIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductOut"}}},"description":"OK"},"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"}},"summary":"Follow a product by its code: alerts about it from now on","tags":["alerts"]}},"/v1/me/products/from-companies":{"get":{"operationId":"company_products_v1_me_products_from_companies_get","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyProductsOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The headings the companies I manage state, and which of them I follow","tags":["alerts"]},"post":{"description":"Follows every stated heading a click would follow (``to_follow``), within the member's\nroom; the answer is the reading after it, with what was followed (``added``).","operationId":"follow_company_products_v1_me_products_from_companies_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyProductsIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanyProductsOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Follow, in one click, the headings the companies I manage state","tags":["alerts"]}},"/v1/me/products/{code}":{"delete":{"operationId":"unfollow_v1_me_products__code__delete","parameters":[{"in":"path","name":"code","required":true,"schema":{"title":"Code","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"Stop following a product (its alerts so far stay until they age out)","tags":["alerts"]}},"/v1/me/profile":{"get":{"operationId":"get_profile_v1_me_profile_get","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Profile"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The person's profile","tags":["members"]},"put":{"operationId":"put_profile_v1_me_profile_put","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Profile"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Country, city, the site's language and the buyer's privacy switches (only the fields sent change)","tags":["members"]}},"/v1/me/quiet-hours":{"delete":{"operationId":"clear_quiet_hours_v1_me_quiet_hours_delete","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Clear Quiet Hours","tags":["alerts"]},"get":{"operationId":"quiet_hours_v1_me_quiet_hours_get","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/QuietHoursOut"},{"type":"null"}],"title":"Response Quiet Hours V1 Me Quiet Hours Get"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"When alerts wait","tags":["alerts"]},"put":{"operationId":"set_quiet_hours_v1_me_quiet_hours_put","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuietHoursIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuietHoursOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Hold alerts during these hours (codes, invitations and approvals never wait)","tags":["alerts"]}},"/v1/me/radars":{"get":{"operationId":"radars_v1_me_radars_get","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/RadarOut"},"title":"Response Radars V1 Me Radars Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"What new companies I watch for","tags":["alerts"]},"post":{"operationId":"watch_v1_me_radars_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RadarIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RadarOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Watch for newly founded companies in a province, an activity, or both","tags":["alerts"]}},"/v1/me/radars/{radar_id}":{"delete":{"operationId":"unwatch_v1_me_radars__radar_id__delete","parameters":[{"in":"path","name":"radar_id","required":true,"schema":{"format":"uuid","title":"Radar Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Unwatch","tags":["alerts"]}},"/v1/me/signals":{"get":{"description":"Matched on the HS headings each company states for its products (its page's\nproducts); a company that states none brings none.","operationId":"my_signals_v1_me_signals_get","parameters":[{"in":"query","name":"lang","required":false,"schema":{"anyOf":[{"enum":["tr","en","ar","fa"],"type":"string"},{"type":"null"}],"title":"Lang"}},{"in":"query","name":"limit","required":false,"schema":{"default":6,"maximum":20,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyingSignalsForMember"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The buying signals for the products of the companies you manage, best first","tags":["signals"]}},"/v1/me/whatsapp":{"delete":{"operationId":"unlink_number_v1_me_whatsapp_delete","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Unlink Number","tags":["whatsapp"]},"get":{"operationId":"linked_v1_me_whatsapp_get","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Linked","tags":["whatsapp"]},"post":{"operationId":"link_number_v1_me_whatsapp_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkIn"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Link a number: a code goes to it on WhatsApp","tags":["whatsapp"]}},"/v1/me/whatsapp/verify":{"post":{"operationId":"verify_code_v1_me_whatsapp_verify_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CodeIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Verify Code","tags":["whatsapp"]}},"/v1/media/{media_id}/{size}":{"get":{"operationId":"media_image_v1_media__media_id___size__get","parameters":[{"in":"path","name":"media_id","required":true,"schema":{"format":"uuid","title":"Media Id","type":"string"}},{"in":"path","name":"size","required":true,"schema":{"pattern":"^(lg|md|sm)$","title":"Size","type":"string"}}],"responses":{"200":{"content":{"image/webp":{}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"An image of a company page (WebP, redrawn by the platform)","tags":["company pages"]}},"/v1/needs":{"get":{"operationId":"my_needs_v1_needs_get","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/NeedOut"},"title":"Response My Needs V1 Needs Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Your organizations' needs","tags":["market"]},"post":{"operationId":"submit_need_v1_needs_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NeedIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NeedOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Post what your organization wants to buy","tags":["market"]}},"/v1/needs/preview":{"post":{"description":"The buying assistant reads your words into a draft for you to check; codes come\nfrom the platform's mapper. Each reading counts against the organization's\n``need_previews_per_day``; with the assistants off (``agent_unavailable``) the full\nform does the same work.","operationId":"preview_v1_needs_preview_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NeedPreviewIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NeedDraft"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Read what you want, in your own words, into a draft need (nothing is posted)","tags":["market"]}},"/v1/needs/{need_id}":{"get":{"operationId":"my_need_v1_needs__need_id__get","parameters":[{"in":"path","name":"need_id","required":true,"schema":{"format":"uuid","title":"Need Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NeedOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"One of your organizations' needs","tags":["market"]},"patch":{"operationId":"edit_need_v1_needs__need_id__patch","parameters":[{"in":"path","name":"need_id","required":true,"schema":{"format":"uuid","title":"Need Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NeedPatch"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NeedOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Change a need's title, deadline, purpose or details (its author, owners and admins)","tags":["market"]}},"/v1/needs/{need_id}/choose":{"post":{"description":"Until ``chosen.undo_until`` nobody hears of it. Then the chosen supplier learns your\norganization's name and your name and e-mail as your sign-in gives them, and the\nother suppliers are thanked. Accepting the quote stays the binding step.","operationId":"choose_v1_needs__need_id__choose_post","parameters":[{"in":"path","name":"need_id","required":true,"schema":{"format":"uuid","title":"Need Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChooseIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NeedOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Choose a supplier's offer (undoable for 15 minutes; it accepts nothing)","tags":["market"]}},"/v1/needs/{need_id}/choose/undo":{"post":{"operationId":"undo_choice_v1_needs__need_id__choose_undo_post","parameters":[{"in":"path","name":"need_id","required":true,"schema":{"format":"uuid","title":"Need Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NeedOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Take back the choice of a supplier, before its window ends","tags":["market"]}},"/v1/needs/{need_id}/close":{"post":{"operationId":"close_need_v1_needs__need_id__close_post","parameters":[{"in":"path","name":"need_id","required":true,"schema":{"format":"uuid","title":"Need Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NeedOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Take a need down (bought elsewhere, or no longer buying)","tags":["market"]}},"/v1/needs/{need_id}/extend":{"post":{"operationId":"extend_need_v1_needs__need_id__extend_post","parameters":[{"in":"path","name":"need_id","required":true,"schema":{"format":"uuid","title":"Need Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtendIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NeedOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Give a need more time for offers (its author, owners and admins)","tags":["market"]}},"/v1/needs/{need_id}/federated-proposals":{"get":{"operationId":"proposals_v1_needs__need_id__federated_proposals_get","parameters":[{"in":"path","name":"need_id","required":true,"schema":{"format":"uuid","title":"Need Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/FederatedProposalOut"},"title":"Response Proposals V1 Needs  Need Id  Federated Proposals Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Companies of peer regions proposed for a shared need (counter-offers)","tags":["federation"]}},"/v1/needs/{need_id}/federation":{"post":{"operationId":"share_v1_needs__need_id__federation_post","parameters":[{"in":"path","name":"need_id","required":true,"schema":{"format":"uuid","title":"Need Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FederationShareIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FederationShareOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Share","tags":["federation"]}},"/v1/needs/{need_id}/invites":{"post":{"description":"A company managed here gets a request for quotes opened by an invitation in its\nlanguage (your organization's name only when the need shows it); one nobody manages\nyet gets an invitation held for it. Each company once per need: asking again returns\nthe invitation already made.","operationId":"invite_suppliers_v1_needs__need_id__invites_post","parameters":[{"in":"path","name":"need_id","required":true,"schema":{"format":"uuid","title":"Need Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NeedInvitesIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NeedInvitesOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Invite matched suppliers to an open need (its author, owners and admins)","tags":["market"]}},"/v1/needs/{need_id}/mandate":{"delete":{"operationId":"delete_mandate_v1_needs__need_id__mandate_delete","parameters":[{"in":"path","name":"need_id","required":true,"schema":{"format":"uuid","title":"Need Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Stop negotiating for a need: its mandate, drafts and waiting steps go","tags":["negotiation"]},"get":{"operationId":"get_mandate_v1_needs__need_id__mandate_get","parameters":[{"in":"path","name":"need_id","required":true,"schema":{"format":"uuid","title":"Need Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MandateOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The negotiator's limits for a need (its author, owners and admins)","tags":["negotiation"]},"put":{"description":"The target and ceiling unit prices (the ceiling at least 3% above the target), rounds,\nthe latest delivery and the most prepayment, and whether counter-offers up to 3% above\nthe target go out on their own (``auto``, owners and admins only). Its limits stay your\norganization's: never told to a supplier, nor to any assistant.","operationId":"put_mandate_v1_needs__need_id__mandate_put","parameters":[{"in":"path","name":"need_id","required":true,"schema":{"format":"uuid","title":"Need Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MandateIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MandateOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Set the negotiator's limits for a need (its author, owners and admins)","tags":["negotiation"]}},"/v1/needs/{need_id}/offers":{"get":{"description":"Each supplier's latest offer about the need, across its conversations, and the\ncheapest, fastest and best of those that still stand. Prices are compared only\nwithin one currency.","operationId":"need_offers_v1_needs__need_id__offers_get","parameters":[{"in":"path","name":"need_id","required":true,"schema":{"format":"uuid","title":"Need Id","type":"string"}},{"in":"query","name":"sort","required":false,"schema":{"default":"best","enum":["best","price","fast"],"title":"Sort","type":"string"}},{"in":"query","name":"verified_only","required":false,"schema":{"default":false,"title":"Verified Only","type":"boolean"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Offers"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"A need's offers side by side, compared (its author, owners and admins)","tags":["market"]}},"/v1/needs/{need_id}/stats":{"get":{"operationId":"need_stats_v1_needs__need_id__stats_get","parameters":[{"in":"path","name":"need_id","required":true,"schema":{"format":"uuid","title":"Need Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NeedStats"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Who a need reached and how they answered (its author, owners and admins)","tags":["market"]}},"/v1/needs/{need_id}/suppliers":{"get":{"operationId":"suppliers_v1_needs__need_id__suppliers_get","parameters":[{"in":"path","name":"need_id","required":true,"schema":{"format":"uuid","title":"Need Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SupplierOut"},"title":"Response Suppliers V1 Needs  Need Id  Suppliers Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Suppliers matched to one of your needs, best first","tags":["market"]}},"/v1/needs/{need_id}/tips":{"get":{"description":"Worked out from the need's own data, without a model.","operationId":"need_tips_v1_needs__need_id__tips_get","parameters":[{"in":"path","name":"need_id","required":true,"schema":{"format":"uuid","title":"Need Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Tips"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"What would bring a need more offers (its author, owners and admins)","tags":["market"]}},"/v1/negotiations":{"get":{"description":"As buyer or supplier, newest first: the round, the latest terms, the next step and\nwhose approval waits.","operationId":"listed_v1_negotiations_get","parameters":[{"in":"query","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/NegotiationOut"},"title":"Response Listed V1 Negotiations Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Your organization's negotiations that run or wait for approvals","tags":["negotiation"]},"post":{"description":"Both negotiators run at once, inside your mandate and the supplier's rules, from its\nlatest offer (or its rules' prices): the result is a proposal, the terms they reached\nor else the supplier's last offer, which waits for one of the supplier's managers (72\nhours). You see its terms once one of them approved; then you (the need's author, an\nowner or an admin) approve or decline them within 72 hours. Nothing binds before both.\nYour plan sets how many run at a time, counting yours in every organization you belong\nto; with one supplier you start at most three a day (with those of your\norganizations), and a need tries at most three mandates with it.","operationId":"start_v1_negotiations_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NegotiationIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NegotiationOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Let your negotiator and the supplier's agree terms at once (nothing binds yet)","tags":["negotiation"]}},"/v1/negotiations/{negotiation_id}":{"get":{"operationId":"one_v1_negotiations__negotiation_id__get","parameters":[{"in":"path","name":"negotiation_id","required":true,"schema":{"format":"uuid","title":"Negotiation Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NegotiationOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"One negotiation, as your side sees it, with its transcript","tags":["negotiation"]}},"/v1/negotiations/{negotiation_id}/approve":{"post":{"description":"One of the supplier's managers first, then the buyer's need's author, owners and\nadmins (``waiting_for_supplier`` before that). Once both approved, the supplier's quote\ngoes out on the terms; a buyer owner's or admin's approval accepts it (the deal), a\nmember's leaves it for one of them to accept.","operationId":"approve_v1_negotiations__negotiation_id__approve_post","parameters":[{"in":"path","name":"negotiation_id","required":true,"schema":{"format":"uuid","title":"Negotiation Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NegotiationOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Approve a negotiation's terms for your side (both sides' approvals bind)","tags":["negotiation"]}},"/v1/negotiations/{negotiation_id}/decline":{"post":{"operationId":"decline_v1_negotiations__negotiation_id__decline_post","parameters":[{"in":"path","name":"negotiation_id","required":true,"schema":{"format":"uuid","title":"Negotiation Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NegotiationOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Decline a negotiation's terms (either side)","tags":["negotiation"]}},"/v1/opportunities":{"get":{"description":"With ``lang``, each title also in that language (``translated_title``): the source's\nown translation, else a machine translation, asked for the first time a reader of that\nlanguage lists it and shown from a later reading on; never an error.","operationId":"list_opportunities_v1_opportunities_get","parameters":[{"in":"query","name":"city","required":false,"schema":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"title":"City"}},{"in":"query","name":"product","required":false,"schema":{"anyOf":[{"pattern":"^(hs|gtip|nace|cpv):[0-9A-Z][0-9.]{0,15}$","type":"string"},{"type":"null"}],"title":"Product"}},{"description":"An HS or GTİP code (2 to 12 digits): needs with an item under its chapter, heading or HS subheading (a longer code by its first six digits).","in":"query","name":"hs","required":false,"schema":{"anyOf":[{"pattern":"^[0-9]{2}(?:[0-9]{2}){0,5}$","type":"string"},{"type":"null"}],"description":"An HS or GTİP code (2 to 12 digits): needs with an item under its chapter, heading or HS subheading (a longer code by its first six digits).","title":"Hs"}},{"in":"query","name":"country","required":false,"schema":{"anyOf":[{"pattern":"^[A-Z]{2}$","type":"string"},{"type":"null"}],"title":"Country"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"maxLength":256,"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"maximum":50,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"relevance","required":false,"schema":{"default":"supply","enum":["supply","low","all"],"title":"Relevance","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"default":"all","enum":["home","abroad","all"],"title":"Scope","type":"string"}},{"in":"query","name":"sector","required":false,"schema":{"anyOf":[{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},{"type":"null"}],"title":"Sector"}},{"description":"One level of the \"suitable for a Turkish company\" label (``open``: open to Turkish companies as of right), or ``unlabelled``: the needs no official rule read covers.","in":"query","name":"eligibility","required":false,"schema":{"anyOf":[{"enum":["open","likely_open","buyer_decides","restricted","unlabelled"],"type":"string"},{"type":"null"}],"description":"One level of the \"suitable for a Turkish company\" label (``open``: open to Turkish companies as of right), or ``unlabelled``: the needs no official rule read covers.","title":"Eligibility"}},{"description":"One card type (``open_tender``, ``purchase_request``, ``contractor_purchase``, ``supplier_switch``, ``project``); without it, the announced needs only (open tenders and requests): a predicted one is read under its own type.","in":"query","name":"type","required":false,"schema":{"anyOf":[{"enum":["open_tender","contractor_purchase","supplier_switch","project","purchase_request"],"type":"string"},{"type":"null"}],"description":"One card type (``open_tender``, ``purchase_request``, ``contractor_purchase``, ``supplier_switch``, ``project``); without it, the announced needs only (open tenders and requests): a predicted one is read under its own type.","title":"Type"}},{"description":"``newest`` (the default): the region's own first, then the other countries' in turn, newest first. ``open_first``: those open to Turkish companies first, then the rest, each in that order. A cursor keeps the order it was made in.","in":"query","name":"sort","required":false,"schema":{"$ref":"#/components/schemas/Sort","default":"newest","description":"``newest`` (the default): the region's own first, then the other countries' in turn, newest first. ``open_first``: those open to Turkish companies first, then the rest, each in that order. A cursor keeps the order it was made in."}},{"description":"The reader's language: titles come with their translation into it.","in":"query","name":"lang","required":false,"schema":{"anyOf":[{"enum":["tr","en","ar","fa"],"type":"string"},{"type":"null"}],"description":"The reader's language: titles come with their translation into it.","title":"Lang"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpportunityList"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Open public needs: the region's own first, then the other countries' in turn","tags":["opportunities"]}},"/v1/opportunities/countries":{"get":{"operationId":"list_countries_v1_opportunities_countries_get","parameters":[{"in":"query","name":"relevance","required":false,"schema":{"default":"supply","enum":["supply","low","all"],"title":"Relevance","type":"string"}},{"in":"query","name":"sector","required":false,"schema":{"anyOf":[{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},{"type":"null"}],"title":"Sector"}},{"description":"One level of the \"suitable for a Turkish company\" label (``open``: open to Turkish companies as of right), or ``unlabelled``: the needs no official rule read covers.","in":"query","name":"eligibility","required":false,"schema":{"anyOf":[{"enum":["open","likely_open","buyer_decides","restricted","unlabelled"],"type":"string"},{"type":"null"}],"description":"One level of the \"suitable for a Turkish company\" label (``open``: open to Turkish companies as of right), or ``unlabelled``: the needs no official rule read covers.","title":"Eligibility"}},{"description":"One card type (``open_tender``, ``purchase_request``, ``contractor_purchase``, ``supplier_switch``, ``project``); without it, the announced needs only (open tenders and requests): a predicted one is read under its own type.","in":"query","name":"type","required":false,"schema":{"anyOf":[{"enum":["open_tender","contractor_purchase","supplier_switch","project","purchase_request"],"type":"string"},{"type":"null"}],"description":"One card type (``open_tender``, ``purchase_request``, ``contractor_purchase``, ``supplier_switch``, ``project``); without it, the announced needs only (open tenders and requests): a predicted one is read under its own type.","title":"Type"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpportunityCountries"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"How many open public needs the board has from each buyer's country","tags":["opportunities"]}},"/v1/opportunities/eligibility":{"get":{"description":"The board's own filters, but for the level: what each level (``eligibility``) would\nleave of the board.","operationId":"list_eligibility_v1_opportunities_eligibility_get","parameters":[{"in":"query","name":"city","required":false,"schema":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"title":"City"}},{"in":"query","name":"product","required":false,"schema":{"anyOf":[{"pattern":"^(hs|gtip|nace|cpv):[0-9A-Z][0-9.]{0,15}$","type":"string"},{"type":"null"}],"title":"Product"}},{"description":"An HS or GTİP code (2 to 12 digits): needs with an item under its chapter, heading or HS subheading (a longer code by its first six digits).","in":"query","name":"hs","required":false,"schema":{"anyOf":[{"pattern":"^[0-9]{2}(?:[0-9]{2}){0,5}$","type":"string"},{"type":"null"}],"description":"An HS or GTİP code (2 to 12 digits): needs with an item under its chapter, heading or HS subheading (a longer code by its first six digits).","title":"Hs"}},{"in":"query","name":"country","required":false,"schema":{"anyOf":[{"pattern":"^[A-Z]{2}$","type":"string"},{"type":"null"}],"title":"Country"}},{"in":"query","name":"relevance","required":false,"schema":{"default":"supply","enum":["supply","low","all"],"title":"Relevance","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"default":"all","enum":["home","abroad","all"],"title":"Scope","type":"string"}},{"in":"query","name":"sector","required":false,"schema":{"anyOf":[{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},{"type":"null"}],"title":"Sector"}},{"description":"One card type (``open_tender``, ``purchase_request``, ``contractor_purchase``, ``supplier_switch``, ``project``); without it, the announced needs only (open tenders and requests): a predicted one is read under its own type.","in":"query","name":"type","required":false,"schema":{"anyOf":[{"enum":["open_tender","contractor_purchase","supplier_switch","project","purchase_request"],"type":"string"},{"type":"null"}],"description":"One card type (``open_tender``, ``purchase_request``, ``contractor_purchase``, ``supplier_switch``, ``project``); without it, the announced needs only (open tenders and requests): a predicted one is read under its own type.","title":"Type"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpportunityEligibilityCounts"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"How many open public needs each level of the \"suitable for a Turkish company\" label has, under the board's filters","tags":["opportunities"]}},"/v1/opportunities/sectors":{"get":{"operationId":"list_sectors_v1_opportunities_sectors_get","parameters":[{"in":"query","name":"relevance","required":false,"schema":{"default":"supply","enum":["supply","low","all"],"title":"Relevance","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"default":"all","enum":["home","abroad","all"],"title":"Scope","type":"string"}},{"in":"query","name":"country","required":false,"schema":{"anyOf":[{"pattern":"^[A-Z]{2}$","type":"string"},{"type":"null"}],"title":"Country"}},{"description":"One level of the \"suitable for a Turkish company\" label (``open``: open to Turkish companies as of right), or ``unlabelled``: the needs no official rule read covers.","in":"query","name":"eligibility","required":false,"schema":{"anyOf":[{"enum":["open","likely_open","buyer_decides","restricted","unlabelled"],"type":"string"},{"type":"null"}],"description":"One level of the \"suitable for a Turkish company\" label (``open``: open to Turkish companies as of right), or ``unlabelled``: the needs no official rule read covers.","title":"Eligibility"}},{"description":"One card type (``open_tender``, ``purchase_request``, ``contractor_purchase``, ``supplier_switch``, ``project``); without it, the announced needs only (open tenders and requests): a predicted one is read under its own type.","in":"query","name":"type","required":false,"schema":{"anyOf":[{"enum":["open_tender","contractor_purchase","supplier_switch","project","purchase_request"],"type":"string"},{"type":"null"}],"description":"One card type (``open_tender``, ``purchase_request``, ``contractor_purchase``, ``supplier_switch``, ``project``); without it, the announced needs only (open tenders and requests): a predicted one is read under its own type.","title":"Type"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpportunitySectors"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"How many open public needs each sector group has","tags":["opportunities"]}},"/v1/opportunities/types":{"get":{"operationId":"list_types_v1_opportunities_types_get","parameters":[{"in":"query","name":"city","required":false,"schema":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"title":"City"}},{"in":"query","name":"product","required":false,"schema":{"anyOf":[{"pattern":"^(hs|gtip|nace|cpv):[0-9A-Z][0-9.]{0,15}$","type":"string"},{"type":"null"}],"title":"Product"}},{"description":"An HS or GTİP code (2 to 12 digits): needs with an item under its chapter, heading or HS subheading (a longer code by its first six digits).","in":"query","name":"hs","required":false,"schema":{"anyOf":[{"pattern":"^[0-9]{2}(?:[0-9]{2}){0,5}$","type":"string"},{"type":"null"}],"description":"An HS or GTİP code (2 to 12 digits): needs with an item under its chapter, heading or HS subheading (a longer code by its first six digits).","title":"Hs"}},{"in":"query","name":"country","required":false,"schema":{"anyOf":[{"pattern":"^[A-Z]{2}$","type":"string"},{"type":"null"}],"title":"Country"}},{"in":"query","name":"relevance","required":false,"schema":{"default":"supply","enum":["supply","low","all"],"title":"Relevance","type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"default":"all","enum":["home","abroad","all"],"title":"Scope","type":"string"}},{"in":"query","name":"sector","required":false,"schema":{"anyOf":[{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},{"type":"null"}],"title":"Sector"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpportunityTypeCounts"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"How many open public needs each card type has under the board's filters: the announced ones, and each predicted type read on its own","tags":["opportunities"]}},"/v1/opportunities/{need_id}":{"get":{"description":"With ``lang``, its title also in that language (``translated_title``), as on the\nboard.","operationId":"get_opportunity_v1_opportunities__need_id__get","parameters":[{"in":"path","name":"need_id","required":true,"schema":{"format":"uuid","title":"Need Id","type":"string"}},{"description":"The reader's language: titles come with their translation into it.","in":"query","name":"lang","required":false,"schema":{"anyOf":[{"enum":["tr","en","ar","fa"],"type":"string"},{"type":"null"}],"description":"The reader's language: titles come with their translation into it.","title":"Lang"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Opportunity"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"One public need with its items and official source","tags":["opportunities"]}},"/v1/org/deals":{"get":{"operationId":"deals_v1_org_deals_get","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/DealListed"},"title":"Response Deals V1 Org Deals Get","type":"array"}}},"description":"Successful Response"}},"summary":"The organization's deals","tags":["integrations"]}},"/v1/org/deals/{deal_id}":{"get":{"operationId":"deal_v1_org_deals__deal_id__get","parameters":[{"in":"path","name":"deal_id","required":true,"schema":{"format":"uuid","title":"Deal Id","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DealListed"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Deal","tags":["integrations"]}},"/v1/org/escrows/{escrow_id}":{"get":{"operationId":"escrow_v1_org_escrows__escrow_id__get","parameters":[{"in":"path","name":"escrow_id","required":true,"schema":{"format":"uuid","title":"Escrow Id","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EscrowOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Escrow","tags":["integrations"]}},"/v1/org/matches":{"get":{"operationId":"matches_v1_org_matches_get","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/MatchOut"},"title":"Response Matches V1 Org Matches Get","type":"array"}}},"description":"Successful Response"}},"summary":"Needs matched to its companies","tags":["integrations"]}},"/v1/org/needs":{"get":{"operationId":"needs_v1_org_needs_get","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/NeedOut"},"title":"Response Needs V1 Org Needs Get","type":"array"}}},"description":"Successful Response"}},"summary":"The organization's needs","tags":["integrations"]}},"/v1/org/needs/{need_id}":{"get":{"operationId":"need_v1_org_needs__need_id__get","parameters":[{"in":"path","name":"need_id","required":true,"schema":{"format":"uuid","title":"Need Id","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NeedOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Need","tags":["integrations"]}},"/v1/org/needs/{need_id}/suppliers":{"get":{"description":"The suppliers matched to one of the organization's needs, best first.","operationId":"suppliers_v1_org_needs__need_id__suppliers_get","parameters":[{"in":"path","name":"need_id","required":true,"schema":{"format":"uuid","title":"Need Id","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SupplierOut"},"title":"Response Suppliers V1 Org Needs  Need Id  Suppliers Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Suppliers","tags":["integrations"]}},"/v1/org/quotes/{quote_id}":{"get":{"operationId":"quote_v1_org_quotes__quote_id__get","parameters":[{"in":"path","name":"quote_id","required":true,"schema":{"format":"uuid","title":"Quote Id","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Quote","tags":["integrations"]}},"/v1/org/service-requests/{request_id}":{"get":{"description":"As the requester, or as a provider the request was sent to.","operationId":"service_request_v1_org_service_requests__request_id__get","parameters":[{"in":"path","name":"request_id","required":true,"schema":{"format":"uuid","title":"Request Id","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceRequestOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Service Request","tags":["integrations"]}},"/v1/org/shipments/{shipment_id}":{"get":{"operationId":"shipment_v1_org_shipments__shipment_id__get","parameters":[{"in":"path","name":"shipment_id","required":true,"schema":{"format":"uuid","title":"Shipment Id","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShipmentOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Shipment","tags":["integrations"]}},"/v1/orgs":{"post":{"operationId":"create_org_v1_orgs_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewOrg"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrgOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Create Org","tags":["members"]}},"/v1/orgs/{org_id}/api-keys":{"get":{"operationId":"list_keys_v1_orgs__org_id__api_keys_get","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/KeyOut"},"title":"Response List Keys V1 Orgs  Org Id  Api Keys Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"List Keys","tags":["members"]},"post":{"operationId":"issue_key_v1_orgs__org_id__api_keys_post","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IssuedKeyOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Issue an API key for the public API and the MCP server (shown once)","tags":["members"]}},"/v1/orgs/{org_id}/api-keys/{key_id}":{"delete":{"operationId":"revoke_key_v1_orgs__org_id__api_keys__key_id__delete","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"path","name":"key_id","required":true,"schema":{"format":"uuid","title":"Key Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Revoke Key","tags":["members"]}},"/v1/orgs/{org_id}/api-keys/{key_id}/usage":{"get":{"operationId":"key_usage_v1_orgs__org_id__api_keys__key_id__usage_get","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"path","name":"key_id","required":true,"schema":{"format":"uuid","title":"Key Id","type":"string"}},{"in":"query","name":"days","required":false,"schema":{"default":30,"maximum":366,"minimum":1,"title":"Days","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/KeyUsageOut"},"title":"Response Key Usage V1 Orgs  Org Id  Api Keys  Key Id  Usage Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Requests made with a key, per day (counted within about a minute)","tags":["members"]}},"/v1/orgs/{org_id}/api-usage":{"get":{"description":"What API invoices are built from, when a plan prices API use.","operationId":"org_usage_v1_orgs__org_id__api_usage_get","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"query","name":"month","required":false,"schema":{"anyOf":[{"pattern":"^\\d{4}-(0[1-9]|1[0-2])$","type":"string"},{"type":"null"}],"title":"Month"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrgUsageOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The organization's API requests in a month, per key and OAuth client","tags":["members"]}},"/v1/orgs/{org_id}/approvals":{"get":{"description":"What waits for the organization's managers, the longest waiting first, a page at a\ntime: ``limit`` of them (50 when left out, at most 100); for the next page, pass the\nlast one's ``id`` as ``after``.","operationId":"waiting_v1_orgs__org_id__approvals_get","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"anyOf":[{"maximum":100,"minimum":1,"type":"integer"},{"type":"null"}],"title":"Limit"}},{"in":"query","name":"after","required":false,"schema":{"anyOf":[{"format":"uuid","type":"string"},{"type":"null"}],"title":"After"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ApprovalOut"},"title":"Response Waiting V1 Orgs  Org Id  Approvals Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Waiting","tags":["selling"]}},"/v1/orgs/{org_id}/billing-profile":{"get":{"operationId":"billing_profile_v1_orgs__org_id__billing_profile_get","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingProfileOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Billing Profile","tags":["billing"]},"put":{"operationId":"save_billing_profile_v1_orgs__org_id__billing_profile_put","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingProfileIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BillingProfileOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Set the billing details Birlesa's invoices to this organization are issued to","tags":["billing"]}},"/v1/orgs/{org_id}/compliance-cases":{"get":{"operationId":"list_cases_v1_orgs__org_id__compliance_cases_get","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplianceCaseList"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The organization's export readiness cases (İhracat hazırlığım)","tags":["customs"]},"post":{"operationId":"open_case_v1_orgs__org_id__compliance_cases_post","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"query","name":"language","required":false,"schema":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplianceCaseIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComplianceCaseOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"403":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Forbidden"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"},"409":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Conflict"}},"summary":"Open a readiness case for a product of a company page the organization holds","tags":["customs"]}},"/v1/orgs/{org_id}/data-grants":{"get":{"operationId":"org_grants_v1_orgs__org_id__data_grants_get","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/DataGrantOut"},"title":"Response Org Grants V1 Orgs  Org Id  Data Grants Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Org Grants","tags":["data"]}},"/v1/orgs/{org_id}/invitations":{"get":{"operationId":"pending_v1_orgs__org_id__invitations_get","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/InvitationOut"},"title":"Response Pending V1 Orgs  Org Id  Invitations Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Pending","tags":["teams"]},"post":{"operationId":"invite_v1_orgs__org_id__invitations_post","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvitationOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Invite someone by e-mail with a role (owners: admins too; admins: the others)","tags":["teams"]}},"/v1/orgs/{org_id}/invitations/{invitation_id}":{"delete":{"operationId":"revoke_v1_orgs__org_id__invitations__invitation_id__delete","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"path","name":"invitation_id","required":true,"schema":{"format":"uuid","title":"Invitation Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Revoke","tags":["teams"]}},"/v1/orgs/{org_id}/invoices":{"get":{"operationId":"invoices_v1_orgs__org_id__invoices_get","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":200,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/InvoiceOut"},"title":"Response Invoices V1 Orgs  Org Id  Invoices Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Birlesa's invoices to you","tags":["billing"]}},"/v1/orgs/{org_id}/kyb":{"post":{"description":"A check younger than 30 days is the answer as it stands; an older one is run again,\nthough never over what a person decided (a check staff failed stays failed). What the\nscreening cannot settle goes to a person (the console's business checks).","operationId":"request_kyb_v1_orgs__org_id__kyb_post","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrgKyb"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"503":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"The checks are not available here"}},"summary":"Run the business checks (KYB) for the organization: the page's blue tick","tags":["reputation"]}},"/v1/orgs/{org_id}/members":{"get":{"operationId":"members_v1_orgs__org_id__members_get","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/MemberOut"},"title":"Response Members V1 Orgs  Org Id  Members Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The team (owners and admins also see when each member was last active)","tags":["teams"]}},"/v1/orgs/{org_id}/members/{account_id}":{"delete":{"operationId":"remove_v1_orgs__org_id__members__account_id__delete","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"path","name":"account_id","required":true,"schema":{"format":"uuid","title":"Account Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RemovedOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Remove someone, or leave (your own id); their API keys are revoked","tags":["teams"]},"put":{"operationId":"change_role_v1_orgs__org_id__members__account_id__put","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"path","name":"account_id","required":true,"schema":{"format":"uuid","title":"Account Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RoleOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Change someone's role (owners: anyone's; admins: those neither owners nor admins; an organization keeps an owner)","tags":["teams"]}},"/v1/orgs/{org_id}/oauth-clients":{"get":{"operationId":"clients_v1_orgs__org_id__oauth_clients_get","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ClientOut"},"title":"Response Clients V1 Orgs  Org Id  Oauth Clients Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Clients","tags":["oauth"]},"post":{"operationId":"create_v1_orgs__org_id__oauth_clients_post","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClientIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatedClientOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Create an OAuth client (client credentials) for a machine integration","tags":["oauth"]}},"/v1/orgs/{org_id}/oauth-clients/{client_id}":{"delete":{"operationId":"revoke_v1_orgs__org_id__oauth_clients__client_id__delete","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"path","name":"client_id","required":true,"schema":{"format":"uuid","title":"Client Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Revoke","tags":["oauth"]}},"/v1/orgs/{org_id}/plan":{"get":{"description":"The organization's plan, its limits, and how much of them is used now.","operationId":"org_plan_v1_orgs__org_id__plan_get","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrgPlanOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Org Plan","tags":["plans"]}},"/v1/orgs/{org_id}/price-index-consent":{"delete":{"description":"Months not yet computed stop using the organization's deals.","operationId":"revoke_v1_orgs__org_id__price_index_consent_delete","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PriceConsentOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Revoke","tags":["prices"]},"get":{"operationId":"consent_v1_orgs__org_id__price_index_consent_get","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PriceConsentOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Consent","tags":["prices"]},"put":{"description":"From now on: deals agreed before this are never used.","operationId":"grant_v1_orgs__org_id__price_index_consent_put","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PriceConsentOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Let the organization's agreed prices feed the index, aggregated","tags":["prices"]}},"/v1/orgs/{org_id}/seller-kpis":{"get":{"operationId":"seller_kpis_v1_orgs__org_id__seller_kpis_get","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"query","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SellerKpis"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The seller home's figures for a company page the organization holds","tags":["reputation"]}},"/v1/orgs/{org_id}/subsidy/applications":{"get":{"operationId":"applications_v1_orgs__org_id__subsidy_applications_get","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SubsidyApplicationOut"},"title":"Response Applications V1 Orgs  Org Id  Subsidy Applications Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Applications","tags":["subsidy"]},"post":{"operationId":"apply_v1_orgs__org_id__subsidy_applications_post","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubsidyApplicationIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubsidyApplicationOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Prepare an application pack; a person checks it before you file it","tags":["subsidy"]}},"/v1/orgs/{org_id}/subsidy/assessment":{"get":{"operationId":"assessment_v1_orgs__org_id__subsidy_assessment_get","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"query","name":"program_id","required":true,"schema":{"format":"uuid","title":"Program Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubsidyAssessmentOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"What a program would give now, from the verified documents, and why","tags":["subsidy"]}},"/v1/orgs/{org_id}/subsidy/documents":{"get":{"operationId":"documents_v1_orgs__org_id__subsidy_documents_get","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SubsidyDocumentOut"},"title":"Response Documents V1 Orgs  Org Id  Subsidy Documents Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Documents","tags":["subsidy"]},"post":{"operationId":"start_document_v1_orgs__org_id__subsidy_documents_post","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubsidyDocumentIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubsidyUploadOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Declare an evidence document, then upload it to the returned URL","tags":["subsidy"]}},"/v1/orgs/{org_id}/suggested-sellers":{"get":{"description":"Companies matched to the needs (including ones not on Birlesa yet) that were not\ncontacted about them before this week, one row per company; with \"only verified\nsuppliers\" on for a need's author (or for you), verified ones only.","operationId":"suggested_sellers_v1_orgs__org_id__suggested_sellers_get","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuggestedSellers"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Sellers worth inviting to the organization's open needs, this week","tags":["market"]}},"/v1/orgs/{org_id}/webhooks":{"get":{"operationId":"webhooks_v1_orgs__org_id__webhooks_get","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/WebhookOut"},"title":"Response Webhooks V1 Orgs  Org Id  Webhooks Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Webhooks","tags":["webhooks"]},"post":{"operationId":"create_v1_orgs__org_id__webhooks_post","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatedWebhookOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Create","tags":["webhooks"]}},"/v1/orgs/{org_id}/webhooks/{webhook_id}":{"delete":{"operationId":"remove_v1_orgs__org_id__webhooks__webhook_id__delete","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"path","name":"webhook_id","required":true,"schema":{"format":"uuid","title":"Webhook Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Remove","tags":["webhooks"]},"get":{"operationId":"webhook_v1_orgs__org_id__webhooks__webhook_id__get","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"path","name":"webhook_id","required":true,"schema":{"format":"uuid","title":"Webhook Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Webhook","tags":["webhooks"]},"patch":{"operationId":"change_v1_orgs__org_id__webhooks__webhook_id__patch","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"path","name":"webhook_id","required":true,"schema":{"format":"uuid","title":"Webhook Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookChange"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Change","tags":["webhooks"]}},"/v1/orgs/{org_id}/webhooks/{webhook_id}/deliveries":{"get":{"operationId":"deliveries_v1_orgs__org_id__webhooks__webhook_id__deliveries_get","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"path","name":"webhook_id","required":true,"schema":{"format":"uuid","title":"Webhook Id","type":"string"}},{"in":"query","name":"status","required":false,"schema":{"anyOf":[{"enum":["pending","delivered","failed"],"type":"string"},{"type":"null"}],"title":"Status"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/WebhookDeliveryOut"},"title":"Response Deliveries V1 Orgs  Org Id  Webhooks  Webhook Id  Deliveries Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Deliveries","tags":["webhooks"]}},"/v1/orgs/{org_id}/webhooks/{webhook_id}/deliveries/{delivery_id}/retry":{"post":{"operationId":"retry_v1_orgs__org_id__webhooks__webhook_id__deliveries__delivery_id__retry_post","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"path","name":"webhook_id","required":true,"schema":{"format":"uuid","title":"Webhook Id","type":"string"}},{"in":"path","name":"delivery_id","required":true,"schema":{"format":"uuid","title":"Delivery Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDeliveryOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Retry","tags":["webhooks"]}},"/v1/orgs/{org_id}/webhooks/{webhook_id}/rotate":{"post":{"operationId":"rotate_v1_orgs__org_id__webhooks__webhook_id__rotate_post","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"path","name":"webhook_id","required":true,"schema":{"format":"uuid","title":"Webhook Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookSecretOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Rotate","tags":["webhooks"]}},"/v1/orgs/{org_id}/webhooks/{webhook_id}/test":{"post":{"description":"Queue a ``webhook.test`` delivery; its outcome shows in the delivery history.","operationId":"test_v1_orgs__org_id__webhooks__webhook_id__test_post","parameters":[{"in":"path","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"path","name":"webhook_id","required":true,"schema":{"format":"uuid","title":"Webhook Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDeliveryOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Test","tags":["webhooks"]}},"/v1/outreach/unsubscribe":{"post":{"description":"``t``: the message's sealed token. The page's button posts it, and so does a mail\nclient's one-click (RFC 8058, whatever body it sends: none is read).","operationId":"unsubscribe_v1_outreach_unsubscribe_post","parameters":[{"in":"query","name":"t","required":true,"schema":{"maxLength":512,"minLength":10,"title":"T","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OutreachUnsubscribed"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"A message's \"send no more\": the address hears no more from Birlesa","tags":["buyer pages"]}},"/v1/ownership-claims":{"get":{"operationId":"list_claims_v1_ownership_claims_get","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ClaimOut"},"title":"Response List Claims V1 Ownership Claims Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"List Claims","tags":["members"]},"post":{"operationId":"open_claim_v1_ownership_claims_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewClaim"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Claim a company page for an organization (a page someone holds: contested)","tags":["members"]}},"/v1/ownership-claims/{claim_id}":{"get":{"operationId":"get_claim_v1_ownership_claims__claim_id__get","parameters":[{"in":"path","name":"claim_id","required":true,"schema":{"format":"uuid","title":"Claim Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Get Claim","tags":["members"]}},"/v1/ownership-claims/{claim_id}/evidence":{"get":{"operationId":"list_evidence_v1_ownership_claims__claim_id__evidence_get","parameters":[{"in":"path","name":"claim_id","required":true,"schema":{"format":"uuid","title":"Claim Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ClaimEvidenceOut"},"title":"Response List Evidence V1 Ownership Claims  Claim Id  Evidence Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The claim's evidence files (never their content)","tags":["members"]},"post":{"operationId":"add_evidence_v1_ownership_claims__claim_id__evidence_post","parameters":[{"in":"path","name":"claim_id","required":true,"schema":{"format":"uuid","title":"Claim Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimEvidenceIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimEvidenceUploadOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Add evidence (PDF, JPEG or PNG): declare it, then upload to the returned URL","tags":["members"]}},"/v1/ownership-claims/{claim_id}/evidence/{evidence_id}/complete":{"post":{"operationId":"complete_evidence_v1_ownership_claims__claim_id__evidence__evidence_id__complete_post","parameters":[{"in":"path","name":"claim_id","required":true,"schema":{"format":"uuid","title":"Claim Id","type":"string"}},{"in":"path","name":"evidence_id","required":true,"schema":{"format":"uuid","title":"Evidence Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimEvidenceOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"After the upload: the file is checked in a sandbox and kept (or rejected)","tags":["members"]}},"/v1/ownership-claims/{claim_id}/resend":{"post":{"operationId":"resend_code_v1_ownership_claims__claim_id__resend_post","parameters":[{"in":"path","name":"claim_id","required":true,"schema":{"format":"uuid","title":"Claim Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"202":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Resend Code","tags":["members"]}},"/v1/ownership-claims/{claim_id}/transfer":{"post":{"operationId":"report_transfer_v1_ownership_claims__claim_id__transfer_post","parameters":[{"in":"path","name":"claim_id","required":true,"schema":{"format":"uuid","title":"Claim Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransferReportOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Say the transfer was sent: the bank feed looks for it, else a reviewer confirms it","tags":["members"]}},"/v1/ownership-claims/{claim_id}/verify":{"post":{"operationId":"verify_claim_v1_ownership_claims__claim_id__verify_post","parameters":[{"in":"path","name":"claim_id","required":true,"schema":{"format":"uuid","title":"Claim Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Code"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Enter the code: verified, or (contested, a KEP address not on record) proved and waiting for a reviewer","tags":["members"]}},"/v1/ownership-claims/{claim_id}/withdraw":{"post":{"operationId":"withdraw_claim_v1_ownership_claims__claim_id__withdraw_post","parameters":[{"in":"path","name":"claim_id","required":true,"schema":{"format":"uuid","title":"Claim Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Give a waiting claim up (its files are deleted)","tags":["members"]}},"/v1/partners/risk-signals/{company_id}":{"get":{"operationId":"risk_signals_v1_partners_risk_signals__company_id__get","parameters":[{"in":"path","name":"company_id","required":true,"schema":{"format":"uuid","title":"Company Id","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":true,"title":"Response Risk Signals V1 Partners Risk Signals  Company Id  Get","type":"object"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"A consenting company's risk signals (API key with signals:read)","tags":["money"]}},"/v1/price-index":{"get":{"operationId":"index_v1_price_index_get","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PriceIndexOut"}}},"description":"Successful Response"}},"summary":"The wholesale price index: published months","tags":["prices"]}},"/v1/price-index/headings":{"get":{"operationId":"headings_v1_price_index_headings_get","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PriceHeadingOut"},"title":"Response Headings V1 Price Index Headings Get","type":"array"}}},"description":"Successful Response"}},"summary":"The HS headings the index has published prices for","tags":["prices"]}},"/v1/price-index/headings/{heading}":{"get":{"operationId":"heading_points_v1_price_index_headings__heading__get","parameters":[{"in":"path","name":"heading","required":true,"schema":{"pattern":"^\\d{4}$","title":"Heading","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PricePointOut"},"title":"Response Heading Points V1 Price Index Headings  Heading  Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"One HS heading's prices, month by month","tags":["prices"]}},"/v1/price-index/{month}":{"get":{"operationId":"month_points_v1_price_index__month__get","parameters":[{"in":"path","name":"month","required":true,"schema":{"pattern":"^\\d{4}-(0[1-9]|1[0-2])$","title":"Month","type":"string"}},{"in":"query","name":"currency","required":false,"schema":{"anyOf":[{"pattern":"^[A-Z]{3}$","type":"string"},{"type":"null"}],"title":"Currency"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PricePointOut"},"title":"Response Month Points V1 Price Index  Month  Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"One month's prices per HS heading, unit and currency","tags":["prices"]}},"/v1/provinces":{"get":{"operationId":"province_counts_v1_provinces_get","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProvinceCounts"}}},"description":"Successful Response"}},"summary":"How many companies the directory lists in each province, most first","tags":["public"]}},"/v1/quotes/{quote_id}/accept":{"post":{"operationId":"accept_v1_quotes__quote_id__accept_post","parameters":[{"in":"path","name":"quote_id","required":true,"schema":{"format":"uuid","title":"Quote Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Accept the other side's offer or counter-offer: the deal","tags":["commerce"]}},"/v1/quotes/{quote_id}/counter":{"post":{"operationId":"counter_v1_quotes__quote_id__counter_post","parameters":[{"in":"path","name":"quote_id","required":true,"schema":{"format":"uuid","title":"Quote Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CounterIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Answer an offer with a counter-offer (the buyer)","tags":["commerce"]}},"/v1/quotes/{quote_id}/decline":{"post":{"operationId":"decline_v1_quotes__quote_id__decline_post","parameters":[{"in":"path","name":"quote_id","required":true,"schema":{"format":"uuid","title":"Quote Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DecisionOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Decline the other side's offer or counter-offer","tags":["commerce"]}},"/v1/quotes/{quote_id}/pro-forma":{"get":{"operationId":"pro_forma_v1_quotes__quote_id__pro_forma_get","parameters":[{"in":"path","name":"quote_id","required":true,"schema":{"format":"uuid","title":"Quote Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProForma"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"A quote as a pro-forma invoice, for either party (printed by the panel)","tags":["selling"]}},"/v1/quotes/{quote_id}/sample-request":{"post":{"description":"One request is on its way per offer at a time, three in all; the note becomes your\nmessage in the conversation. The supplier's managers accept or decline it.","operationId":"request_sample_v1_quotes__quote_id__sample_request_post","parameters":[{"in":"path","name":"quote_id","required":true,"schema":{"format":"uuid","title":"Quote Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SampleRequestIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SampleRequestOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Ask the supplier for a sample of its offer (the need's author, owners, admins)","tags":["commerce"]}},"/v1/radar":{"get":{"operationId":"radar_list_v1_radar_get","parameters":[{"in":"query","name":"city","required":false,"schema":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"title":"City"}},{"in":"query","name":"nace","required":false,"schema":{"anyOf":[{"pattern":"^[0-9]{2}(\\.[0-9]{1,2}){0,2}$","type":"string"},{"type":"null"}],"title":"Nace"}},{"in":"query","name":"days","required":false,"schema":{"default":30,"maximum":90,"minimum":1,"title":"Days","type":"integer"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"maxLength":256,"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"maximum":50,"minimum":1,"title":"Limit","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RadarList"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Companies newly founded, by province and activity, newest first","tags":["public"]}},"/v1/radar/projects":{"get":{"description":"``sector``: the project's own sector group (its codes'). ``will_need``: a sector group\nof what an award's winner will buy (a hospital's works award will need furniture).\n``relevance``: the projects a Turkish company could supply (the default), or the local\nservices abroad (``low``), whose count the main list's first page gives.","operationId":"list_projects_v1_radar_projects_get","parameters":[{"in":"query","name":"country","required":false,"schema":{"anyOf":[{"pattern":"^[A-Z]{2}$","type":"string"},{"type":"null"}],"title":"Country"}},{"in":"query","name":"sector","required":false,"schema":{"anyOf":[{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},{"type":"null"}],"title":"Sector"}},{"in":"query","name":"scope","required":false,"schema":{"default":"all","enum":["home","abroad","all"],"title":"Scope","type":"string"}},{"in":"query","name":"stage","required":false,"schema":{"anyOf":[{"enum":["planned","awarded"],"type":"string"},{"type":"null"}],"title":"Stage"}},{"in":"query","name":"will_need","required":false,"schema":{"anyOf":[{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},{"type":"null"}],"title":"Will Need"}},{"in":"query","name":"relevance","required":false,"schema":{"default":"supply","enum":["supply","low"],"title":"Relevance","type":"string"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"maxLength":256,"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"maximum":50,"minimum":1,"title":"Limit","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectList"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Projects on the way: planned procurements and awarded contracts, with what each award's winner will need, newest first, by country, sector group, scope, stage and need","tags":["radar"]}},"/v1/radar/projects/{project_id}":{"get":{"operationId":"get_project_v1_radar_projects__project_id__get","parameters":[{"in":"path","name":"project_id","required":true,"schema":{"format":"uuid","title":"Project Id","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Project"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"One project, open or not, with its status and, for an award, what its winner will need and why","tags":["radar"]}},"/v1/radar/summary":{"get":{"operationId":"radar_summary_v1_radar_summary_get","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RadarSummary"}}},"description":"Successful Response"}},"summary":"The radar's counts: projects on the way and recent switching signals, by sector group","tags":["radar"]}},"/v1/radar/switching":{"get":{"description":"``scope``: ``home``, the home market's own measures (a domestic opening for its\nmakers); ``abroad``, every other signal; ``all``.","operationId":"list_switching_v1_radar_switching_get","parameters":[{"in":"query","name":"origin","required":false,"schema":{"anyOf":[{"pattern":"^[A-Z]{2}$","type":"string"},{"type":"null"}],"title":"Origin"}},{"in":"query","name":"sector","required":false,"schema":{"anyOf":[{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},{"type":"null"}],"title":"Sector"}},{"in":"query","name":"market","required":false,"schema":{"anyOf":[{"pattern":"^[A-Z]{2}$","type":"string"},{"type":"null"}],"title":"Market"}},{"in":"query","name":"kind","required":false,"schema":{"anyOf":[{"enum":["trade_measure","product_alert"],"type":"string"},{"type":"null"}],"title":"Kind"}},{"in":"query","name":"scope","required":false,"schema":{"default":"all","enum":["home","abroad","all"],"title":"Scope","type":"string"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"maxLength":256,"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"maximum":50,"minimum":1,"title":"Limit","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SwitchList"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Buyers who must change supplier: trade-defence measures and product alerts, newest first, by origin, sector group, market and kind","tags":["radar"]}},"/v1/radar/switching/{signal_id}":{"get":{"operationId":"get_switching_v1_radar_switching__signal_id__get","parameters":[{"in":"path","name":"signal_id","required":true,"schema":{"format":"uuid","title":"Signal Id","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Switch"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"One switching signal, with how many Turkish companies make its product and the best documented of them","tags":["radar"]}},"/v1/radar/us-tariff-edge":{"get":{"description":"The largest edge in money first (the edge times the imports); ``sector`` one sector\ngroup, ``heading`` one HS heading.","operationId":"us_tariff_edge_v1_radar_us_tariff_edge_get","parameters":[{"in":"query","name":"sector","required":false,"schema":{"anyOf":[{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},{"type":"null"}],"title":"Sector"}},{"in":"query","name":"heading","required":false,"schema":{"anyOf":[{"pattern":"^[0-9]{4}$","type":"string"},{"type":"null"}],"title":"Heading"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"maximum":50,"minimum":1,"title":"Limit","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EdgeList"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Where the main origins of US imports pay more duty than Türkiye's goods (estimate)","tags":["radar"]}},"/v1/regulator-news":{"get":{"description":"The newest of the last 90 days, one language a regulator (Arabic for ``ar``, else\nEnglish where the regulator's English list is as fresh); empty for a market without\nregulators read.","operationId":"regulator_news_v1_regulator_news_get","parameters":[{"in":"query","name":"country","required":true,"schema":{"pattern":"^[A-Z]{2}$","title":"Country","type":"string"}},{"in":"query","name":"language","required":false,"schema":{"default":"en","pattern":"^[a-z]{2}$","title":"Language","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":8,"maximum":30,"minimum":1,"title":"Limit","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegulatorNews"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"A market's regulators' own news: headline, day and link (Saudi Arabia's)","tags":["associations"]}},"/v1/reports":{"post":{"operationId":"report_v1_reports_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportIn"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Report an issue with a page, or ask about your personal data","tags":["public"]}},"/v1/reports/{report_id}/complete":{"post":{"description":"After the upload: the file is checked (size, checksum, a PDF) and delivered.","operationId":"complete_report_v1_reports__report_id__complete_post","parameters":[{"in":"path","name":"report_id","required":true,"schema":{"format":"uuid","title":"Report Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceReportOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Complete Report","tags":["supply"]}},"/v1/reports/{report_id}/download":{"get":{"description":"A five-minute link that saves the PDF (it never opens in the page).","operationId":"download_report_v1_reports__report_id__download_get","parameters":[{"in":"path","name":"report_id","required":true,"schema":{"format":"uuid","title":"Report Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportDownloadOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Download Report","tags":["supply"]}},"/v1/requirements":{"get":{"description":"Texts in ``locale`` where curators wrote them (else English).","operationId":"requirements_v1_requirements_get","parameters":[{"in":"query","name":"destination","required":true,"schema":{"pattern":"^[A-Z]{2}$","title":"Destination","type":"string"}},{"in":"query","name":"code","required":true,"schema":{"pattern":"^[0-9]{2,12}$","title":"Code","type":"string"}},{"in":"query","name":"locale","required":false,"schema":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Locale","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/RequirementSummary"},"title":"Response Requirements V1 Requirements Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"What a product needs to be sold in a country: certifications, documents, labels","tags":["requirements"]}},"/v1/requirements/overview":{"get":{"description":"Published requirements only, counted per country (its own and its blocs'); a country\nnone reaches yet says ``published: 0``. Products are HS headings, named by the tariff\n(in Arabic or Persian with their machine translation, ``title.translation``).","operationId":"requirements_overview_v1_requirements_overview_get","parameters":[{"in":"query","name":"language","required":false,"schema":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"}},{"in":"query","name":"destinations","required":false,"schema":{"default":16,"maximum":48,"minimum":1,"title":"Destinations","type":"integer"}},{"in":"query","name":"products","required":false,"schema":{"default":12,"maximum":24,"minimum":1,"title":"Products","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RequirementsOverview"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Where buyers abroad ask from, with the requirements published for each country, and the products they ask for most","tags":["requirements"]}},"/v1/reviews":{"get":{"operationId":"mine_v1_reviews_get","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ReviewOut"},"title":"Response Mine V1 Reviews Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Reviews by and about my organizations","tags":["reviews"]}},"/v1/reviews/{review_id}/reply":{"post":{"operationId":"reply_v1_reviews__review_id__reply_post","parameters":[{"in":"path","name":"review_id","required":true,"schema":{"format":"uuid","title":"Review Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplyIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Answer a published review of your page (moderated before shown)","tags":["reviews"]}},"/v1/rfqs":{"post":{"description":"Each supplier gets a conversation about the need, opened by a message the\nplatform writes from the need's items. A need waiting for review cannot go out.","operationId":"request_quotes_v1_rfqs_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RfqIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RfqOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Ask up to 20 suppliers for quotes on an open need","tags":["commerce"]}},"/v1/sample-requests/{sample_id}/accept":{"post":{"operationId":"accept_sample_v1_sample_requests__sample_id__accept_post","parameters":[{"in":"path","name":"sample_id","required":true,"schema":{"format":"uuid","title":"Sample Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SampleRequestOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Agree to send the sample (the supplier's managers)","tags":["commerce"]}},"/v1/sample-requests/{sample_id}/decline":{"post":{"operationId":"decline_sample_v1_sample_requests__sample_id__decline_post","parameters":[{"in":"path","name":"sample_id","required":true,"schema":{"format":"uuid","title":"Sample Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SampleRequestOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Decline the sample request (the supplier's managers)","tags":["commerce"]}},"/v1/sample-requests/{sample_id}/received":{"post":{"operationId":"sample_received_v1_sample_requests__sample_id__received_post","parameters":[{"in":"path","name":"sample_id","required":true,"schema":{"format":"uuid","title":"Sample Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SampleRequestOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Say the sample arrived (the need's author, owners and admins)","tags":["commerce"]}},"/v1/sample-requests/{sample_id}/sent":{"post":{"operationId":"sample_sent_v1_sample_requests__sample_id__sent_post","parameters":[{"in":"path","name":"sample_id","required":true,"schema":{"format":"uuid","title":"Sample Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SampleRequestOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Say the sample was sent (the supplier's managers)","tags":["commerce"]}},"/v1/scorecard/demos":{"get":{"description":"In their order; a demo without a code is left out. Lale's reason (``finder``) is in\nTurkish, the language the demos are asked in.","operationId":"list_demos_v1_scorecard_demos_get","parameters":[{"in":"query","name":"language","required":false,"schema":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScorecardDemos"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The scorecard's demos: well-known Turkish products, their code and their precomputed facts","tags":["customs"]}},"/v1/scorecard/{code}":{"get":{"description":"A heading, an HS subheading, a CN code or a 12-digit national line; a code the tariff\nlacks resolves to the longest one it has above it (``code.code``; ``asked`` keeps what was\nasked). 404 when not even its heading is in the tariff. Members' fields (buyers' titles and\nnames, each requirement's text) are ``null`` without a member's token.","operationId":"get_scorecard_v1_scorecard__code__get","parameters":[{"in":"path","name":"code","required":true,"schema":{"title":"Code","type":"string"}},{"in":"query","name":"language","required":false,"schema":{"default":"tr","enum":["tr","en","ar","fa"],"title":"Language","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Scorecard"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"A code's export scorecard: the code, its top markets, documents, today's buyers, buyers looking for a new supplier, incentives","tags":["customs"]}},"/v1/search/companies":{"get":{"operationId":"search_companies_v1_search_companies_get","parameters":[{"in":"query","name":"q","required":false,"schema":{"anyOf":[{"maxLength":200,"type":"string"},{"type":"null"}],"title":"Q"}},{"description":"A province name","in":"query","name":"city","required":false,"schema":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"description":"A province name","title":"City"}},{"in":"query","name":"nace","required":false,"schema":{"anyOf":[{"pattern":"^[0-9]{2}(\\.[0-9]{1,2}){0,2}$","type":"string"},{"type":"null"}],"title":"Nace"}},{"description":"A product or activity code at any level, e.g. `hs:6302`","in":"query","name":"product","required":false,"schema":{"anyOf":[{"pattern":"^(hs|gtip|nace):[0-9A-Z][0-9.]{0,15}$","type":"string"},{"type":"null"}],"description":"A product or activity code at any level, e.g. `hs:6302`","title":"Product"}},{"description":"An HS or GTİP code (2 to 12 digits): companies with a product under its chapter, heading or HS subheading (a longer code by its first six digits). Instead of `product`, not with it.","in":"query","name":"hs","required":false,"schema":{"anyOf":[{"pattern":"^[0-9]{2}(?:[0-9]{2}){0,5}$","type":"string"},{"type":"null"}],"description":"An HS or GTİP code (2 to 12 digits): companies with a product under its chapter, heading or HS subheading (a longer code by its first six digits). Instead of `product`, not with it.","title":"Hs"}},{"in":"query","name":"certification","required":false,"schema":{"anyOf":[{"maxLength":128,"type":"string"},{"type":"null"}],"title":"Certification"}},{"in":"query","name":"market","required":false,"schema":{"anyOf":[{"pattern":"^[A-Z]{2}$","type":"string"},{"type":"null"}],"title":"Market"}},{"in":"query","name":"verified","required":false,"schema":{"default":false,"title":"Verified","type":"boolean"}},{"in":"query","name":"include_inactive","required":false,"schema":{"default":false,"title":"Include Inactive","type":"boolean"}},{"description":"`latitude,longitude`","in":"query","name":"near","required":false,"schema":{"anyOf":[{"pattern":"^-?[0-9]{1,2}(\\.[0-9]+)?,-?[0-9]{1,3}(\\.[0-9]+)?$","type":"string"},{"type":"null"}],"description":"`latitude,longitude`","title":"Near"}},{"in":"query","name":"radius_km","required":false,"schema":{"anyOf":[{"maximum":2000,"minimum":1,"type":"integer"},{"type":"null"}],"title":"Radius Km"}},{"in":"query","name":"sort","required":false,"schema":{"default":"relevance","enum":["relevance","quality","distance"],"title":"Sort","type":"string"}},{"in":"query","name":"page","required":false,"schema":{"default":1,"maximum":1000,"minimum":1,"title":"Page","type":"integer"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"maximum":50,"minimum":1,"title":"Limit","type":"integer"}},{"in":"query","name":"facets","required":false,"schema":{"default":false,"title":"Facets","type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompanySearchResult"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"503":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Search is temporarily unavailable"}},"summary":"Search companies by name, product, activity and place","tags":["search"]}},"/v1/search/suggest":{"get":{"operationId":"suggest_v1_search_suggest_get","parameters":[{"in":"query","name":"q","required":true,"schema":{"maxLength":200,"minLength":2,"title":"Q","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":6,"maximum":10,"minimum":1,"title":"Limit","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Suggestions"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"503":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Search is temporarily unavailable"}},"summary":"Company names completing what the user types","tags":["search"]}},"/v1/sectors":{"get":{"operationId":"sector_counts_v1_sectors_get","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SectorCounts"}}},"description":"Successful Response"}},"summary":"How many companies the directory lists in each export sector and sector group","tags":["public"]}},"/v1/service-links/offer":{"post":{"operationId":"link_offer_v1_service_links_offer_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceLinkOfferIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceLinkRequestOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Link Offer","tags":["supply"]}},"/v1/service-links/view":{"post":{"operationId":"link_view_v1_service_links_view_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceLinkIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceLinkRequestOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"The request an answer link was sent for (the token travels in the body)","tags":["supply"]}},"/v1/service-offers/{offer_id}/accept":{"post":{"description":"Award the request to this offer (binding); the others are declined.","operationId":"accept_offer_v1_service_offers__offer_id__accept_post","parameters":[{"in":"path","name":"offer_id","required":true,"schema":{"format":"uuid","title":"Offer Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceRequestOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Accept Offer","tags":["supply"]}},"/v1/service-providers":{"get":{"operationId":"service_providers_v1_service_providers_get","parameters":[{"in":"query","name":"kind","required":true,"schema":{"$ref":"#/components/schemas/ServiceKind"}},{"in":"query","name":"city","required":false,"schema":{"anyOf":[{"maxLength":64,"type":"string"},{"type":"null"}],"title":"City"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ServiceProviderOut"},"title":"Response Service Providers V1 Service Providers Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Providers that offer a service through Birlesa (ask them in a request)","tags":["supply"]}},"/v1/service-requests":{"get":{"operationId":"my_requests_v1_service_requests_get","parameters":[{"in":"query","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ServiceRequestOut"},"title":"Response My Requests V1 Service Requests Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"My Requests","tags":["supply"]},"post":{"operationId":"create_request_v1_service_requests_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceRequestIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceRequestOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Ask providers for freight, inspection or lab-test offers","tags":["supply"]}},"/v1/service-requests/incoming":{"get":{"operationId":"incoming_v1_service_requests_incoming_get","parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ServiceRequestOut"},"title":"Response Incoming V1 Service Requests Incoming Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Requests sent to the provider companies of my organizations","tags":["supply"]}},"/v1/service-requests/{request_id}":{"get":{"operationId":"one_request_v1_service_requests__request_id__get","parameters":[{"in":"path","name":"request_id","required":true,"schema":{"format":"uuid","title":"Request Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceRequestOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"One Request","tags":["supply"]}},"/v1/service-requests/{request_id}/cancel":{"post":{"operationId":"cancel_request_v1_service_requests__request_id__cancel_post","parameters":[{"in":"path","name":"request_id","required":true,"schema":{"format":"uuid","title":"Request Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceRequestOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Cancel Request","tags":["supply"]}},"/v1/service-requests/{request_id}/decline":{"post":{"operationId":"decline_v1_service_requests__request_id__decline_post","parameters":[{"in":"path","name":"request_id","required":true,"schema":{"format":"uuid","title":"Request Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Decline","tags":["supply"]}},"/v1/service-requests/{request_id}/offers":{"post":{"operationId":"make_offer_v1_service_requests__request_id__offers_post","parameters":[{"in":"path","name":"request_id","required":true,"schema":{"format":"uuid","title":"Request Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceOfferIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceRequestOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Make Offer","tags":["supply"]}},"/v1/service-requests/{request_id}/reports":{"post":{"operationId":"start_report_v1_service_requests__request_id__reports_post","parameters":[{"in":"path","name":"request_id","required":true,"schema":{"format":"uuid","title":"Request Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceReportIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportUploadOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Deliver a report (PDF): declare it, then upload to the returned URL","tags":["supply"]}},"/v1/shipments":{"get":{"operationId":"shipments_v1_shipments_get","parameters":[{"in":"query","name":"org_id","required":true,"schema":{"format":"uuid","title":"Org Id","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"maximum":100,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ShipmentOut"},"title":"Response Shipments V1 Shipments Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Shipments","tags":["supply"]},"post":{"operationId":"create_shipment_v1_shipments_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShipmentIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShipmentOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Create Shipment","tags":["supply"]}},"/v1/shipments/{shipment_id}":{"get":{"operationId":"shipment_v1_shipments__shipment_id__get","parameters":[{"in":"path","name":"shipment_id","required":true,"schema":{"format":"uuid","title":"Shipment Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShipmentOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Shipment","tags":["supply"]}},"/v1/shipments/{shipment_id}/events":{"post":{"description":"A milestone recorded by one of the shipment's parties.","operationId":"record_milestone_v1_shipments__shipment_id__events_post","parameters":[{"in":"path","name":"shipment_id","required":true,"schema":{"format":"uuid","title":"Shipment Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShipmentMilestoneIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShipmentOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Record Milestone","tags":["supply"]}},"/v1/sign-up":{"post":{"operationId":"sign_up_v1_sign_up_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignUpIn"}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SignUpOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Ask for an account; the next step arrives by e-mail, whatever the address","tags":["accounts"]}},"/v1/signals":{"get":{"description":"``kind`` repeats (``?kind=contractor_award&kind=giga_award``). ``hs``: a chapter, heading\nor subheading (``63``, ``6302``, ``630260``). ``company``: the signals for what a company\nstates it makes (its HS headings). ``city``: as the summary's ``by_city`` writes it (wave\n7). ``investments``: \"New investments in Türkiye\" only (wave 7). A member's token adds who\nbuys (``buyer``).","operationId":"list_signals_v1_signals_get","parameters":[{"in":"query","name":"group","required":false,"schema":{"anyOf":[{"enum":["A","B","C","D"],"type":"string"},{"type":"null"}],"title":"Group"}},{"in":"query","name":"kind","required":false,"schema":{"anyOf":[{"items":{"enum":["incentive","new_company","kap","trade_remedy_tr","contractor_award","hotel","giga_award","etimad","importer","counsellor_request","purchase_request","switching","investment"],"type":"string"},"type":"array"},{"type":"null"}],"title":"Kind"}},{"in":"query","name":"country","required":false,"schema":{"anyOf":[{"pattern":"^[A-Z]{2}$","type":"string"},{"type":"null"}],"title":"Country"}},{"in":"query","name":"hs","required":false,"schema":{"anyOf":[{"pattern":"^[0-9]{2}(?:[0-9]{2}(?:[0-9]{2})?)?$","type":"string"},{"type":"null"}],"title":"Hs"}},{"in":"query","name":"sector","required":false,"schema":{"anyOf":[{"enum":["textiles","food","furniture","machinery","metals","minerals","chemicals","plastics","packaging","automotive","construction","trade","agriculture","hospitality"],"type":"string"},{"type":"null"}],"title":"Sector"}},{"in":"query","name":"buyer","required":false,"schema":{"anyOf":[{"maxLength":160,"minLength":1,"pattern":"^[a-z0-9-]+$","type":"string"},{"type":"null"}],"title":"Buyer"}},{"in":"query","name":"company","required":false,"schema":{"anyOf":[{"maxLength":160,"minLength":1,"pattern":"^[a-z0-9-]+$","type":"string"},{"type":"null"}],"title":"Company"}},{"in":"query","name":"city","required":false,"schema":{"anyOf":[{"maxLength":128,"minLength":1,"type":"string"},{"type":"null"}],"title":"City"}},{"in":"query","name":"investments","required":false,"schema":{"default":false,"title":"Investments","type":"boolean"}},{"in":"query","name":"sort","required":false,"schema":{"default":"score","enum":["score","newest"],"title":"Sort","type":"string"}},{"in":"query","name":"lang","required":false,"schema":{"anyOf":[{"enum":["tr","en","ar","fa"],"type":"string"},{"type":"null"}],"title":"Lang"}},{"in":"query","name":"cursor","required":false,"schema":{"anyOf":[{"maxLength":256,"type":"string"},{"type":"null"}],"title":"Cursor"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"maximum":50,"minimum":1,"title":"Limit","type":"integer"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyingSignalList"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Today's buying signals, by score or newest first, by group, kind, country, HS code, sector, buyer or a company's products","tags":["signals"]}},"/v1/signals/summary":{"get":{"description":"``kind`` (repeat it) counts only those kinds: a list's own countries and sectors;\n``hs`` only the signals for a chapter, heading or subheading (the export scorecard's\n\"buying signals for this product\"), each kind's count saying how many of them name it\nonly as an estimate (``estimated``); ``investments`` only \"New investments in Türkiye\"\n(wave 7).","operationId":"signals_summary_v1_signals_summary_get","parameters":[{"in":"query","name":"kind","required":false,"schema":{"anyOf":[{"items":{"enum":["incentive","new_company","kap","trade_remedy_tr","contractor_award","hotel","giga_award","etimad","importer","counsellor_request","purchase_request","switching","investment"],"type":"string"},"type":"array"},{"type":"null"}],"title":"Kind"}},{"in":"query","name":"hs","required":false,"schema":{"anyOf":[{"pattern":"^[0-9]{2}(?:[0-9]{2}(?:[0-9]{2})?)?$","type":"string"},{"type":"null"}],"title":"Hs"}},{"in":"query","name":"investments","required":false,"schema":{"default":false,"title":"Investments","type":"boolean"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyingSignalCounts"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Active buying signals counted by kind, group, country and sector","tags":["signals"]}},"/v1/signals/{signal_id}":{"get":{"operationId":"get_signal_v1_signals__signal_id__get","parameters":[{"in":"path","name":"signal_id","required":true,"schema":{"format":"uuid","title":"Signal Id","type":"string"}},{"in":"query","name":"lang","required":false,"schema":{"anyOf":[{"enum":["tr","en","ar","fa"],"type":"string"},{"type":"null"}],"title":"Lang"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BuyingSignalDetail"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Not Found"}},"summary":"One buying signal, active or ended, with how many companies state its products","tags":["signals"]}},"/v1/sitemap/anti-damping":{"get":{"operationId":"case_sitemap_v1_sitemap_anti_damping_get","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AntiDumpingSitemap"}}},"description":"Successful Response"}},"summary":"The anti-dumping pages for search engines: those whose text is published","tags":["customs"]}},"/v1/sources":{"get":{"operationId":"sources_v1_sources_get","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sources"}}},"description":"Successful Response"}},"summary":"Every source whose data Birlesa shows, with its publisher and licence","tags":["public"]}},"/v1/subsidy/applications/{application_id}/outcome":{"post":{"operationId":"outcome_v1_subsidy_applications__application_id__outcome_post","parameters":[{"in":"path","name":"application_id","required":true,"schema":{"format":"uuid","title":"Application Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubsidyOutcomeIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubsidyApplicationOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Outcome","tags":["subsidy"]}},"/v1/subsidy/applications/{application_id}/pack":{"get":{"operationId":"pack_v1_subsidy_applications__application_id__pack_get","parameters":[{"in":"path","name":"application_id","required":true,"schema":{"format":"uuid","title":"Application Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubsidyLinkOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Pack","tags":["subsidy"]}},"/v1/subsidy/documents/{document_id}/complete":{"post":{"description":"After the upload: the file is checked (and an e-invoice's XML read).","operationId":"complete_document_v1_subsidy_documents__document_id__complete_post","parameters":[{"in":"path","name":"document_id","required":true,"schema":{"format":"uuid","title":"Document Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubsidyDocumentOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Complete Document","tags":["subsidy"]}},"/v1/subsidy/documents/{document_id}/fields":{"put":{"operationId":"enter_fields_v1_subsidy_documents__document_id__fields_put","parameters":[{"in":"path","name":"document_id","required":true,"schema":{"format":"uuid","title":"Document Id","type":"string"}},{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubsidyFieldsIn"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubsidyDocumentOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Enter Fields","tags":["subsidy"]}},"/v1/subsidy/programs":{"get":{"operationId":"programs_v1_subsidy_programs_get","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SubsidyProgramOut"},"title":"Response Programs V1 Subsidy Programs Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Programs","tags":["subsidy"]}},"/v1/taxonomy/labels":{"get":{"operationId":"taxonomy_labels_v1_taxonomy_labels_get","parameters":[{"description":"Comma-separated, e.g. `nace:13.92,hs:6302`","in":"query","name":"codes","required":true,"schema":{"description":"Comma-separated, e.g. `nace:13.92,hs:6302`","maxLength":2400,"title":"Codes","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"additionalProperties":{"$ref":"#/components/schemas/Labels"},"title":"Response Taxonomy Labels V1 Taxonomy Labels Get","type":"object"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Names of product and activity codes in Turkish, English and Arabic","tags":["public"]}},"/v1/titles":{"get":{"description":"``need``, ``project`` and ``signal`` repeat (``?lang=tr&project=…&project=…``), at\nmost 50 ids in all.","operationId":"list_titles_v1_titles_get","parameters":[{"in":"query","name":"lang","required":true,"schema":{"enum":["tr","en","ar","fa"],"title":"Lang","type":"string"}},{"description":"Repeat it: at most 50 ids in all.","in":"query","name":"need","required":false,"schema":{"anyOf":[{"items":{"format":"uuid","type":"string"},"type":"array"},{"type":"null"}],"description":"Repeat it: at most 50 ids in all.","title":"Need"}},{"description":"Repeat it: at most 50 ids in all.","in":"query","name":"project","required":false,"schema":{"anyOf":[{"items":{"format":"uuid","type":"string"},"type":"array"},{"type":"null"}],"description":"Repeat it: at most 50 ids in all.","title":"Project"}},{"description":"Repeat it: at most 50 ids in all.","in":"query","name":"signal","required":false,"schema":{"anyOf":[{"items":{"format":"uuid","type":"string"},"type":"array"},{"type":"null"}],"description":"Repeat it: at most 50 ids in all.","title":"Signal"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TitleList"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Titles of public needs, radar projects and switching signals in the reader's language, with the original","tags":["titles"]}},"/v1/views":{"post":{"description":"No person, address or cookie is stored: one more view of the subject today.","operationId":"view_v1_views_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ViewIn"}}},"required":true},"responses":{"204":{"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Count one view of a public page (the web servers only)","tags":["analytics"]}},"/v1/webhook-events":{"get":{"description":"Every event type an endpoint can ask for, with the ids it carries.","operationId":"events_v1_webhook_events_get","responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/WebhookEventOut"},"title":"Response Events V1 Webhook Events Get","type":"array"}}},"description":"Successful Response"}},"summary":"Events","tags":["webhooks"]}},"/v1/widgets":{"get":{"operationId":"mine_v1_widgets_get","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/WidgetOut"},"title":"Response Mine V1 Widgets Get","type":"array"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Your registrations for the widget","tags":["widgets"]},"post":{"description":"400 ``invalid_name``, ``invalid_origin`` or ``invalid_contact`` for what cannot be\nkept; 409 ``already_registered`` for a site of yours waiting or approved already, and\n``too_many_widgets`` past three at once.","operationId":"register_v1_widgets_post","parameters":[{"in":"header","name":"authorization","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Authorization"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WidgetIn"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WidgetOut"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"}},"summary":"Register your site for the consultants' widget (staff review it first)","tags":["widgets"]}},"/v1/widgets/{slug}":{"get":{"operationId":"site_v1_widgets__slug__get","parameters":[{"in":"path","name":"slug","required":true,"schema":{"maxLength":48,"minLength":3,"pattern":"^[a-z0-9]+(-[a-z0-9]+)*$","title":"Slug","type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WidgetSite"}}},"description":"Successful Response"},"400":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"Bad Request"},"404":{"content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/Problem"}}},"description":"No approved widget under that name"}},"summary":"An approved widget's name, contact link and site (the web servers only)","tags":["widgets"]}}}}
