From 15fd08b14e019de21c886b8c7265c881d64d9262 Mon Sep 17 00:00:00 2001
From: fgs21 <fgs21@inf.ufpr.br>
Date: Thu, 16 Mar 2023 10:22:11 -0300
Subject: [PATCH] docentes updated

---
 docente_brasil.json    |  5 +++++
 docente_estado.json    | 10 ++++++++++
 docente_municipio.json | 10 ++++++++++
 3 files changed, 25 insertions(+)
 create mode 100644 docente_brasil.json
 create mode 100644 docente_estado.json
 create mode 100644 docente_municipio.json

diff --git a/docente_brasil.json b/docente_brasil.json
new file mode 100644
index 0000000..594fe95
--- /dev/null
+++ b/docente_brasil.json
@@ -0,0 +1,5 @@
+{
+    "pairing_description": "Tabela de docentes agregada pelo país",
+    "data_source": "Tabelas de apoio SIMCAQ",
+    "pk": ["cod_local", "ano_censo"]
+}
\ No newline at end of file
diff --git a/docente_estado.json b/docente_estado.json
new file mode 100644
index 0000000..0dca87f
--- /dev/null
+++ b/docente_estado.json
@@ -0,0 +1,10 @@
+{
+    "pairing_description": "Tabela de docentes agregada por estado",
+    "data_source": "Tabelas de apoio SIMCAQ",
+    "pk": ["cod_uf", "ano_censo"],
+    "foreign_keys": [{
+        "keys": ["cod_uf"],
+        "reference_columns": ["id"],
+        "reference_table": "estado"
+    }]
+}
\ No newline at end of file
diff --git a/docente_municipio.json b/docente_municipio.json
new file mode 100644
index 0000000..e792aa8
--- /dev/null
+++ b/docente_municipio.json
@@ -0,0 +1,10 @@
+{
+    "pairing_description": "Tabela de docentes agregada por município",
+    "data_source": "Tabelas de apoio SIMCAQ",
+    "pk": ["cod_municipio", "ano_censo"],
+    "foreign_keys": [{
+        "keys": ["cod_municipio"],
+        "reference_columns": ["id"],
+        "reference_table": "municipio"
+    }]
+}
\ No newline at end of file
-- 
GitLab