git-subtree-dir: fiscal git-subtree-mainline:d95165fc8fgit-subtree-split:102ba84500
390 lines
9.2 KiB
JSON
390 lines
9.2 KiB
JSON
{
|
|
"artifact": "MULTI_DATABASE_SCHEMA_AUDIT_V1",
|
|
"firebird_writes": 0,
|
|
"directory": "Banco",
|
|
"reference_fingerprint_TESTESOFICIAIS": "e2409c9b9e51b84d056939e6e7d0f1381440e6a7c02ec99583d61e2de13d7742",
|
|
"databases_found": 4,
|
|
"databases_audited": 4,
|
|
"classification_counts": {
|
|
"REFERENCE_SCHEMA_MATCH": 0,
|
|
"COMPATIBLE_WITH_VARIATIONS": 4,
|
|
"INCOMPATIBLE": 0
|
|
},
|
|
"databases": [
|
|
{
|
|
"file": "CONSTRUCAO.FDB",
|
|
"size_mb": 88.7,
|
|
"firebird_server_version": "WI-V6.3.9.27139 Firebird 2.5",
|
|
"ods": "11.2",
|
|
"schema_fingerprint": "1414a15950d0b623addd12f8fdb8cbe59a02d8d75211f2de181affaeb57d2781",
|
|
"tables": 336,
|
|
"product_count": 3712,
|
|
"company": {
|
|
"status": "OK",
|
|
"uf": "BA",
|
|
"crt": "1",
|
|
"OPTANTE_SIMPLES": "S",
|
|
"OPTANTE_SUPER_SIMPLES": "N",
|
|
"SUBSTITUTO_TRIBUTARIO": "N",
|
|
"CONTRIBUINTE_IPI": "N",
|
|
"ICMS_CSOSN": "102",
|
|
"name": "UNIAO MATERIAIS DE CONSTRUCAO",
|
|
"rows": 1,
|
|
"rows_summary": [
|
|
[
|
|
"000001",
|
|
"BA",
|
|
"1"
|
|
]
|
|
],
|
|
"filial_name_first_row": "UNIÃO MATERIAIS DE CONSTRUÇÃO PALMA LTDA",
|
|
"emissor_crt": [
|
|
"1"
|
|
]
|
|
},
|
|
"C000004_present": true,
|
|
"C000025_present": true,
|
|
"schema_class": "COMPATIBLE_WITH_VARIATIONS",
|
|
"capabilities": {
|
|
"supports_ncm": true,
|
|
"supports_cfop_entry": true,
|
|
"supports_cfop_exit": true,
|
|
"supports_cst_entry": true,
|
|
"supports_cst_exit": true,
|
|
"supports_icms_rate": true,
|
|
"supports_cest": true,
|
|
"supports_csosn": true,
|
|
"supports_ipi": true,
|
|
"supports_pis": true,
|
|
"supports_cofins": true,
|
|
"supports_origin": true,
|
|
"supports_iat": true,
|
|
"supports_incidence": true,
|
|
"supports_ippt": true
|
|
},
|
|
"segment_inferred": {
|
|
"segment": "CONSTRUCTION",
|
|
"score": {
|
|
"RESTAURANT": 0,
|
|
"AUTO_REPAIR": 0,
|
|
"APPAREL": 0,
|
|
"RETAIL_MARKET": 0,
|
|
"CONSTRUCTION": 1
|
|
},
|
|
"evidence": [
|
|
"company name in C000004 contains CONSTRU (weak, name is data, not the file name)"
|
|
],
|
|
"signals": {
|
|
"restaurant_tables_rows": 0,
|
|
"kitchen_products": 0,
|
|
"recipes": 0,
|
|
"service_orders": 1,
|
|
"vehicle_products": 0,
|
|
"grade_items": 0,
|
|
"nfce_items": 28934
|
|
},
|
|
"note": "inferred from table population, not from the file name"
|
|
},
|
|
"table_rows": {
|
|
"MESAS": 0,
|
|
"R000002": 0,
|
|
"RECEITA_INGREDIENTES": 0,
|
|
"DELIVERY_M": 0,
|
|
"C000051": 1,
|
|
"NFCE": 24466,
|
|
"NFCE_ITENS": 28934,
|
|
"C000032": 91886,
|
|
"C000062": 547,
|
|
"C000088": 0,
|
|
"C000100": 3712,
|
|
"C000030": 590,
|
|
"C000061": 115
|
|
},
|
|
"error": null
|
|
},
|
|
{
|
|
"file": "MMMODAS.FDB",
|
|
"size_mb": 248.5,
|
|
"firebird_server_version": "WI-V6.3.9.27139 Firebird 2.5",
|
|
"ods": "11.2",
|
|
"schema_fingerprint": "2c4f68470a2c46c8df1ec18281880cfa833cf3dd44f458e25cdc4482ef8ac085",
|
|
"tables": 338,
|
|
"product_count": 20997,
|
|
"company": {
|
|
"status": "OK",
|
|
"uf": "BA",
|
|
"crt": "2",
|
|
"OPTANTE_SIMPLES": "N",
|
|
"OPTANTE_SUPER_SIMPLES": "N",
|
|
"SUBSTITUTO_TRIBUTARIO": "N",
|
|
"CONTRIBUINTE_IPI": "N",
|
|
"ICMS_CSOSN": "102",
|
|
"name": "MM MODAS",
|
|
"rows": 1,
|
|
"rows_summary": [
|
|
[
|
|
"000001",
|
|
"BA",
|
|
"2"
|
|
]
|
|
],
|
|
"filial_name_first_row": "PATRICIA B MATTOS MARTINS",
|
|
"emissor_crt": [
|
|
"1"
|
|
]
|
|
},
|
|
"C000004_present": true,
|
|
"C000025_present": true,
|
|
"schema_class": "COMPATIBLE_WITH_VARIATIONS",
|
|
"capabilities": {
|
|
"supports_ncm": true,
|
|
"supports_cfop_entry": true,
|
|
"supports_cfop_exit": true,
|
|
"supports_cst_entry": true,
|
|
"supports_cst_exit": true,
|
|
"supports_icms_rate": true,
|
|
"supports_cest": true,
|
|
"supports_csosn": true,
|
|
"supports_ipi": true,
|
|
"supports_pis": true,
|
|
"supports_cofins": true,
|
|
"supports_origin": true,
|
|
"supports_iat": true,
|
|
"supports_incidence": true,
|
|
"supports_ippt": true
|
|
},
|
|
"segment_inferred": {
|
|
"segment": "APPAREL",
|
|
"score": {
|
|
"RESTAURANT": 0,
|
|
"AUTO_REPAIR": 0,
|
|
"APPAREL": 1,
|
|
"RETAIL_MARKET": 0,
|
|
"CONSTRUCTION": 0
|
|
},
|
|
"evidence": [
|
|
"company name in C000004 contains MODAS (weak, name is data, not the file name)"
|
|
],
|
|
"signals": {
|
|
"restaurant_tables_rows": 0,
|
|
"kitchen_products": 0,
|
|
"recipes": 0,
|
|
"service_orders": 0,
|
|
"vehicle_products": 0,
|
|
"grade_items": 0,
|
|
"nfce_items": 26067
|
|
},
|
|
"note": "inferred from table population, not from the file name"
|
|
},
|
|
"table_rows": {
|
|
"MESAS": 0,
|
|
"R000002": 0,
|
|
"RECEITA_INGREDIENTES": 0,
|
|
"DELIVERY_M": 0,
|
|
"C000051": 0,
|
|
"NFCE": 36293,
|
|
"NFCE_ITENS": 26067,
|
|
"C000032": 192763,
|
|
"C000062": 66,
|
|
"C000088": 117657,
|
|
"C000100": 20997,
|
|
"C000030": 590,
|
|
"C000061": 26
|
|
},
|
|
"error": null
|
|
},
|
|
{
|
|
"file": "RINCAO.FDB",
|
|
"size_mb": 876.5,
|
|
"firebird_server_version": "WI-V6.3.9.27139 Firebird 2.5",
|
|
"ods": "11.2",
|
|
"schema_fingerprint": "80565949a814b0e799956af8044b76bd6b22075175a0a0564f4d34f0b171e70b",
|
|
"tables": 345,
|
|
"product_count": 894,
|
|
"company": {
|
|
"status": "UNAVAILABLE",
|
|
"error": "company context unavailable or ambiguous (3 distinct UF/CRT rows in C000004)",
|
|
"OPTANTE_SIMPLES": "S",
|
|
"OPTANTE_SUPER_SIMPLES": "N",
|
|
"SUBSTITUTO_TRIBUTARIO": "N",
|
|
"CONTRIBUINTE_IPI": "N",
|
|
"ICMS_CSOSN": "102",
|
|
"name": "RINCAO GAUCHO",
|
|
"rows": 3,
|
|
"rows_summary": [
|
|
[
|
|
"000001",
|
|
"BA",
|
|
"1"
|
|
],
|
|
[
|
|
"000005",
|
|
"SP",
|
|
null
|
|
],
|
|
[
|
|
"000007",
|
|
"BA",
|
|
null
|
|
]
|
|
],
|
|
"filial_name_first_row": "RESTAURANTE E PIZZARIA TURIZZI LTDA - ME",
|
|
"emissor_crt": [
|
|
"3"
|
|
]
|
|
},
|
|
"C000004_present": true,
|
|
"C000025_present": true,
|
|
"schema_class": "COMPATIBLE_WITH_VARIATIONS",
|
|
"capabilities": {
|
|
"supports_ncm": true,
|
|
"supports_cfop_entry": true,
|
|
"supports_cfop_exit": true,
|
|
"supports_cst_entry": true,
|
|
"supports_cst_exit": true,
|
|
"supports_icms_rate": true,
|
|
"supports_cest": true,
|
|
"supports_csosn": true,
|
|
"supports_ipi": true,
|
|
"supports_pis": true,
|
|
"supports_cofins": true,
|
|
"supports_origin": true,
|
|
"supports_iat": true,
|
|
"supports_incidence": true,
|
|
"supports_ippt": true
|
|
},
|
|
"segment_inferred": {
|
|
"segment": "RESTAURANT",
|
|
"score": {
|
|
"RESTAURANT": 4,
|
|
"AUTO_REPAIR": 0,
|
|
"APPAREL": 0,
|
|
"RETAIL_MARKET": 0,
|
|
"CONSTRUCTION": 0
|
|
},
|
|
"evidence": [
|
|
"company name in C000004 contains RESTAURANTE (weak, name is data, not the file name)",
|
|
"mesas/comandas rows=715",
|
|
"PROD_COZINHA products=223"
|
|
],
|
|
"signals": {
|
|
"restaurant_tables_rows": 715,
|
|
"kitchen_products": 223,
|
|
"recipes": 0,
|
|
"service_orders": 0,
|
|
"vehicle_products": 0,
|
|
"grade_items": 0,
|
|
"nfce_items": 224355
|
|
},
|
|
"note": "inferred from table population, not from the file name"
|
|
},
|
|
"table_rows": {
|
|
"MESAS": 701,
|
|
"R000002": 14,
|
|
"RECEITA_INGREDIENTES": 0,
|
|
"DELIVERY_M": 0,
|
|
"C000051": 0,
|
|
"NFCE": 173526,
|
|
"NFCE_ITENS": 224355,
|
|
"C000032": 1586249,
|
|
"C000062": 548,
|
|
"C000088": 0,
|
|
"C000100": 895,
|
|
"C000030": 590,
|
|
"C000061": 278
|
|
},
|
|
"error": null
|
|
},
|
|
{
|
|
"file": "UNIAO.FDB",
|
|
"size_mb": 484.1,
|
|
"firebird_server_version": "WI-V6.3.9.27139 Firebird 2.5",
|
|
"ods": "11.2",
|
|
"schema_fingerprint": "36ed9ffd6fd843955167f2ef389588f4fa184b187ae94a887b50da9ad790150a",
|
|
"tables": 337,
|
|
"product_count": 8942,
|
|
"company": {
|
|
"status": "OK",
|
|
"uf": "BA",
|
|
"crt": "3",
|
|
"OPTANTE_SIMPLES": "S",
|
|
"OPTANTE_SUPER_SIMPLES": "N",
|
|
"SUBSTITUTO_TRIBUTARIO": "N",
|
|
"CONTRIBUINTE_IPI": "N",
|
|
"ICMS_CSOSN": "102",
|
|
"name": "MERCADO UNIAO",
|
|
"rows": 1,
|
|
"rows_summary": [
|
|
[
|
|
"000001",
|
|
"BA",
|
|
"3"
|
|
]
|
|
],
|
|
"filial_name_first_row": "GELSON NEVES DA SILVA",
|
|
"emissor_crt": [
|
|
"1"
|
|
]
|
|
},
|
|
"C000004_present": true,
|
|
"C000025_present": true,
|
|
"schema_class": "COMPATIBLE_WITH_VARIATIONS",
|
|
"capabilities": {
|
|
"supports_ncm": true,
|
|
"supports_cfop_entry": true,
|
|
"supports_cfop_exit": true,
|
|
"supports_cst_entry": true,
|
|
"supports_cst_exit": true,
|
|
"supports_icms_rate": true,
|
|
"supports_cest": true,
|
|
"supports_csosn": true,
|
|
"supports_ipi": true,
|
|
"supports_pis": true,
|
|
"supports_cofins": true,
|
|
"supports_origin": true,
|
|
"supports_iat": true,
|
|
"supports_incidence": true,
|
|
"supports_ippt": true
|
|
},
|
|
"segment_inferred": {
|
|
"segment": "RETAIL_MARKET",
|
|
"score": {
|
|
"RESTAURANT": 0,
|
|
"AUTO_REPAIR": 0,
|
|
"APPAREL": 0,
|
|
"RETAIL_MARKET": 1,
|
|
"CONSTRUCTION": 0
|
|
},
|
|
"evidence": [
|
|
"company name in C000004 contains MERCADO (weak, name is data, not the file name)"
|
|
],
|
|
"signals": {
|
|
"restaurant_tables_rows": 1,
|
|
"kitchen_products": 0,
|
|
"recipes": 0,
|
|
"service_orders": 0,
|
|
"vehicle_products": 0,
|
|
"grade_items": 0,
|
|
"nfce_items": 121266
|
|
},
|
|
"note": "inferred from table population, not from the file name"
|
|
},
|
|
"table_rows": {
|
|
"MESAS": 0,
|
|
"R000002": 1,
|
|
"RECEITA_INGREDIENTES": 0,
|
|
"DELIVERY_M": 0,
|
|
"C000051": 0,
|
|
"NFCE": 48872,
|
|
"NFCE_ITENS": 121266,
|
|
"C000032": 1582133,
|
|
"C000062": 1170,
|
|
"C000088": 0,
|
|
"C000100": 8942,
|
|
"C000030": 590,
|
|
"C000061": 82
|
|
},
|
|
"error": null
|
|
}
|
|
]
|
|
} |