Esquemas de dados
StructureResult
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"publication": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"stage": {
"anyOf": [
{
"type": "string",
"enum": [
"EI",
"EF",
"EM"
]
},
{
"type": "null"
}
]
},
"component": {
"type": [
"string",
"null"
]
},
"area": {
"type": [
"string",
"null"
]
},
"item_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"kinds": {
"type": "array",
"items": {
"type": "string"
}
},
"year_labels": {
"type": "array",
"items": {
"type": "string"
}
},
"age_groups": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"stage",
"component",
"area",
"item_count",
"kinds",
"year_labels",
"age_groups"
],
"additionalProperties": {}
}
},
"total": {
"type": "number",
"minimum": 0
},
"page": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"limit": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"next": {
"type": [
"string",
"null"
]
},
"pagination_limit": {
"description": "Indica explicitamente que existem resultados além do teto de páginas; refine o filtro ou aumente o tamanho da página.",
"type": "object",
"properties": {
"reason": {
"type": "string",
"const": "maximum_page_reached"
},
"max_page": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"returned_through": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"total": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"message": {
"type": "string"
}
},
"required": [
"reason",
"max_page",
"returned_through",
"total",
"message"
],
"additionalProperties": false
},
"hierarchy": {
"type": "object",
"properties": {
"nodes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"parent_id": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 500
},
{
"type": "null"
}
]
},
"code": {
"type": [
"string",
"null"
]
},
"text": {
"type": "string"
},
"kind": {
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"source_number": {
"type": [
"number",
"string",
"null"
]
},
"source_order": {
"type": [
"number",
"string",
"null"
]
},
"document_order": {
"type": [
"number",
"string",
"null"
]
},
"positions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"stage": {
"type": "string",
"enum": [
"EI",
"EF",
"EM"
]
},
"component": {
"type": [
"string",
"null"
]
},
"area": {
"type": [
"string",
"null"
]
},
"years": {
"anyOf": [
{
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 12
}
},
{
"type": "null"
}
]
},
"year_label": {
"type": [
"string",
"null"
]
},
"age_group": {
"type": [
"string",
"null"
]
},
"period": {
"type": [
"string",
"null"
]
},
"age_label": {
"description": "Rótulo etário literal da fonte; não convertido automaticamente em limites.",
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 500
},
{
"type": "null"
}
]
},
"age_min_months": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 1800
},
{
"type": "null"
}
]
},
"age_max_months": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 1800
},
{
"type": "null"
}
]
},
"age_evidence": {
"description": "Evidência documental dos limites: fonte, trecho não vazio e página ou seção.",
"type": "array",
"items": {
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"page": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"printed_page": {
"type": [
"string",
"null"
]
},
"section": {
"type": [
"string",
"null"
]
},
"excerpt": {
"type": "string",
"minLength": 1
},
"bbox": {
"anyOf": [
{
"minItems": 4,
"maxItems": 4,
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
}
},
"required": [
"source_id",
"page",
"excerpt"
],
"additionalProperties": {}
}
},
"age_interval_origin": {
"type": "string",
"const": "explicit_source_header_units_to_months"
},
"age_unknown_reason": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
}
},
"required": [
"stage"
],
"additionalProperties": {}
}
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"page": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"printed_page": {
"type": [
"string",
"null"
]
},
"section": {
"type": [
"string",
"null"
]
},
"excerpt": {
"type": "string",
"minLength": 1
},
"bbox": {
"anyOf": [
{
"minItems": 4,
"maxItems": 4,
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
}
},
"required": [
"source_id",
"page",
"excerpt"
],
"additionalProperties": {}
}
},
"child_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"learning_child_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"parent_id",
"code",
"text",
"kind",
"source_id",
"positions",
"evidence",
"child_count",
"learning_child_count"
],
"additionalProperties": {}
}
},
"total": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"origin": {
"type": "string"
},
"methodology": {
"type": "string"
},
"pending_reason": {
"type": [
"string",
"null"
]
}
},
"required": [
"nodes",
"total",
"origin",
"methodology"
],
"additionalProperties": {}
},
"curriculum": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"required": [
"id"
],
"additionalProperties": {}
}
},
"required": [
"publication",
"data",
"hierarchy",
"curriculum"
],
"additionalProperties": {}
}StructureNode
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"parent_id": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 500
},
{
"type": "null"
}
]
},
"code": {
"type": [
"string",
"null"
]
},
"text": {
"type": "string"
},
"kind": {
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"source_number": {
"type": [
"number",
"string",
"null"
]
},
"source_order": {
"type": [
"number",
"string",
"null"
]
},
"document_order": {
"type": [
"number",
"string",
"null"
]
},
"positions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"stage": {
"type": "string",
"enum": [
"EI",
"EF",
"EM"
]
},
"component": {
"type": [
"string",
"null"
]
},
"area": {
"type": [
"string",
"null"
]
},
"years": {
"anyOf": [
{
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 12
}
},
{
"type": "null"
}
]
},
"year_label": {
"type": [
"string",
"null"
]
},
"age_group": {
"type": [
"string",
"null"
]
},
"period": {
"type": [
"string",
"null"
]
},
"age_label": {
"description": "Rótulo etário literal da fonte; não convertido automaticamente em limites.",
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 500
},
{
"type": "null"
}
]
},
"age_min_months": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 1800
},
{
"type": "null"
}
]
},
"age_max_months": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 1800
},
{
"type": "null"
}
]
},
"age_evidence": {
"description": "Evidência documental dos limites: fonte, trecho não vazio e página ou seção.",
"type": "array",
"items": {
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"page": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"printed_page": {
"type": [
"string",
"null"
]
},
"section": {
"type": [
"string",
"null"
]
},
"excerpt": {
"type": "string",
"minLength": 1
},
"bbox": {
"anyOf": [
{
"minItems": 4,
"maxItems": 4,
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
}
},
"required": [
"source_id",
"page",
"excerpt"
],
"additionalProperties": {}
}
},
"age_interval_origin": {
"type": "string",
"const": "explicit_source_header_units_to_months"
},
"age_unknown_reason": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
}
},
"required": [
"stage"
],
"additionalProperties": {}
}
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"page": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"printed_page": {
"type": [
"string",
"null"
]
},
"section": {
"type": [
"string",
"null"
]
},
"excerpt": {
"type": "string",
"minLength": 1
},
"bbox": {
"anyOf": [
{
"minItems": 4,
"maxItems": 4,
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
}
},
"required": [
"source_id",
"page",
"excerpt"
],
"additionalProperties": {}
}
},
"child_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"learning_child_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"parent_id",
"code",
"text",
"kind",
"source_id",
"positions",
"evidence",
"child_count",
"learning_child_count"
],
"additionalProperties": {}
}StructureGroup
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"stage": {
"anyOf": [
{
"type": "string",
"enum": [
"EI",
"EF",
"EM"
]
},
{
"type": "null"
}
]
},
"component": {
"type": [
"string",
"null"
]
},
"area": {
"type": [
"string",
"null"
]
},
"item_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"kinds": {
"type": "array",
"items": {
"type": "string"
}
},
"year_labels": {
"type": "array",
"items": {
"type": "string"
}
},
"age_groups": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"stage",
"component",
"area",
"item_count",
"kinds",
"year_labels",
"age_groups"
],
"additionalProperties": {}
}Hierarchy
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"nodes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"parent_id": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 500
},
{
"type": "null"
}
]
},
"code": {
"type": [
"string",
"null"
]
},
"text": {
"type": "string"
},
"kind": {
"type": "string"
},
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"source_number": {
"type": [
"number",
"string",
"null"
]
},
"source_order": {
"type": [
"number",
"string",
"null"
]
},
"document_order": {
"type": [
"number",
"string",
"null"
]
},
"positions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"stage": {
"type": "string",
"enum": [
"EI",
"EF",
"EM"
]
},
"component": {
"type": [
"string",
"null"
]
},
"area": {
"type": [
"string",
"null"
]
},
"years": {
"anyOf": [
{
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 12
}
},
{
"type": "null"
}
]
},
"year_label": {
"type": [
"string",
"null"
]
},
"age_group": {
"type": [
"string",
"null"
]
},
"period": {
"type": [
"string",
"null"
]
},
"age_label": {
"description": "Rótulo etário literal da fonte; não convertido automaticamente em limites.",
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 500
},
{
"type": "null"
}
]
},
"age_min_months": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 1800
},
{
"type": "null"
}
]
},
"age_max_months": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 1800
},
{
"type": "null"
}
]
},
"age_evidence": {
"description": "Evidência documental dos limites: fonte, trecho não vazio e página ou seção.",
"type": "array",
"items": {
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"page": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"printed_page": {
"type": [
"string",
"null"
]
},
"section": {
"type": [
"string",
"null"
]
},
"excerpt": {
"type": "string",
"minLength": 1
},
"bbox": {
"anyOf": [
{
"minItems": 4,
"maxItems": 4,
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
}
},
"required": [
"source_id",
"page",
"excerpt"
],
"additionalProperties": {}
}
},
"age_interval_origin": {
"type": "string",
"const": "explicit_source_header_units_to_months"
},
"age_unknown_reason": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
}
},
"required": [
"stage"
],
"additionalProperties": {}
}
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"page": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"printed_page": {
"type": [
"string",
"null"
]
},
"section": {
"type": [
"string",
"null"
]
},
"excerpt": {
"type": "string",
"minLength": 1
},
"bbox": {
"anyOf": [
{
"minItems": 4,
"maxItems": 4,
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
}
},
"required": [
"source_id",
"page",
"excerpt"
],
"additionalProperties": {}
}
},
"child_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"learning_child_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"id",
"parent_id",
"code",
"text",
"kind",
"source_id",
"positions",
"evidence",
"child_count",
"learning_child_count"
],
"additionalProperties": {}
}
},
"total": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"origin": {
"type": "string"
},
"methodology": {
"type": "string"
},
"pending_reason": {
"type": [
"string",
"null"
]
}
},
"required": [
"nodes",
"total",
"origin",
"methodology"
],
"additionalProperties": {}
}SearchResult
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"publication": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"curriculum_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"uf": {
"type": "string",
"pattern": "^(BR|AC|AL|AM|AP|BA|CE|DF|ES|GO|MA|MG|MS|MT|PA|PB|PE|PI|PR|RJ|RN|RO|RR|RS|SC|SE|SP|TO)$"
},
"code": {
"type": [
"string",
"null"
]
},
"code_aliases": {
"description": "Aliases documentados para busca. O campo code preserva a grafia canônica da fonte; alias não estabelece equivalência curricular.",
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"text": {
"type": "string"
},
"normalized_text": {
"type": "string"
},
"editorial_note": {
"type": [
"string",
"null"
]
},
"kind": {
"type": "string"
},
"parent_id": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 500
},
{
"type": "null"
}
]
},
"positions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"stage": {
"type": "string",
"enum": [
"EI",
"EF",
"EM"
]
},
"component": {
"type": [
"string",
"null"
]
},
"area": {
"type": [
"string",
"null"
]
},
"years": {
"anyOf": [
{
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 12
}
},
{
"type": "null"
}
]
},
"year_label": {
"type": [
"string",
"null"
]
},
"age_group": {
"type": [
"string",
"null"
]
},
"period": {
"type": [
"string",
"null"
]
},
"age_label": {
"description": "Rótulo etário literal da fonte; não convertido automaticamente em limites.",
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 500
},
{
"type": "null"
}
]
},
"age_min_months": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 1800
},
{
"type": "null"
}
]
},
"age_max_months": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 1800
},
{
"type": "null"
}
]
},
"age_evidence": {
"description": "Evidência documental dos limites: fonte, trecho não vazio e página ou seção.",
"type": "array",
"items": {
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"page": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"printed_page": {
"type": [
"string",
"null"
]
},
"section": {
"type": [
"string",
"null"
]
},
"excerpt": {
"type": "string",
"minLength": 1
},
"bbox": {
"anyOf": [
{
"minItems": 4,
"maxItems": 4,
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
}
},
"required": [
"source_id",
"page",
"excerpt"
],
"additionalProperties": {}
}
},
"age_interval_origin": {
"type": "string",
"const": "explicit_source_header_units_to_months"
},
"age_unknown_reason": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
}
},
"required": [
"stage"
],
"additionalProperties": {}
}
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"page": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"printed_page": {
"type": [
"string",
"null"
]
},
"section": {
"type": [
"string",
"null"
]
},
"excerpt": {
"type": "string",
"minLength": 1
},
"bbox": {
"anyOf": [
{
"minItems": 4,
"maxItems": 4,
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
}
},
"required": [
"source_id",
"page",
"excerpt"
],
"additionalProperties": {}
}
},
"extraction_revision": {
"type": "string"
}
},
"required": [
"id",
"curriculum_id",
"source_id",
"uf",
"code",
"text",
"normalized_text",
"editorial_note",
"kind",
"parent_id",
"positions",
"evidence",
"extraction_revision"
],
"additionalProperties": {}
}
},
"total": {
"type": "number",
"minimum": 0
},
"page": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"limit": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"next": {
"type": [
"string",
"null"
]
},
"pagination_limit": {
"description": "Indica explicitamente que existem resultados além do teto de páginas; refine o filtro ou aumente o tamanho da página.",
"type": "object",
"properties": {
"reason": {
"type": "string",
"const": "maximum_page_reached"
},
"max_page": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"returned_through": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"total": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"message": {
"type": "string"
}
},
"required": [
"reason",
"max_page",
"returned_through",
"total",
"message"
],
"additionalProperties": false
}
},
"required": [
"publication",
"data"
],
"additionalProperties": {}
}LearningResult
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"publication": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"curriculum_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"uf": {
"type": "string",
"pattern": "^(BR|AC|AL|AM|AP|BA|CE|DF|ES|GO|MA|MG|MS|MT|PA|PB|PE|PI|PR|RJ|RN|RO|RR|RS|SC|SE|SP|TO)$"
},
"code": {
"type": [
"string",
"null"
]
},
"code_aliases": {
"description": "Aliases documentados para busca. O campo code preserva a grafia canônica da fonte; alias não estabelece equivalência curricular.",
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"text": {
"type": "string"
},
"normalized_text": {
"type": "string"
},
"editorial_note": {
"type": [
"string",
"null"
]
},
"kind": {
"type": "string"
},
"parent_id": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 500
},
{
"type": "null"
}
]
},
"positions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"stage": {
"type": "string",
"enum": [
"EI",
"EF",
"EM"
]
},
"component": {
"type": [
"string",
"null"
]
},
"area": {
"type": [
"string",
"null"
]
},
"years": {
"anyOf": [
{
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 12
}
},
{
"type": "null"
}
]
},
"year_label": {
"type": [
"string",
"null"
]
},
"age_group": {
"type": [
"string",
"null"
]
},
"period": {
"type": [
"string",
"null"
]
},
"age_label": {
"description": "Rótulo etário literal da fonte; não convertido automaticamente em limites.",
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 500
},
{
"type": "null"
}
]
},
"age_min_months": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 1800
},
{
"type": "null"
}
]
},
"age_max_months": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 1800
},
{
"type": "null"
}
]
},
"age_evidence": {
"description": "Evidência documental dos limites: fonte, trecho não vazio e página ou seção.",
"type": "array",
"items": {
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"page": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"printed_page": {
"type": [
"string",
"null"
]
},
"section": {
"type": [
"string",
"null"
]
},
"excerpt": {
"type": "string",
"minLength": 1
},
"bbox": {
"anyOf": [
{
"minItems": 4,
"maxItems": 4,
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
}
},
"required": [
"source_id",
"page",
"excerpt"
],
"additionalProperties": {}
}
},
"age_interval_origin": {
"type": "string",
"const": "explicit_source_header_units_to_months"
},
"age_unknown_reason": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
}
},
"required": [
"stage"
],
"additionalProperties": {}
}
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"page": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"printed_page": {
"type": [
"string",
"null"
]
},
"section": {
"type": [
"string",
"null"
]
},
"excerpt": {
"type": "string",
"minLength": 1
},
"bbox": {
"anyOf": [
{
"minItems": 4,
"maxItems": 4,
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
}
},
"required": [
"source_id",
"page",
"excerpt"
],
"additionalProperties": {}
}
},
"extraction_revision": {
"type": "string"
}
},
"required": [
"id",
"curriculum_id",
"source_id",
"uf",
"code",
"text",
"normalized_text",
"editorial_note",
"kind",
"parent_id",
"positions",
"evidence",
"extraction_revision"
],
"additionalProperties": {}
},
"total": {
"type": "number",
"minimum": 0
},
"page": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"limit": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"next": {
"type": [
"string",
"null"
]
},
"pagination_limit": {
"description": "Indica explicitamente que existem resultados além do teto de páginas; refine o filtro ou aumente o tamanho da página.",
"type": "object",
"properties": {
"reason": {
"type": "string",
"const": "maximum_page_reached"
},
"max_page": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"returned_through": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"total": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"message": {
"type": "string"
}
},
"required": [
"reason",
"max_page",
"returned_through",
"total",
"message"
],
"additionalProperties": false
}
},
"required": [
"publication",
"data"
],
"additionalProperties": {}
}SourcesResult
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"publication": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"uf": {
"type": "string",
"pattern": "^(BR|AC|AL|AM|AP|BA|CE|DF|ES|GO|MA|MG|MS|MT|PA|PB|PE|PI|PR|RJ|RN|RO|RR|RS|SC|SE|SP|TO)$"
},
"title": {
"type": "string"
},
"issuer": {
"type": "string"
},
"official_url": {
"type": "string"
},
"artifact_url": {
"description": "URL do arquivo efetivamente identificado; null quando o artefato ainda não foi localizado. A página de procedência permanece em official_url.",
"type": [
"string",
"null"
]
},
"stages": {
"type": "array",
"items": {
"type": "string",
"enum": [
"EI",
"EF",
"EM"
]
}
},
"components": {
"type": "array",
"items": {
"type": "string"
}
},
"edition": {
"type": [
"string",
"null"
]
},
"document_date": {
"type": [
"string",
"null"
]
},
"homologation_date": {
"type": [
"string",
"null"
]
},
"application_period": {
"type": [
"string",
"null"
]
},
"document_type": {
"type": "string"
},
"normative_parts": {
"type": "array",
"items": {
"type": "string"
}
},
"redistribution": {
"type": "string"
},
"collected_at": {
"type": [
"string",
"null"
]
},
"sha256": {
"type": [
"string",
"null"
]
},
"local_path": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
}
},
"required": [
"id",
"uf",
"title",
"issuer",
"official_url",
"artifact_url",
"stages",
"components",
"document_type",
"normative_parts",
"redistribution",
"status"
],
"additionalProperties": {}
}
},
"total": {
"type": "number",
"minimum": 0
},
"page": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"limit": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"next": {
"type": [
"string",
"null"
]
},
"pagination_limit": {
"description": "Indica explicitamente que existem resultados além do teto de páginas; refine o filtro ou aumente o tamanho da página.",
"type": "object",
"properties": {
"reason": {
"type": "string",
"const": "maximum_page_reached"
},
"max_page": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"returned_through": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"total": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"message": {
"type": "string"
}
},
"required": [
"reason",
"max_page",
"returned_through",
"total",
"message"
],
"additionalProperties": false
}
},
"required": [
"publication",
"data"
],
"additionalProperties": {}
}SourceResult
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"publication": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"uf": {
"type": "string",
"pattern": "^(BR|AC|AL|AM|AP|BA|CE|DF|ES|GO|MA|MG|MS|MT|PA|PB|PE|PI|PR|RJ|RN|RO|RR|RS|SC|SE|SP|TO)$"
},
"title": {
"type": "string"
},
"issuer": {
"type": "string"
},
"official_url": {
"type": "string"
},
"artifact_url": {
"description": "URL do arquivo efetivamente identificado; null quando o artefato ainda não foi localizado. A página de procedência permanece em official_url.",
"type": [
"string",
"null"
]
},
"stages": {
"type": "array",
"items": {
"type": "string",
"enum": [
"EI",
"EF",
"EM"
]
}
},
"components": {
"type": "array",
"items": {
"type": "string"
}
},
"edition": {
"type": [
"string",
"null"
]
},
"document_date": {
"type": [
"string",
"null"
]
},
"homologation_date": {
"type": [
"string",
"null"
]
},
"application_period": {
"type": [
"string",
"null"
]
},
"document_type": {
"type": "string"
},
"normative_parts": {
"type": "array",
"items": {
"type": "string"
}
},
"redistribution": {
"type": "string"
},
"collected_at": {
"type": [
"string",
"null"
]
},
"sha256": {
"type": [
"string",
"null"
]
},
"local_path": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
}
},
"required": [
"id",
"uf",
"title",
"issuer",
"official_url",
"artifact_url",
"stages",
"components",
"document_type",
"normative_parts",
"redistribution",
"status"
],
"additionalProperties": {}
},
"total": {
"type": "number",
"minimum": 0
},
"page": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"limit": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"next": {
"type": [
"string",
"null"
]
},
"pagination_limit": {
"description": "Indica explicitamente que existem resultados além do teto de páginas; refine o filtro ou aumente o tamanho da página.",
"type": "object",
"properties": {
"reason": {
"type": "string",
"const": "maximum_page_reached"
},
"max_page": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"returned_through": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"total": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"message": {
"type": "string"
}
},
"required": [
"reason",
"max_page",
"returned_through",
"total",
"message"
],
"additionalProperties": false
}
},
"required": [
"publication",
"data"
],
"additionalProperties": {}
}RelationsResult
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"publication": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"members": {
"type": "array",
"items": {
"type": "object",
"properties": {
"item_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"role": {
"type": "string",
"enum": [
"source",
"target"
]
},
"scope": {
"type": "string"
}
},
"required": [
"item_id",
"role",
"scope"
],
"additionalProperties": {}
}
},
"relation_type": {
"type": "string"
},
"origin": {
"type": "string"
},
"technical_validation_status": {
"type": "string"
},
"pedagogical_review_status": {
"type": "string"
},
"publication_status": {
"type": "string"
},
"method": {
"type": "string"
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"page": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"printed_page": {
"type": [
"string",
"null"
]
},
"section": {
"type": [
"string",
"null"
]
},
"excerpt": {
"type": "string",
"minLength": 1
},
"bbox": {
"anyOf": [
{
"minItems": 4,
"maxItems": 4,
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
}
},
"required": [
"source_id",
"page",
"excerpt"
],
"additionalProperties": {}
}
}
},
"required": [
"id",
"members",
"relation_type",
"origin",
"technical_validation_status",
"pedagogical_review_status",
"publication_status",
"method",
"evidence"
],
"additionalProperties": {}
}
},
"total": {
"type": "number",
"minimum": 0
},
"page": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"limit": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"next": {
"type": [
"string",
"null"
]
},
"pagination_limit": {
"description": "Indica explicitamente que existem resultados além do teto de páginas; refine o filtro ou aumente o tamanho da página.",
"type": "object",
"properties": {
"reason": {
"type": "string",
"const": "maximum_page_reached"
},
"max_page": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"returned_through": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"total": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"message": {
"type": "string"
}
},
"required": [
"reason",
"max_page",
"returned_through",
"total",
"message"
],
"additionalProperties": false
}
},
"required": [
"publication",
"data"
],
"additionalProperties": {}
}BatchResult
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"publication": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {},
"status": {
"type": "string",
"enum": [
"found",
"not_found",
"invalid"
]
},
"item": {
"anyOf": [
{
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"curriculum_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"uf": {
"type": "string",
"pattern": "^(BR|AC|AL|AM|AP|BA|CE|DF|ES|GO|MA|MG|MS|MT|PA|PB|PE|PI|PR|RJ|RN|RO|RR|RS|SC|SE|SP|TO)$"
},
"code": {
"type": [
"string",
"null"
]
},
"code_aliases": {
"description": "Aliases documentados para busca. O campo code preserva a grafia canônica da fonte; alias não estabelece equivalência curricular.",
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"text": {
"type": "string"
},
"normalized_text": {
"type": "string"
},
"editorial_note": {
"type": [
"string",
"null"
]
},
"kind": {
"type": "string"
},
"parent_id": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 500
},
{
"type": "null"
}
]
},
"positions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"stage": {
"type": "string",
"enum": [
"EI",
"EF",
"EM"
]
},
"component": {
"type": [
"string",
"null"
]
},
"area": {
"type": [
"string",
"null"
]
},
"years": {
"anyOf": [
{
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 12
}
},
{
"type": "null"
}
]
},
"year_label": {
"type": [
"string",
"null"
]
},
"age_group": {
"type": [
"string",
"null"
]
},
"period": {
"type": [
"string",
"null"
]
},
"age_label": {
"description": "Rótulo etário literal da fonte; não convertido automaticamente em limites.",
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 500
},
{
"type": "null"
}
]
},
"age_min_months": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 1800
},
{
"type": "null"
}
]
},
"age_max_months": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 1800
},
{
"type": "null"
}
]
},
"age_evidence": {
"description": "Evidência documental dos limites: fonte, trecho não vazio e página ou seção.",
"type": "array",
"items": {
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"page": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"printed_page": {
"type": [
"string",
"null"
]
},
"section": {
"type": [
"string",
"null"
]
},
"excerpt": {
"type": "string",
"minLength": 1
},
"bbox": {
"anyOf": [
{
"minItems": 4,
"maxItems": 4,
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
}
},
"required": [
"source_id",
"page",
"excerpt"
],
"additionalProperties": {}
}
},
"age_interval_origin": {
"type": "string",
"const": "explicit_source_header_units_to_months"
},
"age_unknown_reason": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
}
},
"required": [
"stage"
],
"additionalProperties": {}
}
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"page": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"printed_page": {
"type": [
"string",
"null"
]
},
"section": {
"type": [
"string",
"null"
]
},
"excerpt": {
"type": "string",
"minLength": 1
},
"bbox": {
"anyOf": [
{
"minItems": 4,
"maxItems": 4,
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
}
},
"required": [
"source_id",
"page",
"excerpt"
],
"additionalProperties": {}
}
},
"extraction_revision": {
"type": "string"
}
},
"required": [
"id",
"curriculum_id",
"source_id",
"uf",
"code",
"text",
"normalized_text",
"editorial_note",
"kind",
"parent_id",
"positions",
"evidence",
"extraction_revision"
],
"additionalProperties": {}
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"status",
"item"
],
"additionalProperties": {}
}
},
"total": {
"type": "number",
"minimum": 0
},
"page": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"limit": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"next": {
"type": [
"string",
"null"
]
},
"pagination_limit": {
"description": "Indica explicitamente que existem resultados além do teto de páginas; refine o filtro ou aumente o tamanho da página.",
"type": "object",
"properties": {
"reason": {
"type": "string",
"const": "maximum_page_reached"
},
"max_page": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"returned_through": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"total": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"message": {
"type": "string"
}
},
"required": [
"reason",
"max_page",
"returned_through",
"total",
"message"
],
"additionalProperties": false
}
},
"required": [
"publication",
"data"
],
"additionalProperties": {}
}PanoramaResult
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"publication": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"national_item": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"curriculum_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"uf": {
"type": "string",
"pattern": "^(BR|AC|AL|AM|AP|BA|CE|DF|ES|GO|MA|MG|MS|MT|PA|PB|PE|PI|PR|RJ|RN|RO|RR|RS|SC|SE|SP|TO)$"
},
"code": {
"type": [
"string",
"null"
]
},
"code_aliases": {
"description": "Aliases documentados para busca. O campo code preserva a grafia canônica da fonte; alias não estabelece equivalência curricular.",
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"text": {
"type": "string"
},
"normalized_text": {
"type": "string"
},
"editorial_note": {
"type": [
"string",
"null"
]
},
"kind": {
"type": "string"
},
"parent_id": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 500
},
{
"type": "null"
}
]
},
"positions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"stage": {
"type": "string",
"enum": [
"EI",
"EF",
"EM"
]
},
"component": {
"type": [
"string",
"null"
]
},
"area": {
"type": [
"string",
"null"
]
},
"years": {
"anyOf": [
{
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 12
}
},
{
"type": "null"
}
]
},
"year_label": {
"type": [
"string",
"null"
]
},
"age_group": {
"type": [
"string",
"null"
]
},
"period": {
"type": [
"string",
"null"
]
},
"age_label": {
"description": "Rótulo etário literal da fonte; não convertido automaticamente em limites.",
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 500
},
{
"type": "null"
}
]
},
"age_min_months": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 1800
},
{
"type": "null"
}
]
},
"age_max_months": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 1800
},
{
"type": "null"
}
]
},
"age_evidence": {
"description": "Evidência documental dos limites: fonte, trecho não vazio e página ou seção.",
"type": "array",
"items": {
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"page": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"printed_page": {
"type": [
"string",
"null"
]
},
"section": {
"type": [
"string",
"null"
]
},
"excerpt": {
"type": "string",
"minLength": 1
},
"bbox": {
"anyOf": [
{
"minItems": 4,
"maxItems": 4,
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
}
},
"required": [
"source_id",
"page",
"excerpt"
],
"additionalProperties": {}
}
},
"age_interval_origin": {
"type": "string",
"const": "explicit_source_header_units_to_months"
},
"age_unknown_reason": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
}
},
"required": [
"stage"
],
"additionalProperties": {}
}
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"page": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"printed_page": {
"type": [
"string",
"null"
]
},
"section": {
"type": [
"string",
"null"
]
},
"excerpt": {
"type": "string",
"minLength": 1
},
"bbox": {
"anyOf": [
{
"minItems": 4,
"maxItems": 4,
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
}
},
"required": [
"source_id",
"page",
"excerpt"
],
"additionalProperties": {}
}
},
"extraction_revision": {
"type": "string"
}
},
"required": [
"id",
"curriculum_id",
"source_id",
"uf",
"code",
"text",
"normalized_text",
"editorial_note",
"kind",
"parent_id",
"positions",
"evidence",
"extraction_revision"
],
"additionalProperties": {}
},
"ufs": {
"minItems": 27,
"maxItems": 27,
"type": "array",
"items": {
"type": "object",
"properties": {
"uf": {
"type": "string",
"enum": [
"AC",
"AL",
"AM",
"AP",
"BA",
"CE",
"DF",
"ES",
"GO",
"MA",
"MG",
"MS",
"MT",
"PA",
"PB",
"PE",
"PI",
"PR",
"RJ",
"RN",
"RO",
"RR",
"RS",
"SC",
"SE",
"SP",
"TO"
]
},
"name": {
"type": "string"
},
"status": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"curriculum_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"uf": {
"type": "string",
"pattern": "^(BR|AC|AL|AM|AP|BA|CE|DF|ES|GO|MA|MG|MS|MT|PA|PB|PE|PI|PR|RJ|RN|RO|RR|RS|SC|SE|SP|TO)$"
},
"code": {
"type": [
"string",
"null"
]
},
"code_aliases": {
"description": "Aliases documentados para busca. O campo code preserva a grafia canônica da fonte; alias não estabelece equivalência curricular.",
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"text": {
"type": "string"
},
"normalized_text": {
"type": "string"
},
"editorial_note": {
"type": [
"string",
"null"
]
},
"kind": {
"type": "string"
},
"parent_id": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 500
},
{
"type": "null"
}
]
},
"positions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"stage": {
"type": "string",
"enum": [
"EI",
"EF",
"EM"
]
},
"component": {
"type": [
"string",
"null"
]
},
"area": {
"type": [
"string",
"null"
]
},
"years": {
"anyOf": [
{
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 12
}
},
{
"type": "null"
}
]
},
"year_label": {
"type": [
"string",
"null"
]
},
"age_group": {
"type": [
"string",
"null"
]
},
"period": {
"type": [
"string",
"null"
]
},
"age_label": {
"description": "Rótulo etário literal da fonte; não convertido automaticamente em limites.",
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 500
},
{
"type": "null"
}
]
},
"age_min_months": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 1800
},
{
"type": "null"
}
]
},
"age_max_months": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 1800
},
{
"type": "null"
}
]
},
"age_evidence": {
"description": "Evidência documental dos limites: fonte, trecho não vazio e página ou seção.",
"type": "array",
"items": {
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"page": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"printed_page": {
"type": [
"string",
"null"
]
},
"section": {
"type": [
"string",
"null"
]
},
"excerpt": {
"type": "string",
"minLength": 1
},
"bbox": {
"anyOf": [
{
"minItems": 4,
"maxItems": 4,
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
}
},
"required": [
"source_id",
"page",
"excerpt"
],
"additionalProperties": {}
}
},
"age_interval_origin": {
"type": "string",
"const": "explicit_source_header_units_to_months"
},
"age_unknown_reason": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
}
},
"required": [
"stage"
],
"additionalProperties": {}
}
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"page": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"printed_page": {
"type": [
"string",
"null"
]
},
"section": {
"type": [
"string",
"null"
]
},
"excerpt": {
"type": "string",
"minLength": 1
},
"bbox": {
"anyOf": [
{
"minItems": 4,
"maxItems": 4,
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
}
},
"required": [
"source_id",
"page",
"excerpt"
],
"additionalProperties": {}
}
},
"extraction_revision": {
"type": "string"
}
},
"required": [
"id",
"curriculum_id",
"source_id",
"uf",
"code",
"text",
"normalized_text",
"editorial_note",
"kind",
"parent_id",
"positions",
"evidence",
"extraction_revision"
],
"additionalProperties": {}
}
},
"relations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"members": {
"type": "array",
"items": {
"type": "object",
"properties": {
"item_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"role": {
"type": "string",
"enum": [
"source",
"target"
]
},
"scope": {
"type": "string"
}
},
"required": [
"item_id",
"role",
"scope"
],
"additionalProperties": {}
}
},
"relation_type": {
"type": "string"
},
"origin": {
"type": "string"
},
"technical_validation_status": {
"type": "string"
},
"pedagogical_review_status": {
"type": "string"
},
"publication_status": {
"type": "string"
},
"method": {
"type": "string"
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"page": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"printed_page": {
"type": [
"string",
"null"
]
},
"section": {
"type": [
"string",
"null"
]
},
"excerpt": {
"type": "string",
"minLength": 1
},
"bbox": {
"anyOf": [
{
"minItems": 4,
"maxItems": 4,
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
}
},
"required": [
"source_id",
"page",
"excerpt"
],
"additionalProperties": {}
}
}
},
"required": [
"id",
"members",
"relation_type",
"origin",
"technical_validation_status",
"pedagogical_review_status",
"publication_status",
"method",
"evidence"
],
"additionalProperties": {}
}
},
"total": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"page": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"limit": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"has_more": {
"type": "boolean"
},
"source_ids": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
}
},
"required": [
"uf",
"name",
"status",
"items",
"relations",
"total",
"page",
"limit",
"has_more",
"source_ids"
],
"additionalProperties": {}
}
}
},
"required": [
"national_item",
"ufs"
],
"additionalProperties": {}
},
"total": {
"type": "number",
"minimum": 0
},
"page": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"limit": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"next": {
"type": [
"string",
"null"
]
},
"pagination_limit": {
"description": "Indica explicitamente que existem resultados além do teto de páginas; refine o filtro ou aumente o tamanho da página.",
"type": "object",
"properties": {
"reason": {
"type": "string",
"const": "maximum_page_reached"
},
"max_page": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"returned_through": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"total": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"message": {
"type": "string"
}
},
"required": [
"reason",
"max_page",
"returned_through",
"total",
"message"
],
"additionalProperties": false
}
},
"required": [
"publication",
"data"
],
"additionalProperties": {}
}ComparisonResult
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"publication": {
"type": "string"
},
"data": {
"type": "object",
"properties": {
"ufs": {
"minItems": 2,
"maxItems": 3,
"type": "array",
"items": {
"type": "string",
"enum": [
"AC",
"AL",
"AM",
"AP",
"BA",
"CE",
"DF",
"ES",
"GO",
"MA",
"MG",
"MS",
"MT",
"PA",
"PB",
"PE",
"PI",
"PR",
"RJ",
"RN",
"RO",
"RR",
"RS",
"SC",
"SE",
"SP",
"TO"
]
}
},
"columns": {
"minItems": 2,
"maxItems": 3,
"type": "array",
"items": {
"type": "object",
"properties": {
"uf": {
"type": "string",
"enum": [
"AC",
"AL",
"AM",
"AP",
"BA",
"CE",
"DF",
"ES",
"GO",
"MA",
"MG",
"MS",
"MT",
"PA",
"PB",
"PE",
"PI",
"PR",
"RJ",
"RN",
"RO",
"RR",
"RS",
"SC",
"SE",
"SP",
"TO"
]
},
"name": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"curriculum_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"uf": {
"type": "string",
"pattern": "^(BR|AC|AL|AM|AP|BA|CE|DF|ES|GO|MA|MG|MS|MT|PA|PB|PE|PI|PR|RJ|RN|RO|RR|RS|SC|SE|SP|TO)$"
},
"code": {
"type": [
"string",
"null"
]
},
"code_aliases": {
"description": "Aliases documentados para busca. O campo code preserva a grafia canônica da fonte; alias não estabelece equivalência curricular.",
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"text": {
"type": "string"
},
"normalized_text": {
"type": "string"
},
"editorial_note": {
"type": [
"string",
"null"
]
},
"kind": {
"type": "string"
},
"parent_id": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 500
},
{
"type": "null"
}
]
},
"positions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"stage": {
"type": "string",
"enum": [
"EI",
"EF",
"EM"
]
},
"component": {
"type": [
"string",
"null"
]
},
"area": {
"type": [
"string",
"null"
]
},
"years": {
"anyOf": [
{
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 12
}
},
{
"type": "null"
}
]
},
"year_label": {
"type": [
"string",
"null"
]
},
"age_group": {
"type": [
"string",
"null"
]
},
"period": {
"type": [
"string",
"null"
]
},
"age_label": {
"description": "Rótulo etário literal da fonte; não convertido automaticamente em limites.",
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 500
},
{
"type": "null"
}
]
},
"age_min_months": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 1800
},
{
"type": "null"
}
]
},
"age_max_months": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 1800
},
{
"type": "null"
}
]
},
"age_evidence": {
"description": "Evidência documental dos limites: fonte, trecho não vazio e página ou seção.",
"type": "array",
"items": {
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"page": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"printed_page": {
"type": [
"string",
"null"
]
},
"section": {
"type": [
"string",
"null"
]
},
"excerpt": {
"type": "string",
"minLength": 1
},
"bbox": {
"anyOf": [
{
"minItems": 4,
"maxItems": 4,
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
}
},
"required": [
"source_id",
"page",
"excerpt"
],
"additionalProperties": {}
}
},
"age_interval_origin": {
"type": "string",
"const": "explicit_source_header_units_to_months"
},
"age_unknown_reason": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
}
},
"required": [
"stage"
],
"additionalProperties": {}
}
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"page": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"printed_page": {
"type": [
"string",
"null"
]
},
"section": {
"type": [
"string",
"null"
]
},
"excerpt": {
"type": "string",
"minLength": 1
},
"bbox": {
"anyOf": [
{
"minItems": 4,
"maxItems": 4,
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
}
},
"required": [
"source_id",
"page",
"excerpt"
],
"additionalProperties": {}
}
},
"extraction_revision": {
"type": "string"
}
},
"required": [
"id",
"curriculum_id",
"source_id",
"uf",
"code",
"text",
"normalized_text",
"editorial_note",
"kind",
"parent_id",
"positions",
"evidence",
"extraction_revision"
],
"additionalProperties": {}
}
},
"sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"uf": {
"type": "string",
"pattern": "^(BR|AC|AL|AM|AP|BA|CE|DF|ES|GO|MA|MG|MS|MT|PA|PB|PE|PI|PR|RJ|RN|RO|RR|RS|SC|SE|SP|TO)$"
},
"title": {
"type": "string"
},
"issuer": {
"type": "string"
},
"official_url": {
"type": "string"
},
"artifact_url": {
"description": "URL do arquivo efetivamente identificado; null quando o artefato ainda não foi localizado. A página de procedência permanece em official_url.",
"type": [
"string",
"null"
]
},
"stages": {
"type": "array",
"items": {
"type": "string",
"enum": [
"EI",
"EF",
"EM"
]
}
},
"components": {
"type": "array",
"items": {
"type": "string"
}
},
"edition": {
"type": [
"string",
"null"
]
},
"document_date": {
"type": [
"string",
"null"
]
},
"homologation_date": {
"type": [
"string",
"null"
]
},
"application_period": {
"type": [
"string",
"null"
]
},
"document_type": {
"type": "string"
},
"normative_parts": {
"type": "array",
"items": {
"type": "string"
}
},
"redistribution": {
"type": "string"
},
"collected_at": {
"type": [
"string",
"null"
]
},
"sha256": {
"type": [
"string",
"null"
]
},
"local_path": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
}
},
"required": [
"id",
"uf",
"title",
"issuer",
"official_url",
"artifact_url",
"stages",
"components",
"document_type",
"normative_parts",
"redistribution",
"status"
],
"additionalProperties": {}
}
},
"total": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"uf",
"name",
"items",
"sources",
"total"
],
"additionalProperties": {}
}
},
"shared_references": {
"type": "array",
"items": {
"type": "object",
"properties": {
"item_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"ufs": {
"type": "array",
"items": {
"type": "string",
"enum": [
"AC",
"AL",
"AM",
"AP",
"BA",
"CE",
"DF",
"ES",
"GO",
"MA",
"MG",
"MS",
"MT",
"PA",
"PB",
"PE",
"PI",
"PR",
"RJ",
"RN",
"RO",
"RR",
"RS",
"SC",
"SE",
"SP",
"TO"
]
}
},
"equivalence_established": {
"type": "boolean",
"const": false
}
},
"required": [
"item_id",
"ufs",
"equivalence_established"
],
"additionalProperties": {}
}
},
"relations": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"members": {
"type": "array",
"items": {
"type": "object",
"properties": {
"item_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"role": {
"type": "string",
"enum": [
"source",
"target"
]
},
"scope": {
"type": "string"
}
},
"required": [
"item_id",
"role",
"scope"
],
"additionalProperties": {}
}
},
"relation_type": {
"type": "string"
},
"origin": {
"type": "string"
},
"technical_validation_status": {
"type": "string"
},
"pedagogical_review_status": {
"type": "string"
},
"publication_status": {
"type": "string"
},
"method": {
"type": "string"
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"page": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"printed_page": {
"type": [
"string",
"null"
]
},
"section": {
"type": [
"string",
"null"
]
},
"excerpt": {
"type": "string",
"minLength": 1
},
"bbox": {
"anyOf": [
{
"minItems": 4,
"maxItems": 4,
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
}
},
"required": [
"source_id",
"page",
"excerpt"
],
"additionalProperties": {}
}
}
},
"required": [
"id",
"members",
"relation_type",
"origin",
"technical_validation_status",
"pedagogical_review_status",
"publication_status",
"method",
"evidence"
],
"additionalProperties": {}
}
},
"comparable": {
"type": "boolean"
},
"reason": {
"type": [
"string",
"null"
]
}
},
"required": [
"ufs",
"columns",
"shared_references",
"relations",
"comparable",
"reason"
],
"additionalProperties": {}
},
"total": {
"type": "number",
"minimum": 0
},
"page": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"limit": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"next": {
"type": [
"string",
"null"
]
},
"pagination_limit": {
"description": "Indica explicitamente que existem resultados além do teto de páginas; refine o filtro ou aumente o tamanho da página.",
"type": "object",
"properties": {
"reason": {
"type": "string",
"const": "maximum_page_reached"
},
"max_page": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"returned_through": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"total": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"message": {
"type": "string"
}
},
"required": [
"reason",
"max_page",
"returned_through",
"total",
"message"
],
"additionalProperties": false
}
},
"required": [
"publication",
"data"
],
"additionalProperties": {}
}Source
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"uf": {
"type": "string",
"pattern": "^(BR|AC|AL|AM|AP|BA|CE|DF|ES|GO|MA|MG|MS|MT|PA|PB|PE|PI|PR|RJ|RN|RO|RR|RS|SC|SE|SP|TO)$"
},
"title": {
"type": "string"
},
"issuer": {
"type": "string"
},
"official_url": {
"type": "string"
},
"artifact_url": {
"description": "URL do arquivo efetivamente identificado; null quando o artefato ainda não foi localizado. A página de procedência permanece em official_url.",
"type": [
"string",
"null"
]
},
"stages": {
"type": "array",
"items": {
"type": "string",
"enum": [
"EI",
"EF",
"EM"
]
}
},
"components": {
"type": "array",
"items": {
"type": "string"
}
},
"edition": {
"type": [
"string",
"null"
]
},
"document_date": {
"type": [
"string",
"null"
]
},
"homologation_date": {
"type": [
"string",
"null"
]
},
"application_period": {
"type": [
"string",
"null"
]
},
"document_type": {
"type": "string"
},
"normative_parts": {
"type": "array",
"items": {
"type": "string"
}
},
"redistribution": {
"type": "string"
},
"collected_at": {
"type": [
"string",
"null"
]
},
"sha256": {
"type": [
"string",
"null"
]
},
"local_path": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
}
},
"required": [
"id",
"uf",
"title",
"issuer",
"official_url",
"artifact_url",
"stages",
"components",
"document_type",
"normative_parts",
"redistribution",
"status"
],
"additionalProperties": {}
}Position
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"stage": {
"type": "string",
"enum": [
"EI",
"EF",
"EM"
]
},
"component": {
"type": [
"string",
"null"
]
},
"area": {
"type": [
"string",
"null"
]
},
"years": {
"anyOf": [
{
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 12
}
},
{
"type": "null"
}
]
},
"year_label": {
"type": [
"string",
"null"
]
},
"age_group": {
"type": [
"string",
"null"
]
},
"period": {
"type": [
"string",
"null"
]
},
"age_label": {
"description": "Rótulo etário literal da fonte; não convertido automaticamente em limites.",
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 500
},
{
"type": "null"
}
]
},
"age_min_months": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 1800
},
{
"type": "null"
}
]
},
"age_max_months": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 1800
},
{
"type": "null"
}
]
},
"age_evidence": {
"description": "Evidência documental dos limites: fonte, trecho não vazio e página ou seção.",
"type": "array",
"items": {
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"page": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"printed_page": {
"type": [
"string",
"null"
]
},
"section": {
"type": [
"string",
"null"
]
},
"excerpt": {
"type": "string",
"minLength": 1
},
"bbox": {
"anyOf": [
{
"minItems": 4,
"maxItems": 4,
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
}
},
"required": [
"source_id",
"page",
"excerpt"
],
"additionalProperties": {}
}
},
"age_interval_origin": {
"type": "string",
"const": "explicit_source_header_units_to_months"
},
"age_unknown_reason": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
}
},
"required": [
"stage"
],
"additionalProperties": {}
}ContributionResponse
{
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "object",
"required": [
"id",
"status",
"message"
],
"properties": {
"id": {
"type": "string"
},
"status": {
"type": "string"
},
"message": {
"type": "string"
}
}
}
}
}Result
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"publication": {
"type": "string"
},
"data": {},
"total": {
"type": "number",
"minimum": 0
},
"page": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"limit": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"next": {
"type": [
"string",
"null"
]
},
"pagination_limit": {
"description": "Indica explicitamente que existem resultados além do teto de páginas; refine o filtro ou aumente o tamanho da página.",
"type": "object",
"properties": {
"reason": {
"type": "string",
"const": "maximum_page_reached"
},
"max_page": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"returned_through": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"total": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"message": {
"type": "string"
}
},
"required": [
"reason",
"max_page",
"returned_through",
"total",
"message"
],
"additionalProperties": false
}
},
"required": [
"publication",
"data"
],
"additionalProperties": {}
}Error
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"error": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
},
"request_id": {
"type": "string"
},
"details": {}
},
"required": [
"code",
"message",
"request_id"
],
"additionalProperties": false
}
},
"required": [
"error"
],
"additionalProperties": false
}Query
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"publication": {
"description": "Publicação imutável; reutilize a retornada ao paginar.",
"type": "string",
"minLength": 1,
"maxLength": 160
},
"uf": {
"type": "string",
"pattern": "^(BR|AC|AL|AM|AP|BA|CE|DF|ES|GO|MA|MG|MS|MT|PA|PB|PE|PI|PR|RJ|RN|RO|RR|RS|SC|SE|SP|TO)$"
},
"q": {
"description": "Código, trecho ou tema; busca textual sem modelo pago.",
"type": "string",
"maxLength": 500
},
"stage": {
"type": "string",
"enum": [
"EI",
"EF",
"EM"
]
},
"component": {
"type": "string",
"maxLength": 200
},
"area": {
"type": "string",
"maxLength": 200
},
"year": {
"description": "Ano ou intervalo com interseção dos blocos documentados.",
"type": "string",
"pattern": "^\\d{1,2}(-\\d{1,2})?$"
},
"age_group": {
"description": "Grupo macro ou rótulo etário documental específico, com normalização de acentos para busca. include_unknown_positions=true também inclui posições sem ambos os valores.",
"type": "string",
"maxLength": 120
},
"age_months": {
"description": "Interseção inclusiva com limites etários documentados, por exemplo 0-6. Não infere idade por código ou rótulo; posições sem limites são desconhecidas e só entram com include_unknown_positions=true.",
"type": "string",
"pattern": "^\\d{1,4}(-\\d{1,4})?$"
},
"kind": {
"type": "string",
"maxLength": 100
},
"curriculum": {
"type": "string",
"maxLength": 200
},
"edition": {
"type": "string",
"maxLength": 200
},
"relation_type": {
"type": "string",
"maxLength": 100
},
"origin": {
"type": "string",
"maxLength": 100
},
"technical_validation_status": {
"type": "string",
"maxLength": 100
},
"pedagogical_review_status": {
"type": "string",
"maxLength": 100
},
"publication_status": {
"type": "string",
"maxLength": 100
},
"item_id": {
"type": "string",
"maxLength": 300
},
"parent_id": {
"description": "Filhos diretos de um nó da estrutura documental, na mesma publicação.",
"type": "string",
"minLength": 1,
"maxLength": 500
},
"include_unpositioned": {
"type": "boolean"
},
"include_unknown_positions": {
"type": "boolean"
},
"national_id": {
"type": "string",
"maxLength": 500
},
"source_id": {
"type": "string",
"maxLength": 300
},
"period": {
"type": "string",
"maxLength": 200
},
"page": {
"description": "Página das listas paginadas de aprendizagens, relações, panorama, comparação e matriz.",
"type": "integer",
"minimum": 1,
"maximum": 1000000
},
"limit": {
"description": "Tamanho da página nas listas paginadas; catálogos completos não são cortados.",
"type": "integer",
"minimum": 1,
"maximum": 100
}
},
"additionalProperties": false
}Batch
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"publication": {
"description": "Publicação imutável; reutilize a retornada ao paginar.",
"type": "string",
"minLength": 1,
"maxLength": 160
},
"uf": {
"type": "string",
"pattern": "^(BR|AC|AL|AM|AP|BA|CE|DF|ES|GO|MA|MG|MS|MT|PA|PB|PE|PI|PR|RJ|RN|RO|RR|RS|SC|SE|SP|TO)$"
},
"q": {
"description": "Código, trecho ou tema; busca textual sem modelo pago.",
"type": "string",
"maxLength": 500
},
"stage": {
"type": "string",
"enum": [
"EI",
"EF",
"EM"
]
},
"component": {
"type": "string",
"maxLength": 200
},
"area": {
"type": "string",
"maxLength": 200
},
"year": {
"description": "Ano ou intervalo com interseção dos blocos documentados.",
"type": "string",
"pattern": "^\\d{1,2}(-\\d{1,2})?$"
},
"age_group": {
"description": "Grupo macro ou rótulo etário documental específico, com normalização de acentos para busca. include_unknown_positions=true também inclui posições sem ambos os valores.",
"type": "string",
"maxLength": 120
},
"age_months": {
"description": "Interseção inclusiva com limites etários documentados, por exemplo 0-6. Não infere idade por código ou rótulo; posições sem limites são desconhecidas e só entram com include_unknown_positions=true.",
"type": "string",
"pattern": "^\\d{1,4}(-\\d{1,4})?$"
},
"kind": {
"type": "string",
"maxLength": 100
},
"curriculum": {
"type": "string",
"maxLength": 200
},
"edition": {
"type": "string",
"maxLength": 200
},
"relation_type": {
"type": "string",
"maxLength": 100
},
"origin": {
"type": "string",
"maxLength": 100
},
"technical_validation_status": {
"type": "string",
"maxLength": 100
},
"pedagogical_review_status": {
"type": "string",
"maxLength": 100
},
"publication_status": {
"type": "string",
"maxLength": 100
},
"item_id": {
"type": "string",
"maxLength": 300
},
"parent_id": {
"description": "Filhos diretos de um nó da estrutura documental, na mesma publicação.",
"type": "string",
"minLength": 1,
"maxLength": 500
},
"include_unpositioned": {
"type": "boolean"
},
"include_unknown_positions": {
"type": "boolean"
},
"national_id": {
"type": "string",
"maxLength": 500
},
"source_id": {
"type": "string",
"maxLength": 300
},
"period": {
"type": "string",
"maxLength": 200
},
"page": {
"description": "Página das listas paginadas de aprendizagens, relações, panorama, comparação e matriz.",
"type": "integer",
"minimum": 1,
"maximum": 1000000
},
"limit": {
"description": "Tamanho da página nas listas paginadas; catálogos completos não são cortados.",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"ids": {
"minItems": 1,
"maxItems": 100,
"type": "array",
"items": {}
}
},
"required": [
"ids"
],
"additionalProperties": false
}Comparison
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"publication": {
"description": "Publicação imutável; reutilize a retornada ao paginar.",
"type": "string",
"minLength": 1,
"maxLength": 160
},
"uf": {
"type": "string",
"pattern": "^(BR|AC|AL|AM|AP|BA|CE|DF|ES|GO|MA|MG|MS|MT|PA|PB|PE|PI|PR|RJ|RN|RO|RR|RS|SC|SE|SP|TO)$"
},
"q": {
"description": "Código, trecho ou tema; busca textual sem modelo pago.",
"type": "string",
"maxLength": 500
},
"stage": {
"type": "string",
"enum": [
"EI",
"EF",
"EM"
]
},
"component": {
"type": "string",
"maxLength": 200
},
"area": {
"type": "string",
"maxLength": 200
},
"year": {
"description": "Ano ou intervalo com interseção dos blocos documentados.",
"type": "string",
"pattern": "^\\d{1,2}(-\\d{1,2})?$"
},
"age_group": {
"description": "Grupo macro ou rótulo etário documental específico, com normalização de acentos para busca. include_unknown_positions=true também inclui posições sem ambos os valores.",
"type": "string",
"maxLength": 120
},
"age_months": {
"description": "Interseção inclusiva com limites etários documentados, por exemplo 0-6. Não infere idade por código ou rótulo; posições sem limites são desconhecidas e só entram com include_unknown_positions=true.",
"type": "string",
"pattern": "^\\d{1,4}(-\\d{1,4})?$"
},
"kind": {
"type": "string",
"maxLength": 100
},
"curriculum": {
"type": "string",
"maxLength": 200
},
"edition": {
"type": "string",
"maxLength": 200
},
"relation_type": {
"type": "string",
"maxLength": 100
},
"origin": {
"type": "string",
"maxLength": 100
},
"technical_validation_status": {
"type": "string",
"maxLength": 100
},
"pedagogical_review_status": {
"type": "string",
"maxLength": 100
},
"publication_status": {
"type": "string",
"maxLength": 100
},
"item_id": {
"type": "string",
"maxLength": 300
},
"parent_id": {
"description": "Filhos diretos de um nó da estrutura documental, na mesma publicação.",
"type": "string",
"minLength": 1,
"maxLength": 500
},
"include_unpositioned": {
"type": "boolean"
},
"include_unknown_positions": {
"type": "boolean"
},
"national_id": {
"type": "string",
"maxLength": 500
},
"source_id": {
"type": "string",
"maxLength": 300
},
"period": {
"type": "string",
"maxLength": 200
},
"page": {
"description": "Página das listas paginadas de aprendizagens, relações, panorama, comparação e matriz.",
"type": "integer",
"minimum": 1,
"maximum": 1000000
},
"limit": {
"description": "Tamanho da página nas listas paginadas; catálogos completos não são cortados.",
"type": "integer",
"minimum": 1,
"maximum": 100
},
"ufs": {
"minItems": 2,
"maxItems": 3,
"type": "array",
"items": {
"type": "string",
"enum": [
"AC",
"AL",
"AM",
"AP",
"BA",
"CE",
"DF",
"ES",
"GO",
"MA",
"MG",
"MS",
"MT",
"PA",
"PB",
"PE",
"PI",
"PR",
"RJ",
"RN",
"RO",
"RR",
"RS",
"SC",
"SE",
"SP",
"TO"
]
}
},
"curricula": {
"type": "object",
"propertyNames": {
"type": "string",
"enum": [
"AC",
"AL",
"AM",
"AP",
"BA",
"CE",
"DF",
"ES",
"GO",
"MA",
"MG",
"MS",
"MT",
"PA",
"PB",
"PE",
"PI",
"PR",
"RJ",
"RN",
"RO",
"RR",
"RS",
"SC",
"SE",
"SP",
"TO"
]
},
"additionalProperties": {
"type": "string",
"minLength": 1,
"maxLength": 300
}
},
"editions": {
"type": "object",
"propertyNames": {
"type": "string",
"enum": [
"AC",
"AL",
"AM",
"AP",
"BA",
"CE",
"DF",
"ES",
"GO",
"MA",
"MG",
"MS",
"MT",
"PA",
"PB",
"PE",
"PI",
"PR",
"RJ",
"RN",
"RO",
"RR",
"RS",
"SC",
"SE",
"SP",
"TO"
]
},
"additionalProperties": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
}
},
"required": [
"ufs"
],
"additionalProperties": false
}ExportJob
{
"type": "object",
"required": [
"id",
"status"
],
"properties": {
"id": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"queued",
"running",
"paused",
"succeeded",
"failed"
]
},
"progress": {
"type": "object",
"additionalProperties": true,
"description": "Etapa, contagens e progresso estruturado do worker."
},
"publication": {
"type": [
"string",
"null"
]
},
"download_url": {
"type": [
"string",
"null"
]
},
"sha256": {
"type": [
"string",
"null"
]
},
"size": {
"type": [
"number",
"null"
]
},
"record_count": {
"type": [
"number",
"null"
]
},
"error": {
"type": [
"string",
"null"
]
}
}
}Evidence
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"page": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"printed_page": {
"type": [
"string",
"null"
]
},
"section": {
"type": [
"string",
"null"
]
},
"excerpt": {
"type": "string",
"minLength": 1
},
"bbox": {
"anyOf": [
{
"minItems": 4,
"maxItems": 4,
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
}
},
"required": [
"source_id",
"page",
"excerpt"
],
"additionalProperties": {}
}Learning
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"curriculum_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"uf": {
"type": "string",
"pattern": "^(BR|AC|AL|AM|AP|BA|CE|DF|ES|GO|MA|MG|MS|MT|PA|PB|PE|PI|PR|RJ|RN|RO|RR|RS|SC|SE|SP|TO)$"
},
"code": {
"type": [
"string",
"null"
]
},
"code_aliases": {
"description": "Aliases documentados para busca. O campo code preserva a grafia canônica da fonte; alias não estabelece equivalência curricular.",
"maxItems": 100,
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 500
}
},
"text": {
"type": "string"
},
"normalized_text": {
"type": "string"
},
"editorial_note": {
"type": [
"string",
"null"
]
},
"kind": {
"type": "string"
},
"parent_id": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 500
},
{
"type": "null"
}
]
},
"positions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"stage": {
"type": "string",
"enum": [
"EI",
"EF",
"EM"
]
},
"component": {
"type": [
"string",
"null"
]
},
"area": {
"type": [
"string",
"null"
]
},
"years": {
"anyOf": [
{
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 12
}
},
{
"type": "null"
}
]
},
"year_label": {
"type": [
"string",
"null"
]
},
"age_group": {
"type": [
"string",
"null"
]
},
"period": {
"type": [
"string",
"null"
]
},
"age_label": {
"description": "Rótulo etário literal da fonte; não convertido automaticamente em limites.",
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 500
},
{
"type": "null"
}
]
},
"age_min_months": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 1800
},
{
"type": "null"
}
]
},
"age_max_months": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 1800
},
{
"type": "null"
}
]
},
"age_evidence": {
"description": "Evidência documental dos limites: fonte, trecho não vazio e página ou seção.",
"type": "array",
"items": {
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"page": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"printed_page": {
"type": [
"string",
"null"
]
},
"section": {
"type": [
"string",
"null"
]
},
"excerpt": {
"type": "string",
"minLength": 1
},
"bbox": {
"anyOf": [
{
"minItems": 4,
"maxItems": 4,
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
}
},
"required": [
"source_id",
"page",
"excerpt"
],
"additionalProperties": {}
}
},
"age_interval_origin": {
"type": "string",
"const": "explicit_source_header_units_to_months"
},
"age_unknown_reason": {
"anyOf": [
{
"type": "string",
"minLength": 1
},
{
"type": "null"
}
]
}
},
"required": [
"stage"
],
"additionalProperties": {}
}
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"page": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"printed_page": {
"type": [
"string",
"null"
]
},
"section": {
"type": [
"string",
"null"
]
},
"excerpt": {
"type": "string",
"minLength": 1
},
"bbox": {
"anyOf": [
{
"minItems": 4,
"maxItems": 4,
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
}
},
"required": [
"source_id",
"page",
"excerpt"
],
"additionalProperties": {}
}
},
"extraction_revision": {
"type": "string"
}
},
"required": [
"id",
"curriculum_id",
"source_id",
"uf",
"code",
"text",
"normalized_text",
"editorial_note",
"kind",
"parent_id",
"positions",
"evidence",
"extraction_revision"
],
"additionalProperties": {}
}Relation
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"members": {
"type": "array",
"items": {
"type": "object",
"properties": {
"item_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"role": {
"type": "string",
"enum": [
"source",
"target"
]
},
"scope": {
"type": "string"
}
},
"required": [
"item_id",
"role",
"scope"
],
"additionalProperties": {}
}
},
"relation_type": {
"type": "string"
},
"origin": {
"type": "string"
},
"technical_validation_status": {
"type": "string"
},
"pedagogical_review_status": {
"type": "string"
},
"publication_status": {
"type": "string"
},
"method": {
"type": "string"
},
"evidence": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source_id": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"page": {
"anyOf": [
{
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
{
"type": "null"
}
]
},
"printed_page": {
"type": [
"string",
"null"
]
},
"section": {
"type": [
"string",
"null"
]
},
"excerpt": {
"type": "string",
"minLength": 1
},
"bbox": {
"anyOf": [
{
"minItems": 4,
"maxItems": 4,
"type": "array",
"items": {
"type": "number"
}
},
{
"type": "null"
}
]
}
},
"required": [
"source_id",
"page",
"excerpt"
],
"additionalProperties": {}
}
}
},
"required": [
"id",
"members",
"relation_type",
"origin",
"technical_validation_status",
"pedagogical_review_status",
"publication_status",
"method",
"evidence"
],
"additionalProperties": {}
}