1412 lines
70 KiB
JSON
1412 lines
70 KiB
JSON
{
|
|
"date": "2026-10-16",
|
|
"read_only": true,
|
|
"active_connections": 0,
|
|
"targets": {
|
|
"restored_destination": {
|
|
"identity": {
|
|
"database": "negocios_nome_before_20261016_071036_test",
|
|
"port": 55441
|
|
},
|
|
"tables": {
|
|
"sectors": {
|
|
"count": 12,
|
|
"sha256": "fcfcd6263aed630dc166e4b831e31ba6665397d6a523c2cd16b37875f9d2d587",
|
|
"rows": [
|
|
{
|
|
"id": 1,
|
|
"name": "Agronegócio",
|
|
"slug": "agronegocio",
|
|
"short_description": "Produção, agroprocessamento, irrigação e cadeias de valor agrícolas.",
|
|
"description": null,
|
|
"icon": null,
|
|
"sort_order": 1,
|
|
"is_active": true,
|
|
"published_at": "2026-09-24T19:02:24",
|
|
"created_at": "2026-09-24T19:02:24",
|
|
"updated_at": "2026-09-24T19:02:24",
|
|
"deleted_at": null
|
|
},
|
|
{
|
|
"id": 10,
|
|
"name": "Imobiliário",
|
|
"slug": "imobiliario",
|
|
"short_description": null,
|
|
"description": null,
|
|
"icon": null,
|
|
"sort_order": 100,
|
|
"is_active": true,
|
|
"published_at": "2026-09-29T11:17:19",
|
|
"created_at": "2026-09-29T11:17:19",
|
|
"updated_at": "2026-09-29T11:17:19",
|
|
"deleted_at": null
|
|
},
|
|
{
|
|
"id": 11,
|
|
"name": "Bens de Consumo e Franquias",
|
|
"slug": "bens-de-consumo-e-franquias",
|
|
"short_description": null,
|
|
"description": null,
|
|
"icon": null,
|
|
"sort_order": 100,
|
|
"is_active": true,
|
|
"published_at": "2026-09-29T11:17:19",
|
|
"created_at": "2026-09-29T11:17:19",
|
|
"updated_at": "2026-09-29T11:17:19",
|
|
"deleted_at": null
|
|
},
|
|
{
|
|
"id": 12,
|
|
"name": "Tecnologias de Informação",
|
|
"slug": "tecnologias-de-informacao",
|
|
"short_description": null,
|
|
"description": null,
|
|
"icon": null,
|
|
"sort_order": 100,
|
|
"is_active": true,
|
|
"published_at": "2026-09-29T11:17:19",
|
|
"created_at": "2026-09-29T11:17:19",
|
|
"updated_at": "2026-09-29T11:17:19",
|
|
"deleted_at": null
|
|
},
|
|
{
|
|
"id": 2,
|
|
"name": "Energia e Mineração",
|
|
"slug": "energia",
|
|
"short_description": "Energias renováveis, transição energética e mineração responsável.",
|
|
"description": null,
|
|
"icon": null,
|
|
"sort_order": 2,
|
|
"is_active": true,
|
|
"published_at": "2026-09-24T19:02:24",
|
|
"created_at": "2026-09-24T19:02:24",
|
|
"updated_at": "2026-09-24T19:02:24",
|
|
"deleted_at": null
|
|
},
|
|
{
|
|
"id": 3,
|
|
"name": "Turismo",
|
|
"slug": "turismo",
|
|
"short_description": "Hotelaria, turismo costeiro, cultural e ecológico.",
|
|
"description": null,
|
|
"icon": null,
|
|
"sort_order": 3,
|
|
"is_active": true,
|
|
"published_at": "2026-09-24T19:02:24",
|
|
"created_at": "2026-09-24T19:02:24",
|
|
"updated_at": "2026-09-24T19:02:24",
|
|
"deleted_at": null
|
|
},
|
|
{
|
|
"id": 4,
|
|
"name": "Infraestruturas",
|
|
"slug": "infraestruturas",
|
|
"short_description": "Logística, transportes, parques industriais e energia.",
|
|
"description": null,
|
|
"icon": null,
|
|
"sort_order": 4,
|
|
"is_active": true,
|
|
"published_at": "2026-09-24T19:02:24",
|
|
"created_at": "2026-09-24T19:02:24",
|
|
"updated_at": "2026-09-24T19:02:24",
|
|
"deleted_at": null
|
|
},
|
|
{
|
|
"id": 5,
|
|
"name": "Economia Azul",
|
|
"slug": "economia-azul",
|
|
"short_description": "Pesca, aquacultura, portos e logística marítima.",
|
|
"description": null,
|
|
"icon": null,
|
|
"sort_order": 5,
|
|
"is_active": true,
|
|
"published_at": "2026-09-24T19:02:24",
|
|
"created_at": "2026-09-24T19:02:24",
|
|
"updated_at": "2026-09-24T19:02:24",
|
|
"deleted_at": null
|
|
},
|
|
{
|
|
"id": 6,
|
|
"name": "Mercado Financeiro",
|
|
"slug": "mercado-financeiro",
|
|
"short_description": "Fintech, capital de risco e instrumentos financeiros.",
|
|
"description": null,
|
|
"icon": null,
|
|
"sort_order": 6,
|
|
"is_active": true,
|
|
"published_at": "2026-09-24T19:02:24",
|
|
"created_at": "2026-09-24T19:02:24",
|
|
"updated_at": "2026-09-24T19:02:24",
|
|
"deleted_at": null
|
|
},
|
|
{
|
|
"id": 7,
|
|
"name": "Mineração",
|
|
"slug": "mineracao",
|
|
"short_description": null,
|
|
"description": null,
|
|
"icon": null,
|
|
"sort_order": 100,
|
|
"is_active": true,
|
|
"published_at": "2026-09-29T11:17:19",
|
|
"created_at": "2026-09-29T11:17:19",
|
|
"updated_at": "2026-09-29T11:17:19",
|
|
"deleted_at": null
|
|
},
|
|
{
|
|
"id": 8,
|
|
"name": "Energia",
|
|
"slug": "energia-especifica",
|
|
"short_description": null,
|
|
"description": null,
|
|
"icon": null,
|
|
"sort_order": 100,
|
|
"is_active": true,
|
|
"published_at": "2026-09-29T11:17:19",
|
|
"created_at": "2026-09-29T11:17:19",
|
|
"updated_at": "2026-09-29T11:17:19",
|
|
"deleted_at": null
|
|
},
|
|
{
|
|
"id": 9,
|
|
"name": "Fintech",
|
|
"slug": "fintech",
|
|
"short_description": null,
|
|
"description": null,
|
|
"icon": null,
|
|
"sort_order": 100,
|
|
"is_active": true,
|
|
"published_at": "2026-09-29T11:17:19",
|
|
"created_at": "2026-09-29T11:17:19",
|
|
"updated_at": "2026-09-29T11:17:19",
|
|
"deleted_at": null
|
|
}
|
|
]
|
|
},
|
|
"reference_catalog_versions": {
|
|
"count": 3,
|
|
"sha256": "e2afa6bd63105c75f5b3a27c78f34417f80d5af5fce5fd6a74a900920572bc71",
|
|
"rows": [
|
|
{
|
|
"id": "a1000000-0000-4000-8000-000000000001",
|
|
"catalog_code": "authorities",
|
|
"version_no": 1,
|
|
"locale": "pt-MZ",
|
|
"source_system": "authority-register-pending-source",
|
|
"source_version": "pending-authority-source",
|
|
"source_reference": "Awaiting an approved authority source; no institution or mandate is inferred.",
|
|
"source_sha256": null,
|
|
"valid_from": null,
|
|
"valid_to": null,
|
|
"status": "draft",
|
|
"created_at": "2026-10-02T07:47:49+00:00",
|
|
"updated_at": "2026-10-02T07:47:49+00:00"
|
|
},
|
|
{
|
|
"id": "a1000000-0000-4000-8000-000000000002",
|
|
"catalog_code": "jurisdictions",
|
|
"version_no": 3,
|
|
"locale": "pt-MZ",
|
|
"source_system": "cartografia-workbook",
|
|
"source_version": "3",
|
|
"source_reference": "database\/data\/territory-locations.json",
|
|
"source_sha256": "964a187ad32ea553b9e112cd159caa90b900050c42b7329594a75bcd798a96ff",
|
|
"valid_from": null,
|
|
"valid_to": null,
|
|
"status": "published",
|
|
"created_at": "2026-10-02T07:47:49+00:00",
|
|
"updated_at": "2026-10-02T07:47:49+00:00"
|
|
},
|
|
{
|
|
"id": "a1000000-0000-4000-8000-000000000003",
|
|
"catalog_code": "economic-activities",
|
|
"version_no": 1,
|
|
"locale": "pt-MZ",
|
|
"source_system": "investmoz-curated",
|
|
"source_version": "sector-seeder-v1",
|
|
"source_reference": "database\/seeders\/SectorSeeder.php; seed is a portal grouping, not an official activity classification.",
|
|
"source_sha256": "a13c7eba837c7a808cc8fdbc6ceecbce0f9bff757406731d3d7c16a6403db84e",
|
|
"valid_from": "2026-10-01",
|
|
"valid_to": null,
|
|
"status": "published",
|
|
"created_at": "2026-10-02T07:47:49+00:00",
|
|
"updated_at": "2026-10-02T07:47:49+00:00"
|
|
}
|
|
]
|
|
},
|
|
"economic_activities": {
|
|
"count": 6,
|
|
"sha256": "6c7d60b6916515adbcc3a37db5d7908f2a0c6a06658a3d4da78e371ddee1c19a",
|
|
"rows": [
|
|
{
|
|
"id": "a2000000-0000-4000-8000-000000000001",
|
|
"catalog_version_id": "a1000000-0000-4000-8000-000000000003",
|
|
"parent_id": null,
|
|
"sector_id": 1,
|
|
"code": "agronegocio",
|
|
"label_pt_mz": "Agronegócio",
|
|
"description_pt_mz": null,
|
|
"version_no": 1,
|
|
"valid_from": "2026-10-01",
|
|
"valid_to": null,
|
|
"status": "published",
|
|
"created_at": "2026-10-02T07:47:49+00:00",
|
|
"updated_at": "2026-10-02T07:47:49+00:00"
|
|
},
|
|
{
|
|
"id": "a2000000-0000-4000-8000-000000000002",
|
|
"catalog_version_id": "a1000000-0000-4000-8000-000000000003",
|
|
"parent_id": null,
|
|
"sector_id": 2,
|
|
"code": "energia",
|
|
"label_pt_mz": "Energia e Mineração",
|
|
"description_pt_mz": null,
|
|
"version_no": 1,
|
|
"valid_from": "2026-10-01",
|
|
"valid_to": null,
|
|
"status": "published",
|
|
"created_at": "2026-10-02T07:47:49+00:00",
|
|
"updated_at": "2026-10-02T07:47:49+00:00"
|
|
},
|
|
{
|
|
"id": "a2000000-0000-4000-8000-000000000003",
|
|
"catalog_version_id": "a1000000-0000-4000-8000-000000000003",
|
|
"parent_id": null,
|
|
"sector_id": 3,
|
|
"code": "turismo",
|
|
"label_pt_mz": "Turismo",
|
|
"description_pt_mz": null,
|
|
"version_no": 1,
|
|
"valid_from": "2026-10-01",
|
|
"valid_to": null,
|
|
"status": "published",
|
|
"created_at": "2026-10-02T07:47:49+00:00",
|
|
"updated_at": "2026-10-02T07:47:49+00:00"
|
|
},
|
|
{
|
|
"id": "a2000000-0000-4000-8000-000000000004",
|
|
"catalog_version_id": "a1000000-0000-4000-8000-000000000003",
|
|
"parent_id": null,
|
|
"sector_id": 4,
|
|
"code": "infraestruturas",
|
|
"label_pt_mz": "Infraestruturas",
|
|
"description_pt_mz": null,
|
|
"version_no": 1,
|
|
"valid_from": "2026-10-01",
|
|
"valid_to": null,
|
|
"status": "published",
|
|
"created_at": "2026-10-02T07:47:49+00:00",
|
|
"updated_at": "2026-10-02T07:47:49+00:00"
|
|
},
|
|
{
|
|
"id": "a2000000-0000-4000-8000-000000000005",
|
|
"catalog_version_id": "a1000000-0000-4000-8000-000000000003",
|
|
"parent_id": null,
|
|
"sector_id": 5,
|
|
"code": "economia-azul",
|
|
"label_pt_mz": "Economia Azul",
|
|
"description_pt_mz": null,
|
|
"version_no": 1,
|
|
"valid_from": "2026-10-01",
|
|
"valid_to": null,
|
|
"status": "published",
|
|
"created_at": "2026-10-02T07:47:49+00:00",
|
|
"updated_at": "2026-10-02T07:47:49+00:00"
|
|
},
|
|
{
|
|
"id": "a2000000-0000-4000-8000-000000000006",
|
|
"catalog_version_id": "a1000000-0000-4000-8000-000000000003",
|
|
"parent_id": null,
|
|
"sector_id": 6,
|
|
"code": "mercado-financeiro",
|
|
"label_pt_mz": "Mercado Financeiro",
|
|
"description_pt_mz": null,
|
|
"version_no": 1,
|
|
"valid_from": "2026-10-01",
|
|
"valid_to": null,
|
|
"status": "published",
|
|
"created_at": "2026-10-02T07:47:49+00:00",
|
|
"updated_at": "2026-10-02T07:47:49+00:00"
|
|
}
|
|
]
|
|
},
|
|
"economic_clusters": {
|
|
"count": 8,
|
|
"sha256": "1da5839f8f0fca403cdd2b6a942dfda87301ea20dd376a3aa4f44f6c8d84cace",
|
|
"rows": [
|
|
{
|
|
"id": "0db99a07-3c5c-407f-89e1-b18dcf8953f5",
|
|
"source_system": "upgrade-v4",
|
|
"external_id": "CLU-05",
|
|
"version_no": 1,
|
|
"data_classification": "internal",
|
|
"correlation_id": null,
|
|
"created_at": "2026-09-26T05:44:43+00:00",
|
|
"updated_at": "2026-09-26T05:44:43+00:00",
|
|
"deleted_at": null,
|
|
"code": "CLU-05",
|
|
"name": "Têxtil, vestuário e algodão",
|
|
"sector": "Têxtil, vestuário e algodão",
|
|
"status": "planned",
|
|
"metadata": [],
|
|
"primary_territory_id": null,
|
|
"territory_version": 0
|
|
},
|
|
{
|
|
"id": "1579eab5-eab2-43a4-8c0c-3b6123edf230",
|
|
"source_system": "upgrade-v4",
|
|
"external_id": "CLU-06",
|
|
"version_no": 1,
|
|
"data_classification": "internal",
|
|
"correlation_id": null,
|
|
"created_at": "2026-09-26T05:44:43+00:00",
|
|
"updated_at": "2026-09-26T05:44:43+00:00",
|
|
"deleted_at": null,
|
|
"code": "CLU-06",
|
|
"name": "Mineração e transformação mineral",
|
|
"sector": "Mineração e transformação mineral",
|
|
"status": "planned",
|
|
"metadata": [],
|
|
"primary_territory_id": null,
|
|
"territory_version": 0
|
|
},
|
|
{
|
|
"id": "2b37d84a-0b71-4b87-b577-6f550954c908",
|
|
"source_system": "upgrade-v4",
|
|
"external_id": "CLU-01",
|
|
"version_no": 1,
|
|
"data_classification": "internal",
|
|
"correlation_id": null,
|
|
"created_at": "2026-09-26T05:44:43+00:00",
|
|
"updated_at": "2026-09-26T05:44:43+00:00",
|
|
"deleted_at": null,
|
|
"code": "CLU-01",
|
|
"name": "Agro-indústria e segurança alimentar",
|
|
"sector": "Agro-indústria e segurança alimentar",
|
|
"status": "planned",
|
|
"metadata": [],
|
|
"primary_territory_id": null,
|
|
"territory_version": 0
|
|
},
|
|
{
|
|
"id": "379c7d07-c767-4ab5-80db-3211f29eaf9e",
|
|
"source_system": "upgrade-v4",
|
|
"external_id": "CLU-04",
|
|
"version_no": 1,
|
|
"data_classification": "internal",
|
|
"correlation_id": null,
|
|
"created_at": "2026-09-26T05:44:43+00:00",
|
|
"updated_at": "2026-09-26T05:44:43+00:00",
|
|
"deleted_at": null,
|
|
"code": "CLU-04",
|
|
"name": "Turismo costeiro e economia azul",
|
|
"sector": "Turismo costeiro e economia azul",
|
|
"status": "planned",
|
|
"metadata": [],
|
|
"primary_territory_id": null,
|
|
"territory_version": 0
|
|
},
|
|
{
|
|
"id": "37fd560d-74ad-416d-8ad4-15db3a4739ba",
|
|
"source_system": "upgrade-v4",
|
|
"external_id": "CLU-08",
|
|
"version_no": 1,
|
|
"data_classification": "internal",
|
|
"correlation_id": null,
|
|
"created_at": "2026-09-26T05:44:43+00:00",
|
|
"updated_at": "2026-09-26T05:44:43+00:00",
|
|
"deleted_at": null,
|
|
"code": "CLU-08",
|
|
"name": "Financiamento do investimento",
|
|
"sector": "Financiamento do investimento",
|
|
"status": "planned",
|
|
"metadata": [],
|
|
"primary_territory_id": null,
|
|
"territory_version": 0
|
|
},
|
|
{
|
|
"id": "6c7da2d1-acd0-42aa-af39-9397fae9f557",
|
|
"source_system": "upgrade-v4",
|
|
"external_id": "CLU-03",
|
|
"version_no": 1,
|
|
"data_classification": "internal",
|
|
"correlation_id": null,
|
|
"created_at": "2026-09-26T05:44:43+00:00",
|
|
"updated_at": "2026-09-26T05:44:43+00:00",
|
|
"deleted_at": null,
|
|
"code": "CLU-03",
|
|
"name": "Logística, corredores e exportação",
|
|
"sector": "Logística, corredores e exportação",
|
|
"status": "planned",
|
|
"metadata": [],
|
|
"primary_territory_id": null,
|
|
"territory_version": 0
|
|
},
|
|
{
|
|
"id": "7f224d3a-3c82-42b1-bd18-ad9ab8afac1e",
|
|
"source_system": "upgrade-v4",
|
|
"external_id": "CLU-07",
|
|
"version_no": 1,
|
|
"data_classification": "internal",
|
|
"correlation_id": null,
|
|
"created_at": "2026-09-26T05:44:43+00:00",
|
|
"updated_at": "2026-09-26T05:44:43+00:00",
|
|
"deleted_at": null,
|
|
"code": "CLU-07",
|
|
"name": "Tecnologia e serviços digitais",
|
|
"sector": "Tecnologia e serviços digitais",
|
|
"status": "planned",
|
|
"metadata": [],
|
|
"primary_territory_id": null,
|
|
"territory_version": 0
|
|
},
|
|
{
|
|
"id": "e19235e0-0a36-4e65-8a61-07f1d52f07d1",
|
|
"source_system": "upgrade-v4",
|
|
"external_id": "CLU-02",
|
|
"version_no": 1,
|
|
"data_classification": "internal",
|
|
"correlation_id": null,
|
|
"created_at": "2026-09-26T05:44:43+00:00",
|
|
"updated_at": "2026-09-26T05:44:43+00:00",
|
|
"deleted_at": null,
|
|
"code": "CLU-02",
|
|
"name": "Energia e industrialização",
|
|
"sector": "Energia e industrialização",
|
|
"status": "planned",
|
|
"metadata": [],
|
|
"primary_territory_id": null,
|
|
"territory_version": 0
|
|
}
|
|
]
|
|
},
|
|
"value_chains": {
|
|
"count": 0,
|
|
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
|
"rows": []
|
|
},
|
|
"value_chain_links": {
|
|
"count": 0,
|
|
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
|
"rows": []
|
|
},
|
|
"investment_zone_relations": {
|
|
"count": 0,
|
|
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
|
"rows": []
|
|
},
|
|
"investment_zone_links": {
|
|
"count": 0,
|
|
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
|
"rows": []
|
|
}
|
|
},
|
|
"economic_schema": [
|
|
{
|
|
"column_name": "id",
|
|
"data_type": "uuid",
|
|
"is_nullable": "NO"
|
|
},
|
|
{
|
|
"column_name": "catalog_version_id",
|
|
"data_type": "uuid",
|
|
"is_nullable": "NO"
|
|
},
|
|
{
|
|
"column_name": "parent_id",
|
|
"data_type": "uuid",
|
|
"is_nullable": "YES"
|
|
},
|
|
{
|
|
"column_name": "sector_id",
|
|
"data_type": "bigint",
|
|
"is_nullable": "NO"
|
|
},
|
|
{
|
|
"column_name": "code",
|
|
"data_type": "character varying",
|
|
"is_nullable": "NO"
|
|
},
|
|
{
|
|
"column_name": "label_pt_mz",
|
|
"data_type": "character varying",
|
|
"is_nullable": "NO"
|
|
},
|
|
{
|
|
"column_name": "description_pt_mz",
|
|
"data_type": "text",
|
|
"is_nullable": "YES"
|
|
},
|
|
{
|
|
"column_name": "version_no",
|
|
"data_type": "integer",
|
|
"is_nullable": "NO"
|
|
},
|
|
{
|
|
"column_name": "valid_from",
|
|
"data_type": "date",
|
|
"is_nullable": "NO"
|
|
},
|
|
{
|
|
"column_name": "valid_to",
|
|
"data_type": "date",
|
|
"is_nullable": "YES"
|
|
},
|
|
{
|
|
"column_name": "status",
|
|
"data_type": "character varying",
|
|
"is_nullable": "NO"
|
|
},
|
|
{
|
|
"column_name": "created_at",
|
|
"data_type": "timestamp with time zone",
|
|
"is_nullable": "YES"
|
|
},
|
|
{
|
|
"column_name": "updated_at",
|
|
"data_type": "timestamp with time zone",
|
|
"is_nullable": "YES"
|
|
}
|
|
],
|
|
"economic_constraints": [
|
|
{
|
|
"conname": "economic_activities_catalog_code_uq",
|
|
"definition": "UNIQUE (catalog_version_id, code)"
|
|
},
|
|
{
|
|
"conname": "economic_activities_catalog_version_id_foreign",
|
|
"definition": "FOREIGN KEY (catalog_version_id) REFERENCES reference_catalog_versions(id) ON DELETE RESTRICT"
|
|
},
|
|
{
|
|
"conname": "economic_activities_check",
|
|
"definition": "CHECK (((version_no > 0) AND ((valid_to IS NULL) OR (valid_to > valid_from))))"
|
|
},
|
|
{
|
|
"conname": "economic_activities_parent_same_version_fk",
|
|
"definition": "FOREIGN KEY (catalog_version_id, parent_id) REFERENCES economic_activities(catalog_version_id, id) ON DELETE RESTRICT"
|
|
},
|
|
{
|
|
"conname": "economic_activities_pkey",
|
|
"definition": "PRIMARY KEY (id)"
|
|
},
|
|
{
|
|
"conname": "economic_activities_sector_id_foreign",
|
|
"definition": "FOREIGN KEY (sector_id) REFERENCES sectors(id) ON DELETE RESTRICT"
|
|
},
|
|
{
|
|
"conname": "economic_activities_sector_uq",
|
|
"definition": "UNIQUE (sector_id)"
|
|
},
|
|
{
|
|
"conname": "economic_activities_status_check",
|
|
"definition": "CHECK (((status)::text = ANY (ARRAY[('draft'::character varying)::text, ('published'::character varying)::text, ('retired'::character varying)::text])))"
|
|
},
|
|
{
|
|
"conname": "economic_activities_version_id_uq",
|
|
"definition": "UNIQUE (catalog_version_id, id)"
|
|
}
|
|
],
|
|
"economic_indexes": [
|
|
{
|
|
"indexname": "economic_activities_catalog_code_uq",
|
|
"indexdef": "CREATE UNIQUE INDEX economic_activities_catalog_code_uq ON public.economic_activities USING btree (catalog_version_id, code)"
|
|
},
|
|
{
|
|
"indexname": "economic_activities_parent_status_idx",
|
|
"indexdef": "CREATE INDEX economic_activities_parent_status_idx ON public.economic_activities USING btree (parent_id, status, label_pt_mz)"
|
|
},
|
|
{
|
|
"indexname": "economic_activities_pkey",
|
|
"indexdef": "CREATE UNIQUE INDEX economic_activities_pkey ON public.economic_activities USING btree (id)"
|
|
},
|
|
{
|
|
"indexname": "economic_activities_sector_uq",
|
|
"indexdef": "CREATE UNIQUE INDEX economic_activities_sector_uq ON public.economic_activities USING btree (sector_id)"
|
|
},
|
|
{
|
|
"indexname": "economic_activities_validity_idx",
|
|
"indexdef": "CREATE INDEX economic_activities_validity_idx ON public.economic_activities USING btree (status, valid_from, valid_to)"
|
|
},
|
|
{
|
|
"indexname": "economic_activities_version_id_uq",
|
|
"indexdef": "CREATE UNIQUE INDEX economic_activities_version_id_uq ON public.economic_activities USING btree (catalog_version_id, id)"
|
|
}
|
|
],
|
|
"reference_usage": [
|
|
{
|
|
"consumer": "opportunities",
|
|
"records": 6,
|
|
"sector_refs": 6
|
|
},
|
|
{
|
|
"consumer": "existing_businesses",
|
|
"records": 2,
|
|
"sector_refs": 0
|
|
}
|
|
]
|
|
},
|
|
"accepted_QA": {
|
|
"identity": {
|
|
"database": "stability_consumers_20261011_084534_test",
|
|
"port": 55441
|
|
},
|
|
"tables": {
|
|
"sectors": {
|
|
"count": 15,
|
|
"sha256": "0b9568cb395cbc57334f2158fe86337afe4404414bf05029f01a032e94913b07",
|
|
"rows": [
|
|
{
|
|
"id": 1,
|
|
"name": "Agronegócio",
|
|
"slug": "agronegocio",
|
|
"short_description": "Produção, agroprocessamento, irrigação e cadeias de valor agrícolas.",
|
|
"description": null,
|
|
"icon": null,
|
|
"sort_order": 1,
|
|
"is_active": true,
|
|
"published_at": "2026-09-24T19:02:24",
|
|
"created_at": "2026-09-24T19:02:24",
|
|
"updated_at": "2026-09-24T19:02:24",
|
|
"deleted_at": null
|
|
},
|
|
{
|
|
"id": 10,
|
|
"name": "Imobiliário",
|
|
"slug": "imobiliario",
|
|
"short_description": null,
|
|
"description": null,
|
|
"icon": null,
|
|
"sort_order": 100,
|
|
"is_active": true,
|
|
"published_at": "2026-09-29T11:17:19",
|
|
"created_at": "2026-09-29T11:17:19",
|
|
"updated_at": "2026-09-29T11:17:19",
|
|
"deleted_at": null
|
|
},
|
|
{
|
|
"id": 11,
|
|
"name": "Bens de Consumo e Franquias",
|
|
"slug": "bens-de-consumo-e-franquias",
|
|
"short_description": null,
|
|
"description": null,
|
|
"icon": null,
|
|
"sort_order": 100,
|
|
"is_active": true,
|
|
"published_at": "2026-09-29T11:17:19",
|
|
"created_at": "2026-09-29T11:17:19",
|
|
"updated_at": "2026-09-29T11:17:19",
|
|
"deleted_at": null
|
|
},
|
|
{
|
|
"id": 12,
|
|
"name": "Tecnologias de Informação",
|
|
"slug": "tecnologias-de-informacao",
|
|
"short_description": null,
|
|
"description": null,
|
|
"icon": null,
|
|
"sort_order": 100,
|
|
"is_active": true,
|
|
"published_at": "2026-09-29T11:17:19",
|
|
"created_at": "2026-09-29T11:17:19",
|
|
"updated_at": "2026-09-29T11:17:19",
|
|
"deleted_at": null
|
|
},
|
|
{
|
|
"id": 13,
|
|
"name": "Sector sintético QA",
|
|
"slug": "qa-workflow-level-0",
|
|
"short_description": null,
|
|
"description": null,
|
|
"icon": null,
|
|
"sort_order": 0,
|
|
"is_active": true,
|
|
"published_at": null,
|
|
"created_at": "2026-10-10T08:19:25",
|
|
"updated_at": "2026-10-10T08:19:25",
|
|
"deleted_at": null
|
|
},
|
|
{
|
|
"id": 14,
|
|
"name": "Subsector sintético QA",
|
|
"slug": "qa-workflow-level-1",
|
|
"short_description": null,
|
|
"description": null,
|
|
"icon": null,
|
|
"sort_order": 0,
|
|
"is_active": true,
|
|
"published_at": null,
|
|
"created_at": "2026-10-10T08:19:25",
|
|
"updated_at": "2026-10-10T08:19:25",
|
|
"deleted_at": null
|
|
},
|
|
{
|
|
"id": 15,
|
|
"name": "Atividade sintética QA",
|
|
"slug": "qa-workflow-level-2",
|
|
"short_description": null,
|
|
"description": null,
|
|
"icon": null,
|
|
"sort_order": 0,
|
|
"is_active": true,
|
|
"published_at": null,
|
|
"created_at": "2026-10-10T08:19:25",
|
|
"updated_at": "2026-10-10T08:19:25",
|
|
"deleted_at": null
|
|
},
|
|
{
|
|
"id": 2,
|
|
"name": "Energia e Mineração",
|
|
"slug": "energia",
|
|
"short_description": "Energias renováveis, transição energética e mineração responsável.",
|
|
"description": null,
|
|
"icon": null,
|
|
"sort_order": 2,
|
|
"is_active": true,
|
|
"published_at": "2026-09-24T19:02:24",
|
|
"created_at": "2026-09-24T19:02:24",
|
|
"updated_at": "2026-09-24T19:02:24",
|
|
"deleted_at": null
|
|
},
|
|
{
|
|
"id": 3,
|
|
"name": "Turismo",
|
|
"slug": "turismo",
|
|
"short_description": "Hotelaria, turismo costeiro, cultural e ecológico.",
|
|
"description": null,
|
|
"icon": null,
|
|
"sort_order": 3,
|
|
"is_active": true,
|
|
"published_at": "2026-09-24T19:02:24",
|
|
"created_at": "2026-09-24T19:02:24",
|
|
"updated_at": "2026-09-24T19:02:24",
|
|
"deleted_at": null
|
|
},
|
|
{
|
|
"id": 4,
|
|
"name": "Infraestruturas",
|
|
"slug": "infraestruturas",
|
|
"short_description": "Logística, transportes, parques industriais e energia.",
|
|
"description": null,
|
|
"icon": null,
|
|
"sort_order": 4,
|
|
"is_active": true,
|
|
"published_at": "2026-09-24T19:02:24",
|
|
"created_at": "2026-09-24T19:02:24",
|
|
"updated_at": "2026-09-24T19:02:24",
|
|
"deleted_at": null
|
|
},
|
|
{
|
|
"id": 5,
|
|
"name": "Economia Azul",
|
|
"slug": "economia-azul",
|
|
"short_description": "Pesca, aquacultura, portos e logística marítima.",
|
|
"description": null,
|
|
"icon": null,
|
|
"sort_order": 5,
|
|
"is_active": true,
|
|
"published_at": "2026-09-24T19:02:24",
|
|
"created_at": "2026-09-24T19:02:24",
|
|
"updated_at": "2026-09-24T19:02:24",
|
|
"deleted_at": null
|
|
},
|
|
{
|
|
"id": 6,
|
|
"name": "Mercado Financeiro",
|
|
"slug": "mercado-financeiro",
|
|
"short_description": "Fintech, capital de risco e instrumentos financeiros.",
|
|
"description": null,
|
|
"icon": null,
|
|
"sort_order": 6,
|
|
"is_active": true,
|
|
"published_at": "2026-09-24T19:02:24",
|
|
"created_at": "2026-09-24T19:02:24",
|
|
"updated_at": "2026-09-24T19:02:24",
|
|
"deleted_at": null
|
|
},
|
|
{
|
|
"id": 7,
|
|
"name": "Mineração",
|
|
"slug": "mineracao",
|
|
"short_description": null,
|
|
"description": null,
|
|
"icon": null,
|
|
"sort_order": 100,
|
|
"is_active": true,
|
|
"published_at": "2026-09-29T11:17:19",
|
|
"created_at": "2026-09-29T11:17:19",
|
|
"updated_at": "2026-09-29T11:17:19",
|
|
"deleted_at": null
|
|
},
|
|
{
|
|
"id": 8,
|
|
"name": "Energia",
|
|
"slug": "energia-especifica",
|
|
"short_description": null,
|
|
"description": null,
|
|
"icon": null,
|
|
"sort_order": 100,
|
|
"is_active": true,
|
|
"published_at": "2026-09-29T11:17:19",
|
|
"created_at": "2026-09-29T11:17:19",
|
|
"updated_at": "2026-09-29T11:17:19",
|
|
"deleted_at": null
|
|
},
|
|
{
|
|
"id": 9,
|
|
"name": "Fintech",
|
|
"slug": "fintech",
|
|
"short_description": null,
|
|
"description": null,
|
|
"icon": null,
|
|
"sort_order": 100,
|
|
"is_active": true,
|
|
"published_at": "2026-09-29T11:17:19",
|
|
"created_at": "2026-09-29T11:17:19",
|
|
"updated_at": "2026-09-29T11:17:19",
|
|
"deleted_at": null
|
|
}
|
|
]
|
|
},
|
|
"reference_catalog_versions": {
|
|
"count": 4,
|
|
"sha256": "8dba71ecdbd638520bed55d7e7fd8f9cb2672b0d799ab90e48fab3a69ffb9a2e",
|
|
"rows": [
|
|
{
|
|
"id": "a1000000-0000-4000-8000-000000000001",
|
|
"catalog_code": "authorities",
|
|
"version_no": 1,
|
|
"locale": "pt-MZ",
|
|
"source_system": "authority-register-pending-source",
|
|
"source_version": "pending-authority-source",
|
|
"source_reference": "Awaiting an approved authority source; no institution or mandate is inferred.",
|
|
"source_sha256": null,
|
|
"valid_from": null,
|
|
"valid_to": null,
|
|
"status": "draft",
|
|
"created_at": "2026-10-02T07:47:49+00:00",
|
|
"updated_at": "2026-10-02T07:47:49+00:00"
|
|
},
|
|
{
|
|
"id": "a1000000-0000-4000-8000-000000000002",
|
|
"catalog_code": "jurisdictions",
|
|
"version_no": 3,
|
|
"locale": "pt-MZ",
|
|
"source_system": "cartografia-workbook",
|
|
"source_version": "3",
|
|
"source_reference": "database\/data\/territory-locations.json",
|
|
"source_sha256": "964a187ad32ea553b9e112cd159caa90b900050c42b7329594a75bcd798a96ff",
|
|
"valid_from": null,
|
|
"valid_to": null,
|
|
"status": "published",
|
|
"created_at": "2026-10-02T07:47:49+00:00",
|
|
"updated_at": "2026-10-02T07:47:49+00:00"
|
|
},
|
|
{
|
|
"id": "a1000000-0000-4000-8000-000000000003",
|
|
"catalog_code": "economic-activities",
|
|
"version_no": 1,
|
|
"locale": "pt-MZ",
|
|
"source_system": "investmoz-curated",
|
|
"source_version": "sector-seeder-v1",
|
|
"source_reference": "database\/seeders\/SectorSeeder.php; seed is a portal grouping, not an official activity classification.",
|
|
"source_sha256": "a13c7eba837c7a808cc8fdbc6ceecbce0f9bff757406731d3d7c16a6403db84e",
|
|
"valid_from": "2026-10-01",
|
|
"valid_to": null,
|
|
"status": "published",
|
|
"created_at": "2026-10-02T07:47:49+00:00",
|
|
"updated_at": "2026-10-02T07:47:49+00:00"
|
|
},
|
|
{
|
|
"id": "c220a719-f2a3-492c-a1ba-f8b17ab8fbc0",
|
|
"catalog_code": "qa-opportunity-synthetic",
|
|
"version_no": 1,
|
|
"locale": "pt-MZ",
|
|
"source_system": "qa-synthetic-fixture",
|
|
"source_version": "qa-20261010",
|
|
"source_reference": "Synthetic test data only, not an official economic classification",
|
|
"source_sha256": null,
|
|
"valid_from": null,
|
|
"valid_to": null,
|
|
"status": "published",
|
|
"created_at": "2026-10-10T08:19:25+00:00",
|
|
"updated_at": "2026-10-10T08:19:25+00:00"
|
|
}
|
|
]
|
|
},
|
|
"economic_activities": {
|
|
"count": 9,
|
|
"sha256": "e181dd665eb35a4d859374523d81f94986535bcd19b4bc154511bc79e6fd58ea",
|
|
"rows": [
|
|
{
|
|
"id": "102513a5-d497-43d9-8794-9beab8709627",
|
|
"catalog_version_id": "c220a719-f2a3-492c-a1ba-f8b17ab8fbc0",
|
|
"parent_id": "38b68b5c-1ef6-42ff-acdc-c92af94f7a4e",
|
|
"sector_id": 15,
|
|
"code": "qa-level-2",
|
|
"label_pt_mz": "Atividade sintética QA",
|
|
"description_pt_mz": null,
|
|
"version_no": 1,
|
|
"valid_from": "2026-10-10",
|
|
"valid_to": null,
|
|
"status": "published",
|
|
"created_at": "2026-10-10T08:19:25+00:00",
|
|
"updated_at": "2026-10-10T08:19:25+00:00"
|
|
},
|
|
{
|
|
"id": "38b68b5c-1ef6-42ff-acdc-c92af94f7a4e",
|
|
"catalog_version_id": "c220a719-f2a3-492c-a1ba-f8b17ab8fbc0",
|
|
"parent_id": "d8b1da11-aabb-4c3b-bda5-e69e0a50eeed",
|
|
"sector_id": 14,
|
|
"code": "qa-level-1",
|
|
"label_pt_mz": "Subsector sintético QA",
|
|
"description_pt_mz": null,
|
|
"version_no": 1,
|
|
"valid_from": "2026-10-10",
|
|
"valid_to": null,
|
|
"status": "published",
|
|
"created_at": "2026-10-10T08:19:25+00:00",
|
|
"updated_at": "2026-10-10T08:19:25+00:00"
|
|
},
|
|
{
|
|
"id": "a2000000-0000-4000-8000-000000000001",
|
|
"catalog_version_id": "a1000000-0000-4000-8000-000000000003",
|
|
"parent_id": null,
|
|
"sector_id": 1,
|
|
"code": "agronegocio",
|
|
"label_pt_mz": "Agronegócio",
|
|
"description_pt_mz": null,
|
|
"version_no": 1,
|
|
"valid_from": "2026-10-01",
|
|
"valid_to": null,
|
|
"status": "published",
|
|
"created_at": "2026-10-02T07:47:49+00:00",
|
|
"updated_at": "2026-10-02T07:47:49+00:00"
|
|
},
|
|
{
|
|
"id": "a2000000-0000-4000-8000-000000000002",
|
|
"catalog_version_id": "a1000000-0000-4000-8000-000000000003",
|
|
"parent_id": null,
|
|
"sector_id": 2,
|
|
"code": "energia",
|
|
"label_pt_mz": "Energia e Mineração",
|
|
"description_pt_mz": null,
|
|
"version_no": 1,
|
|
"valid_from": "2026-10-01",
|
|
"valid_to": null,
|
|
"status": "published",
|
|
"created_at": "2026-10-02T07:47:49+00:00",
|
|
"updated_at": "2026-10-02T07:47:49+00:00"
|
|
},
|
|
{
|
|
"id": "a2000000-0000-4000-8000-000000000003",
|
|
"catalog_version_id": "a1000000-0000-4000-8000-000000000003",
|
|
"parent_id": null,
|
|
"sector_id": 3,
|
|
"code": "turismo",
|
|
"label_pt_mz": "Turismo",
|
|
"description_pt_mz": null,
|
|
"version_no": 1,
|
|
"valid_from": "2026-10-01",
|
|
"valid_to": null,
|
|
"status": "published",
|
|
"created_at": "2026-10-02T07:47:49+00:00",
|
|
"updated_at": "2026-10-02T07:47:49+00:00"
|
|
},
|
|
{
|
|
"id": "a2000000-0000-4000-8000-000000000004",
|
|
"catalog_version_id": "a1000000-0000-4000-8000-000000000003",
|
|
"parent_id": null,
|
|
"sector_id": 4,
|
|
"code": "infraestruturas",
|
|
"label_pt_mz": "Infraestruturas",
|
|
"description_pt_mz": null,
|
|
"version_no": 1,
|
|
"valid_from": "2026-10-01",
|
|
"valid_to": null,
|
|
"status": "published",
|
|
"created_at": "2026-10-02T07:47:49+00:00",
|
|
"updated_at": "2026-10-02T07:47:49+00:00"
|
|
},
|
|
{
|
|
"id": "a2000000-0000-4000-8000-000000000005",
|
|
"catalog_version_id": "a1000000-0000-4000-8000-000000000003",
|
|
"parent_id": null,
|
|
"sector_id": 5,
|
|
"code": "economia-azul",
|
|
"label_pt_mz": "Economia Azul",
|
|
"description_pt_mz": null,
|
|
"version_no": 1,
|
|
"valid_from": "2026-10-01",
|
|
"valid_to": null,
|
|
"status": "published",
|
|
"created_at": "2026-10-02T07:47:49+00:00",
|
|
"updated_at": "2026-10-02T07:47:49+00:00"
|
|
},
|
|
{
|
|
"id": "a2000000-0000-4000-8000-000000000006",
|
|
"catalog_version_id": "a1000000-0000-4000-8000-000000000003",
|
|
"parent_id": null,
|
|
"sector_id": 6,
|
|
"code": "mercado-financeiro",
|
|
"label_pt_mz": "Mercado Financeiro",
|
|
"description_pt_mz": null,
|
|
"version_no": 1,
|
|
"valid_from": "2026-10-01",
|
|
"valid_to": null,
|
|
"status": "published",
|
|
"created_at": "2026-10-02T07:47:49+00:00",
|
|
"updated_at": "2026-10-02T07:47:49+00:00"
|
|
},
|
|
{
|
|
"id": "d8b1da11-aabb-4c3b-bda5-e69e0a50eeed",
|
|
"catalog_version_id": "c220a719-f2a3-492c-a1ba-f8b17ab8fbc0",
|
|
"parent_id": null,
|
|
"sector_id": 13,
|
|
"code": "qa-level-0",
|
|
"label_pt_mz": "Sector sintético QA",
|
|
"description_pt_mz": null,
|
|
"version_no": 1,
|
|
"valid_from": "2026-10-10",
|
|
"valid_to": null,
|
|
"status": "published",
|
|
"created_at": "2026-10-10T08:19:25+00:00",
|
|
"updated_at": "2026-10-10T08:19:25+00:00"
|
|
}
|
|
]
|
|
},
|
|
"economic_clusters": {
|
|
"count": 9,
|
|
"sha256": "8a401c91012617586c4eef220d988bee57163a53f4ac70a42b27e8c4ace54136",
|
|
"rows": [
|
|
{
|
|
"id": "0db99a07-3c5c-407f-89e1-b18dcf8953f5",
|
|
"source_system": "upgrade-v4",
|
|
"external_id": "CLU-05",
|
|
"version_no": 1,
|
|
"data_classification": "internal",
|
|
"correlation_id": null,
|
|
"created_at": "2026-09-26T05:44:43+00:00",
|
|
"updated_at": "2026-09-26T05:44:43+00:00",
|
|
"deleted_at": null,
|
|
"code": "CLU-05",
|
|
"name": "Têxtil, vestuário e algodão",
|
|
"sector": "Têxtil, vestuário e algodão",
|
|
"status": "planned",
|
|
"metadata": [],
|
|
"primary_territory_id": null,
|
|
"territory_version": 0
|
|
},
|
|
{
|
|
"id": "13e15425-c0aa-4be9-9145-f81119a3b85f",
|
|
"source_system": "investmoz",
|
|
"external_id": null,
|
|
"version_no": 1,
|
|
"data_classification": "internal",
|
|
"correlation_id": null,
|
|
"created_at": "2026-10-10T20:09:48+00:00",
|
|
"updated_at": "2026-10-10T20:40:03.50497+00:00",
|
|
"deleted_at": null,
|
|
"code": "QA-CONSUMER-CLUSTERS",
|
|
"name": "QA consumidor territorial clusters",
|
|
"sector": "Ensaio sintético QA",
|
|
"status": "planned",
|
|
"metadata": [],
|
|
"primary_territory_id": "f2dcb41c-04a2-59a9-ad91-261492785b8c",
|
|
"territory_version": 2
|
|
},
|
|
{
|
|
"id": "1579eab5-eab2-43a4-8c0c-3b6123edf230",
|
|
"source_system": "upgrade-v4",
|
|
"external_id": "CLU-06",
|
|
"version_no": 1,
|
|
"data_classification": "internal",
|
|
"correlation_id": null,
|
|
"created_at": "2026-09-26T05:44:43+00:00",
|
|
"updated_at": "2026-09-26T05:44:43+00:00",
|
|
"deleted_at": null,
|
|
"code": "CLU-06",
|
|
"name": "Mineração e transformação mineral",
|
|
"sector": "Mineração e transformação mineral",
|
|
"status": "planned",
|
|
"metadata": [],
|
|
"primary_territory_id": null,
|
|
"territory_version": 0
|
|
},
|
|
{
|
|
"id": "2b37d84a-0b71-4b87-b577-6f550954c908",
|
|
"source_system": "upgrade-v4",
|
|
"external_id": "CLU-01",
|
|
"version_no": 1,
|
|
"data_classification": "internal",
|
|
"correlation_id": null,
|
|
"created_at": "2026-09-26T05:44:43+00:00",
|
|
"updated_at": "2026-09-26T05:44:43+00:00",
|
|
"deleted_at": null,
|
|
"code": "CLU-01",
|
|
"name": "Agro-indústria e segurança alimentar",
|
|
"sector": "Agro-indústria e segurança alimentar",
|
|
"status": "planned",
|
|
"metadata": [],
|
|
"primary_territory_id": null,
|
|
"territory_version": 0
|
|
},
|
|
{
|
|
"id": "379c7d07-c767-4ab5-80db-3211f29eaf9e",
|
|
"source_system": "upgrade-v4",
|
|
"external_id": "CLU-04",
|
|
"version_no": 1,
|
|
"data_classification": "internal",
|
|
"correlation_id": null,
|
|
"created_at": "2026-09-26T05:44:43+00:00",
|
|
"updated_at": "2026-09-26T05:44:43+00:00",
|
|
"deleted_at": null,
|
|
"code": "CLU-04",
|
|
"name": "Turismo costeiro e economia azul",
|
|
"sector": "Turismo costeiro e economia azul",
|
|
"status": "planned",
|
|
"metadata": [],
|
|
"primary_territory_id": null,
|
|
"territory_version": 0
|
|
},
|
|
{
|
|
"id": "37fd560d-74ad-416d-8ad4-15db3a4739ba",
|
|
"source_system": "upgrade-v4",
|
|
"external_id": "CLU-08",
|
|
"version_no": 1,
|
|
"data_classification": "internal",
|
|
"correlation_id": null,
|
|
"created_at": "2026-09-26T05:44:43+00:00",
|
|
"updated_at": "2026-09-26T05:44:43+00:00",
|
|
"deleted_at": null,
|
|
"code": "CLU-08",
|
|
"name": "Financiamento do investimento",
|
|
"sector": "Financiamento do investimento",
|
|
"status": "planned",
|
|
"metadata": [],
|
|
"primary_territory_id": null,
|
|
"territory_version": 0
|
|
},
|
|
{
|
|
"id": "6c7da2d1-acd0-42aa-af39-9397fae9f557",
|
|
"source_system": "upgrade-v4",
|
|
"external_id": "CLU-03",
|
|
"version_no": 1,
|
|
"data_classification": "internal",
|
|
"correlation_id": null,
|
|
"created_at": "2026-09-26T05:44:43+00:00",
|
|
"updated_at": "2026-09-26T05:44:43+00:00",
|
|
"deleted_at": null,
|
|
"code": "CLU-03",
|
|
"name": "Logística, corredores e exportação",
|
|
"sector": "Logística, corredores e exportação",
|
|
"status": "planned",
|
|
"metadata": [],
|
|
"primary_territory_id": null,
|
|
"territory_version": 0
|
|
},
|
|
{
|
|
"id": "7f224d3a-3c82-42b1-bd18-ad9ab8afac1e",
|
|
"source_system": "upgrade-v4",
|
|
"external_id": "CLU-07",
|
|
"version_no": 1,
|
|
"data_classification": "internal",
|
|
"correlation_id": null,
|
|
"created_at": "2026-09-26T05:44:43+00:00",
|
|
"updated_at": "2026-09-26T05:44:43+00:00",
|
|
"deleted_at": null,
|
|
"code": "CLU-07",
|
|
"name": "Tecnologia e serviços digitais",
|
|
"sector": "Tecnologia e serviços digitais",
|
|
"status": "planned",
|
|
"metadata": [],
|
|
"primary_territory_id": null,
|
|
"territory_version": 0
|
|
},
|
|
{
|
|
"id": "e19235e0-0a36-4e65-8a61-07f1d52f07d1",
|
|
"source_system": "upgrade-v4",
|
|
"external_id": "CLU-02",
|
|
"version_no": 1,
|
|
"data_classification": "internal",
|
|
"correlation_id": null,
|
|
"created_at": "2026-09-26T05:44:43+00:00",
|
|
"updated_at": "2026-09-26T05:44:43+00:00",
|
|
"deleted_at": null,
|
|
"code": "CLU-02",
|
|
"name": "Energia e industrialização",
|
|
"sector": "Energia e industrialização",
|
|
"status": "planned",
|
|
"metadata": [],
|
|
"primary_territory_id": null,
|
|
"territory_version": 0
|
|
}
|
|
]
|
|
},
|
|
"value_chains": {
|
|
"count": 0,
|
|
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
|
"rows": []
|
|
},
|
|
"value_chain_links": {
|
|
"count": 0,
|
|
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
|
"rows": []
|
|
},
|
|
"investment_zone_relations": {
|
|
"count": 0,
|
|
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
|
"rows": []
|
|
},
|
|
"investment_zone_links": {
|
|
"count": 0,
|
|
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
|
"rows": []
|
|
}
|
|
},
|
|
"economic_schema": [
|
|
{
|
|
"column_name": "id",
|
|
"data_type": "uuid",
|
|
"is_nullable": "NO"
|
|
},
|
|
{
|
|
"column_name": "catalog_version_id",
|
|
"data_type": "uuid",
|
|
"is_nullable": "NO"
|
|
},
|
|
{
|
|
"column_name": "parent_id",
|
|
"data_type": "uuid",
|
|
"is_nullable": "YES"
|
|
},
|
|
{
|
|
"column_name": "sector_id",
|
|
"data_type": "bigint",
|
|
"is_nullable": "NO"
|
|
},
|
|
{
|
|
"column_name": "code",
|
|
"data_type": "character varying",
|
|
"is_nullable": "NO"
|
|
},
|
|
{
|
|
"column_name": "label_pt_mz",
|
|
"data_type": "character varying",
|
|
"is_nullable": "NO"
|
|
},
|
|
{
|
|
"column_name": "description_pt_mz",
|
|
"data_type": "text",
|
|
"is_nullable": "YES"
|
|
},
|
|
{
|
|
"column_name": "version_no",
|
|
"data_type": "integer",
|
|
"is_nullable": "NO"
|
|
},
|
|
{
|
|
"column_name": "valid_from",
|
|
"data_type": "date",
|
|
"is_nullable": "NO"
|
|
},
|
|
{
|
|
"column_name": "valid_to",
|
|
"data_type": "date",
|
|
"is_nullable": "YES"
|
|
},
|
|
{
|
|
"column_name": "status",
|
|
"data_type": "character varying",
|
|
"is_nullable": "NO"
|
|
},
|
|
{
|
|
"column_name": "created_at",
|
|
"data_type": "timestamp with time zone",
|
|
"is_nullable": "YES"
|
|
},
|
|
{
|
|
"column_name": "updated_at",
|
|
"data_type": "timestamp with time zone",
|
|
"is_nullable": "YES"
|
|
}
|
|
],
|
|
"economic_constraints": [
|
|
{
|
|
"conname": "economic_activities_catalog_code_uq",
|
|
"definition": "UNIQUE (catalog_version_id, code)"
|
|
},
|
|
{
|
|
"conname": "economic_activities_catalog_version_id_foreign",
|
|
"definition": "FOREIGN KEY (catalog_version_id) REFERENCES reference_catalog_versions(id) ON DELETE RESTRICT"
|
|
},
|
|
{
|
|
"conname": "economic_activities_check",
|
|
"definition": "CHECK (((version_no > 0) AND ((valid_to IS NULL) OR (valid_to > valid_from))))"
|
|
},
|
|
{
|
|
"conname": "economic_activities_parent_same_version_fk",
|
|
"definition": "FOREIGN KEY (catalog_version_id, parent_id) REFERENCES economic_activities(catalog_version_id, id) ON DELETE RESTRICT"
|
|
},
|
|
{
|
|
"conname": "economic_activities_pkey",
|
|
"definition": "PRIMARY KEY (id)"
|
|
},
|
|
{
|
|
"conname": "economic_activities_sector_id_foreign",
|
|
"definition": "FOREIGN KEY (sector_id) REFERENCES sectors(id) ON DELETE RESTRICT"
|
|
},
|
|
{
|
|
"conname": "economic_activities_sector_uq",
|
|
"definition": "UNIQUE (sector_id)"
|
|
},
|
|
{
|
|
"conname": "economic_activities_status_check",
|
|
"definition": "CHECK (((status)::text = ANY (ARRAY[('draft'::character varying)::text, ('published'::character varying)::text, ('retired'::character varying)::text])))"
|
|
},
|
|
{
|
|
"conname": "economic_activities_version_id_uq",
|
|
"definition": "UNIQUE (catalog_version_id, id)"
|
|
}
|
|
],
|
|
"economic_indexes": [
|
|
{
|
|
"indexname": "economic_activities_catalog_code_uq",
|
|
"indexdef": "CREATE UNIQUE INDEX economic_activities_catalog_code_uq ON public.economic_activities USING btree (catalog_version_id, code)"
|
|
},
|
|
{
|
|
"indexname": "economic_activities_parent_status_idx",
|
|
"indexdef": "CREATE INDEX economic_activities_parent_status_idx ON public.economic_activities USING btree (parent_id, status, label_pt_mz)"
|
|
},
|
|
{
|
|
"indexname": "economic_activities_pkey",
|
|
"indexdef": "CREATE UNIQUE INDEX economic_activities_pkey ON public.economic_activities USING btree (id)"
|
|
},
|
|
{
|
|
"indexname": "economic_activities_sector_uq",
|
|
"indexdef": "CREATE UNIQUE INDEX economic_activities_sector_uq ON public.economic_activities USING btree (sector_id)"
|
|
},
|
|
{
|
|
"indexname": "economic_activities_validity_idx",
|
|
"indexdef": "CREATE INDEX economic_activities_validity_idx ON public.economic_activities USING btree (status, valid_from, valid_to)"
|
|
},
|
|
{
|
|
"indexname": "economic_activities_version_id_uq",
|
|
"indexdef": "CREATE UNIQUE INDEX economic_activities_version_id_uq ON public.economic_activities USING btree (catalog_version_id, id)"
|
|
}
|
|
],
|
|
"reference_usage": [
|
|
{
|
|
"consumer": "opportunities",
|
|
"records": 57,
|
|
"sector_refs": 33
|
|
},
|
|
{
|
|
"consumer": "existing_businesses",
|
|
"records": 7,
|
|
"sector_refs": 4
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|