File size: 2,337 Bytes
fcea076
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
---
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.