{"openapi":"3.1.0","info":{"title":"indicia.ch Public API","version":"1.1.0","description":"Versioned REST API for indicia.ch search, entity details, publications, graph analyses and dossier exports.\n\nAll /api/v1 endpoints require an active, entitled API key and the documented scope. API keys are environment-specific and can be rotated or revoked in the account.\n\nAPI access starts at KMU (CHF 0.04 per profile/graph unit from the first call, separate from the Web pool). Enterprise includes 15,000 monthly shared Web/API units, then CHF 0.04 per unit including VAT. PDF downloads reuse same-day profile receipts. Free and Professional have no API access.\n\nThe unversioned /api endpoints remain available for the indicia.ch web application and are deprecated for external integrations.\n\nThe API exposes public Swiss registry data and derived signals. Completeness, freshness and legal correctness are not guaranteed.","termsOfService":"https://indicia.ch/nutzungsbedingungen","contact":{"name":"Digital4You GmbH","url":"https://indicia.ch/kontakt","email":"hello@digital4you.ch"}},"servers":[{"url":"/","description":"Current origin"}],"externalDocs":{"description":"Data basis, coverage and limitations","url":"https://indicia.ch/daten"},"tags":[{"name":"System"},{"name":"Search"},{"name":"Entities"},{"name":"Publications"},{"name":"Graph Analyses"},{"name":"Dossier Exports"}],"paths":{"/api/health":{"get":{"tags":["System"],"operationId":"getHealth","summary":"Check process liveness (compatibility alias)","deprecated":true,"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthResponse"}}}}}}},"/api/live":{"get":{"tags":["System"],"operationId":"getLiveness","summary":"Check process liveness","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthResponse"}}}}}}},"/api/ready":{"get":{"tags":["System"],"operationId":"getReadiness","summary":"Check required runtime dependencies","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthResponse"}}}},"503":{"description":"A required dependency is unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthResponse"}}}}}}},"/api/search-results":{"get":{"tags":["Search"],"operationId":"listSearchResults","summary":"Search persons, legal entities and publications","description":"Returns basic identities and classification codes only, without publication text, profile details, mandates or ownership data. Default mode=suggest is relevance-ranked and capped at 50. mode=complete pages through every match in a stable order with up to 200 hits per page and no total-result cap; follow nextCursor until hasMore=false. Complete searches require an authenticated Web account (including Professional) or an entitled API key. Each page consumes ceil(limit/50) weighted query units against configured query and technical limits, without consuming commercial profile units. total is an estimate/candidate count; use hasMore rather than total to stop. Full-text complete search requires all query words (no dropped terms) and an empty query enumerates every record of the selected types/cantons. A full-text cursor is bound to the corpus generation it started on: when a new generation is activated while paging, the next page fails with 409 SEARCH_GENERATION_CHANGED and the traversal must restart from the first page. NOGA filters imply complete mode and query current stored classifications in PostgreSQL; nogaVersion is mandatory and official is the default source. An optional query with NOGA filters matches a literal case-insensitive substring of company name/UID. Keep filters unchanged with a cursor; cursors expire after 24 hours and are account/environment-bound.\n\nExternal integrations must migrate to /api/v1/search.","security":[{"bearerApiKey":[]},{"headerApiKey":[]},{}],"parameters":[{"name":"query","in":"query","required":false,"description":"Search text. Empty values return no suggestions; complete mode can enumerate all records.","schema":{"type":"string","default":""}},{"name":"mode","in":"query","required":false,"description":"Use complete for cursor pagination; suggest preserves relevance-ranked autocomplete.","schema":{"type":"string","enum":["suggest","complete"],"default":"suggest"},"style":"form"},{"name":"limit","in":"query","required":false,"description":"Page size: up to 50 in suggest mode or 200 in complete mode.","schema":{"type":"integer","minimum":1,"maximum":200,"default":15}},{"name":"cursor","in":"query","required":false,"description":"Opaque nextCursor from the previous page. Repeat the original filters and mode.","schema":{"type":"string","maxLength":2048}},{"name":"nogaCodes","in":"query","required":false,"description":"Comma-separated NOGA prefixes (2–6 digits, up to 20). OR within this list; AND with other filters. Implies complete mode and legal_entity.","schema":{"type":"array","maxItems":20,"items":{"type":"string","pattern":"^\\d{2,6}$"}},"style":"form","explode":false},{"name":"nogaVersion","in":"query","required":false,"description":"Required with nogaCodes; official UID-register NOGA codes use 2008, inferred classifications normally use 2025.","schema":{"type":"string","enum":["2008","2025"]},"style":"form"},{"name":"nogaSource","in":"query","required":false,"description":"Classification provenance. Only the newest active classification per source is eligible. Companies without matching stored classifications are not included.","schema":{"type":"string","enum":["official","inferred","any"],"default":"official"},"style":"form"},{"name":"types","in":"query","required":false,"description":"Comma-separated or repeated resource types.","schema":{"type":"array","items":{"type":"string","enum":["person","legal_entity","publication"]}},"style":"form","explode":false},{"name":"cantons","in":"query","required":false,"description":"Comma-separated or repeated Swiss canton codes.","schema":{"type":"array","items":{"type":"string","enum":["AG","AI","AR","BE","BL","BS","FR","GE","GL","GR","JU","LU","NE","NW","OW","SG","SH","SO","SZ","TG","TI","UR","VD","VS","ZG","ZH"]}},"style":"form","explode":false}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResultsResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Complete search requires authentication","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"The corpus generation changed while paging (SEARCH_GENERATION_CHANGED)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Fair Use limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"RateLimit-Limit":{"description":"Most restrictive active weighted quota or technical burst limit.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Remaining weighted units in the reported window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the reported window resets.","schema":{"type":"integer"}},"RateLimit-Policy":{"description":"Machine-readable burst, daily and monthly weighted-unit policies.","schema":{"type":"string"}},"X-RateLimit-Daily-Remaining":{"description":"Remaining weighted units in the Zurich calendar day.","schema":{"type":"integer"}},"X-RateLimit-Monthly-Remaining":{"description":"Remaining weighted units in the Zurich calendar month.","schema":{"type":"integer"}},"X-RateLimit-Burst-Remaining":{"description":"Remaining weighted units in the technical burst window.","schema":{"type":"integer"}},"X-RateLimit-Concurrent-Limit":{"description":"Technical concurrent request ceiling for the quota subject.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until another request should be attempted.","schema":{"type":"integer"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"deprecated":true}},"/api/entity-resolutions":{"post":{"tags":["Entities"],"operationId":"resolveLegalEntityByUid","summary":"Resolve and materialize a legal entity by Swiss UID","description":"Explicit command used for UID register read-through. Resolution does not consume a profile allowance until the resolved entity detail is opened.\n\nExternal integrations must migrate to /api/v1/entity-resolutions.","security":[{"bearerApiKey":[]},{"headerApiKey":[]},{}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityResolutionRequest"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityResolutionResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Fair Use limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"RateLimit-Limit":{"description":"Most restrictive active weighted quota or technical burst limit.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Remaining weighted units in the reported window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the reported window resets.","schema":{"type":"integer"}},"RateLimit-Policy":{"description":"Machine-readable burst, daily and monthly weighted-unit policies.","schema":{"type":"string"}},"X-RateLimit-Daily-Remaining":{"description":"Remaining weighted units in the Zurich calendar day.","schema":{"type":"integer"}},"X-RateLimit-Monthly-Remaining":{"description":"Remaining weighted units in the Zurich calendar month.","schema":{"type":"integer"}},"X-RateLimit-Burst-Remaining":{"description":"Remaining weighted units in the technical burst window.","schema":{"type":"integer"}},"X-RateLimit-Concurrent-Limit":{"description":"Technical concurrent request ceiling for the quota subject.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until another request should be attempted.","schema":{"type":"integer"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"deprecated":true}},"/api/entities/{id}":{"get":{"tags":["Entities"],"operationId":"getEntity","summary":"Load one person or legal entity","description":"Each successful API request counts one unit. Web visits are deduplicated per account, canonical profile and Zurich day. Detail and full responses surface riskSignals (SECO sanctions matches with matchConfidence, FINMA warning/authorisation overlays, SHAB KK/LS insolvency summaries including associated company insolvencies on person profiles, and EGID/deliverability/co-domiciliation address signals). Monthly account pools are Free 25, Professional 500, KMU 5,000 Web units and Enterprise 15,000 shared Web/API units. KMU API is CHF 0.04 from the first call; Enterprise overage is CHF 0.04 including VAT. Free and Professional do not permit API access. On /api/v1 an optional Idempotency-Key deduplicates identical technical retries.\n\nExternal integrations must migrate to /api/v1/entities/{id}.","security":[{"bearerApiKey":[]},{"headerApiKey":[]},{}],"parameters":[{"name":"id","in":"path","required":true,"description":"Entity UUID or already materialized Swiss UID. Use POST /api/entity-resolutions for UID register read-through.","schema":{"type":"string","minLength":1}},{"name":"type","in":"query","required":false,"description":"Optional entity type. Omit to infer legal entity before person for UUIDs. UID lookup is legal_entity only.","schema":{"type":"string","enum":["person","legal_entity"]},"style":"form"},{"name":"section","in":"query","required":false,"description":"Optional projection section. Use summary for identity/stats, targeted sections for partial data, or full for all entity projections; graph analyses are separate.","schema":{"type":"string","enum":["summary","details","timeline","participations","mandates","publications","full"],"default":"full"},"style":"form"},{"name":"lang","in":"query","required":false,"description":"Language used for localized relationship labels.","schema":{"type":"string","enum":["de","fr","it","en"],"default":"de"},"style":"form"}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityDetailResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Fair Use limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"RateLimit-Limit":{"description":"Most restrictive active weighted quota or technical burst limit.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Remaining weighted units in the reported window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the reported window resets.","schema":{"type":"integer"}},"RateLimit-Policy":{"description":"Machine-readable burst, daily and monthly weighted-unit policies.","schema":{"type":"string"}},"X-RateLimit-Daily-Remaining":{"description":"Remaining weighted units in the Zurich calendar day.","schema":{"type":"integer"}},"X-RateLimit-Monthly-Remaining":{"description":"Remaining weighted units in the Zurich calendar month.","schema":{"type":"integer"}},"X-RateLimit-Burst-Remaining":{"description":"Remaining weighted units in the technical burst window.","schema":{"type":"integer"}},"X-RateLimit-Concurrent-Limit":{"description":"Technical concurrent request ceiling for the quota subject.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until another request should be attempted.","schema":{"type":"integer"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"deprecated":true}},"/api/publications/{id}":{"get":{"tags":["Publications"],"operationId":"getPublication","summary":"Load one SHAB publication","description":"Counts against the daily public query Fair Use limit.\n\nExternal integrations must migrate to /api/v1/publications/{id}.","security":[{"bearerApiKey":[]},{"headerApiKey":[]},{}],"parameters":[{"name":"id","in":"path","required":true,"description":"SHAB publication id.","schema":{"type":"string","minLength":1}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicationDetailResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Fair Use limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"RateLimit-Limit":{"description":"Most restrictive active weighted quota or technical burst limit.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Remaining weighted units in the reported window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the reported window resets.","schema":{"type":"integer"}},"RateLimit-Policy":{"description":"Machine-readable burst, daily and monthly weighted-unit policies.","schema":{"type":"string"}},"X-RateLimit-Daily-Remaining":{"description":"Remaining weighted units in the Zurich calendar day.","schema":{"type":"integer"}},"X-RateLimit-Monthly-Remaining":{"description":"Remaining weighted units in the Zurich calendar month.","schema":{"type":"integer"}},"X-RateLimit-Burst-Remaining":{"description":"Remaining weighted units in the technical burst window.","schema":{"type":"integer"}},"X-RateLimit-Concurrent-Limit":{"description":"Technical concurrent request ceiling for the quota subject.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until another request should be attempted.","schema":{"type":"integer"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"deprecated":true}},"/api/graph-analyses":{"post":{"tags":["Graph Analyses"],"operationId":"createGraphAnalysis","summary":"Run a graph analysis","description":"Counts against the daily public query Fair Use limit. Supports three presets: direct_neighborhood (returns at most maxItems relationships, default 250, at most 50000; stats.total and stats.truncated tell whether a neighbourhood was cut), owners_other_companies (company start node), and connection_path (finds shortest/ranked connection paths between start and required target up to maxDepth/fallbackMaxDepth and pathLimit, honoring statusMode active/active_only vs all/prefer_active, handling start === target as a 0-hop path, and returning ordered paths: [{ hops, nodes, edges }] alongside hydrated nodes, edges, and target).\n\nExternal integrations must migrate to /api/v1/graph-analyses.","security":[{"bearerApiKey":[]},{"headerApiKey":[]},{}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GraphAnalysisRequest"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GraphAnalysisResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Fair Use limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"RateLimit-Limit":{"description":"Most restrictive active weighted quota or technical burst limit.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Remaining weighted units in the reported window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the reported window resets.","schema":{"type":"integer"}},"RateLimit-Policy":{"description":"Machine-readable burst, daily and monthly weighted-unit policies.","schema":{"type":"string"}},"X-RateLimit-Daily-Remaining":{"description":"Remaining weighted units in the Zurich calendar day.","schema":{"type":"integer"}},"X-RateLimit-Monthly-Remaining":{"description":"Remaining weighted units in the Zurich calendar month.","schema":{"type":"integer"}},"X-RateLimit-Burst-Remaining":{"description":"Remaining weighted units in the technical burst window.","schema":{"type":"integer"}},"X-RateLimit-Concurrent-Limit":{"description":"Technical concurrent request ceiling for the quota subject.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until another request should be attempted.","schema":{"type":"integer"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"deprecated":true}},"/api/dossier-exports":{"post":{"tags":["Dossier Exports"],"operationId":"createDossierExport","summary":"Create a dossier export job","description":"Counts against the daily public PDF dossier export Fair Use limit.\n\nExternal integrations must migrate to /api/v1/dossier-exports.","security":[{"bearerApiKey":[]},{"headerApiKey":[]},{}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DossierExportRequest"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DossierExportCreatedResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Fair Use limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"RateLimit-Limit":{"description":"Most restrictive active weighted quota or technical burst limit.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Remaining weighted units in the reported window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the reported window resets.","schema":{"type":"integer"}},"RateLimit-Policy":{"description":"Machine-readable burst, daily and monthly weighted-unit policies.","schema":{"type":"string"}},"X-RateLimit-Daily-Remaining":{"description":"Remaining weighted units in the Zurich calendar day.","schema":{"type":"integer"}},"X-RateLimit-Monthly-Remaining":{"description":"Remaining weighted units in the Zurich calendar month.","schema":{"type":"integer"}},"X-RateLimit-Burst-Remaining":{"description":"Remaining weighted units in the technical burst window.","schema":{"type":"integer"}},"X-RateLimit-Concurrent-Limit":{"description":"Technical concurrent request ceiling for the quota subject.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until another request should be attempted.","schema":{"type":"integer"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"deprecated":true}},"/api/dossier-exports/{jobId}":{"get":{"tags":["Dossier Exports"],"operationId":"getDossierExport","summary":"Get dossier export job status","security":[{"bearerApiKey":[]},{"headerApiKey":[]},{}],"parameters":[{"name":"jobId","in":"path","required":true,"description":"Dossier export job id.","schema":{"type":"string","minLength":1}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DossierJobStatusResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"deprecated":true,"description":"\n\nExternal integrations must migrate to /api/v1/dossier-exports/{jobId}."}},"/api/dossier-exports/{jobId}/file":{"get":{"tags":["Dossier Exports"],"operationId":"downloadDossierExport","summary":"Download completed dossier export PDF","description":"Uses the same monthly profile pool. A PDF of a root profile already counted in this account on the same Zurich day is included; otherwise the root profile counts once. Failed or unavailable files are not charged.\n\nExternal integrations must migrate to /api/v1/dossier-exports/{jobId}/file.","security":[{"bearerApiKey":[]},{"headerApiKey":[]},{}],"parameters":[{"name":"jobId","in":"path","required":true,"description":"Dossier export job id.","schema":{"type":"string","minLength":1}}],"responses":{"200":{"description":"Generated PDF file.","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Monthly profile allowance exhausted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Verified billing period or usage meter unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"deprecated":true}},"/api/v1/search":{"get":{"tags":["Search"],"operationId":"v1ListSearchResults","summary":"Search persons, legal entities and publications","description":"Returns basic identities and classification codes only, without publication text, profile details, mandates or ownership data. Default mode=suggest is relevance-ranked and capped at 50. mode=complete pages through every match in a stable order with up to 200 hits per page and no total-result cap; follow nextCursor until hasMore=false. Complete searches require an authenticated Web account (including Professional) or an entitled API key. Each page consumes ceil(limit/50) weighted query units against configured query and technical limits, without consuming commercial profile units. total is an estimate/candidate count; use hasMore rather than total to stop. Full-text complete search requires all query words (no dropped terms) and an empty query enumerates every record of the selected types/cantons. A full-text cursor is bound to the corpus generation it started on: when a new generation is activated while paging, the next page fails with 409 SEARCH_GENERATION_CHANGED and the traversal must restart from the first page. NOGA filters imply complete mode and query current stored classifications in PostgreSQL; nogaVersion is mandatory and official is the default source. An optional query with NOGA filters matches a literal case-insensitive substring of company name/UID. Keep filters unchanged with a cursor; cursors expire after 24 hours and are account/environment-bound.\n\nThis stable v1 operation requires an API key.","security":[{"bearerApiKey":[]},{"headerApiKey":[]}],"parameters":[{"name":"query","in":"query","required":false,"description":"Search text. Empty values return no suggestions; complete mode can enumerate all records.","schema":{"type":"string","default":""}},{"name":"mode","in":"query","required":false,"description":"Use complete for cursor pagination; suggest preserves relevance-ranked autocomplete.","schema":{"type":"string","enum":["suggest","complete"],"default":"suggest"},"style":"form"},{"name":"limit","in":"query","required":false,"description":"Page size: up to 50 in suggest mode or 200 in complete mode.","schema":{"type":"integer","minimum":1,"maximum":200,"default":15}},{"name":"cursor","in":"query","required":false,"description":"Opaque nextCursor from the previous page. Repeat the original filters and mode.","schema":{"type":"string","maxLength":2048}},{"name":"nogaCodes","in":"query","required":false,"description":"Comma-separated NOGA prefixes (2–6 digits, up to 20). OR within this list; AND with other filters. Implies complete mode and legal_entity.","schema":{"type":"array","maxItems":20,"items":{"type":"string","pattern":"^\\d{2,6}$"}},"style":"form","explode":false},{"name":"nogaVersion","in":"query","required":false,"description":"Required with nogaCodes; official UID-register NOGA codes use 2008, inferred classifications normally use 2025.","schema":{"type":"string","enum":["2008","2025"]},"style":"form"},{"name":"nogaSource","in":"query","required":false,"description":"Classification provenance. Only the newest active classification per source is eligible. Companies without matching stored classifications are not included.","schema":{"type":"string","enum":["official","inferred","any"],"default":"official"},"style":"form"},{"name":"types","in":"query","required":false,"description":"Comma-separated or repeated resource types.","schema":{"type":"array","items":{"type":"string","enum":["person","legal_entity","publication"]}},"style":"form","explode":false},{"name":"cantons","in":"query","required":false,"description":"Comma-separated or repeated Swiss canton codes.","schema":{"type":"array","items":{"type":"string","enum":["AG","AI","AR","BE","BL","BS","FR","GE","GL","GR","JU","LU","NE","NW","OW","SG","SH","SO","SZ","TG","TI","UR","VD","VS","ZG","ZH"]}},"style":"form","explode":false}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchResultsResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"API key missing or invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Entitlement or key scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"The corpus generation changed while paging (SEARCH_GENERATION_CHANGED)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Fair Use limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"RateLimit-Limit":{"description":"Most restrictive active weighted quota or technical burst limit.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Remaining weighted units in the reported window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the reported window resets.","schema":{"type":"integer"}},"RateLimit-Policy":{"description":"Machine-readable burst, daily and monthly weighted-unit policies.","schema":{"type":"string"}},"X-RateLimit-Daily-Remaining":{"description":"Remaining weighted units in the Zurich calendar day.","schema":{"type":"integer"}},"X-RateLimit-Monthly-Remaining":{"description":"Remaining weighted units in the Zurich calendar month.","schema":{"type":"integer"}},"X-RateLimit-Burst-Remaining":{"description":"Remaining weighted units in the technical burst window.","schema":{"type":"integer"}},"X-RateLimit-Concurrent-Limit":{"description":"Technical concurrent request ceiling for the quota subject.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until another request should be attempted.","schema":{"type":"integer"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Service unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/entity-resolutions":{"post":{"tags":["Entities"],"operationId":"v1ResolveLegalEntityByUid","summary":"Resolve and materialize a legal entity by Swiss UID","description":"Explicit command used for UID register read-through. Resolution does not consume a profile allowance until the resolved entity detail is opened.\n\nThis stable v1 operation requires an API key.","security":[{"bearerApiKey":[]},{"headerApiKey":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityResolutionRequest"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityResolutionResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"API key missing or invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Entitlement or key scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Fair Use limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"RateLimit-Limit":{"description":"Most restrictive active weighted quota or technical burst limit.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Remaining weighted units in the reported window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the reported window resets.","schema":{"type":"integer"}},"RateLimit-Policy":{"description":"Machine-readable burst, daily and monthly weighted-unit policies.","schema":{"type":"string"}},"X-RateLimit-Daily-Remaining":{"description":"Remaining weighted units in the Zurich calendar day.","schema":{"type":"integer"}},"X-RateLimit-Monthly-Remaining":{"description":"Remaining weighted units in the Zurich calendar month.","schema":{"type":"integer"}},"X-RateLimit-Burst-Remaining":{"description":"Remaining weighted units in the technical burst window.","schema":{"type":"integer"}},"X-RateLimit-Concurrent-Limit":{"description":"Technical concurrent request ceiling for the quota subject.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until another request should be attempted.","schema":{"type":"integer"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/entities/{id}":{"get":{"tags":["Entities"],"operationId":"v1GetEntity","summary":"Load one person or legal entity","description":"Each successful API request counts one unit. Web visits are deduplicated per account, canonical profile and Zurich day. Detail and full responses surface riskSignals (SECO sanctions matches with matchConfidence, FINMA warning/authorisation overlays, SHAB KK/LS insolvency summaries including associated company insolvencies on person profiles, and EGID/deliverability/co-domiciliation address signals). Monthly account pools are Free 25, Professional 500, KMU 5,000 Web units and Enterprise 15,000 shared Web/API units. KMU API is CHF 0.04 from the first call; Enterprise overage is CHF 0.04 including VAT. Free and Professional do not permit API access. On /api/v1 an optional Idempotency-Key deduplicates identical technical retries.\n\nThis stable v1 operation requires an API key.","security":[{"bearerApiKey":[]},{"headerApiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"Entity UUID or already materialized Swiss UID. Use POST /api/entity-resolutions for UID register read-through.","schema":{"type":"string","minLength":1}},{"name":"type","in":"query","required":false,"description":"Optional entity type. Omit to infer legal entity before person for UUIDs. UID lookup is legal_entity only.","schema":{"type":"string","enum":["person","legal_entity"]},"style":"form"},{"name":"section","in":"query","required":false,"description":"Optional projection section. Use summary for identity/stats, targeted sections for partial data, or full for all entity projections; graph analyses are separate.","schema":{"type":"string","enum":["summary","details","timeline","participations","mandates","publications","full"],"default":"full"},"style":"form"},{"name":"lang","in":"query","required":false,"description":"Language used for localized relationship labels.","schema":{"type":"string","enum":["de","fr","it","en"],"default":"de"},"style":"form"},{"name":"Idempotency-Key","in":"header","required":false,"description":"Use the same key for identical technical retries to avoid charging again. A changed path, query or body with the same key returns HTTP 409. Without a key each successful request counts independently.","schema":{"type":"string","minLength":8,"maxLength":200}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityDetailResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"API key missing or invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Entitlement or key scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Idempotency conflict or request still processing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Fair Use limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"RateLimit-Limit":{"description":"Most restrictive active weighted quota or technical burst limit.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Remaining weighted units in the reported window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the reported window resets.","schema":{"type":"integer"}},"RateLimit-Policy":{"description":"Machine-readable burst, daily and monthly weighted-unit policies.","schema":{"type":"string"}},"X-RateLimit-Daily-Remaining":{"description":"Remaining weighted units in the Zurich calendar day.","schema":{"type":"integer"}},"X-RateLimit-Monthly-Remaining":{"description":"Remaining weighted units in the Zurich calendar month.","schema":{"type":"integer"}},"X-RateLimit-Burst-Remaining":{"description":"Remaining weighted units in the technical burst window.","schema":{"type":"integer"}},"X-RateLimit-Concurrent-Limit":{"description":"Technical concurrent request ceiling for the quota subject.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until another request should be attempted.","schema":{"type":"integer"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Verified billing period or usage meter unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/publications/{id}":{"get":{"tags":["Publications"],"operationId":"v1GetPublication","summary":"Load one SHAB publication","description":"Counts against the daily public query Fair Use limit.\n\nThis stable v1 operation requires an API key.","security":[{"bearerApiKey":[]},{"headerApiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"description":"SHAB publication id.","schema":{"type":"string","minLength":1}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicationDetailResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"API key missing or invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Entitlement or key scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Fair Use limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"RateLimit-Limit":{"description":"Most restrictive active weighted quota or technical burst limit.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Remaining weighted units in the reported window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the reported window resets.","schema":{"type":"integer"}},"RateLimit-Policy":{"description":"Machine-readable burst, daily and monthly weighted-unit policies.","schema":{"type":"string"}},"X-RateLimit-Daily-Remaining":{"description":"Remaining weighted units in the Zurich calendar day.","schema":{"type":"integer"}},"X-RateLimit-Monthly-Remaining":{"description":"Remaining weighted units in the Zurich calendar month.","schema":{"type":"integer"}},"X-RateLimit-Burst-Remaining":{"description":"Remaining weighted units in the technical burst window.","schema":{"type":"integer"}},"X-RateLimit-Concurrent-Limit":{"description":"Technical concurrent request ceiling for the quota subject.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until another request should be attempted.","schema":{"type":"integer"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/api/v1/graph-analyses":{"post":{"tags":["Graph Analyses"],"operationId":"v1CreateGraphAnalysis","summary":"Run a graph analysis","description":"Counts against the daily public query Fair Use limit. Supports three presets: direct_neighborhood (returns at most maxItems relationships, default 250, at most 50000; stats.total and stats.truncated tell whether a neighbourhood was cut), owners_other_companies (company start node), and connection_path (finds shortest/ranked connection paths between start and required target up to maxDepth/fallbackMaxDepth and pathLimit, honoring statusMode active/active_only vs all/prefer_active, handling start === target as a 0-hop path, and returning ordered paths: [{ hops, nodes, edges }] alongside hydrated nodes, edges, and target).\n\nThis stable v1 operation requires an API key.","security":[{"bearerApiKey":[]},{"headerApiKey":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GraphAnalysisRequest"}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GraphAnalysisResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"API key missing or invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Entitlement or key scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Idempotency conflict or request still processing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Fair Use limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"RateLimit-Limit":{"description":"Most restrictive active weighted quota or technical burst limit.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Remaining weighted units in the reported window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the reported window resets.","schema":{"type":"integer"}},"RateLimit-Policy":{"description":"Machine-readable burst, daily and monthly weighted-unit policies.","schema":{"type":"string"}},"X-RateLimit-Daily-Remaining":{"description":"Remaining weighted units in the Zurich calendar day.","schema":{"type":"integer"}},"X-RateLimit-Monthly-Remaining":{"description":"Remaining weighted units in the Zurich calendar month.","schema":{"type":"integer"}},"X-RateLimit-Burst-Remaining":{"description":"Remaining weighted units in the technical burst window.","schema":{"type":"integer"}},"X-RateLimit-Concurrent-Limit":{"description":"Technical concurrent request ceiling for the quota subject.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until another request should be attempted.","schema":{"type":"integer"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Verified billing period or usage meter unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":false,"description":"Use the same key for identical technical retries to avoid charging again. A changed path, query or body with the same key returns HTTP 409. Without a key each successful request counts independently.","schema":{"type":"string","minLength":8,"maxLength":200}}]}},"/api/v1/dossier-exports":{"post":{"tags":["Dossier Exports"],"operationId":"v1CreateDossierExport","summary":"Create a dossier export job","description":"Counts against the daily public PDF dossier export Fair Use limit.\n\nThis stable v1 operation requires an API key.","security":[{"bearerApiKey":[]},{"headerApiKey":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DossierExportRequest"}}}},"responses":{"202":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DossierExportCreatedResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"API key missing or invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Entitlement or key scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Fair Use limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"RateLimit-Limit":{"description":"Most restrictive active weighted quota or technical burst limit.","schema":{"type":"integer"}},"RateLimit-Remaining":{"description":"Remaining weighted units in the reported window.","schema":{"type":"integer"}},"RateLimit-Reset":{"description":"Seconds until the reported window resets.","schema":{"type":"integer"}},"RateLimit-Policy":{"description":"Machine-readable burst, daily and monthly weighted-unit policies.","schema":{"type":"string"}},"X-RateLimit-Daily-Remaining":{"description":"Remaining weighted units in the Zurich calendar day.","schema":{"type":"integer"}},"X-RateLimit-Monthly-Remaining":{"description":"Remaining weighted units in the Zurich calendar month.","schema":{"type":"integer"}},"X-RateLimit-Burst-Remaining":{"description":"Remaining weighted units in the technical burst window.","schema":{"type":"integer"}},"X-RateLimit-Concurrent-Limit":{"description":"Technical concurrent request ceiling for the quota subject.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds until another request should be attempted.","schema":{"type":"integer"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"Unique key for this create operation. Reusing it with the identical payload replays the first response for 24 hours.","schema":{"type":"string","minLength":8,"maxLength":200}}]}},"/api/v1/dossier-exports/{jobId}":{"get":{"tags":["Dossier Exports"],"operationId":"v1GetDossierExport","summary":"Get dossier export job status","security":[{"bearerApiKey":[]},{"headerApiKey":[]}],"parameters":[{"name":"jobId","in":"path","required":true,"description":"Dossier export job id.","schema":{"type":"string","minLength":1}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DossierJobStatusResponse"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"API key missing or invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Entitlement or key scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"description":"\n\nThis stable v1 operation requires an API key."}},"/api/v1/dossier-exports/{jobId}/file":{"get":{"tags":["Dossier Exports"],"operationId":"v1DownloadDossierExport","summary":"Download completed dossier export PDF","description":"Uses the same monthly profile pool. A PDF of a root profile already counted in this account on the same Zurich day is included; otherwise the root profile counts once. Failed or unavailable files are not charged.\n\nThis stable v1 operation requires an API key.","security":[{"bearerApiKey":[]},{"headerApiKey":[]}],"parameters":[{"name":"jobId","in":"path","required":true,"description":"Dossier export job id.","schema":{"type":"string","minLength":1}}],"responses":{"200":{"description":"Generated PDF file.","content":{"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"400":{"description":"Invalid request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"API key missing or invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Entitlement or key scope missing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Monthly profile allowance exhausted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Verified billing period or usage meter unavailable","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}},"components":{"securitySchemes":{"bearerApiKey":{"type":"http","scheme":"bearer","description":"KMU or Enterprise API key as Bearer token."},"headerApiKey":{"type":"apiKey","in":"header","name":"x-api-key","description":"KMU or Enterprise API key sent in the x-api-key header."}},"schemas":{"HealthResponse":{"type":"object","properties":{"ok":{"type":"boolean"}},"required":["ok"],"additionalProperties":false},"SearchResultsResponse":{"type":"object","properties":{"total":{"type":"number"},"mode":{"description":"complete for mode=complete; in suggest mode: text, identifier (exact UID/CH-ID match: register object and the publications citing it) or identifier_prefix.","type":"string"},"syncId":{"type":"string"},"hits":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["person","legal_entity","publication"]},"title":{"type":"string"},"summary":{"type":["string","null"]},"displayName":{"type":"string"},"name":{"type":"string"},"publicationNumber":{"type":["string","null"]},"publicationDate":{"type":["string","null"]},"canton":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},{"type":"null"}]},"rubric":{"type":["string","null"]},"subRubric":{"type":["string","null"]},"uid":{"type":["string","null"]},"chId":{"type":["string","null"]},"foreignRegisterId":{"type":["string","null"]},"foreignRegisterType":{"type":["string","null"]},"foreignRegisterJurisdiction":{"type":["string","null"]},"seat":{"type":["string","null"]},"status":{"type":["string","null"]},"noga":{"type":"object","properties":{"code":{"type":"string"},"version":{"type":"string","enum":["2008","2025"]},"source":{"type":"string","enum":["official","inferred"]}},"required":["code","version","source"],"additionalProperties":false},"confidence":{"type":["string","null"]},"residence":{"type":["string","null"]},"origin":{"type":["string","null"]},"oldNames":{"type":"array","items":{"type":"string"}},"matchedFormerName":{"description":"Former company name the query matched when the current name does not.","type":"string"},"isBranchOffice":{"type":"boolean"},"legalForm":{"description":"Written-out legal form, e.g. Gesellschaft mit beschränkter Haftung (GmbH).","type":["string","null"]},"legalFormShort":{"description":"Abbreviation of the legal form (GmbH, AG), or the written-out form when there is none.","type":["string","null"]},"legalFormCode":{"description":"UID register legal form code, e.g. 0107.","type":["string","null"]}},"required":["id","type","title"],"additionalProperties":false}},"totalIsExact":{"type":"boolean"},"returned":{"type":"integer","minimum":0,"maximum":9007199254740991},"hasMore":{"type":"boolean"},"nextCursor":{"type":["string","null"]}},"required":["total","hits"],"additionalProperties":false},"EntityResolutionRequest":{"type":"object","properties":{"uid":{"type":"string","minLength":1}},"required":["uid"],"additionalProperties":false},"EntityResolutionResponse":{"type":"object","properties":{"status":{"type":"string","enum":["existing","materialized"]},"hit":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["person","legal_entity","publication"]},"title":{"type":"string"},"summary":{"type":["string","null"]},"displayName":{"type":"string"},"name":{"type":"string"},"publicationNumber":{"type":["string","null"]},"publicationDate":{"type":["string","null"]},"canton":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},{"type":"null"}]},"rubric":{"type":["string","null"]},"subRubric":{"type":["string","null"]},"uid":{"type":["string","null"]},"chId":{"type":["string","null"]},"foreignRegisterId":{"type":["string","null"]},"foreignRegisterType":{"type":["string","null"]},"foreignRegisterJurisdiction":{"type":["string","null"]},"seat":{"type":["string","null"]},"status":{"type":["string","null"]},"noga":{"type":"object","properties":{"code":{"type":"string"},"version":{"type":"string","enum":["2008","2025"]},"source":{"type":"string","enum":["official","inferred"]}},"required":["code","version","source"],"additionalProperties":false},"confidence":{"type":["string","null"]},"residence":{"type":["string","null"]},"origin":{"type":["string","null"]},"oldNames":{"type":"array","items":{"type":"string"}},"matchedFormerName":{"description":"Former company name the query matched when the current name does not.","type":"string"},"isBranchOffice":{"type":"boolean"},"legalForm":{"description":"Written-out legal form, e.g. Gesellschaft mit beschränkter Haftung (GmbH).","type":["string","null"]},"legalFormShort":{"description":"Abbreviation of the legal form (GmbH, AG), or the written-out form when there is none.","type":["string","null"]},"legalFormCode":{"description":"UID register legal form code, e.g. 0107.","type":["string","null"]}},"required":["id","type","title"],"additionalProperties":false}},"required":["status","hit"],"additionalProperties":false},"EntityDetailResponse":{"type":"object","properties":{"type":{"type":"string","enum":["person","legal_entity"]},"entity":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","const":"person"},"title":{"type":"string"},"subtitle":{"type":"string"},"residence":{"type":["string","null"]},"origin":{"type":["string","null"]},"canton":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}]},"status":{"type":["string","null"]},"confidence":{"type":"string"},"needsReanalysis":{"type":"boolean"},"matchReason":{"type":["string","null"]}},"required":["id","type","title","subtitle","residence","origin","canton","status","confidence","needsReanalysis","matchReason"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","const":"legal_entity"},"title":{"type":"string"},"subtitle":{"type":"string"},"uid":{"type":["string","null"]},"chId":{"type":["string","null"]},"foreignRegisterId":{"type":["string","null"]},"foreignRegisterType":{"type":["string","null"]},"foreignRegisterJurisdiction":{"type":["string","null"]},"legalForm":{"type":["string","null"]},"legalFormShort":{"type":["string","null"]},"legalFormCode":{"type":["string","null"]},"canton":{"type":["string","null"]},"seat":{"type":["string","null"]},"status":{"type":["string","null"]},"zefixDetailWeb":{"type":["string","null"]},"cantonalExcerptWeb":{"type":["string","null"]}},"required":["id","type","title","subtitle","uid","chId","foreignRegisterId","foreignRegisterType","foreignRegisterJurisdiction","legalForm","legalFormShort","legalFormCode","canton","seat","status","zefixDetailWeb","cantonalExcerptWeb"],"additionalProperties":false}]},"stats":{"type":"object","properties":{"publications":{"type":"number"},"activeConnections":{"type":"number"},"historicalConnections":{"type":"number"}},"required":["publications","activeConnections","historicalConnections"],"additionalProperties":false},"publications":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"publicationNumber":{"type":"string"},"publicationDate":{"type":["string","null"]},"canton":{"type":"string"},"subRubric":{"type":"string"},"sourceUrl":{"type":"string"},"text":{"type":"string"}},"required":["id","title","publicationNumber","publicationDate","canton","subRubric","sourceUrl","text"],"additionalProperties":false}},"publicationPage":{"type":"object","properties":{"total":{"type":"integer","minimum":0,"maximum":9007199254740991},"returned":{"type":"integer","minimum":0,"maximum":9007199254740991},"limit":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"hasMore":{"type":"boolean"},"nextCursor":{"type":["string","null"]}},"required":["total","returned","limit","hasMore","nextCursor"],"additionalProperties":false},"zefix":{"anyOf":[{"type":"object","properties":{"fetchedAt":{"type":["string","null"]},"expiresAt":{"type":["string","null"]},"name":{"type":["string","null"]},"ehraid":{"type":["string","null"]},"uid":{"type":["string","null"]},"chid":{"type":["string","null"]},"legalSeat":{"type":["string","null"]},"legalSeatId":{"type":["number","null"]},"registryOfCommerceId":{"type":["number","null"]},"legalFormName":{"type":["string","null"]},"legalFormShortName":{"type":["string","null"]},"status":{"type":["string","null"]},"sogcDate":{"type":["string","null"]},"deletionDate":{"type":["string","null"]},"purpose":{"type":["string","null"]},"address":{"anyOf":[{"type":"object","properties":{"organisation":{"type":["string","null"]},"careOf":{"type":["string","null"]},"street":{"type":["string","null"]},"houseNumber":{"type":["string","null"]},"addon":{"type":["string","null"]},"poBox":{"type":["string","null"]},"city":{"type":["string","null"]},"swissZipCode":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"canton":{"type":["string","null"]},"capitalNominal":{"type":["number","null"]},"capitalCurrency":{"type":["string","null"]},"zefixDetailWeb":{"type":["string","null"]},"cantonalExcerptWeb":{"type":["string","null"]},"oldNames":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"translation":{"default":[],"type":"array","items":{"type":"string"}}},"required":["name","translation"],"additionalProperties":false}},"sogcPublications":{"type":"array","items":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}}},"sogcPublicationCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"additionalProperties":false},{"type":"null"}]},"uidRegister":{"anyOf":[{"type":"object","properties":{"fetchedAt":{"type":["string","null"]},"expiresAt":{"type":["string","null"]},"uid":{"type":["string","null"]},"sourceUrl":{"type":["string","null"]},"name":{"type":["string","null"]},"legalName":{"type":["string","null"]},"legalForm":{"type":["string","null"]},"uidStatus":{"type":["string","null"]},"uidPublicStatus":{"type":["string","null"]},"uidExtension":{"type":["string","null"]},"commercialRegisterStatus":{"type":["string","null"]},"commercialRegisterEntryStatus":{"type":["string","null"]},"commercialRegisterEnterpriseType":{"type":["string","null"]},"otherOrganisationIds":{"type":"array","items":{"type":"object","properties":{"category":{"type":["string","null"]},"id":{"type":["string","null"]}},"required":["category","id"],"additionalProperties":false}},"hrReferenceNumbers":{"type":"array","items":{"type":"string"}},"ehraIds":{"type":"array","items":{"type":"string"}},"estvIds":{"type":"array","items":{"type":"string"}},"hrReferenceNumber":{"type":["string","null"]},"ehraId":{"type":["string","null"]},"estvId":{"type":["string","null"]},"vatStatus":{"type":["string","null"]},"vatEntryStatus":{"type":["string","null"]},"vatNumber":{"type":["string","null"]},"vatEntryDate":{"type":["string","null"]},"vatLiquidationDate":{"type":["string","null"]},"nogaCode":{"type":["string","null"]},"nogaVersion":{"anyOf":[{"type":"string","enum":["2008","2025"]},{"type":"null"}]},"branchText":{"type":["string","null"]},"address":{"anyOf":[{"type":"object","properties":{"street":{"type":["string","null"]},"houseNumber":{"type":["string","null"]},"town":{"type":["string","null"]},"swissZipCode":{"type":["string","null"]},"municipalityId":{"type":["string","null"]},"canton":{"type":["string","null"]},"country":{"type":["string","null"]},"egid":{"type":["string","null"]},"deliverable":{"type":["boolean","null"]},"dateOfLastCheck":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"currentRegisterFacts":{"type":"object","properties":{"core":{"type":"object","properties":{"name":{"type":["string","null"]},"legalForm":{"type":["string","null"]},"canton":{"type":["string","null"]},"seat":{"type":["string","null"]},"status":{"type":["string","null"]}},"required":["name","legalForm","canton","seat","status"],"additionalProperties":false},"purpose":{"type":["string","null"]},"address":{"anyOf":[{"type":"object","properties":{"organisation":{"type":["string","null"]},"careOf":{"type":["string","null"]},"street":{"type":["string","null"]},"houseNumber":{"type":["string","null"]},"addon":{"type":["string","null"]},"poBox":{"type":["string","null"]},"postalCode":{"type":["string","null"]},"locality":{"type":["string","null"]},"canton":{"type":["string","null"]},"country":{"type":["string","null"]},"egid":{"type":["string","null"]},"deliverable":{"type":["boolean","null"]},"coDomiciliationCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["organisation","careOf","street","houseNumber","addon","poBox","postalCode","locality","canton","country"],"additionalProperties":false},{"type":"null"}]},"provenance":{"type":"object","properties":{"name":{"type":"object","properties":{"sourceTable":{"type":"string","enum":["source_publication","source_register_extract","source_zefix_company_snapshot","source_uid_register_snapshot","source_zefix_lindas_company","manual_correction","legacy_legal_entity"]},"sourceId":{"type":"string"},"sourceKey":{"type":"string"},"sourcePath":{"type":"string"},"sourceHash":{"type":["string","null"]},"effectiveOn":{"type":["string","null"]},"observedAt":{"type":"string"},"evidenceRank":{"type":"number"}},"required":["sourceTable","sourceId","sourceKey","sourcePath","sourceHash","effectiveOn","observedAt","evidenceRank"],"additionalProperties":false},"legal_form":{"type":"object","properties":{"sourceTable":{"type":"string","enum":["source_publication","source_register_extract","source_zefix_company_snapshot","source_uid_register_snapshot","source_zefix_lindas_company","manual_correction","legacy_legal_entity"]},"sourceId":{"type":"string"},"sourceKey":{"type":"string"},"sourcePath":{"type":"string"},"sourceHash":{"type":["string","null"]},"effectiveOn":{"type":["string","null"]},"observedAt":{"type":"string"},"evidenceRank":{"type":"number"}},"required":["sourceTable","sourceId","sourceKey","sourcePath","sourceHash","effectiveOn","observedAt","evidenceRank"],"additionalProperties":false},"canton":{"type":"object","properties":{"sourceTable":{"type":"string","enum":["source_publication","source_register_extract","source_zefix_company_snapshot","source_uid_register_snapshot","source_zefix_lindas_company","manual_correction","legacy_legal_entity"]},"sourceId":{"type":"string"},"sourceKey":{"type":"string"},"sourcePath":{"type":"string"},"sourceHash":{"type":["string","null"]},"effectiveOn":{"type":["string","null"]},"observedAt":{"type":"string"},"evidenceRank":{"type":"number"}},"required":["sourceTable","sourceId","sourceKey","sourcePath","sourceHash","effectiveOn","observedAt","evidenceRank"],"additionalProperties":false},"seat":{"type":"object","properties":{"sourceTable":{"type":"string","enum":["source_publication","source_register_extract","source_zefix_company_snapshot","source_uid_register_snapshot","source_zefix_lindas_company","manual_correction","legacy_legal_entity"]},"sourceId":{"type":"string"},"sourceKey":{"type":"string"},"sourcePath":{"type":"string"},"sourceHash":{"type":["string","null"]},"effectiveOn":{"type":["string","null"]},"observedAt":{"type":"string"},"evidenceRank":{"type":"number"}},"required":["sourceTable","sourceId","sourceKey","sourcePath","sourceHash","effectiveOn","observedAt","evidenceRank"],"additionalProperties":false},"status":{"type":"object","properties":{"sourceTable":{"type":"string","enum":["source_publication","source_register_extract","source_zefix_company_snapshot","source_uid_register_snapshot","source_zefix_lindas_company","manual_correction","legacy_legal_entity"]},"sourceId":{"type":"string"},"sourceKey":{"type":"string"},"sourcePath":{"type":"string"},"sourceHash":{"type":["string","null"]},"effectiveOn":{"type":["string","null"]},"observedAt":{"type":"string"},"evidenceRank":{"type":"number"}},"required":["sourceTable","sourceId","sourceKey","sourcePath","sourceHash","effectiveOn","observedAt","evidenceRank"],"additionalProperties":false},"purpose":{"type":"object","properties":{"sourceTable":{"type":"string","enum":["source_publication","source_register_extract","source_zefix_company_snapshot","source_uid_register_snapshot","source_zefix_lindas_company","manual_correction","legacy_legal_entity"]},"sourceId":{"type":"string"},"sourceKey":{"type":"string"},"sourcePath":{"type":"string"},"sourceHash":{"type":["string","null"]},"effectiveOn":{"type":["string","null"]},"observedAt":{"type":"string"},"evidenceRank":{"type":"number"}},"required":["sourceTable","sourceId","sourceKey","sourcePath","sourceHash","effectiveOn","observedAt","evidenceRank"],"additionalProperties":false},"address.organisation":{"type":"object","properties":{"sourceTable":{"type":"string","enum":["source_publication","source_register_extract","source_zefix_company_snapshot","source_uid_register_snapshot","source_zefix_lindas_company","manual_correction","legacy_legal_entity"]},"sourceId":{"type":"string"},"sourceKey":{"type":"string"},"sourcePath":{"type":"string"},"sourceHash":{"type":["string","null"]},"effectiveOn":{"type":["string","null"]},"observedAt":{"type":"string"},"evidenceRank":{"type":"number"}},"required":["sourceTable","sourceId","sourceKey","sourcePath","sourceHash","effectiveOn","observedAt","evidenceRank"],"additionalProperties":false},"address.care_of":{"type":"object","properties":{"sourceTable":{"type":"string","enum":["source_publication","source_register_extract","source_zefix_company_snapshot","source_uid_register_snapshot","source_zefix_lindas_company","manual_correction","legacy_legal_entity"]},"sourceId":{"type":"string"},"sourceKey":{"type":"string"},"sourcePath":{"type":"string"},"sourceHash":{"type":["string","null"]},"effectiveOn":{"type":["string","null"]},"observedAt":{"type":"string"},"evidenceRank":{"type":"number"}},"required":["sourceTable","sourceId","sourceKey","sourcePath","sourceHash","effectiveOn","observedAt","evidenceRank"],"additionalProperties":false},"address.street":{"type":"object","properties":{"sourceTable":{"type":"string","enum":["source_publication","source_register_extract","source_zefix_company_snapshot","source_uid_register_snapshot","source_zefix_lindas_company","manual_correction","legacy_legal_entity"]},"sourceId":{"type":"string"},"sourceKey":{"type":"string"},"sourcePath":{"type":"string"},"sourceHash":{"type":["string","null"]},"effectiveOn":{"type":["string","null"]},"observedAt":{"type":"string"},"evidenceRank":{"type":"number"}},"required":["sourceTable","sourceId","sourceKey","sourcePath","sourceHash","effectiveOn","observedAt","evidenceRank"],"additionalProperties":false},"address.house_number":{"type":"object","properties":{"sourceTable":{"type":"string","enum":["source_publication","source_register_extract","source_zefix_company_snapshot","source_uid_register_snapshot","source_zefix_lindas_company","manual_correction","legacy_legal_entity"]},"sourceId":{"type":"string"},"sourceKey":{"type":"string"},"sourcePath":{"type":"string"},"sourceHash":{"type":["string","null"]},"effectiveOn":{"type":["string","null"]},"observedAt":{"type":"string"},"evidenceRank":{"type":"number"}},"required":["sourceTable","sourceId","sourceKey","sourcePath","sourceHash","effectiveOn","observedAt","evidenceRank"],"additionalProperties":false},"address.addon":{"type":"object","properties":{"sourceTable":{"type":"string","enum":["source_publication","source_register_extract","source_zefix_company_snapshot","source_uid_register_snapshot","source_zefix_lindas_company","manual_correction","legacy_legal_entity"]},"sourceId":{"type":"string"},"sourceKey":{"type":"string"},"sourcePath":{"type":"string"},"sourceHash":{"type":["string","null"]},"effectiveOn":{"type":["string","null"]},"observedAt":{"type":"string"},"evidenceRank":{"type":"number"}},"required":["sourceTable","sourceId","sourceKey","sourcePath","sourceHash","effectiveOn","observedAt","evidenceRank"],"additionalProperties":false},"address.po_box":{"type":"object","properties":{"sourceTable":{"type":"string","enum":["source_publication","source_register_extract","source_zefix_company_snapshot","source_uid_register_snapshot","source_zefix_lindas_company","manual_correction","legacy_legal_entity"]},"sourceId":{"type":"string"},"sourceKey":{"type":"string"},"sourcePath":{"type":"string"},"sourceHash":{"type":["string","null"]},"effectiveOn":{"type":["string","null"]},"observedAt":{"type":"string"},"evidenceRank":{"type":"number"}},"required":["sourceTable","sourceId","sourceKey","sourcePath","sourceHash","effectiveOn","observedAt","evidenceRank"],"additionalProperties":false},"address.postal_code":{"type":"object","properties":{"sourceTable":{"type":"string","enum":["source_publication","source_register_extract","source_zefix_company_snapshot","source_uid_register_snapshot","source_zefix_lindas_company","manual_correction","legacy_legal_entity"]},"sourceId":{"type":"string"},"sourceKey":{"type":"string"},"sourcePath":{"type":"string"},"sourceHash":{"type":["string","null"]},"effectiveOn":{"type":["string","null"]},"observedAt":{"type":"string"},"evidenceRank":{"type":"number"}},"required":["sourceTable","sourceId","sourceKey","sourcePath","sourceHash","effectiveOn","observedAt","evidenceRank"],"additionalProperties":false},"address.locality":{"type":"object","properties":{"sourceTable":{"type":"string","enum":["source_publication","source_register_extract","source_zefix_company_snapshot","source_uid_register_snapshot","source_zefix_lindas_company","manual_correction","legacy_legal_entity"]},"sourceId":{"type":"string"},"sourceKey":{"type":"string"},"sourcePath":{"type":"string"},"sourceHash":{"type":["string","null"]},"effectiveOn":{"type":["string","null"]},"observedAt":{"type":"string"},"evidenceRank":{"type":"number"}},"required":["sourceTable","sourceId","sourceKey","sourcePath","sourceHash","effectiveOn","observedAt","evidenceRank"],"additionalProperties":false},"address.canton":{"type":"object","properties":{"sourceTable":{"type":"string","enum":["source_publication","source_register_extract","source_zefix_company_snapshot","source_uid_register_snapshot","source_zefix_lindas_company","manual_correction","legacy_legal_entity"]},"sourceId":{"type":"string"},"sourceKey":{"type":"string"},"sourcePath":{"type":"string"},"sourceHash":{"type":["string","null"]},"effectiveOn":{"type":["string","null"]},"observedAt":{"type":"string"},"evidenceRank":{"type":"number"}},"required":["sourceTable","sourceId","sourceKey","sourcePath","sourceHash","effectiveOn","observedAt","evidenceRank"],"additionalProperties":false},"address.country":{"type":"object","properties":{"sourceTable":{"type":"string","enum":["source_publication","source_register_extract","source_zefix_company_snapshot","source_uid_register_snapshot","source_zefix_lindas_company","manual_correction","legacy_legal_entity"]},"sourceId":{"type":"string"},"sourceKey":{"type":"string"},"sourcePath":{"type":"string"},"sourceHash":{"type":["string","null"]},"effectiveOn":{"type":["string","null"]},"observedAt":{"type":"string"},"evidenceRank":{"type":"number"}},"required":["sourceTable","sourceId","sourceKey","sourcePath","sourceHash","effectiveOn","observedAt","evidenceRank"],"additionalProperties":false},"address.egid":{"type":"object","properties":{"sourceTable":{"type":"string","enum":["source_publication","source_register_extract","source_zefix_company_snapshot","source_uid_register_snapshot","source_zefix_lindas_company","manual_correction","legacy_legal_entity"]},"sourceId":{"type":"string"},"sourceKey":{"type":"string"},"sourcePath":{"type":"string"},"sourceHash":{"type":["string","null"]},"effectiveOn":{"type":["string","null"]},"observedAt":{"type":"string"},"evidenceRank":{"type":"number"}},"required":["sourceTable","sourceId","sourceKey","sourcePath","sourceHash","effectiveOn","observedAt","evidenceRank"],"additionalProperties":false},"address.deliverable":{"type":"object","properties":{"sourceTable":{"type":"string","enum":["source_publication","source_register_extract","source_zefix_company_snapshot","source_uid_register_snapshot","source_zefix_lindas_company","manual_correction","legacy_legal_entity"]},"sourceId":{"type":"string"},"sourceKey":{"type":"string"},"sourcePath":{"type":"string"},"sourceHash":{"type":["string","null"]},"effectiveOn":{"type":["string","null"]},"observedAt":{"type":"string"},"evidenceRank":{"type":"number"}},"required":["sourceTable","sourceId","sourceKey","sourcePath","sourceHash","effectiveOn","observedAt","evidenceRank"],"additionalProperties":false},"address.co_domiciliation_count":{"type":"object","properties":{"sourceTable":{"type":"string","enum":["source_publication","source_register_extract","source_zefix_company_snapshot","source_uid_register_snapshot","source_zefix_lindas_company","manual_correction","legacy_legal_entity"]},"sourceId":{"type":"string"},"sourceKey":{"type":"string"},"sourcePath":{"type":"string"},"sourceHash":{"type":["string","null"]},"effectiveOn":{"type":["string","null"]},"observedAt":{"type":"string"},"evidenceRank":{"type":"number"}},"required":["sourceTable","sourceId","sourceKey","sourcePath","sourceHash","effectiveOn","observedAt","evidenceRank"],"additionalProperties":false}},"additionalProperties":false}},"required":["core","purpose","address","provenance"],"additionalProperties":false},"riskSignals":{"anyOf":[{"type":"object","properties":{"secoSanctions":{"default":[],"type":"array","items":{"type":"object","properties":{"ssid":{"type":"string"},"targetType":{"type":"string","enum":["entity","individual"]},"primaryName":{"type":"string"},"aliases":{"default":[],"type":"array","items":{"type":"string"}},"uids":{"default":[],"type":"array","items":{"type":"string"}},"birthDates":{"default":[],"type":"array","items":{"type":"string"}},"nationalities":{"default":[],"type":"array","items":{"type":"string"}},"programs":{"default":[],"type":"array","items":{"type":"string"}},"justifications":{"default":[],"type":"array","items":{"type":"string"}},"listedOn":{"type":["string","null"]},"sourceDate":{"type":["string","null"]},"matchConfidence":{"type":"string","enum":["exact_uid","name_and_seat","name_and_birth","name_only"]}},"required":["ssid","targetType","primaryName","aliases","uids","birthDates","nationalities","programs","justifications","listedOn","sourceDate","matchConfidence"],"additionalProperties":false}},"finmaWarnings":{"default":[],"type":"array","items":{"type":"object","properties":{"sourceKey":{"type":"string"},"title":{"type":"string"},"location":{"type":["string","null"]},"commercialRegisterStatus":{"type":["string","null"]},"sourceUrl":{"type":["string","null"]},"publishedOn":{"type":["string","null"]}},"required":["sourceKey","title","location","commercialRegisterStatus","sourceUrl","publishedOn"],"additionalProperties":false}},"finmaAuthorisations":{"default":[],"type":"array","items":{"type":"object","properties":{"sourceKey":{"type":"string"},"title":{"type":"string"},"location":{"type":["string","null"]},"category":{"type":["string","null"]},"supervisoryOrg":{"type":["string","null"]},"sourceUrl":{"type":["string","null"]},"publishedOn":{"type":["string","null"]}},"required":["sourceKey","title","location","category","supervisoryOrg","sourceUrl","publishedOn"],"additionalProperties":false}},"insolvency":{"type":"object","properties":{"kkCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"lsCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"assetlessSuspensionCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"latestSubRubric":{"type":["string","null"]},"latestPublicationDate":{"type":["string","null"]},"latestPublicationId":{"type":["string","null"]},"associatedInsolvencyCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"associatedAssetlessCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["kkCount","lsCount","assetlessSuspensionCount","latestSubRubric","latestPublicationDate","latestPublicationId"],"additionalProperties":false},"addressSignals":{"anyOf":[{"type":"object","properties":{"egid":{"type":["string","null"]},"deliverable":{"type":["boolean","null"]},"coDomiciliationCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["egid","deliverable","coDomiciliationCount"],"additionalProperties":false},{"type":"null"}]}},"required":["secoSanctions","finmaWarnings","finmaAuthorisations","insolvency","addressSignals"],"additionalProperties":false},{"type":"null"}]},"industry":{"anyOf":[{"type":"object","properties":{"nogaCode":{"type":"string"},"label":{"type":"string"},"nogaVersion":{"type":"string","enum":["2008","2025"]},"sector":{"type":["string","null"]},"classification":{"type":"string","enum":["official","inferred"]},"confidence":{"type":"number"},"secondaryIndustries":{"default":[],"maxItems":2,"type":"array","items":{"type":"object","properties":{"nogaCode":{"type":"string"},"label":{"type":"string"},"nogaVersion":{"type":"string","enum":["2008","2025"]},"sector":{"type":["string","null"]},"confidence":{"type":"number"}},"required":["nogaCode","label","nogaVersion","confidence"],"additionalProperties":false}}},"required":["nogaCode","label","nogaVersion","classification","confidence","secondaryIndustries"],"additionalProperties":false},{"type":"null"}]},"registerFacts":{"anyOf":[{"type":"object","properties":{"oldNames":{"default":[],"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"},"source":{"type":"string","enum":["Zefix","SHAB"]},"sourcePublicationId":{"type":"string"},"sourcePublicationNumber":{"type":"string"},"sourceUrl":{"type":"string"},"date":{"type":["string","null"]}},"required":["label","value","source"],"additionalProperties":false}},"revisions":{"default":[],"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"},"source":{"type":"string","enum":["Zefix","SHAB"]},"sourcePublicationId":{"type":"string"},"sourcePublicationNumber":{"type":"string"},"sourceUrl":{"type":"string"},"date":{"type":["string","null"]}},"required":["label","value","source"],"additionalProperties":false}},"branches":{"default":[],"type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"},"source":{"type":"string","enum":["Zefix","SHAB"]},"sourcePublicationId":{"type":"string"},"sourcePublicationNumber":{"type":"string"},"sourceUrl":{"type":"string"},"date":{"type":["string","null"]}},"required":["label","value","source"],"additionalProperties":false}}},"required":["oldNames","revisions","branches"],"additionalProperties":false},{"type":"null"}]},"branchOffices":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"source":{"type":"string","const":"Zefix"},"legalEntityId":{"type":["string","null"]},"name":{"type":"string"},"uid":{"type":["string","null"]},"chId":{"type":["string","null"]},"ehraId":{"type":["string","null"]},"address":{"anyOf":[{"type":"object","properties":{"organisation":{"type":["string","null"]},"careOf":{"type":["string","null"]},"street":{"type":["string","null"]},"houseNumber":{"type":["string","null"]},"addon":{"type":["string","null"]},"poBox":{"type":["string","null"]},"city":{"type":["string","null"]},"swissZipCode":{"type":["string","null"]}},"additionalProperties":false},{"type":"null"}]},"zefixDetailWeb":{"type":["string","null"]},"cantonalExcerptWeb":{"type":["string","null"]},"legalFormName":{"type":["string","null"]},"legalFormShortName":{"type":["string","null"]},"seat":{"type":["string","null"]},"canton":{"type":["string","null"]},"legalSeatId":{"type":["number","null"]},"registryOfCommerceId":{"type":["number","null"]},"status":{"type":["string","null"]},"sogcDate":{"type":["string","null"]},"deletionDate":{"type":["string","null"]},"isCurrent":{"description":"false for a former branch office: the branch moved to another head office and the link ended on deletionDate. Former branch offices follow the current ones.","type":"boolean"}},"required":["id","source","name","uid","chId","ehraId","legalFormName","legalFormShortName","seat","legalSeatId","registryOfCommerceId","status","sogcDate","deletionDate"],"additionalProperties":false}},"isBranchOffice":{"type":"boolean"},"headOffice":{"anyOf":[{"type":"object","properties":{"uid":{"type":"string"},"legalEntityId":{"type":["string","null"]},"name":{"type":["string","null"]},"purpose":{"type":["string","null"]}},"required":["uid","legalEntityId","name","purpose"],"additionalProperties":false},{"type":"null"}]},"mandates":{"anyOf":[{"type":"object","properties":{"current":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"subjectType":{"type":"string","enum":["person","legal_entity"]},"subjectId":{"type":["string","null"]},"subjectName":{"type":"string"},"subtitle":{"type":["string","null"]},"role":{"type":"string"},"classification":{"type":"string","enum":["signature","role"]},"signatureAuthority":{"type":["string","null"]},"status":{"type":"string","enum":["active","historical"]},"validFrom":{"type":["string","null"]},"validFromIsUpperBound":{"default":false,"type":"boolean"},"validTo":{"type":["string","null"]},"confidence":{"type":"string"},"sources":{"type":"array","items":{"type":"object","properties":{"publicationId":{"type":"string"},"publicationNumber":{"type":["string","null"]},"publicationTitle":{"type":["string","null"]},"publicationDate":{"type":["string","null"]},"sourceUrl":{"type":["string","null"]},"canton":{"type":["string","null"]}},"required":["publicationId","publicationNumber","publicationTitle","publicationDate","sourceUrl","canton"],"additionalProperties":false}}},"required":["id","subjectType","subjectId","subjectName","subtitle","role","classification","signatureAuthority","status","validFrom","validFromIsUpperBound","validTo","confidence","sources"],"additionalProperties":false}},"historical":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"subjectType":{"type":"string","enum":["person","legal_entity"]},"subjectId":{"type":["string","null"]},"subjectName":{"type":"string"},"subtitle":{"type":["string","null"]},"role":{"type":"string"},"classification":{"type":"string","enum":["signature","role"]},"signatureAuthority":{"type":["string","null"]},"status":{"type":"string","enum":["active","historical"]},"validFrom":{"type":["string","null"]},"validFromIsUpperBound":{"default":false,"type":"boolean"},"validTo":{"type":["string","null"]},"confidence":{"type":"string"},"sources":{"type":"array","items":{"type":"object","properties":{"publicationId":{"type":"string"},"publicationNumber":{"type":["string","null"]},"publicationTitle":{"type":["string","null"]},"publicationDate":{"type":["string","null"]},"sourceUrl":{"type":["string","null"]},"canton":{"type":["string","null"]}},"required":["publicationId","publicationNumber","publicationTitle","publicationDate","sourceUrl","canton"],"additionalProperties":false}}},"required":["id","subjectType","subjectId","subjectName","subtitle","role","classification","signatureAuthority","status","validFrom","validFromIsUpperBound","validTo","confidence","sources"],"additionalProperties":false}},"total":{"type":"number"}},"required":["current","historical","total"],"additionalProperties":false},{"type":"null"}]},"participations":{"anyOf":[{"type":"object","properties":{"capitalNominal":{"type":["number","null"]},"currentAsOf":{"type":"string"},"current":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"direction":{"type":"string","enum":["incoming","outgoing"]},"participantType":{"type":"string","enum":["person","legal_entity"]},"participantId":{"type":["string","null"]},"participantName":{"type":"string"},"normalizedName":{"type":"string"},"uid":{"type":["string","null"]},"chId":{"type":["string","null"]},"foreignRegisterId":{"type":["string","null"]},"foreignRegisterType":{"type":["string","null"]},"foreignRegisterJurisdiction":{"type":["string","null"]},"residence":{"type":["string","null"]},"role":{"type":["string","null"]},"status":{"type":"string","enum":["active","historical"]},"validFrom":{"type":["string","null"]},"validFromIsUpperBound":{"default":false,"type":"boolean"},"validTo":{"type":["string","null"]},"shares":{"anyOf":[{"type":"object","properties":{"count":{"type":"number"},"unit":{"type":"string"},"currency":{"type":"string"},"nominalValue":{"type":"number"},"totalNominalValue":{"type":"number"},"classLabel":{"type":"string"}},"required":["count","unit","currency","nominalValue","totalNominalValue"],"additionalProperties":false},{"type":"null"}]},"shareClasses":{"default":[],"type":"array","items":{"type":"object","properties":{"count":{"type":"number"},"unit":{"type":"string"},"currency":{"type":"string"},"nominalValue":{"type":"number"},"totalNominalValue":{"type":"number"},"classLabel":{"type":"string"}},"required":["count","unit","currency","nominalValue","totalNominalValue"],"additionalProperties":false}},"sourcePublicationId":{"type":"string"},"sourcePublicationNumber":{"type":"string"},"sourcePublicationTitle":{"type":"string"},"sourceUrl":{"type":"string"},"confidence":{"type":"string"}},"required":["id","participantType","participantName","normalizedName","residence","role","status","validFrom","validFromIsUpperBound","validTo","shares","shareClasses","sourcePublicationId","sourcePublicationNumber","sourcePublicationTitle","sourceUrl","confidence"],"additionalProperties":false}},"historical":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"direction":{"type":"string","enum":["incoming","outgoing"]},"participantType":{"type":"string","enum":["person","legal_entity"]},"participantId":{"type":["string","null"]},"participantName":{"type":"string"},"normalizedName":{"type":"string"},"uid":{"type":["string","null"]},"chId":{"type":["string","null"]},"foreignRegisterId":{"type":["string","null"]},"foreignRegisterType":{"type":["string","null"]},"foreignRegisterJurisdiction":{"type":["string","null"]},"residence":{"type":["string","null"]},"role":{"type":["string","null"]},"status":{"type":"string","enum":["active","historical"]},"validFrom":{"type":["string","null"]},"validFromIsUpperBound":{"default":false,"type":"boolean"},"validTo":{"type":["string","null"]},"shares":{"anyOf":[{"type":"object","properties":{"count":{"type":"number"},"unit":{"type":"string"},"currency":{"type":"string"},"nominalValue":{"type":"number"},"totalNominalValue":{"type":"number"},"classLabel":{"type":"string"}},"required":["count","unit","currency","nominalValue","totalNominalValue"],"additionalProperties":false},{"type":"null"}]},"shareClasses":{"default":[],"type":"array","items":{"type":"object","properties":{"count":{"type":"number"},"unit":{"type":"string"},"currency":{"type":"string"},"nominalValue":{"type":"number"},"totalNominalValue":{"type":"number"},"classLabel":{"type":"string"}},"required":["count","unit","currency","nominalValue","totalNominalValue"],"additionalProperties":false}},"sourcePublicationId":{"type":"string"},"sourcePublicationNumber":{"type":"string"},"sourcePublicationTitle":{"type":"string"},"sourceUrl":{"type":"string"},"confidence":{"type":"string"}},"required":["id","participantType","participantName","normalizedName","residence","role","status","validFrom","validFromIsUpperBound","validTo","shares","shareClasses","sourcePublicationId","sourcePublicationNumber","sourcePublicationTitle","sourceUrl","confidence"],"additionalProperties":false}},"periods":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"direction":{"type":"string","enum":["incoming","outgoing"]},"participantType":{"type":"string","enum":["person","legal_entity"]},"participantId":{"type":["string","null"]},"participantName":{"type":"string"},"normalizedName":{"type":"string"},"uid":{"type":["string","null"]},"chId":{"type":["string","null"]},"foreignRegisterId":{"type":["string","null"]},"foreignRegisterType":{"type":["string","null"]},"foreignRegisterJurisdiction":{"type":["string","null"]},"residence":{"type":["string","null"]},"role":{"type":["string","null"]},"status":{"type":"string","enum":["active","historical"]},"validFrom":{"type":["string","null"]},"validFromIsUpperBound":{"default":false,"type":"boolean"},"validTo":{"type":["string","null"]},"shares":{"anyOf":[{"type":"object","properties":{"count":{"type":"number"},"unit":{"type":"string"},"currency":{"type":"string"},"nominalValue":{"type":"number"},"totalNominalValue":{"type":"number"},"classLabel":{"type":"string"}},"required":["count","unit","currency","nominalValue","totalNominalValue"],"additionalProperties":false},{"type":"null"}]},"shareClasses":{"default":[],"type":"array","items":{"type":"object","properties":{"count":{"type":"number"},"unit":{"type":"string"},"currency":{"type":"string"},"nominalValue":{"type":"number"},"totalNominalValue":{"type":"number"},"classLabel":{"type":"string"}},"required":["count","unit","currency","nominalValue","totalNominalValue"],"additionalProperties":false}},"sourcePublicationId":{"type":"string"},"sourcePublicationNumber":{"type":"string"},"sourcePublicationTitle":{"type":"string"},"sourceUrl":{"type":"string"},"confidence":{"type":"string"}},"required":["id","participantType","participantName","normalizedName","residence","role","status","validFrom","validFromIsUpperBound","validTo","shares","shareClasses","sourcePublicationId","sourcePublicationNumber","sourcePublicationTitle","sourceUrl","confidence"],"additionalProperties":false}},"capitalEvents":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"date":{"type":["string","null"]},"title":{"type":"string"},"amountText":{"type":"string"},"sourcePublicationId":{"type":"string"},"publicationNumber":{"type":"string"},"sourceUrl":{"type":"string"}},"required":["id","date","title","amountText","sourcePublicationId","publicationNumber","sourceUrl"],"additionalProperties":false}},"timeline":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"direction":{"type":"string","enum":["incoming","outgoing"]},"participantType":{"type":"string","enum":["person","legal_entity"]},"participantId":{"type":["string","null"]},"participantName":{"type":"string"},"normalizedName":{"type":"string"},"uid":{"type":["string","null"]},"chId":{"type":["string","null"]},"foreignRegisterId":{"type":["string","null"]},"foreignRegisterType":{"type":["string","null"]},"foreignRegisterJurisdiction":{"type":["string","null"]},"residence":{"type":["string","null"]},"role":{"type":["string","null"]},"status":{"type":"string","enum":["active","historical"]},"validFrom":{"type":["string","null"]},"validFromIsUpperBound":{"default":false,"type":"boolean"},"validTo":{"type":["string","null"]},"publicationId":{"type":"string"},"publicationNumber":{"type":"string"},"publicationDate":{"type":["string","null"]},"publicationTitle":{"type":"string"},"sourceUrl":{"type":"string"},"currentShares":{"anyOf":[{"type":"object","properties":{"count":{"type":"number"},"unit":{"type":"string"},"currency":{"type":"string"},"nominalValue":{"type":"number"},"totalNominalValue":{"type":"number"},"classLabel":{"type":"string"}},"required":["count","unit","currency","nominalValue","totalNominalValue"],"additionalProperties":false},{"type":"null"}]},"previousShares":{"anyOf":[{"type":"object","properties":{"count":{"type":"number"},"unit":{"type":"string"},"currency":{"type":"string"},"nominalValue":{"type":"number"},"totalNominalValue":{"type":"number"},"classLabel":{"type":"string"}},"required":["count","unit","currency","nominalValue","totalNominalValue"],"additionalProperties":false},{"type":"null"}]},"currentShareClasses":{"default":[],"type":"array","items":{"type":"object","properties":{"count":{"type":"number"},"unit":{"type":"string"},"currency":{"type":"string"},"nominalValue":{"type":"number"},"totalNominalValue":{"type":"number"},"classLabel":{"type":"string"}},"required":["count","unit","currency","nominalValue","totalNominalValue"],"additionalProperties":false}},"previousShareClasses":{"default":[],"type":"array","items":{"type":"object","properties":{"count":{"type":"number"},"unit":{"type":"string"},"currency":{"type":"string"},"nominalValue":{"type":"number"},"totalNominalValue":{"type":"number"},"classLabel":{"type":"string"}},"required":["count","unit","currency","nominalValue","totalNominalValue"],"additionalProperties":false}},"rawText":{"type":"string"},"confidence":{"type":"string"}},"required":["id","participantType","participantName","normalizedName","residence","role","status","validFrom","validFromIsUpperBound","validTo","publicationId","publicationNumber","publicationDate","publicationTitle","sourceUrl","currentShares","previousShares","currentShareClasses","previousShareClasses","rawText","confidence"],"additionalProperties":false}}},"required":["capitalNominal","currentAsOf","current","historical","periods","timeline"],"additionalProperties":false},{"type":"null"}]},"timeline":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["founding","mutation","deletion","management","participation","capital","name","seat","purpose","revision","branch","merger","liquidation","publication"]},"date":{"type":["string","null"]},"title":{"type":"string"},"subtitle":{"type":"string"},"summary":{"type":"string"},"text":{"type":"string"},"publicationId":{"type":"string"},"publicationTitle":{"type":"string"},"publicationNumber":{"type":"string"},"canton":{"type":"string"},"subRubric":{"type":"string"},"sourceUrl":{"type":"string"},"confidence":{"type":"string"},"changes":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["founding","mutation","deletion","management","participation","capital","name","seat","purpose","revision","branch","merger","liquidation","publication"]},"label":{"type":"string"},"value":{"type":["string","null"]},"previous":{"type":["string","null"]}},"required":["type","label","value","previous"],"additionalProperties":false}},"related":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["person","legal_entity"]},"id":{"type":["string","null"]},"label":{"type":"string"},"subtitle":{"type":["string","null"]}},"required":["type","id","label","subtitle"],"additionalProperties":false}}},"required":["id","type","date","title","subtitle","summary","text","publicationId","publicationTitle","publicationNumber","canton","subRubric","sourceUrl","confidence","changes","related"],"additionalProperties":false}}},"additionalProperties":false},"PublicationDetailResponse":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"publicationNumber":{"type":["string","null"]},"publicationDate":{"type":["string","null"]},"canton":{"type":["string","null"]},"rubric":{"type":["string","null"]},"subRubric":{"type":["string","null"]},"sourceUrl":{"type":["string","null"]},"extractedText":{"type":"string"},"subjectEntity":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"uid":{"type":["string","null"]},"name":{"type":"string"}},"required":["id","uid","name"],"additionalProperties":false},{"type":"null"}]}},"required":["id","title","extractedText"],"additionalProperties":false},"GraphAnalysisRequest":{"type":"object","properties":{"start":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"type":{"type":"string","enum":["person","legal_entity"]}},"required":["id","type"],"additionalProperties":false},"target":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"type":{"type":"string","enum":["person","legal_entity"]}},"required":["id","type"],"additionalProperties":false},"preset":{"default":"owners_other_companies","type":"string","enum":["owners_other_companies","direct_neighborhood","connection_path"]},"relationTypes":{"default":["OWNS_PARTICIPATION","CONNECTED_TO","HAS_BRANCH"],"type":"array","items":{"type":"string","enum":["OWNS_PARTICIPATION","CONNECTED_TO","HAS_BRANCH"]}},"statusMode":{"default":"all","type":"string","enum":["all","active","active_only","prefer_active"]},"limit":{"default":250,"type":"integer","minimum":25,"maximum":1000},"maxDepth":{"default":6,"type":"integer","minimum":1,"maximum":6},"fallbackMaxDepth":{"type":"integer","minimum":1,"maximum":10},"pathLimit":{"default":32,"type":"integer","minimum":1,"maximum":32},"maxItems":{"description":"direct_neighborhood only: the most relationships to return. Default 250; active relationships come first, then by display priority. stats.total is the number found and stats.truncated tells whether the answer was cut. Raising it raises the technical cost of the request.","type":"integer","minimum":1,"maximum":50000},"language":{"default":"de","type":"string","enum":["de","fr","it","en"]},"asOf":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},"required":["start"],"additionalProperties":false},"GraphAnalysisResponse":{"type":"object","properties":{"preset":{"type":"string","enum":["owners_other_companies","direct_neighborhood","connection_path"]},"start":{"type":"string"},"target":{"type":["string","null"]},"asOf":{"anyOf":[{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},{"type":"null"}]},"paths":{"type":"array","items":{"type":"object","properties":{"hops":{"type":"integer","minimum":0,"maximum":9007199254740991},"nodes":{"type":"array","items":{"type":"string"}},"edges":{"type":"array","items":{"type":"string"}}},"required":["hops","nodes","edges"],"additionalProperties":false}},"nodes":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"type":{"type":"string","enum":["person","legal_entity"]},"label":{"type":"string"},"subtitle":{"type":["string","null"]},"status":{"type":["string","null"]},"uid":{"type":["string","null"]},"chId":{"type":["string","null"]},"foreignRegisterId":{"type":["string","null"]},"foreignRegisterType":{"type":["string","null"]},"foreignRegisterJurisdiction":{"type":["string","null"]},"zefixDetailWeb":{"type":["string","null"]},"cantonalExcerptWeb":{"type":["string","null"]},"companyStatus":{"type":["string","null"]},"origin":{"type":["string","null"]},"residence":{"type":["string","null"]}},"required":["id","type","label","subtitle","status"],"additionalProperties":false}},"edges":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"from":{"type":"string"},"to":{"type":"string"},"type":{"type":"string","enum":["OWNS_PARTICIPATION","CONNECTED_TO","HAS_BRANCH"]},"classification":{"type":"string","enum":["participation","signature","role","branch","connection"]},"label":{"type":"string"},"status":{"type":"string","enum":["active","historical"]},"validFrom":{"type":["string","null"]},"validFromIsUpperBound":{"default":false,"type":"boolean"},"validTo":{"type":["string","null"]},"confidence":{"type":["string","null"]},"signatureAuthority":{"type":["string","null"]},"shares":{"anyOf":[{"type":"object","properties":{"count":{"type":["number","null"]},"unit":{"type":["string","null"]},"totalNominalValue":{"type":["number","null"]},"classCount":{"type":["number","null"]}},"additionalProperties":false},{"type":"null"}]},"sourcePublication":{"anyOf":[{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"publicationNumber":{"type":["string","null"]},"publicationDate":{"type":["string","null"]},"sourceUrl":{"type":["string","null"]}},"required":["id","title","publicationNumber","publicationDate","sourceUrl"],"additionalProperties":false},{"type":"null"}]}},"required":["id","from","to","type","classification","label","status","validFrom","validFromIsUpperBound","validTo","confidence","signatureAuthority","sourcePublication"],"additionalProperties":false}},"stats":{"type":"object","properties":{"nodes":{"type":"number"},"edges":{"type":"number"},"paths":{"type":"number"},"depth":{"type":["number","null"]},"limited":{"type":"boolean"},"pathLimit":{"type":"number"},"dropped":{"type":"number"},"total":{"description":"direct_neighborhood only: relationships the neighbourhood has, counted before the maxItems cut and before the statusMode filter.","type":"number"},"truncated":{"description":"direct_neighborhood only: true when the maxItems cut dropped relationships. Active relationships are kept first, so with statusMode active_only the answer can be complete although this is true.","type":"boolean"},"maxItems":{"description":"direct_neighborhood only: the cut that applied, the requested maxItems or else the default.","type":"number"}},"required":["nodes","edges"],"additionalProperties":false}},"required":["preset","start","nodes","edges","stats"],"additionalProperties":false},"DossierExportRequest":{"type":"object","properties":{"entity":{"type":"object","properties":{"type":{"type":"string","enum":["person","legal_entity"]},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["type","id"],"additionalProperties":false},"title":{"type":"string","minLength":1,"maxLength":160},"sections":{"default":["overview","details","mandates","historicalMandates","participations","historicalParticipations","timeline"],"minItems":1,"maxItems":8,"type":"array","items":{"type":"string","enum":["overview","details","mandates","historicalMandates","participations","historicalParticipations","timeline","publications"]}}},"required":["entity"],"additionalProperties":false},"DossierExportCreatedResponse":{"type":"object","properties":{"jobId":{"type":"string"},"statusUrl":{"type":"string"}},"required":["jobId","statusUrl"],"additionalProperties":false},"DossierJobStatusResponse":{"type":"object","properties":{"jobId":{"type":"string"},"status":{"type":"string"},"progress":{"type":"object","properties":{"percent":{"type":"number","minimum":0,"maximum":100},"step":{"type":"string"}},"required":["percent","step"],"additionalProperties":false},"error":{"type":["string","null"]},"downloadUrl":{"type":["string","null"]}},"required":["jobId","status","progress","error","downloadUrl"],"additionalProperties":false},"ErrorResponse":{"type":"object","properties":{"statusCode":{"type":"number"},"statusMessage":{"type":"string"},"message":{"type":"string"},"data":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":{}}},"additionalProperties":false}}}}