{ "swagger": "2.0", "info": { "title": "API do dadosjusbr.org", "contact": { "name": "DadosJusBr", "url": "https://dadosjusbr.org" }, "version": "1.0" }, "paths": { "/uiapi/v1/orgao/resumo/{orgao}": { "get": { "description": "Retorna os dados anuais de um orgão", "produces": [ "application/json" ], "tags": [ "ui_api" ], "operationId": "GetAnnualSummary", "parameters": [ { "type": "string", "description": "Nome do orgão", "name": "orgao", "in": "path", "required": true } ], "responses": { "200": { "description": "Requisição bem sucedida.", "schema": { "type": "array", "items": { "$ref": "#/definitions/uiapi.annualSummary" } } }, "400": { "description": "Parâmetro orgao inválido", "schema": { "type": "string" } }, "500": { "description": "Algo deu errado ao tentar coletar os dados anuais do orgao", "schema": { "type": "string" } } } } }, "/uiapi/v2/download": { "get": { "description": "Baixa dados referentes a remunerações a partir de filtros", "produces": [ "application/json" ], "tags": [ "ui_api" ], "operationId": "DownloadByUrl", "parameters": [ { "type": "string", "description": "Anos a serem pesquisados, separados por virgula. Exemplo: 2018,2019,2020", "name": "anos", "in": "query" }, { "type": "string", "description": "Meses a serem pesquisados, separados por virgula. Exemplo: 1,2,3", "name": "meses", "in": "query" }, { "type": "string", "description": "Orgãos a serem pesquisados, separados por virgula. Exemplo: tjal,mpal,mppb", "name": "orgaos", "in": "query" }, { "enum": [ "base", "outras", "descontos" ], "type": "string", "description": "Categorias a serem pesquisadas", "name": "categorias", "in": "query" } ], "responses": { "200": { "description": "Arquivo CSV com os dados.", "schema": { "type": "file" } }, "400": { "description": "Erro de validação dos parâmetros.", "schema": { "type": "string" } }, "500": { "description": "Erro interno do servidor.", "schema": { "type": "string" } } } } }, "/uiapi/v2/geral/remuneracao/{ano}": { "get": { "description": "Busca os dados, das remunerações de um ano inteiro, agrupados por mês.", "produces": [ "application/json" ], "tags": [ "ui_api" ], "operationId": "GetGeneralRemunerationFromYear", "parameters": [ { "type": "string", "description": "Ano da remuneração. Exemplos: 2018, 2019, 2020...", "name": "ano", "in": "path", "required": true } ], "responses": { "200": { "description": "Requisição bem sucedida.", "schema": { "type": "array", "items": { "$ref": "#/definitions/uiapi.mensalRemuneration" } } }, "400": { "description": "Parâmetro ano inválido.", "schema": { "type": "string" } }, "500": { "description": "Erro interno.", "schema": { "type": "string" } } } } }, "/uiapi/v2/geral/resumo": { "get": { "description": "Busca e resume os dados das remunerações de todos os anos", "produces": [ "application/json" ], "tags": [ "ui_api" ], "operationId": "GetGeneralSummary", "responses": { "200": { "description": "Requisição bem sucedida.", "schema": { "$ref": "#/definitions/uiapi.generalSummary" } }, "500": { "description": "Erro interno do servidor.", "schema": { "type": "string" } } } } }, "/uiapi/v2/orgao/resumo/{orgao}/{ano}/{mes}": { "get": { "description": "Resume os dados de remuneração mensal de um órgão.", "produces": [ "application/json" ], "tags": [ "ui_api" ], "operationId": "GetSummaryOfAgency", "parameters": [ { "type": "string", "description": "ID do órgão. Exemplos: tjal, tjba, mppb.", "name": "orgao", "in": "path", "required": true }, { "type": "integer", "description": "Ano da remuneração. Exemplo: 2018.", "name": "ano", "in": "path", "required": true }, { "type": "integer", "description": "Mês da remuneração. Exemplo: 1.", "name": "mes", "in": "path", "required": true } ], "responses": { "200": { "description": "Requisição bem sucedida.", "schema": { "$ref": "#/definitions/uiapi.v2AgencySummary" } }, "400": { "description": "Parâmetro ano, mês ou nome do órgão são inválidos.", "schema": { "type": "string" } }, "404": { "description": "Órgão não encontrado.", "schema": { "type": "string" } } } } }, "/uiapi/v2/orgao/salario/{orgao}/{ano}/{mes}": { "get": { "description": "Busca dados das remunerações mensais de um órgão.", "produces": [ "application/json" ], "tags": [ "ui_api" ], "operationId": "GetSalaryOfAgencyMonthYear", "parameters": [ { "type": "string", "description": "ID do órgão. Exemplos: tjal, tjba, mppb.", "name": "orgao", "in": "path", "required": true }, { "type": "string", "description": "Mês da remuneração. Exemplos: 01, 02, 03...", "name": "mes", "in": "path", "required": true }, { "type": "string", "description": "Ano da remuneração. Exemplos: 2018, 2019, 2020...", "name": "ano", "in": "path", "required": true } ], "responses": { "200": { "description": "Requisição bem sucedida.", "schema": { "$ref": "#/definitions/uiapi.agencyRemuneration" } }, "206": { "description": "Requisição bem sucedida, mas os dados do órgão não foram bem processados", "schema": { "$ref": "#/definitions/uiapi.v2ProcInfoResult" } }, "400": { "description": "Parâmetros inválidos.", "schema": { "type": "string" } } } } }, "/uiapi/v2/orgao/totais/{orgao}/{ano}": { "get": { "description": "Busca os dados de remuneração de um órgão em um ano específico.", "produces": [ "application/json" ], "tags": [ "ui_api" ], "operationId": "GetTotalsOfAgencyYear", "parameters": [ { "type": "string", "description": "ID do órgão. Exemplos: tjal, tjba, mppb.", "name": "orgao", "in": "path", "required": true }, { "type": "integer", "description": "Ano. Exemplo: 2018.", "name": "ano", "in": "path", "required": true } ], "responses": { "200": { "description": "Requisição bem sucedida.", "schema": { "$ref": "#/definitions/uiapi.v2AgencyTotalsYear" } }, "400": { "description": "Parâmetro ano ou orgao inválido.", "schema": { "type": "string" } } } } }, "/uiapi/v2/orgao/{grupo}": { "get": { "description": "Busca os órgãos de um determinado grupo.", "produces": [ "application/json" ], "tags": [ "ui_api" ], "operationId": "GetBasicInfoOfType", "parameters": [ { "enum": [ "justica-eleitoral", "ministerios-publicos", "justica-estadual", "justica-do-trabalho", "justica-federal", "justica-militar", "justica-superior", "conselhos-de-justica", "AC", "AL", "AP", "AM", "BA", "CE", "DF", "ES", "GO", "MA", "MT", "MS", "MG", "PA", "PB", "PR", "PE", "PI", "RJ", "RN", "RS", "RO", "RR", "SC", "SP", "SE", "TO" ], "type": "string", "description": "Grupo de órgãos", "name": "grupo", "in": "path" } ], "responses": { "200": { "description": "Órgãos do grupo", "schema": { "$ref": "#/definitions/uiapi.state" } }, "400": { "description": "Parâmetro inválido", "schema": { "type": "string" } }, "404": { "description": "Grupo não encontrado", "schema": { "type": "string" } } } } }, "/uiapi/v2/pesquisar": { "get": { "description": "Faz uma busca por remunerações a partir de filtros", "produces": [ "application/json" ], "tags": [ "ui_api" ], "operationId": "SearchByUrl", "parameters": [ { "type": "string", "description": "Anos a serem pesquisados, separados por virgula. Exemplo: 2018,2019,2020", "name": "anos", "in": "query" }, { "type": "string", "description": "Meses a serem pesquisados, separados por virgula. Exemplo: 1,2,3", "name": "meses", "in": "query" }, { "type": "string", "description": "Orgãos a serem pesquisados, separados por virgula. Exemplo: tjal,mpal,mppb", "name": "orgaos", "in": "query" }, { "enum": [ "base", "outras", "descontos" ], "type": "string", "description": "Categorias a serem pesquisadas", "name": "categorias", "in": "query" } ], "responses": { "200": { "description": "Requisição bem sucedida.", "schema": { "$ref": "#/definitions/uiapi.searchResponse" } }, "400": { "description": "Erro de validação dos parâmetros.", "schema": { "type": "string" } }, "500": { "description": "Erro interno do servidor.", "schema": { "type": "string" } } } } }, "/v2/dados/{orgao}": { "get": { "description": "Busca todas as informações de um órgão específico.", "produces": [ "application/json" ], "tags": [ "public_api" ], "operationId": "GetAllAgencyInformation", "parameters": [ { "type": "string", "description": "órgão", "name": "orgao", "in": "path", "required": true } ], "responses": { "200": { "description": "Requisição bem sucedida.", "schema": { "$ref": "#/definitions/papi.allAgencyInformation" } }, "400": { "description": "Requisição inválida.", "schema": { "type": "string" } } } } }, "/v2/dados/{orgao}/{ano}": { "get": { "description": "Busca os dados mensais de um órgão por ano", "produces": [ "application/json" ], "tags": [ "public_api" ], "operationId": "GetMonthlyInfosByYear", "parameters": [ { "type": "integer", "description": "Ano", "name": "ano", "in": "path", "required": true }, { "type": "string", "description": "Órgão", "name": "orgao", "in": "path", "required": true } ], "responses": { "200": { "description": "Requisição bem sucedida", "schema": { "type": "array", "items": { "$ref": "#/definitions/papi.summaryzedMI" } } }, "400": { "description": "Parâmetros inválidos", "schema": { "type": "string" } }, "404": { "description": "Não existem dados para os parâmetros informados", "schema": { "type": "string" } } } } }, "/v2/dados/{orgao}/{ano}/{mes}": { "get": { "description": "Busca um dado mensal de um órgão", "produces": [ "application/json" ], "tags": [ "public_api" ], "operationId": "GetMonthlyInfo", "parameters": [ { "type": "integer", "description": "Ano", "name": "ano", "in": "path", "required": true }, { "type": "string", "description": "Órgão", "name": "orgao", "in": "path", "required": true }, { "type": "integer", "description": "Mês", "name": "mes", "in": "path", "required": true } ], "responses": { "200": { "description": "Requisição bem sucedida", "schema": { "$ref": "#/definitions/papi.summaryzedMI" } }, "400": { "description": "Parâmetros inválidos", "schema": { "type": "string" } }, "404": { "description": "Não existem dados para os parâmetros informados", "schema": { "type": "string" } } } } }, "/v2/indice": { "get": { "description": "Busca as informações de índices de todos os órgãos.", "produces": [ "application/json" ], "tags": [ "public_api" ], "operationId": "GetAggregateIndexes", "responses": { "200": { "description": "Requisição bem sucedida.", "schema": { "type": "array", "items": { "$ref": "#/definitions/papi.aggregateIndexesByGroup" } } }, "500": { "description": "Erro interno do servidor.", "schema": { "type": "string" } } } } }, "/v2/indice/{param}/{valor}": { "get": { "description": "Busca as informações de índices de um grupo ou órgão específico.", "produces": [ "application/json" ], "tags": [ "public_api" ], "operationId": "GetAggregateIndexesWithParams", "parameters": [ { "type": "string", "description": "'grupo' ou 'orgao'", "name": "param", "in": "path", "required": true }, { "type": "string", "description": "Jurisdição ou ID do órgao", "name": "valor", "in": "path", "required": true } ], "responses": { "200": { "description": "Requisição bem sucedida.", "schema": { "type": "array", "items": { "$ref": "#/definitions/papi.aggregateIndexes" } } }, "400": { "description": "Requisição inválida.", "schema": { "type": "string" } }, "500": { "description": "Erro interno do servidor.", "schema": { "type": "string" } } } } }, "/v2/orgao/{orgao}": { "get": { "description": "Busca um órgão específico utilizando seu ID.", "produces": [ "application/json" ], "tags": [ "public_api" ], "operationId": "GetAgencyById", "parameters": [ { "type": "string", "description": "ID do órgão. Exemplos: tjal, tjba, mppb.", "name": "orgao", "in": "path", "required": true } ], "responses": { "200": { "description": "Requisição bem sucedida.", "schema": { "$ref": "#/definitions/papi.agency" } }, "404": { "description": "Órgão não encontrado.", "schema": { "type": "string" } } } } }, "/v2/orgaos": { "get": { "description": "Busca todos os órgãos disponíveis.", "produces": [ "application/json" ], "tags": [ "public_api" ], "operationId": "GetAllAgencies", "responses": { "200": { "description": "Requisição bem sucedida.", "schema": { "type": "array", "items": { "$ref": "#/definitions/papi.agency" } } }, "500": { "description": "Erro interno do servidor.", "schema": { "type": "string" } } } } } }, "definitions": { "papi.agency": { "type": "object", "properties": { "coletando": { "type": "array", "items": { "$ref": "#/definitions/papi.collecting" } }, "entidade": { "description": "\"J\" For Judiciário, \"M\" for Ministério Público, \"P\" for Procuradorias and \"D\" for Defensorias.", "type": "string" }, "id_orgao": { "description": "'trt13'", "type": "string" }, "jurisdicao": { "description": "\"R\" for Regional, \"M\" for Municipal, \"F\" for Federal, \"E\" for State.", "type": "string" }, "nome": { "description": "'Tribunal Regional do Trabalho 13° Região'", "type": "string" }, "ouvidoria": { "description": "Agencys's ombudsman url", "type": "string" }, "possui_dados": { "description": "If there is data from that agency", "type": "boolean" }, "twitter_handle": { "description": "Agency's twitter handle", "type": "string" }, "uf": { "description": "Short code for federative unity.", "type": "string" }, "url": { "description": "Link for state url", "type": "string" } } }, "papi.aggregateIndexes": { "type": "object", "properties": { "agregado": { "description": "Aggregate indices", "allOf": [ { "$ref": "#/definitions/papi.score" } ] }, "detalhe": { "description": "All agency indices", "type": "array", "items": { "$ref": "#/definitions/papi.indexInformation" } }, "id_orgao": { "description": "e.g. 'trt13'", "type": "string" } } }, "papi.aggregateIndexesByGroup": { "type": "object", "properties": { "conselhos-de-justica": { "type": "array", "items": { "$ref": "#/definitions/papi.aggregateIndexes" } }, "justica-do-trabalho": { "type": "array", "items": { "$ref": "#/definitions/papi.aggregateIndexes" } }, "justica-eleitoral": { "type": "array", "items": { "$ref": "#/definitions/papi.aggregateIndexes" } }, "justica-estadual": { "type": "array", "items": { "$ref": "#/definitions/papi.aggregateIndexes" } }, "justica-federal": { "type": "array", "items": { "$ref": "#/definitions/papi.aggregateIndexes" } }, "justica-militar": { "type": "array", "items": { "$ref": "#/definitions/papi.aggregateIndexes" } }, "justica-superior": { "type": "array", "items": { "$ref": "#/definitions/papi.aggregateIndexes" } }, "ministerios-publicos": { "type": "array", "items": { "$ref": "#/definitions/papi.aggregateIndexes" } } } }, "papi.allAgencyInformation": { "type": "object", "properties": { "coletando": { "type": "array", "items": { "$ref": "#/definitions/papi.collecting" } }, "coletas": { "type": "array", "items": { "$ref": "#/definitions/papi.summaryzedMI" } }, "entidade": { "description": "\"J\" For Judiciário, \"M\" for Ministério Público, \"P\" for Procuradorias and \"D\" for Defensorias.", "type": "string" }, "id_orgao": { "description": "'trt13'", "type": "string" }, "indice_transparencia": { "$ref": "#/definitions/papi.score" }, "jurisdicao": { "description": "\"R\" for Regional, \"M\" for Municipal, \"F\" for Federal, \"E\" for State.", "type": "string" }, "meses_com_dados": { "type": "integer" }, "nome": { "description": "'Tribunal Regional do Trabalho 13° Região'", "type": "string" }, "ouvidoria": { "description": "Agencys's ombudsman url", "type": "string" }, "total_coletas_realizadas": { "type": "integer" }, "twitter_handle": { "description": "Agency's twitter handle", "type": "string" }, "uf": { "description": "Short code for federative unity.", "type": "string" }, "url": { "description": "Link for state url", "type": "string" } } }, "papi.backup": { "type": "object", "properties": { "hash": { "type": "string" }, "size": { "type": "integer" }, "url": { "type": "string" } } }, "papi.collect": { "type": "object", "properties": { "duracao_segundos": { "type": "number" }, "repositorio_coletor": { "type": "string" }, "repositorio_parser": { "type": "string" }, "versao_coletor": { "type": "string" }, "versao_parser": { "type": "string" } } }, "papi.collecting": { "type": "object", "properties": { "descricao": { "description": "Reasons why we didn't collect the data", "type": "array", "items": { "type": "string" } }, "timestamp": { "description": "Day(unix) we checked the status of the data", "type": "integer" } } }, "papi.dataSummary": { "type": "object", "properties": { "max": { "type": "number" }, "media": { "type": "number" }, "min": { "type": "number" }, "total": { "type": "number" } } }, "papi.indexInformation": { "type": "object", "properties": { "ano": { "type": "integer" }, "indice_transparencia": { "$ref": "#/definitions/papi.score" }, "mes": { "type": "integer" }, "metadados": { "$ref": "#/definitions/papi.metadata" } } }, "papi.itemSummary": { "type": "object", "properties": { "auxilio_alimentacao": { "type": "number" }, "auxilio_saude": { "type": "number" }, "gratificacao_natalina": { "type": "number" }, "indenizacao_de_ferias": { "type": "number" }, "licenca_compensatoria": { "type": "number" }, "licenca_premio": { "type": "number" }, "outras": { "description": "valor agregado de outras rubricas não identificadas", "type": "number" } } }, "papi.metadata": { "type": "object", "properties": { "acesso": { "type": "string" }, "dados_estritamente_tabulares": { "type": "boolean" }, "despesas": { "type": "string" }, "extensao": { "type": "string" }, "formato_aberto": { "type": "boolean" }, "manteve_consistencia_no_formato": { "type": "boolean" }, "outras_receitas": { "type": "string" }, "remuneracao_basica": { "type": "string" }, "tem_cargo": { "type": "boolean" }, "tem_lotacao": { "type": "boolean" }, "tem_matricula": { "type": "boolean" } } }, "papi.miError": { "type": "object", "properties": { "cmd": { "type": "string" }, "err_msg": { "type": "string" }, "status": { "type": "integer" } } }, "papi.score": { "type": "object", "properties": { "indice_completude": { "type": "number" }, "indice_facilidade": { "type": "number" }, "indice_transparencia": { "type": "number" } } }, "papi.summaries": { "type": "object", "properties": { "membros_ativos": { "$ref": "#/definitions/papi.summary" } } }, "papi.summary": { "type": "object", "properties": { "descontos": { "$ref": "#/definitions/papi.dataSummary" }, "outras_remuneracoes": { "$ref": "#/definitions/papi.dataSummary" }, "quantidade": { "type": "integer" }, "remuneracao_base": { "$ref": "#/definitions/papi.dataSummary" }, "remuneracoes": { "$ref": "#/definitions/papi.dataSummary" }, "resumo_rubricas": { "$ref": "#/definitions/papi.itemSummary" } } }, "papi.summaryzedMI": { "type": "object", "properties": { "ano": { "type": "integer" }, "dados_coleta": { "$ref": "#/definitions/papi.collect" }, "error": { "$ref": "#/definitions/papi.miError" }, "id_orgao": { "type": "string" }, "indice_transparencia": { "$ref": "#/definitions/papi.score" }, "mes": { "type": "integer" }, "metadados": { "$ref": "#/definitions/papi.metadata" }, "pacote_de_dados": { "$ref": "#/definitions/papi.backup" }, "sumarios": { "$ref": "#/definitions/papi.summaries" } } }, "uiapi.agency": { "type": "object", "properties": { "coletando": { "type": "array", "items": { "$ref": "#/definitions/uiapi.collecting" } }, "entidade": { "description": "\"J\" For Judiciário, \"M\" for Ministério Público, \"P\" for Procuradorias and \"D\" for Defensorias.", "type": "string" }, "id_orgao": { "description": "'trt13'", "type": "string" }, "jurisdicao": { "description": "\"R\" for Regional, \"M\" for Municipal, \"F\" for Federal, \"E\" for State.", "type": "string" }, "nome": { "description": "'Tribunal Regional do Trabalho 13° Região'", "type": "string" }, "ouvidoria": { "description": "Agencys's ombudsman url", "type": "string" }, "possui_dados": { "description": "If there is data from that agency", "type": "boolean" }, "twitter_handle": { "description": "Agency's twitter handle", "type": "string" }, "uf": { "description": "Short code for federative unity.", "type": "string" }, "url": { "description": "Link for state url", "type": "string" } } }, "uiapi.agencyBasic": { "type": "object", "properties": { "agencyCategory": { "type": "string" }, "fullName": { "type": "string" }, "name": { "type": "string" } } }, "uiapi.agencyRemuneration": { "type": "object", "properties": { "histograma": { "type": "object", "additionalProperties": { "type": "integer" } }, "max_salario": { "type": "number" }, "package": { "$ref": "#/definitions/uiapi.backup" } } }, "uiapi.annualSummary": { "type": "object", "properties": { "dados_anuais": { "type": "array", "items": { "$ref": "#/definitions/uiapi.annualSummaryData" } }, "orgao": { "$ref": "#/definitions/uiapi.agency" } } }, "uiapi.annualSummaryData": { "type": "object", "properties": { "ano": { "type": "integer" }, "descontos": { "type": "number" }, "descontos_por_membro": { "type": "number" }, "descontos_por_mes": { "type": "number" }, "meses_com_dados": { "type": "integer" }, "num_membros": { "type": "integer" }, "outras_remuneracoes": { "type": "number" }, "outras_remuneracoes_por_membro": { "type": "number" }, "outras_remuneracoes_por_mes": { "type": "number" }, "package": { "$ref": "#/definitions/uiapi.backup" }, "remuneracao_base": { "type": "number" }, "remuneracao_base_por_membro": { "type": "number" }, "remuneracao_base_por_mes": { "type": "number" }, "remuneracoes": { "type": "number" }, "remuneracoes_por_membro": { "type": "number" }, "remuneracoes_por_mes": { "type": "number" }, "resumo_rubricas": { "$ref": "#/definitions/uiapi.itemSummary" } } }, "uiapi.backup": { "type": "object", "properties": { "hash": { "type": "string" }, "size": { "type": "integer" }, "url": { "type": "string" } } }, "uiapi.collecting": { "type": "object", "properties": { "descricao": { "description": "Reasons why we didn't collect the data", "type": "array", "items": { "type": "string" } }, "timestamp": { "description": "Day(unix) we checked the status of the data", "type": "integer" } } }, "uiapi.generalSummary": { "type": "object", "properties": { "data_fim": { "type": "string" }, "data_inicio": { "type": "string" }, "num_meses_coletados": { "type": "integer" }, "num_orgaos": { "type": "integer" }, "remuneracao_total": { "type": "number" } } }, "uiapi.itemSummary": { "type": "object", "properties": { "auxilio_alimentacao": { "type": "number" }, "auxilio_saude": { "type": "number" }, "gratificacao_natalina": { "type": "number" }, "indenizacao_de_ferias": { "type": "number" }, "licenca_compensatoria": { "type": "number" }, "licenca_premio": { "type": "number" }, "outras": { "description": "valor agregado de outras rubricas não identificadas", "type": "number" } } }, "uiapi.mensalRemuneration": { "type": "object", "properties": { "descontos": { "type": "number" }, "mes": { "type": "integer" }, "num_membros": { "type": "integer" }, "outras_remuneracoes": { "type": "number" }, "remuneracao_base": { "type": "number" }, "remuneracoes": { "type": "number" }, "resumo_rubricas": { "$ref": "#/definitions/uiapi.itemSummary" } } }, "uiapi.procError": { "type": "object", "properties": { "stderr": { "description": "String containing the standard error of the process.", "type": "string" }, "stdout": { "description": "String containing the standard output of the process.", "type": "string" } } }, "uiapi.procInfo": { "type": "object", "properties": { "cmd": { "type": "string" }, "cmd_dir": { "type": "string" }, "env": { "type": "array", "items": { "type": "string" } }, "status": { "type": "integer" }, "stderr": { "type": "string" }, "stdin": { "type": "string" }, "stdout": { "type": "string" } } }, "uiapi.searchResponse": { "type": "object", "properties": { "download_available": { "type": "boolean" }, "download_limit": { "type": "integer" }, "num_rows_if_available": { "type": "integer" }, "result": { "type": "array", "items": { "$ref": "#/definitions/uiapi.searchResult" } }, "search_limit": { "type": "integer" } } }, "uiapi.searchResult": { "type": "object", "properties": { "ano": { "type": "integer" }, "cargo": { "type": "string" }, "categoria_contracheque": { "type": "string" }, "detalhamento_contracheque": { "type": "string" }, "lotacao": { "type": "string" }, "matricula": { "type": "string" }, "mes": { "type": "integer" }, "nome": { "type": "string" }, "orgao": { "type": "string" }, "valor": { "type": "string" } } }, "uiapi.state": { "type": "object", "properties": { "agency": { "type": "array", "items": { "$ref": "#/definitions/uiapi.agencyBasic" } }, "flagURL": { "type": "string" }, "name": { "type": "string" }, "shortName": { "type": "string" } } }, "uiapi.timestamp": { "type": "object", "properties": { "nanos": { "type": "integer" }, "seconds": { "type": "integer" } } }, "uiapi.v2AgencySummary": { "type": "object", "properties": { "descontos": { "type": "number" }, "max_descontos": { "type": "number" }, "max_outras_remuneracoes": { "type": "number" }, "max_remuneracao": { "type": "number" }, "max_remuneracao_base": { "type": "number" }, "orgao": { "type": "string" }, "outras_remuneracoes": { "type": "number" }, "remuneracao_base": { "type": "number" }, "resumo_rubricas": { "$ref": "#/definitions/uiapi.itemSummary" }, "tem_anterior": { "type": "boolean" }, "tem_proximo": { "type": "boolean" }, "timestamp": { "$ref": "#/definitions/uiapi.timestamp" }, "total_membros": { "type": "integer" }, "total_remuneracao": { "type": "number" } } }, "uiapi.v2AgencyTotalsYear": { "type": "object", "properties": { "ano": { "type": "integer" }, "meses": { "type": "array", "items": { "$ref": "#/definitions/uiapi.v2MonthTotals" } }, "orgao": { "$ref": "#/definitions/uiapi.agency" }, "package": { "$ref": "#/definitions/uiapi.backup" } } }, "uiapi.v2MonthTotals": { "type": "object", "properties": { "descontos": { "type": "number" }, "descontos_por_membro": { "type": "number" }, "error": { "$ref": "#/definitions/uiapi.procError" }, "mes": { "type": "integer" }, "outras_remuneracoes": { "type": "number" }, "outras_remuneracoes_por_membro": { "type": "number" }, "remuneracao_base": { "type": "number" }, "remuneracao_base_por_membro": { "type": "number" }, "remuneracoes": { "type": "number" }, "remuneracoes_por_membro": { "type": "number" }, "resumo_rubricas": { "$ref": "#/definitions/uiapi.itemSummary" }, "timestamp": { "$ref": "#/definitions/uiapi.timestamp" }, "total_membros": { "type": "integer" } } }, "uiapi.v2ProcInfoResult": { "type": "object", "properties": { "proc_info": { "$ref": "#/definitions/uiapi.procInfo" }, "timestamp": { "$ref": "#/definitions/uiapi.timestamp" } } } } }