caarleexx's picture
Rename README.md to per_table_fixed/README.md
af582c7 verified
---
language:
- pt
license: mit
tags:
- law
- legal
- brazil
- schema
- jsonl
size_categories:
- n<1K
---
# Sistema de Manifestações Processuais (Schema)
**Versão corrigida para HF Datasets** - todos os campos normalizados para tipos consistentes (sem `null` em strings).
## Como os dados estão organizados
- Cada arquivo `per_table_fixed/<tabela>.jsonl` contém **campos normalizados** daquela tabela.
- Todos os campos `string` usam `""` (vazio) ao invés de `null`.
- Todos os campos `valores` são listas `[]` (vazio) quando não aplicável.
## Arquivos por tabela (corrigidos)
| Tabela | Linhas | Arquivo |
|---|---:|---|
| `agentes` | 4 | `per_table_fixed/agentes.jsonl` |
| `argumentos` | 4 | `per_table_fixed/argumentos.jsonl` |
| `atos` | 7 | `per_table_fixed/atos.jsonl` |
| `fatos` | 5 | `per_table_fixed/fatos.jsonl` |
| `historico_processual` | 25 | `per_table_fixed/historico_processual.jsonl` |
| `lista_artigos_lei` | 7 | `per_table_fixed/lista_artigos_lei.jsonl` |
| `lista_correcoes` | 23 | `per_table_fixed/lista_correcoes.jsonl` |
| `lista_gatilhos` | 18 | `per_table_fixed/lista_gatilhos.jsonl` |
| `lista_jurisprudencia` | 9 | `per_table_fixed/lista_jurisprudencia.jsonl` |
| `lista_principios` | 5 | `per_table_fixed/lista_principios.jsonl` |
| `magistrados` | 5 | `per_table_fixed/magistrados.jsonl` |
| `manifestacao` | 4 | `per_table_fixed/manifestacao.jsonl` |
| `manifestacoes_autos` | 190 | `per_table_fixed/manifestacoes_autos.jsonl` |
| `objetivos` | 5 | `per_table_fixed/objetivos.jsonl` |
| `omissoes` | 4 | `per_table_fixed/omissoes.jsonl` |
| `processos_relacionados` | 10 | `per_table_fixed/processos_relacionados.jsonl` |
| `provas` | 6 | `per_table_fixed/provas.jsonl` |
| `resultados` | 4 | `per_table_fixed/resultados.jsonl` |
| `taxonomia_arquetipos` | 9 | `per_table_fixed/taxonomia_arquetipos.jsonl` |
| `taxonomia_tags` | 5 | `per_table_fixed/taxonomia_tags.jsonl` |
| `usuarios` | 7 | `per_table_fixed/usuarios.jsonl` |
## Total: 21 tabelas, 356 linhas
## Uso
```python
from datasets import load_dataset
# Exemplo: tabela principal
ds = load_dataset(
"json",
data_files={"train": "per_table_fixed/manifestacoes_autos.jsonl"},
)
print(ds["train"].column_names)
print(ds["train"][0])
```
## Fonte
Gerado a partir de `1.json` com normalização HF Datasets compatível.