{"openapi":"3.0.1","info":{"title":"OpenAPI definition","version":"v0"},"servers":[{"url":"/"}],"tags":[{"description":"Host-validated session context and safe choices. Discovery and presentation hints do not authorize configuration or business operations.","name":"Enterprise runtime"}],"paths":{"/api/assets/equipamento-alocacoes":{"post":{"description":"Cadastra a cessão de um equipamento para uso operacional, registrando responsável, período e contexto do vínculo.","operationId":"create_40","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEquipamentoAlocacaoDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseEquipamentoAlocacaoDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar alocação de equipamento","tags":["equipamento-alocacao-controller"]}},"/api/assets/equipamento-alocacoes/actions":{"get":{"operationId":"getCollectionActions_45","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["equipamento-alocacao-controller"]}},"/api/assets/equipamento-alocacoes/all":{"get":{"description":"Retorna o cadastro completo das cessões quando o consumidor precisa materializar todo o histórico de distribuição de equipamentos.","operationId":"getAll_45","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelEquipamentoAlocacaoDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar alocações de equipamentos","tags":["equipamento-alocacao-controller"]}},"/api/assets/equipamento-alocacoes/batch":{"delete":{"description":"Exclui múltiplas cessões em uma única chamada para saneamento administrativo ou limpeza de dados de demonstração.","operationId":"deleteBatch_34","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Registros removidos com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Lista de IDs inválida."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover alocações de equipamentos em lote","tags":["equipamento-alocacao-controller"]}},"/api/assets/equipamento-alocacoes/by-ids":{"get":{"description":"Recupera alocações já referenciadas por outro fluxo sem reaplicar filtros de equipamento, colaborador ou período.","operationId":"getByIds_45","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EquipamentoAlocacaoDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EquipamentoAlocacaoDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar alocações de equipamentos por IDs","tags":["equipamento-alocacao-controller"]}},"/api/assets/equipamento-alocacoes/capabilities":{"get":{"operationId":"getCollectionCapabilities_45","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["equipamento-alocacao-controller"]}},"/api/assets/equipamento-alocacoes/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_45","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestEquipamentoAlocacaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["equipamento-alocacao-controller"]}},"/api/assets/equipamento-alocacoes/filter":{"post":{"description":"Lista cessões de equipamentos por colaborador, responsável, período de uso e status para acompanhar distribuição e rastreabilidade dos ativos.","operationId":"filter_45","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipamentoAlocacaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelEquipamentoAlocacaoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelEquipamentoAlocacaoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar alocações de equipamentos","tags":["equipamento-alocacao-controller"]}},"/api/assets/equipamento-alocacoes/filter/cursor":{"post":{"description":"Percorre alocações em catálogos extensos usando cursor, útil para auditoria patrimonial, inventário contínuo e navegação incremental.","operationId":"filterByCursor_45","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipamentoAlocacaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelEquipamentoAlocacaoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelEquipamentoAlocacaoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar alocações de equipamentos com paginação por cursor","tags":["equipamento-alocacao-controller"]}},"/api/assets/equipamento-alocacoes/locate":{"post":{"description":"Informa em qual posição uma alocação aparece dentro do recorte filtrado, útil para retomar a análise de cessão em tabelas patrimoniais.","operationId":"locate_45","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipamentoAlocacaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar alocação de equipamento em listas filtradas","tags":["equipamento-alocacao-controller"]}},"/api/assets/equipamento-alocacoes/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_45","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["equipamento-alocacao-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_45","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["equipamento-alocacao-controller"]}},"/api/assets/equipamento-alocacoes/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_45","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["equipamento-alocacao-controller"]}},"/api/assets/equipamento-alocacoes/options/by-ids":{"get":{"description":"Reidrata opções de alocações já escolhidas em formulários e filtros salvos, preservando identificador e rótulo exibido.","operationId":"getOptionsByIds_45","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar alocações de equipamentos selecionadas","tags":["equipamento-alocacao-controller"]}},"/api/assets/equipamento-alocacoes/options/filter":{"post":{"description":"Produz opções compactas de alocações para lookup e seleção contextual em fluxos patrimoniais e operacionais.","operationId":"filterOptions_45","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipamentoAlocacaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar alocações de equipamentos para formulários","tags":["equipamento-alocacao-controller"]}},"/api/assets/equipamento-alocacoes/schemas":{"get":{"operationId":"getSchema_45","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["equipamento-alocacao-controller"]}},"/api/assets/equipamento-alocacoes/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_45","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["equipamento-alocacao-controller"]}},"/api/assets/equipamento-alocacoes/stats/comparison":{"post":{"operationId":"comparisonStats_45","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestEquipamentoAlocacaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["equipamento-alocacao-controller"]}},"/api/assets/equipamento-alocacoes/stats/distribution":{"post":{"operationId":"distributionStats_45","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["equipamento-alocacao-controller"]}},"/api/assets/equipamento-alocacoes/stats/group-by":{"post":{"operationId":"groupByStats_45","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["equipamento-alocacao-controller"]}},"/api/assets/equipamento-alocacoes/stats/timeseries":{"post":{"operationId":"timeSeriesStats_45","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["equipamento-alocacao-controller"]}},"/api/assets/equipamento-alocacoes/{id}":{"delete":{"description":"Exclui uma cessão quando ela não deve mais compor o histórico patrimonial publicado nem alimentar novos fluxos.","operationId":"delete_35","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Registro removido com sucesso."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover alocação de equipamento","tags":["equipamento-alocacao-controller"]},"get":{"description":"Retorna o detalhe de uma cessão para inspeção patrimonial, auditoria de uso ou composição de surfaces dependentes.","operationId":"getById_37","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseEquipamentoAlocacaoDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseEquipamentoAlocacaoDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter alocação de equipamento","tags":["equipamento-alocacao-controller"]},"put":{"description":"Atualiza dados da cessão sem alterar sua identidade, preservando coerência para auditoria e fluxos patrimoniais dependentes.","operationId":"update_34","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateEquipamentoAlocacaoDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseEquipamentoAlocacaoDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar alocação de equipamento","tags":["equipamento-alocacao-controller"]}},"/api/assets/equipamento-alocacoes/{id}/actions":{"get":{"operationId":"getItemActions_45","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["equipamento-alocacao-controller"]}},"/api/assets/equipamento-alocacoes/{id}/actions/report-damaged":{"post":{"description":"Encerra uma custodia ativa como dano operacional, registrando motivo e bloqueando o equipamento para reparo ou baixa.","operationId":"reportDamaged","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetAvailabilityWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAssetAvailabilityWorkflowResultDTO"}}},"description":"Dano operacional registrado e equipamento marcado como quebrado."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAssetAvailabilityWorkflowResultDTO"}}},"description":"Alocação não encontrada."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAssetAvailabilityWorkflowResultDTO"}}},"description":"Custódia já encerrada, motivo ausente ou bloqueio por política operacional."}},"summary":"Reportar dano de equipamento","tags":["equipamento-alocacao-controller"]}},"/api/assets/equipamento-alocacoes/{id}/actions/report-lost":{"post":{"description":"Encerra uma custodia ativa como perda patrimonial, registrando motivo e removendo o equipamento da disponibilidade.","operationId":"reportLost","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetAvailabilityWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAssetAvailabilityWorkflowResultDTO"}}},"description":"Perda patrimonial registrada e equipamento bloqueado."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAssetAvailabilityWorkflowResultDTO"}}},"description":"Alocação não encontrada."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAssetAvailabilityWorkflowResultDTO"}}},"description":"Custódia já encerrada, motivo ausente ou bloqueio por política operacional."}},"summary":"Reportar perda de equipamento","tags":["equipamento-alocacao-controller"]}},"/api/assets/equipamento-alocacoes/{id}/actions/return-custody":{"post":{"description":"Encerra uma custodia ativa, registra fim da responsabilidade e devolve o equipamento ao estoque operacional.","operationId":"returnCustody","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetAvailabilityWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAssetAvailabilityWorkflowResultDTO"}}},"description":"Custódia encerrada e equipamento devolvido ao estoque."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAssetAvailabilityWorkflowResultDTO"}}},"description":"Alocação não encontrada."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAssetAvailabilityWorkflowResultDTO"}}},"description":"Custódia já encerrada ou bloqueio por política operacional."}},"summary":"Devolver equipamento em custódia","tags":["equipamento-alocacao-controller"]}},"/api/assets/equipamento-alocacoes/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_45","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["equipamento-alocacao-controller"]}},"/api/assets/equipamento-alocacoes/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_45","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["equipamento-alocacao-controller"]}},"/api/assets/equipamentos":{"post":{"description":"Cadastra um novo ativo operacional com tipo, capacidade, proprietário e status para uso em campo.","operationId":"create_39","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEquipamentoDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseEquipamentoDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar equipamento operacional","tags":["equipamento-controller"]}},"/api/assets/equipamentos/actions":{"get":{"operationId":"getCollectionActions_44","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["equipamento-controller"]}},"/api/assets/equipamentos/all":{"get":{"description":"Retorna o cadastro completo de equipamentos quando o consumidor precisa materializar todos os ativos para conferência, exportação ou sincronização.","operationId":"getAll_44","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelEquipamentoDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar equipamentos operacionais","tags":["equipamento-controller"]}},"/api/assets/equipamentos/batch":{"delete":{"description":"Exclui múltiplos equipamentos em uma única chamada para saneamento administrativo ou limpeza de dados de demonstração.","operationId":"deleteBatch_33","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Registros removidos com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Lista de IDs inválida."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover equipamentos operacionais em lote","tags":["equipamento-controller"]}},"/api/assets/equipamentos/by-ids":{"get":{"description":"Recupera equipamentos já referenciados por alocações, missões ou seleções anteriores sem reaplicar filtros de inventário.","operationId":"getByIds_44","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EquipamentoDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EquipamentoDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar equipamentos operacionais por IDs","tags":["equipamento-controller"]}},"/api/assets/equipamentos/capabilities":{"get":{"operationId":"getCollectionCapabilities_44","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["equipamento-controller"]}},"/api/assets/equipamentos/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_44","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestEquipamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["equipamento-controller"]}},"/api/assets/equipamentos/filter":{"post":{"description":"Lista equipamentos por tipo, capacidade, proprietário, disponibilidade e status de uso para inventário operacional e preparo de campo.","operationId":"filter_44","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelEquipamentoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelEquipamentoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar equipamentos operacionais","tags":["equipamento-controller"]}},"/api/assets/equipamentos/filter/cursor":{"post":{"description":"Percorre equipamentos em catálogos extensos usando cursor, útil para inventário incremental, auditoria patrimonial e navegação contínua.","operationId":"filterByCursor_44","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelEquipamentoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelEquipamentoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar equipamentos operacionais com paginação por cursor","tags":["equipamento-controller"]}},"/api/assets/equipamentos/locate":{"post":{"description":"Informa em qual posição um equipamento aparece dentro do recorte filtrado, útil para reencontrar o ativo em tabelas de inventário.","operationId":"locate_44","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar equipamento operacional em listas filtradas","tags":["equipamento-controller"]}},"/api/assets/equipamentos/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_44","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["equipamento-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_44","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["equipamento-controller"]}},"/api/assets/equipamentos/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_44","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["equipamento-controller"]}},"/api/assets/equipamentos/options/by-ids":{"get":{"description":"Reidrata opções de equipamentos já escolhidos em formulários e filtros salvos, preservando identificador e rótulo exibido.","operationId":"getOptionsByIds_44","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar equipamentos operacionais selecionados","tags":["equipamento-controller"]}},"/api/assets/equipamentos/options/filter":{"post":{"description":"Produz opções compactas de equipamentos para campos de seleção, autocomplete e vínculos patrimoniais orientados por busca.","operationId":"filterOptions_44","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar equipamentos operacionais para formulários","tags":["equipamento-controller"]}},"/api/assets/equipamentos/schemas":{"get":{"operationId":"getSchema_44","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["equipamento-controller"]}},"/api/assets/equipamentos/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_44","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["equipamento-controller"]}},"/api/assets/equipamentos/stats/comparison":{"post":{"operationId":"comparisonStats_44","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestEquipamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["equipamento-controller"]}},"/api/assets/equipamentos/stats/distribution":{"post":{"operationId":"distributionStats_44","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["equipamento-controller"]}},"/api/assets/equipamentos/stats/group-by":{"post":{"operationId":"groupByStats_44","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["equipamento-controller"]}},"/api/assets/equipamentos/stats/timeseries":{"post":{"operationId":"timeSeriesStats_44","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["equipamento-controller"]}},"/api/assets/equipamentos/{id}":{"delete":{"description":"Exclui um equipamento quando ele deixa de compor o catálogo de ativos disponíveis para operação.","operationId":"delete_34","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Registro removido com sucesso."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover equipamento operacional","tags":["equipamento-controller"]},"get":{"description":"Retorna o detalhe de um equipamento para inspeção patrimonial, auditoria de uso ou composição de surfaces dependentes.","operationId":"getById_36","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseEquipamentoDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseEquipamentoDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter equipamento operacional","tags":["equipamento-controller"]},"put":{"description":"Atualiza dados do equipamento sem alterar sua identidade, preservando coerência para alocações e fluxos dependentes.","operationId":"update_33","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateEquipamentoDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseEquipamentoDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar equipamento operacional","tags":["equipamento-controller"]}},"/api/assets/equipamentos/{id}/actions":{"get":{"operationId":"getItemActions_44","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["equipamento-controller"]}},"/api/assets/equipamentos/{id}/actions/return-to-stock":{"post":{"description":"Reabilita um equipamento em manutenção para estoque operacional, tornando-o elegível em novas alocações.","operationId":"returnToStock","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetAvailabilityWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAssetAvailabilityWorkflowResultDTO"}}},"description":"Equipamento reabilitado ao estoque e transição registrada."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAssetAvailabilityWorkflowResultDTO"}}},"description":"Equipamento não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAssetAvailabilityWorkflowResultDTO"}}},"description":"Equipamento não está em manutenção ou bloqueio por política operacional."}},"summary":"Devolver equipamento ao estoque","tags":["equipamento-controller"]}},"/api/assets/equipamentos/{id}/actions/send-to-maintenance":{"post":{"description":"Move um equipamento em estoque, em uso sem custódia ativa ou quebrado para manutenção, removendo ou mantendo sua indisponibilidade para novas alocações até conclusão do reparo.","operationId":"sendToMaintenance_1","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetAvailabilityWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAssetAvailabilityWorkflowResultDTO"}}},"description":"Equipamento enviado para manutenção e transição registrada."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAssetAvailabilityWorkflowResultDTO"}}},"description":"Equipamento não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAssetAvailabilityWorkflowResultDTO"}}},"description":"Estado atual incompatível, custódia ativa aberta ou bloqueio por política operacional."}},"summary":"Enviar equipamento para manutenção","tags":["equipamento-controller"]}},"/api/assets/equipamentos/{id}/allocations":{"get":{"description":"Retorna o historico de custodia associado ao equipamento selecionado para navegação contextual no cockpit.","operationId":"getEquipmentAllocations","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEquipamentoAlocacaoDTO"}}},"description":"OK"}},"summary":"Obter alocacoes do equipamento","tags":["equipamento-controller"]}},"/api/assets/equipamentos/{id}/availability-transitions":{"get":{"description":"Retorna a trilha auditável de mudanças de estado do equipamento (custódia, dano, perda, manutenção e retorno ao estoque) registrada no ledger canônico de transições.","operationId":"getEquipmentAvailabilityTransitions","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListAssetAvailabilityTransitionHistoryDTO"}}},"description":"Histórico de transições retornado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListAssetAvailabilityTransitionHistoryDTO"}}},"description":"Equipamento não encontrado."}},"summary":"Obter histórico de transições de disponibilidade do equipamento","tags":["equipamento-controller"]}},"/api/assets/equipamentos/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_44","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["equipamento-controller"]}},"/api/assets/equipamentos/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_44","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["equipamento-controller"]}},"/api/assets/veiculo-missao-usos":{"post":{"description":"Cadastra a associação entre missão, veículo, piloto e janela de uso para planejamento e rastreabilidade da frota.","operationId":"create_38","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateVeiculoMissaoUsoDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseVeiculoMissaoUsoDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar uso de veículo em missão","tags":["veiculo-missao-uso-controller"]}},"/api/assets/veiculo-missao-usos/actions":{"get":{"operationId":"getCollectionActions_43","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["veiculo-missao-uso-controller"]}},"/api/assets/veiculo-missao-usos/all":{"get":{"description":"Retorna o cadastro completo das alocações de veículos quando o consumidor precisa materializar todo o histórico logístico de missões.","operationId":"getAll_43","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelVeiculoMissaoUsoDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar uso de veículos em missão","tags":["veiculo-missao-uso-controller"]}},"/api/assets/veiculo-missao-usos/batch":{"delete":{"description":"Exclui múltiplas alocações em uma única chamada para saneamento administrativo ou limpeza de dados de demonstração.","operationId":"deleteBatch_32","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Registros removidos com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Lista de IDs inválida."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover uso de veículos em missão em lote","tags":["veiculo-missao-uso-controller"]}},"/api/assets/veiculo-missao-usos/by-ids":{"get":{"description":"Recupera alocações já referenciadas por outro fluxo sem reaplicar filtros de missão, veículo ou período.","operationId":"getByIds_43","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VeiculoMissaoUsoDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VeiculoMissaoUsoDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar uso de veículos em missão por IDs","tags":["veiculo-missao-uso-controller"]}},"/api/assets/veiculo-missao-usos/capabilities":{"get":{"operationId":"getCollectionCapabilities_43","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["veiculo-missao-uso-controller"]}},"/api/assets/veiculo-missao-usos/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_43","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestVeiculoMissaoUsoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["veiculo-missao-uso-controller"]}},"/api/assets/veiculo-missao-usos/filter":{"post":{"description":"Lista alocações de veículos por missão, piloto, período de uso e status para acompanhar disponibilidade e consumo da frota em campo.","operationId":"filter_43","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeiculoMissaoUsoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelVeiculoMissaoUsoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelVeiculoMissaoUsoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar uso de veículos em missão","tags":["veiculo-missao-uso-controller"]}},"/api/assets/veiculo-missao-usos/filter/cursor":{"post":{"description":"Percorre vínculos de uso de veículos em catálogos extensos usando cursor, útil para timelines logísticas e navegação incremental.","operationId":"filterByCursor_43","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeiculoMissaoUsoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelVeiculoMissaoUsoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelVeiculoMissaoUsoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar uso de veículos em missão com paginação por cursor","tags":["veiculo-missao-uso-controller"]}},"/api/assets/veiculo-missao-usos/locate":{"post":{"description":"Informa em qual posição uma alocação de veículo aparece dentro do recorte filtrado, útil para retomar a análise da frota em missão.","operationId":"locate_43","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeiculoMissaoUsoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar uso de veículo em missão em listas filtradas","tags":["veiculo-missao-uso-controller"]}},"/api/assets/veiculo-missao-usos/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_43","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["veiculo-missao-uso-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_43","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["veiculo-missao-uso-controller"]}},"/api/assets/veiculo-missao-usos/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_43","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["veiculo-missao-uso-controller"]}},"/api/assets/veiculo-missao-usos/options/by-ids":{"get":{"description":"Reidrata opções de alocações já escolhidas em formulários e filtros salvos, preservando identificador e rótulo exibido.","operationId":"getOptionsByIds_43","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar uso de veículos em missão selecionados","tags":["veiculo-missao-uso-controller"]}},"/api/assets/veiculo-missao-usos/options/filter":{"post":{"description":"Produz opções compactas de alocações para lookup e seleção contextual em fluxos logísticos e operacionais.","operationId":"filterOptions_43","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeiculoMissaoUsoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar uso de veículos em missão para formulários","tags":["veiculo-missao-uso-controller"]}},"/api/assets/veiculo-missao-usos/schemas":{"get":{"operationId":"getSchema_43","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["veiculo-missao-uso-controller"]}},"/api/assets/veiculo-missao-usos/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_43","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["veiculo-missao-uso-controller"]}},"/api/assets/veiculo-missao-usos/stats/comparison":{"post":{"operationId":"comparisonStats_43","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestVeiculoMissaoUsoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["veiculo-missao-uso-controller"]}},"/api/assets/veiculo-missao-usos/stats/distribution":{"post":{"operationId":"distributionStats_43","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["veiculo-missao-uso-controller"]}},"/api/assets/veiculo-missao-usos/stats/group-by":{"post":{"operationId":"groupByStats_43","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["veiculo-missao-uso-controller"]}},"/api/assets/veiculo-missao-usos/stats/timeseries":{"post":{"operationId":"timeSeriesStats_43","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["veiculo-missao-uso-controller"]}},"/api/assets/veiculo-missao-usos/{id}":{"delete":{"description":"Exclui uma alocação quando ela não deve mais compor o histórico logístico publicado nem alimentar novos fluxos.","operationId":"delete_33","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Registro removido com sucesso."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover uso de veículo em missão","tags":["veiculo-missao-uso-controller"]},"get":{"description":"Retorna o detalhe de uma alocação de veículo para inspeção logística, auditoria de uso ou composição de surfaces dependentes.","operationId":"getById_35","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseVeiculoMissaoUsoDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseVeiculoMissaoUsoDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter uso de veículo em missão","tags":["veiculo-missao-uso-controller"]},"put":{"description":"Atualiza dados da alocação sem alterar sua identidade, preservando coerência para relatórios e fluxos logísticos dependentes.","operationId":"update_32","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateVeiculoMissaoUsoDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseVeiculoMissaoUsoDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar uso de veículo em missão","tags":["veiculo-missao-uso-controller"]}},"/api/assets/veiculo-missao-usos/{id}/actions":{"get":{"operationId":"getItemActions_43","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["veiculo-missao-uso-controller"]}},"/api/assets/veiculo-missao-usos/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_43","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["veiculo-missao-uso-controller"]}},"/api/assets/veiculo-missao-usos/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_43","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["veiculo-missao-uso-controller"]}},"/api/assets/veiculos":{"post":{"description":"Cadastra um novo ativo de transporte com capacidade, proprietário e status para uso em logística e missões.","operationId":"create_37","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateVeiculoDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseVeiculoDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar veículo operacional","tags":["veiculo-controller"]}},"/api/assets/veiculos/actions":{"get":{"operationId":"getCollectionActions_42","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["veiculo-controller"]}},"/api/assets/veiculos/all":{"get":{"description":"Retorna o cadastro completo da frota quando o consumidor precisa materializar todos os ativos para conferência, exportação ou sincronização.","operationId":"getAll_42","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelVeiculoDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar veículos operacionais","tags":["veiculo-controller"]}},"/api/assets/veiculos/batch":{"delete":{"description":"Exclui múltiplos veículos em uma única chamada para saneamento administrativo ou limpeza de dados de demonstração.","operationId":"deleteBatch_31","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Registros removidos com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Lista de IDs inválida."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover veículos operacionais em lote","tags":["veiculo-controller"]}},"/api/assets/veiculos/by-ids":{"get":{"description":"Recupera veículos já referenciados por missões, alocações ou seleções anteriores sem reaplicar filtros de frota.","operationId":"getByIds_42","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VeiculoDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VeiculoDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar veículos operacionais por IDs","tags":["veiculo-controller"]}},"/api/assets/veiculos/capabilities":{"get":{"operationId":"getCollectionCapabilities_42","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["veiculo-controller"]}},"/api/assets/veiculos/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_42","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestVeiculoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["veiculo-controller"]}},"/api/assets/veiculos/filter":{"post":{"description":"Lista veículos por tipo, capacidade, proprietário, disponibilidade e status para planejamento logístico, transporte e apoio de campo.","operationId":"filter_42","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeiculoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelVeiculoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelVeiculoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar veículos operacionais","tags":["veiculo-controller"]}},"/api/assets/veiculos/filter/cursor":{"post":{"description":"Percorre veículos em catálogos extensos usando cursor, útil para inventário móvel, dashboards logísticos e navegação incremental.","operationId":"filterByCursor_42","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeiculoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelVeiculoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelVeiculoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar veículos operacionais com paginação por cursor","tags":["veiculo-controller"]}},"/api/assets/veiculos/locate":{"post":{"description":"Informa em qual posição um veículo aparece dentro do recorte filtrado, útil para reencontrar o ativo em tabelas de frota.","operationId":"locate_42","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeiculoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar veículo operacional em listas filtradas","tags":["veiculo-controller"]}},"/api/assets/veiculos/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_42","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["veiculo-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_42","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["veiculo-controller"]}},"/api/assets/veiculos/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_42","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["veiculo-controller"]}},"/api/assets/veiculos/options/by-ids":{"get":{"description":"Reidrata opções de veículos já escolhidos em formulários e filtros salvos, preservando identificador e rótulo exibido.","operationId":"getOptionsByIds_42","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar veículos operacionais selecionados","tags":["veiculo-controller"]}},"/api/assets/veiculos/options/filter":{"post":{"description":"Produz opções compactas de veículos para campos de seleção, autocomplete e vínculos logísticos orientados por busca.","operationId":"filterOptions_42","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VeiculoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar veículos operacionais para formulários","tags":["veiculo-controller"]}},"/api/assets/veiculos/schemas":{"get":{"operationId":"getSchema_42","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["veiculo-controller"]}},"/api/assets/veiculos/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_42","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["veiculo-controller"]}},"/api/assets/veiculos/stats/comparison":{"post":{"operationId":"comparisonStats_42","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestVeiculoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["veiculo-controller"]}},"/api/assets/veiculos/stats/distribution":{"post":{"operationId":"distributionStats_42","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["veiculo-controller"]}},"/api/assets/veiculos/stats/group-by":{"post":{"operationId":"groupByStats_42","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["veiculo-controller"]}},"/api/assets/veiculos/stats/timeseries":{"post":{"operationId":"timeSeriesStats_42","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["veiculo-controller"]}},"/api/assets/veiculos/{id}":{"delete":{"description":"Exclui um veículo quando ele deixa de compor o catálogo de ativos disponíveis para transporte e apoio operacional.","operationId":"delete_32","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Registro removido com sucesso."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover veículo operacional","tags":["veiculo-controller"]},"get":{"description":"Retorna o detalhe de um veículo para inspeção de frota, auditoria patrimonial ou composição de surfaces dependentes.","operationId":"getById_34","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseVeiculoDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseVeiculoDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter veículo operacional","tags":["veiculo-controller"]},"put":{"description":"Atualiza dados do veículo sem alterar sua identidade, preservando coerência para alocações e fluxos dependentes.","operationId":"update_31","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateVeiculoDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseVeiculoDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar veículo operacional","tags":["veiculo-controller"]}},"/api/assets/veiculos/{id}/actions":{"get":{"operationId":"getItemActions_42","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["veiculo-controller"]}},"/api/assets/veiculos/{id}/actions/return-to-operation":{"post":{"description":"Reabilita um veículo em manutenção ou inoperante para uso operacional em missões.","operationId":"returnToOperation","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetAvailabilityWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAssetAvailabilityWorkflowResultDTO"}}},"description":"Veículo liberado para operação e transição registrada."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAssetAvailabilityWorkflowResultDTO"}}},"description":"Veículo não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAssetAvailabilityWorkflowResultDTO"}}},"description":"Estado atual incompatível ou bloqueio por política operacional."}},"summary":"Liberar veículo para operação","tags":["veiculo-controller"]}},"/api/assets/veiculos/{id}/actions/send-to-maintenance":{"post":{"description":"Move um veículo operacional para manutenção, removendo sua elegibilidade em novas missões e usos de frota.","operationId":"sendToMaintenance","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AssetAvailabilityWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAssetAvailabilityWorkflowResultDTO"}}},"description":"Veículo enviado para manutenção e transição registrada."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAssetAvailabilityWorkflowResultDTO"}}},"description":"Veículo não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAssetAvailabilityWorkflowResultDTO"}}},"description":"Estado atual incompatível ou bloqueio por política operacional."}},"summary":"Enviar veículo para manutenção","tags":["veiculo-controller"]}},"/api/assets/veiculos/{id}/availability-transitions":{"get":{"description":"Retorna a trilha auditável de mudanças de estado do veículo (envio para manutenção e retorno à operação) registrada no ledger canônico de transições.","operationId":"getVehicleAvailabilityTransitions","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListAssetAvailabilityTransitionHistoryDTO"}}},"description":"Histórico de transições retornado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListAssetAvailabilityTransitionHistoryDTO"}}},"description":"Veículo não encontrado."}},"summary":"Obter histórico de transições de disponibilidade do veículo","tags":["veiculo-controller"]}},"/api/assets/veiculos/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_42","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["veiculo-controller"]}},"/api/assets/veiculos/{id}/mission-usages":{"get":{"description":"Retorna os usos de frota associados ao veiculo selecionado para navegação contextual no cockpit.","operationId":"getVehicleMissionUsages","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListVeiculoMissaoUsoDTO"}}},"description":"OK"}},"summary":"Obter usos do veiculo em missoes","tags":["veiculo-controller"]}},"/api/assets/veiculos/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_42","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["veiculo-controller"]}},"/api/human-resources/cargos":{"post":{"description":"Cria uma definição de cargo com nome, nível de carreira, responsabilidades e faixa salarial de referência para uso em lotação, vínculos de funcionários e planejamento de pessoal.","operationId":"create_36","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCargoDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCargoDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar cargo no catálogo funcional","tags":["cargo-controller"]}},"/api/human-resources/cargos/actions":{"get":{"operationId":"getCollectionActions_41","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["cargo-controller"]}},"/api/human-resources/cargos/all":{"get":{"description":"Retorna todos os cargos cadastrados como referência de estrutura funcional para conferência administrativa, exportação, sincronização de catálogos e composição de telas internas de RH.","operationId":"getAll_41","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelCargoDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar catálogo completo de cargos funcionais","tags":["cargo-controller"]}},"/api/human-resources/cargos/batch":{"delete":{"description":"Remove múltiplas definições de cargo em uma única chamada para saneamento administrativo, revisão de estrutura funcional ou limpeza controlada de dados de demonstração.","operationId":"deleteBatch_30","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Registros removidos com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Lista de IDs inválida."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover cargos do catálogo funcional em lote","tags":["cargo-controller"]}},"/api/human-resources/cargos/by-ids":{"get":{"description":"Recupera cargos já referenciados em vínculos de funcionários, históricos funcionais, filtros salvos ou seleções anteriores usando seus identificadores do catálogo.","operationId":"getByIds_41","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CargoDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CargoDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar cargos por identificadores conhecidos","tags":["cargo-controller"]}},"/api/human-resources/cargos/capabilities":{"get":{"operationId":"getCollectionCapabilities_41","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["cargo-controller"]}},"/api/human-resources/cargos/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_41","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestCargoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["cargo-controller"]}},"/api/human-resources/cargos/filter":{"post":{"description":"Lista cargos usados na estrutura funcional de RH, permitindo recortes por nome, nível de carreira, responsabilidades descritas e referências salariais para lotação, planejamento de pessoal e seleção em formulários corporativos.","operationId":"filter_41","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CargoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelCargoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelCargoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar catálogo de cargos por senioridade, responsabilidades e faixa salarial","tags":["cargo-controller"]}},"/api/human-resources/cargos/filter/cursor":{"post":{"description":"Navega por cargos organizacionais usando cursor, preservando filtros de senioridade, responsabilidades e faixa salarial em tabelas de estrutura funcional, organogramas e seletores de RH.","operationId":"filterByCursor_41","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CargoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelCargoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelCargoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Percorrer catálogo de cargos em listas extensas","tags":["cargo-controller"]}},"/api/human-resources/cargos/locate":{"post":{"description":"Informa a posição de um cargo em uma lista filtrada por critérios de estrutura, senioridade ou faixa salarial para retomada de navegação em catálogos, formulários e painéis de RH.","operationId":"locate_41","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CargoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar cargo dentro de um recorte do catálogo funcional","tags":["cargo-controller"]}},"/api/human-resources/cargos/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_41","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["cargo-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_41","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["cargo-controller"]}},"/api/human-resources/cargos/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_41","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["cargo-controller"]}},"/api/human-resources/cargos/options/by-ids":{"get":{"description":"Reidrata opções de cargos escolhidas em formulários, vínculos funcionais, filtros salvos ou painéis, preservando identificador e rótulo de exibição do catálogo.","operationId":"getOptionsByIds_41","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar opções de cargos já selecionadas","tags":["cargo-controller"]}},"/api/human-resources/cargos/options/filter":{"post":{"description":"Produz opções compactas de cargos para campos de seleção, autocomplete, filtros de estrutura funcional e composição de vínculos de funcionários.","operationId":"filterOptions_41","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CargoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar cargos para vínculos e filtros de RH","tags":["cargo-controller"]}},"/api/human-resources/cargos/schemas":{"get":{"operationId":"getSchema_41","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["cargo-controller"]}},"/api/human-resources/cargos/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_41","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["cargo-controller"]}},"/api/human-resources/cargos/stats/comparison":{"post":{"operationId":"comparisonStats_41","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestCargoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["cargo-controller"]}},"/api/human-resources/cargos/stats/distribution":{"post":{"operationId":"distributionStats_41","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["cargo-controller"]}},"/api/human-resources/cargos/stats/group-by":{"post":{"operationId":"groupByStats_41","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["cargo-controller"]}},"/api/human-resources/cargos/stats/timeseries":{"post":{"operationId":"timeSeriesStats_41","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["cargo-controller"]}},"/api/human-resources/cargos/{id}":{"delete":{"description":"Remove uma definição de cargo do catálogo administrativo quando a estrutura de RH exige saneamento, revisão de dados ou retirada de cargos obsoletos.","operationId":"delete_31","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Registro removido com sucesso."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover cargo do catálogo funcional","tags":["cargo-controller"]},"get":{"description":"Retorna a definição de um cargo com nome, senioridade, responsabilidades e referências salariais para inspeção do catálogo, manutenção administrativa e composição de visões dependentes de RH.","operationId":"getById_33","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCargoDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCargoDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter detalhe de cargo funcional","tags":["cargo-controller"]},"put":{"description":"Mantém nome, nível de carreira, responsabilidades e faixa salarial de referência de um cargo usado em vínculos de funcionários, históricos funcionais e estruturas de RH.","operationId":"update_30","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCargoDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCargoDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar definição de cargo funcional","tags":["cargo-controller"]}},"/api/human-resources/cargos/{id}/actions":{"get":{"operationId":"getItemActions_41","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["cargo-controller"]}},"/api/human-resources/cargos/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_41","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["cargo-controller"]}},"/api/human-resources/cargos/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_41","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["cargo-controller"]}},"/api/human-resources/departamentos":{"post":{"description":"Cria uma unidade organizacional com nome, código interno e responsável para uso em lotação, vínculos de funcionários, relatórios e filtros de RH.","operationId":"create_35","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDepartamentoDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseDepartamentoDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar departamento no catálogo organizacional","tags":["departamento-controller"]}},"/api/human-resources/departamentos/actions":{"get":{"operationId":"getCollectionActions_40","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["departamento-controller"]}},"/api/human-resources/departamentos/all":{"get":{"description":"Retorna todos os departamentos cadastrados como referência de lotação e organização funcional para conferência administrativa, exportação, sincronização de catálogos e composição de telas internas de RH.","operationId":"getAll_40","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelDepartamentoDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar catálogo completo de departamentos","tags":["departamento-controller"]}},"/api/human-resources/departamentos/batch":{"delete":{"description":"Remove múltiplas unidades organizacionais em uma única chamada para saneamento administrativo, revisão de estrutura funcional ou limpeza controlada de dados de demonstração.","operationId":"deleteBatch_29","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Registros removidos com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Lista de IDs inválida."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover departamentos do catálogo organizacional em lote","tags":["departamento-controller"]}},"/api/human-resources/departamentos/by-ids":{"get":{"description":"Recupera departamentos já referenciados em vínculos de funcionários, relatórios, filtros salvos ou seleções anteriores usando seus identificadores do catálogo organizacional.","operationId":"getByIds_40","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DepartamentoDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DepartamentoDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar departamentos por identificadores conhecidos","tags":["departamento-controller"]}},"/api/human-resources/departamentos/capabilities":{"get":{"operationId":"getCollectionCapabilities_40","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["departamento-controller"]}},"/api/human-resources/departamentos/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_40","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestDepartamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["departamento-controller"]}},"/api/human-resources/departamentos/filter":{"post":{"description":"Lista unidades organizacionais de RH por nome, código interno e funcionário responsável para lotação, organização funcional, navegação em catálogos e seleção em formulários corporativos.","operationId":"filter_40","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepartamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelDepartamentoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelDepartamentoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar departamentos por nome, código e responsável","tags":["departamento-controller"]}},"/api/human-resources/departamentos/filter/cursor":{"post":{"description":"Navega por departamentos usando cursor, preservando filtros por unidade, código interno e responsável em tabelas de lotação, seletores organizacionais e catálogos de RH.","operationId":"filterByCursor_40","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepartamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelDepartamentoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelDepartamentoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Percorrer catálogo de departamentos em listas extensas","tags":["departamento-controller"]}},"/api/human-resources/departamentos/locate":{"post":{"description":"Informa a posição de um departamento em uma lista filtrada por nome, código ou responsável para retomada de navegação em catálogos, formulários e painéis de RH.","operationId":"locate_40","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepartamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar departamento dentro de um recorte organizacional","tags":["departamento-controller"]}},"/api/human-resources/departamentos/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_40","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["departamento-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_40","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["departamento-controller"]}},"/api/human-resources/departamentos/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_40","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["departamento-controller"]}},"/api/human-resources/departamentos/options/by-ids":{"get":{"description":"Reidrata opções de departamentos escolhidas em formulários, lotações, filtros salvos ou painéis, preservando identificador e rótulo de exibição do catálogo.","operationId":"getOptionsByIds_40","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar opções de departamentos já selecionadas","tags":["departamento-controller"]}},"/api/human-resources/departamentos/options/filter":{"post":{"description":"Produz opções compactas de departamentos para campos de seleção, autocomplete, filtros de estrutura organizacional e composição de vínculos de funcionários.","operationId":"filterOptions_40","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DepartamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar departamentos para lotação e filtros de RH","tags":["departamento-controller"]}},"/api/human-resources/departamentos/schemas":{"get":{"operationId":"getSchema_40","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["departamento-controller"]}},"/api/human-resources/departamentos/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_40","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["departamento-controller"]}},"/api/human-resources/departamentos/stats/comparison":{"post":{"operationId":"comparisonStats_40","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestDepartamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["departamento-controller"]}},"/api/human-resources/departamentos/stats/distribution":{"post":{"operationId":"distributionStats_40","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["departamento-controller"]}},"/api/human-resources/departamentos/stats/group-by":{"post":{"operationId":"groupByStats_40","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["departamento-controller"]}},"/api/human-resources/departamentos/stats/timeseries":{"post":{"operationId":"timeSeriesStats_40","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["departamento-controller"]}},"/api/human-resources/departamentos/{id}":{"delete":{"description":"Remove uma unidade organizacional do catálogo administrativo quando a estrutura de RH exige saneamento, revisão de dados ou retirada de departamentos obsoletos.","operationId":"delete_30","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Registro removido com sucesso."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover departamento do catálogo organizacional","tags":["departamento-controller"]},"get":{"description":"Retorna a definição de um departamento com nome, código interno e responsável para inspeção do catálogo organizacional, manutenção administrativa e composição de visões dependentes de RH.","operationId":"getById_32","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseDepartamentoDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseDepartamentoDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter detalhe de departamento","tags":["departamento-controller"]},"put":{"description":"Mantém nome, código interno e responsável de um departamento usado em lotações, vínculos de funcionários, relatórios e estruturas organizacionais de RH.","operationId":"update_29","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDepartamentoDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseDepartamentoDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar definição de departamento","tags":["departamento-controller"]}},"/api/human-resources/departamentos/{id}/actions":{"get":{"operationId":"getItemActions_40","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["departamento-controller"]}},"/api/human-resources/departamentos/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_40","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["departamento-controller"]}},"/api/human-resources/departamentos/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_40","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["departamento-controller"]}},"/api/human-resources/dependentes":{"post":{"description":"Cria um vínculo familiar declarado com funcionário titular, nome civil, parentesco e data de nascimento para uso em benefícios, conferência cadastral e registros administrativos.","operationId":"create_34","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDependenteDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseDependenteDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar dependente vinculado a funcionário","tags":["dependente-controller"]}},"/api/human-resources/dependentes/actions":{"get":{"operationId":"getCollectionActions_39","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["dependente-controller"]}},"/api/human-resources/dependentes/all":{"get":{"description":"Retorna todos os dependentes cadastrados como referência de vínculos familiares para conferência administrativa, exportação, sincronização e composição de telas internas de RH.","operationId":"getAll_39","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelDependenteDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar cadastro completo de dependentes","tags":["dependente-controller"]}},"/api/human-resources/dependentes/batch":{"delete":{"description":"Remove múltiplos vínculos familiares em uma única chamada para saneamento administrativo, revisão cadastral ou limpeza controlada de dados de demonstração.","operationId":"deleteBatch_28","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Registros removidos com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Lista de IDs inválida."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover dependentes do cadastro familiar em lote","tags":["dependente-controller"]}},"/api/human-resources/dependentes/by-ids":{"get":{"description":"Recupera dependentes já referenciados em benefícios, formulários, filtros salvos ou seleções anteriores usando seus identificadores cadastrais.","operationId":"getByIds_39","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DependenteDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DependenteDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar dependentes por identificadores conhecidos","tags":["dependente-controller"]}},"/api/human-resources/dependentes/capabilities":{"get":{"operationId":"getCollectionCapabilities_39","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["dependente-controller"]}},"/api/human-resources/dependentes/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_39","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestDependenteFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["dependente-controller"]}},"/api/human-resources/dependentes/filter":{"post":{"description":"Lista vínculos familiares declarados por funcionário, nome do dependente, grau de parentesco e data de nascimento para conferência cadastral, elegibilidade de benefícios e atendimento administrativo de RH.","operationId":"filter_39","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DependenteFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelDependenteDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelDependenteDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar dependentes por titular, parentesco e nascimento","tags":["dependente-controller"]}},"/api/human-resources/dependentes/filter/cursor":{"post":{"description":"Navega por dependentes usando cursor, preservando filtros por titular, parentesco e nascimento em cadastros familiares, tabelas de benefícios e fluxos administrativos de RH.","operationId":"filterByCursor_39","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DependenteFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelDependenteDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelDependenteDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Percorrer cadastro de dependentes em listas extensas","tags":["dependente-controller"]}},"/api/human-resources/dependentes/locate":{"post":{"description":"Informa a posição de um dependente em uma lista filtrada por titular, parentesco ou nascimento para retomada de navegação em cadastros familiares e tabelas de benefícios.","operationId":"locate_39","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DependenteFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar dependente dentro de um recorte familiar","tags":["dependente-controller"]}},"/api/human-resources/dependentes/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_39","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["dependente-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_39","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["dependente-controller"]}},"/api/human-resources/dependentes/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_39","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["dependente-controller"]}},"/api/human-resources/dependentes/options/by-ids":{"get":{"description":"Reidrata opções de dependentes escolhidas em formulários, benefícios, filtros salvos ou atendimentos de RH, preservando identificador e rótulo de exibição.","operationId":"getOptionsByIds_39","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar opções de dependentes já selecionadas","tags":["dependente-controller"]}},"/api/human-resources/dependentes/options/filter":{"post":{"description":"Produz opções compactas de dependentes para campos de seleção, busca, filtros de benefícios e fluxos administrativos vinculados ao funcionário titular.","operationId":"filterOptions_39","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DependenteFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar dependentes para benefícios e vínculos administrativos","tags":["dependente-controller"]}},"/api/human-resources/dependentes/schemas":{"get":{"operationId":"getSchema_39","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["dependente-controller"]}},"/api/human-resources/dependentes/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_39","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["dependente-controller"]}},"/api/human-resources/dependentes/stats/comparison":{"post":{"operationId":"comparisonStats_39","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestDependenteFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["dependente-controller"]}},"/api/human-resources/dependentes/stats/distribution":{"post":{"operationId":"distributionStats_39","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["dependente-controller"]}},"/api/human-resources/dependentes/stats/group-by":{"post":{"operationId":"groupByStats_39","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["dependente-controller"]}},"/api/human-resources/dependentes/stats/timeseries":{"post":{"operationId":"timeSeriesStats_39","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["dependente-controller"]}},"/api/human-resources/dependentes/{id}":{"delete":{"description":"Remove um vínculo familiar do cadastro administrativo quando a base de dependentes exige saneamento, revisão cadastral ou retirada de registros obsoletos.","operationId":"delete_29","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Registro removido com sucesso."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover dependente do cadastro familiar","tags":["dependente-controller"]},"get":{"description":"Retorna o cadastro de um dependente com titular, nome civil, parentesco e data de nascimento para inspeção cadastral, análise de elegibilidade e composição de visões familiares de RH.","operationId":"getById_31","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseDependenteDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseDependenteDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter detalhe de dependente","tags":["dependente-controller"]},"put":{"description":"Mantém dados cadastrais do dependente, parentesco, data de nascimento e vínculo com o funcionário titular para benefícios, conferência familiar e atendimento administrativo.","operationId":"update_28","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateDependenteDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseDependenteDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar cadastro de dependente","tags":["dependente-controller"]}},"/api/human-resources/dependentes/{id}/actions":{"get":{"operationId":"getItemActions_39","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["dependente-controller"]}},"/api/human-resources/dependentes/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_39","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["dependente-controller"]}},"/api/human-resources/dependentes/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_39","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["dependente-controller"]}},"/api/human-resources/enderecos":{"post":{"description":"Cria um endereço cadastral vinculado ao funcionário titular para uso em contato administrativo, conferência de localização e registros internos de RH.","operationId":"createAddress","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEnderecoDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseEnderecoDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"CEP fora do diretorio governado do host."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar endereço de funcionário","tags":["endereco-controller"]}},"/api/human-resources/enderecos/actions":{"get":{"operationId":"getCollectionActions_38","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["endereco-controller"]}},"/api/human-resources/enderecos/all":{"get":{"description":"Retorna todos os endereços cadastrados como referência de localização de funcionários para conferência administrativa, exportação, sincronização e composição de telas internas de RH.","operationId":"getAll_38","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelEnderecoDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar cadastro completo de endereços","tags":["endereco-controller"]}},"/api/human-resources/enderecos/batch":{"delete":{"description":"Remove múltiplos endereços em uma única chamada para saneamento administrativo, revisão cadastral ou limpeza controlada de dados de demonstração.","operationId":"deleteBatch_27","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Registros removidos com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Lista de IDs inválida."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover endereços cadastrais em lote","tags":["endereco-controller"]}},"/api/human-resources/enderecos/by-ids":{"get":{"description":"Recupera endereços já referenciados em formulários, atendimentos, filtros salvos ou seleções anteriores usando seus identificadores cadastrais.","operationId":"getByIds_38","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EnderecoDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EnderecoDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar endereços por identificadores conhecidos","tags":["endereco-controller"]}},"/api/human-resources/enderecos/capabilities":{"get":{"operationId":"getCollectionCapabilities_38","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["endereco-controller"]}},"/api/human-resources/enderecos/determinations/postal-address":{"post":{"description":"Executa uma derivacao idempotente e nao persistente durante a edicao. O comando final revalida os mesmos fatos antes de gravar o endereco.","operationId":"determinePostalAddress","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostalAddressDeterminationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostalAddressDeterminationResponse"}}},"description":"Campos de endereco determinados com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostalAddressDeterminationResponse"}}},"description":"CEP ausente ou estruturalmente invalido."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PostalAddressDeterminationResponse"}}},"description":"CEP fora do diretorio demonstrativo do host."}},"summary":"Determinar campos de endereco a partir do CEP","tags":["endereco-controller"]}},"/api/human-resources/enderecos/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_38","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestEnderecoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["endereco-controller"]}},"/api/human-resources/enderecos/filter":{"post":{"description":"Lista endereços vinculados a funcionários por titular, logradouro, número, bairro, cidade, UF e CEP para conferência cadastral, contato administrativo e rotinas internas de RH.","operationId":"filter_38","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnderecoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelEnderecoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelEnderecoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar endereços cadastrais por colaborador e localidade","tags":["endereco-controller"]}},"/api/human-resources/enderecos/filter/cursor":{"post":{"description":"Navega por endereços de funcionários usando cursor, preservando filtros por titular e localidade em tabelas cadastrais, consultas de contato e fluxos administrativos de RH.","operationId":"filterByCursor_38","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnderecoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelEnderecoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelEnderecoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Percorrer cadastro de endereços em listas extensas","tags":["endereco-controller"]}},"/api/human-resources/enderecos/locate":{"post":{"description":"Informa a posição de um endereço em uma lista filtrada por colaborador, logradouro ou localidade para retomada de navegação em tabelas cadastrais e atendimentos de RH.","operationId":"locate_38","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnderecoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar endereço dentro de um recorte cadastral","tags":["endereco-controller"]}},"/api/human-resources/enderecos/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_38","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["endereco-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_38","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["endereco-controller"]}},"/api/human-resources/enderecos/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_38","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["endereco-controller"]}},"/api/human-resources/enderecos/options/by-ids":{"get":{"description":"Reidrata opções de endereços escolhidas em formulários, filtros salvos ou atendimentos de RH, preservando identificador e rótulo de exibição.","operationId":"getOptionsByIds_38","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar opções de endereços já selecionadas","tags":["endereco-controller"]}},"/api/human-resources/enderecos/options/filter":{"post":{"description":"Produz opções compactas de endereços para campos de seleção, busca e preenchimento contextual em formulários administrativos vinculados ao funcionário.","operationId":"filterOptions_38","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnderecoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar endereços para fluxos cadastrais de RH","tags":["endereco-controller"]}},"/api/human-resources/enderecos/schemas":{"get":{"operationId":"getSchema_38","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["endereco-controller"]}},"/api/human-resources/enderecos/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_38","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["endereco-controller"]}},"/api/human-resources/enderecos/stats/comparison":{"post":{"operationId":"comparisonStats_38","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestEnderecoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["endereco-controller"]}},"/api/human-resources/enderecos/stats/distribution":{"post":{"operationId":"distributionStats_38","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["endereco-controller"]}},"/api/human-resources/enderecos/stats/group-by":{"post":{"operationId":"groupByStats_38","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["endereco-controller"]}},"/api/human-resources/enderecos/stats/timeseries":{"post":{"operationId":"timeSeriesStats_38","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["endereco-controller"]}},"/api/human-resources/enderecos/{id}":{"delete":{"description":"Remove um endereço do cadastro administrativo quando a base de localização exige saneamento, revisão cadastral ou retirada de registros obsoletos.","operationId":"delete_28","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Registro removido com sucesso."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover endereço do cadastro de funcionário","tags":["endereco-controller"]},"get":{"description":"Retorna o endereço vinculado a um funcionário com logradouro, número, complemento, bairro, cidade, UF e CEP para inspeção cadastral, contato administrativo e composição de visões de RH.","operationId":"getById_30","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseEnderecoDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseEnderecoDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter detalhe de endereço cadastral","tags":["endereco-controller"]},"put":{"description":"Mantém dados de localização do funcionário, incluindo logradouro, número, complemento, bairro, cidade, UF e CEP para cadastros e fluxos administrativos de RH.","operationId":"updateAddress","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateEnderecoDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseEnderecoDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"CEP fora do diretorio governado do host."},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar endereço cadastral de funcionário","tags":["endereco-controller"]}},"/api/human-resources/enderecos/{id}/actions":{"get":{"operationId":"getItemActions_38","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["endereco-controller"]}},"/api/human-resources/enderecos/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_38","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["endereco-controller"]}},"/api/human-resources/enderecos/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_38","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["endereco-controller"]}},"/api/human-resources/eventos-folha":{"post":{"operationId":"create_33","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEventosFolhaDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseEventosFolhaResponseDTO"}}},"description":"Resource created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Invalid request or business rule violation"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Request conflicts with existing or dependent data"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Criar item","tags":["eventos-folha-controller"]}},"/api/human-resources/eventos-folha/actions":{"get":{"operationId":"getCollectionActions_37","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["eventos-folha-controller"]}},"/api/human-resources/eventos-folha/actions/bulk-approve":{"post":{"description":"Confirma somente uma proposta retida; alvo e parâmetros não são aceitos neste pedido.","operationId":"human-resources.eventos-folha.bulk-approve","parameters":[{"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Correlation-ID","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkConfirmationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Execução síncrona reconciliada"},"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Execução ainda requer acompanhamento","headers":{"Location":{"description":"URI do recurso de execução para acompanhamento.","schema":{"type":"string","format":"uri"},"style":"simple"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Pedido ou chave idempotente inválidos"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Identidade ausente"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Operação não autorizada"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Proposta indisponível neste escopo"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Conflito de proposta ou chave idempotente"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Proposta expirada ou resultado expurgado"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Pedido excede o limite de tamanho"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Limite de capacidade atingido"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Resultado requer reconciliação"}},"summary":"Confirmar aprovação em lote de eventos de folha","tags":["eventos-folha-controller"]}},"/api/human-resources/eventos-folha/actions/bulk-approve/evaluation":{"post":{"description":"Persiste uma proposta protegida e devolve apenas sua projeção pública; não altera eventos.","operationId":"human-resources.eventos-folha.bulk-approve-evaluation","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkCommandEvaluationRequestApproveEventosFolhaParametersDTOEventoFolhaBulkIdentifierVoid"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Proposta avaliada"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Seleção ou parâmetros inválidos"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Identidade ausente"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Operação não autorizada"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Alvo indisponível no escopo autorizado"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Política de aprovação bloqueia a seleção"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Pedido excede o limite de tamanho"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Limite de propostas em aberto atingido"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Composição ou dependência indisponível"}},"summary":"Avaliar aprovação em lote de eventos de folha","tags":["eventos-folha-controller"]}},"/api/human-resources/eventos-folha/actions/bulk-approve/publication/publish":{"post":{"description":"Exige SESSION vigente e BULK_PUBLICATION_PUBLISH no grant atual. A fotografia OpenAPI tem alcance global no deployment lógico ao qual o namespace está vinculado.","operationId":"human-resources.eventos-folha.bulk-publication-publish","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayrollBulkPublicationGenerationRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RestApiResponsePayrollBulkPublicationResult"}}},"description":"Comando completo confirmado; não concede permissão de negócio."},"400":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RestApiResponsePayrollBulkPublicationResult"}}},"description":"JSON ou geração inválidos; nenhuma chamada ao lifecycle."},"401":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RestApiResponsePayrollBulkPublicationResult"}}},"description":"Autenticação necessária."},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RestApiResponsePayrollBulkPublicationResult"}}},"description":"Sessão, permissão atual ou política de escrita não permite o comando."},"503":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RestApiResponsePayrollBulkPublicationResult"}}},"description":"Controle indisponível, geração obsoleta ou resultado incerto; não implica rollback e não há retry automático."}},"summary":"Publicar aprovação bulk de eventos da folha","tags":["eventos-folha-bulk-publication-controller"]}},"/api/human-resources/eventos-folha/actions/bulk-approve/publication/reconcile":{"post":{"description":"Exige SESSION vigente e BULK_PUBLICATION_RECONCILE no grant atual. Não cria publicação nem incrementa geração.","operationId":"human-resources.eventos-folha.bulk-publication-reconcile","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayrollBulkPublicationGenerationRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RestApiResponsePayrollBulkPublicationResult"}}},"description":"Comando completo confirmado; não concede permissão de negócio."},"400":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RestApiResponsePayrollBulkPublicationResult"}}},"description":"JSON ou geração inválidos; nenhuma chamada ao lifecycle."},"401":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RestApiResponsePayrollBulkPublicationResult"}}},"description":"Autenticação necessária."},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RestApiResponsePayrollBulkPublicationResult"}}},"description":"Sessão, permissão atual ou política de escrita não permite o comando."},"503":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RestApiResponsePayrollBulkPublicationResult"}}},"description":"Controle indisponível, geração obsoleta ou resultado incerto; não implica rollback e não há retry automático."}},"summary":"Reconciliar publicação confirmada","tags":["eventos-folha-bulk-publication-controller"]}},"/api/human-resources/eventos-folha/actions/bulk-approve/publication/suspend":{"post":{"description":"Exige SESSION vigente e BULK_PUBLICATION_SUSPEND no grant atual. Suspende também a fotografia global; preserva efeitos já confirmados.","operationId":"human-resources.eventos-folha.bulk-publication-suspend","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayrollBulkPublicationGenerationRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RestApiResponsePayrollBulkPublicationResult"}}},"description":"Comando completo confirmado; não concede permissão de negócio."},"400":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RestApiResponsePayrollBulkPublicationResult"}}},"description":"JSON ou geração inválidos; nenhuma chamada ao lifecycle."},"401":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RestApiResponsePayrollBulkPublicationResult"}}},"description":"Autenticação necessária."},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RestApiResponsePayrollBulkPublicationResult"}}},"description":"Sessão, permissão atual ou política de escrita não permite o comando."},"503":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RestApiResponsePayrollBulkPublicationResult"}}},"description":"Controle indisponível, geração obsoleta ou resultado incerto; não implica rollback e não há retry automático."}},"summary":"Suspender aprovação bulk de eventos da folha","tags":["eventos-folha-bulk-publication-controller"]}},"/api/human-resources/eventos-folha/all":{"get":{"operationId":"getAll_37","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelEventosFolhaResponseDTO"}}},"description":"OK"}},"summary":"Listar itens","tags":["eventos-folha-controller"]}},"/api/human-resources/eventos-folha/bulk/executions/{executionId}":{"get":{"operationId":"human-resources.eventos-folha.bulk-execution-read","parameters":[{"in":"path","name":"executionId","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Execução autorizada"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Identificador inválido"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Identidade ausente"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Grant global negado"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Execução ausente ou escopo negado"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Resultado expirado"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Leitura indisponível"}},"summary":"Consultar resumo autorizado da execução em lote","tags":["eventos-folha-controller"]}},"/api/human-resources/eventos-folha/bulk/executions/{executionId}/cancel":{"post":{"operationId":"human-resources.eventos-folha.bulk-execution-cancel","parameters":[{"in":"path","name":"executionId","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Estado atual da execução"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Identificador inválido"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Identidade ausente"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Grant global negado"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Execução ausente ou escopo negado"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Execução expurgada"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Cancelamento indisponível"}},"summary":"Solicitar cancelamento da execução em lote","tags":["eventos-folha-controller"]}},"/api/human-resources/eventos-folha/bulk/executions/{executionId}/results":{"get":{"operationId":"human-resources.eventos-folha.bulk-execution-results","parameters":[{"in":"path","name":"executionId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":200}},{"in":"query","name":"after","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkItemResultInteger"}}},"description":"Página da execução"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkItemResultInteger"}}},"description":"Cursor ou tamanho inválidos"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkItemResultInteger"}}},"description":"Identidade ausente"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkItemResultInteger"}}},"description":"Grant global negado"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkItemResultInteger"}}},"description":"Execução ausente ou escopo negado"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkItemResultInteger"}}},"description":"Resultados da execução expirados"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkItemResultInteger"}}},"description":"Cursor precisa ser reiniciado"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkItemResultInteger"}}},"description":"Leitura indisponível"}},"summary":"Consultar resultados autorizados da execução em lote","tags":["eventos-folha-controller"]}},"/api/human-resources/eventos-folha/bulk/proposals/{proposalId}":{"get":{"operationId":"human-resources.eventos-folha.bulk-proposal-read","parameters":[{"in":"path","name":"proposalId","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Proposta autorizada"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Identificador inválido"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Identidade ausente"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Grant global negado"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Proposta ausente ou escopo negado"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Proposta expirada ou expurgada no escopo autorizado"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Leitura indisponível"}},"summary":"Consultar resumo autorizado da proposta em lote","tags":["eventos-folha-controller"]}},"/api/human-resources/eventos-folha/bulk/proposals/{proposalId}/results":{"get":{"operationId":"human-resources.eventos-folha.bulk-proposal-results","parameters":[{"in":"path","name":"proposalId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":200}},{"in":"query","name":"after","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkProposalItemResultInteger"}}},"description":"Página da avaliação"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkProposalItemResultInteger"}}},"description":"Cursor ou tamanho inválidos"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkProposalItemResultInteger"}}},"description":"Identidade ausente"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkProposalItemResultInteger"}}},"description":"Grant global negado"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkProposalItemResultInteger"}}},"description":"Proposta ausente ou escopo negado"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkProposalItemResultInteger"}}},"description":"Preview indisponível"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkProposalItemResultInteger"}}},"description":"Cursor precisa ser reiniciado"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkProposalItemResultInteger"}}},"description":"Leitura indisponível"}},"summary":"Consultar resultados autorizados da proposta","tags":["eventos-folha-controller"]}},"/api/human-resources/eventos-folha/by-ids":{"get":{"operationId":"getByIds_37","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EventosFolhaResponseDTO"}}}},"description":"OK"}},"summary":"Buscar registros por IDs","tags":["eventos-folha-controller"]}},"/api/human-resources/eventos-folha/capabilities":{"get":{"operationId":"getCollectionCapabilities_37","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["eventos-folha-controller"]}},"/api/human-resources/eventos-folha/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_37","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestEventosFolhaFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["eventos-folha-controller"]}},"/api/human-resources/eventos-folha/filter":{"post":{"description":"Aplica filtros aos registros com paginacao.","operationId":"filter_37","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventosFolhaFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelEventosFolhaResponseDTO"}}},"description":"OK"}},"summary":"Filtrar registros","tags":["eventos-folha-controller"]}},"/api/human-resources/eventos-folha/filter/cursor":{"post":{"operationId":"filterByCursor_37","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventosFolhaFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelEventosFolhaResponseDTO"}}},"description":"OK"}},"summary":"Filtrar com paginacao por cursor","tags":["eventos-folha-controller"]}},"/api/human-resources/eventos-folha/locate":{"post":{"operationId":"locate_37","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventosFolhaFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"OK"}},"summary":"Localizar posicao de registro","tags":["eventos-folha-controller"]}},"/api/human-resources/eventos-folha/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_37","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["eventos-folha-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_37","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["eventos-folha-controller"]}},"/api/human-resources/eventos-folha/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_37","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["eventos-folha-controller"]}},"/api/human-resources/eventos-folha/options/by-ids":{"get":{"operationId":"getOptionsByIds_37","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"OK"}},"summary":"Buscar opcoes por IDs","tags":["eventos-folha-controller"]}},"/api/human-resources/eventos-folha/options/filter":{"post":{"operationId":"filterOptions_37","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EventosFolhaFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"OK"}},"summary":"Listar opcoes filtradas","tags":["eventos-folha-controller"]}},"/api/human-resources/eventos-folha/schemas":{"get":{"operationId":"getSchema_37","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["eventos-folha-controller"]}},"/api/human-resources/eventos-folha/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_37","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["eventos-folha-controller"]}},"/api/human-resources/eventos-folha/stats/comparison":{"post":{"operationId":"comparisonStats_37","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestEventosFolhaFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["eventos-folha-controller"]}},"/api/human-resources/eventos-folha/stats/distribution":{"post":{"operationId":"distributionStats_37","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","summary":"Distribuicao por histograma com COUNT","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequestEventosFolhaFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","summary":"Buckets de histograma canonicos","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}},{"key":"1000","label":"1000-2000","count":7,"metrics":{"count":7}}]}}}},"schema":{"$ref":"#/components/schemas/RestApiResponseDistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseDistributionStatsResponse"}}},"description":"Request de stats invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseDistributionStatsResponse"}}},"description":"Stats nao suportado pelo recurso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["eventos-folha-controller"]}},"/api/human-resources/eventos-folha/stats/group-by":{"post":{"operationId":"groupByStats_37","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","summary":"Agrupamento por status com COUNT","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequestEventosFolhaFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","summary":"Buckets agregados por status","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}},{"key":"INATIVO","label":"INATIVO","count":8,"metrics":{"count":8}}],"totalBuckets":2,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/RestApiResponseGroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseGroupByStatsResponse"}}},"description":"Request de stats invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseGroupByStatsResponse"}}},"description":"Stats nao suportado pelo recurso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["eventos-folha-controller"]}},"/api/human-resources/eventos-folha/stats/timeseries":{"post":{"operationId":"timeSeriesStats_37","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","summary":"Serie diaria com SUM e fillGaps","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequestEventosFolhaFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","summary":"Pontos de serie temporal com datas ISO","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}},{"key":"2026-01-02","label":"2026-01-02","count":0,"metrics":{"sum_amount":0.0}}]}}}},"schema":{"$ref":"#/components/schemas/RestApiResponseTimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseTimeSeriesStatsResponse"}}},"description":"Request de stats invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseTimeSeriesStatsResponse"}}},"description":"Stats nao suportado pelo recurso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["eventos-folha-controller"]}},"/api/human-resources/eventos-folha/{id}":{"get":{"operationId":"getById_29","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseEventosFolhaResponseDTO"}}},"description":"OK"}},"summary":"Abrir item","tags":["eventos-folha-controller"]},"put":{"operationId":"update_27","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateEventosFolhaDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseEventosFolhaResponseDTO"}}},"description":"Resource updated"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Invalid request or business rule violation"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Request conflicts with existing or dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Editar item","tags":["eventos-folha-controller"]}},"/api/human-resources/eventos-folha/{id}/actions":{"get":{"operationId":"getItemActions_37","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["eventos-folha-controller"]}},"/api/human-resources/eventos-folha/{id}/actions/reject":{"post":{"operationId":"reject","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}},{"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Correlation-ID","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RejectEventoFolhaRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseEventoFolhaWorkflowResultDTO"}}},"description":"Evento rejeitado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseEventoFolhaWorkflowResultDTO"}}},"description":"Evento não está pendente."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseEventoFolhaWorkflowResultDTO"}}},"description":"A versão do evento está desatualizada."}},"summary":"Rejeitar evento pendente de folha","tags":["eventos-folha-controller"]}},"/api/human-resources/eventos-folha/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_37","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["eventos-folha-controller"]}},"/api/human-resources/eventos-folha/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_37","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["eventos-folha-controller"]}},"/api/human-resources/extraordinary-benefit-requests/actions":{"get":{"operationId":"getCollectionActions_36","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/extraordinary-benefit-requests/actions/evaluate":{"post":{"operationId":"evaluate","parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Correlation-ID","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtraordinaryBenefitAuthoritativeEvaluationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitEvaluationCommandResponse"}}},"description":"Avaliacao concluida; resource existe apenas para ALLOW."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitEvaluationCommandResponse"}}},"description":"Payload, Idempotency-Key ou fuso invalido."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitEvaluationCommandResponse"}}},"description":"Ator sem autoridade para solicitar o beneficio."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitEvaluationCommandResponse"}}},"description":"Referencia ou chave idempotente conflita com comando anterior."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitEvaluationCommandResponse"}}},"description":"Snapshot governado indisponivel."}},"summary":"Avaliar e persistir solicitacao elegivel","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/extraordinary-benefit-requests/actions/evaluate-authoritative":{"post":{"description":"O caller informa somente a intenção. O FactProvider executa leitura repeatable-read, congela os fatos e devolve proveniência sanitizada; nenhum agregado ou efeito é persistido.","operationId":"evaluateAuthoritative","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtraordinaryBenefitAuthoritativeEvaluationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitAuthoritativeEvaluationResponse"}}},"description":"Decisão read-only e proveniência sanitizada do snapshot de fatos."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitAuthoritativeEvaluationResponse"}}},"description":"Ator sem autoridade para executar o preflight."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitAuthoritativeEvaluationResponse"}}},"description":"Colaborador não encontrado."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitAuthoritativeEvaluationResponse"}}},"description":"Política ou calendário corporativo efetivo indisponível."}},"summary":"Pré-avaliar usando fatos DB-backed do host","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/extraordinary-benefit-requests/actions/evaluate-batch":{"post":{"operationId":"evaluateBatch","parameters":[{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Correlation-ID","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtraordinaryBenefitBatchEvaluationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitBatchEvaluationResponse"}}},"description":"Lote concluido com resultado individual ordenado."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitBatchEvaluationResponse"}}},"description":"Lote vazio, acima de cinquenta itens ou header invalido."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitBatchEvaluationResponse"}}},"description":"Ator sem autoridade para solicitar beneficios."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitBatchEvaluationResponse"}}},"description":"Chave idempotente reutilizada com outro lote."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitBatchEvaluationResponse"}}},"description":"Snapshot governado indisponivel."}},"summary":"Avaliar lote nao atomico de beneficios","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/extraordinary-benefit-requests/actions/run-policy-studio-operational-test":{"post":{"description":"O caller seleciona cenários e modos CREATE/UPDATE. O host owns comandos, fixtures, DML, digests e cleanup; candidate e active devem satisfazer todas as asserções governadas antes de qualquer mutação.","operationId":"runPolicyStudioOperationalTest","parameters":[{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Correlation-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyStudioOperationalRunRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseDomainRuleTestRunResponse"}}},"description":"Test Run persistido ou receipt idempotente devolvido."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseDomainRuleTestRunResponse"}}},"description":"Comando, cenário, operação ou header inválido."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseDomainRuleTestRunResponse"}}},"description":"Ator sem capability operacional dedicada."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseDomainRuleTestRunResponse"}}},"description":"Chave idempotente reutilizada para outro comando."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseDomainRuleTestRunResponse"}}},"description":"ETag do workspace obsoleto."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseDomainRuleTestRunResponse"}}},"description":"Cenário, fixture ou asserções candidate/active incompatíveis com a prova host-owned."},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseDomainRuleTestRunResponse"}}},"description":"If-Match ausente."}},"summary":"Executar Test Run operacional do Policy Studio","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/extraordinary-benefit-requests/actions/shadow-compare":{"post":{"operationId":"shadowCompare","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtraordinaryBenefitEvaluationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitShadowObservation"}}},"description":"Observacao sanitizada produzida; nenhum estado de negocio e alterado."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitShadowObservation"}}},"description":"Payload ou fuso invalido."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitShadowObservation"}}},"description":"Ator sem autoridade operacional para executar o laboratorio."}},"summary":"Comparar baseline e candidato sem efeito de negocio","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/extraordinary-benefit-requests/all":{"get":{"operationId":"getAll_36","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelExtraordinaryBenefitRequestResponse"}}},"description":"OK"}},"summary":"Listar itens","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/extraordinary-benefit-requests/by-ids":{"get":{"operationId":"getByIds_36","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ExtraordinaryBenefitRequestResponse"}}}},"description":"OK"}},"summary":"Buscar registros por IDs","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/extraordinary-benefit-requests/capabilities":{"get":{"operationId":"getCollectionCapabilities_36","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/extraordinary-benefit-requests/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_36","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestExtraordinaryBenefitRequestFilter"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/extraordinary-benefit-requests/filter":{"post":{"description":"Aplica filtros aos registros com paginacao.","operationId":"filter_36","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtraordinaryBenefitRequestFilter"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelExtraordinaryBenefitRequestResponse"}}},"description":"OK"}},"summary":"Filtrar registros","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/extraordinary-benefit-requests/filter/cursor":{"post":{"operationId":"filterByCursor_36","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtraordinaryBenefitRequestFilter"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelExtraordinaryBenefitRequestResponse"}}},"description":"OK"}},"summary":"Filtrar com paginacao por cursor","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/extraordinary-benefit-requests/locate":{"post":{"operationId":"locate_36","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int64"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtraordinaryBenefitRequestFilter"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"OK"}},"summary":"Localizar posicao de registro","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/extraordinary-benefit-requests/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_36","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["extraordinary-benefit-request-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_36","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/extraordinary-benefit-requests/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_36","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/extraordinary-benefit-requests/options/by-ids":{"get":{"operationId":"getOptionsByIds_36","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int64"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOLong"}}}},"description":"OK"}},"summary":"Buscar opcoes por IDs","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/extraordinary-benefit-requests/options/filter":{"post":{"operationId":"filterOptions_36","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtraordinaryBenefitRequestFilter"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOLong"}}},"description":"OK"}},"summary":"Listar opcoes filtradas","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/extraordinary-benefit-requests/schemas":{"get":{"operationId":"getSchema_36","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/extraordinary-benefit-requests/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_36","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/extraordinary-benefit-requests/stats/comparison":{"post":{"operationId":"comparisonStats_36","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestExtraordinaryBenefitRequestFilter"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/extraordinary-benefit-requests/stats/distribution":{"post":{"operationId":"distributionStats_36","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","summary":"Distribuicao por histograma com COUNT","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequestExtraordinaryBenefitRequestFilter"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","summary":"Buckets de histograma canonicos","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}},{"key":"1000","label":"1000-2000","count":7,"metrics":{"count":7}}]}}}},"schema":{"$ref":"#/components/schemas/RestApiResponseDistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseDistributionStatsResponse"}}},"description":"Request de stats invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseDistributionStatsResponse"}}},"description":"Stats nao suportado pelo recurso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/extraordinary-benefit-requests/stats/group-by":{"post":{"operationId":"groupByStats_36","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","summary":"Agrupamento por status com COUNT","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequestExtraordinaryBenefitRequestFilter"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","summary":"Buckets agregados por status","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}},{"key":"INATIVO","label":"INATIVO","count":8,"metrics":{"count":8}}],"totalBuckets":2,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/RestApiResponseGroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseGroupByStatsResponse"}}},"description":"Request de stats invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseGroupByStatsResponse"}}},"description":"Stats nao suportado pelo recurso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/extraordinary-benefit-requests/stats/timeseries":{"post":{"operationId":"timeSeriesStats_36","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","summary":"Serie diaria com SUM e fillGaps","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequestExtraordinaryBenefitRequestFilter"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","summary":"Pontos de serie temporal com datas ISO","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}},{"key":"2026-01-02","label":"2026-01-02","count":0,"metrics":{"sum_amount":0.0}}]}}}},"schema":{"$ref":"#/components/schemas/RestApiResponseTimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseTimeSeriesStatsResponse"}}},"description":"Request de stats invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseTimeSeriesStatsResponse"}}},"description":"Stats nao suportado pelo recurso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/extraordinary-benefit-requests/{id}":{"get":{"operationId":"getById_45","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitRequestResponse"}}},"description":"OK"}},"summary":"Abrir item","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/extraordinary-benefit-requests/{id}/actions":{"get":{"operationId":"getItemActions_36","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/extraordinary-benefit-requests/{id}/actions/apply":{"post":{"operationId":"apply_1","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int64"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Correlation-ID","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtraordinaryBenefitTransitionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitTransitionResponse"}}},"description":"Ledger local simulado registrado uma unica vez ou replay devolvido."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitTransitionResponse"}}},"description":"Ator ou estado sem disponibilidade para a action."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitTransitionResponse"}}},"description":"Solicitacao inexistente."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitTransitionResponse"}}},"description":"Estado, ledger ou chave idempotente conflitante."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitTransitionResponse"}}},"description":"ETag nao corresponde a versao persistida."},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitTransitionResponse"}}},"description":"If-Match nao informado."}},"summary":"Registrar efeito local simulado","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/extraordinary-benefit-requests/{id}/actions/approve":{"post":{"operationId":"approve_4","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int64"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Correlation-ID","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtraordinaryBenefitTransitionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitTransitionResponse"}}},"description":"Solicitacao aprovada ou replay idempotente devolvido."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitTransitionResponse"}}},"description":"Ator ou estado sem disponibilidade para a action."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitTransitionResponse"}}},"description":"Solicitacao inexistente."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitTransitionResponse"}}},"description":"Estado ou chave idempotente conflitante."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitTransitionResponse"}}},"description":"ETag nao corresponde a versao persistida."},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitTransitionResponse"}}},"description":"If-Match nao informado."}},"summary":"Aprovar solicitacao submetida","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/extraordinary-benefit-requests/{id}/actions/re-evaluate":{"post":{"operationId":"reEvaluate","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int64"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Correlation-ID","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtraordinaryBenefitReevaluationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitReevaluationResponse"}}},"description":"Reavaliação concluída; mutationObserved informa se houve atualização."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitReevaluationResponse"}}},"description":"Ator sem autoridade para reavaliar."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitReevaluationResponse"}}},"description":"Solicitação inexistente."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitReevaluationResponse"}}},"description":"Estado ou chave idempotente conflitante."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitReevaluationResponse"}}},"description":"ETag obsoleto."},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitReevaluationResponse"}}},"description":"If-Match ausente."}},"summary":"Reavaliar e atualizar solicitação elegível","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/extraordinary-benefit-requests/{id}/actions/submit":{"post":{"operationId":"submit_2","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int64"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Correlation-ID","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExtraordinaryBenefitTransitionRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitTransitionResponse"}}},"description":"Solicitacao submetida ou replay idempotente devolvido."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitTransitionResponse"}}},"description":"Ator ou estado sem disponibilidade para a action."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitTransitionResponse"}}},"description":"Solicitacao inexistente."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitTransitionResponse"}}},"description":"Estado ou chave idempotente conflitante."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitTransitionResponse"}}},"description":"ETag nao corresponde a versao persistida."},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseExtraordinaryBenefitTransitionResponse"}}},"description":"If-Match nao informado."}},"summary":"Submeter solicitacao avaliada","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/extraordinary-benefit-requests/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_36","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/extraordinary-benefit-requests/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_36","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int64"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["extraordinary-benefit-request-controller"]}},"/api/human-resources/ferias-afastamentos":{"post":{"description":"Cria um período de ausência vinculado ao funcionário com tipo, data de início, data de fim e observações para planejamento de capacidade e gestão operacional de RH.","operationId":"create_32","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFeriasAfastamentoDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFeriasAfastamentoDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar férias ou afastamento","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/actions":{"get":{"operationId":"getCollectionActions_35","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/actions/bulk-plan-coverage":{"post":{"description":"Confirma somente uma proposta retida; alvo e parâmetros não são aceitos neste pedido.","operationId":"human-resources.ferias-afastamentos.bulk-plan-coverage","parameters":[{"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Correlation-ID","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkConfirmationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Execução síncrona reconciliada"},"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Execução ainda requer acompanhamento","headers":{"Location":{"description":"URI do recurso de execução para acompanhamento.","schema":{"type":"string","format":"uri"},"style":"simple"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Pedido ou chave idempotente inválidos"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Identidade ausente"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Operação não autorizada"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Proposta indisponível neste escopo"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Conflito de proposta ou chave idempotente"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Proposta expirada ou resultado expurgado"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Pedido excede o limite de tamanho"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Limite de capacidade atingido"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Resultado requer reconciliação"}},"summary":"Confirmar cobertura em lote de ausências","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/actions/bulk-plan-coverage/evaluation":{"post":{"description":"Persiste uma proposta protegida e devolve apenas sua projeção pública; não altera ausências.","operationId":"human-resources.ferias-afastamentos.bulk-plan-coverage-evaluation","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkCommandEvaluationRequestAbsenceCoverageWorkflowRequestDTOAbsenceBulkIdentifierVoid"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Proposta avaliada"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Seleção ou parâmetros inválidos"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Identidade ausente"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Operação não autorizada"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Alvo indisponível no escopo autorizado"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Política de cobertura bloqueia a seleção"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Pedido excede o limite de tamanho"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Limite de propostas em aberto atingido"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Composição ou dependência indisponível"}},"summary":"Avaliar cobertura em lote de ausências","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/all":{"get":{"description":"Retorna todos os períodos de ausência cadastrados como referência de disponibilidade de funcionários para conferência administrativa, exportação, sincronização e composição de calendários internos.","operationId":"getAll_35","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelFeriasAfastamentoDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar cadastro completo de férias e afastamentos","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/batch":{"delete":{"description":"Remove múltiplos períodos de ausência em uma única chamada para saneamento administrativo, revisão de calendário ou limpeza controlada de dados de demonstração.","operationId":"deleteBatch_26","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Registros removidos com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Lista de IDs inválida."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover férias e afastamentos em lote","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/bulk/executions/{executionId}":{"get":{"operationId":"human-resources.ferias-afastamentos.bulk-execution-read","parameters":[{"in":"path","name":"executionId","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Execução autorizada"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Identificador inválido"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Identidade ausente"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Grant global negado"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Execução ausente ou escopo negado"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Resultado expirado"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Leitura indisponível"}},"summary":"Consultar resumo autorizado da execução em lote","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/bulk/executions/{executionId}/cancel":{"post":{"operationId":"human-resources.ferias-afastamentos.bulk-execution-cancel","parameters":[{"in":"path","name":"executionId","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Estado atual da execução"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Identificador inválido"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Identidade ausente"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Grant global negado"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Execução ausente ou escopo negado"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Execução expurgada"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Cancelamento indisponível"}},"summary":"Solicitar cancelamento da execução em lote","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/bulk/executions/{executionId}/results":{"get":{"operationId":"human-resources.ferias-afastamentos.bulk-execution-results","parameters":[{"in":"path","name":"executionId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":200}},{"in":"query","name":"after","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkItemResultInteger"}}},"description":"Página da execução"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkItemResultInteger"}}},"description":"Cursor ou tamanho inválidos"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkItemResultInteger"}}},"description":"Identidade ausente"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkItemResultInteger"}}},"description":"Grant global negado"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkItemResultInteger"}}},"description":"Execução ausente ou escopo negado"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkItemResultInteger"}}},"description":"Resultados da execução expirados"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkItemResultInteger"}}},"description":"Cursor precisa ser reiniciado"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkItemResultInteger"}}},"description":"Leitura indisponível"}},"summary":"Consultar resultados autorizados da execução em lote","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/bulk/proposals/{proposalId}":{"get":{"operationId":"human-resources.ferias-afastamentos.bulk-proposal-read","parameters":[{"in":"path","name":"proposalId","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Proposta autorizada"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Identificador inválido"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Identidade ausente"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Grant global negado"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Proposta ausente ou escopo negado"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Proposta expirada ou expurgada no escopo autorizado"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Leitura indisponível"}},"summary":"Consultar resumo autorizado da proposta em lote","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/bulk/proposals/{proposalId}/results":{"get":{"operationId":"human-resources.ferias-afastamentos.bulk-proposal-results","parameters":[{"in":"path","name":"proposalId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":200}},{"in":"query","name":"after","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkProposalItemResultInteger"}}},"description":"Página da avaliação"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkProposalItemResultInteger"}}},"description":"Cursor ou tamanho inválidos"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkProposalItemResultInteger"}}},"description":"Identidade ausente"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkProposalItemResultInteger"}}},"description":"Grant global negado"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkProposalItemResultInteger"}}},"description":"Proposta ausente ou escopo negado"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkProposalItemResultInteger"}}},"description":"Preview indisponível"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkProposalItemResultInteger"}}},"description":"Cursor precisa ser reiniciado"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkProposalItemResultInteger"}}},"description":"Leitura indisponível"}},"summary":"Consultar resultados autorizados da proposta","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/by-ids":{"get":{"description":"Recupera períodos de ausência já referenciados em formulários, calendários, filtros salvos ou seleções anteriores usando seus identificadores cadastrais.","operationId":"getByIds_35","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FeriasAfastamentoDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FeriasAfastamentoDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar férias e afastamentos por identificadores conhecidos","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/capabilities":{"get":{"operationId":"getCollectionCapabilities_35","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_35","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestFeriasAfastamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/filter":{"post":{"description":"Lista períodos de ausência por colaborador, natureza do afastamento, data de início, data de fim e observações para planejamento de capacidade, calendário de RH e acompanhamento de disponibilidade operacional.","operationId":"filter_35","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeriasAfastamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelFeriasAfastamentoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelFeriasAfastamentoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar férias e afastamentos por funcionário, tipo e período","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/filter/cursor":{"post":{"description":"Navega por períodos de ausência usando cursor, preservando filtros por funcionário, tipo e janela de datas em calendários de RH, tabelas operacionais e painéis de disponibilidade.","operationId":"filterByCursor_35","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeriasAfastamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelFeriasAfastamentoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelFeriasAfastamentoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Percorrer férias e afastamentos em listas extensas","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/locate":{"post":{"description":"Informa a posição de férias ou afastamento em uma lista filtrada por funcionário, tipo ou período para retomada de navegação em calendários, relatórios e atendimentos de RH.","operationId":"locate_35","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeriasAfastamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar ausência dentro de um recorte de disponibilidade","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_35","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["ferias-afastamento-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_35","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_35","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/options/by-ids":{"get":{"description":"Reidrata opções de ausências escolhidas em formulários, calendários, filtros salvos ou painéis de RH, preservando identificador e rótulo de exibição.","operationId":"getOptionsByIds_35","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar opções de férias e afastamentos já selecionadas","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/options/filter":{"post":{"description":"Produz opções compactas de períodos de ausência para campos de seleção, busca, filtros de disponibilidade e vínculos administrativos orientados por busca.","operationId":"filterOptions_35","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeriasAfastamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar férias e afastamentos para fluxos de RH","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/schemas":{"get":{"operationId":"getSchema_35","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_35","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/stats/comparison":{"post":{"operationId":"comparisonStats_35","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestFeriasAfastamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/stats/distribution":{"post":{"operationId":"distributionStats_35","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/stats/group-by":{"post":{"operationId":"groupByStats_35","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/stats/timeseries":{"post":{"operationId":"timeSeriesStats_35","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/{id}":{"delete":{"description":"Remove um período de ausência do cadastro administrativo quando a agenda de RH exige saneamento, revisão de dados ou retirada de registros obsoletos.","operationId":"delete_27","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Registro removido com sucesso."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover férias ou afastamento do cadastro","tags":["ferias-afastamento-controller"]},"get":{"description":"Retorna o período de ausência com funcionário, tipo, datas e observações para inspeção administrativa, análise de disponibilidade e composição de visões de calendário de RH.","operationId":"getById_28","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFeriasAfastamentoDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFeriasAfastamentoDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter detalhe de férias ou afastamento","tags":["ferias-afastamento-controller"]},"put":{"description":"Mantém tipo, datas e observações de uma ausência vinculada ao funcionário para calendário de RH, planejamento de capacidade e acompanhamento de disponibilidade. Exige If-Match com o ETag forte capturado no GET da ausência.","operationId":"update_26","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateFeriasAfastamentoDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFeriasAfastamentoDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"ETag não corresponde à versão persistida."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match não informado."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar período de férias ou afastamento","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/{id}/actions":{"get":{"operationId":"getItemActions_35","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/{id}/actions/plan-coverage":{"post":{"description":"Registra a decisão operacional de cobertura para uma ausência, vinculando plano, substituto opcional e justificativa sem alterar o contrato estrutural do cadastro.","operationId":"planCoverage","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AbsenceCoverageWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAbsenceCoverageWorkflowResultDTO"}}},"description":"Cobertura registrada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAbsenceCoverageWorkflowResultDTO"}}},"description":"Requisição inválida ou plano de cobertura ausente."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAbsenceCoverageWorkflowResultDTO"}}},"description":"Permissão atual insuficiente para a operação."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAbsenceCoverageWorkflowResultDTO"}}},"description":"A decisão não pôde ser registrada no estado atual do registro."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAbsenceCoverageWorkflowResultDTO"}}},"description":"A ausência mudou desde a leitura do ETag."},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAbsenceCoverageWorkflowResultDTO"}}},"description":"If-Match obrigatório não informado."}},"summary":"Planejar cobertura de férias ou afastamento","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_35","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["ferias-afastamento-controller"]}},"/api/human-resources/ferias-afastamentos/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_35","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["ferias-afastamento-controller"]}},"/api/human-resources/folhas-pagamento":{"post":{"description":"Cria uma folha de pagamento vinculada a um funcionário com ano, mês, valores financeiros consolidados e data de pagamento para processamento operacional de RH.","operationId":"createPayroll","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFolhasPagamentoDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFolhasPagamentoDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar folha mensal de pagamento","tags":["folhas-pagamento-controller"]}},"/api/human-resources/folhas-pagamento/actions":{"get":{"operationId":"getCollectionActions_34","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["folhas-pagamento-controller"]}},"/api/human-resources/folhas-pagamento/all":{"get":{"description":"Retorna todas as folhas cadastradas como referência mensal de remuneração por funcionário para conferência financeira, exportação, sincronização e composição de painéis internos de RH.","operationId":"getAll_34","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelFolhasPagamentoDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar cadastro completo de folhas de pagamento","tags":["folhas-pagamento-controller"]}},"/api/human-resources/folhas-pagamento/by-ids":{"get":{"description":"Recupera folhas já referenciadas em eventos, análises, filtros salvos ou seleções anteriores usando seus identificadores do cadastro financeiro.","operationId":"getByIds_34","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FolhasPagamentoDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FolhasPagamentoDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar folhas por identificadores conhecidos","tags":["folhas-pagamento-controller"]}},"/api/human-resources/folhas-pagamento/capabilities":{"get":{"operationId":"getCollectionCapabilities_34","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["folhas-pagamento-controller"]}},"/api/human-resources/folhas-pagamento/determinations/net-salary":{"post":{"description":"Calcula salario liquido de modo idempotente e nao persistente. Usa descontos-base e apenas eventos aprovados; a avaliação é não persistente.","operationId":"determinePayrollNetSalary","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayrollNetSalaryDeterminationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayrollNetSalaryDeterminationResponse"}}},"description":"Salario liquido determinado."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayrollNetSalaryDeterminationResponse"}}},"description":"Valores obrigatorios ausentes."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayrollNetSalaryDeterminationResponse"}}},"description":"Descontos excedem o salario bruto acrescido dos adicionais ativos."}},"summary":"Determinar salario liquido da folha","tags":["folhas-pagamento-controller"]}},"/api/human-resources/folhas-pagamento/determinations/payment-date":{"post":{"description":"Consome o salario liquido ja determinado e aplica o calendario idempotente da competencia. A resposta é uma prévia; o submit revalida a cadeia completa.","operationId":"determinePayrollPaymentDate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayrollPaymentDateDeterminationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayrollPaymentDateDeterminationResponse"}}},"description":"Data de pagamento determinada."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayrollPaymentDateDeterminationResponse"}}},"description":"Fatos obrigatorios ausentes."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayrollPaymentDateDeterminationResponse"}}},"description":"Competencia ou salario liquido invalido."}},"summary":"Determinar data corporativa de pagamento","tags":["folhas-pagamento-controller"]}},"/api/human-resources/folhas-pagamento/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_34","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestFolhasPagamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["folhas-pagamento-controller"]}},"/api/human-resources/folhas-pagamento/filter":{"post":{"description":"Lista folhas de pagamento por funcionário, ano, mês, data de pagamento, salário bruto, descontos e salário líquido para conferência mensal, fechamento financeiro e acompanhamento operacional da folha.","operationId":"filter_34","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolhasPagamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelFolhasPagamentoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelFolhasPagamentoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar folhas por competência, colaborador e valores financeiros","tags":["folhas-pagamento-controller"]}},"/api/human-resources/folhas-pagamento/filter/cursor":{"post":{"description":"Navega por folhas usando cursor, preservando filtros de competência, colaborador, data de pagamento e faixas financeiras em rotinas mensais, tabelas de fechamento e consultas operacionais extensas.","operationId":"filterByCursor_34","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolhasPagamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelFolhasPagamentoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelFolhasPagamentoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Percorrer folhas de pagamento em grandes volumes","tags":["folhas-pagamento-controller"]}},"/api/human-resources/folhas-pagamento/locate":{"post":{"description":"Informa a posição de uma folha em lista filtrada por competência, colaborador, pagamento ou valores para retomada de navegação em tabelas de fechamento, conciliação e auditoria.","operationId":"locate_34","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolhasPagamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar folha dentro de um recorte financeiro","tags":["folhas-pagamento-controller"]}},"/api/human-resources/folhas-pagamento/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_34","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["folhas-pagamento-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_34","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["folhas-pagamento-controller"]}},"/api/human-resources/folhas-pagamento/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_34","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["folhas-pagamento-controller"]}},"/api/human-resources/folhas-pagamento/options/by-ids":{"get":{"description":"Reidrata opções de folhas escolhidas em formulários, eventos, filtros salvos ou painéis, preservando identificador e rótulo de competência.","operationId":"getOptionsByIds_34","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar opções de folhas já selecionadas","tags":["folhas-pagamento-controller"]}},"/api/human-resources/folhas-pagamento/options/filter":{"post":{"description":"Produz opções compactas de folhas para campos de seleção, busca, vínculos com eventos de folha, ajustes financeiros e rotinas de pagamento.","operationId":"filterOptions_34","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolhasPagamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar folhas para eventos e rotinas de pagamento","tags":["folhas-pagamento-controller"]}},"/api/human-resources/folhas-pagamento/schemas":{"get":{"operationId":"getSchema_34","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["folhas-pagamento-controller"]}},"/api/human-resources/folhas-pagamento/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_34","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["folhas-pagamento-controller"]}},"/api/human-resources/folhas-pagamento/stats/comparison":{"post":{"operationId":"comparisonStats_34","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestFolhasPagamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["folhas-pagamento-controller"]}},"/api/human-resources/folhas-pagamento/stats/distribution":{"post":{"operationId":"distributionStats_34","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","summary":"Distribuicao por histograma com COUNT","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequestFolhasPagamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","summary":"Buckets de histograma canonicos","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}},{"key":"1000","label":"1000-2000","count":7,"metrics":{"count":7}}]}}}},"schema":{"$ref":"#/components/schemas/RestApiResponseDistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseDistributionStatsResponse"}}},"description":"Request de stats invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseDistributionStatsResponse"}}},"description":"Stats nao suportado pelo recurso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["folhas-pagamento-controller"]}},"/api/human-resources/folhas-pagamento/stats/group-by":{"post":{"operationId":"groupByStats_34","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","summary":"Agrupamento por status com COUNT","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequestFolhasPagamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","summary":"Buckets agregados por status","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}},{"key":"INATIVO","label":"INATIVO","count":8,"metrics":{"count":8}}],"totalBuckets":2,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/RestApiResponseGroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseGroupByStatsResponse"}}},"description":"Request de stats invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseGroupByStatsResponse"}}},"description":"Stats nao suportado pelo recurso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["folhas-pagamento-controller"]}},"/api/human-resources/folhas-pagamento/stats/timeseries":{"post":{"operationId":"timeSeriesStats_34","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","summary":"Serie diaria com SUM e fillGaps","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequestFolhasPagamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","summary":"Pontos de serie temporal com datas ISO","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}},{"key":"2026-01-02","label":"2026-01-02","count":0,"metrics":{"sum_amount":0.0}}]}}}},"schema":{"$ref":"#/components/schemas/RestApiResponseTimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseTimeSeriesStatsResponse"}}},"description":"Request de stats invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseTimeSeriesStatsResponse"}}},"description":"Stats nao suportado pelo recurso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["folhas-pagamento-controller"]}},"/api/human-resources/folhas-pagamento/{id}":{"get":{"description":"Retorna a folha mensal de um funcionário com competência, valores consolidados, descontos, salário líquido e data de pagamento para inspeção financeira, conciliação e composição de visões de RH.","operationId":"getById_27","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFolhasPagamentoDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFolhasPagamentoDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter detalhe de folha de pagamento","tags":["folhas-pagamento-controller"]},"put":{"description":"Mantém competência, valores consolidados, descontos, salário líquido, data de pagamento e vínculo com funcionário para processamento, conciliação e análise da folha.","operationId":"updatePayroll","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateFolhasPagamentoDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFolhasPagamentoDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar folha mensal de pagamento","tags":["folhas-pagamento-controller"]}},"/api/human-resources/folhas-pagamento/{id}/actions":{"get":{"operationId":"getItemActions_34","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["folhas-pagamento-controller"]}},"/api/human-resources/folhas-pagamento/{id}/actions/approve-events":{"post":{"description":"Consolida eventos pendentes vinculados à folha, registra a transição de workflow e libera a próxima etapa do fechamento financeiro da competência.","operationId":"approveEvents","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Correlation-ID","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolhaPagamentoWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFolhaPagamentoWorkflowResultDTO"}}},"description":"Eventos pendentes aprovados com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFolhaPagamentoWorkflowResultDTO"}}},"description":"Requisição inválida ou dados inconsistentes para a aprovação."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFolhaPagamentoWorkflowResultDTO"}}},"description":"Folha de pagamento não encontrada."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFolhaPagamentoWorkflowResultDTO"}}},"description":"O estado atual da folha não permite aprovar eventos."}},"summary":"Aprovar eventos pendentes da folha","tags":["folhas-pagamento-controller"]}},"/api/human-resources/folhas-pagamento/{id}/actions/mark-paid":{"post":{"description":"Confirma a liquidação da folha programada, registra a transição de workflow e encerra o ciclo operacional de pagamento da competência.","operationId":"markPaid","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Correlation-ID","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolhaPagamentoWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFolhaPagamentoWorkflowResultDTO"}}},"description":"Folha marcada como paga com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFolhaPagamentoWorkflowResultDTO"}}},"description":"Requisição inválida ou dados inconsistentes para a quitação."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFolhaPagamentoWorkflowResultDTO"}}},"description":"Folha de pagamento não encontrada."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFolhaPagamentoWorkflowResultDTO"}}},"description":"O estado atual da folha não permite marcar o pagamento."}},"summary":"Marcar folha como paga","tags":["folhas-pagamento-controller"]}},"/api/human-resources/folhas-pagamento/{id}/actions/redetermine":{"post":{"operationId":"redetermine","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Correlation-ID","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FolhaPagamentoWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFolhaPagamentoWorkflowResultDTO"}}},"description":"OK"}},"summary":"Redeterminar explicitamente a folha sob o head financeiro vigente","tags":["folhas-pagamento-controller"]}},"/api/human-resources/folhas-pagamento/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_34","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["folhas-pagamento-controller"]}},"/api/human-resources/folhas-pagamento/{id}/payment-schedule":{"patch":{"description":"Atualiza a data prevista de pagamento da folha para alinhamento com tesouraria, fechamento financeiro, conferência mensal e auditoria operacional.","operationId":"schedulePayment","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Correlation-ID","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleFolhaPagamentoDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFolhasPagamentoDTO"}}},"description":"Agenda de pagamento atualizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFolhasPagamentoDTO"}}},"description":"Data de pagamento inválida ou incoerente com a requisição."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFolhasPagamentoDTO"}}},"description":"Folha de pagamento não encontrada."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFolhasPagamentoDTO"}}},"description":"O estado atual da folha não permite reagendamento."}},"summary":"Ajustar agenda de pagamento da folha","tags":["folhas-pagamento-controller"]}},"/api/human-resources/folhas-pagamento/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_34","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["folhas-pagamento-controller"]}},"/api/human-resources/funcionario-habilidades":{"post":{"description":"Cria uma associação entre funcionário e habilidade do catálogo com proficiência e origem da capacitação para refletir repertório profissional e apoiar alocação.","operationId":"create_31","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFuncionarioHabilidadeDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFuncionarioHabilidadeDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar habilidade vinculada ao funcionário","tags":["funcionario-habilidade-controller"]}},"/api/human-resources/funcionario-habilidades/actions":{"get":{"operationId":"getCollectionActions_33","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["funcionario-habilidade-controller"]}},"/api/human-resources/funcionario-habilidades/all":{"get":{"description":"Retorna todas as associações entre funcionários e habilidades como referência de repertório profissional para materializar mapas de competência, diretórios de talentos e análises de alocação.","operationId":"getAll_33","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelFuncionarioHabilidadeDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar matriz completa de habilidades dos funcionários","tags":["funcionario-habilidade-controller"]}},"/api/human-resources/funcionario-habilidades/batch":{"delete":{"description":"Remove várias associações funcionário-habilidade em uma única chamada para saneamento administrativo, revisão de matriz de competências ou limpeza controlada de dados de demonstração.","operationId":"deleteBatch_25","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Registros removidos com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Lista de IDs inválida."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover habilidades de funcionários em lote","tags":["funcionario-habilidade-controller"]}},"/api/human-resources/funcionario-habilidades/by-ids":{"get":{"description":"Recupera associações funcionário-habilidade já referenciadas em formulários, painéis, filtros salvos ou fluxos de edição usando seus identificadores da matriz de competências.","operationId":"getByIds_33","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FuncionarioHabilidadeDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FuncionarioHabilidadeDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar vínculos de habilidade por identificadores conhecidos","tags":["funcionario-habilidade-controller"]}},"/api/human-resources/funcionario-habilidades/capabilities":{"get":{"operationId":"getCollectionCapabilities_33","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["funcionario-habilidade-controller"]}},"/api/human-resources/funcionario-habilidades/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_33","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestFuncionarioHabilidadeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["funcionario-habilidade-controller"]}},"/api/human-resources/funcionario-habilidades/filter":{"post":{"description":"Lista associações entre funcionários e habilidades por colaborador, habilidade, nível de proficiência e origem da capacitação para perfis profissionais, busca de talentos, elegibilidade e alocação em equipes.","operationId":"filter_33","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FuncionarioHabilidadeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelFuncionarioHabilidadeDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelFuncionarioHabilidadeDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar matriz de habilidades por funcionário, competência e proficiência","tags":["funcionario-habilidade-controller"]}},"/api/human-resources/funcionario-habilidades/filter/cursor":{"post":{"description":"Navega por associações funcionário-habilidade usando cursor, preservando filtros de colaborador, habilidade, proficiência e origem em diretórios de talentos, matrizes de competência e consultas operacionais extensas.","operationId":"filterByCursor_33","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FuncionarioHabilidadeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelFuncionarioHabilidadeDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelFuncionarioHabilidadeDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Percorrer matriz de habilidades em grandes volumes","tags":["funcionario-habilidade-controller"]}},"/api/human-resources/funcionario-habilidades/locate":{"post":{"description":"Informa a posição de uma associação funcionário-habilidade em lista filtrada por colaborador, habilidade, proficiência ou origem para retomada de navegação em tabelas de perfil e matrizes de competência.","operationId":"locate_33","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FuncionarioHabilidadeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar habilidade de funcionário dentro de um recorte de competências","tags":["funcionario-habilidade-controller"]}},"/api/human-resources/funcionario-habilidades/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_33","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["funcionario-habilidade-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_33","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["funcionario-habilidade-controller"]}},"/api/human-resources/funcionario-habilidades/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_33","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["funcionario-habilidade-controller"]}},"/api/human-resources/funcionario-habilidades/options/by-ids":{"get":{"description":"Reidrata opções de associações funcionário-habilidade escolhidas em formulários, perfis, filtros salvos ou painéis, preservando identificador e rótulo de exibição.","operationId":"getOptionsByIds_33","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar opções de habilidades de funcionários já selecionadas","tags":["funcionario-habilidade-controller"]}},"/api/human-resources/funcionario-habilidades/options/filter":{"post":{"description":"Produz opções compactas de associações funcionário-habilidade para campos de seleção, busca, montagem de perfil profissional e filtros de alocação.","operationId":"filterOptions_33","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FuncionarioHabilidadeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar habilidades de funcionários para perfis e filtros","tags":["funcionario-habilidade-controller"]}},"/api/human-resources/funcionario-habilidades/schemas":{"get":{"operationId":"getSchema_33","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["funcionario-habilidade-controller"]}},"/api/human-resources/funcionario-habilidades/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_33","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["funcionario-habilidade-controller"]}},"/api/human-resources/funcionario-habilidades/stats/comparison":{"post":{"operationId":"comparisonStats_33","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestFuncionarioHabilidadeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["funcionario-habilidade-controller"]}},"/api/human-resources/funcionario-habilidades/stats/distribution":{"post":{"operationId":"distributionStats_33","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["funcionario-habilidade-controller"]}},"/api/human-resources/funcionario-habilidades/stats/group-by":{"post":{"operationId":"groupByStats_33","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["funcionario-habilidade-controller"]}},"/api/human-resources/funcionario-habilidades/stats/timeseries":{"post":{"operationId":"timeSeriesStats_33","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["funcionario-habilidade-controller"]}},"/api/human-resources/funcionario-habilidades/{id}":{"delete":{"description":"Remove uma associação funcionário-habilidade da matriz de competências quando o perfil profissional exige saneamento, revisão de capacitação ou retirada de registros obsoletos.","operationId":"delete_26","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Registro removido com sucesso."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover habilidade do perfil do funcionário","tags":["funcionario-habilidade-controller"]},"get":{"description":"Retorna a associação entre funcionário e habilidade com proficiência e origem da capacitação para análise de repertório, composição de perfil profissional e decisões de alocação.","operationId":"getById_26","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFuncionarioHabilidadeDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFuncionarioHabilidadeDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter detalhe de habilidade vinculada ao funcionário","tags":["funcionario-habilidade-controller"]},"put":{"description":"Mantém proficiência, origem da capacitação e relação entre funcionário e habilidade para perfis profissionais, recomendações de alocação e matrizes de competência.","operationId":"update_25","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateFuncionarioHabilidadeDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFuncionarioHabilidadeDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar habilidade vinculada ao funcionário","tags":["funcionario-habilidade-controller"]}},"/api/human-resources/funcionario-habilidades/{id}/actions":{"get":{"operationId":"getItemActions_33","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["funcionario-habilidade-controller"]}},"/api/human-resources/funcionario-habilidades/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_33","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["funcionario-habilidade-controller"]}},"/api/human-resources/funcionario-habilidades/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_33","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["funcionario-habilidade-controller"]}},"/api/human-resources/funcionarios":{"post":{"description":"Cadastra uma nova pessoa vinculada à organização com dados de identificação, lotação, situação ativa, remuneração base e contatos para uso no domínio de RH.","operationId":"create_30","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFuncionarioDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFuncionarioDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar funcionário","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/actions":{"get":{"operationId":"getCollectionActions_32","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/all":{"get":{"description":"Retorna o cadastro completo de funcionários quando o consumidor precisa materializar toda a base de pessoas para conferência, exportação ou sincronização.","operationId":"getAll_32","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelFuncionarioDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar funcionários","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/batch":{"delete":{"description":"Exclui múltiplos registros de funcionários em uma única chamada para saneamento administrativo ou limpeza de dados de demonstração.","operationId":"deleteBatch_24","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Registros removidos com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Lista de IDs inválida."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover funcionários em lote","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/by-ids":{"get":{"description":"Recupera funcionários já referenciados por vínculos, formulários ou seleções anteriores usando uma lista conhecida de identificadores.","operationId":"getByIds_32","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FuncionarioDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/FuncionarioDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar funcionários por IDs","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/capabilities":{"get":{"operationId":"getCollectionCapabilities_32","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_32","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestFuncionarioFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/filter":{"post":{"description":"Lista colaboradores por identificação, cargo, departamento, situação ativa e contatos para consulta cadastral, composição organizacional e seleção operacional.","operationId":"filter_32","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FuncionarioFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelFuncionarioDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelFuncionarioDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar funcionários","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/filter/cursor":{"post":{"description":"Percorre grandes cadastros de pessoas usando cursor, útil para diretórios corporativos, tabelas extensas e navegação incremental.","operationId":"filterByCursor_32","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FuncionarioFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelFuncionarioDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelFuncionarioDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar funcionários com paginação por cursor","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/locate":{"post":{"description":"Informa em qual posição um funcionário aparece dentro do recorte filtrado, útil para retornar ao registro em catálogos e tabelas de RH.","operationId":"locate_32","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FuncionarioFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar funcionário em listas filtradas","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_32","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["funcionario-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_32","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_32","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/options/by-ids":{"get":{"description":"Reidrata opções de funcionários já escolhidos em formulários e filtros salvos, preservando identificador e rótulo exibido.","operationId":"getOptionsByIds_32","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar funcionários selecionados","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/options/filter":{"post":{"description":"Produz opções compactas de funcionários para campos de seleção, autocomplete e vínculos organizacionais orientados por busca.","operationId":"filterOptions_32","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FuncionarioFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar funcionários para formulários","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/schemas":{"get":{"operationId":"getSchema_32","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_32","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/stats/comparison":{"post":{"operationId":"comparisonStats_32","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestFuncionarioFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["funcionario-controller"],"x-ui":{"analytics":{"projections":[{"bindings":{"comparisonPeriod":{"field":"dataAdmissao","mode":"PREVIOUS_ALIGNED","preset":"LAST_30_DAYS","timezone":"America/Sao_Paulo"},"primaryDimension":{"field":"departamento","keyFilterField":"departamentoIdsIn","label":"Departamento","role":"category"},"primaryMetrics":[{"aggregation":"count","field":"id","label":"Funcionarios"}]},"id":"employee-admission-comparison","intent":"comparison","interactions":{"crossFilter":true},"presentationHints":{"preferredFamilies":["analytic-table","chart"]},"source":{"kind":"praxis.stats","operation":"comparison","resource":"/api/human-resources/funcionarios"}}]}}}},"/api/human-resources/funcionarios/stats/distribution":{"post":{"operationId":"distributionStats_32","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/stats/group-by":{"post":{"operationId":"groupByStats_32","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/stats/timeseries":{"post":{"operationId":"timeSeriesStats_32","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/{id}":{"delete":{"description":"Exclui o registro do funcionário do cadastro operacional de RH conforme política administrativa do host.","operationId":"delete_25","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Registro removido com sucesso."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover funcionário","tags":["funcionario-controller"]},"get":{"description":"Consulte os dados cadastrais, contatos, vínculo, cargo e remuneração da pessoa selecionada.","operationId":"getById_25","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFuncionarioDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFuncionarioDTO"}}},"description":"Registro não encontrado."}},"summary":"Detalhes do funcionário","tags":["funcionario-controller"]},"put":{"description":"Atualiza dados cadastrais e organizacionais do funcionário preservando a coerência do cadastro, vínculos e históricos dependentes. O campo ativo é rejeitado no PUT; alterações de estado usam as actions deactivate e reactivate. Exige If-Match com o ETag forte capturado no GET do funcionário.","operationId":"update_24","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateFuncionarioDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFuncionarioDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"ETag não corresponde à versão persistida."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match não informado."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar funcionário","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/{id}/actions":{"get":{"operationId":"getItemActions_32","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/{id}/actions/deactivate":{"post":{"operationId":"deactivate_1","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Correlation-ID","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FuncionarioLifecycleTransitionRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFuncionarioWorkflowResultDTO"}}},"description":"Funcionário inativado ou replay idempotente retornado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFuncionarioWorkflowResultDTO"}}},"description":"Estado ou chave idempotente conflitante."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFuncionarioWorkflowResultDTO"}}},"description":"ETag não corresponde à versão persistida."},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFuncionarioWorkflowResultDTO"}}},"description":"If-Match não informado."}},"summary":"Inativar funcionário","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/{id}/actions/reactivate":{"post":{"operationId":"reactivate_1","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Correlation-ID","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FuncionarioLifecycleTransitionRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFuncionarioWorkflowResultDTO"}}},"description":"Funcionário reativado ou replay idempotente retornado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFuncionarioWorkflowResultDTO"}}},"description":"Estado ou chave idempotente conflitante."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFuncionarioWorkflowResultDTO"}}},"description":"ETag não corresponde à versão persistida."},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFuncionarioWorkflowResultDTO"}}},"description":"If-Match não informado."}},"summary":"Reativar funcionário","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/{id}/address":{"get":{"description":"Retorna o endereço cadastral associado ao funcionário selecionado para atendimento administrativo e contexto territorial.","operationId":"getAddress","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEnderecoDTO"}}},"description":"Endereço retornado com sucesso."}},"summary":"Obter endereço do funcionário","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_32","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/{id}/career-history":{"get":{"description":"Retorna a trajetória de cargos do funcionário selecionado, com vigência e observações administrativas.","operationId":"getCareerHistory","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListHistoricosCargoDTO"}}},"description":"Histórico de cargos retornado com sucesso."}},"summary":"Obter histórico de cargos do funcionário","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/{id}/dependents":{"get":{"description":"Retorna os dependentes vinculados ao funcionário selecionado para leitura de elegibilidade, benefícios e auditoria cadastral.","operationId":"getDependents","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListDependenteDTO"}}},"description":"Dependentes retornados com sucesso."}},"summary":"Obter dependentes do funcionário","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/{id}/duplicate-draft":{"post":{"operationId":"duplicateDraft_1","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyWorkflowActionRequest"}}},"description":"Sem payload de entrada; o rascunho e preparado a partir do identificador do recurso no path."},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFuncionarioDuplicateDraftDTO"}}},"description":"OK"}},"summary":"Duplicar item como rascunho","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/{id}/equipment-custody":{"get":{"description":"Retorna o histórico de alocações de equipamentos associado ao funcionário selecionado, ordenado pela vigência mais recente.","operationId":"getEquipmentCustody","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEquipamentoAlocacaoDTO"}}},"description":"Custódias de equipamentos retornadas com sucesso."}},"summary":"Obter equipamentos sob custódia do funcionário","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/{id}/hero-profile":{"get":{"description":"Retorna a visão consolidada do funcionário com identidade operacional, reputação, habilidades, equipe e base principal.","operationId":"getHeroProfile","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseVwPerfilHeroiDTO"}}},"description":"Perfil 360 retornado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseVwPerfilHeroiDTO"}}},"description":"Perfil 360 não encontrado."}},"summary":"Obter perfil 360 do funcionário","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/{id}/mission-participations":{"get":{"description":"Retorna os vínculos de missões associados ao funcionário selecionado, incluindo título da missão, papel, ordem, liderança e resultado operacional.","operationId":"getMissionParticipations","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListMissaoParticipanteDTO"}}},"description":"Participações em missões retornadas com sucesso."}},"summary":"Obter participações em missões do funcionário","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/{id}/payroll-history":{"get":{"description":"Retorna os últimos registros analíticos de folha associados ao funcionário selecionado.","operationId":"getPayrollHistory","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListVwAnalyticsFolhaPagamentoDTO"}}},"description":"Histórico analítico retornado com sucesso."}},"summary":"Obter histórico analítico de folha do funcionário","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/{id}/profile":{"patch":{"description":"Ajusta dados de apresentação e contato usados em diretórios internos, comunicação operacional e atendimento de RH. Exige If-Match com o ETag forte capturado no GET do funcionário.","operationId":"updateProfile","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateFuncionarioProfileDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFuncionarioDTO"}}},"description":"Perfil atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFuncionarioDTO"}}},"description":"Requisição inválida ou dados inconsistentes."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFuncionarioDTO"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFuncionarioDTO"}}},"description":"O funcionário mudou durante a aquisição dos locks."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFuncionarioDTO"}}},"description":"ETag não corresponde à versão persistida."},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseFuncionarioDTO"}}},"description":"If-Match não informado."}},"summary":"Atualizar perfil de contato do funcionário","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/{id}/skills":{"get":{"description":"Retorna as habilidades vinculadas ao funcionário selecionado, ordenadas por proficiência para leitura de capacidade e alocação.","operationId":"getSkills","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListFuncionarioHabilidadeDTO"}}},"description":"Competências retornadas com sucesso."}},"summary":"Obter competências do funcionário","tags":["funcionario-controller"]}},"/api/human-resources/funcionarios/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_32","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["funcionario-controller"]}},"/api/human-resources/habilidades":{"post":{"description":"Cria uma habilidade com nome, categoria, descrição e nível de poder para uso em perfis profissionais, associação a funcionários e recomendações de equipe.","operationId":"create_29","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateHabilidadeDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseHabilidadeDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar habilidade no catálogo de competências","tags":["habilidade-controller"]}},"/api/human-resources/habilidades/actions":{"get":{"operationId":"getCollectionActions_31","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["habilidade-controller"]}},"/api/human-resources/habilidades/all":{"get":{"description":"Retorna todas as habilidades cadastradas como repertório de competências e poderes para materializar diretórios de talentos, matrizes de habilidade e análises de alocação.","operationId":"getAll_31","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelHabilidadeDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar catálogo completo de habilidades","tags":["habilidade-controller"]}},"/api/human-resources/habilidades/batch":{"delete":{"description":"Remove várias habilidades em uma única operação para saneamento administrativo, revisão de matriz de competências ou limpeza controlada de dados de demonstração.","operationId":"deleteBatch_23","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Registros removidos com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Lista de IDs inválida."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover habilidades do catálogo em lote","tags":["habilidade-controller"]}},"/api/human-resources/habilidades/by-ids":{"get":{"description":"Recupera habilidades já referenciadas em perfis, formulários, filtros salvos ou associações com funcionários usando seus identificadores do catálogo.","operationId":"getByIds_31","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HabilidadeDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HabilidadeDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar habilidades por identificadores conhecidos","tags":["habilidade-controller"]}},"/api/human-resources/habilidades/capabilities":{"get":{"operationId":"getCollectionCapabilities_31","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["habilidade-controller"]}},"/api/human-resources/habilidades/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_31","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestHabilidadeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["habilidade-controller"]}},"/api/human-resources/habilidades/filter":{"post":{"description":"Lista habilidades do catálogo por nome, categoria, descrição e nível de poder para compor perfis profissionais, matrizes de competência, filtros de talento e recomendações de equipe.","operationId":"filter_31","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HabilidadeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelHabilidadeDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelHabilidadeDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar catálogo de habilidades por categoria e nível de poder","tags":["habilidade-controller"]}},"/api/human-resources/habilidades/filter/cursor":{"post":{"description":"Navega por habilidades usando cursor, preservando filtros de nome, categoria, descrição e nível de poder em diretórios de competências, seletores de perfil e telas de associação a funcionários.","operationId":"filterByCursor_31","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HabilidadeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelHabilidadeDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelHabilidadeDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Percorrer catálogo de habilidades em listas extensas","tags":["habilidade-controller"]}},"/api/human-resources/habilidades/locate":{"post":{"description":"Informa a posição de uma habilidade em lista filtrada por categoria, descrição ou nível de poder para retomada de navegação em catálogos, seletores e matrizes de competência.","operationId":"locate_31","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HabilidadeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar habilidade dentro de um recorte do catálogo","tags":["habilidade-controller"]}},"/api/human-resources/habilidades/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_31","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["habilidade-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_31","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["habilidade-controller"]}},"/api/human-resources/habilidades/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_31","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["habilidade-controller"]}},"/api/human-resources/habilidades/options/by-ids":{"get":{"description":"Reidrata opções de habilidades escolhidas em formulários, perfis, filtros salvos ou painéis, preservando identificador e rótulo do catálogo.","operationId":"getOptionsByIds_31","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar opções de habilidades já selecionadas","tags":["habilidade-controller"]}},"/api/human-resources/habilidades/options/filter":{"post":{"description":"Produz opções compactas de habilidades para campos de seleção, busca, montagem de perfis profissionais e filtros de alocação.","operationId":"filterOptions_31","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HabilidadeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar habilidades para perfis e filtros","tags":["habilidade-controller"]}},"/api/human-resources/habilidades/schemas":{"get":{"operationId":"getSchema_31","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["habilidade-controller"]}},"/api/human-resources/habilidades/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_31","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["habilidade-controller"]}},"/api/human-resources/habilidades/stats/comparison":{"post":{"operationId":"comparisonStats_31","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestHabilidadeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["habilidade-controller"]}},"/api/human-resources/habilidades/stats/distribution":{"post":{"operationId":"distributionStats_31","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["habilidade-controller"]}},"/api/human-resources/habilidades/stats/group-by":{"post":{"operationId":"groupByStats_31","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["habilidade-controller"]}},"/api/human-resources/habilidades/stats/timeseries":{"post":{"operationId":"timeSeriesStats_31","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["habilidade-controller"]}},"/api/human-resources/habilidades/{id}":{"delete":{"description":"Remove uma habilidade do catálogo administrativo quando a matriz de competências exige saneamento, revisão de classificação ou retirada de registros obsoletos.","operationId":"delete_24","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Registro removido com sucesso."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover habilidade do catálogo de competências","tags":["habilidade-controller"]},"get":{"description":"Retorna a definição de uma habilidade com nome, categoria, descrição e nível de poder para consulta de capacidade, composição de perfis e regras de elegibilidade.","operationId":"getById_24","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseHabilidadeDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseHabilidadeDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter detalhe de habilidade do catálogo","tags":["habilidade-controller"]},"put":{"description":"Mantém nome, categoria, descrição e nível de poder de uma habilidade usada em perfis profissionais, associações com funcionários e recomendações de alocação.","operationId":"update_23","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateHabilidadeDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseHabilidadeDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar habilidade do catálogo de competências","tags":["habilidade-controller"]}},"/api/human-resources/habilidades/{id}/actions":{"get":{"operationId":"getItemActions_31","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["habilidade-controller"]}},"/api/human-resources/habilidades/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_31","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["habilidade-controller"]}},"/api/human-resources/habilidades/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_31","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["habilidade-controller"]}},"/api/human-resources/historicos-cargos":{"post":{"description":"Cria um registro funcional com colaborador, cargo, vigência e observações para representar promoção, transferência, alocação ou mudança de função.","operationId":"create_28","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateHistoricosCargoDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseHistoricosCargoDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar registro na trilha de cargos","tags":["historicos-cargo-controller"]}},"/api/human-resources/historicos-cargos/actions":{"get":{"operationId":"getCollectionActions_30","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["historicos-cargo-controller"]}},"/api/human-resources/historicos-cargos/all":{"get":{"description":"Retorna todos os históricos de cargos cadastrados como referência de trajetória funcional para conferência administrativa, auditoria, exportação, sincronização e análise de carreira.","operationId":"getAll_30","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelHistoricosCargoDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar trilha completa de cargos","tags":["historicos-cargo-controller"]}},"/api/human-resources/historicos-cargos/batch":{"delete":{"description":"Remove múltiplos registros funcionais em uma única chamada para saneamento administrativo, revisão de carreira ou limpeza controlada de dados de demonstração.","operationId":"deleteBatch_22","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Registros removidos com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Lista de IDs inválida."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover históricos de cargos em lote","tags":["historicos-cargo-controller"]}},"/api/human-resources/historicos-cargos/by-ids":{"get":{"description":"Recupera registros funcionais já referenciados em relatórios, análises, filtros salvos ou seleções anteriores usando seus identificadores da trilha de cargos.","operationId":"getByIds_30","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HistoricosCargoDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HistoricosCargoDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar históricos de cargos por identificadores conhecidos","tags":["historicos-cargo-controller"]}},"/api/human-resources/historicos-cargos/capabilities":{"get":{"operationId":"getCollectionCapabilities_30","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["historicos-cargo-controller"]}},"/api/human-resources/historicos-cargos/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_30","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestHistoricosCargoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["historicos-cargo-controller"]}},"/api/human-resources/historicos-cargos/filter":{"post":{"description":"Lista mudanças funcionais por funcionário, cargo, data de início e data de fim para trilha de carreira, mobilidade interna, lotação histórica e auditoria funcional.","operationId":"filter_30","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HistoricosCargoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelHistoricosCargoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelHistoricosCargoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar trilha de cargos por colaborador, cargo e vigência","tags":["historicos-cargo-controller"]}},"/api/human-resources/historicos-cargos/filter/cursor":{"post":{"description":"Navega por registros de cargo usando cursor, preservando filtros de colaborador, cargo e vigência em trilhas funcionais, auditorias de carreira e consultas operacionais extensas.","operationId":"filterByCursor_30","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HistoricosCargoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelHistoricosCargoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelHistoricosCargoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Percorrer históricos de cargos em listas extensas","tags":["historicos-cargo-controller"]}},"/api/human-resources/historicos-cargos/locate":{"post":{"description":"Informa a posição de um histórico de cargo em lista filtrada por colaborador, cargo ou vigência para retomada de navegação em tabelas de carreira e auditoria funcional.","operationId":"locate_30","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HistoricosCargoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar registro de cargo dentro de um recorte histórico","tags":["historicos-cargo-controller"]}},"/api/human-resources/historicos-cargos/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_30","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["historicos-cargo-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_30","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["historicos-cargo-controller"]}},"/api/human-resources/historicos-cargos/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_30","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["historicos-cargo-controller"]}},"/api/human-resources/historicos-cargos/options/by-ids":{"get":{"description":"Reidrata opções de registros funcionais escolhidas em formulários, auditorias, filtros salvos ou painéis, preservando identificador e rótulo de exibição.","operationId":"getOptionsByIds_30","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar opções de históricos de cargos já selecionadas","tags":["historicos-cargo-controller"]}},"/api/human-resources/historicos-cargos/options/filter":{"post":{"description":"Produz opções compactas de registros funcionais para seleção contextual em formulários, auditorias, análises de carreira e composição de dados de lotação.","operationId":"filterOptions_30","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HistoricosCargoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar históricos de cargos para carreira e auditoria","tags":["historicos-cargo-controller"]}},"/api/human-resources/historicos-cargos/schemas":{"get":{"operationId":"getSchema_30","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["historicos-cargo-controller"]}},"/api/human-resources/historicos-cargos/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_30","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["historicos-cargo-controller"]}},"/api/human-resources/historicos-cargos/stats/comparison":{"post":{"operationId":"comparisonStats_30","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestHistoricosCargoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["historicos-cargo-controller"]}},"/api/human-resources/historicos-cargos/stats/distribution":{"post":{"operationId":"distributionStats_30","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["historicos-cargo-controller"]}},"/api/human-resources/historicos-cargos/stats/group-by":{"post":{"operationId":"groupByStats_30","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["historicos-cargo-controller"]}},"/api/human-resources/historicos-cargos/stats/timeseries":{"post":{"operationId":"timeSeriesStats_30","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["historicos-cargo-controller"]}},"/api/human-resources/historicos-cargos/{id}":{"delete":{"description":"Remove um histórico funcional do cadastro administrativo quando a trilha de carreira exige saneamento, revisão de lotação ou retirada de registros obsoletos.","operationId":"delete_23","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Registro removido com sucesso."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover registro da trilha de cargos","tags":["historicos-cargo-controller"]},"get":{"description":"Retorna um registro da trilha funcional com colaborador, cargo, vigência e observações para inspeção administrativa, auditoria de carreira e composição de visões de RH.","operationId":"getById_23","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseHistoricosCargoDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseHistoricosCargoDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter detalhe de histórico de cargo","tags":["historicos-cargo-controller"]},"put":{"description":"Mantém cargo, vigência e observações de um registro funcional usado em relatórios, auditorias, análises de carreira e estruturas de lotação.","operationId":"update_22","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateHistoricosCargoDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseHistoricosCargoDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar registro da trilha de cargos","tags":["historicos-cargo-controller"]}},"/api/human-resources/historicos-cargos/{id}/actions":{"get":{"operationId":"getItemActions_30","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["historicos-cargo-controller"]}},"/api/human-resources/historicos-cargos/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_30","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["historicos-cargo-controller"]}},"/api/human-resources/historicos-cargos/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_30","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["historicos-cargo-controller"]}},"/api/human-resources/historicos-salariais":{"post":{"description":"Cria um registro de remuneração com funcionário, valor, vigência e motivo para representar progressão, reajuste ou correção na trajetória salarial.","operationId":"create_27","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateHistoricoSalarialDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseHistoricoSalarialDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar registro na trilha salarial","tags":["historico-salarial-controller"]}},"/api/human-resources/historicos-salariais/actions":{"get":{"operationId":"getCollectionActions_29","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["historico-salarial-controller"]}},"/api/human-resources/historicos-salariais/all":{"get":{"description":"Retorna todos os históricos salariais cadastrados como referência de evolução remuneratória para conferência financeira, auditoria, exportação, sincronização e análise de carreira.","operationId":"getAll_29","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelHistoricoSalarialDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar trilha salarial completa","tags":["historico-salarial-controller"]}},"/api/human-resources/historicos-salariais/batch":{"delete":{"description":"Remove múltiplos registros salariais em uma única chamada para saneamento administrativo, revisão financeira ou limpeza controlada de dados de demonstração.","operationId":"deleteBatch_21","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Registros removidos com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Lista de IDs inválida."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover históricos salariais em lote","tags":["historico-salarial-controller"]}},"/api/human-resources/historicos-salariais/by-ids":{"get":{"description":"Recupera registros salariais já referenciados em análises, relatórios, filtros salvos ou seleções anteriores usando seus identificadores da trilha remuneratória.","operationId":"getByIds_29","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HistoricoSalarialDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/HistoricoSalarialDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar históricos salariais por identificadores conhecidos","tags":["historico-salarial-controller"]}},"/api/human-resources/historicos-salariais/capabilities":{"get":{"operationId":"getCollectionCapabilities_29","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["historico-salarial-controller"]}},"/api/human-resources/historicos-salariais/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_29","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestHistoricoSalarialFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["historico-salarial-controller"]}},"/api/human-resources/historicos-salariais/filter":{"post":{"description":"Lista registros de evolução remuneratória por funcionário, faixa salarial, início de vigência, fim de vigência e motivo para auditoria financeira, progressão de carreira e conferência de histórico salarial.","operationId":"filter_29","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HistoricoSalarialFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelHistoricoSalarialDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelHistoricoSalarialDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar trilha salarial por colaborador, valor e vigência","tags":["historico-salarial-controller"]}},"/api/human-resources/historicos-salariais/filter/cursor":{"post":{"description":"Navega por registros salariais usando cursor, preservando filtros de colaborador, valores, vigência e motivo em trilhas de remuneração, auditorias e consultas operacionais extensas.","operationId":"filterByCursor_29","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HistoricoSalarialFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelHistoricoSalarialDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelHistoricoSalarialDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Percorrer históricos salariais em listas extensas","tags":["historico-salarial-controller"]}},"/api/human-resources/historicos-salariais/locate":{"post":{"description":"Informa a posição de um histórico salarial em lista filtrada por colaborador, valor, vigência ou motivo para retomada de navegação em tabelas de auditoria e carreira.","operationId":"locate_29","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HistoricoSalarialFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar registro salarial dentro de um recorte histórico","tags":["historico-salarial-controller"]}},"/api/human-resources/historicos-salariais/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_29","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["historico-salarial-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_29","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["historico-salarial-controller"]}},"/api/human-resources/historicos-salariais/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_29","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["historico-salarial-controller"]}},"/api/human-resources/historicos-salariais/options/by-ids":{"get":{"description":"Reidrata opções de registros salariais escolhidas em formulários, auditorias, filtros salvos ou painéis, preservando identificador e rótulo de exibição.","operationId":"getOptionsByIds_29","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar opções de históricos salariais já selecionadas","tags":["historico-salarial-controller"]}},"/api/human-resources/historicos-salariais/options/filter":{"post":{"description":"Produz opções compactas de registros salariais para seleção contextual em formulários, auditorias, análises e composição de dados de carreira.","operationId":"filterOptions_29","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HistoricoSalarialFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar históricos salariais para auditoria e carreira","tags":["historico-salarial-controller"]}},"/api/human-resources/historicos-salariais/schemas":{"get":{"operationId":"getSchema_29","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["historico-salarial-controller"]}},"/api/human-resources/historicos-salariais/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_29","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["historico-salarial-controller"]}},"/api/human-resources/historicos-salariais/stats/comparison":{"post":{"operationId":"comparisonStats_29","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestHistoricoSalarialFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["historico-salarial-controller"]}},"/api/human-resources/historicos-salariais/stats/distribution":{"post":{"operationId":"distributionStats_29","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["historico-salarial-controller"]}},"/api/human-resources/historicos-salariais/stats/group-by":{"post":{"description":"Consolida movimentações salariais por justificativa administrativa (promoção, mérito, reajuste anual, admissão) ou por colaborador para análise comparativa de carreira.","operationId":"groupByStats_29","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupByStatsRequestHistoricoSalarialFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseGroupByStatsResponse"}}},"description":"OK"}},"summary":"Agrupar histórico salarial por motivo ou colaborador","tags":["historico-salarial-controller"],"x-ui":{"analytics":{"projections":[{"bindings":{"primaryDimension":{"field":"motivo","label":"Motivo da Movimentação","role":"category"},"primaryMetrics":[{"aggregation":"avg","field":"salario","label":"Salário Médio (R$)"}]},"defaults":{"limit":8,"sort":[{"direction":"desc","field":"salario"}]},"id":"salary-adjustment-reason-chart","intent":"composition","interactions":{"pointSelection":true},"presentationHints":{"preferredFamilies":["chart"]},"source":{"kind":"praxis.stats","operation":"group-by","resource":"/api/human-resources/historicos-salariais"}}]}}}},"/api/human-resources/historicos-salariais/stats/timeseries":{"post":{"description":"Agrega a trajetória remuneratória por período de início de vigência, permitindo acompanhar reajustes, promoções e evolução do salário nominal de um colaborador ou grupo.","operationId":"timeSeriesStats_29","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequestHistoricoSalarialFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseTimeSeriesStatsResponse"}}},"description":"OK"}},"summary":"Calcular evolução salarial ao longo do tempo","tags":["historico-salarial-controller"],"x-ui":{"analytics":{"projections":[{"bindings":{"primaryDimension":{"field":"dataInicio","label":"Início de Vigência","role":"time"},"primaryMetrics":[{"aggregation":"avg","field":"salario","label":"Salário (R$)"}]},"defaults":{"granularity":"month"},"id":"salary-evolution-trend-chart","intent":"trend","interactions":{"pointSelection":true},"presentationHints":{"preferredFamilies":["chart"]},"source":{"kind":"praxis.stats","operation":"timeseries","resource":"/api/human-resources/historicos-salariais"}}]}}}},"/api/human-resources/historicos-salariais/{id}":{"delete":{"description":"Remove um histórico salarial do cadastro administrativo quando a trilha remuneratória exige saneamento, revisão financeira ou retirada de registros obsoletos.","operationId":"delete_22","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Registro removido com sucesso."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover registro da trilha salarial","tags":["historico-salarial-controller"]},"get":{"description":"Retorna um registro da trilha salarial com funcionário, valor, vigência e motivo para inspeção financeira, auditoria, análise de carreira e composição de visões de RH.","operationId":"getById_22","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseHistoricoSalarialDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseHistoricoSalarialDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter detalhe de histórico salarial","tags":["historico-salarial-controller"]},"put":{"description":"Mantém valor, vigência e motivo de um registro salarial usado em relatórios, auditorias financeiras, análises de carreira e preparação de folha.","operationId":"update_21","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateHistoricoSalarialDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseHistoricoSalarialDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar registro da trilha salarial","tags":["historico-salarial-controller"]}},"/api/human-resources/historicos-salariais/{id}/actions":{"get":{"operationId":"getItemActions_29","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["historico-salarial-controller"]}},"/api/human-resources/historicos-salariais/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_29","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["historico-salarial-controller"]}},"/api/human-resources/historicos-salariais/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_29","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["historico-salarial-controller"]}},"/api/human-resources/identidades-secretas":{"post":{"description":"Cria uma identidade operacional com funcionário titular, codinome, universo e exposição pública para uso em perfis protegidos, diretórios internos e controle de sigilo.","operationId":"create_26","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateIdentidadeSecretaDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseIdentidadeSecretaDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar identidade secreta de funcionário","tags":["identidade-secreta-controller"]}},"/api/human-resources/identidades-secretas/actions":{"get":{"operationId":"getCollectionActions_28","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["identidade-secreta-controller"]}},"/api/human-resources/identidades-secretas/all":{"get":{"description":"Retorna todas as identidades operacionais cadastradas como referência de codinomes, universos e vínculos com funcionários para diretórios internos, auditoria e administração de sigilo.","operationId":"getAll_28","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelIdentidadeSecretaDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar cadastro completo de identidades secretas","tags":["identidade-secreta-controller"]}},"/api/human-resources/identidades-secretas/batch":{"delete":{"description":"Remove várias identidades operacionais em uma única chamada para saneamento administrativo, revisão de sigilo ou limpeza controlada de dados de demonstração.","operationId":"deleteBatch_20","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Registros removidos com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Lista de IDs inválida."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover identidades secretas em lote","tags":["identidade-secreta-controller"]}},"/api/human-resources/identidades-secretas/by-ids":{"get":{"description":"Recupera identidades operacionais já referenciadas em perfis, formulários, filtros salvos ou fluxos administrativos usando seus identificadores do cadastro de sigilo.","operationId":"getByIds_28","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/IdentidadeSecretaDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/IdentidadeSecretaDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar identidades secretas por identificadores conhecidos","tags":["identidade-secreta-controller"]}},"/api/human-resources/identidades-secretas/capabilities":{"get":{"operationId":"getCollectionCapabilities_28","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["identidade-secreta-controller"]}},"/api/human-resources/identidades-secretas/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_28","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestIdentidadeSecretaFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["identidade-secreta-controller"]}},"/api/human-resources/identidades-secretas/filter":{"post":{"description":"Lista codinomes vinculados a funcionários por titular, universo narrativo e exposição pública para diretórios internos, perfis protegidos e controle administrativo de sigilo.","operationId":"filter_28","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentidadeSecretaFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelIdentidadeSecretaDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelIdentidadeSecretaDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar identidades operacionais por colaborador, codinome e exposição","tags":["identidade-secreta-controller"]}},"/api/human-resources/identidades-secretas/filter/cursor":{"post":{"description":"Navega por identidades secretas usando cursor, preservando filtros de colaborador, codinome, universo e exposição pública em consultas incrementais e telas de administração de sigilo.","operationId":"filterByCursor_28","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentidadeSecretaFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelIdentidadeSecretaDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelIdentidadeSecretaDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Percorrer identidades operacionais em listas extensas","tags":["identidade-secreta-controller"]}},"/api/human-resources/identidades-secretas/locate":{"post":{"description":"Informa a posição de uma identidade operacional em lista filtrada por colaborador, codinome, universo ou exposição pública para retomada de navegação em tabelas e diretórios internos.","operationId":"locate_28","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentidadeSecretaFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar identidade secreta dentro de um recorte de sigilo","tags":["identidade-secreta-controller"]}},"/api/human-resources/identidades-secretas/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_28","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["identidade-secreta-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_28","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["identidade-secreta-controller"]}},"/api/human-resources/identidades-secretas/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_28","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["identidade-secreta-controller"]}},"/api/human-resources/identidades-secretas/options/by-ids":{"get":{"description":"Reidrata opções de identidades operacionais escolhidas em formulários, perfis, filtros salvos ou painéis, preservando identificador e rótulo de exibição.","operationId":"getOptionsByIds_28","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar opções de identidades secretas já selecionadas","tags":["identidade-secreta-controller"]}},"/api/human-resources/identidades-secretas/options/filter":{"post":{"description":"Produz opções compactas de identidades operacionais para campos de seleção, busca, montagem de perfil protegido e filtros de exposição pública.","operationId":"filterOptions_28","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IdentidadeSecretaFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar identidades secretas para perfis protegidos","tags":["identidade-secreta-controller"]}},"/api/human-resources/identidades-secretas/schemas":{"get":{"operationId":"getSchema_28","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["identidade-secreta-controller"]}},"/api/human-resources/identidades-secretas/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_28","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["identidade-secreta-controller"]}},"/api/human-resources/identidades-secretas/stats/comparison":{"post":{"operationId":"comparisonStats_28","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestIdentidadeSecretaFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["identidade-secreta-controller"]}},"/api/human-resources/identidades-secretas/stats/distribution":{"post":{"operationId":"distributionStats_28","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["identidade-secreta-controller"]}},"/api/human-resources/identidades-secretas/stats/group-by":{"post":{"operationId":"groupByStats_28","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["identidade-secreta-controller"]}},"/api/human-resources/identidades-secretas/stats/timeseries":{"post":{"operationId":"timeSeriesStats_28","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["identidade-secreta-controller"]}},"/api/human-resources/identidades-secretas/{id}":{"delete":{"description":"Remove uma identidade operacional do cadastro administrativo quando os perfis protegidos exigem saneamento, revisão de sigilo ou retirada de registros obsoletos.","operationId":"delete_21","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Registro removido com sucesso."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover identidade secreta do cadastro","tags":["identidade-secreta-controller"]},"get":{"description":"Retorna o vínculo entre funcionário, codinome, universo e exposição pública para consulta de sigilo, exibição de perfil protegido e auditoria administrativa.","operationId":"getById_21","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseIdentidadeSecretaDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseIdentidadeSecretaDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter detalhe de identidade secreta","tags":["identidade-secreta-controller"]},"put":{"description":"Mantém codinome, universo, exposição pública e vínculo com funcionário para perfis protegidos, diretórios internos e administração de sigilo.","operationId":"update_20","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateIdentidadeSecretaDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseIdentidadeSecretaDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar identidade secreta de funcionário","tags":["identidade-secreta-controller"]}},"/api/human-resources/identidades-secretas/{id}/actions":{"get":{"operationId":"getItemActions_28","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["identidade-secreta-controller"]}},"/api/human-resources/identidades-secretas/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_28","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["identidade-secreta-controller"]}},"/api/human-resources/identidades-secretas/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_28","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["identidade-secreta-controller"]}},"/api/human-resources/indenizacoes":{"post":{"description":"Cria uma cobertura indenizatória associada a incidente operacional com valor, situação de pagamento, seguradora e protocolo para acompanhamento financeiro.","operationId":"create_25","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateIndenizacaoDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseIndenizacaoDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar indenização vinculada a incidente","tags":["indenizacao-controller"]}},"/api/human-resources/indenizacoes/actions":{"get":{"operationId":"getCollectionActions_27","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["indenizacao-controller"]}},"/api/human-resources/indenizacoes/all":{"get":{"description":"Retorna todas as indenizações cadastradas como referência de coberturas, pagamentos, seguradoras e processos vinculados a incidentes para conferência, exportação e sincronização.","operationId":"getAll_27","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelIndenizacaoDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar cadastro completo de indenizações","tags":["indenizacao-controller"]}},"/api/human-resources/indenizacoes/batch":{"delete":{"description":"Remove várias indenizações em uma única chamada para saneamento administrativo, revisão financeira ou limpeza controlada de dados de demonstração.","operationId":"deleteBatch_19","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Registros removidos com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Lista de IDs inválida."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover indenizações em lote","tags":["indenizacao-controller"]}},"/api/human-resources/indenizacoes/by-ids":{"get":{"description":"Recupera indenizações já referenciadas em formulários, relatórios, filtros salvos ou fluxos de pagamento usando seus identificadores de cobertura.","operationId":"getByIds_27","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/IndenizacaoDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/IndenizacaoDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar indenizações por identificadores conhecidos","tags":["indenizacao-controller"]}},"/api/human-resources/indenizacoes/capabilities":{"get":{"operationId":"getCollectionCapabilities_27","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["indenizacao-controller"]}},"/api/human-resources/indenizacoes/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_27","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestIndenizacaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["indenizacao-controller"]}},"/api/human-resources/indenizacoes/filter":{"post":{"description":"Lista coberturas indenizatórias por incidente operacional, situação de pagamento, faixa de valor, seguradora e protocolo de processo para acompanhamento financeiro, ressarcimentos e conciliação de sinistros.","operationId":"filter_27","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndenizacaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelIndenizacaoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelIndenizacaoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar indenizações por incidente, pagamento e valor","tags":["indenizacao-controller"]}},"/api/human-resources/indenizacoes/filter/cursor":{"post":{"description":"Navega por indenizações usando cursor, preservando filtros de incidente, pagamento, valor, seguradora e processo em rotinas financeiras, auditorias e consultas operacionais extensas.","operationId":"filterByCursor_27","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndenizacaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelIndenizacaoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelIndenizacaoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Percorrer indenizações em grandes volumes","tags":["indenizacao-controller"]}},"/api/human-resources/indenizacoes/locate":{"post":{"description":"Informa a posição de uma indenização em lista filtrada por incidente, pagamento, valor, seguradora ou processo para retomada de navegação em tabelas financeiras e analíticas.","operationId":"locate_27","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndenizacaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar indenização dentro de um recorte financeiro","tags":["indenizacao-controller"]}},"/api/human-resources/indenizacoes/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_27","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["indenizacao-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_27","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["indenizacao-controller"]}},"/api/human-resources/indenizacoes/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_27","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["indenizacao-controller"]}},"/api/human-resources/indenizacoes/options/by-ids":{"get":{"description":"Reidrata opções de indenizações escolhidas em formulários, filtros salvos, relatórios ou painéis, preservando identificador e rótulo de exibição.","operationId":"getOptionsByIds_27","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar opções de indenizações já selecionadas","tags":["indenizacao-controller"]}},"/api/human-resources/indenizacoes/options/filter":{"post":{"description":"Produz opções compactas de indenizações para campos de seleção, busca, filtros de sinistro e vinculação com rotinas financeiras ou operacionais.","operationId":"filterOptions_27","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IndenizacaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar indenizações para fluxos financeiros","tags":["indenizacao-controller"]}},"/api/human-resources/indenizacoes/schemas":{"get":{"operationId":"getSchema_27","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["indenizacao-controller"]}},"/api/human-resources/indenizacoes/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_27","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["indenizacao-controller"]}},"/api/human-resources/indenizacoes/stats/comparison":{"post":{"operationId":"comparisonStats_27","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestIndenizacaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["indenizacao-controller"]}},"/api/human-resources/indenizacoes/stats/distribution":{"post":{"operationId":"distributionStats_27","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["indenizacao-controller"]}},"/api/human-resources/indenizacoes/stats/group-by":{"post":{"operationId":"groupByStats_27","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["indenizacao-controller"]}},"/api/human-resources/indenizacoes/stats/timeseries":{"post":{"operationId":"timeSeriesStats_27","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["indenizacao-controller"]}},"/api/human-resources/indenizacoes/{id}":{"delete":{"description":"Remove uma indenização do cadastro administrativo quando a base financeira exige saneamento, revisão de sinistro ou retirada de registros obsoletos.","operationId":"delete_20","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Registro removido com sucesso."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover indenização do cadastro financeiro","tags":["indenizacao-controller"]},"get":{"description":"Retorna uma cobertura indenizatória com incidente, valor, situação de pagamento, seguradora e processo para conferência financeira, auditoria de pagamento e consulta administrativa.","operationId":"getById_20","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseIndenizacaoDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseIndenizacaoDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter detalhe de indenização","tags":["indenizacao-controller"]},"put":{"description":"Mantém valor, situação de pagamento, seguradora, processo e vínculo com incidente para pagamento, conciliação financeira e auditoria.","operationId":"update_19","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateIndenizacaoDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseIndenizacaoDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar indenização vinculada a incidente","tags":["indenizacao-controller"]}},"/api/human-resources/indenizacoes/{id}/actions":{"get":{"operationId":"getItemActions_27","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["indenizacao-controller"]}},"/api/human-resources/indenizacoes/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_27","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["indenizacao-controller"]}},"/api/human-resources/indenizacoes/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_27","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["indenizacao-controller"]}},"/api/human-resources/legacy-pay-codes":{"post":{"operationId":"create_24","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLegacyPayCodeDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseLegacyPayCodeDTO"}}},"description":"Resource created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Invalid request or business rule violation"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Request conflicts with existing or dependent data"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Criar item","tags":["legacy-pay-code-controller"]}},"/api/human-resources/legacy-pay-codes/actions":{"get":{"operationId":"getCollectionActions_26","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["legacy-pay-code-controller"]}},"/api/human-resources/legacy-pay-codes/all":{"get":{"operationId":"getAll_26","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelLegacyPayCodeDTO"}}},"description":"OK"}},"summary":"Listar itens","tags":["legacy-pay-code-controller"]}},"/api/human-resources/legacy-pay-codes/batch":{"delete":{"operationId":"deleteBatch_18","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Resources deleted"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Batch request is empty or invalid"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Excluir itens em lote","tags":["legacy-pay-code-controller"]}},"/api/human-resources/legacy-pay-codes/by-ids":{"get":{"operationId":"getByIds_26","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LegacyPayCodeDTO"}}}},"description":"OK"}},"summary":"Buscar registros por IDs","tags":["legacy-pay-code-controller"]}},"/api/human-resources/legacy-pay-codes/capabilities":{"get":{"operationId":"getCollectionCapabilities_26","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["legacy-pay-code-controller"]}},"/api/human-resources/legacy-pay-codes/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_26","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestLegacyPayCodeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["legacy-pay-code-controller"]}},"/api/human-resources/legacy-pay-codes/filter":{"post":{"description":"Aplica filtros aos registros com paginacao.","operationId":"filter_26","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegacyPayCodeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelLegacyPayCodeDTO"}}},"description":"OK"}},"summary":"Filtrar registros","tags":["legacy-pay-code-controller"]}},"/api/human-resources/legacy-pay-codes/filter/cursor":{"post":{"operationId":"filterByCursor_26","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegacyPayCodeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelLegacyPayCodeDTO"}}},"description":"OK"}},"summary":"Filtrar com paginacao por cursor","tags":["legacy-pay-code-controller"]}},"/api/human-resources/legacy-pay-codes/locate":{"post":{"operationId":"locate_26","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegacyPayCodeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"OK"}},"summary":"Localizar posicao de registro","tags":["legacy-pay-code-controller"]}},"/api/human-resources/legacy-pay-codes/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_26","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["legacy-pay-code-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_26","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["legacy-pay-code-controller"]}},"/api/human-resources/legacy-pay-codes/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_26","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["legacy-pay-code-controller"]}},"/api/human-resources/legacy-pay-codes/options/by-ids":{"get":{"operationId":"getOptionsByIds_26","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"OK"}},"summary":"Buscar opcoes por IDs","tags":["legacy-pay-code-controller"]}},"/api/human-resources/legacy-pay-codes/options/filter":{"post":{"operationId":"filterOptions_26","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LegacyPayCodeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"OK"}},"summary":"Listar opcoes filtradas","tags":["legacy-pay-code-controller"]}},"/api/human-resources/legacy-pay-codes/schemas":{"get":{"operationId":"getSchema_26","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["legacy-pay-code-controller"]}},"/api/human-resources/legacy-pay-codes/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_26","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["legacy-pay-code-controller"]}},"/api/human-resources/legacy-pay-codes/stats/comparison":{"post":{"operationId":"comparisonStats_26","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestLegacyPayCodeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["legacy-pay-code-controller"]}},"/api/human-resources/legacy-pay-codes/stats/distribution":{"post":{"operationId":"distributionStats_26","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","summary":"Distribuicao por histograma com COUNT","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequestLegacyPayCodeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","summary":"Buckets de histograma canonicos","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}},{"key":"1000","label":"1000-2000","count":7,"metrics":{"count":7}}]}}}},"schema":{"$ref":"#/components/schemas/RestApiResponseDistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseDistributionStatsResponse"}}},"description":"Request de stats invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseDistributionStatsResponse"}}},"description":"Stats nao suportado pelo recurso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["legacy-pay-code-controller"]}},"/api/human-resources/legacy-pay-codes/stats/group-by":{"post":{"operationId":"groupByStats_26","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","summary":"Agrupamento por status com COUNT","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequestLegacyPayCodeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","summary":"Buckets agregados por status","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}},{"key":"INATIVO","label":"INATIVO","count":8,"metrics":{"count":8}}],"totalBuckets":2,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/RestApiResponseGroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseGroupByStatsResponse"}}},"description":"Request de stats invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseGroupByStatsResponse"}}},"description":"Stats nao suportado pelo recurso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["legacy-pay-code-controller"]}},"/api/human-resources/legacy-pay-codes/stats/timeseries":{"post":{"operationId":"timeSeriesStats_26","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","summary":"Serie diaria com SUM e fillGaps","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequestLegacyPayCodeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","summary":"Pontos de serie temporal com datas ISO","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}},{"key":"2026-01-02","label":"2026-01-02","count":0,"metrics":{"sum_amount":0.0}}]}}}},"schema":{"$ref":"#/components/schemas/RestApiResponseTimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseTimeSeriesStatsResponse"}}},"description":"Request de stats invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseTimeSeriesStatsResponse"}}},"description":"Stats nao suportado pelo recurso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["legacy-pay-code-controller"]}},"/api/human-resources/legacy-pay-codes/{id}":{"delete":{"operationId":"delete_19","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Resource deleted"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Excluir item","tags":["legacy-pay-code-controller"]},"get":{"operationId":"getById_19","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseLegacyPayCodeDTO"}}},"description":"OK"}},"summary":"Abrir item","tags":["legacy-pay-code-controller"]},"put":{"operationId":"update_18","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateLegacyPayCodeDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseLegacyPayCodeDTO"}}},"description":"Resource updated"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Invalid request or business rule violation"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Request conflicts with existing or dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Editar item","tags":["legacy-pay-code-controller"]}},"/api/human-resources/legacy-pay-codes/{id}/actions":{"get":{"operationId":"getItemActions_26","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["legacy-pay-code-controller"]}},"/api/human-resources/legacy-pay-codes/{id}/audit-lines":{"get":{"operationId":"auditLines","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListLegacyPayCodeAuditLineDTO"}}},"description":"OK"}},"tags":["legacy-pay-code-controller"]}},"/api/human-resources/legacy-pay-codes/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_26","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["legacy-pay-code-controller"]}},"/api/human-resources/legacy-pay-codes/{id}/duplicate-draft":{"post":{"operationId":"duplicateDraft","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmptyWorkflowActionRequest"}}},"description":"Sem payload de entrada; o rascunho e preparado a partir do identificador do recurso no path."},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCreateLegacyPayCodeDTO"}}},"description":"OK"}},"summary":"Duplicar item como rascunho","tags":["legacy-pay-code-controller"]}},"/api/human-resources/legacy-pay-codes/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_26","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["legacy-pay-code-controller"]}},"/api/human-resources/mencoes-midia":{"post":{"description":"Cria uma evidência de mídia associada a funcionário com veículo, sentimento, URL e data de publicação para monitoramento reputacional e histórico de exposição.","operationId":"create_23","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMencoesMidiaDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseMencoesMidiaDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar menção de mídia","tags":["mencoes-midia-controller"]}},"/api/human-resources/mencoes-midia/actions":{"get":{"operationId":"getCollectionActions_25","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["mencoes-midia-controller"]}},"/api/human-resources/mencoes-midia/all":{"get":{"description":"Retorna todas as menções monitoradas como referência de exposição pública, sentimento e histórico reputacional para conferência, exportação, sincronização e análise.","operationId":"getAll_25","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelMencoesMidiaDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar cadastro completo de menções de mídia","tags":["mencoes-midia-controller"]}},"/api/human-resources/mencoes-midia/batch":{"delete":{"description":"Remove várias menções em uma única chamada para saneamento administrativo, revisão reputacional ou limpeza controlada de dados de demonstração.","operationId":"deleteBatch_17","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Registros removidos com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Lista de IDs inválida."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover menções de mídia em lote","tags":["mencoes-midia-controller"]}},"/api/human-resources/mencoes-midia/by-ids":{"get":{"description":"Recupera menções já referenciadas em perfis, relatórios, filtros salvos ou painéis usando seus identificadores de monitoramento.","operationId":"getByIds_25","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MencoesMidiaDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MencoesMidiaDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar menções de mídia por identificadores conhecidos","tags":["mencoes-midia-controller"]}},"/api/human-resources/mencoes-midia/capabilities":{"get":{"operationId":"getCollectionCapabilities_25","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["mencoes-midia-controller"]}},"/api/human-resources/mencoes-midia/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_25","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestMencoesMidiaFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["mencoes-midia-controller"]}},"/api/human-resources/mencoes-midia/filter":{"post":{"description":"Lista publicações e citações associadas a funcionários por veículo, sentimento, URL e período de publicação para monitoramento reputacional, análise de exposição pública e resposta institucional.","operationId":"filter_25","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MencoesMidiaFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelMencoesMidiaDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelMencoesMidiaDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar menções de mídia por colaborador, veículo e sentimento","tags":["mencoes-midia-controller"]}},"/api/human-resources/mencoes-midia/filter/cursor":{"post":{"description":"Navega por menções de mídia usando cursor, preservando filtros de colaborador, veículo, sentimento, URL e período em monitoramento contínuo e consultas reputacionais extensas.","operationId":"filterByCursor_25","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MencoesMidiaFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelMencoesMidiaDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelMencoesMidiaDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Percorrer menções de mídia em grandes volumes","tags":["mencoes-midia-controller"]}},"/api/human-resources/mencoes-midia/locate":{"post":{"description":"Informa a posição de uma menção em lista filtrada por colaborador, veículo, sentimento ou período para retomada de navegação em tabelas de monitoramento.","operationId":"locate_25","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MencoesMidiaFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar menção de mídia dentro de um recorte reputacional","tags":["mencoes-midia-controller"]}},"/api/human-resources/mencoes-midia/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_25","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["mencoes-midia-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_25","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["mencoes-midia-controller"]}},"/api/human-resources/mencoes-midia/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_25","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["mencoes-midia-controller"]}},"/api/human-resources/mencoes-midia/options/by-ids":{"get":{"description":"Reidrata opções de menções escolhidas em formulários, relatórios, filtros salvos ou painéis, preservando identificador e rótulo de exibição.","operationId":"getOptionsByIds_25","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar opções de menções de mídia já selecionadas","tags":["mencoes-midia-controller"]}},"/api/human-resources/mencoes-midia/options/filter":{"post":{"description":"Produz opções compactas de menções de mídia para campos de seleção, busca, filtros de reputação e vinculação com análises de exposição pública.","operationId":"filterOptions_25","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MencoesMidiaFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar menções de mídia para fluxos reputacionais","tags":["mencoes-midia-controller"]}},"/api/human-resources/mencoes-midia/schemas":{"get":{"operationId":"getSchema_25","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["mencoes-midia-controller"]}},"/api/human-resources/mencoes-midia/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_25","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["mencoes-midia-controller"]}},"/api/human-resources/mencoes-midia/stats/comparison":{"post":{"operationId":"comparisonStats_25","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestMencoesMidiaFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["mencoes-midia-controller"]}},"/api/human-resources/mencoes-midia/stats/distribution":{"post":{"operationId":"distributionStats_25","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["mencoes-midia-controller"]}},"/api/human-resources/mencoes-midia/stats/group-by":{"post":{"operationId":"groupByStats_25","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["mencoes-midia-controller"]}},"/api/human-resources/mencoes-midia/stats/timeseries":{"post":{"operationId":"timeSeriesStats_25","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["mencoes-midia-controller"]}},"/api/human-resources/mencoes-midia/{id}":{"delete":{"description":"Remove uma menção do cadastro de monitoramento quando o histórico reputacional exige saneamento, revisão editorial ou retirada de registros obsoletos.","operationId":"delete_18","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Registro removido com sucesso."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover menção de mídia","tags":["mencoes-midia-controller"]},"get":{"description":"Retorna uma menção com colaborador, veículo, sentimento, URL e data de publicação para consulta da fonte, contexto de exposição pública e análise reputacional.","operationId":"getById_18","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseMencoesMidiaDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseMencoesMidiaDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter detalhe de menção de mídia","tags":["mencoes-midia-controller"]},"put":{"description":"Mantém veículo, sentimento, URL, data de publicação e vínculo com funcionário para monitoramento reputacional, relatórios e análises de exposição.","operationId":"update_17","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateMencoesMidiaDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseMencoesMidiaDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar menção de mídia","tags":["mencoes-midia-controller"]}},"/api/human-resources/mencoes-midia/{id}/actions":{"get":{"operationId":"getItemActions_25","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["mencoes-midia-controller"]}},"/api/human-resources/mencoes-midia/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_25","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["mencoes-midia-controller"]}},"/api/human-resources/mencoes-midia/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_25","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["mencoes-midia-controller"]}},"/api/human-resources/reputacoes":{"post":{"description":"Cria um snapshot reputacional associado a funcionário com scores público e governamental para composição de rankings, perfis e análises de exposição.","operationId":"create_22","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateReputacaoDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseReputacaoDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar reputação de funcionário","tags":["reputacao-controller"]}},"/api/human-resources/reputacoes/actions":{"get":{"operationId":"getCollectionActions_24","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["reputacao-controller"]}},"/api/human-resources/reputacoes/all":{"get":{"description":"Retorna todos os snapshots reputacionais cadastrados como referência de scores públicos e governamentais para rankings, perfis, exportação, sincronização e análise.","operationId":"getAll_24","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelReputacaoDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar cadastro completo de reputações","tags":["reputacao-controller"]}},"/api/human-resources/reputacoes/batch":{"delete":{"description":"Remove várias reputações em uma única chamada para saneamento administrativo, revisão analítica ou limpeza controlada de dados de demonstração.","operationId":"deleteBatch_16","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Registros removidos com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Lista de IDs inválida."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover reputações em lote","tags":["reputacao-controller"]}},"/api/human-resources/reputacoes/by-ids":{"get":{"description":"Recupera snapshots reputacionais já referenciados em painéis, perfis, filtros salvos ou formulários usando seus identificadores de reputação.","operationId":"getByIds_24","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ReputacaoDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ReputacaoDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar reputações por identificadores conhecidos","tags":["reputacao-controller"]}},"/api/human-resources/reputacoes/capabilities":{"get":{"operationId":"getCollectionCapabilities_24","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["reputacao-controller"]}},"/api/human-resources/reputacoes/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_24","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestReputacaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["reputacao-controller"]}},"/api/human-resources/reputacoes/filter":{"post":{"description":"Lista snapshots reputacionais por funcionário, score público, score governamental e data de atualização para rankings, perfis consolidados, visibilidade pública e leitura de frescor dos indicadores.","operationId":"filter_24","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReputacaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelReputacaoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelReputacaoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar reputações por colaborador, scores e atualização","tags":["reputacao-controller"]}},"/api/human-resources/reputacoes/filter/cursor":{"post":{"description":"Navega por snapshots reputacionais usando cursor, preservando filtros de colaborador, faixas de score e atualização em rankings, diretórios internos e consultas analíticas extensas.","operationId":"filterByCursor_24","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReputacaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelReputacaoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelReputacaoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Percorrer reputações em listas extensas","tags":["reputacao-controller"]}},"/api/human-resources/reputacoes/locate":{"post":{"description":"Informa a posição de um snapshot reputacional em lista filtrada por colaborador, score ou atualização para retomada de navegação em tabelas comparativas e rankings.","operationId":"locate_24","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReputacaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar reputação dentro de um recorte comparativo","tags":["reputacao-controller"]}},"/api/human-resources/reputacoes/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_24","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["reputacao-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_24","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["reputacao-controller"]}},"/api/human-resources/reputacoes/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_24","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["reputacao-controller"]}},"/api/human-resources/reputacoes/options/by-ids":{"get":{"description":"Reidrata opções de reputações escolhidas em formulários, perfis, filtros salvos ou painéis, preservando identificador e rótulo de exibição.","operationId":"getOptionsByIds_24","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar opções de reputações já selecionadas","tags":["reputacao-controller"]}},"/api/human-resources/reputacoes/options/filter":{"post":{"description":"Produz opções compactas de reputações para campos de seleção, busca, composição de perfis consolidados e filtros de ranking.","operationId":"filterOptions_24","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReputacaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar reputações para perfis e rankings","tags":["reputacao-controller"]}},"/api/human-resources/reputacoes/schemas":{"get":{"operationId":"getSchema_24","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["reputacao-controller"]}},"/api/human-resources/reputacoes/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_24","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["reputacao-controller"]}},"/api/human-resources/reputacoes/stats/comparison":{"post":{"operationId":"comparisonStats_24","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestReputacaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["reputacao-controller"]}},"/api/human-resources/reputacoes/stats/distribution":{"post":{"operationId":"distributionStats_24","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["reputacao-controller"]}},"/api/human-resources/reputacoes/stats/group-by":{"post":{"operationId":"groupByStats_24","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["reputacao-controller"]}},"/api/human-resources/reputacoes/stats/timeseries":{"post":{"operationId":"timeSeriesStats_24","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["reputacao-controller"]}},"/api/human-resources/reputacoes/{id}":{"delete":{"description":"Remove um snapshot reputacional quando a base de rankings e perfis exige saneamento, revisão analítica ou retirada de registros obsoletos.","operationId":"delete_17","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Registro removido com sucesso."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover reputação do cadastro","tags":["reputacao-controller"]},"get":{"description":"Retorna o snapshot reputacional de um funcionário com score público, score governamental e data de atualização para análise comparativa, perfil consolidado e ranking.","operationId":"getById_17","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseReputacaoDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseReputacaoDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter detalhe de reputação","tags":["reputacao-controller"]},"put":{"description":"Mantém scores público e governamental e data de atualização de um snapshot reputacional usado em perfis, rankings e análises comparativas.","operationId":"update_16","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateReputacaoDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseReputacaoDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar reputação de funcionário","tags":["reputacao-controller"]}},"/api/human-resources/reputacoes/{id}/actions":{"get":{"operationId":"getItemActions_24","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["reputacao-controller"]}},"/api/human-resources/reputacoes/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_24","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["reputacao-controller"]}},"/api/human-resources/reputacoes/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_24","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["reputacao-controller"]}},"/api/human-resources/vw-analytics-afastamentos/actions":{"get":{"operationId":"getCollectionActions_23","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["vw-analytics-afastamento-controller"]}},"/api/human-resources/vw-analytics-afastamentos/all":{"get":{"description":"Retorna a coleção completa da projection read-only para rotinas de análise, exportação e validação de painéis.","operationId":"getAll_23","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelVwAnalyticsAfastamentoDTO"}}},"description":"OK"}},"summary":"Consultar analytics de afastamentos","tags":["vw-analytics-afastamento-controller"]}},"/api/human-resources/vw-analytics-afastamentos/by-ids":{"get":{"description":"Reidrata linhas já selecionadas em painéis ou filtros salvos usando a identidade analítica estável.","operationId":"getByIds_23","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VwAnalyticsAfastamentoDTO"}}}},"description":"OK"}},"summary":"Buscar linhas analíticas de afastamento por ID","tags":["vw-analytics-afastamento-controller"]}},"/api/human-resources/vw-analytics-afastamentos/capabilities":{"get":{"operationId":"getCollectionCapabilities_23","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["vw-analytics-afastamento-controller"]}},"/api/human-resources/vw-analytics-afastamentos/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_23","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestVwAnalyticsAfastamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["vw-analytics-afastamento-controller"]}},"/api/human-resources/vw-analytics-afastamentos/filter":{"post":{"description":"Lista linhas mensais de afastamento atribuídas à lotação efetiva do período, com dias afastados e criticidade versionada para painéis corporativos.","operationId":"filter_23","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VwAnalyticsAfastamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelVwAnalyticsAfastamentoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelVwAnalyticsAfastamentoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar analytics de afastamentos por lotação histórica","tags":["vw-analytics-afastamento-controller"]}},"/api/human-resources/vw-analytics-afastamentos/filter/cursor":{"post":{"description":"Navega por grandes volumes de linhas analíticas de afastamento preservando filtros de competência, departamento e criticidade.","operationId":"filterByCursor_23","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VwAnalyticsAfastamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelVwAnalyticsAfastamentoDTO"}}},"description":"OK"}},"summary":"Percorrer analytics de afastamentos por cursor","tags":["vw-analytics-afastamento-controller"]}},"/api/human-resources/vw-analytics-afastamentos/locate":{"post":{"description":"Informa a posição de uma linha de analytics dentro do recorte filtrado para retomada de navegação em tabelas e dashboards.","operationId":"locate_23","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VwAnalyticsAfastamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"OK"}},"summary":"Localizar linha analítica de afastamento","tags":["vw-analytics-afastamento-controller"]}},"/api/human-resources/vw-analytics-afastamentos/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_23","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["vw-analytics-afastamento-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_23","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["vw-analytics-afastamento-controller"]}},"/api/human-resources/vw-analytics-afastamentos/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_23","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["vw-analytics-afastamento-controller"]}},"/api/human-resources/vw-analytics-afastamentos/options/by-ids":{"get":{"description":"Reidrata opções já selecionadas preservando a identidade analítica.","operationId":"getOptionsByIds_23","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOString"}}}},"description":"OK"}},"summary":"Carregar opções selecionadas de afastamentos","tags":["vw-analytics-afastamento-controller"]}},"/api/human-resources/vw-analytics-afastamentos/options/filter":{"post":{"description":"Produz opções compactas para seletores e composições de dashboard baseadas na projection de afastamentos.","operationId":"filterOptions_23","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VwAnalyticsAfastamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOString"}}},"description":"OK"}},"summary":"Selecionar linhas de analytics de afastamentos","tags":["vw-analytics-afastamento-controller"]}},"/api/human-resources/vw-analytics-afastamentos/schemas":{"get":{"operationId":"getSchema_23","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["vw-analytics-afastamento-controller"]}},"/api/human-resources/vw-analytics-afastamentos/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_23","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["vw-analytics-afastamento-controller"]}},"/api/human-resources/vw-analytics-afastamentos/stats/comparison":{"post":{"description":"Compara periodo atual e anterior por departamento efetivo, usando DISTINCT_COUNT de colaboradores e SUM de dias afastados.","operationId":"comparisonStats_23","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestVwAnalyticsAfastamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparar afastamentos por departamento","tags":["vw-analytics-afastamento-controller"],"x-ui":{"analytics":{"projections":[{"bindings":{"comparisonPeriod":{"field":"competencia","mode":"PREVIOUS_CALENDAR_PERIOD","preset":"THIS_MONTH","timezone":"America/Sao_Paulo"},"primaryDimension":{"field":"departamento","keyFilterField":"departamentoIdsIn","label":"Departamento","role":"category"},"primaryMetrics":[{"aggregation":"distinct_count","field":"funcionarioId","label":"Colaboradores"},{"aggregation":"sum","field":"diasAfastado","label":"Dias afastado"}]},"defaults":{"sort":[{"direction":"desc","field":"diasAfastado"}]},"governance":{"policyRefs":[{"attestation":{"policyIdField":"criticalityPolicyId","policyVersionField":"criticalityPolicyVersion"},"policyId":"hr-absence-criticality-v1","policyVersion":"2026-07-15","resultField":"criticalityLevel","role":"criticality"}]},"id":"absence-department-comparison","intent":"comparison","interactions":{"crossFilter":true,"recordOpen":{"sourceIdentityField":"funcionarioId","target":{"resourceKey":"human-resources.funcionarios","surfaceId":"hero-profile"}}},"presentationHints":{"preferredFamilies":["analytic-table","chart"]},"source":{"kind":"praxis.stats","operation":"comparison","resource":"/api/human-resources/vw-analytics-afastamentos"}}]}}}},"/api/human-resources/vw-analytics-afastamentos/stats/distribution":{"post":{"operationId":"distributionStats_23","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["vw-analytics-afastamento-controller"]}},"/api/human-resources/vw-analytics-afastamentos/stats/group-by":{"post":{"operationId":"groupByStats_23","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["vw-analytics-afastamento-controller"]}},"/api/human-resources/vw-analytics-afastamentos/stats/timeseries":{"post":{"operationId":"timeSeriesStats_23","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["vw-analytics-afastamento-controller"]}},"/api/human-resources/vw-analytics-afastamentos/{id}":{"get":{"description":"Retorna uma linha mensal de afastamento com lotação histórica, dias e criticidade versionada.","operationId":"getById_44","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseVwAnalyticsAfastamentoDTO"}}},"description":"OK"}},"summary":"Obter linha analítica de afastamento","tags":["vw-analytics-afastamento-controller"]}},"/api/human-resources/vw-analytics-afastamentos/{id}/actions":{"get":{"operationId":"getItemActions_23","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["vw-analytics-afastamento-controller"]}},"/api/human-resources/vw-analytics-afastamentos/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_23","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["vw-analytics-afastamento-controller"]}},"/api/human-resources/vw-analytics-afastamentos/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_23","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["vw-analytics-afastamento-controller"]}},"/api/human-resources/vw-analytics-folha-pagamento/actions":{"get":{"operationId":"getCollectionActions_22","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["vw-analytics-folha-pagamento-controller"]}},"/api/human-resources/vw-analytics-folha-pagamento/all":{"get":{"description":"Retorna a coleção completa da projeção analítica de folha para materialização em rotinas de análise, conciliação, exportação ou sincronização de painéis.","operationId":"getAll_22","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelVwAnalyticsFolhaPagamentoDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar base agregada de análise de folha de pagamento","tags":["vw-analytics-folha-pagamento-controller"]}},"/api/human-resources/vw-analytics-folha-pagamento/by-ids":{"get":{"description":"Recupera linhas analíticas já referenciadas por painéis, seleções ou comparações usando identificadores conhecidos de folha de pagamento.","operationId":"getByIds_22","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VwAnalyticsFolhaPagamentoDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VwAnalyticsFolhaPagamentoDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar registros analíticos de folha por identificadores de folha","tags":["vw-analytics-folha-pagamento-controller"]}},"/api/human-resources/vw-analytics-folha-pagamento/capabilities":{"get":{"operationId":"getCollectionCapabilities_22","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["vw-analytics-folha-pagamento-controller"]}},"/api/human-resources/vw-analytics-folha-pagamento/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_22","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestVwAnalyticsFolhaPagamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["vw-analytics-folha-pagamento-controller"]}},"/api/human-resources/vw-analytics-folha-pagamento/filter":{"post":{"description":"Lista registros analíticos de folha por competência, data de pagamento, funcionário, cargo, departamento, equipe, base, universo, perfil de folha, composição e faixas financeiras para painéis, conciliação e leitura gerencial.","operationId":"filter_22","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VwAnalyticsFolhaPagamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelVwAnalyticsFolhaPagamentoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelVwAnalyticsFolhaPagamentoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar visão analítica de folha por período, colaborador e composição financeira","tags":["vw-analytics-folha-pagamento-controller"]}},"/api/human-resources/vw-analytics-folha-pagamento/filter/cursor":{"post":{"description":"Navega por registros analíticos de folha usando cursor, preservando filtros de período, organização, perfil de folha e métricas financeiras em tabelas extensas.","operationId":"filterByCursor_22","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VwAnalyticsFolhaPagamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelVwAnalyticsFolhaPagamentoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelVwAnalyticsFolhaPagamentoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Percorrer visão analítica de folha em grandes volumes para painéis financeiros","tags":["vw-analytics-folha-pagamento-controller"]}},"/api/human-resources/vw-analytics-folha-pagamento/locate":{"post":{"description":"Informa a posição de uma linha analítica de folha em um recorte filtrado por período, colaborador ou dimensão organizacional para retomada de navegação em tabelas e painéis.","operationId":"locate_22","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VwAnalyticsFolhaPagamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar registro de folha dentro de um recorte analítico filtrado","tags":["vw-analytics-folha-pagamento-controller"]}},"/api/human-resources/vw-analytics-folha-pagamento/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_22","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["vw-analytics-folha-pagamento-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_22","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["vw-analytics-folha-pagamento-controller"]}},"/api/human-resources/vw-analytics-folha-pagamento/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_22","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["vw-analytics-folha-pagamento-controller"]}},"/api/human-resources/vw-analytics-folha-pagamento/options/by-ids":{"get":{"description":"Reidrata opções de análises de folha já escolhidas em formulários, filtros salvos ou painéis, preservando identificador e rótulo.","operationId":"getOptionsByIds_22","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar opções selecionadas de análise de folha","tags":["vw-analytics-folha-pagamento-controller"]}},"/api/human-resources/vw-analytics-folha-pagamento/options/filter":{"post":{"description":"Produz opções compactas de registros analíticos de folha para seleção em formulários, vínculos de painel e comparações guiadas.","operationId":"filterOptions_22","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VwAnalyticsFolhaPagamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar registros analíticos de folha para seletores e comparações","tags":["vw-analytics-folha-pagamento-controller"]}},"/api/human-resources/vw-analytics-folha-pagamento/schemas":{"get":{"operationId":"getSchema_22","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["vw-analytics-folha-pagamento-controller"]}},"/api/human-resources/vw-analytics-folha-pagamento/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_22","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["vw-analytics-folha-pagamento-controller"]}},"/api/human-resources/vw-analytics-folha-pagamento/stats/comparison":{"post":{"description":"Compara bruto, descontos e líquido do período atual e anterior por departamento efetivo na competência.","operationId":"comparisonStats_22","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestVwAnalyticsFolhaPagamentoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparar massa salarial por lotação efetiva","tags":["vw-analytics-folha-pagamento-controller"],"x-ui":{"analytics":{"projections":[{"bindings":{"comparisonPeriod":{"field":"competencia","mode":"PREVIOUS_CALENDAR_PERIOD","preset":"THIS_MONTH","timezone":"America/Sao_Paulo"},"primaryDimension":{"field":"departamento","keyFilterField":"departamentoId","label":"Departamento","role":"category"},"primaryMetrics":[{"aggregation":"sum","field":"salarioBruto","label":"Massa bruta"},{"aggregation":"sum","field":"totalDescontos","label":"Descontos"},{"aggregation":"sum","field":"salarioLiquido","label":"Massa líquida"}]},"defaults":{"sort":[{"direction":"desc","field":"salarioBruto"}]},"id":"payroll-department-comparison","intent":"comparison","interactions":{"crossFilter":true},"presentationHints":{"preferredFamilies":["analytic-table","chart"]},"source":{"kind":"praxis.stats","operation":"comparison","resource":"/api/human-resources/vw-analytics-folha-pagamento"}}]}}}},"/api/human-resources/vw-analytics-folha-pagamento/stats/distribution":{"post":{"operationId":"distributionStats_22","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["vw-analytics-folha-pagamento-controller"]}},"/api/human-resources/vw-analytics-folha-pagamento/stats/group-by":{"post":{"operationId":"groupByStats_22","requestBody":{"content":{"application/json":{"examples":{"payrollGroupBy":{"description":"payrollGroupBy","value":{"filter":{},"field":"universo","metrics":[{"metric":"sum","field":"salarioLiquido","alias":"salarioLiquido"}],"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"payrollGroupByResponse":{"description":"payrollGroupByResponse","value":{"success":true,"data":{"field":"universo","metrics":[{"field":"salarioLiquido","aggregation":"sum","alias":"salarioLiquido"}],"buckets":[{"key":"OPERACOES","label":"OPERACOES","values":{"salarioLiquido":125000.0}}]}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Agrupamento analítico de folha calculado com sucesso."}},"summary":"Agrupar salário líquido por universo, perfil ou composição de folha","tags":["vw-analytics-folha-pagamento-controller"],"x-ui":{"analytics":{"projections":[{"bindings":{"primaryDimension":{"field":"universo","label":"Universo","role":"category"},"primaryMetrics":[{"aggregation":"sum","field":"salarioLiquido","label":"Salário líquido"}]},"defaults":{"limit":10,"sort":[{"direction":"desc","field":"salarioLiquido"}]},"id":"payroll-ranking-table","intent":"ranking","interactions":{"drillDown":true},"presentationHints":{"preferredFamilies":["analytic-table"]},"source":{"kind":"praxis.stats","operation":"group-by","resource":"/api/human-resources/vw-analytics-folha-pagamento"}},{"bindings":{"primaryDimension":{"field":"universo","label":"Universo","role":"category"},"primaryMetrics":[{"aggregation":"sum","field":"salarioLiquido","label":"Salário líquido"}]},"defaults":{"limit":10,"sort":[{"direction":"desc","field":"salarioLiquido"}]},"id":"payroll-ranking-chart","intent":"ranking","interactions":{"drillDown":true},"presentationHints":{"preferredFamilies":["chart"]},"source":{"kind":"praxis.stats","operation":"group-by","resource":"/api/human-resources/vw-analytics-folha-pagamento"}},{"bindings":{"primaryDimension":{"field":"payrollProfile","label":"Perfil","role":"category"},"primaryMetrics":[{"aggregation":"count","field":"count","label":"Registros"}]},"defaults":{"limit":8,"sort":[{"direction":"desc","field":"count"}]},"id":"payroll-profile-chart","intent":"composition","interactions":{"pointSelection":true},"presentationHints":{"preferredFamilies":["chart"]},"source":{"kind":"praxis.stats","operation":"group-by","resource":"/api/human-resources/vw-analytics-folha-pagamento"}}]}}}},"/api/human-resources/vw-analytics-folha-pagamento/stats/timeseries":{"post":{"operationId":"timeSeriesStats_22","requestBody":{"content":{"application/json":{"examples":{"payrollTrend":{"description":"payrollTrend","value":{"filter":{},"field":"competencia","granularity":"month","metrics":[{"metric":"sum","field":"salarioLiquido","alias":"salarioLiquido"}]}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"payrollTrendResponse":{"description":"payrollTrendResponse","value":{"success":true,"data":{"field":"competencia","granularity":"month","metrics":[{"field":"salarioLiquido","aggregation":"sum","alias":"salarioLiquido"}],"points":[{"label":"2026-01","values":{"salarioLiquido":94250.35}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Série temporal de folha calculada com sucesso."}},"summary":"Calcular tendência mensal de salário líquido na folha","tags":["vw-analytics-folha-pagamento-controller"],"x-ui":{"analytics":{"projections":[{"bindings":{"primaryDimension":{"field":"competencia","label":"Competência","role":"time"},"primaryMetrics":[{"aggregation":"sum","field":"salarioLiquido","label":"Salário líquido"}]},"defaults":{"granularity":"month"},"id":"payroll-trend-chart","intent":"trend","interactions":{"pointSelection":true},"presentationHints":{"preferredFamilies":["chart"]},"source":{"kind":"praxis.stats","operation":"timeseries","resource":"/api/human-resources/vw-analytics-folha-pagamento"}}]}}}},"/api/human-resources/vw-analytics-folha-pagamento/{id}":{"get":{"description":"Retorna a linha analítica de folha com contexto de colaborador, organização, operação, competência, valores de folha, eventos e faixas financeiras para leitura gerencial ou composição de visões derivadas.","operationId":"getById_43","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseVwAnalyticsFolhaPagamentoDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseVwAnalyticsFolhaPagamentoDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter detalhe analítico de folha de um colaborador","tags":["vw-analytics-folha-pagamento-controller"]}},"/api/human-resources/vw-analytics-folha-pagamento/{id}/actions":{"get":{"operationId":"getItemActions_22","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["vw-analytics-folha-pagamento-controller"]}},"/api/human-resources/vw-analytics-folha-pagamento/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_22","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["vw-analytics-folha-pagamento-controller"]}},"/api/human-resources/vw-analytics-folha-pagamento/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_22","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["vw-analytics-folha-pagamento-controller"]}},"/api/human-resources/vw-perfil-heroi/actions":{"get":{"operationId":"getCollectionActions_21","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["vw-perfil-heroi-controller"]}},"/api/human-resources/vw-perfil-heroi/all":{"get":{"description":"Retorna todos os perfis consolidados como visão read-only de identidade, organização, reputação, habilidades e ancoragem operacional para materialização de diretórios e painéis.","operationId":"getAll_21","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelVwPerfilHeroiDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar visão completa de perfis 360","tags":["vw-perfil-heroi-controller"]}},"/api/human-resources/vw-perfil-heroi/by-ids":{"get":{"description":"Recupera perfis consolidados já referenciados em painéis, cards, filtros salvos ou fluxos de seleção usando o identificador do funcionário.","operationId":"getByIds_21","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VwPerfilHeroiDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VwPerfilHeroiDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar perfis 360 por identificadores de funcionário","tags":["vw-perfil-heroi-controller"]}},"/api/human-resources/vw-perfil-heroi/capabilities":{"get":{"operationId":"getCollectionCapabilities_21","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["vw-perfil-heroi-controller"]}},"/api/human-resources/vw-perfil-heroi/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_21","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestVwPerfilHeroiFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["vw-perfil-heroi-controller"]}},"/api/human-resources/vw-perfil-heroi/filter":{"post":{"description":"Lista perfis consolidados de funcionários com nome civil, codinome, universo, exposição pública, cargo, departamento, scores reputacionais, habilidades, equipe e base principal para diretórios, descoberta de talentos e visões integradas de RH.","operationId":"filter_21","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VwPerfilHeroiFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelVwPerfilHeroiDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelVwPerfilHeroiDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar perfis 360 por identidade, reputação e contexto operacional","tags":["vw-perfil-heroi-controller"]}},"/api/human-resources/vw-perfil-heroi/filter/cursor":{"post":{"description":"Navega por perfis consolidados usando cursor, preservando filtros de identidade, organização, reputação, habilidades, equipe e base em diretórios, buscas incrementais e visões ricas.","operationId":"filterByCursor_21","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VwPerfilHeroiFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelVwPerfilHeroiDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelVwPerfilHeroiDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Percorrer perfis 360 em listas extensas","tags":["vw-perfil-heroi-controller"]}},"/api/human-resources/vw-perfil-heroi/locate":{"post":{"description":"Informa a posição de um perfil consolidado em lista filtrada por identidade, reputação, habilidade ou contexto operacional para retomada de navegação em tabelas, cards e diretórios.","operationId":"locate_21","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VwPerfilHeroiFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar perfil 360 dentro de um recorte de descoberta","tags":["vw-perfil-heroi-controller"]}},"/api/human-resources/vw-perfil-heroi/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_21","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["vw-perfil-heroi-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_21","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["vw-perfil-heroi-controller"]}},"/api/human-resources/vw-perfil-heroi/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_21","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["vw-perfil-heroi-controller"]}},"/api/human-resources/vw-perfil-heroi/options/by-ids":{"get":{"description":"Reidrata opções de perfis consolidados escolhidas em formulários, diretórios, filtros salvos ou painéis, preservando identificador e rótulo de exibição.","operationId":"getOptionsByIds_21","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar opções de perfis 360 já selecionadas","tags":["vw-perfil-heroi-controller"]}},"/api/human-resources/vw-perfil-heroi/options/filter":{"post":{"description":"Produz opções compactas de perfis consolidados para campos de seleção, busca, experiências de descoberta e comparação de talentos.","operationId":"filterOptions_21","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VwPerfilHeroiFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar perfis 360 para descoberta e comparação","tags":["vw-perfil-heroi-controller"]}},"/api/human-resources/vw-perfil-heroi/schemas":{"get":{"operationId":"getSchema_21","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["vw-perfil-heroi-controller"]}},"/api/human-resources/vw-perfil-heroi/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_21","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["vw-perfil-heroi-controller"]}},"/api/human-resources/vw-perfil-heroi/stats/comparison":{"post":{"operationId":"comparisonStats_21","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestVwPerfilHeroiFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["vw-perfil-heroi-controller"]}},"/api/human-resources/vw-perfil-heroi/stats/distribution":{"post":{"operationId":"distributionStats_21","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["vw-perfil-heroi-controller"]}},"/api/human-resources/vw-perfil-heroi/stats/group-by":{"post":{"operationId":"groupByStats_21","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["vw-perfil-heroi-controller"]}},"/api/human-resources/vw-perfil-heroi/stats/timeseries":{"post":{"operationId":"timeSeriesStats_21","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["vw-perfil-heroi-controller"]}},"/api/human-resources/vw-perfil-heroi/{id}":{"get":{"description":"Retorna a visão consolidada de um funcionário com identidade, reputação, habilidades, cargo, departamento, equipe e base para exibição rica, consulta integrada e composição de visões derivadas.","operationId":"getById_42","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseVwPerfilHeroiDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseVwPerfilHeroiDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter detalhe de perfil 360","tags":["vw-perfil-heroi-controller"]}},"/api/human-resources/vw-perfil-heroi/{id}/actions":{"get":{"operationId":"getItemActions_21","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["vw-perfil-heroi-controller"]}},"/api/human-resources/vw-perfil-heroi/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_21","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["vw-perfil-heroi-controller"]}},"/api/human-resources/vw-perfil-heroi/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_21","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["vw-perfil-heroi-controller"]}},"/api/human-resources/vw-ranking-reputacao/actions":{"get":{"operationId":"getCollectionActions_20","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["vw-ranking-reputacao-controller"]}},"/api/human-resources/vw-ranking-reputacao/all":{"get":{"description":"Retorna todos os registros da visão read-only de ranking reputacional para materializar base comparativa, diretórios ordenados, exportações e painéis executivos.","operationId":"getAll_20","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelVwRankingReputacaoDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar visão completa do ranking de reputação","tags":["vw-ranking-reputacao-controller"]}},"/api/human-resources/vw-ranking-reputacao/by-ids":{"get":{"description":"Recupera linhas de ranking já referenciadas em painéis, seleções, filtros salvos ou comparações usando o identificador do funcionário.","operationId":"getByIds_20","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VwRankingReputacaoDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VwRankingReputacaoDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar registros de ranking por identificadores de funcionário","tags":["vw-ranking-reputacao-controller"]}},"/api/human-resources/vw-ranking-reputacao/capabilities":{"get":{"operationId":"getCollectionCapabilities_20","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["vw-ranking-reputacao-controller"]}},"/api/human-resources/vw-ranking-reputacao/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_20","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestVwRankingReputacaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["vw-ranking-reputacao-controller"]}},"/api/human-resources/vw-ranking-reputacao/filter":{"post":{"description":"Lista a visão comparativa de reputação por funcionário, codinome, equipe, score público, score governamental, média composta e posição para rankings, comparação de perfis e acompanhamento de exposição.","operationId":"filter_20","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VwRankingReputacaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelVwRankingReputacaoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelVwRankingReputacaoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar ranking de reputação por colaborador, equipe e scores","tags":["vw-ranking-reputacao-controller"]}},"/api/human-resources/vw-ranking-reputacao/filter/cursor":{"post":{"description":"Navega por registros de ranking usando cursor, preservando filtros de colaborador, codinome, equipe, scores, média e posição em tabelas comparativas, diretórios ordenados e painéis.","operationId":"filterByCursor_20","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VwRankingReputacaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelVwRankingReputacaoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelVwRankingReputacaoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Percorrer ranking de reputação em listas extensas","tags":["vw-ranking-reputacao-controller"]}},"/api/human-resources/vw-ranking-reputacao/locate":{"post":{"description":"Informa a posição de um funcionário no ranking filtrado por equipe, scores, média ou faixa ordinal para retomada de navegação em comparações e painéis.","operationId":"locate_20","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VwRankingReputacaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar posição em ranking de reputação filtrado","tags":["vw-ranking-reputacao-controller"]}},"/api/human-resources/vw-ranking-reputacao/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_20","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["vw-ranking-reputacao-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_20","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["vw-ranking-reputacao-controller"]}},"/api/human-resources/vw-ranking-reputacao/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_20","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["vw-ranking-reputacao-controller"]}},"/api/human-resources/vw-ranking-reputacao/options/by-ids":{"get":{"description":"Reidrata opções de ranking escolhidas em formulários, comparações, filtros salvos ou painéis, preservando identificador e rótulo de exibição.","operationId":"getOptionsByIds_20","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar opções de ranking já selecionadas","tags":["vw-ranking-reputacao-controller"]}},"/api/human-resources/vw-ranking-reputacao/options/filter":{"post":{"description":"Produz opções compactas do ranking para campos de seleção, busca, comparação de perfis e filtros de painéis reputacionais.","operationId":"filterOptions_20","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VwRankingReputacaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar registros de ranking para comparações guiadas","tags":["vw-ranking-reputacao-controller"]}},"/api/human-resources/vw-ranking-reputacao/schemas":{"get":{"operationId":"getSchema_20","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["vw-ranking-reputacao-controller"]}},"/api/human-resources/vw-ranking-reputacao/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_20","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["vw-ranking-reputacao-controller"]}},"/api/human-resources/vw-ranking-reputacao/stats/comparison":{"post":{"operationId":"comparisonStats_20","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestVwRankingReputacaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["vw-ranking-reputacao-controller"]}},"/api/human-resources/vw-ranking-reputacao/stats/distribution":{"post":{"operationId":"distributionStats_20","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["vw-ranking-reputacao-controller"]}},"/api/human-resources/vw-ranking-reputacao/stats/group-by":{"post":{"operationId":"groupByStats_20","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["vw-ranking-reputacao-controller"]}},"/api/human-resources/vw-ranking-reputacao/stats/timeseries":{"post":{"operationId":"timeSeriesStats_20","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["vw-ranking-reputacao-controller"]}},"/api/human-resources/vw-ranking-reputacao/{id}":{"get":{"description":"Retorna a linha de ranking de um funcionário com codinome, equipe, scores, média composta e posição para leitura comparativa, análise reputacional e composição de painéis.","operationId":"getById_41","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseVwRankingReputacaoDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseVwRankingReputacaoDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter detalhe de ranking de reputação","tags":["vw-ranking-reputacao-controller"]}},"/api/human-resources/vw-ranking-reputacao/{id}/actions":{"get":{"operationId":"getItemActions_20","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["vw-ranking-reputacao-controller"]}},"/api/human-resources/vw-ranking-reputacao/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_20","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["vw-ranking-reputacao-controller"]}},"/api/human-resources/vw-ranking-reputacao/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_20","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["vw-ranking-reputacao-controller"]}},"/api/operations/acordos-regulatorios":{"post":{"description":"Cadastra uma nova regra regulatória com jurisdição, vigência e status para governar licenças e fluxos operacionais.","operationId":"create_21","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAcordosRegulatorioDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAcordosRegulatorioDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar acordo regulatório de operação","tags":["acordos-regulatorio-controller"]}},"/api/operations/acordos-regulatorios/actions":{"get":{"operationId":"getCollectionActions_19","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["acordos-regulatorio-controller"]}},"/api/operations/acordos-regulatorios/all":{"get":{"description":"Retorna o cadastro completo de acordos quando o consumidor precisa materializar todas as regras aplicáveis para conferência, exportação ou sincronização.","operationId":"getAll_19","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelAcordosRegulatorioDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar acordos regulatórios de operação","tags":["acordos-regulatorio-controller"]}},"/api/operations/acordos-regulatorios/by-ids":{"get":{"description":"Recupera acordos já vinculados a licenças, operações ou seleções anteriores sem reaplicar filtros de compliance.","operationId":"getByIds_19","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AcordosRegulatorioDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AcordosRegulatorioDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar acordos regulatórios de operação por IDs","tags":["acordos-regulatorio-controller"]}},"/api/operations/acordos-regulatorios/capabilities":{"get":{"operationId":"getCollectionCapabilities_19","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["acordos-regulatorio-controller"]}},"/api/operations/acordos-regulatorios/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_19","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestAcordosRegulatorioFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["acordos-regulatorio-controller"]}},"/api/operations/acordos-regulatorios/filter":{"post":{"description":"Lista acordos por jurisdição, status, vigência e vínculo regulatório para identificar quais regras condicionam missões, licenças e atividades operacionais.","operationId":"filter_19","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcordosRegulatorioFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelAcordosRegulatorioDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelAcordosRegulatorioDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar acordos regulatórios de operação","tags":["acordos-regulatorio-controller"]}},"/api/operations/acordos-regulatorios/filter/cursor":{"post":{"description":"Percorre acordos regulatórios em catálogos extensos usando cursor, útil para compliance operacional, auditoria contínua e telas com rolagem incremental.","operationId":"filterByCursor_19","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcordosRegulatorioFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelAcordosRegulatorioDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelAcordosRegulatorioDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar acordos regulatórios de operação com paginação por cursor","tags":["acordos-regulatorio-controller"]}},"/api/operations/acordos-regulatorios/locate":{"post":{"description":"Informa em qual posição um acordo aparece dentro do recorte filtrado, útil para retornar ao registro em tabelas de compliance e governança operacional.","operationId":"locate_19","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcordosRegulatorioFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar acordo regulatório de operação em listas filtradas","tags":["acordos-regulatorio-controller"]}},"/api/operations/acordos-regulatorios/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_19","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["acordos-regulatorio-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_19","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["acordos-regulatorio-controller"]}},"/api/operations/acordos-regulatorios/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_19","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["acordos-regulatorio-controller"]}},"/api/operations/acordos-regulatorios/options/by-ids":{"get":{"description":"Reidrata opções de acordos já escolhidos em formulários e filtros salvos, preservando identificador e rótulo exibido.","operationId":"getOptionsByIds_19","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar acordos regulatórios de operação selecionados","tags":["acordos-regulatorio-controller"]}},"/api/operations/acordos-regulatorios/options/filter":{"post":{"description":"Produz opções compactas de acordos para campos de seleção, autocomplete e vínculos regulatórios orientados por busca.","operationId":"filterOptions_19","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcordosRegulatorioFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar acordos regulatórios de operação para formulários","tags":["acordos-regulatorio-controller"]}},"/api/operations/acordos-regulatorios/schemas":{"get":{"operationId":"getSchema_19","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["acordos-regulatorio-controller"]}},"/api/operations/acordos-regulatorios/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_19","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["acordos-regulatorio-controller"]}},"/api/operations/acordos-regulatorios/stats/comparison":{"post":{"operationId":"comparisonStats_19","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestAcordosRegulatorioFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["acordos-regulatorio-controller"]}},"/api/operations/acordos-regulatorios/stats/distribution":{"post":{"operationId":"distributionStats_19","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","summary":"Distribuicao por histograma com COUNT","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequestAcordosRegulatorioFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","summary":"Buckets de histograma canonicos","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}},{"key":"1000","label":"1000-2000","count":7,"metrics":{"count":7}}]}}}},"schema":{"$ref":"#/components/schemas/RestApiResponseDistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseDistributionStatsResponse"}}},"description":"Request de stats invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseDistributionStatsResponse"}}},"description":"Stats nao suportado pelo recurso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["acordos-regulatorio-controller"]}},"/api/operations/acordos-regulatorios/stats/group-by":{"post":{"operationId":"groupByStats_19","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","summary":"Agrupamento por status com COUNT","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequestAcordosRegulatorioFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","summary":"Buckets agregados por status","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}},{"key":"INATIVO","label":"INATIVO","count":8,"metrics":{"count":8}}],"totalBuckets":2,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/RestApiResponseGroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseGroupByStatsResponse"}}},"description":"Request de stats invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseGroupByStatsResponse"}}},"description":"Stats nao suportado pelo recurso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["acordos-regulatorio-controller"]}},"/api/operations/acordos-regulatorios/stats/timeseries":{"post":{"operationId":"timeSeriesStats_19","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","summary":"Serie diaria com SUM e fillGaps","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequestAcordosRegulatorioFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","summary":"Pontos de serie temporal com datas ISO","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}},{"key":"2026-01-02","label":"2026-01-02","count":0,"metrics":{"sum_amount":0.0}}]}}}},"schema":{"$ref":"#/components/schemas/RestApiResponseTimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseTimeSeriesStatsResponse"}}},"description":"Request de stats invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseTimeSeriesStatsResponse"}}},"description":"Stats nao suportado pelo recurso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["acordos-regulatorio-controller"]}},"/api/operations/acordos-regulatorios/{id}":{"get":{"description":"Retorna o detalhe de um acordo para inspeção de compliance, auditoria documental ou composição de surfaces dependentes.","operationId":"getById_16","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAcordosRegulatorioDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAcordosRegulatorioDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter acordo regulatório de operação","tags":["acordos-regulatorio-controller"]},"put":{"description":"Atualiza metadados e condições de um acordo existente sem alterar sua identidade no catálogo regulatório.","operationId":"update_15","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAcordosRegulatorioDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAcordosRegulatorioDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar acordo regulatório de operação","tags":["acordos-regulatorio-controller"]}},"/api/operations/acordos-regulatorios/{id}/actions":{"get":{"operationId":"getItemActions_19","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["acordos-regulatorio-controller"]}},"/api/operations/acordos-regulatorios/{id}/actions/reinstate":{"post":{"description":"Reativa um acordo suspenso e republica sua disponibilidade para ações e surfaces dependentes.","operationId":"reinstate_1","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Correlation-ID","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcordoRegulatorioWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAcordoRegulatorioWorkflowResultDTO"}}},"description":"Acordo reativado ou replay idempotente retornado."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAcordoRegulatorioWorkflowResultDTO"}}},"description":"Command ou Idempotency-Key invalido."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAcordoRegulatorioWorkflowResultDTO"}}},"description":"Estado ou chave idempotente conflitante."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAcordoRegulatorioWorkflowResultDTO"}}},"description":"ETag nao corresponde a versao persistida."},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAcordoRegulatorioWorkflowResultDTO"}}},"description":"If-Match nao informado."}},"summary":"Reativar acordo regulatório","tags":["acordos-regulatorio-controller"]}},"/api/operations/acordos-regulatorios/{id}/actions/revoke":{"post":{"description":"Revoga definitivamente o acordo e encerra sua elegibilidade operacional nos catálogos do recurso.","operationId":"revoke","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Correlation-ID","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcordoRegulatorioWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAcordoRegulatorioWorkflowResultDTO"}}},"description":"Acordo revogado ou replay idempotente retornado."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAcordoRegulatorioWorkflowResultDTO"}}},"description":"Command ou Idempotency-Key invalido."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAcordoRegulatorioWorkflowResultDTO"}}},"description":"Estado ou chave idempotente conflitante."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAcordoRegulatorioWorkflowResultDTO"}}},"description":"ETag nao corresponde a versao persistida."},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAcordoRegulatorioWorkflowResultDTO"}}},"description":"If-Match nao informado."}},"summary":"Revogar acordo regulatório","tags":["acordos-regulatorio-controller"]}},"/api/operations/acordos-regulatorios/{id}/actions/suspend":{"post":{"description":"Suspende o acordo e publica a transição de estado para catálogos de workflow e capabilities.","operationId":"suspend_1","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Correlation-ID","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcordoRegulatorioWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAcordoRegulatorioWorkflowResultDTO"}}},"description":"Acordo suspenso ou replay idempotente retornado."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAcordoRegulatorioWorkflowResultDTO"}}},"description":"Command ou Idempotency-Key invalido."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAcordoRegulatorioWorkflowResultDTO"}}},"description":"Estado ou chave idempotente conflitante."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAcordoRegulatorioWorkflowResultDTO"}}},"description":"ETag nao corresponde a versao persistida."},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAcordoRegulatorioWorkflowResultDTO"}}},"description":"If-Match nao informado."}},"summary":"Suspender acordo regulatório","tags":["acordos-regulatorio-controller"]}},"/api/operations/acordos-regulatorios/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_19","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["acordos-regulatorio-controller"]}},"/api/operations/acordos-regulatorios/{id}/review":{"patch":{"description":"Atualiza jurisdição, descrição e metadados documentais do acordo sem alterar seu estado de ciclo de vida.","operationId":"review_1","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewAcordosRegulatorioDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAcordosRegulatorioDTO"}}},"description":"Metadados regulatórios revisados com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAcordosRegulatorioDTO"}}},"description":"Requisição inválida ou dados inconsistentes."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAcordosRegulatorioDTO"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAcordosRegulatorioDTO"}}},"description":"Estado atual não permite revisão."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAcordosRegulatorioDTO"}}},"description":"ETag nao corresponde a versao persistida."},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAcordosRegulatorioDTO"}}},"description":"If-Match nao informado."}},"summary":"Revisar metadados do acordo regulatório","tags":["acordos-regulatorio-controller"]}},"/api/operations/acordos-regulatorios/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_19","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["acordos-regulatorio-controller"]}},"/api/operations/base-acessos":{"post":{"description":"Cadastra uma nova permissão de entrada relacionando pessoa, base, nível de autorização e vigência operacional.","operationId":"create_20","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBaseAcessoDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBaseAcessoDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar acesso a base operacional","tags":["base-acesso-controller"]}},"/api/operations/base-acessos/actions":{"get":{"operationId":"getCollectionActions_18","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["base-acesso-controller"]}},"/api/operations/base-acessos/all":{"get":{"description":"Retorna o cadastro completo de acessos quando o consumidor precisa materializar todas as permissões para conferência, exportação ou reconciliação.","operationId":"getAll_18","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelBaseAcessoDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar acessos a bases operacionais","tags":["base-acesso-controller"]}},"/api/operations/base-acessos/batch":{"delete":{"description":"Exclui múltiplas permissões em uma única chamada para saneamento administrativo ou limpeza de dados de demonstração.","operationId":"deleteBatch_15","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Registros removidos com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Lista de IDs inválida."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover acessos a bases operacionais em lote","tags":["base-acesso-controller"]}},"/api/operations/base-acessos/by-ids":{"get":{"description":"Recupera permissões já referenciadas por outro fluxo sem reaplicar filtros de base, pessoa ou status.","operationId":"getByIds_18","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BaseAcessoDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BaseAcessoDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar acessos a bases operacionais por IDs","tags":["base-acesso-controller"]}},"/api/operations/base-acessos/capabilities":{"get":{"operationId":"getCollectionCapabilities_18","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["base-acesso-controller"]}},"/api/operations/base-acessos/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_18","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestBaseAcessoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["base-acesso-controller"]}},"/api/operations/base-acessos/filter":{"post":{"description":"Lista acessos por base, colaborador, nível de autorização, vigência e status para auditoria de entrada e governança operacional.","operationId":"filter_18","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseAcessoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelBaseAcessoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelBaseAcessoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar acessos a bases operacionais","tags":["base-acesso-controller"]}},"/api/operations/base-acessos/filter/cursor":{"post":{"description":"Percorre grandes volumes de permissões de acesso com cursor, útil para auditoria contínua, catálogos extensos e navegação incremental.","operationId":"filterByCursor_18","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseAcessoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelBaseAcessoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelBaseAcessoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar acessos a bases operacionais com paginação por cursor","tags":["base-acesso-controller"]}},"/api/operations/base-acessos/locate":{"post":{"description":"Informa em qual posição um acesso aparece dentro do recorte filtrado, útil para retomar a análise de um vínculo específico em tabelas operacionais.","operationId":"locate_18","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseAcessoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar acesso a base operacional em listas filtradas","tags":["base-acesso-controller"]}},"/api/operations/base-acessos/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_18","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["base-acesso-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_18","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["base-acesso-controller"]}},"/api/operations/base-acessos/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_18","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["base-acesso-controller"]}},"/api/operations/base-acessos/options/by-ids":{"get":{"description":"Reidrata opções de acessos já escolhidos em formulários e filtros salvos, preservando identificador e rótulo exibido.","operationId":"getOptionsByIds_18","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar acessos a bases operacionais selecionados","tags":["base-acesso-controller"]}},"/api/operations/base-acessos/options/filter":{"post":{"description":"Produz opções compactas de acessos para formulários administrativos, lookup e vínculos que partem de permissões já filtradas.","operationId":"filterOptions_18","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseAcessoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar acessos a bases operacionais para formulários","tags":["base-acesso-controller"]}},"/api/operations/base-acessos/schemas":{"get":{"operationId":"getSchema_18","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["base-acesso-controller"]}},"/api/operations/base-acessos/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_18","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["base-acesso-controller"]}},"/api/operations/base-acessos/stats/comparison":{"post":{"operationId":"comparisonStats_18","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestBaseAcessoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["base-acesso-controller"]}},"/api/operations/base-acessos/stats/distribution":{"post":{"operationId":"distributionStats_18","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["base-acesso-controller"]}},"/api/operations/base-acessos/stats/group-by":{"post":{"operationId":"groupByStats_18","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["base-acesso-controller"]}},"/api/operations/base-acessos/stats/timeseries":{"post":{"operationId":"timeSeriesStats_18","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["base-acesso-controller"]}},"/api/operations/base-acessos/{id}":{"delete":{"description":"Exclui uma permissão quando ela não deve mais compor o catálogo operacional nem ser reutilizada em novos fluxos.","operationId":"delete_16","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Registro removido com sucesso."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover acesso a base operacional","tags":["base-acesso-controller"]},"get":{"description":"Retorna o detalhe de uma permissão para inspeção de auditoria, revisão de autorização ou composição de surfaces dependentes.","operationId":"getById_15","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBaseAcessoDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBaseAcessoDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter acesso a base operacional","tags":["base-acesso-controller"]},"put":{"description":"Atualiza os dados de autorização de um vínculo existente sem perder sua identidade nem o histórico de auditoria associado.","operationId":"update_14","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBaseAcessoDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBaseAcessoDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar acesso a base operacional","tags":["base-acesso-controller"]}},"/api/operations/base-acessos/{id}/actions":{"get":{"operationId":"getItemActions_18","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["base-acesso-controller"]}},"/api/operations/base-acessos/{id}/actions/activate":{"post":{"description":"Ativa o vínculo de acesso e publica a transição para catálogos de ações, capabilities e auditoria operacional.","operationId":"activate_4","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseAcessoWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBaseAcessoWorkflowResultDTO"}}},"description":"OK"}},"summary":"Ativar acesso à base","tags":["base-acesso-controller"]}},"/api/operations/base-acessos/{id}/actions/deactivate":{"post":{"description":"Desativa o vínculo de acesso preservando o contexto de auditoria e a rastreabilidade da autorização concedida.","operationId":"deactivate","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseAcessoWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBaseAcessoWorkflowResultDTO"}}},"description":"OK"}},"summary":"Desativar acesso à base","tags":["base-acesso-controller"]}},"/api/operations/base-acessos/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_18","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["base-acesso-controller"]}},"/api/operations/base-acessos/{id}/review-access":{"patch":{"description":"Ajusta nível de acesso e metadados de autorização preservando o histórico do vínculo entre pessoa e base.","operationId":"reviewAccess","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReviewBaseAcessoDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBaseAcessoDTO"}}},"description":"Autorização revisada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBaseAcessoDTO"}}},"description":"Requisição inválida ou dados inconsistentes."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBaseAcessoDTO"}}},"description":"Registro não encontrado."}},"summary":"Revisar autorização de acesso à base","tags":["base-acesso-controller"]}},"/api/operations/base-acessos/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_18","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["base-acesso-controller"]}},"/api/operations/bases":{"post":{"description":"Cadastra uma nova base com metadados logísticos e de sigilo para uso em planejamento, acesso e alocação operacional.","operationId":"create_19","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateBaseDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBaseDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar base operacional","tags":["base-controller"]}},"/api/operations/bases/actions":{"get":{"operationId":"getCollectionActions_17","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["base-controller"]}},"/api/operations/bases/all":{"get":{"description":"Retorna o cadastro completo de bases quando o consumidor precisa materializar todo o catálogo para exportação, conferência ou sincronização.","operationId":"getAll_17","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelBaseDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar bases operacionais","tags":["base-controller"]}},"/api/operations/bases/batch":{"delete":{"description":"Exclui múltiplas bases em uma única chamada para saneamento administrativo ou limpeza de dados de demonstração.","operationId":"deleteBatch_14","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Registros removidos com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Lista de IDs inválida."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover bases operacionais em lote","tags":["base-controller"]}},"/api/operations/bases/by-ids":{"get":{"description":"Recupera bases já referenciadas por missões, acessos ou seleções anteriores sem reaplicar filtros de busca.","operationId":"getByIds_17","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BaseDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/BaseDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar bases operacionais por IDs","tags":["base-controller"]}},"/api/operations/bases/capabilities":{"get":{"operationId":"getCollectionCapabilities_17","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["base-controller"]}},"/api/operations/bases/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_17","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestBaseFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["base-controller"]}},"/api/operations/bases/filter":{"post":{"description":"Lista bases por nome, tipo, localização, status logístico e nível de sigilo para planejamento operacional, distribuição e apoio de campo.","operationId":"filter_17","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelBaseDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelBaseDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar bases operacionais","tags":["base-controller"]}},"/api/operations/bases/filter/cursor":{"post":{"description":"Percorre bases em catálogos extensos usando cursor, útil para dashboards logísticos, discovery incremental e telas com rolagem contínua.","operationId":"filterByCursor_17","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelBaseDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelBaseDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar bases operacionais com paginação por cursor","tags":["base-controller"]}},"/api/operations/bases/locate":{"post":{"description":"Informa em qual posição uma base aparece dentro do recorte filtrado, útil para reencontrar o registro em tabelas operacionais.","operationId":"locate_17","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar base operacional em listas filtradas","tags":["base-controller"]}},"/api/operations/bases/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_17","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["base-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_17","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["base-controller"]}},"/api/operations/bases/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_17","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["base-controller"]}},"/api/operations/bases/options/by-ids":{"get":{"description":"Reidrata opções de bases já escolhidas em formulários e filtros salvos, preservando rótulo e identificador.","operationId":"getOptionsByIds_17","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar bases operacionais selecionadas","tags":["base-controller"]}},"/api/operations/bases/options/filter":{"post":{"description":"Produz opções compactas de bases para campos de seleção, autocomplete e vínculos operacionais orientados por filtro textual.","operationId":"filterOptions_17","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BaseFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar bases operacionais para formulários","tags":["base-controller"]}},"/api/operations/bases/schemas":{"get":{"operationId":"getSchema_17","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["base-controller"]}},"/api/operations/bases/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_17","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["base-controller"]}},"/api/operations/bases/stats/comparison":{"post":{"operationId":"comparisonStats_17","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestBaseFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["base-controller"]}},"/api/operations/bases/stats/distribution":{"post":{"operationId":"distributionStats_17","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["base-controller"]}},"/api/operations/bases/stats/group-by":{"post":{"operationId":"groupByStats_17","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["base-controller"]}},"/api/operations/bases/stats/timeseries":{"post":{"operationId":"timeSeriesStats_17","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["base-controller"]}},"/api/operations/bases/{id}":{"delete":{"description":"Exclui uma base quando ela deixa de compor o catálogo operacional e não deve mais aparecer em novas consultas ou vínculos.","operationId":"delete_15","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Registro removido com sucesso."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover base operacional","tags":["base-controller"]},"get":{"description":"Retorna o detalhe de uma base para inspeção operacional, auditoria de cadastro ou montagem de surfaces dependentes.","operationId":"getById_14","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBaseDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBaseDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter base operacional","tags":["base-controller"]},"put":{"description":"Atualiza dados estruturais da base sem alterar sua identidade, mantendo coerência para consumidores que dependem do cadastro.","operationId":"update_13","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBaseDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBaseDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar base operacional","tags":["base-controller"]}},"/api/operations/bases/{id}/actions":{"get":{"operationId":"getItemActions_17","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["base-controller"]}},"/api/operations/bases/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_17","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["base-controller"]}},"/api/operations/bases/{id}/ops-context":{"patch":{"description":"Ajusta sigilo, localização e contexto tático da base sem recriar o cadastro principal nem perder o histórico associado.","operationId":"updateOpsContext","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBaseOpsContextDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBaseDTO"}}},"description":"Contexto operacional atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBaseDTO"}}},"description":"Requisição inválida ou dados inconsistentes."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBaseDTO"}}},"description":"Registro não encontrado."}},"summary":"Atualizar contexto operacional da base","tags":["base-controller"]}},"/api/operations/bases/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_17","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["base-controller"]}},"/api/operations/equipe-membros":{"post":{"description":"Cadastra a associação entre equipe e participante com papel, vigência e contexto operacional.","operationId":"create_18","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEquipeMembroDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseEquipeMembroDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar vínculo de membro de equipe","tags":["equipe-membro-controller"]}},"/api/operations/equipe-membros/actions":{"get":{"operationId":"getCollectionActions_16","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["equipe-membro-controller"]}},"/api/operations/equipe-membros/all":{"get":{"description":"Retorna o cadastro completo de vínculos entre equipes e participantes quando o consumidor precisa materializar a composição operacional integral.","operationId":"getAll_16","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelEquipeMembroDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar vínculos de membros de equipe","tags":["equipe-membro-controller"]}},"/api/operations/equipe-membros/batch":{"delete":{"description":"Exclui múltiplos vínculos em uma única chamada para saneamento administrativo ou limpeza de dados de demonstração.","operationId":"deleteBatch_13","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Registros removidos com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Lista de IDs inválida."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover vínculos de membros de equipe em lote","tags":["equipe-membro-controller"]}},"/api/operations/equipe-membros/by-ids":{"get":{"description":"Recupera vínculos já referenciados por outro fluxo sem reaplicar filtros de equipe, pessoa ou papel.","operationId":"getByIds_16","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EquipeMembroDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EquipeMembroDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar vínculos de membros de equipe por IDs","tags":["equipe-membro-controller"]}},"/api/operations/equipe-membros/capabilities":{"get":{"operationId":"getCollectionCapabilities_16","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["equipe-membro-controller"]}},"/api/operations/equipe-membros/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_16","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestEquipeMembroFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["equipe-membro-controller"]}},"/api/operations/equipe-membros/filter":{"post":{"description":"Lista vínculos entre equipes e participantes por papel, status, período e missão associada para gestão de composição operacional.","operationId":"filter_16","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipeMembroFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelEquipeMembroDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelEquipeMembroDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar vínculos de membros de equipe","tags":["equipe-membro-controller"]}},"/api/operations/equipe-membros/filter/cursor":{"post":{"description":"Percorre vínculos de equipe em catálogos extensos usando cursor, útil para escalas operacionais e telas com navegação incremental.","operationId":"filterByCursor_16","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipeMembroFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelEquipeMembroDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelEquipeMembroDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar vínculos de membros de equipe com paginação por cursor","tags":["equipe-membro-controller"]}},"/api/operations/equipe-membros/locate":{"post":{"description":"Informa em qual posição um vínculo aparece dentro do recorte filtrado, útil para retomar a análise de composição em tabelas operacionais.","operationId":"locate_16","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipeMembroFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar vínculo de membro de equipe em listas filtradas","tags":["equipe-membro-controller"]}},"/api/operations/equipe-membros/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_16","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["equipe-membro-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_16","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["equipe-membro-controller"]}},"/api/operations/equipe-membros/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_16","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["equipe-membro-controller"]}},"/api/operations/equipe-membros/options/by-ids":{"get":{"description":"Reidrata opções de vínculos já escolhidos em formulários e filtros salvos, preservando identificador e rótulo exibido.","operationId":"getOptionsByIds_16","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar vínculos de membros de equipe selecionados","tags":["equipe-membro-controller"]}},"/api/operations/equipe-membros/options/filter":{"post":{"description":"Produz opções compactas de vínculos para formulários administrativos, lookup e seleção contextual dentro do domínio de equipes.","operationId":"filterOptions_16","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipeMembroFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar vínculos de membros de equipe para formulários","tags":["equipe-membro-controller"]}},"/api/operations/equipe-membros/schemas":{"get":{"operationId":"getSchema_16","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["equipe-membro-controller"]}},"/api/operations/equipe-membros/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_16","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["equipe-membro-controller"]}},"/api/operations/equipe-membros/stats/comparison":{"post":{"operationId":"comparisonStats_16","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestEquipeMembroFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["equipe-membro-controller"]}},"/api/operations/equipe-membros/stats/distribution":{"post":{"operationId":"distributionStats_16","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["equipe-membro-controller"]}},"/api/operations/equipe-membros/stats/group-by":{"post":{"operationId":"groupByStats_16","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["equipe-membro-controller"]}},"/api/operations/equipe-membros/stats/timeseries":{"post":{"operationId":"timeSeriesStats_16","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["equipe-membro-controller"]}},"/api/operations/equipe-membros/{id}":{"delete":{"description":"Exclui a associação entre participante e equipe quando ela não deve mais compor escalas ou missões.","operationId":"delete_14","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Registro removido com sucesso."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover vínculo de membro de equipe","tags":["equipe-membro-controller"]},"get":{"description":"Retorna o detalhe de um vínculo para inspeção de papel, vigência e participação na estrutura operacional.","operationId":"getById_13","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseEquipeMembroDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseEquipeMembroDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter vínculo de membro de equipe","tags":["equipe-membro-controller"]},"put":{"description":"Atualiza papel e metadados do vínculo sem alterar sua identidade na composição operacional.","operationId":"update_12","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateEquipeMembroDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseEquipeMembroDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar vínculo de membro de equipe","tags":["equipe-membro-controller"]}},"/api/operations/equipe-membros/{id}/actions":{"get":{"operationId":"getItemActions_16","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["equipe-membro-controller"]}},"/api/operations/equipe-membros/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_16","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["equipe-membro-controller"]}},"/api/operations/equipe-membros/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_16","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["equipe-membro-controller"]}},"/api/operations/equipes":{"post":{"description":"Cadastra uma nova equipe com base de referência, status e responsabilidades para uso em missões e escalas.","operationId":"create_17","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEquipeDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseEquipeDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar equipe operacional","tags":["equipe-controller"]}},"/api/operations/equipes/actions":{"get":{"operationId":"getCollectionActions_15","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["equipe-controller"]}},"/api/operations/equipes/all":{"get":{"description":"Retorna o cadastro completo de equipes quando o consumidor precisa materializar toda a estrutura operacional para conferência, exportação ou sincronização.","operationId":"getAll_15","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelEquipeDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar equipes operacionais","tags":["equipe-controller"]}},"/api/operations/equipes/batch":{"delete":{"description":"Exclui múltiplas equipes em uma única chamada para saneamento administrativo ou limpeza de dados de demonstração.","operationId":"deleteBatch_12","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Registros removidos com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Lista de IDs inválida."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover equipes operacionais em lote","tags":["equipe-controller"]}},"/api/operations/equipes/by-ids":{"get":{"description":"Recupera equipes já associadas a missões, bases ou seleções anteriores sem reaplicar filtros de composição.","operationId":"getByIds_15","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EquipeDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/EquipeDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar equipes operacionais por IDs","tags":["equipe-controller"]}},"/api/operations/equipes/capabilities":{"get":{"operationId":"getCollectionCapabilities_15","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["equipe-controller"]}},"/api/operations/equipes/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_15","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestEquipeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["equipe-controller"]}},"/api/operations/equipes/filter":{"post":{"description":"Lista equipes por base de referência, status, responsabilidade e composição para planejamento tático e distribuição de trabalho.","operationId":"filter_15","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelEquipeDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelEquipeDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar equipes operacionais","tags":["equipe-controller"]}},"/api/operations/equipes/filter/cursor":{"post":{"description":"Percorre equipes em catálogos extensos usando cursor, útil para escalas operacionais, lookup incremental e tabelas com rolagem contínua.","operationId":"filterByCursor_15","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelEquipeDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelEquipeDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar equipes operacionais com paginação por cursor","tags":["equipe-controller"]}},"/api/operations/equipes/locate":{"post":{"description":"Informa em qual posição uma equipe aparece dentro do recorte filtrado, útil para retornar ao registro em tabelas de alocação e missão.","operationId":"locate_15","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar equipe operacional em listas filtradas","tags":["equipe-controller"]}},"/api/operations/equipes/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_15","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["equipe-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_15","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["equipe-controller"]}},"/api/operations/equipes/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_15","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["equipe-controller"]}},"/api/operations/equipes/options/by-ids":{"get":{"description":"Reidrata opções de equipes já escolhidas em formulários e filtros salvos, preservando rótulo e identificador.","operationId":"getOptionsByIds_15","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar equipes operacionais selecionadas","tags":["equipe-controller"]}},"/api/operations/equipes/options/filter":{"post":{"description":"Produz opções compactas de equipes para campos de seleção, autocomplete e vínculos operacionais orientados por busca.","operationId":"filterOptions_15","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EquipeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar equipes operacionais para formulários","tags":["equipe-controller"]}},"/api/operations/equipes/schemas":{"get":{"operationId":"getSchema_15","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["equipe-controller"]}},"/api/operations/equipes/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_15","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["equipe-controller"]}},"/api/operations/equipes/stats/comparison":{"post":{"operationId":"comparisonStats_15","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestEquipeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["equipe-controller"]}},"/api/operations/equipes/stats/distribution":{"post":{"operationId":"distributionStats_15","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["equipe-controller"]}},"/api/operations/equipes/stats/group-by":{"post":{"operationId":"groupByStats_15","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["equipe-controller"]}},"/api/operations/equipes/stats/timeseries":{"post":{"operationId":"timeSeriesStats_15","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["equipe-controller"]}},"/api/operations/equipes/{id}":{"delete":{"description":"Exclui uma equipe quando ela deixa de compor a estrutura operacional ativa e não deve mais ser alocada.","operationId":"delete_13","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Registro removido com sucesso."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover equipe operacional","tags":["equipe-controller"]},"get":{"description":"Retorna o detalhe de uma equipe para inspeção de composição, responsabilidade e uso em surfaces dependentes.","operationId":"getById_12","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseEquipeDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseEquipeDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter equipe operacional","tags":["equipe-controller"]},"put":{"description":"Atualiza composição e metadados da equipe sem alterar sua identidade no catálogo operacional.","operationId":"update_11","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateEquipeDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseEquipeDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar equipe operacional","tags":["equipe-controller"]}},"/api/operations/equipes/{id}/actions":{"get":{"operationId":"getItemActions_15","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["equipe-controller"]}},"/api/operations/equipes/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_15","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["equipe-controller"]}},"/api/operations/equipes/{id}/members":{"get":{"description":"Retorna vínculos de membros da equipe selecionada para leitura de capacidade, escala e responsabilidade operacional.","operationId":"getMembers","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEquipeMembroDTO"}}},"description":"Composição retornada com sucesso."}},"summary":"Obter composição da equipe","tags":["equipe-controller"]}},"/api/operations/equipes/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_15","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["equipe-controller"]}},"/api/operations/incidentes":{"post":{"description":"Cadastra uma nova ocorrência operacional com missão, severidade, impacto e localização para acompanhamento e resposta.","operationId":"create_16","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateIncidenteDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseIncidenteDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar incidente de missão","tags":["incidente-controller"]}},"/api/operations/incidentes/actions":{"get":{"operationId":"getCollectionActions_14","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["incidente-controller"]}},"/api/operations/incidentes/all":{"get":{"description":"Retorna o cadastro completo de incidentes quando o consumidor precisa materializar todas as ocorrências para exportação, reconciliação ou auditoria.","operationId":"getAll_14","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelIncidenteDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar incidentes de missão","tags":["incidente-controller"]}},"/api/operations/incidentes/batch":{"delete":{"description":"Exclui múltiplos incidentes em uma única chamada para saneamento administrativo ou limpeza de dados de demonstração.","operationId":"deleteBatch_11","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Registros removidos com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Lista de IDs inválida."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover incidentes de missão em lote","tags":["incidente-controller"]}},"/api/operations/incidentes/by-ids":{"get":{"description":"Recupera incidentes já associados a relatórios, sinais ou seleções anteriores sem reaplicar filtros de missão ou severidade.","operationId":"getByIds_14","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/IncidenteDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/IncidenteDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar incidentes de missão por IDs","tags":["incidente-controller"]}},"/api/operations/incidentes/capabilities":{"get":{"operationId":"getCollectionCapabilities_14","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["incidente-controller"]}},"/api/operations/incidentes/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_14","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestIncidenteFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["incidente-controller"]}},"/api/operations/incidentes/filter":{"post":{"description":"Lista incidentes por missão, severidade, impacto, local, data e status para investigação operacional e análise de risco em campo.","operationId":"filter_14","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidenteFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelIncidenteDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelIncidenteDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar incidentes de missão","tags":["incidente-controller"]}},"/api/operations/incidentes/filter/cursor":{"post":{"description":"Percorre incidentes em grandes catálogos usando cursor, útil para auditoria contínua, triagem operacional e telas com navegação incremental.","operationId":"filterByCursor_14","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidenteFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelIncidenteDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelIncidenteDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar incidentes de missão com paginação por cursor","tags":["incidente-controller"]}},"/api/operations/incidentes/locate":{"post":{"description":"Informa em qual posição um incidente aparece dentro do recorte filtrado, útil para retomar investigações e análises em tabelas operacionais.","operationId":"locate_14","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidenteFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar incidente de missão em listas filtradas","tags":["incidente-controller"]}},"/api/operations/incidentes/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_14","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["incidente-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_14","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["incidente-controller"]}},"/api/operations/incidentes/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_14","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["incidente-controller"]}},"/api/operations/incidentes/options/by-ids":{"get":{"description":"Reidrata opções de incidentes já escolhidos em formulários e filtros salvos, preservando identificador e rótulo exibido.","operationId":"getOptionsByIds_14","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar incidentes de missão selecionados","tags":["incidente-controller"]}},"/api/operations/incidentes/options/filter":{"post":{"description":"Produz opções compactas de incidentes para campos de seleção, lookup e vínculos operacionais baseados em busca.","operationId":"filterOptions_14","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IncidenteFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar incidentes de missão para formulários","tags":["incidente-controller"]}},"/api/operations/incidentes/schemas":{"get":{"operationId":"getSchema_14","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["incidente-controller"]}},"/api/operations/incidentes/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_14","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["incidente-controller"]}},"/api/operations/incidentes/stats/comparison":{"post":{"operationId":"comparisonStats_14","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestIncidenteFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["incidente-controller"]}},"/api/operations/incidentes/stats/distribution":{"post":{"operationId":"distributionStats_14","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["incidente-controller"]}},"/api/operations/incidentes/stats/group-by":{"post":{"operationId":"groupByStats_14","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["incidente-controller"]}},"/api/operations/incidentes/stats/timeseries":{"post":{"operationId":"timeSeriesStats_14","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["incidente-controller"]}},"/api/operations/incidentes/{id}":{"delete":{"description":"Exclui um incidente quando ele não deve mais compor o histórico publicado nem alimentar novos fluxos analíticos.","operationId":"delete_12","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Registro removido com sucesso."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover incidente de missão","tags":["incidente-controller"]},"get":{"description":"Retorna o detalhe de um incidente para investigação operacional, auditoria e composição de surfaces dependentes.","operationId":"getById_11","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseIncidenteDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseIncidenteDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter incidente de missão","tags":["incidente-controller"]},"put":{"description":"Atualiza dados do incidente sem alterar sua identidade, preservando coerência para relatórios e fluxos dependentes.","operationId":"update_10","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateIncidenteDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseIncidenteDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar incidente de missão","tags":["incidente-controller"]}},"/api/operations/incidentes/{id}/actions":{"get":{"operationId":"getItemActions_14","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["incidente-controller"]}},"/api/operations/incidentes/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_14","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["incidente-controller"]}},"/api/operations/incidentes/{id}/risk-indicators":{"get":{"description":"Retorna a leitura analitica derivada de um incidente operacional para navegação contextual no cockpit.","operationId":"getRiskIndicators","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListVwIndicadoresIncidenteDTO"}}},"description":"OK"}},"summary":"Obter indicadores de risco do incidente","tags":["incidente-controller"]}},"/api/operations/incidentes/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_14","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["incidente-controller"]}},"/api/operations/licencas-operacao":{"post":{"description":"Cadastra uma nova autorização operacional com escopo, vigência e vínculo regulatório para uso em missões e equipes.","operationId":"create_15","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLicencasOperacaoDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseLicencasOperacaoDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar licença de operação","tags":["licencas-operacao-controller"]}},"/api/operations/licencas-operacao/actions":{"get":{"operationId":"getCollectionActions_13","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["licencas-operacao-controller"]}},"/api/operations/licencas-operacao/all":{"get":{"description":"Retorna o cadastro completo de licenças quando o consumidor precisa materializar todas as autorizações para conferência, exportação ou sincronização.","operationId":"getAll_13","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelLicencasOperacaoDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar licenças de operação","tags":["licencas-operacao-controller"]}},"/api/operations/licencas-operacao/batch":{"delete":{"description":"Exclui múltiplas licenças em uma única chamada para saneamento administrativo ou limpeza de dados de demonstração.","operationId":"deleteBatch_10","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Registros removidos com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Lista de IDs inválida."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover licenças de operação em lote","tags":["licencas-operacao-controller"]}},"/api/operations/licencas-operacao/by-ids":{"get":{"description":"Recupera licenças já referenciadas por missões, equipes ou seleções anteriores sem reaplicar filtros regulatórios.","operationId":"getByIds_13","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LicencasOperacaoDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LicencasOperacaoDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar licenças de operação por IDs","tags":["licencas-operacao-controller"]}},"/api/operations/licencas-operacao/capabilities":{"get":{"operationId":"getCollectionCapabilities_13","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["licencas-operacao-controller"]}},"/api/operations/licencas-operacao/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_13","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestLicencasOperacaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["licencas-operacao-controller"]}},"/api/operations/licencas-operacao/filter":{"post":{"description":"Lista licenças por acordo regulatório, escopo, vigência, responsável e status para comprovar habilitação operacional vigente.","operationId":"filter_13","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LicencasOperacaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelLicencasOperacaoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelLicencasOperacaoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar licenças de operação","tags":["licencas-operacao-controller"]}},"/api/operations/licencas-operacao/filter/cursor":{"post":{"description":"Percorre licenças em catálogos extensos usando cursor, útil para compliance contínuo, renovação em massa e telas com navegação incremental.","operationId":"filterByCursor_13","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LicencasOperacaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelLicencasOperacaoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelLicencasOperacaoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar licenças de operação com paginação por cursor","tags":["licencas-operacao-controller"]}},"/api/operations/licencas-operacao/locate":{"post":{"description":"Informa em qual posição uma licença aparece dentro do recorte filtrado, útil para retomar a análise de habilitação em tabelas regulatórias.","operationId":"locate_13","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LicencasOperacaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar licença de operação em listas filtradas","tags":["licencas-operacao-controller"]}},"/api/operations/licencas-operacao/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_13","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["licencas-operacao-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_13","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["licencas-operacao-controller"]}},"/api/operations/licencas-operacao/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_13","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["licencas-operacao-controller"]}},"/api/operations/licencas-operacao/options/by-ids":{"get":{"description":"Reidrata opções de licenças já escolhidas em formulários e filtros salvos, preservando identificador e rótulo exibido.","operationId":"getOptionsByIds_13","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar licenças de operação selecionadas","tags":["licencas-operacao-controller"]}},"/api/operations/licencas-operacao/options/filter":{"post":{"description":"Produz opções compactas de licenças para campos de seleção, autocomplete e vínculos regulatórios orientados por busca.","operationId":"filterOptions_13","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LicencasOperacaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar licenças de operação para formulários","tags":["licencas-operacao-controller"]}},"/api/operations/licencas-operacao/schemas":{"get":{"operationId":"getSchema_13","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["licencas-operacao-controller"]}},"/api/operations/licencas-operacao/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_13","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["licencas-operacao-controller"]}},"/api/operations/licencas-operacao/stats/comparison":{"post":{"operationId":"comparisonStats_13","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestLicencasOperacaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["licencas-operacao-controller"]}},"/api/operations/licencas-operacao/stats/distribution":{"post":{"operationId":"distributionStats_13","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["licencas-operacao-controller"]}},"/api/operations/licencas-operacao/stats/group-by":{"post":{"operationId":"groupByStats_13","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["licencas-operacao-controller"]}},"/api/operations/licencas-operacao/stats/timeseries":{"post":{"operationId":"timeSeriesStats_13","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["licencas-operacao-controller"]}},"/api/operations/licencas-operacao/{id}":{"delete":{"description":"Exclui uma licença quando ela deixa de compor o catálogo regulatório disponível para operações e vínculos novos.","operationId":"delete_11","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Registro removido com sucesso."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover licença de operação","tags":["licencas-operacao-controller"]},"get":{"description":"Retorna o detalhe de uma licença para inspeção regulatória, auditoria de vigência ou composição de surfaces dependentes.","operationId":"getById_10","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseLicencasOperacaoDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseLicencasOperacaoDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter licença de operação","tags":["licencas-operacao-controller"]},"put":{"description":"Atualiza dados de uma licença existente sem alterar sua identidade, preservando coerência para fluxos regulatórios dependentes.","operationId":"update_9","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateLicencasOperacaoDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseLicencasOperacaoDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar licença de operação","tags":["licencas-operacao-controller"]}},"/api/operations/licencas-operacao/{id}/actions":{"get":{"operationId":"getItemActions_13","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["licencas-operacao-controller"]}},"/api/operations/licencas-operacao/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_13","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["licencas-operacao-controller"]}},"/api/operations/licencas-operacao/{id}/renew":{"patch":{"description":"Renova vigência e escopo da licença sem recriar o registro, preservando histórico, rastreabilidade e capabilities do recurso.","operationId":"renew","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenewLicencasOperacaoDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseLicencasOperacaoDTO"}}},"description":"Licença renovada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseLicencasOperacaoDTO"}}},"description":"Invalid validity window."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseLicencasOperacaoDTO"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseLicencasOperacaoDTO"}}},"description":"Estado atual não permite renovação."}},"summary":"Renovar licença de operação","tags":["licencas-operacao-controller"]}},"/api/operations/licencas-operacao/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_13","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["licencas-operacao-controller"]}},"/api/operations/missao-eventos":{"post":{"description":"Cadastra um novo marco operacional associado à missão para registrar progresso, mudança de contexto ou ocorrência relevante.","operationId":"create_14","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMissaoEventoDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseMissaoEventoDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar evento de missão","tags":["missao-evento-controller"]}},"/api/operations/missao-eventos/actions":{"get":{"operationId":"getCollectionActions_12","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["missao-evento-controller"]}},"/api/operations/missao-eventos/all":{"get":{"description":"Retorna o cadastro completo de eventos quando o consumidor precisa materializar toda a linha do tempo operacional para análise ou exportação.","operationId":"getAll_12","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelMissaoEventoDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar eventos de missão","tags":["missao-evento-controller"]}},"/api/operations/missao-eventos/batch":{"delete":{"description":"Exclui múltiplos eventos em uma única chamada para saneamento administrativo ou limpeza de dados de demonstração.","operationId":"deleteBatch_9","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Registros removidos com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Lista de IDs inválida."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover eventos de missão em lote","tags":["missao-evento-controller"]}},"/api/operations/missao-eventos/by-ids":{"get":{"description":"Recupera eventos já referenciados por outro fluxo sem reaplicar filtros de missão, tipo ou período.","operationId":"getByIds_12","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MissaoEventoDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MissaoEventoDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar eventos de missão por IDs","tags":["missao-evento-controller"]}},"/api/operations/missao-eventos/capabilities":{"get":{"operationId":"getCollectionCapabilities_12","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["missao-evento-controller"]}},"/api/operations/missao-eventos/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_12","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestMissaoEventoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["missao-evento-controller"]}},"/api/operations/missao-eventos/filter":{"post":{"description":"Lista eventos por missão, tipo, momento e relevância para reconstruir a linha do tempo operacional e apoiar acompanhamento em campo.","operationId":"filter_12","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MissaoEventoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelMissaoEventoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelMissaoEventoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar eventos de missão","tags":["missao-evento-controller"]}},"/api/operations/missao-eventos/filter/cursor":{"post":{"description":"Percorre eventos em catálogos extensos usando cursor, útil para timelines operacionais, auditoria e navegação incremental.","operationId":"filterByCursor_12","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MissaoEventoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelMissaoEventoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelMissaoEventoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar eventos de missão com paginação por cursor","tags":["missao-evento-controller"]}},"/api/operations/missao-eventos/locate":{"post":{"description":"Informa em qual posição um evento aparece dentro do recorte filtrado, útil para retornar ao ponto certo da linha do tempo.","operationId":"locate_12","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MissaoEventoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar evento de missão em listas filtradas","tags":["missao-evento-controller"]}},"/api/operations/missao-eventos/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_12","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["missao-evento-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_12","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["missao-evento-controller"]}},"/api/operations/missao-eventos/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_12","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["missao-evento-controller"]}},"/api/operations/missao-eventos/options/by-ids":{"get":{"description":"Reidrata opções de eventos já escolhidos em formulários e filtros salvos, preservando identificador e rótulo exibido.","operationId":"getOptionsByIds_12","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar eventos de missão selecionados","tags":["missao-evento-controller"]}},"/api/operations/missao-eventos/options/filter":{"post":{"description":"Produz opções compactas de eventos para campos de seleção, lookup e vínculos que partem de uma busca operacional.","operationId":"filterOptions_12","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MissaoEventoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar eventos de missão para formulários","tags":["missao-evento-controller"]}},"/api/operations/missao-eventos/schemas":{"get":{"operationId":"getSchema_12","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["missao-evento-controller"]}},"/api/operations/missao-eventos/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_12","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["missao-evento-controller"]}},"/api/operations/missao-eventos/stats/comparison":{"post":{"operationId":"comparisonStats_12","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestMissaoEventoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["missao-evento-controller"]}},"/api/operations/missao-eventos/stats/distribution":{"post":{"operationId":"distributionStats_12","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["missao-evento-controller"]}},"/api/operations/missao-eventos/stats/group-by":{"post":{"operationId":"groupByStats_12","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["missao-evento-controller"]}},"/api/operations/missao-eventos/stats/timeseries":{"post":{"operationId":"timeSeriesStats_12","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["missao-evento-controller"]}},"/api/operations/missao-eventos/{id}":{"delete":{"description":"Exclui um evento quando ele não deve mais compor a linha do tempo publicada nem alimentar novos fluxos analíticos.","operationId":"delete_10","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Registro removido com sucesso."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover evento de missão","tags":["missao-evento-controller"]},"get":{"description":"Retorna o detalhe de um evento para inspeção da linha do tempo, auditoria ou composição de surfaces dependentes.","operationId":"getById_9","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseMissaoEventoDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseMissaoEventoDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter evento de missão","tags":["missao-evento-controller"]},"put":{"description":"Atualiza o conteúdo de um evento sem alterar sua identidade na linha do tempo operacional.","operationId":"update_8","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateMissaoEventoDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseMissaoEventoDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar evento de missão","tags":["missao-evento-controller"]}},"/api/operations/missao-eventos/{id}/actions":{"get":{"operationId":"getItemActions_12","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["missao-evento-controller"]}},"/api/operations/missao-eventos/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_12","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["missao-evento-controller"]}},"/api/operations/missao-eventos/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_12","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["missao-evento-controller"]}},"/api/operations/missao-participantes":{"post":{"description":"Cadastra a associação entre missão e participante com papel, período e contexto de alocação operacional.","operationId":"create_13","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMissaoParticipanteDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseMissaoParticipanteDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar participante de missão","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/actions":{"get":{"operationId":"getCollectionActions_11","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/all":{"get":{"description":"Retorna o cadastro completo de participantes alocados quando o consumidor precisa materializar a composição integral de missões.","operationId":"getAll_11","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelMissaoParticipanteDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar participantes de missão","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/batch":{"delete":{"description":"Exclui múltiplos vínculos em uma única chamada para saneamento administrativo ou limpeza de dados de demonstração.","operationId":"deleteBatch_8","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Registros removidos com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Lista de IDs inválida."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover participantes de missão em lote","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/bulk/executions/{executionId}":{"get":{"operationId":"operations.missao-participantes.bulk-execution-read","parameters":[{"in":"path","name":"executionId","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Resumo público autorizado"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Identificador, consulta ou corpo inválido"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Identidade ausente"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Permissão global negada"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Recurso indisponível neste escopo"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Execução expurgada, somente para criador atualmente autorizado"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Dependência ou orçamento de leitura indisponível"}},"summary":"Consultar execução autorizada","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/bulk/executions/{executionId}/cancel":{"post":{"operationId":"operations.missao-participantes.bulk-execution-cancel","parameters":[{"in":"path","name":"executionId","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Estado autorizado atual"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Identificador, consulta ou corpo inválido"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Identidade ausente"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Permissão global negada"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Recurso indisponível neste escopo"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Estado incompatível com cancelamento"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Execução expurgada, somente para criador atualmente autorizado"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Dependência ou orçamento de leitura indisponível"}},"summary":"Solicitar cancelamento idempotente","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/bulk/executions/{executionId}/results":{"get":{"operationId":"operations.missao-participantes.bulk-execution-results","parameters":[{"in":"path","name":"executionId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":200}},{"in":"query","name":"after","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkItemResultInteger"}}},"description":"Página pública autorizada"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Identificador, consulta ou corpo inválido"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Identidade ausente"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Permissão global negada"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Recurso indisponível neste escopo"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Execução expurgada, somente para criador atualmente autorizado"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Reiniciar paginação desde a primeira página"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Dependência ou orçamento de leitura indisponível"}},"summary":"Consultar resultados paginados autorizados","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/bulk/proposals/{proposalId}":{"get":{"operationId":"operations.missao-participantes.bulk-proposal-read","parameters":[{"in":"path","name":"proposalId","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Resumo público autorizado"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Identificador, consulta ou corpo inválido"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Identidade ausente"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Permissão global negada"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Recurso indisponível neste escopo"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Recurso expurgado ou proposta expirada, quando autorizado"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Dependência ou orçamento de leitura indisponível"}},"summary":"Consultar proposta autorizada","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/bulk/proposals/{proposalId}/results":{"get":{"operationId":"operations.missao-participantes.bulk-proposal-results","parameters":[{"in":"path","name":"proposalId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":200}},{"in":"query","name":"after","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageBulkProposalItemResultInteger"}}},"description":"Página pública autorizada"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Identificador, consulta ou corpo inválido"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Identidade ausente"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Permissão global negada"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Recurso indisponível neste escopo"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Prévia de avaliação indisponível"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Proposta expurgada, somente para criador atualmente autorizado"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Reiniciar paginação desde a primeira página"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Dependência ou orçamento de leitura indisponível"}},"summary":"Consultar avaliação paginada autorizada","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/bulk/update":{"post":{"operationId":"operations.missao-participantes.bulk-update","parameters":[{"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Correlation-ID","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkConfirmationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Execução reconciliada"},"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Acompanhar execução","headers":{"Location":{"description":"Recurso de execução","schema":{"type":"string","format":"uri"},"style":"simple"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Confirmação inválida"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Identidade ausente"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Permissão negada"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Proposta indisponível"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Conflito"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Proposta expirada ou expurgada"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Pedido excede tamanho"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Capacidade atingida"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Resultado indisponível"}},"summary":"Confirmar proposta uniforme de participantes","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/bulk/update-atomic":{"post":{"operationId":"operations.missao-participantes.bulk-update-atomic","parameters":[{"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Correlation-ID","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkConfirmationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Execução reconciliada"},"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Acompanhar execução","headers":{"Location":{"description":"Recurso de execução","schema":{"type":"string","format":"uri"},"style":"simple"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Confirmação inválida"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Identidade ausente"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Permissão negada"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Proposta indisponível"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Conflito"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Proposta expirada ou expurgada"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Pedido excede tamanho"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Capacidade atingida"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Resultado indisponível"}},"summary":"Confirmar proposta atômica uniforme de participantes","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/bulk/update-atomic/evaluation":{"post":{"operationId":"operations.missao-participantes.bulk-update-atomic-evaluate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkUniformEvaluationRequestIntegerVoid"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Proposta protegida avaliada"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Intenção inválida"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Identidade ausente"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Permissão negada"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Seleção indisponível"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Política bloqueia a avaliação"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Pedido excede tamanho"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Capacidade atingida"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Composição indisponível"}},"summary":"Avaliar alteração uniforme atômica de participantes","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/bulk/update-items":{"post":{"operationId":"operations.missao-participantes.bulk-update-items","parameters":[{"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Correlation-ID","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkConfirmationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Execução reconciliada"},"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Acompanhar execução","headers":{"Location":{"description":"Recurso de execução","schema":{"type":"string","format":"uri"},"style":"simple"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Confirmação inválida"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Identidade ausente"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Permissão negada"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Proposta indisponível"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Conflito"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Proposta expirada ou expurgada"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Pedido excede tamanho"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Capacidade atingida"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Resultado indisponível"}},"summary":"Confirmar proposta individual de participantes","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/bulk/update-items-atomic":{"post":{"operationId":"operations.missao-participantes.bulk-update-items-atomic","parameters":[{"in":"header","name":"Idempotency-Key","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Correlation-ID","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkConfirmationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Execução reconciliada"},"202":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Acompanhar execução","headers":{"Location":{"description":"Recurso de execução","schema":{"type":"string","format":"uri"},"style":"simple"}}},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Confirmação inválida"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Identidade ausente"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Permissão negada"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Proposta indisponível"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Conflito"},"410":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Proposta expirada ou expurgada"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponse"}}},"description":"Pedido excede tamanho"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Capacidade atingida"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkExecution"}}},"description":"Resultado indisponível"}},"summary":"Confirmar proposta atômica individual de participantes","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/bulk/update-items-atomic/evaluation":{"post":{"operationId":"operations.missao-participantes.bulk-update-items-atomic-evaluate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkItemEvaluationRequestInteger"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Proposta protegida avaliada"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Intenção inválida"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Identidade ausente"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Permissão negada"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Seleção indisponível"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Política bloqueia a avaliação"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Pedido excede tamanho"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Capacidade atingida"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Composição indisponível"}},"summary":"Avaliar alterações individuais atômicas de participantes","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/bulk/update-items/evaluation":{"post":{"operationId":"operations.missao-participantes.bulk-update-items-evaluate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkItemEvaluationRequestInteger"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Proposta protegida avaliada"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Intenção inválida"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Identidade ausente"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Permissão negada"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Seleção indisponível"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Política bloqueia a avaliação"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Pedido excede tamanho"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Capacidade atingida"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Composição indisponível"}},"summary":"Avaliar alterações individuais de participantes","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/bulk/update/evaluation":{"post":{"operationId":"operations.missao-participantes.bulk-update-evaluate","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkUniformEvaluationRequestIntegerMissaoParticipanteFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Proposta protegida avaliada"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Intenção inválida"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Identidade ausente"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Permissão negada"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Seleção indisponível"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Política bloqueia a avaliação"},"413":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Pedido excede tamanho"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Capacidade atingida"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseBulkProposal"}}},"description":"Composição indisponível"}},"summary":"Avaliar alterações uniformes de participantes","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/bulk/update/publication/publish":{"post":{"description":"Exige SESSION vigente e BULK_PUBLICATION_PUBLISH no grant atual. A fotografia OpenAPI tem alcance global no deployment lógico ao qual o namespace está vinculado.","operationId":"operations.missao-participantes.bulk-publication-publish","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RestApiResponsePublicationResult"}}},"description":"Comando completo confirmado; não concede permissão de negócio."},"400":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RestApiResponsePublicationResult"}}},"description":"JSON ou geração inválidos; nenhuma chamada ao lifecycle."},"401":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RestApiResponsePublicationResult"}}},"description":"Autenticação necessária."},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RestApiResponsePublicationResult"}}},"description":"Sessão, permissão atual ou política de escrita não permite o comando."},"503":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RestApiResponsePublicationResult"}}},"description":"Controle indisponível, geração obsoleta ou resultado incerto; não implica rollback e não há retry automático."}},"summary":"Publicar a operação básica","tags":["mission-participant-bulk-publication-controller"]}},"/api/operations/missao-participantes/bulk/update/publication/reconcile":{"post":{"description":"Exige SESSION vigente e BULK_PUBLICATION_RECONCILE no grant atual. Não cria publicação nem incrementa geração.","operationId":"operations.missao-participantes.bulk-publication-reconcile","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RestApiResponsePublicationResult"}}},"description":"Comando completo confirmado; não concede permissão de negócio."},"400":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RestApiResponsePublicationResult"}}},"description":"JSON ou geração inválidos; nenhuma chamada ao lifecycle."},"401":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RestApiResponsePublicationResult"}}},"description":"Autenticação necessária."},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RestApiResponsePublicationResult"}}},"description":"Sessão, permissão atual ou política de escrita não permite o comando."},"503":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RestApiResponsePublicationResult"}}},"description":"Controle indisponível, geração obsoleta ou resultado incerto; não implica rollback e não há retry automático."}},"summary":"Reconciliar publicação confirmada","tags":["mission-participant-bulk-publication-controller"]}},"/api/operations/missao-participantes/bulk/update/publication/suspend":{"post":{"description":"Exige SESSION vigente e BULK_PUBLICATION_SUSPEND no grant atual. Suspende também a fotografia global; preserva efeitos já confirmados.","operationId":"operations.missao-participantes.bulk-publication-suspend","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerationRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RestApiResponsePublicationResult"}}},"description":"Comando completo confirmado; não concede permissão de negócio."},"400":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RestApiResponsePublicationResult"}}},"description":"JSON ou geração inválidos; nenhuma chamada ao lifecycle."},"401":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RestApiResponsePublicationResult"}}},"description":"Autenticação necessária."},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RestApiResponsePublicationResult"}}},"description":"Sessão, permissão atual ou política de escrita não permite o comando."},"503":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RestApiResponsePublicationResult"}}},"description":"Controle indisponível, geração obsoleta ou resultado incerto; não implica rollback e não há retry automático."}},"summary":"Suspender a operação básica","tags":["mission-participant-bulk-publication-controller"]}},"/api/operations/missao-participantes/by-ids":{"get":{"description":"Recupera vínculos já referenciados por outro fluxo sem reaplicar filtros de missão, pessoa ou papel.","operationId":"getByIds_11","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MissaoParticipanteDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MissaoParticipanteDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar participantes de missão por IDs","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/capabilities":{"get":{"operationId":"getCollectionCapabilities_11","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_11","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestMissaoParticipanteFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/filter":{"post":{"description":"Lista vínculos de participantes por missão, papel, status e período para acompanhar alocação operacional e composição de campo.","operationId":"filter_11","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MissaoParticipanteFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelMissaoParticipanteDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelMissaoParticipanteDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar participantes de missão","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/filter/cursor":{"post":{"description":"Percorre vínculos de participantes em catálogos extensos usando cursor, útil para escalas de missão e navegação incremental.","operationId":"filterByCursor_11","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MissaoParticipanteFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelMissaoParticipanteDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelMissaoParticipanteDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar participantes de missão com paginação por cursor","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/locate":{"post":{"description":"Informa em qual posição um vínculo aparece dentro do recorte filtrado, útil para retomar a análise de alocação em tabelas operacionais.","operationId":"locate_11","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MissaoParticipanteFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar participante de missão em listas filtradas","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_11","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["missao-participante-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_11","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_11","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/options/by-ids":{"get":{"description":"Reidrata opções de vínculos já escolhidos em formulários e filtros salvos, preservando identificador e rótulo exibido.","operationId":"getOptionsByIds_11","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar participantes de missão selecionados","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/options/filter":{"post":{"description":"Produz opções compactas de vínculos de participante para formulários, lookup e seleção contextual em missões.","operationId":"filterOptions_11","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MissaoParticipanteFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar participantes de missão para formulários","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/schemas":{"get":{"operationId":"getSchema_11","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_11","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/stats/comparison":{"post":{"operationId":"comparisonStats_11","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestMissaoParticipanteFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/stats/distribution":{"post":{"operationId":"distributionStats_11","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/stats/group-by":{"post":{"operationId":"groupByStats_11","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/stats/timeseries":{"post":{"operationId":"timeSeriesStats_11","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/{id}":{"delete":{"description":"Exclui o vínculo quando o participante não deve mais compor a missão nem aparecer em novas consultas operacionais.","operationId":"delete_9","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Registro removido com sucesso."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover participante de missão","tags":["missao-participante-controller"]},"get":{"description":"Retorna o detalhe de um vínculo de participante para inspeção de papel, vigência e contexto operacional.","operationId":"getById_8","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseMissaoParticipanteDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseMissaoParticipanteDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter participante de missão","tags":["missao-participante-controller"]},"put":{"description":"Atualiza papel e metadados do vínculo. Exige If-Match com o ETag do GET do participante; a versão é comparada na transação da escrita.","operationId":"operations.missao-participantes.update","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"description":"ETag forte retornado pelo GET deste participante.","in":"header","name":"If-Match","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateMissaoParticipanteDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseMissaoParticipanteDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"ETag não corresponde à versão atual deste participante e binding."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match obrigatório ausente."},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar participante de missão","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/{id}/actions":{"get":{"operationId":"getItemActions_11","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_11","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["missao-participante-controller"]}},"/api/operations/missao-participantes/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_11","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["missao-participante-controller"]}},"/api/operations/missoes":{"post":{"description":"Cadastra uma nova missão com objetivo, prioridade, equipe e janela prevista para execução operacional.","operationId":"create_12","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMissaoDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseMissaoDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar missão de operação","tags":["missao-controller"]}},"/api/operations/missoes/actions":{"get":{"operationId":"getCollectionActions_10","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["missao-controller"]}},"/api/operations/missoes/all":{"get":{"description":"Retorna o cadastro completo de missões quando o consumidor precisa materializar toda a carteira operacional para exportação, sincronização ou conferência.","operationId":"getAll_10","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelMissaoDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar missões de operação","tags":["missao-controller"]}},"/api/operations/missoes/batch":{"delete":{"description":"Exclui múltiplas missões em uma única chamada para saneamento administrativo ou limpeza de dados de demonstração.","operationId":"deleteBatch_7","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Registros removidos com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Lista de IDs inválida."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover missões de operação em lote","tags":["missao-controller"]}},"/api/operations/missoes/by-ids":{"get":{"description":"Recupera missões já referenciadas por eventos, participantes ou seleções anteriores sem reaplicar filtros de planejamento.","operationId":"getByIds_10","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MissaoDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/MissaoDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar missões de operação por IDs","tags":["missao-controller"]}},"/api/operations/missoes/capabilities":{"get":{"operationId":"getCollectionCapabilities_10","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["missao-controller"]}},"/api/operations/missoes/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_10","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestMissaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["missao-controller"]}},"/api/operations/missoes/filter":{"post":{"description":"Lista missões por objetivo, equipe responsável, prioridade, status, local e janela de execução para planejamento e acompanhamento operacional.","operationId":"filter_10","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MissaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelMissaoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelMissaoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar missões de operação","tags":["missao-controller"]}},"/api/operations/missoes/filter/cursor":{"post":{"description":"Percorre missões em grandes catálogos usando cursor, útil para centros de operação, listas extensas e navegação incremental.","operationId":"filterByCursor_10","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MissaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelMissaoDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelMissaoDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar missões de operação com paginação por cursor","tags":["missao-controller"]}},"/api/operations/missoes/locate":{"post":{"description":"Informa em qual posição uma missão aparece dentro do recorte filtrado, útil para retomar a análise do item em tabelas operacionais.","operationId":"locate_10","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MissaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar missão de operação em listas filtradas","tags":["missao-controller"]}},"/api/operations/missoes/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_10","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["missao-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_10","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["missao-controller"]}},"/api/operations/missoes/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_10","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["missao-controller"]}},"/api/operations/missoes/options/by-ids":{"get":{"description":"Reidrata opções de missões já escolhidas em formulários e filtros salvos, preservando identificador e rótulo exibido.","operationId":"getOptionsByIds_10","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar missões de operação selecionadas","tags":["missao-controller"]}},"/api/operations/missoes/options/filter":{"post":{"description":"Produz opções compactas de missões para campos de seleção, autocomplete e vínculos operacionais orientados por busca.","operationId":"filterOptions_10","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MissaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar missões de operação para formulários","tags":["missao-controller"]}},"/api/operations/missoes/schemas":{"get":{"operationId":"getSchema_10","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["missao-controller"]}},"/api/operations/missoes/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_10","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["missao-controller"]}},"/api/operations/missoes/stats/comparison":{"post":{"operationId":"comparisonStats_10","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestMissaoFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["missao-controller"]}},"/api/operations/missoes/stats/distribution":{"post":{"operationId":"distributionStats_10","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["missao-controller"]}},"/api/operations/missoes/stats/group-by":{"post":{"operationId":"groupByStats_10","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["missao-controller"]}},"/api/operations/missoes/stats/timeseries":{"post":{"operationId":"timeSeriesStats_10","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["missao-controller"]}},"/api/operations/missoes/{id}":{"delete":{"description":"Exclui uma missão quando ela não deve mais compor o catálogo operacional nem ser reutilizada em novos fluxos.","operationId":"delete_8","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Registro removido com sucesso."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover missão de operação","tags":["missao-controller"]},"get":{"description":"Retorna o detalhe de uma missão para inspeção operacional, auditoria de planejamento ou composição de surfaces dependentes.","operationId":"getById_7","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseMissaoDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseMissaoDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter missão de operação","tags":["missao-controller"]},"put":{"description":"Atualiza dados de uma missão existente sem alterar sua identidade, preservando coerência para eventos e participantes dependentes.","operationId":"update_7","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateMissaoDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseMissaoDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar missão de operação","tags":["missao-controller"]}},"/api/operations/missoes/{id}/actions":{"get":{"operationId":"getItemActions_10","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["missao-controller"]}},"/api/operations/missoes/{id}/actions/complete":{"post":{"description":"Conclui a missão e fecha o ciclo operacional com atualização de estado e data final.","operationId":"complete","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MissaoWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseMissaoWorkflowResultDTO"}}},"description":"OK"}},"summary":"Concluir missão","tags":["missao-controller"]}},"/api/operations/missoes/{id}/actions/fail":{"post":{"description":"Encerra a missão com falha e publica o resultado operacional para surfaces, actions e auditoria.","operationId":"fail_1","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MissaoWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseMissaoWorkflowResultDTO"}}},"description":"OK"}},"summary":"Registrar falha da missão","tags":["missao-controller"]}},"/api/operations/missoes/{id}/actions/pause":{"post":{"description":"Pausa uma missão em andamento mantendo o contexto operacional necessário para retomada.","operationId":"pause","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MissaoWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseMissaoWorkflowResultDTO"}}},"description":"OK"}},"summary":"Pausar missão","tags":["missao-controller"]}},"/api/operations/missoes/{id}/actions/resume":{"post":{"description":"Retoma uma missão pausada e republica sua disponibilidade para ações subsequentes.","operationId":"resume","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MissaoWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseMissaoWorkflowResultDTO"}}},"description":"OK"}},"summary":"Retomar missão","tags":["missao-controller"]}},"/api/operations/missoes/{id}/actions/start":{"post":{"description":"Inicia a execução da missão e publica a transição de estado para catálogos de workflow e capabilities.","operationId":"start_1","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MissaoWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseMissaoWorkflowResultDTO"}}},"description":"OK"}},"summary":"Iniciar missão","tags":["missao-controller"]}},"/api/operations/missoes/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_10","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["missao-controller"]}},"/api/operations/missoes/{id}/reschedule":{"patch":{"description":"Reagenda local e janela prevista da missão sem alterar o histórico nem recriar o recurso.","operationId":"reschedule","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RescheduleMissaoDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseMissaoDTO"}}},"description":"Missão atualizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseMissaoDTO"}}},"description":"Requisição inválida ou dados inconsistentes."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseMissaoDTO"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseMissaoDTO"}}},"description":"Estado atual não permite reagendamento."}},"summary":"Reagendar missão","tags":["missao-controller"]}},"/api/operations/missoes/{id}/summary":{"get":{"description":"Retorna a visão agregada da missão com contadores de participantes, eventos e contexto de ameaça.","operationId":"getSummary","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseVwResumoMissoeDTO"}}},"description":"Resumo retornado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseVwResumoMissoeDTO"}}},"description":"Resumo não encontrado."}},"summary":"Obter resumo operacional da missão","tags":["missao-controller"]}},"/api/operations/missoes/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_10","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["missao-controller"]}},"/api/operations/missoes/{id}/team":{"get":{"description":"Retorna os participantes vinculados à missão para compor superfícies de comando operacional.","operationId":"getTeam","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListRestApiResourceMissaoParticipanteDTO"}}},"description":"Equipe retornada com sucesso."}},"summary":"Obter equipe da missão","tags":["missao-controller"]}},"/api/operations/missoes/{id}/team-plan":{"patch":{"description":"Publica um formulario parcial com colecao editavel de participantes para validar o contrato canonico x-ui.array.","operationId":"planTeam","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlanejarEquipeMissaoDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseMissaoDTO"}}},"description":"Planejamento recebido com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseMissaoDTO"}}},"description":"Requisicao invalida ou colecao inconsistente."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseMissaoDTO"}}},"description":"Registro nao encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseMissaoDTO"}}},"description":"Estado atual nao permite planejamento de equipe."}},"summary":"Planejar equipe da missao","tags":["missao-controller"]}},"/api/operations/missoes/{id}/timeline":{"get":{"description":"Retorna os eventos recentes da missão para leitura temporal e auditoria operacional.","operationId":"getTimeline","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListMissaoEventoDTO"}}},"description":"Linha do tempo retornada com sucesso."}},"summary":"Obter linha do tempo da missão","tags":["missao-controller"]}},"/api/operations/sinais-socorro":{"post":{"description":"Cadastra um novo alerta com origem, nível e contexto operacional para disparar acompanhamento e resposta.","operationId":"create_11","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSinaisSocorroDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseSinaisSocorroDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar sinal de socorro","tags":["sinais-socorro-controller"]}},"/api/operations/sinais-socorro/actions":{"get":{"operationId":"getCollectionActions_9","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["sinais-socorro-controller"]}},"/api/operations/sinais-socorro/all":{"get":{"description":"Retorna o cadastro completo de alertas quando o consumidor precisa materializar todas as ocorrências para acompanhamento, exportação ou auditoria.","operationId":"getAll_9","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelSinaisSocorroDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar sinais de socorro","tags":["sinais-socorro-controller"]}},"/api/operations/sinais-socorro/batch":{"delete":{"description":"Exclui múltiplos alertas em uma única chamada para saneamento administrativo ou limpeza de dados de demonstração.","operationId":"deleteBatch_6","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Registros removidos com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Lista de IDs inválida."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover sinais de socorro em lote","tags":["sinais-socorro-controller"]}},"/api/operations/sinais-socorro/by-ids":{"get":{"description":"Recupera alertas já referenciados por incidentes, relatórios ou seleções anteriores sem reaplicar filtros de origem ou severidade.","operationId":"getByIds_9","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SinaisSocorroDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SinaisSocorroDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar sinais de socorro por IDs","tags":["sinais-socorro-controller"]}},"/api/operations/sinais-socorro/capabilities":{"get":{"operationId":"getCollectionCapabilities_9","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["sinais-socorro-controller"]}},"/api/operations/sinais-socorro/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_9","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestSinaisSocorroFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["sinais-socorro-controller"]}},"/api/operations/sinais-socorro/filter":{"post":{"description":"Lista alertas por nível, origem, missão, base e status para triagem rápida de ameaças e incidentes operacionais.","operationId":"filter_9","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SinaisSocorroFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelSinaisSocorroDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelSinaisSocorroDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar sinais de socorro","tags":["sinais-socorro-controller"]}},"/api/operations/sinais-socorro/filter/cursor":{"post":{"description":"Percorre alertas em grandes catálogos usando cursor, útil para centrais de monitoramento e navegação incremental em tempo quase real.","operationId":"filterByCursor_9","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SinaisSocorroFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelSinaisSocorroDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelSinaisSocorroDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar sinais de socorro com paginação por cursor","tags":["sinais-socorro-controller"]}},"/api/operations/sinais-socorro/locate":{"post":{"description":"Informa em qual posição um alerta aparece dentro do recorte filtrado, útil para retomar a triagem em tabelas de resposta operacional.","operationId":"locate_9","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SinaisSocorroFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar sinal de socorro em listas filtradas","tags":["sinais-socorro-controller"]}},"/api/operations/sinais-socorro/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_9","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["sinais-socorro-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_9","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["sinais-socorro-controller"]}},"/api/operations/sinais-socorro/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_9","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["sinais-socorro-controller"]}},"/api/operations/sinais-socorro/options/by-ids":{"get":{"description":"Reidrata opções de alertas já escolhidos em formulários e filtros salvos, preservando identificador e rótulo exibido.","operationId":"getOptionsByIds_9","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar sinais de socorro selecionados","tags":["sinais-socorro-controller"]}},"/api/operations/sinais-socorro/options/filter":{"post":{"description":"Produz opções compactas de alertas para campos de seleção, lookup e vínculos operacionais orientados por busca.","operationId":"filterOptions_9","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SinaisSocorroFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar sinais de socorro para formulários","tags":["sinais-socorro-controller"]}},"/api/operations/sinais-socorro/schemas":{"get":{"operationId":"getSchema_9","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["sinais-socorro-controller"]}},"/api/operations/sinais-socorro/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_9","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["sinais-socorro-controller"]}},"/api/operations/sinais-socorro/stats/comparison":{"post":{"operationId":"comparisonStats_9","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestSinaisSocorroFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["sinais-socorro-controller"]}},"/api/operations/sinais-socorro/stats/distribution":{"post":{"operationId":"distributionStats_9","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["sinais-socorro-controller"]}},"/api/operations/sinais-socorro/stats/group-by":{"post":{"operationId":"groupByStats_9","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["sinais-socorro-controller"]}},"/api/operations/sinais-socorro/stats/timeseries":{"post":{"operationId":"timeSeriesStats_9","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["sinais-socorro-controller"]}},"/api/operations/sinais-socorro/{id}":{"delete":{"description":"Exclui um alerta quando ele não deve mais compor o histórico publicado nem alimentar novos fluxos de resposta.","operationId":"delete_7","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Registro removido com sucesso."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover sinal de socorro","tags":["sinais-socorro-controller"]},"get":{"description":"Retorna o detalhe de um alerta para triagem operacional, auditoria de resposta e composição de surfaces dependentes.","operationId":"getById_6","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseSinaisSocorroDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseSinaisSocorroDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter sinal de socorro","tags":["sinais-socorro-controller"]},"put":{"description":"Atualiza dados do alerta sem alterar sua identidade, preservando coerência para incidentes e fluxos analíticos dependentes.","operationId":"update_6","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSinaisSocorroDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseSinaisSocorroDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar sinal de socorro","tags":["sinais-socorro-controller"]}},"/api/operations/sinais-socorro/{id}/actions":{"get":{"operationId":"getItemActions_9","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["sinais-socorro-controller"]}},"/api/operations/sinais-socorro/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_9","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["sinais-socorro-controller"]}},"/api/operations/sinais-socorro/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_9","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["sinais-socorro-controller"]}},"/api/operations/vw-resumo-missoes/actions":{"get":{"operationId":"getCollectionActions_8","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["vw-resumo-missoe-controller"]}},"/api/operations/vw-resumo-missoes/all":{"get":{"description":"Retorna toda a visão agregada de missões quando o consumidor precisa materializar o conjunto completo para analytics, exportação ou reconciliação.","operationId":"getAll_8","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelVwResumoMissoeDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar resumos de missões","tags":["vw-resumo-missoe-controller"]}},"/api/operations/vw-resumo-missoes/by-ids":{"get":{"description":"Recupera visões agregadas de missões específicas já referenciadas por outro fluxo analítico sem reaplicar filtros do dashboard.","operationId":"getByIds_8","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VwResumoMissoeDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VwResumoMissoeDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar resumos de missões por IDs","tags":["vw-resumo-missoe-controller"]}},"/api/operations/vw-resumo-missoes/capabilities":{"get":{"operationId":"getCollectionCapabilities_8","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["vw-resumo-missoe-controller"]}},"/api/operations/vw-resumo-missoes/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_8","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestVwResumoMissoeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["vw-resumo-missoe-controller"]}},"/api/operations/vw-resumo-missoes/filter":{"post":{"description":"Lista visões agregadas por período, status, prioridade, equipe e volume de eventos para dashboards operacionais e acompanhamento executivo.","operationId":"filter_8","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VwResumoMissoeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelVwResumoMissoeDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelVwResumoMissoeDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar resumos de missões","tags":["vw-resumo-missoe-controller"]}},"/api/operations/vw-resumo-missoes/filter/cursor":{"post":{"description":"Percorre grandes volumes de resumos agregados usando cursor, útil para catálogos analíticos e telas com navegação contínua.","operationId":"filterByCursor_8","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VwResumoMissoeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelVwResumoMissoeDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelVwResumoMissoeDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar resumos de missões com paginação por cursor","tags":["vw-resumo-missoe-controller"]}},"/api/operations/vw-resumo-missoes/locate":{"post":{"description":"Informa em qual posição uma visão agregada aparece dentro do recorte filtrado, útil para retornar ao item certo em tabelas analíticas.","operationId":"locate_8","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VwResumoMissoeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar resumo de missão em listas filtradas","tags":["vw-resumo-missoe-controller"]}},"/api/operations/vw-resumo-missoes/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_8","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["vw-resumo-missoe-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_8","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["vw-resumo-missoe-controller"]}},"/api/operations/vw-resumo-missoes/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_8","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["vw-resumo-missoe-controller"]}},"/api/operations/vw-resumo-missoes/options/by-ids":{"get":{"description":"Reidrata opções de missões já escolhidas em formulários e filtros salvos, preservando identificador e rótulo analítico exibido.","operationId":"getOptionsByIds_8","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar resumos de missões selecionados","tags":["vw-resumo-missoe-controller"]}},"/api/operations/vw-resumo-missoes/options/filter":{"post":{"description":"Produz opções compactas de missões resumidas para campos que precisam identificar rapidamente uma missão pelo contexto analítico.","operationId":"filterOptions_8","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VwResumoMissoeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar resumos de missões para formulários","tags":["vw-resumo-missoe-controller"]}},"/api/operations/vw-resumo-missoes/schemas":{"get":{"operationId":"getSchema_8","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["vw-resumo-missoe-controller"]}},"/api/operations/vw-resumo-missoes/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_8","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["vw-resumo-missoe-controller"]}},"/api/operations/vw-resumo-missoes/stats/comparison":{"post":{"operationId":"comparisonStats_8","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestVwResumoMissoeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["vw-resumo-missoe-controller"]}},"/api/operations/vw-resumo-missoes/stats/distribution":{"post":{"operationId":"distributionStats_8","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["vw-resumo-missoe-controller"]}},"/api/operations/vw-resumo-missoes/stats/group-by":{"post":{"description":"Calcula composições e rankings operacionais a partir da visão agregada de missões.","operationId":"groupByStats_8","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupByStatsRequestVwResumoMissoeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseGroupByStatsResponse"}}},"description":"OK"}},"summary":"Group-by stats sobre resumos de missões","tags":["vw-resumo-missoe-controller"],"x-ui":{"analytics":{"projections":[{"bindings":{"primaryDimension":{"field":"status","label":"Status","role":"category"},"primaryMetrics":[{"aggregation":"count","field":"count","label":"Missões"}]},"id":"mission-status-chart","intent":"composition","interactions":{"pointSelection":true},"presentationHints":{"preferredFamilies":["chart","analytic-table"]},"source":{"kind":"praxis.stats","operation":"group-by","resource":"/api/operations/vw-resumo-missoes"}},{"bindings":{"primaryDimension":{"field":"prioridade","label":"Prioridade","role":"category"},"primaryMetrics":[{"aggregation":"count","field":"count","label":"Missões"}]},"id":"mission-priority-chart","intent":"composition","interactions":{"pointSelection":true},"presentationHints":{"preferredFamilies":["chart"]},"source":{"kind":"praxis.stats","operation":"group-by","resource":"/api/operations/vw-resumo-missoes"}},{"bindings":{"primaryDimension":{"field":"ameaca","label":"Ameaça","role":"category"},"primaryMetrics":[{"aggregation":"sum","field":"qtdEventos","label":"Eventos"}]},"defaults":{"limit":10},"id":"mission-threat-ranking","intent":"ranking","interactions":{"drillDown":true},"presentationHints":{"preferredFamilies":["analytic-table","chart"]},"source":{"kind":"praxis.stats","operation":"group-by","resource":"/api/operations/vw-resumo-missoes"}}]}}}},"/api/operations/vw-resumo-missoes/stats/timeseries":{"post":{"description":"Calcula tendência temporal da atividade operacional das missões.","operationId":"timeSeriesStats_8","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequestVwResumoMissoeFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseTimeSeriesStatsResponse"}}},"description":"OK"}},"summary":"Time-series stats sobre resumos de missões","tags":["vw-resumo-missoe-controller"],"x-ui":{"analytics":{"projections":[{"bindings":{"primaryDimension":{"field":"ultimaAcao","label":"Última ação","role":"time"},"primaryMetrics":[{"aggregation":"count","field":"count","label":"Missões"}]},"defaults":{"granularity":"day"},"id":"mission-activity-trend","intent":"trend","interactions":{"pointSelection":true},"presentationHints":{"preferredFamilies":["chart","analytic-table"]},"source":{"kind":"praxis.stats","operation":"timeseries","resource":"/api/operations/vw-resumo-missoes"}}]}}}},"/api/operations/vw-resumo-missoes/{id}":{"get":{"description":"Retorna o painel resumido de uma missão específica, com métricas agregadas de participantes, eventos e evolução temporal.","operationId":"getById_40","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseVwResumoMissoeDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseVwResumoMissoeDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter resumo de missão","tags":["vw-resumo-missoe-controller"]}},"/api/operations/vw-resumo-missoes/{id}/actions":{"get":{"operationId":"getItemActions_8","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["vw-resumo-missoe-controller"]}},"/api/operations/vw-resumo-missoes/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_8","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["vw-resumo-missoe-controller"]}},"/api/operations/vw-resumo-missoes/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_8","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["vw-resumo-missoe-controller"]}},"/api/praxis/config/ai-context/{componentId}":{"get":{"operationId":"getAiContext","parameters":[{"in":"path","name":"componentId","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"query","name":"componentType","required":true,"schema":{"type":"string"}},{"in":"query","name":"environment","required":false,"schema":{"type":"string"}},{"in":"query","name":"aiMode","required":false,"schema":{"type":"string"}},{"in":"query","name":"requireSchema","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"resourcePath","required":false,"schema":{"type":"string"}},{"in":"query","name":"schemaPath","required":false,"schema":{"type":"string"}},{"in":"query","name":"schemaOperation","required":false,"schema":{"type":"string"}},{"in":"query","name":"schemaType","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/AiContextDTO"}}},"description":"OK"}},"tags":["ai-context-controller"]},"post":{"operationId":"postAiContext","parameters":[{"in":"path","name":"componentId","required":true,"schema":{"type":"string"}},{"in":"query","name":"componentType","required":true,"schema":{"type":"string"}},{"in":"query","name":"aiMode","required":false,"schema":{"type":"string"}},{"in":"query","name":"requireSchema","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"resourcePath","required":false,"schema":{"type":"string"}},{"in":"query","name":"schemaPath","required":false,"schema":{"type":"string"}},{"in":"query","name":"schemaOperation","required":false,"schema":{"type":"string"}},{"in":"query","name":"schemaType","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiContextRuntimeRequest"}}}},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/AiContextDTO"}}},"description":"OK"}},"tags":["ai-context-controller"]}},"/api/praxis/config/ai-registry/component-definitions":{"post":{"operationId":"ingestRegistry","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Praxis-Intelligence-Release","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonNode"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RegistryReindexResult"}}},"description":"OK"}},"tags":["registry-ingestion-controller"]}},"/api/praxis/config/ai-registry/component-definitions/search":{"get":{"operationId":"searchComponentDefinitions","parameters":[{"in":"query","name":"query","required":true,"schema":{"type":"string"}},{"in":"query","name":"releaseId","required":false,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"type":"integer","format":"int32","default":5}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ComponentSearchResult"}}}},"description":"OK"}},"tags":["context-retrieval-controller"]}},"/api/praxis/config/ai-registry/health":{"get":{"operationId":"health","responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/AiRegistryStatusReport"}}},"description":"OK"}},"tags":["ai-registry-health-controller"]}},"/api/praxis/config/ai-registry/releases":{"post":{"operationId":"stage","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiIntelligenceReleaseRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/AiIntelligenceRelease"}}},"description":"OK"}},"tags":["ai-intelligence-release-controller"]}},"/api/praxis/config/ai-registry/releases/{releaseId}":{"get":{"operationId":"get_3","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"in":"path","name":"releaseId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/AiIntelligenceRelease"}}},"description":"OK"}},"tags":["ai-intelligence-release-controller"]}},"/api/praxis/config/ai-registry/releases/{releaseId}/activate":{"post":{"operationId":"activate_3","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"in":"path","name":"releaseId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/AiIntelligenceRelease"}}},"description":"OK"}},"tags":["ai-intelligence-release-controller"]}},"/api/praxis/config/ai-registry/releases/{releaseId}/cleanup-plan":{"get":{"operationId":"cleanupPlan","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"in":"path","name":"releaseId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/SupersededReleaseCleanupPlan"}}},"description":"OK"}},"tags":["ai-intelligence-release-controller"]}},"/api/praxis/config/ai-registry/releases/{releaseId}/fail":{"post":{"operationId":"fail","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"in":"path","name":"releaseId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","additionalProperties":{"type":"string"}}}}},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/AiIntelligenceRelease"}}},"description":"OK"}},"tags":["ai-intelligence-release-controller"]}},"/api/praxis/config/ai-registry/templates/bulk":{"post":{"operationId":"bulkUpsert","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Praxis-Intelligence-Release","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiRegistryTemplateBulkUpsertRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/AiRegistryTemplateBulkUpsertResponse"}}},"description":"OK"}},"tags":["ai-registry-template-controller"]}},"/api/praxis/config/ai-registry/templates/search":{"get":{"operationId":"search","parameters":[{"in":"query","name":"query","required":true,"schema":{"type":"string"}},{"in":"query","name":"componentId","required":false,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"type":"integer","format":"int32","default":5}}],"responses":{"200":{"content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AiRegistryTemplateSearchResult"}}}},"description":"OK"}},"tags":["ai-registry-template-controller"]}},"/api/praxis/config/ai-registry/templates/{componentId}":{"delete":{"operationId":"delete_6","parameters":[{"in":"path","name":"componentId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}},"tags":["ai-registry-template-controller"]},"get":{"operationId":"getTemplate","parameters":[{"in":"path","name":"componentId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/AiRegistryTemplateRecord"}}},"description":"OK"}},"tags":["ai-registry-template-controller"]},"put":{"operationId":"upsert","parameters":[{"in":"path","name":"componentId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiRegistryTemplateUpsertRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/AiRegistryTemplateUpsertResponse"}}},"description":"OK"}},"tags":["ai-registry-template-controller"]}},"/api/praxis/config/ai/authoring/compiled-form-patch":{"post":{"operationId":"compileFormPatch","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticAuthoringCompileRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"OK"}},"tags":["agentic-authoring-controller"]}},"/api/praxis/config/ai/authoring/component-capabilities":{"get":{"description":"Publica as operações declaradas pelos manifests de componentes e informa se a resposta veio da revisão corrente do AI Registry, do último catálogo governado válido ou de uma contingência embutida.","operationId":"listComponentCapabilities","responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/AgenticAuthoringComponentCapabilitiesResult"}}},"description":"OK"}},"summary":"Consultar capacidades governadas de authoring por componente","tags":["agentic-authoring-controller"]}},"/api/praxis/config/ai/authoring/dry-run":{"post":{"operationId":"runDryRun","responses":{"200":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"OK"}},"tags":["agentic-authoring-controller"]}},"/api/praxis/config/ai/authoring/intent-resolution":{"post":{"operationId":"resolveIntent","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticAuthoringIntentResolutionRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"OK"}},"tags":["agentic-authoring-controller"]}},"/api/praxis/config/ai/authoring/manifests/{componentId}":{"get":{"operationId":"getManifest","parameters":[{"in":"path","name":"componentId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"OK"}},"tags":["agentic-authoring-manifest-controller"]}},"/api/praxis/config/ai/authoring/manifests/{componentId}/compile-patch":{"post":{"operationId":"compilePatch","parameters":[{"in":"path","name":"componentId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticAuthoringManifestEditPlanRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"OK"}},"tags":["agentic-authoring-manifest-controller"]}},"/api/praxis/config/ai/authoring/manifests/{componentId}/editable-targets":{"get":{"operationId":"listEditableTargets","parameters":[{"in":"path","name":"componentId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"OK"}},"tags":["agentic-authoring-manifest-controller"]}},"/api/praxis/config/ai/authoring/manifests/{componentId}/operations":{"get":{"operationId":"listOperations","parameters":[{"in":"path","name":"componentId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"OK"}},"tags":["agentic-authoring-manifest-controller"]}},"/api/praxis/config/ai/authoring/manifests/{componentId}/presentation-affordances":{"get":{"operationId":"listPresentationAffordances","parameters":[{"in":"path","name":"componentId","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"OK"}},"tags":["agentic-authoring-manifest-controller"]}},"/api/praxis/config/ai/authoring/manifests/{componentId}/resolve-target":{"post":{"operationId":"resolveTarget","parameters":[{"in":"path","name":"componentId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticAuthoringResolveTargetRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"OK"}},"tags":["agentic-authoring-manifest-controller"]}},"/api/praxis/config/ai/authoring/manifests/{componentId}/validate-plan":{"post":{"operationId":"validatePlan","parameters":[{"in":"path","name":"componentId","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticAuthoringManifestEditPlanRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"OK"}},"tags":["agentic-authoring-manifest-controller"]}},"/api/praxis/config/ai/authoring/minimal-form-plan":{"post":{"operationId":"generateMinimalFormPlan","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticAuthoringPlanRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"OK"}},"tags":["agentic-authoring-controller"]}},"/api/praxis/config/ai/authoring/page-apply":{"post":{"operationId":"applyPage","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Updated-By","required":false,"schema":{"type":"string"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticAuthoringApplyRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"OK"}},"tags":["agentic-authoring-controller"]}},"/api/praxis/config/ai/authoring/page-preview":{"post":{"operationId":"previewPage","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticAuthoringPlanRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"OK"}},"tags":["agentic-authoring-controller"]}},"/api/praxis/config/ai/authoring/resource-candidates":{"post":{"operationId":"searchResourceCandidates","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticAuthoringResourceCandidatesRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/AgenticAuthoringResourceCandidatesResult"}}},"description":"OK"}},"tags":["agentic-authoring-controller"]}},"/api/praxis/config/ai/authoring/turn/stream/start":{"post":{"operationId":"startTurnStream","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgenticAuthoringTurnStreamRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/AgenticAuthoringTurnStreamStartResponse"}}},"description":"OK"}},"tags":["agentic-authoring-controller"]}},"/api/praxis/config/ai/authoring/turn/stream/{streamId}":{"get":{"operationId":"connectTurnStream","parameters":[{"in":"path","name":"streamId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"query","name":"lastEventId","required":false,"schema":{"type":"string"}},{"in":"query","name":"accessToken","required":false,"schema":{"type":"string"}},{"in":"header","name":"Last-Event-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"text/event-stream":{"schema":{"$ref":"#/components/schemas/SseEmitter"}}},"description":"OK"}},"tags":["agentic-authoring-controller"]}},"/api/praxis/config/ai/authoring/turn/stream/{streamId}/cancel":{"post":{"operationId":"cancelTurnStream","parameters":[{"in":"path","name":"streamId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"query","name":"accessToken","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/AiPatchStreamCancelResponse"}}},"description":"OK"}},"tags":["agentic-authoring-controller"]}},"/api/praxis/config/ai/authoring/turn/stream/{streamId}/probe":{"get":{"operationId":"probeTurnStream","parameters":[{"in":"path","name":"streamId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"query","name":"accessToken","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}},"tags":["agentic-authoring-controller"]}},"/api/praxis/config/ai/keys/clear":{"post":{"operationId":"clearApiKey","parameters":[{"in":"header","name":"X-Tenant-ID","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Updated-By","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Admin-Token","required":false,"schema":{"type":"string"}},{"in":"header","name":"Authorization","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiApiKeyClearRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/AiApiKeyMaintenanceResponse"}}},"description":"OK"}},"tags":["ai-api-key-maintenance-controller"]}},"/api/praxis/config/ai/keys/rotate":{"post":{"operationId":"rotateApiKey","parameters":[{"in":"header","name":"X-Tenant-ID","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Updated-By","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Admin-Token","required":false,"schema":{"type":"string"}},{"in":"header","name":"Authorization","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiApiKeyRotateRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/AiApiKeyMaintenanceResponse"}}},"description":"OK"}},"tags":["ai-api-key-maintenance-controller"]}},"/api/praxis/config/ai/patch":{"post":{"operationId":"generatePatch","parameters":[{"in":"header","name":"X-Request-Id","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Praxis-Rag-Release-Id","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Praxis-Contract-Version","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Praxis-Schema-Hash","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiOrchestratorRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/AiOrchestratorResponse"}}},"description":"OK"}},"tags":["ai-orchestrator-controller"]}},"/api/praxis/config/ai/patch/stream/start":{"post":{"operationId":"start","parameters":[{"in":"header","name":"X-Request-Id","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Praxis-Rag-Release-Id","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Praxis-Contract-Version","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Praxis-Schema-Hash","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiOrchestratorRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"OK"}},"tags":["ai-patch-stream-controller"]}},"/api/praxis/config/ai/patch/stream/{streamId}":{"get":{"operationId":"stream","parameters":[{"in":"path","name":"streamId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"X-Request-Id","required":false,"schema":{"type":"string"}},{"in":"query","name":"lastEventId","required":false,"schema":{"type":"string"}},{"in":"query","name":"accessToken","required":false,"schema":{"type":"string"}},{"in":"header","name":"Last-Event-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"text/event-stream":{"schema":{"$ref":"#/components/schemas/SseEmitter"}}},"description":"OK"}},"tags":["ai-patch-stream-controller"]}},"/api/praxis/config/ai/patch/stream/{streamId}/cancel":{"post":{"operationId":"cancel_2","parameters":[{"in":"path","name":"streamId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"X-Request-Id","required":false,"schema":{"type":"string"}},{"in":"query","name":"accessToken","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/AiPatchStreamCancelResponse"}}},"description":"OK"}},"tags":["ai-patch-stream-controller"]}},"/api/praxis/config/ai/patch/stream/{streamId}/probe":{"get":{"operationId":"probe_1","parameters":[{"in":"path","name":"streamId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"X-Request-Id","required":false,"schema":{"type":"string"}},{"in":"query","name":"accessToken","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}},"tags":["ai-patch-stream-controller"]}},"/api/praxis/config/ai/providers/catalog":{"get":{"operationId":"listCatalog","responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/AiProviderCatalogResponse"}}},"description":"OK"}},"tags":["ai-provider-controller"]}},"/api/praxis/config/ai/providers/models":{"post":{"operationId":"listModels","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiProviderModelsRequest"}}}},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/AiProviderModelsResponse"}}},"description":"OK"}},"tags":["ai-provider-controller"]}},"/api/praxis/config/ai/providers/test":{"post":{"operationId":"testConnection","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiProviderTestRequest"}}}},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/AiProviderTestResponse"}}},"description":"OK"}},"tags":["ai-provider-controller"]}},"/api/praxis/config/ai/status":{"get":{"operationId":"status","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/AiProviderStatusResponse"}}},"description":"OK"}},"tags":["ai-provider-status-controller"]}},"/api/praxis/config/ai/suggestions":{"post":{"operationId":"getSuggestions","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiSuggestionsRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/AiSuggestionsResponse"}}},"description":"OK"}},"tags":["ai-suggestions-controller"]}},"/api/praxis/config/ai/transcriptions":{"post":{"operationId":"transcribe","parameters":[{"in":"query","name":"language","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["audio"],"type":"object","properties":{"audio":{"type":"string","format":"binary"}}}}}},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/AiAudioTranscriptionResponse"}}},"description":"OK"}},"tags":["ai-audio-transcription-controller"]}},"/api/praxis/config/ai/triage/observations":{"get":{"operationId":"observations","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"in":"query","name":"from","required":false,"schema":{"type":"string","format":"date-time"}},{"in":"query","name":"to","required":false,"schema":{"type":"string","format":"date-time"}},{"in":"query","name":"surface","required":false,"schema":{"type":"string"}},{"in":"query","name":"componentId","required":false,"schema":{"type":"string"}},{"in":"query","name":"componentType","required":false,"schema":{"type":"string"}},{"in":"query","name":"admissionOutcome","required":false,"schema":{"type":"string"}},{"in":"query","name":"terminalOutcome","required":false,"schema":{"type":"string"}},{"in":"query","name":"qualityOutcome","required":false,"schema":{"type":"string"}},{"in":"query","name":"promptHash","required":false,"schema":{"type":"string"}},{"in":"query","name":"hasFeedback","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"type":"integer","format":"int32","default":50}}],"responses":{"200":{"content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AiAssistantObservationResponse"}}}},"description":"OK"}},"tags":["ai-assistant-triage-controller"]}},"/api/praxis/config/ai/triage/observations/{observationId}":{"get":{"operationId":"observation","parameters":[{"in":"path","name":"observationId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/AiAssistantObservationResponse"}}},"description":"OK"}},"tags":["ai-assistant-triage-controller"]}},"/api/praxis/config/ai/triage/observations/{observationId}/feedback":{"post":{"operationId":"feedback","parameters":[{"in":"path","name":"observationId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AiAssistantObservationFeedbackRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/AiAssistantObservationFeedbackResponse"}}},"description":"OK"}},"tags":["ai-assistant-triage-controller"]}},"/api/praxis/config/ai/triage/summary":{"get":{"operationId":"summary_1","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"in":"query","name":"from","required":false,"schema":{"type":"string","format":"date-time"}},{"in":"query","name":"to","required":false,"schema":{"type":"string","format":"date-time"}},{"in":"query","name":"limit","required":false,"schema":{"type":"integer","format":"int32","default":50}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/AiAssistantObservationSummaryResponse"}}},"description":"OK"}},"tags":["ai-assistant-triage-controller"]}},"/api/praxis/config/api-catalog/ingest":{"post":{"operationId":"ingestCatalog","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiCatalogRequest"}}},"required":true},"responses":{"200":{"description":"OK"}},"tags":["api-metadata-controller"]}},"/api/praxis/config/api-catalog/rag/reconcile":{"post":{"operationId":"reconcileRag","parameters":[{"in":"query","name":"serviceKey","required":false,"schema":{"type":"string"}},{"in":"query","name":"releaseId","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiMetadataRagReconcileResponse"}}},"description":"OK"}},"tags":["api-metadata-controller"]}},"/api/praxis/config/api-catalog/rag/status":{"get":{"operationId":"ragStatus_1","parameters":[{"in":"query","name":"serviceKey","required":false,"schema":{"type":"string"}},{"in":"query","name":"releaseId","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ApiMetadataRagStatusResponse"}}},"description":"OK"}},"tags":["api-metadata-controller"]}},"/api/praxis/config/api-catalog/search":{"get":{"operationId":"searchApiCatalog","parameters":[{"in":"query","name":"query","required":true,"schema":{"type":"string"}},{"in":"query","name":"method","required":false,"schema":{"type":"string"}},{"in":"query","name":"tags","required":false,"schema":{"type":"string"}},{"in":"query","name":"releaseId","required":false,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"type":"integer","format":"int32","default":5}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ApiSearchResult"}}}},"description":"OK"}},"tags":["context-retrieval-controller"]}},"/api/praxis/config/color-palettes":{"get":{"operationId":"list_2","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"in":"query","name":"familyKey","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/GovernedColorPaletteResponse"}}}},"description":"OK"}},"tags":["governed-color-palette-controller"]}},"/api/praxis/config/color-palettes/capabilities":{"get":{"operationId":"capabilities_1","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/GovernedColorPaletteCapabilitiesResponse"}}},"description":"OK"}},"tags":["governed-color-palette-controller"]}},"/api/praxis/config/color-palettes/previews":{"post":{"operationId":"preview","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GovernedColorPalettePreviewRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/GovernedColorPalettePreviewResponse"}}},"description":"OK"}},"tags":["governed-color-palette-controller"]}},"/api/praxis/config/color-palettes/{paletteKey}":{"get":{"operationId":"get_2","parameters":[{"in":"path","name":"paletteKey","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"in":"header","name":"If-None-Match","required":false,"schema":{"type":"string"}},{"in":"query","name":"version","required":false,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/GovernedColorPaletteResponse"}}},"description":"OK"}},"tags":["governed-color-palette-controller"]}},"/api/praxis/config/domain-360":{"get":{"operationId":"catalog_4","parameters":[{"in":"query","name":"serviceKey","required":false,"schema":{"type":"string"}},{"in":"query","name":"resourceKey","required":false,"schema":{"type":"string"}},{"in":"query","name":"contextKey","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"type":"integer","format":"int32","default":100}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/Domain360CatalogResponse"}}},"description":"OK"}},"tags":["domain-360-catalog-controller"]}},"/api/praxis/config/domain-catalog/context":{"get":{"operationId":"context_1","parameters":[{"in":"query","name":"serviceKey","required":false,"schema":{"type":"string"}},{"in":"query","name":"resourceKey","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"in":"query","name":"type","required":false,"schema":{"type":"string"}},{"in":"query","name":"contextKey","required":false,"schema":{"type":"string"}},{"in":"query","name":"nodeType","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"type":"integer","format":"int32","default":50}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainCatalogContextResponse"}}},"description":"OK"}},"tags":["domain-catalog-controller"]}},"/api/praxis/config/domain-catalog/ingest":{"post":{"operationId":"ingest_3","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonNode"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainCatalogIngestionResponse"}}},"description":"OK"}},"tags":["domain-catalog-controller"]}},"/api/praxis/config/domain-catalog/items":{"get":{"operationId":"items","parameters":[{"in":"query","name":"releaseKey","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"in":"query","name":"type","required":false,"schema":{"type":"string"}},{"in":"query","name":"contextKey","required":false,"schema":{"type":"string"}},{"in":"query","name":"nodeType","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"type":"integer","format":"int32","default":50}}],"responses":{"200":{"content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainCatalogItemResponse"}}}},"description":"OK"}},"tags":["domain-catalog-controller"]}},"/api/praxis/config/domain-catalog/items/latest":{"get":{"operationId":"latestItems","parameters":[{"in":"query","name":"serviceKey","required":false,"schema":{"type":"string"}},{"in":"query","name":"resourceKey","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"in":"query","name":"type","required":false,"schema":{"type":"string"}},{"in":"query","name":"contextKey","required":false,"schema":{"type":"string"}},{"in":"query","name":"nodeType","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"type":"integer","format":"int32","default":50}}],"responses":{"200":{"content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainCatalogItemResponse"}}}},"description":"OK"}},"tags":["domain-catalog-controller"]}},"/api/praxis/config/domain-catalog/rag/status":{"get":{"operationId":"ragStatus","parameters":[{"in":"query","name":"serviceKey","required":false,"schema":{"type":"string"}},{"in":"query","name":"resourceKey","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainCatalogRagStatusResponse"}}},"description":"OK"}},"tags":["domain-catalog-controller"]}},"/api/praxis/config/domain-catalog/relationships/latest":{"get":{"operationId":"latestRelationships","parameters":[{"in":"query","name":"serviceKey","required":false,"schema":{"type":"string"}},{"in":"query","name":"resourceKey","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"in":"query","name":"sourceNodeKey","required":false,"schema":{"type":"string"}},{"in":"query","name":"targetNodeKey","required":false,"schema":{"type":"string"}},{"in":"query","name":"edgeType","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"type":"integer","format":"int32","default":50}}],"responses":{"200":{"content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainCatalogItemResponse"}}}},"description":"OK"}},"tags":["domain-catalog-controller"]}},"/api/praxis/config/domain-catalog/releases":{"get":{"operationId":"releases_1","parameters":[{"in":"query","name":"serviceKey","required":false,"schema":{"type":"string"}},{"in":"query","name":"resourceKey","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"type":"integer","format":"int32","default":20}}],"responses":{"200":{"content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainCatalogReleaseResponse"}}}},"description":"OK"}},"tags":["domain-catalog-controller"]}},"/api/praxis/config/domain-federation/context":{"get":{"operationId":"context","parameters":[{"in":"query","name":"serviceKey","required":false,"schema":{"type":"string"}},{"in":"query","name":"resourceKey","required":false,"schema":{"type":"string"}},{"in":"query","name":"itemType","required":false,"schema":{"type":"string","default":"node"}},{"in":"query","name":"contextKey","required":false,"schema":{"type":"string"}},{"in":"query","name":"nodeType","required":false,"schema":{"type":"string"}},{"in":"query","name":"relationshipType","required":false,"schema":{"type":"string"}},{"in":"query","name":"q","required":false,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"policyProfile","required":false,"schema":{"type":"string"}},{"in":"query","name":"minConfidence","required":false,"schema":{"type":"number","format":"double"}},{"in":"query","name":"includeDenied","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"includeLowConfidence","required":false,"schema":{"type":"boolean"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainFederationContextQueryResponse"}}},"description":"OK"}},"tags":["domain-federation-controller"]}},"/api/praxis/config/domain-federation/dry-run":{"post":{"operationId":"dryRun","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainFederationValidationRequest"}}}},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainFederationValidationReport"}}},"description":"OK"}},"tags":["domain-federation-controller"]}},"/api/praxis/config/domain-federation/ingest":{"post":{"operationId":"ingest_2","parameters":[{"in":"query","name":"dryRun","required":false,"schema":{"type":"boolean","default":true}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainFederationValidationRequest"}}}},"responses":{"200":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"OK"}},"tags":["domain-federation-controller"]}},"/api/praxis/config/domain-federation/releases":{"get":{"operationId":"releases","parameters":[{"in":"query","name":"status","required":false,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainFederationReleaseResponse"}}}},"description":"OK"}},"tags":["domain-federation-controller"]}},"/api/praxis/config/domain-federation/releases/{releaseKey}/activate":{"post":{"operationId":"activate_2","parameters":[{"in":"path","name":"releaseKey","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainFederationReleaseResponse"}}},"description":"OK"}},"tags":["domain-federation-controller"]}},"/api/praxis/config/domain-federation/releases/{releaseKey}/validation":{"get":{"operationId":"validation","parameters":[{"in":"path","name":"releaseKey","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainFederationReleaseValidationResponse"}}},"description":"OK"}},"tags":["domain-federation-controller"]}},"/api/praxis/config/domain-knowledge/change-sets":{"get":{"operationId":"list_1","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"in":"query","name":"status","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainKnowledgeChangeSetResponse"}}}},"description":"OK"}},"tags":["domain-knowledge-change-set-controller"]},"post":{"operationId":"create_10","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainKnowledgeChangeSetCreateRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainKnowledgeChangeSetResponse"}}},"description":"OK"}},"tags":["domain-knowledge-change-set-controller"]}},"/api/praxis/config/domain-knowledge/change-sets/{changeSetId}":{"get":{"operationId":"get_1","parameters":[{"in":"path","name":"changeSetId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainKnowledgeChangeSetResponse"}}},"description":"OK"}},"tags":["domain-knowledge-change-set-controller"]}},"/api/praxis/config/domain-knowledge/change-sets/{changeSetId}/apply":{"post":{"operationId":"apply","parameters":[{"in":"path","name":"changeSetId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainKnowledgeChangeSetResponse"}}},"description":"OK"}},"tags":["domain-knowledge-change-set-controller"]}},"/api/praxis/config/domain-knowledge/change-sets/{changeSetId}/status":{"patch":{"operationId":"transitionStatus","parameters":[{"in":"path","name":"changeSetId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainKnowledgeChangeSetStatusRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainKnowledgeChangeSetResponse"}}},"description":"OK"}},"tags":["domain-knowledge-change-set-controller"]}},"/api/praxis/config/domain-knowledge/change-sets/{changeSetId}/timeline":{"get":{"operationId":"timeline_1","parameters":[{"in":"path","name":"changeSetId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainKnowledgeChangeSetTimelineResponse"}}},"description":"OK"}},"tags":["domain-knowledge-change-set-controller"]}},"/api/praxis/config/domain-knowledge/change-sets/{changeSetId}/validate":{"post":{"operationId":"validate","parameters":[{"in":"path","name":"changeSetId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainKnowledgeChangeSetValidationResponse"}}},"description":"OK"}},"tags":["domain-knowledge-change-set-controller"]}},"/api/praxis/config/domain-rules/definitions":{"get":{"description":"Returns definitions only from the tenant and environment resolved from the authenticated RULE_DEFINITION_READER principal.","operationId":"definitions","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"in":"query","name":"resourceKey","required":false,"schema":{"type":"string"}},{"in":"query","name":"status","required":false,"schema":{"type":"string"}},{"in":"query","name":"ruleType","required":false,"schema":{"type":"string"}},{"in":"query","name":"ruleKey","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainRuleDefinitionResponse"}}}},"description":"Definitions in the server-resolved scope"},"403":{"content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainRuleDefinitionResponse"}}}},"description":"Principal is absent or lacks RULE_DEFINITION_READER"}},"summary":"List governed domain-rule definitions","tags":["domain-rule-controller"]},"post":{"operationId":"createDefinition","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainRuleDefinitionRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleDefinitionResponse"}}},"description":"OK"}},"tags":["domain-rule-controller"]}},"/api/praxis/config/domain-rules/definitions/capabilities":{"get":{"description":"Returns actions authorized by the server for each governed definition in the authenticated reader's tenant and environment.","operationId":"definitionCapabilities","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleDefinitionCapabilitiesResponse"}}},"description":"Capabilities in the server-resolved scope"},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleDefinitionCapabilitiesResponse"}}},"description":"Principal is absent or lacks RULE_DEFINITION_READER"}},"summary":"Read server-owned definition capabilities","tags":["domain-rule-controller"]}},"/api/praxis/config/domain-rules/definitions/catalog":{"get":{"description":"Returns a bounded, redacted page from the tenant and environment resolved from the authenticated principal. Text query ranks already-scoped catalog candidates; it does not resolve user intent.","operationId":"catalog_3","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"in":"query","name":"query","required":false,"schema":{"type":"string"}},{"in":"query","name":"ruleType","required":false,"schema":{"type":"string"}},{"in":"query","name":"status","required":false,"schema":{"type":"string"}},{"in":"query","name":"resourceKey","required":false,"schema":{"type":"string"}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"limit","required":false,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleCatalogResponse"}}},"description":"Catalog page in the server-resolved scope"},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleCatalogResponse"}}},"description":"Principal is absent or lacks RULE_DEFINITION_READER"}},"summary":"Browse governed domain decisions","tags":["domain-rule-catalog-controller"]}},"/api/praxis/config/domain-rules/definitions/{definitionId}":{"get":{"operationId":"definition","parameters":[{"in":"path","name":"definitionId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleDefinitionResponse"}}},"description":"OK"}},"tags":["domain-rule-controller"]}},"/api/praxis/config/domain-rules/definitions/{definitionId}/facts":{"get":{"description":"Returns the typed, localized and redaction-aware fact vocabulary from the definition in the authenticated reader's server-resolved scope.","operationId":"definitionFacts","parameters":[{"in":"path","name":"definitionId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleFactCatalogResponse"}}},"description":"Versioned fact catalog in the server-resolved scope"},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleFactCatalogResponse"}}},"description":"Principal is absent or lacks RULE_DEFINITION_READER"},"404":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleFactCatalogResponse"}}},"description":"Definition does not exist in the resolved scope"}},"summary":"Read the governed fact catalog for a definition","tags":["domain-rule-controller"]}},"/api/praxis/config/domain-rules/definitions/{definitionId}/parameters":{"get":{"description":"Projects the Engine template and declared/default values in the authenticated reader scope.","operationId":"definitionParameters","parameters":[{"in":"path","name":"definitionId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleParameterCatalogResponse"}}},"description":"OK"}},"summary":"Read governed parameter constraints and effective values","tags":["domain-rule-controller"]}},"/api/praxis/config/domain-rules/definitions/{definitionId}/status":{"patch":{"operationId":"transitionDefinitionStatus","parameters":[{"in":"path","name":"definitionId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainRuleDefinitionStatusTransitionRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleDefinitionResponse"}}},"description":"OK"}},"tags":["domain-rule-controller"]}},"/api/praxis/config/domain-rules/definitions/{definitionId}/timeline":{"get":{"description":"Returns persisted safe lifecycle evidence only when the definition belongs to the authenticated reader's server-resolved scope.","operationId":"definitionTimeline","parameters":[{"in":"path","name":"definitionId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleTimelineResponse"}}},"description":"Safe timeline in the server-resolved scope"},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleTimelineResponse"}}},"description":"Principal is absent or lacks RULE_DEFINITION_READER"},"404":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleTimelineResponse"}}},"description":"Definition does not exist in the resolved scope"}},"summary":"Read a safe governed-rule timeline","tags":["domain-rule-controller"]}},"/api/praxis/config/domain-rules/intake":{"post":{"operationId":"intake","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainRuleIntakeRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleIntakeResponse"}}},"description":"OK"}},"tags":["domain-rule-controller"]}},"/api/praxis/config/domain-rules/materializations":{"get":{"description":"Returns runtime-target projections only from the tenant and environment resolved from the authenticated RULE_DEFINITION_READER principal.","operationId":"materializations","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"in":"query","name":"ruleDefinitionId","required":false,"schema":{"type":"string","format":"uuid"}},{"in":"query","name":"targetLayer","required":false,"schema":{"type":"string"}},{"in":"query","name":"targetArtifactType","required":false,"schema":{"type":"string"}},{"in":"query","name":"targetArtifactKey","required":false,"schema":{"type":"string"}},{"in":"query","name":"status","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainRuleMaterializationResponse"}}}},"description":"Materializations in the server-resolved scope"},"403":{"content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainRuleMaterializationResponse"}}}},"description":"Principal is absent or lacks RULE_DEFINITION_READER"}},"summary":"List governed rule materializations","tags":["domain-rule-controller"]},"post":{"operationId":"createMaterialization","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainRuleMaterializationRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleMaterializationResponse"}}},"description":"OK"}},"tags":["domain-rule-controller"]}},"/api/praxis/config/domain-rules/materializations/{materializationId}/status":{"patch":{"operationId":"transitionMaterializationStatus","parameters":[{"in":"path","name":"materializationId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainRuleStatusTransitionRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleMaterializationResponse"}}},"description":"OK"}},"tags":["domain-rule-controller"]}},"/api/praxis/config/domain-rules/publications":{"post":{"operationId":"publish_3","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainRulePublicationRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRulePublicationResponse"}}},"description":"OK"}},"tags":["domain-rule-controller"]}},"/api/praxis/config/domain-rules/simulations":{"post":{"description":"Runs the canonical structural simulation for an authenticated definition author or approver. Readers and auditors cannot create simulation evidence.","operationId":"simulate","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainRuleSimulationRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleSimulationResponse"}}},"description":"Canonical simulation and publication readiness"},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleSimulationResponse"}}},"description":"Principal lacks RULE_DEFINITION_AUTHOR and RULE_DEFINITION_APPROVER"}},"summary":"Simulate a governed domain-rule definition","tags":["domain-rule-controller"]}},"/api/praxis/config/domain-rules/snapshots":{"get":{"description":"Returns a bounded, newest-first catalog of safe immutable-version metadata. Executable content is never included in this projection.","operationId":"versions","parameters":[{"in":"query","name":"ruleSetKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"type":"integer","format":"int32","default":50}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainRuleSnapshotVersionResponse"}}}},"description":"Published versions in newest-first order"},"400":{"content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainRuleSnapshotVersionResponse"}}}},"description":"RuleSet key or limit is invalid"},"403":{"content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainRuleSnapshotVersionResponse"}}}},"description":"Principal is absent or lacks RULE_SNAPSHOT_READER"}},"summary":"List published RuleSet versions","tags":["domain-rule-snapshot-controller"]},"post":{"description":"Compiles approved definitions and persists immutable content plus a publication event. Never changes a head. Requires If-None-Match:* when the head is absent or its strong If-Match when present. Activation is explicit and governed separately.","operationId":"publish_2","parameters":[{"description":"Governed tenant scope; snapshot provenance and head identity never cross this boundary.","in":"header","name":"X-Tenant-ID","required":true,"schema":{"type":"string"}},{"description":"Governed deployment environment within the tenant scope.","in":"header","name":"X-Env","required":true,"schema":{"type":"string"}},{"description":"Strong current-head ETag when a scoped head exists.","in":"header","name":"If-Match","required":false,"schema":{"type":"string"}},{"description":"Must be * while the scoped RuleSet head is absent.","in":"header","name":"If-None-Match","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainRuleSnapshotPublicationRequest"}}},"required":true},"responses":{"201":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleSnapshotStoredResponse"}}},"description":"Immutable snapshot published; the active head is unchanged"},"400":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleSnapshotStoredResponse"}}},"description":"Invalid RuleSet, provenance or approval evidence"},"409":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleSnapshotStoredResponse"}}},"description":"Immutable RuleSet version or publication revision already exists"},"412":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleSnapshotStoredResponse"}}},"description":"The supplied head precondition is stale"},"428":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleSnapshotStoredResponse"}}},"description":"The required creation or mutation precondition is absent"}},"summary":"Publish an immutable RuleSet snapshot without activating it","tags":["domain-rule-snapshot-controller"]}},"/api/praxis/config/domain-rules/snapshots/composition-approvals":{"post":{"description":"Recomputes the canonical manifest and appends an approval using only the authenticated server principal. Each approver must call this endpoint independently.","operationId":"approveComposition","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainRuleCompositionManifestRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleCompositionApprovalResponse"}}},"description":"Existing or newly appended approval for this principal and digest"},"400":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleCompositionApprovalResponse"}}},"description":"Candidate or governed sources are invalid"},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleCompositionApprovalResponse"}}},"description":"Principal is absent or lacks RULE_COMPOSITION_APPROVER"}},"summary":"Approve one exact RuleSet composition","tags":["domain-rule-snapshot-controller"]}},"/api/praxis/config/domain-rules/snapshots/composition-manifest":{"post":{"description":"Resolves governed source hashes and the admitted implementation catalog, validates the candidate, and returns the exact SHA-256 that composition approvers must sign off before publication.","operationId":"compositionManifest","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainRuleCompositionManifestRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleCompositionManifestResponse"}}},"description":"Canonical composition manifest ready for review"},"400":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleSnapshotProblemResponse"}}},"description":"Candidate invalid or blocked by typed reviewed-evidence diagnostics"},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleCompositionManifestResponse"}}},"description":"Principal lacks the governed composition permission"}},"summary":"Canonicalize a RuleSet composition for approval","tags":["domain-rule-snapshot-controller"]}},"/api/praxis/config/domain-rules/snapshots/execution-observations":{"post":{"operationId":"ingest_1","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainRuleExecutionObservationBatchRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleExecutionObservationBatchResponse"}}},"description":"OK"}},"tags":["domain-rule-execution-observation-controller"]}},"/api/praxis/config/domain-rules/snapshots/head":{"get":{"description":"Returns the currently selected immutable snapshot and the opaque head ETag used for optimistic concurrency and change polling.","operationId":"head_1","parameters":[{"description":"Stable semantic RuleSet identity whose active selection is requested.","in":"query","name":"ruleSetKey","required":true,"schema":{"type":"string"}},{"description":"Governed tenant scope of the active head.","in":"header","name":"X-Tenant-ID","required":true,"schema":{"type":"string"}},{"description":"Governed deployment environment of the active head.","in":"header","name":"X-Env","required":true,"schema":{"type":"string"}},{"description":"Cached head ETag; weak comparison is accepted for conditional reads.","in":"header","name":"If-None-Match","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleSnapshotActivationResponse"}}},"description":"Current active snapshot and head identity"},"304":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleSnapshotActivationResponse"}}},"description":"The caller already has the current head representation"},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleSnapshotActivationResponse"}}},"description":"Principal is absent or lacks RULE_SNAPSHOT_READER"},"404":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleSnapshotActivationResponse"}}},"description":"No snapshot has been published for this scoped RuleSet"}},"summary":"Read the active snapshot head","tags":["domain-rule-snapshot-controller"]}},"/api/praxis/config/domain-rules/snapshots/head/host-status-summary":{"get":{"operationId":"summarizeHead","parameters":[{"in":"query","name":"ruleSetKey","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleHostStatusSummaryResponse"}}},"description":"OK"}},"tags":["domain-rule-host-status-controller"]}},"/api/praxis/config/domain-rules/snapshots/head/status":{"get":{"description":"Returns safe head metadata and the concurrency head ETag. Readiness is re-evaluated against the current runtime/catalog on every request. Always returns 200 with no-store because a stable head ETag does not identify the readiness projection.","operationId":"headStatus","parameters":[{"in":"query","name":"ruleSetKey","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"description":"Ignored for this live readiness projection; the head validator remains available for mutation preconditions.","in":"header","name":"If-None-Match","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleSnapshotHeadStatusResponse"}}},"description":"Head metadata and recovery classification"},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleSnapshotHeadStatusResponse"}}},"description":"Principal is absent or lacks RULE_SNAPSHOT_READER"},"404":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleSnapshotHeadStatusResponse"}}},"description":"No scoped RuleSet head exists"}},"summary":"Inspect the operational state of a RuleSet head","tags":["domain-rule-snapshot-controller"]}},"/api/praxis/config/domain-rules/snapshots/host-status":{"post":{"operationId":"ingest","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainRuleHostStatusRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleHostStatusIngestionResponse"}}},"description":"OK"}},"tags":["domain-rule-host-status-controller"]}},"/api/praxis/config/domain-rules/snapshots/rollout-policies":{"get":{"operationId":"catalog_2","parameters":[{"in":"query","name":"ruleSetKey","required":true,"schema":{"type":"string"}},{"in":"header","name":"If-None-Match","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleRolloutPolicyCatalogResponse"}}},"description":"OK"}},"tags":["domain-rule-rollout-policy-controller"]},"post":{"operationId":"create_9","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainRuleRolloutPolicyCreateRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleRolloutPolicyMutationResponse"}}},"description":"OK"}},"tags":["domain-rule-rollout-policy-controller"]}},"/api/praxis/config/domain-rules/snapshots/rollout-policies/timeline":{"get":{"operationId":"timeline","parameters":[{"in":"query","name":"ruleSetKey","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainRuleRolloutPolicyEventResponse"}}}},"description":"OK"}},"tags":["domain-rule-rollout-policy-controller"]}},"/api/praxis/config/domain-rules/snapshots/rollout-policies/{policyId}/activate":{"post":{"operationId":"activate_1","parameters":[{"in":"path","name":"policyId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleRolloutPolicyMutationResponse"}}},"description":"OK"}},"tags":["domain-rule-rollout-policy-controller"]}},"/api/praxis/config/domain-rules/snapshots/rollout-policies/{policyId}/approve":{"post":{"operationId":"approve_3","parameters":[{"in":"path","name":"policyId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleRolloutPolicyMutationResponse"}}},"description":"OK"}},"tags":["domain-rule-rollout-policy-controller"]}},"/api/praxis/config/domain-rules/snapshots/rollouts":{"get":{"operationId":"catalog_1","parameters":[{"in":"query","name":"ruleSetKey","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleRolloutCatalogResponse"}}},"description":"OK"}},"tags":["domain-rule-rollout-controller"]},"post":{"description":"Uses strong If-Match for an existing head or If-None-Match:* for verified absence. Bootstrap requires an active maker-checker REQUIRED policy with positive quorum; publication and preload never select a head.","operationId":"create_8","parameters":[{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}},{"in":"header","name":"If-None-Match","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainRuleRolloutCreateRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleRolloutResponse"}}},"description":"OK"}},"summary":"Prepare a governed immutable candidate rollout","tags":["domain-rule-rollout-controller"]}},"/api/praxis/config/domain-rules/snapshots/rollouts/pending":{"get":{"operationId":"pending","parameters":[{"in":"query","name":"ruleSetKey","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRulePendingRolloutResponse"}}},"description":"OK"}},"tags":["domain-rule-rollout-controller"]}},"/api/praxis/config/domain-rules/snapshots/rollouts/{rolloutId}/cancel":{"post":{"operationId":"cancel_1","parameters":[{"in":"path","name":"rolloutId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}},"tags":["domain-rule-rollout-controller"]}},"/api/praxis/config/domain-rules/snapshots/rollouts/{rolloutId}/probes":{"post":{"operationId":"probe","parameters":[{"in":"path","name":"rolloutId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainRuleCandidateProbeRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleCandidateProbeResponse"}}},"description":"OK"}},"tags":["domain-rule-rollout-controller"]}},"/api/praxis/config/domain-rules/snapshots/rollouts/{rolloutId}/readiness":{"get":{"operationId":"readiness","parameters":[{"in":"path","name":"rolloutId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleRolloutReadinessResponse"}}},"description":"OK"}},"tags":["domain-rule-rollout-controller"]}},"/api/praxis/config/domain-rules/snapshots/{snapshotKey}":{"get":{"description":"Returns historically verified published content without consulting or changing the active head or compiling with the current runtime/catalog. Intact incompatible snapshots remain readable; pre-manifest or corrupt content is refused. Retrieval never grants execution or activation. The canonical content hash is the immutable representation ETag.","operationId":"snapshot","parameters":[{"description":"Opaque immutable snapshot identity assigned at publication.","in":"path","name":"snapshotKey","required":true,"schema":{"type":"string"}},{"description":"Governed tenant scope that owns the immutable snapshot.","in":"header","name":"X-Tenant-ID","required":true,"schema":{"type":"string"}},{"description":"Governed deployment environment that owns the immutable snapshot.","in":"header","name":"X-Env","required":true,"schema":{"type":"string"}},{"description":"Cached canonical content hash; weak comparison is accepted for immutable reads.","in":"header","name":"If-None-Match","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleSnapshotStoredResponse"}}},"description":"Immutable snapshot content"},"304":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleSnapshotStoredResponse"}}},"description":"The caller already has this immutable representation"},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleSnapshotStoredResponse"}}},"description":"Principal is absent or lacks RULE_SNAPSHOT_READER"},"404":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleSnapshotStoredResponse"}}},"description":"The snapshot does not exist in the requested tenant and environment"}},"summary":"Read one immutable RuleSet snapshot","tags":["domain-rule-snapshot-controller"]}},"/api/praxis/config/domain-rules/snapshots/{snapshotKey}/activate":{"post":{"description":"Selects verified immutable content and issues a new head ETag. Existing heads require strong If-Match; first activation requires If-None-Match:* and a ready rollout under a governed REQUIRED policy with positive quorum. Older content uses rollback.","operationId":"activate","parameters":[{"in":"path","name":"snapshotKey","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}},{"in":"header","name":"If-None-Match","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Rule-Rollout-ID","required":false,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleSnapshotActivationResponse"}}},"description":"Published snapshot selected and a new or rotated head identity issued"},"404":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleSnapshotActivationResponse"}}},"description":"The target snapshot does not exist in the governed scope"},"409":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleSnapshotActivationResponse"}}},"description":"Target or governed rollout/quorum does not permit selection"},"412":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleSnapshotActivationResponse"}}},"description":"The supplied head ETag is stale"},"428":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleSnapshotActivationResponse"}}},"description":"Required head creation or mutation precondition was not supplied"}},"summary":"Activate a published snapshot or bootstrap its head","tags":["domain-rule-snapshot-controller"]}},"/api/praxis/config/domain-rules/snapshots/{snapshotKey}/execution-summary":{"get":{"operationId":"summary","parameters":[{"in":"path","name":"snapshotKey","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleExecutionSummaryResponse"}}},"description":"OK"}},"tags":["domain-rule-execution-observation-controller"]}},"/api/praxis/config/domain-rules/snapshots/{snapshotKey}/rollback":{"post":{"description":"Moves the mutable head to existing immutable content, rotates the head ETag and appends an audit event. Snapshot content is never rewritten.","operationId":"rollback_1","parameters":[{"description":"Previously published immutable snapshot to select as the new active head.","in":"path","name":"snapshotKey","required":true,"schema":{"type":"string"}},{"description":"Governed tenant scope whose head will change.","in":"header","name":"X-Tenant-ID","required":true,"schema":{"type":"string"}},{"description":"Governed deployment environment whose head will change.","in":"header","name":"X-Env","required":true,"schema":{"type":"string"}},{"description":"Strong current-head ETag required to prevent overwriting a concurrent activation.","in":"header","name":"If-Match","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleSnapshotActivationResponse"}}},"description":"Prior snapshot selected and a new head identity issued"},"404":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleSnapshotActivationResponse"}}},"description":"The target snapshot or RuleSet head does not exist"},"409":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleSnapshotActivationResponse"}}},"description":"The target snapshot is already active"},"412":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleSnapshotActivationResponse"}}},"description":"The supplied head ETag is stale"},"428":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleSnapshotActivationResponse"}}},"description":"If-Match was not supplied"}},"summary":"Reactivate a previously published snapshot","tags":["domain-rule-snapshot-controller"]}},"/api/praxis/config/domain-rules/workspaces":{"get":{"operationId":"list","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainRuleChangeWorkspaceResponse"}}}},"description":"OK"}},"tags":["domain-rule-change-workspace-controller"]},"post":{"operationId":"create_7","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainRuleChangeWorkspaceCreateRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleChangeWorkspaceResponse"}}},"description":"OK"}},"tags":["domain-rule-change-workspace-controller"]}},"/api/praxis/config/domain-rules/workspaces/{workspaceId}":{"get":{"operationId":"get","parameters":[{"in":"path","name":"workspaceId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"If-None-Match","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleChangeWorkspaceResponse"}}},"description":"OK"}},"tags":["domain-rule-change-workspace-controller"]}},"/api/praxis/config/domain-rules/workspaces/{workspaceId}/capabilities":{"get":{"operationId":"capabilities","parameters":[{"in":"path","name":"workspaceId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleWorkspaceCapabilityResponse"}}},"description":"OK"}},"tags":["domain-rule-change-workspace-controller"]}},"/api/praxis/config/domain-rules/workspaces/{workspaceId}/draft":{"put":{"operationId":"updateDraft","parameters":[{"in":"path","name":"workspaceId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainRuleChangeWorkspaceUpdateRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleChangeWorkspaceResponse"}}},"description":"OK"}},"tags":["domain-rule-change-workspace-controller"]}},"/api/praxis/config/domain-rules/workspaces/{workspaceId}/promote":{"post":{"operationId":"promote","parameters":[{"in":"path","name":"workspaceId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleChangeWorkspaceResponse"}}},"description":"OK"}},"tags":["domain-rule-change-workspace-controller"]}},"/api/praxis/config/domain-rules/workspaces/{workspaceId}/reviews":{"get":{"operationId":"reviews","parameters":[{"in":"path","name":"workspaceId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainRuleWorkspaceReviewResponse"}}}},"description":"OK"}},"tags":["domain-rule-change-workspace-controller"]},"post":{"operationId":"review","parameters":[{"in":"path","name":"workspaceId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainRuleWorkspaceReviewRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleWorkspaceReviewResponse"}}},"description":"OK"}},"tags":["domain-rule-change-workspace-controller"]}},"/api/praxis/config/domain-rules/workspaces/{workspaceId}/scenarios":{"get":{"operationId":"scenarios","parameters":[{"in":"path","name":"workspaceId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainRuleTestScenarioResponse"}}}},"description":"OK"}},"tags":["domain-rule-change-workspace-controller"]},"post":{"operationId":"createScenario","parameters":[{"in":"path","name":"workspaceId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainRuleTestScenarioRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleTestScenarioResponse"}}},"description":"OK"}},"tags":["domain-rule-change-workspace-controller"]}},"/api/praxis/config/domain-rules/workspaces/{workspaceId}/scenarios/{scenarioId}":{"put":{"operationId":"updateScenario","parameters":[{"in":"path","name":"workspaceId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"path","name":"scenarioId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainRuleTestScenarioRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleTestScenarioResponse"}}},"description":"OK"}},"tags":["domain-rule-change-workspace-controller"]}},"/api/praxis/config/domain-rules/workspaces/{workspaceId}/submit":{"post":{"operationId":"submit_1","parameters":[{"in":"path","name":"workspaceId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleChangeWorkspaceResponse"}}},"description":"OK"}},"tags":["domain-rule-change-workspace-controller"]}},"/api/praxis/config/domain-rules/workspaces/{workspaceId}/test-runs":{"get":{"operationId":"testRuns","parameters":[{"in":"path","name":"workspaceId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/DomainRuleTestRunResponse"}}}},"description":"OK"}},"tags":["domain-rule-change-workspace-controller"]},"post":{"operationId":"recordTestRun","parameters":[{"in":"path","name":"workspaceId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DomainRuleTestRunRecordRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleTestRunResponse"}}},"description":"OK"}},"tags":["domain-rule-change-workspace-controller"]}},"/api/praxis/config/pages":{"get":{"operationId":"catalog","parameters":[{"in":"header","name":"X-Praxis-Context-Version","required":true,"schema":{"type":"string"}},{"in":"header","name":"If-None-Match","required":false,"schema":{"type":"string"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"type":"integer","format":"int32","default":50}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageCatalogResponse"}}},"description":"OK"}},"tags":["page-runtime-controller"]},"post":{"description":"Atomically registers server-generated identity, route, immutable provenance, draft and metadata captures. Equal creation-key replay returns the original identity with the current draft ETag; a different command conflicts. Publication uses existing ui-layout lifecycle commands.","operationId":"create_6","parameters":[{"in":"header","name":"X-Praxis-Context-Version","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageCreationCommand"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageCreationReceipt"}}},"description":"Same creation recovered under current authority; no recapture or conditional 304."},"201":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageCreationReceipt"}}},"description":"Created atomically; no-store, strong draft ETag and usable workspace Location."},"409":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageCreationReceipt"}}},"description":"Creation key already belongs to a different command or current context changed."}},"summary":"Create an independent governed page from an exact authorized source","tags":["page-creation-controller"]}},"/api/praxis/config/pages/by-creation-key":{"get":{"description":"Requires current READ_CREATION and READ_DRAFT in the original actor/application/tenant/environment scope. Returns the creation identity and selected-source reference with the current draft ETag; exposes no ancestral ledger and does not require permission to the old source. Absence is not proof that an in-flight creation failed. Always no-store, never 304.","operationId":"byCreationKey","parameters":[{"in":"header","name":"X-Praxis-Context-Version","required":true,"schema":{"type":"string"}},{"in":"query","name":"creationKey","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/PageCreationReceipt"}}},"description":"OK"}},"summary":"Reconcile a page creation after a lost response","tags":["page-creation-controller"]}},"/api/praxis/config/pages/{pageId}/published":{"get":{"operationId":"published","parameters":[{"in":"header","name":"X-Praxis-Context-Version","required":true,"schema":{"type":"string"}},{"in":"header","name":"If-None-Match","required":false,"schema":{"type":"string"}},{"in":"path","name":"pageId","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/PublishedPageResponse"}}},"description":"OK"}},"tags":["page-runtime-controller"]}},"/api/praxis/config/ui":{"delete":{"operationId":"deleteConfigByParams","parameters":[{"in":"query","name":"componentType","required":true,"schema":{"type":"string"}},{"in":"query","name":"componentId","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}},"tags":["user-config-controller"]},"get":{"operationId":"getConfigByParams","parameters":[{"in":"query","name":"componentType","required":true,"schema":{"type":"string"}},{"in":"query","name":"componentId","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"in":"header","name":"If-None-Match","required":false,"schema":{"type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/UserConfigResponse"}}},"description":"OK"}},"tags":["user-config-controller"]},"put":{"operationId":"upsertConfigByParams","parameters":[{"in":"query","name":"componentType","required":true,"schema":{"type":"string"}},{"in":"query","name":"componentId","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Updated-By","required":false,"schema":{"type":"string"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertUserConfigRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/UserConfigResponse"}}},"description":"OK"}},"tags":["user-config-controller"]}},"/api/praxis/config/ui-layouts/drafts":{"post":{"description":"Captures all registered native authoring baselines once. Replaying the same scoped Idempotency-Key returns the current workspace without recapturing source state.","operationId":"createDraft","parameters":[{"in":"query","name":"rootComponentType","required":true,"schema":{"type":"string"}},{"in":"query","name":"rootComponentId","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Praxis-Context-Version","required":true,"schema":{"type":"string"}},{"in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string"}}],"responses":{"201":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Draft receipt, Location and strong draft ETag."},"401":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Host principal is absent."},"403":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Host lifecycle admission denies creation."},"503":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Host context or structure source is unavailable."}},"summary":"Create a scoped UI layout authoring workspace","tags":["ui-layout-lifecycle-controller"]}},"/api/praxis/config/ui-layouts/drafts/by-creation-key":{"get":{"description":"Reads only the existing association in the authenticated tenant, environment, root and actor scope. Rechecks READ_DRAFT admission before returning the current identity receipt. Absence does not establish that creation failed. No creation, retry or conditional 304 is performed; read the canonical workspace before editing.","operationId":"draftByCreationKey","parameters":[{"description":"Registered composition root component type whose draft creation is being reconciled.","in":"query","name":"rootComponentType","required":true,"schema":{"type":"string"}},{"description":"Registered composition root instance identifier within the authenticated scope.","in":"query","name":"rootComponentId","required":true,"schema":{"type":"string"}},{"description":"Current host-attested context version authorizing this read; not part of the persisted creation identity.","in":"header","name":"X-Praxis-Context-Version","required":true,"schema":{"type":"string"}},{"description":"Same case-sensitive key used for draft creation by this actor and root; trimmed length 1 to 180. Not a credential; keep out of URLs and redact in host logs.","in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/UiLayoutDraftReceipt"}}},"description":"Current draft identity receipt, canonical workspace Location, strong draft ETag and no-store. Does not establish workspace integrity or publication."},"400":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/UiLayoutDraftReceipt"}}},"description":"Required root, context or creation key is missing or invalid."},"401":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/UiLayoutDraftReceipt"}}},"description":"Authenticated host session is required."},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/UiLayoutDraftReceipt"}}},"description":"Current host admission denies reading this root."},"404":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/UiLayoutDraftReceipt"}}},"description":"No creation association was observed in the authorized scope; the original command outcome remains unconfirmed."},"409":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/UiLayoutDraftReceipt"}}},"description":"Authenticated lifecycle context changed during lookup."},"503":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/UiLayoutDraftReceipt"}}},"description":"Context or draft association source is unavailable."}},"summary":"Find a draft created with the current actor's creation key","tags":["ui-layout-lifecycle-controller"]}},"/api/praxis/config/ui-layouts/drafts/{draftId}":{"get":{"description":"Resolves host context and admission before scoped lookup or conditional evaluation.","operationId":"draft","parameters":[{"in":"path","name":"draftId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"query","name":"rootComponentType","required":true,"schema":{"type":"string"}},{"in":"query","name":"rootComponentId","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Praxis-Context-Version","required":true,"schema":{"type":"string"}},{"in":"header","name":"If-None-Match","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Sanitized draft receipt and draft ETag."},"304":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Current authorized draft representation matches the weak validator."},"403":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Root is denied or unregistered."},"404":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Authorized scope has no such draft."}},"summary":"Read a scoped UI layout draft","tags":["ui-layout-lifecycle-controller"]}},"/api/praxis/config/ui-layouts/drafts/{draftId}/assignments":{"post":{"operationId":"assignment","parameters":[{"in":"path","name":"draftId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"query","name":"rootComponentType","required":true,"schema":{"type":"string"}},{"in":"query","name":"rootComponentId","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Praxis-Context-Version","required":true,"schema":{"type":"string"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"string"}}},"required":true},"responses":{"201":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Assignment receipt without selector and next draft receipt; response ETag is nextDraft.draftEtag."},"400":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Body is null, non-object, incomplete or structurally malformed."},"412":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Draft If-Match is missing, weak, ambiguous or stale."},"422":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Selector, layer or target violates authorized lifecycle policy."}},"summary":"Create a validated immutable UI layout assignment","tags":["ui-layout-lifecycle-controller"]}},"/api/praxis/config/ui-layouts/drafts/{draftId}/releases":{"post":{"description":"Derives every member from authoritative workspace selections and atomically persists freezeCommandRef for lost-response reconciliation.","operationId":"freeze","parameters":[{"in":"path","name":"draftId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"query","name":"rootComponentType","required":true,"schema":{"type":"string"}},{"in":"query","name":"rootComponentId","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Praxis-Context-Version","required":true,"schema":{"type":"string"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"string"}}},"required":true},"responses":{"201":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Release, next workspace with freezeCommandRef, and DRAFT review receipt; response ETag is review.reviewEtag."},"400":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Body is null, non-object, incomplete or structurally malformed."},"412":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Draft If-Match is missing, weak, ambiguous or stale."},"422":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Derived selections fail composition, assignment or content-revision invariants."}},"summary":"Freeze an immutable aggregate UI layout release","tags":["ui-layout-lifecycle-controller"]}},"/api/praxis/config/ui-layouts/drafts/{draftId}/revisions":{"post":{"description":"Submit complete raw native authorship; Config compiles its contribution against the draft's original pinned baseline and validates it before persistence. Client patchDocument is rejected. Requires UTF-8 JSON with a maximum actual request body of 1 MiB. The candidate and generated patch each have an independent 256 KiB compact JSON budget and 64 container levels; the request envelope allows 65 levels.","operationId":"revision","parameters":[{"in":"path","name":"draftId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"query","name":"rootComponentType","required":true,"schema":{"type":"string"}},{"in":"query","name":"rootComponentId","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Praxis-Context-Version","required":true,"schema":{"type":"string"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UiLayoutRevisionCommandRequest"}}},"description":"Complete raw native authorship and revision correlation. Baseline, descriptors and contribution are resolved by Config, not submitted by the caller.","required":true},"responses":{"201":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Immutable revision receipt and next draft receipt; response ETag is nextDraft.draftEtag."},"400":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Body encoding, JSON structure or document budget is invalid."},"412":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Draft If-Match is missing, weak, ambiguous or stale."},"413":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Actual or declared body exceeds 1 MiB; sanitized REVISION_BODY_TOO_LARGE problem and no-store response."},"422":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Patch fails target schema or presentation policy validation."}},"summary":"Create a server-compiled immutable UI layout revision","tags":["ui-layout-lifecycle-controller"]}},"/api/praxis/config/ui-layouts/effective":{"get":{"description":"Resolves presentation-only layers using host-validated audience facts. Audience membership is neither accepted from nor disclosed to the caller.","operationId":"effective","parameters":[{"in":"query","name":"componentType","required":true,"schema":{"type":"string"}},{"in":"query","name":"componentId","required":true,"schema":{"type":"string"}},{"description":"Opaque assertion from the current server-confirmed runtime context; independent of the layout ETag.","in":"header","name":"X-Praxis-Context-Version","required":true,"schema":{"type":"string"}},{"in":"header","name":"If-None-Match","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/EffectiveUiLayoutResponse"}}},"description":"Effective layout and sanitized resolution receipt."},"304":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/EffectiveUiLayoutResponse"}}},"description":"The exact context and target validator still matches."},"400":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/EffectiveUiLayoutResponse"}}},"description":"Target identity or conditional header is invalid."},"401":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/EffectiveUiLayoutResponse"}}},"description":"No authenticated host principal is available."},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/EffectiveUiLayoutResponse"}}},"description":"The current host-authorized context cannot consume layouts."},"404":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/EffectiveUiLayoutResponse"}}},"description":"No published layout applies to the exact target."},"409":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/EffectiveUiLayoutResponse"}}},"description":"The asserted runtime context is stale."},"422":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/EffectiveUiLayoutResponse"}}},"description":"Published inputs are ambiguous or violate presentation invariants."},"503":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/EffectiveUiLayoutResponse"}}},"description":"An authoritative audience or layout source is unavailable."}},"summary":"Resolve an effective governed UI layout","tags":["effective-ui-layout-controller"]}},"/api/praxis/config/ui-layouts/release-head":{"get":{"description":"Returns the sole mutable active-release pointer only after host context admission.","operationId":"head","parameters":[{"in":"query","name":"rootComponentType","required":true,"schema":{"type":"string"}},{"in":"query","name":"rootComponentId","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Praxis-Context-Version","required":true,"schema":{"type":"string"}},{"in":"header","name":"If-None-Match","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Sanitized head receipt and head ETag."},"304":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Current authorized head representation matches the weak validator."},"403":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Root is denied or unregistered."},"404":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Authorized scope has no release head."}},"summary":"Read the scoped UI layout release head","tags":["ui-layout-lifecycle-controller"]}},"/api/praxis/config/ui-layouts/release-head/publish":{"post":{"operationId":"publish_1","parameters":[{"in":"query","name":"rootComponentType","required":true,"schema":{"type":"string"}},{"in":"query","name":"rootComponentId","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Praxis-Context-Version","required":true,"schema":{"type":"string"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}},{"in":"header","name":"If-None-Match","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"string"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Updated head receipt and rotated head ETag."},"400":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Body is null, non-object, incomplete or structurally malformed."},"412":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"First-publish or existing-head precondition is absent, ambiguous, weak or stale."},"422":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Current registered composition or policy rejects the frozen release."}},"summary":"Publish an approved immutable release as the active scoped head","tags":["ui-layout-lifecycle-controller"]}},"/api/praxis/config/ui-layouts/release-head/rollback":{"post":{"operationId":"rollback","parameters":[{"in":"query","name":"rootComponentType","required":true,"schema":{"type":"string"}},{"in":"query","name":"rootComponentId","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Praxis-Context-Version","required":true,"schema":{"type":"string"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"string"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Updated head receipt and rotated head ETag."},"400":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Body is null, non-object, incomplete or structurally malformed."},"412":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Existing strong head If-Match is absent, weak, ambiguous or stale."},"422":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Current registered composition or policy rejects the selected frozen release."}},"summary":"Select an approved prior release through the scoped rollback head transition","tags":["ui-layout-lifecycle-controller"]}},"/api/praxis/config/ui-layouts/release-head/withdraw":{"post":{"operationId":"withdraw","parameters":[{"in":"query","name":"rootComponentType","required":true,"schema":{"type":"string"}},{"in":"query","name":"rootComponentId","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Praxis-Context-Version","required":true,"schema":{"type":"string"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"string"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Updated withdrawn head receipt and rotated head ETag."},"400":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Body is null, non-object, incomplete or structurally malformed."},"409":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"No active release exists to withdraw."},"412":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Existing strong head If-Match is absent, weak, ambiguous or stale."}},"summary":"Withdraw the active scoped release head","tags":["ui-layout-lifecycle-controller"]}},"/api/praxis/config/ui-layouts/releases/{releaseId}/approve":{"post":{"operationId":"approve_2","parameters":[{"in":"path","name":"releaseId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"query","name":"rootComponentType","required":true,"schema":{"type":"string"}},{"in":"query","name":"rootComponentId","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Praxis-Context-Version","required":true,"schema":{"type":"string"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"string"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"APPROVED review receipt and rotated review ETag."},"400":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Body is null, non-object, incomplete or structurally malformed."},"409":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Release review is not in SUBMITTED state."},"412":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Review If-Match is missing, weak, ambiguous or stale."}},"summary":"Approve a submitted immutable release","tags":["ui-layout-lifecycle-controller"]}},"/api/praxis/config/ui-layouts/releases/{releaseId}/review":{"get":{"description":"Returns review state without approval actor or private evidence.","operationId":"review_2","parameters":[{"in":"path","name":"releaseId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"query","name":"rootComponentType","required":true,"schema":{"type":"string"}},{"in":"query","name":"rootComponentId","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Praxis-Context-Version","required":true,"schema":{"type":"string"}},{"in":"header","name":"If-None-Match","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Sanitized review receipt and review ETag."},"304":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Current authorized review representation matches the weak validator."},"403":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Root is denied or unregistered."},"404":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Authorized scope has no such review."}},"summary":"Read a scoped UI layout release review","tags":["ui-layout-lifecycle-controller"]}},"/api/praxis/config/ui-layouts/releases/{releaseId}/submit":{"post":{"operationId":"submit","parameters":[{"in":"path","name":"releaseId","required":true,"schema":{"type":"string","format":"uuid"}},{"in":"query","name":"rootComponentType","required":true,"schema":{"type":"string"}},{"in":"query","name":"rootComponentId","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Praxis-Context-Version","required":true,"schema":{"type":"string"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"SUBMITTED review receipt and rotated review ETag."},"409":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Release review is not in DRAFT state."},"412":{"content":{"*/*":{"schema":{"type":"object"}}},"description":"Review If-Match is missing, weak, ambiguous or stale."}},"summary":"Submit an immutable release for review","tags":["ui-layout-lifecycle-controller"]}},"/api/praxis/config/ui/{componentType}/{componentId}":{"delete":{"operationId":"deleteConfig","parameters":[{"in":"path","name":"componentType","required":true,"schema":{"type":"string"}},{"in":"path","name":"componentId","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}},"tags":["user-config-controller"]},"get":{"operationId":"getConfig","parameters":[{"in":"path","name":"componentType","required":true,"schema":{"type":"string"}},{"in":"path","name":"componentId","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"in":"header","name":"If-None-Match","required":false,"schema":{"type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/UserConfigResponse"}}},"description":"OK"}},"tags":["user-config-controller"]},"put":{"operationId":"upsertConfig","parameters":[{"in":"path","name":"componentType","required":true,"schema":{"type":"string"}},{"in":"path","name":"componentId","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-User-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Updated-By","required":false,"schema":{"type":"string"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}},{"in":"query","name":"scope","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpsertUserConfigRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/UserConfigResponse"}}},"description":"OK"}},"tags":["user-config-controller"]}},"/api/praxis/policy-studio/rule-sets/{ruleSetKey}/candidate":{"post":{"operationId":"prepare","parameters":[{"in":"path","name":"ruleSetKey","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleSetCompositionCandidateRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RuleSetCompositionCandidate"}}},"description":"OK"}},"tags":["policy-studio-rule-set-composition-controller"]}},"/api/praxis/policy-studio/rule-sets/{ruleSetKey}/candidate/approvals":{"post":{"operationId":"approve_1","parameters":[{"in":"path","name":"ruleSetKey","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleSetCompositionCandidateCommand"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainRuleCompositionApprovalResponse"}}},"description":"OK"}},"tags":["policy-studio-rule-set-composition-controller"]}},"/api/praxis/policy-studio/rule-sets/{ruleSetKey}/candidate/publish":{"post":{"operationId":"publish","parameters":[{"in":"path","name":"ruleSetKey","required":true,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}},{"in":"header","name":"If-Match","required":false,"schema":{"type":"string"}},{"in":"header","name":"If-None-Match","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RuleSetCompositionCandidateCommand"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/RuleSetCompositionPublication"}}},"description":"OK"}},"tags":["policy-studio-rule-set-composition-controller"]}},"/api/praxis/policy-studio/sandbox/runs":{"post":{"operationId":"run","parameters":[{"in":"header","name":"X-Tenant-ID","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Env","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PolicyStudioSandboxRunRequest"}}},"required":true},"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/PolicyStudioSandboxRunResponse"}}},"description":"OK"}},"tags":["policy-studio-sandbox-controller"]}},"/api/praxis/runtime/context":{"get":{"description":"Requires a validated host session, not a preselected tenant. Only ready includes effectiveContext; tenant/user/profile headers never establish identity or selection.","operationId":"getContext","parameters":[{"in":"header","name":"Accept-Language","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Timezone","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Praxis-Module-Key","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/EnterpriseRuntimeContextResponse"}}},"description":"OK"},"401":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}},"description":"SESSION_REQUIRED: host session absent, invalid, expired or revoked."},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}},"description":"CONTEXT_CHOICE_DENIED: selected choice is not authorized for this session."},"409":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}},"description":"CONTEXT_SELECTION_CONFLICT, CONTEXT_VERSION_CONFLICT or CONTEXT_NOT_READY."},"503":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}},"description":"RUNTIME_PROVIDER_UNAVAILABLE or RUNTIME_SOURCE_UNAVAILABLE."}},"summary":"Read the host-confirmed session selection state","tags":["Enterprise runtime"]},"put":{"description":"Accepts only choiceRef and expectedSelectionVersion. The host revalidates session and choice, executes selection CAS and returns canonical state after commit.","operationId":"switchContext","parameters":[{"in":"header","name":"Accept-Language","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Timezone","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Praxis-Module-Key","required":false,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnterpriseRuntimeContextSwitchCommand"}}}},"responses":{"400":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}},"description":"INVALID_CONTEXT_COMMAND: malformed, missing, oversized, unknown or duplicate properties; no provider mutation occurs."},"401":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}},"description":"SESSION_REQUIRED: host session absent, invalid, expired or revoked."},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}},"description":"CONTEXT_CHOICE_DENIED: selected choice is not authorized for this session."},"409":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}},"description":"CONTEXT_SELECTION_CONFLICT, CONTEXT_VERSION_CONFLICT or CONTEXT_NOT_READY."},"503":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}},"description":"RUNTIME_PROVIDER_UNAVAILABLE or RUNTIME_SOURCE_UNAVAILABLE."}},"summary":"Select one complete authorized context choice","tags":["Enterprise runtime"]}},"/api/praxis/runtime/context/choices":{"get":{"description":"Available before first selection and after invalidation. Cursor and choices are host-bound; this catalog grants no access and never fabricates a default choice.","operationId":"getChoices","parameters":[{"in":"header","name":"Accept-Language","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Timezone","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Praxis-Module-Key","required":false,"schema":{"type":"string"}},{"description":"Opaque host continuation bound to session, query and position; omit for first page.","in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"description":"Maximum items requested; default 50, inclusive range 1..100.","in":"query","name":"pageSize","required":false,"schema":{"type":"integer","format":"int32","default":50}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/EnterpriseRuntimeContextChoicesResponse"}}},"description":"OK"},"401":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}},"description":"SESSION_REQUIRED: host session absent, invalid, expired or revoked."},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}},"description":"CONTEXT_CHOICE_DENIED: selected choice is not authorized for this session."},"409":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}},"description":"CONTEXT_SELECTION_CONFLICT, CONTEXT_VERSION_CONFLICT or CONTEXT_NOT_READY."},"503":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}},"description":"RUNTIME_PROVIDER_UNAVAILABLE or RUNTIME_SOURCE_UNAVAILABLE."}},"summary":"Discover a bounded page of complete choices for this session","tags":["Enterprise runtime"]}},"/api/praxis/runtime/navigation":{"get":{"operationId":"getNavigation","parameters":[{"in":"header","name":"X-Praxis-Context-Version","required":false,"schema":{"type":"string"}},{"in":"header","name":"If-None-Match","required":false,"schema":{"type":"string"}},{"in":"query","name":"parentRef","required":false,"schema":{"type":"string"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}},{"in":"query","name":"pageSize","required":false,"schema":{"type":"integer","format":"int32","default":50}},{"in":"header","name":"Accept-Language","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Timezone","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Praxis-Module-Key","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/EnterpriseRuntimeNavigationResponse"}}},"description":"OK"},"401":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}},"description":"SESSION_REQUIRED: host session absent, invalid, expired or revoked."},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}},"description":"CONTEXT_CHOICE_DENIED: selected choice is not authorized for this session."},"409":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}},"description":"CONTEXT_SELECTION_CONFLICT, CONTEXT_VERSION_CONFLICT or CONTEXT_NOT_READY."},"503":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}},"description":"RUNTIME_PROVIDER_UNAVAILABLE or RUNTIME_SOURCE_UNAVAILABLE."}},"tags":["Enterprise runtime"]}},"/api/praxis/runtime/security-events":{"get":{"operationId":"getSecurityEvents","parameters":[{"in":"header","name":"Accept-Language","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Timezone","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Praxis-Module-Key","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/EnterpriseRuntimeSecurityEventsResponse"}}},"description":"OK"},"401":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}},"description":"SESSION_REQUIRED: host session absent, invalid, expired or revoked."},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}},"description":"CONTEXT_CHOICE_DENIED: selected choice is not authorized for this session."},"409":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}},"description":"CONTEXT_SELECTION_CONFLICT, CONTEXT_VERSION_CONFLICT or CONTEXT_NOT_READY."},"503":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}},"description":"RUNTIME_PROVIDER_UNAVAILABLE or RUNTIME_SOURCE_UNAVAILABLE."}},"tags":["Enterprise runtime"]}},"/api/praxis/runtime/tenants":{"get":{"description":"This remains a distinct host discovery surface. It neither chooses context nor replaces opaque choices.","operationId":"getTenants","parameters":[{"in":"header","name":"Accept-Language","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Timezone","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Praxis-Module-Key","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/EnterpriseRuntimeTenantsResponse"}}},"description":"OK"},"401":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}},"description":"SESSION_REQUIRED: host session absent, invalid, expired or revoked."},"403":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}},"description":"CONTEXT_CHOICE_DENIED: selected choice is not authorized for this session."},"409":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}},"description":"CONTEXT_SELECTION_CONFLICT, CONTEXT_VERSION_CONFLICT or CONTEXT_NOT_READY."},"503":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ProblemDetail"}}},"description":"RUNTIME_PROVIDER_UNAVAILABLE or RUNTIME_SOURCE_UNAVAILABLE."}},"summary":"Read host-projected tenant discovery","tags":["Enterprise runtime"]}},"/api/procurement/companies":{"post":{"operationId":"create_5","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProcurementCompanyDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseProcurementCompanyDTO"}}},"description":"Resource created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Invalid request or business rule violation"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Request conflicts with existing or dependent data"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Criar item","tags":["procurement-company-controller"]}},"/api/procurement/companies/actions":{"get":{"operationId":"getCollectionActions_7","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["procurement-company-controller"]}},"/api/procurement/companies/all":{"get":{"operationId":"getAll_7","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelProcurementCompanyDTO"}}},"description":"OK"}},"summary":"Listar itens","tags":["procurement-company-controller"]}},"/api/procurement/companies/batch":{"delete":{"operationId":"deleteBatch_5","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Resources deleted"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Batch request is empty or invalid"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Excluir itens em lote","tags":["procurement-company-controller"]}},"/api/procurement/companies/by-ids":{"get":{"operationId":"getByIds_7","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProcurementCompanyDTO"}}}},"description":"OK"}},"summary":"Buscar registros por IDs","tags":["procurement-company-controller"]}},"/api/procurement/companies/capabilities":{"get":{"operationId":"getCollectionCapabilities_7","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["procurement-company-controller"]}},"/api/procurement/companies/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_7","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestProcurementCompanyFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["procurement-company-controller"]}},"/api/procurement/companies/filter":{"post":{"description":"Lista empresas que delimitam a cadeia de suprimentos por razao social, documento e status, servindo como raiz de fornecedores, contratos, produtos e pedidos.","operationId":"filter_7","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementCompanyFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelProcurementCompanyDTO"}}},"description":"OK"}},"summary":"Filtrar empresas compradoras","tags":["procurement-company-controller"]}},"/api/procurement/companies/filter/cursor":{"post":{"operationId":"filterByCursor_7","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementCompanyFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelProcurementCompanyDTO"}}},"description":"OK"}},"summary":"Filtrar com paginacao por cursor","tags":["procurement-company-controller"]}},"/api/procurement/companies/locate":{"post":{"operationId":"locate_7","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementCompanyFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"OK"}},"summary":"Localizar posicao de registro","tags":["procurement-company-controller"]}},"/api/procurement/companies/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_7","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["procurement-company-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_7","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["procurement-company-controller"]}},"/api/procurement/companies/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_7","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["procurement-company-controller"]}},"/api/procurement/companies/options/by-ids":{"get":{"operationId":"getOptionsByIds_7","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"OK"}},"summary":"Buscar opcoes por IDs","tags":["procurement-company-controller"]}},"/api/procurement/companies/options/filter":{"post":{"operationId":"filterOptions_7","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementCompanyFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"OK"}},"summary":"Listar opcoes filtradas","tags":["procurement-company-controller"]}},"/api/procurement/companies/schemas":{"get":{"operationId":"getSchema_7","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["procurement-company-controller"]}},"/api/procurement/companies/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_7","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["procurement-company-controller"]}},"/api/procurement/companies/stats/comparison":{"post":{"operationId":"comparisonStats_7","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestProcurementCompanyFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["procurement-company-controller"]}},"/api/procurement/companies/stats/distribution":{"post":{"operationId":"distributionStats_7","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["procurement-company-controller"]}},"/api/procurement/companies/stats/group-by":{"post":{"operationId":"groupByStats_7","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["procurement-company-controller"]}},"/api/procurement/companies/stats/timeseries":{"post":{"operationId":"timeSeriesStats_7","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["procurement-company-controller"]}},"/api/procurement/companies/{id}":{"delete":{"operationId":"delete_5","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Resource deleted"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Excluir item","tags":["procurement-company-controller"]},"get":{"operationId":"getById_5","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseProcurementCompanyDTO"}}},"description":"OK"}},"summary":"Abrir item","tags":["procurement-company-controller"]},"put":{"operationId":"update_5","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProcurementCompanyDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseProcurementCompanyDTO"}}},"description":"Resource updated"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Invalid request or business rule violation"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Request conflicts with existing or dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Editar item","tags":["procurement-company-controller"]}},"/api/procurement/companies/{id}/actions":{"get":{"operationId":"getItemActions_7","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["procurement-company-controller"]}},"/api/procurement/companies/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_7","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["procurement-company-controller"]}},"/api/procurement/companies/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_7","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["procurement-company-controller"]}},"/api/procurement/contracts":{"post":{"operationId":"create_4","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProcurementContractDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseProcurementContractDTO"}}},"description":"Resource created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Invalid request or business rule violation"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Request conflicts with existing or dependent data"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Criar item","tags":["procurement-contract-controller"]}},"/api/procurement/contracts/actions":{"get":{"operationId":"getCollectionActions_6","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["procurement-contract-controller"]}},"/api/procurement/contracts/all":{"get":{"operationId":"getAll_6","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelProcurementContractDTO"}}},"description":"OK"}},"summary":"Listar itens","tags":["procurement-contract-controller"]}},"/api/procurement/contracts/batch":{"delete":{"operationId":"deleteBatch_4","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Resources deleted"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Batch request is empty or invalid"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Excluir itens em lote","tags":["procurement-contract-controller"]}},"/api/procurement/contracts/by-ids":{"get":{"operationId":"getByIds_6","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProcurementContractDTO"}}}},"description":"OK"}},"summary":"Buscar registros por IDs","tags":["procurement-contract-controller"]}},"/api/procurement/contracts/capabilities":{"get":{"operationId":"getCollectionCapabilities_6","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["procurement-contract-controller"]}},"/api/procurement/contracts/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_6","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestProcurementContractFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["procurement-contract-controller"]}},"/api/procurement/contracts/filter":{"post":{"description":"Lista contratos por empresa, fornecedor, vigencia, moeda e status para governar pedidos de compra e compliance de suprimentos.","operationId":"filter_6","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementContractFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelProcurementContractDTO"}}},"description":"OK"}},"summary":"Filtrar contratos de fornecimento","tags":["procurement-contract-controller"]}},"/api/procurement/contracts/filter/cursor":{"post":{"operationId":"filterByCursor_6","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementContractFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelProcurementContractDTO"}}},"description":"OK"}},"summary":"Filtrar com paginacao por cursor","tags":["procurement-contract-controller"]}},"/api/procurement/contracts/locate":{"post":{"operationId":"locate_6","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementContractFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"OK"}},"summary":"Localizar posicao de registro","tags":["procurement-contract-controller"]}},"/api/procurement/contracts/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_6","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["procurement-contract-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_6","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["procurement-contract-controller"]}},"/api/procurement/contracts/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_6","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["procurement-contract-controller"]}},"/api/procurement/contracts/options/by-ids":{"get":{"operationId":"getOptionsByIds_6","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"OK"}},"summary":"Buscar opcoes por IDs","tags":["procurement-contract-controller"]}},"/api/procurement/contracts/options/filter":{"post":{"operationId":"filterOptions_6","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementContractFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"OK"}},"summary":"Listar opcoes filtradas","tags":["procurement-contract-controller"]}},"/api/procurement/contracts/schemas":{"get":{"operationId":"getSchema_6","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["procurement-contract-controller"]}},"/api/procurement/contracts/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_6","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["procurement-contract-controller"]}},"/api/procurement/contracts/stats/comparison":{"post":{"operationId":"comparisonStats_6","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestProcurementContractFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["procurement-contract-controller"]}},"/api/procurement/contracts/stats/distribution":{"post":{"operationId":"distributionStats_6","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["procurement-contract-controller"]}},"/api/procurement/contracts/stats/group-by":{"post":{"operationId":"groupByStats_6","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["procurement-contract-controller"]}},"/api/procurement/contracts/stats/timeseries":{"post":{"operationId":"timeSeriesStats_6","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["procurement-contract-controller"]}},"/api/procurement/contracts/{id}":{"delete":{"operationId":"delete_4","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Resource deleted"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Excluir item","tags":["procurement-contract-controller"]},"get":{"operationId":"getById_4","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseProcurementContractDTO"}}},"description":"OK"}},"summary":"Abrir item","tags":["procurement-contract-controller"]},"put":{"operationId":"update_4","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProcurementContractDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseProcurementContractDTO"}}},"description":"Resource updated"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Invalid request or business rule violation"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Request conflicts with existing or dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Editar item","tags":["procurement-contract-controller"]}},"/api/procurement/contracts/{id}/actions":{"get":{"operationId":"getItemActions_6","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["procurement-contract-controller"]}},"/api/procurement/contracts/{id}/actions/reactivate":{"post":{"description":"Reativa um contrato suspenso apos revisao de negocio, limpando o motivo de bloqueio e devolvendo elegibilidade operacional.","operationId":"reactivate","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementContractWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseProcurementContractWorkflowResultDTO"}}},"description":"OK"}},"summary":"Reativar contrato suspenso","tags":["procurement-contract-controller"]}},"/api/procurement/contracts/{id}/actions/sign":{"post":{"description":"Promove um contrato em rascunho ou ativo para assinado, tornando-o elegivel para pedidos governados quando fornecedor e produto tambem estiverem liberados.","operationId":"sign","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementContractWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseProcurementContractWorkflowResultDTO"}}},"description":"OK"}},"summary":"Assinar contrato de fornecimento","tags":["procurement-contract-controller"]}},"/api/procurement/contracts/{id}/actions/suspend":{"post":{"description":"Suspende temporariamente um contrato assinado ou ativo, registrando motivo e removendo sua elegibilidade em lookups de pedidos.","operationId":"suspend","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementContractWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseProcurementContractWorkflowResultDTO"}}},"description":"OK"}},"summary":"Suspender contrato de fornecimento","tags":["procurement-contract-controller"]}},"/api/procurement/contracts/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_6","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["procurement-contract-controller"]}},"/api/procurement/contracts/{id}/products":{"get":{"description":"Retorna produtos e servicos associados ao contrato selecionado para navegação contextual no cockpit.","operationId":"getContractProducts","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListProcurementProductDTO"}}},"description":"OK"}},"summary":"Obter produtos do contrato","tags":["procurement-contract-controller"]}},"/api/procurement/contracts/{id}/purchase-orders":{"get":{"description":"Retorna pedidos de compra associados ao contrato selecionado para navegação contextual no cockpit.","operationId":"getContractPurchaseOrders","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListProcurementPurchaseOrderDTO"}}},"description":"OK"}},"summary":"Obter pedidos do contrato","tags":["procurement-contract-controller"]}},"/api/procurement/contracts/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_6","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["procurement-contract-controller"]}},"/api/procurement/products":{"post":{"operationId":"create_3","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProcurementProductDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseProcurementProductDTO"}}},"description":"Resource created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Invalid request or business rule violation"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Request conflicts with existing or dependent data"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Criar item","tags":["procurement-product-controller"]}},"/api/procurement/products/actions":{"get":{"operationId":"getCollectionActions_5","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["procurement-product-controller"]}},"/api/procurement/products/all":{"get":{"operationId":"getAll_5","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelProcurementProductDTO"}}},"description":"OK"}},"summary":"Listar itens","tags":["procurement-product-controller"]}},"/api/procurement/products/batch":{"delete":{"operationId":"deleteBatch_3","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Resources deleted"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Batch request is empty or invalid"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Excluir itens em lote","tags":["procurement-product-controller"]}},"/api/procurement/products/by-ids":{"get":{"operationId":"getByIds_5","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProcurementProductDTO"}}}},"description":"OK"}},"summary":"Buscar registros por IDs","tags":["procurement-product-controller"]}},"/api/procurement/products/capabilities":{"get":{"operationId":"getCollectionCapabilities_5","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["procurement-product-controller"]}},"/api/procurement/products/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_5","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestProcurementProductFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["procurement-product-controller"]}},"/api/procurement/products/filter":{"post":{"description":"Lista produtos e servicos por empresa, contrato, nome e status para materializar catalogos governados e pedidos de compra elegiveis.","operationId":"filter_5","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementProductFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelProcurementProductDTO"}}},"description":"OK"}},"summary":"Filtrar produtos contratados","tags":["procurement-product-controller"]}},"/api/procurement/products/filter/cursor":{"post":{"operationId":"filterByCursor_5","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementProductFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelProcurementProductDTO"}}},"description":"OK"}},"summary":"Filtrar com paginacao por cursor","tags":["procurement-product-controller"]}},"/api/procurement/products/locate":{"post":{"operationId":"locate_5","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementProductFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"OK"}},"summary":"Localizar posicao de registro","tags":["procurement-product-controller"]}},"/api/procurement/products/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_5","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["procurement-product-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_5","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["procurement-product-controller"]}},"/api/procurement/products/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_5","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["procurement-product-controller"]}},"/api/procurement/products/options/by-ids":{"get":{"operationId":"getOptionsByIds_5","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"OK"}},"summary":"Buscar opcoes por IDs","tags":["procurement-product-controller"]}},"/api/procurement/products/options/filter":{"post":{"operationId":"filterOptions_5","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementProductFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"OK"}},"summary":"Listar opcoes filtradas","tags":["procurement-product-controller"]}},"/api/procurement/products/schemas":{"get":{"operationId":"getSchema_5","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["procurement-product-controller"]}},"/api/procurement/products/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_5","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["procurement-product-controller"]}},"/api/procurement/products/stats/comparison":{"post":{"operationId":"comparisonStats_5","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestProcurementProductFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["procurement-product-controller"]}},"/api/procurement/products/stats/distribution":{"post":{"operationId":"distributionStats_5","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["procurement-product-controller"]}},"/api/procurement/products/stats/group-by":{"post":{"operationId":"groupByStats_5","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["procurement-product-controller"]}},"/api/procurement/products/stats/timeseries":{"post":{"operationId":"timeSeriesStats_5","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["procurement-product-controller"]}},"/api/procurement/products/{id}":{"delete":{"operationId":"delete_3","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Resource deleted"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Excluir item","tags":["procurement-product-controller"]},"get":{"operationId":"getById_3","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseProcurementProductDTO"}}},"description":"OK"}},"summary":"Abrir item","tags":["procurement-product-controller"]},"put":{"operationId":"update_3","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProcurementProductDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseProcurementProductDTO"}}},"description":"Resource updated"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Invalid request or business rule violation"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Request conflicts with existing or dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Editar item","tags":["procurement-product-controller"]}},"/api/procurement/products/{id}/actions":{"get":{"operationId":"getItemActions_5","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["procurement-product-controller"]}},"/api/procurement/products/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_5","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["procurement-product-controller"]}},"/api/procurement/products/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_5","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["procurement-product-controller"]}},"/api/procurement/purchase-orders":{"post":{"description":"Cria um pedido de compra e valida fornecedor selecionado contra a politica backend publicada por regras governadas.","operationId":"create_2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProcurementPurchaseOrderDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseProcurementPurchaseOrderDTO"}}},"description":"Resource created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Invalid request or business rule violation"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Request conflicts with existing or dependent data"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar pedido de compra","tags":["procurement-purchase-order-controller"]}},"/api/procurement/purchase-orders/actions":{"get":{"operationId":"getCollectionActions_4","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["procurement-purchase-order-controller"]}},"/api/procurement/purchase-orders/all":{"get":{"operationId":"getAll_4","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelProcurementPurchaseOrderDTO"}}},"description":"OK"}},"summary":"Listar itens","tags":["procurement-purchase-order-controller"]}},"/api/procurement/purchase-orders/batch":{"delete":{"operationId":"deleteBatch_2","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Resources deleted"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Batch request is empty or invalid"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Excluir itens em lote","tags":["procurement-purchase-order-controller"]}},"/api/procurement/purchase-orders/by-ids":{"get":{"operationId":"getByIds_4","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProcurementPurchaseOrderDTO"}}}},"description":"OK"}},"summary":"Buscar registros por IDs","tags":["procurement-purchase-order-controller"]}},"/api/procurement/purchase-orders/capabilities":{"get":{"operationId":"getCollectionCapabilities_4","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["procurement-purchase-order-controller"]}},"/api/procurement/purchase-orders/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_4","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestProcurementPurchaseOrderFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["procurement-purchase-order-controller"]}},"/api/procurement/purchase-orders/filter":{"post":{"description":"Lista pedidos de compra com filtros por empresa, fornecedor, contrato, produto e periodo para materializar tabelas, dashboards e investigacao de elegibilidade.","operationId":"filter_4","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementPurchaseOrderFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelProcurementPurchaseOrderDTO"}}},"description":"OK"}},"summary":"Filtrar pedidos de compra","tags":["procurement-purchase-order-controller"]}},"/api/procurement/purchase-orders/filter/cursor":{"post":{"operationId":"filterByCursor_4","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementPurchaseOrderFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelProcurementPurchaseOrderDTO"}}},"description":"OK"}},"summary":"Filtrar com paginacao por cursor","tags":["procurement-purchase-order-controller"]}},"/api/procurement/purchase-orders/locate":{"post":{"operationId":"locate_4","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementPurchaseOrderFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"OK"}},"summary":"Localizar posicao de registro","tags":["procurement-purchase-order-controller"]}},"/api/procurement/purchase-orders/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_4","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["procurement-purchase-order-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_4","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["procurement-purchase-order-controller"]}},"/api/procurement/purchase-orders/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_4","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["procurement-purchase-order-controller"]}},"/api/procurement/purchase-orders/options/by-ids":{"get":{"operationId":"getOptionsByIds_4","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"OK"}},"summary":"Buscar opcoes por IDs","tags":["procurement-purchase-order-controller"]}},"/api/procurement/purchase-orders/options/filter":{"post":{"operationId":"filterOptions_4","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementPurchaseOrderFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"OK"}},"summary":"Listar opcoes filtradas","tags":["procurement-purchase-order-controller"]}},"/api/procurement/purchase-orders/schemas":{"get":{"operationId":"getSchema_4","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["procurement-purchase-order-controller"]}},"/api/procurement/purchase-orders/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_4","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["procurement-purchase-order-controller"]}},"/api/procurement/purchase-orders/stats/comparison":{"post":{"operationId":"comparisonStats_4","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestProcurementPurchaseOrderFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["procurement-purchase-order-controller"]}},"/api/procurement/purchase-orders/stats/distribution":{"post":{"operationId":"distributionStats_4","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["procurement-purchase-order-controller"]}},"/api/procurement/purchase-orders/stats/group-by":{"post":{"operationId":"groupByStats_4","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["procurement-purchase-order-controller"]}},"/api/procurement/purchase-orders/stats/timeseries":{"post":{"operationId":"timeSeriesStats_4","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["procurement-purchase-order-controller"]}},"/api/procurement/purchase-orders/{id}":{"delete":{"operationId":"delete_2","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Resource deleted"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Excluir item","tags":["procurement-purchase-order-controller"]},"get":{"operationId":"getById_2","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseProcurementPurchaseOrderDTO"}}},"description":"OK"}},"summary":"Abrir item","tags":["procurement-purchase-order-controller"]},"put":{"operationId":"update_2","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProcurementPurchaseOrderDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseProcurementPurchaseOrderDTO"}}},"description":"Resource updated"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Invalid request or business rule violation"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Request conflicts with existing or dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Editar item","tags":["procurement-purchase-order-controller"]}},"/api/procurement/purchase-orders/{id}/actions":{"get":{"operationId":"getItemActions_4","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["procurement-purchase-order-controller"]}},"/api/procurement/purchase-orders/{id}/actions/approve":{"post":{"description":"Promove um pedido em rascunho para aprovado, liberando sua execucao operacional no fluxo de suprimentos.","operationId":"approve","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementPurchaseOrderWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseProcurementPurchaseOrderWorkflowResultDTO"}}},"description":"OK"}},"summary":"Aprovar pedido de compra","tags":["procurement-purchase-order-controller"]}},"/api/procurement/purchase-orders/{id}/actions/cancel":{"post":{"description":"Cancela um pedido em rascunho ou aprovado, registrando justificativa para auditoria e removendo-o do fluxo operacional.","operationId":"cancel","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementPurchaseOrderWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseProcurementPurchaseOrderWorkflowResultDTO"}}},"description":"OK"}},"summary":"Cancelar pedido de compra","tags":["procurement-purchase-order-controller"]}},"/api/procurement/purchase-orders/{id}/actions/receive":{"post":{"description":"Marca um pedido aprovado como recebido, fechando a etapa operacional que conecta compra, estoque e auditoria.","operationId":"receive","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementPurchaseOrderWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseProcurementPurchaseOrderWorkflowResultDTO"}}},"description":"OK"}},"summary":"Receber pedido de compra","tags":["procurement-purchase-order-controller"]}},"/api/procurement/purchase-orders/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_4","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["procurement-purchase-order-controller"]}},"/api/procurement/purchase-orders/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_4","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["procurement-purchase-order-controller"]}},"/api/procurement/suppliers":{"post":{"description":"Cadastra um fornecedor inicialmente INACTIVE com dados de homologacao e risco. A ativacao exige a action reinstate e respeita a politica governada publicada.","operationId":"create_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProcurementSupplierDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseProcurementSupplierDTO"}}},"description":"Resource created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Invalid request or business rule violation"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Request conflicts with existing or dependent data"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar fornecedor governado","tags":["procurement-supplier-controller"]}},"/api/procurement/suppliers/actions":{"get":{"operationId":"getCollectionActions_3","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["procurement-supplier-controller"]}},"/api/procurement/suppliers/all":{"get":{"operationId":"getAll_3","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelProcurementSupplierDTO"}}},"description":"OK"}},"summary":"Listar itens","tags":["procurement-supplier-controller"]}},"/api/procurement/suppliers/batch":{"delete":{"operationId":"deleteBatch_1","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Resources deleted"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Batch request is empty or invalid"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Excluir itens em lote","tags":["procurement-supplier-controller"]}},"/api/procurement/suppliers/by-ids":{"get":{"operationId":"getByIds_3","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/ProcurementSupplierDTO"}}}},"description":"OK"}},"summary":"Buscar registros por IDs","tags":["procurement-supplier-controller"]}},"/api/procurement/suppliers/capabilities":{"get":{"operationId":"getCollectionCapabilities_3","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["procurement-supplier-controller"]}},"/api/procurement/suppliers/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_3","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestProcurementSupplierFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["procurement-supplier-controller"]}},"/api/procurement/suppliers/filter":{"post":{"description":"Lista fornecedores por empresa, documento, homologacao, risco e status para selecao elegivel em pedidos de compra e auditoria de terceiros.","operationId":"filter_3","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementSupplierFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelProcurementSupplierDTO"}}},"description":"OK"}},"summary":"Filtrar fornecedores governados","tags":["procurement-supplier-controller"]}},"/api/procurement/suppliers/filter/cursor":{"post":{"operationId":"filterByCursor_3","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementSupplierFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelProcurementSupplierDTO"}}},"description":"OK"}},"summary":"Filtrar com paginacao por cursor","tags":["procurement-supplier-controller"]}},"/api/procurement/suppliers/locate":{"post":{"operationId":"locate_3","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementSupplierFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"OK"}},"summary":"Localizar posicao de registro","tags":["procurement-supplier-controller"]}},"/api/procurement/suppliers/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_3","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["procurement-supplier-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_3","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["procurement-supplier-controller"]}},"/api/procurement/suppliers/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_3","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["procurement-supplier-controller"]}},"/api/procurement/suppliers/options/by-ids":{"get":{"operationId":"getOptionsByIds_3","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"OK"}},"summary":"Buscar opcoes por IDs","tags":["procurement-supplier-controller"]}},"/api/procurement/suppliers/options/filter":{"post":{"operationId":"filterOptions_3","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementSupplierFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"OK"}},"summary":"Listar opcoes filtradas","tags":["procurement-supplier-controller"]}},"/api/procurement/suppliers/schemas":{"get":{"operationId":"getSchema_3","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["procurement-supplier-controller"]}},"/api/procurement/suppliers/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_3","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["procurement-supplier-controller"]}},"/api/procurement/suppliers/stats/comparison":{"post":{"operationId":"comparisonStats_3","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestProcurementSupplierFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["procurement-supplier-controller"]}},"/api/procurement/suppliers/stats/distribution":{"post":{"operationId":"distributionStats_3","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["procurement-supplier-controller"]}},"/api/procurement/suppliers/stats/group-by":{"post":{"operationId":"groupByStats_3","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["procurement-supplier-controller"]}},"/api/procurement/suppliers/stats/timeseries":{"post":{"operationId":"timeSeriesStats_3","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["procurement-supplier-controller"]}},"/api/procurement/suppliers/{id}":{"delete":{"operationId":"delete_1","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Resource deleted"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Excluir item","tags":["procurement-supplier-controller"]},"get":{"operationId":"getById_1","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseProcurementSupplierDTO"}}},"description":"OK"}},"summary":"Abrir item","tags":["procurement-supplier-controller"]},"put":{"operationId":"update_1","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateProcurementSupplierDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseProcurementSupplierDTO"}}},"description":"Resource updated"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Invalid request or business rule violation"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Request conflicts with existing or dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Editar item","tags":["procurement-supplier-controller"]}},"/api/procurement/suppliers/{id}/actions":{"get":{"operationId":"getItemActions_3","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["procurement-supplier-controller"]}},"/api/procurement/suppliers/{id}/actions/block":{"post":{"description":"Bloqueia um fornecedor para novos pedidos, preservando motivo de compliance e refletindo a inelegibilidade em option sources governadas.","operationId":"block","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementSupplierWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseProcurementSupplierWorkflowResultDTO"}}},"description":"OK"}},"summary":"Bloquear fornecedor","tags":["procurement-supplier-controller"]}},"/api/procurement/suppliers/{id}/actions/reinstate":{"post":{"description":"Reabilita um fornecedor bloqueado ou inativo para compras, limpando o motivo de bloqueio e republicando elegibilidade operacional.","operationId":"reinstate","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProcurementSupplierWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseProcurementSupplierWorkflowResultDTO"}}},"description":"OK"}},"summary":"Reabilitar fornecedor","tags":["procurement-supplier-controller"]}},"/api/procurement/suppliers/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_3","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["procurement-supplier-controller"]}},"/api/procurement/suppliers/{id}/contracts":{"get":{"description":"Retorna contratos associados ao fornecedor selecionado para navegação contextual no cockpit.","operationId":"getSupplierContracts","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListProcurementContractDTO"}}},"description":"OK"}},"summary":"Obter contratos do fornecedor","tags":["procurement-supplier-controller"]}},"/api/procurement/suppliers/{id}/purchase-orders":{"get":{"description":"Retorna pedidos de compra associados ao fornecedor selecionado para navegação contextual no cockpit.","operationId":"getSupplierPurchaseOrders","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListProcurementPurchaseOrderDTO"}}},"description":"OK"}},"summary":"Obter pedidos do fornecedor","tags":["procurement-supplier-controller"]}},"/api/procurement/suppliers/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_3","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["procurement-supplier-controller"]}},"/api/procurement/vw-supplier-procurement-funnel/actions":{"get":{"operationId":"getCollectionActions_2","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["vw-supplier-procurement-funnel-controller"]}},"/api/procurement/vw-supplier-procurement-funnel/all":{"get":{"operationId":"getAll_2","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelVwSupplierProcurementFunnelDTO"}}},"description":"OK"}},"summary":"Listar itens","tags":["vw-supplier-procurement-funnel-controller"]}},"/api/procurement/vw-supplier-procurement-funnel/by-ids":{"get":{"operationId":"getByIds_2","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VwSupplierProcurementFunnelDTO"}}}},"description":"OK"}},"summary":"Buscar registros por IDs","tags":["vw-supplier-procurement-funnel-controller"]}},"/api/procurement/vw-supplier-procurement-funnel/capabilities":{"get":{"operationId":"getCollectionCapabilities_2","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["vw-supplier-procurement-funnel-controller"]}},"/api/procurement/vw-supplier-procurement-funnel/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestVwSupplierProcurementFunnelFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["vw-supplier-procurement-funnel-controller"]}},"/api/procurement/vw-supplier-procurement-funnel/filter":{"post":{"description":"Aplica filtros aos registros com paginacao.","operationId":"filter_2","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VwSupplierProcurementFunnelFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelVwSupplierProcurementFunnelDTO"}}},"description":"OK"}},"summary":"Filtrar registros","tags":["vw-supplier-procurement-funnel-controller"]}},"/api/procurement/vw-supplier-procurement-funnel/filter/cursor":{"post":{"operationId":"filterByCursor_2","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VwSupplierProcurementFunnelFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelVwSupplierProcurementFunnelDTO"}}},"description":"OK"}},"summary":"Filtrar com paginacao por cursor","tags":["vw-supplier-procurement-funnel-controller"]}},"/api/procurement/vw-supplier-procurement-funnel/locate":{"post":{"operationId":"locate_2","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VwSupplierProcurementFunnelFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"OK"}},"summary":"Localizar posicao de registro","tags":["vw-supplier-procurement-funnel-controller"]}},"/api/procurement/vw-supplier-procurement-funnel/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_2","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["vw-supplier-procurement-funnel-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_2","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["vw-supplier-procurement-funnel-controller"]}},"/api/procurement/vw-supplier-procurement-funnel/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_2","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["vw-supplier-procurement-funnel-controller"]}},"/api/procurement/vw-supplier-procurement-funnel/options/by-ids":{"get":{"operationId":"getOptionsByIds_2","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOString"}}}},"description":"OK"}},"summary":"Buscar opcoes por IDs","tags":["vw-supplier-procurement-funnel-controller"]}},"/api/procurement/vw-supplier-procurement-funnel/options/filter":{"post":{"operationId":"filterOptions_2","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VwSupplierProcurementFunnelFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOString"}}},"description":"OK"}},"summary":"Listar opcoes filtradas","tags":["vw-supplier-procurement-funnel-controller"]}},"/api/procurement/vw-supplier-procurement-funnel/schemas":{"get":{"operationId":"getSchema_2","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["vw-supplier-procurement-funnel-controller"]}},"/api/procurement/vw-supplier-procurement-funnel/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_2","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["vw-supplier-procurement-funnel-controller"]}},"/api/procurement/vw-supplier-procurement-funnel/stats/comparison":{"post":{"operationId":"comparisonStats_2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestVwSupplierProcurementFunnelFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["vw-supplier-procurement-funnel-controller"]}},"/api/procurement/vw-supplier-procurement-funnel/stats/distribution":{"post":{"operationId":"distributionStats_2","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["vw-supplier-procurement-funnel-controller"]}},"/api/procurement/vw-supplier-procurement-funnel/stats/group-by":{"post":{"operationId":"groupByStats_2","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["vw-supplier-procurement-funnel-controller"],"x-ui":{"analytics":{"projections":[{"bindings":{"primaryDimension":{"field":"stage","label":"Etapa","role":"category"},"primaryMetrics":[{"aggregation":"sum","field":"volume","label":"Fornecedores"}]},"defaults":{"limit":6,"sort":[{"direction":"asc","field":"stage"}]},"id":"supplier-procurement-funnel","intent":"composition","interactions":{"pointSelection":true},"presentationHints":{"preferredFamilies":["chart","analytic-table","kpi"]},"source":{"kind":"praxis.stats","operation":"group-by","resource":"/api/procurement/vw-supplier-procurement-funnel"}}]}}}},"/api/procurement/vw-supplier-procurement-funnel/stats/timeseries":{"post":{"operationId":"timeSeriesStats_2","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["vw-supplier-procurement-funnel-controller"]}},"/api/procurement/vw-supplier-procurement-funnel/{id}":{"get":{"operationId":"getById_39","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseVwSupplierProcurementFunnelDTO"}}},"description":"OK"}},"summary":"Abrir item","tags":["vw-supplier-procurement-funnel-controller"]}},"/api/procurement/vw-supplier-procurement-funnel/{id}/actions":{"get":{"operationId":"getItemActions_2","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["vw-supplier-procurement-funnel-controller"]}},"/api/procurement/vw-supplier-procurement-funnel/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_2","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["vw-supplier-procurement-funnel-controller"]}},"/api/procurement/vw-supplier-procurement-funnel/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_2","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["vw-supplier-procurement-funnel-controller"]}},"/api/risk-intelligence/ameacas":{"post":{"description":"Cadastra um novo item de risco com classificação, nível e status para monitoramento e correlação analítica.","operationId":"create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAmeacaDTO"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAmeacaDTO"}}},"description":"Registro criado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Create operation is not available"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Cadastrar ameaça monitorada","tags":["ameaca-controller"]}},"/api/risk-intelligence/ameacas/actions":{"get":{"operationId":"getCollectionActions_1","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["ameaca-controller"]}},"/api/risk-intelligence/ameacas/all":{"get":{"description":"Retorna o catálogo completo de ameaças quando o consumidor precisa materializar toda a base de risco para conferência, exportação ou sincronização.","operationId":"getAll_1","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelAmeacaDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar ameaças monitoradas","tags":["ameaca-controller"]}},"/api/risk-intelligence/ameacas/batch":{"delete":{"description":"Exclui múltiplas ameaças em uma única chamada para saneamento administrativo ou limpeza de dados de demonstração.","operationId":"deleteBatch","requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}},"required":true},"responses":{"204":{"description":"Registros removidos com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Lista de IDs inválida."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"A resource was not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover ameaças monitoradas em lote","tags":["ameaca-controller"]}},"/api/risk-intelligence/ameacas/by-ids":{"get":{"description":"Recupera ameaças já referenciadas por incidentes, painéis ou seleções anteriores sem reaplicar filtros de risco.","operationId":"getByIds_1","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AmeacaDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/AmeacaDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar ameaças monitoradas por IDs","tags":["ameaca-controller"]}},"/api/risk-intelligence/ameacas/capabilities":{"get":{"operationId":"getCollectionCapabilities_1","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["ameaca-controller"]}},"/api/risk-intelligence/ameacas/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestAmeacaFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["ameaca-controller"]}},"/api/risk-intelligence/ameacas/filter":{"post":{"description":"Lista ameaças por classificação, nível, status, origem e risco associado para triagem de risco, monitoramento contínuo e priorização em painéis de inteligência.","operationId":"filter_1","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AmeacaFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelAmeacaDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelAmeacaDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar ameaças monitoradas","tags":["ameaca-controller"]}},"/api/risk-intelligence/ameacas/filter/cursor":{"post":{"description":"Percorre ameaças em catálogos extensos usando cursor, útil para watchlists, centrais analíticas e navegação incremental em superfícies de risco.","operationId":"filterByCursor_1","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AmeacaFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelAmeacaDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelAmeacaDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar ameaças monitoradas com paginação por cursor","tags":["ameaca-controller"]}},"/api/risk-intelligence/ameacas/locate":{"post":{"description":"Informa em qual posição uma ameaça aparece dentro do recorte filtrado, útil para retornar ao item em painéis de monitoramento e tabelas de risco.","operationId":"locate_1","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AmeacaFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar ameaça monitorada em listas filtradas","tags":["ameaca-controller"]}},"/api/risk-intelligence/ameacas/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds_1","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["ameaca-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds_1","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["ameaca-controller"]}},"/api/risk-intelligence/ameacas/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions_1","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["ameaca-controller"]}},"/api/risk-intelligence/ameacas/options/by-ids":{"get":{"description":"Reidrata ameaças já escolhidas em filtros, painéis e vínculos analíticos, preservando identificador e rótulo exibido.","operationId":"getOptionsByIds_1","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar ameaças monitoradas selecionadas","tags":["ameaca-controller"]}},"/api/risk-intelligence/ameacas/options/filter":{"post":{"description":"Produz opções compactas de ameaças para filtros salvos, seleção guiada e vínculos com incidentes, sinais ou painéis analíticos.","operationId":"filterOptions_1","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AmeacaFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar ameaças monitoradas para formulários","tags":["ameaca-controller"]}},"/api/risk-intelligence/ameacas/schemas":{"get":{"operationId":"getSchema_1","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["ameaca-controller"]}},"/api/risk-intelligence/ameacas/stats/capabilities":{"get":{"operationId":"getStatsCapabilities_1","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["ameaca-controller"]}},"/api/risk-intelligence/ameacas/stats/comparison":{"post":{"operationId":"comparisonStats_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestAmeacaFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["ameaca-controller"]}},"/api/risk-intelligence/ameacas/stats/distribution":{"post":{"operationId":"distributionStats_1","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["ameaca-controller"]}},"/api/risk-intelligence/ameacas/stats/group-by":{"post":{"operationId":"groupByStats_1","requestBody":{"content":{"application/json":{"examples":{"groupByCount":{"description":"groupByCount","value":{"filter":{},"field":"status","metrics":[{"metric":"count"}],"includeNullBucket":false,"limit":10}}},"schema":{"$ref":"#/components/schemas/GroupByStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"groupByCountResponse":{"description":"groupByCountResponse","value":{"success":true,"data":{"field":"status","buckets":[{"key":"ATIVO","label":"ATIVO","count":42,"metrics":{"count":42}}],"totalBuckets":1,"truncated":false}}}},"schema":{"$ref":"#/components/schemas/GroupByStatsResponse"}}},"description":"Group-by calculado com sucesso"}},"summary":"Group-by stats sobre o conjunto filtrado","tags":["ameaca-controller"]}},"/api/risk-intelligence/ameacas/stats/timeseries":{"post":{"operationId":"timeSeriesStats_1","requestBody":{"content":{"application/json":{"examples":{"timeSeriesSum":{"description":"timeSeriesSum","value":{"filter":{},"field":"createdAt","granularity":"day","metrics":[{"metric":"sum","field":"amount"}],"from":"2026-01-01T00:00:00Z","to":"2026-01-31T23:59:59Z","fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"timeSeriesSumResponse":{"description":"timeSeriesSumResponse","value":{"success":true,"data":{"field":"createdAt","granularity":"day","points":[{"key":"2026-01-01","label":"2026-01-01","count":3,"metrics":{"sum_amount":1250.0}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal calculada com sucesso"}},"summary":"Time-series stats sobre o conjunto filtrado","tags":["ameaca-controller"]}},"/api/risk-intelligence/ameacas/{id}":{"delete":{"description":"Exclui uma ameaça quando ela deixa de compor o catálogo de risco monitorado e não deve mais aparecer em novos fluxos.","operationId":"delete","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"204":{"description":"Registro removido com sucesso."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Delete conflicts with dependent data"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Remover ameaça monitorada","tags":["ameaca-controller"]},"get":{"description":"Retorna o detalhe de uma ameaça para inspeção analítica, auditoria de classificação ou composição de surfaces dependentes.","operationId":"getById","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAmeacaDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAmeacaDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter ameaça monitorada","tags":["ameaca-controller"]},"put":{"description":"Atualiza dados da ameaça sem alterar sua identidade, preservando coerência para incidentes e fluxos analíticos dependentes.","operationId":"update","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAmeacaDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseAmeacaDTO"}}},"description":"Registro atualizado com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Requisição inválida ou dados inconsistentes."},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Update operation is not available"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Registro não encontrado."},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Conflito de dados ou violação de regra de negócio."},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Resource version precondition failed"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Entity is functionally invalid"},"428":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"If-Match is required for this versioned resource"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiErrorResponse"}}},"description":"Sanitized unexpected failure"}},"summary":"Atualizar ameaça monitorada","tags":["ameaca-controller"]}},"/api/risk-intelligence/ameacas/{id}/actions":{"get":{"operationId":"getItemActions_1","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["ameaca-controller"]}},"/api/risk-intelligence/ameacas/{id}/actions/mark-captured":{"post":{"description":"Encerra uma ameaça ativa como capturada, removendo sua elegibilidade em novas seleções operacionais.","operationId":"markCaptured","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThreatTriageWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseThreatTriageWorkflowResultDTO"}}},"description":"OK"}},"summary":"Marcar ameaça como capturada","tags":["ameaca-controller"]}},"/api/risk-intelligence/ameacas/{id}/actions/mark-under-observation":{"post":{"description":"Move uma ameaça livre ou em confronto para observação ativa, preservando-a como risco operacional selecionável.","operationId":"markUnderObservation","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ThreatTriageWorkflowRequestDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseThreatTriageWorkflowResultDTO"}}},"description":"OK"}},"summary":"Colocar ameaça em observação","tags":["ameaca-controller"]}},"/api/risk-intelligence/ameacas/{id}/capabilities":{"get":{"operationId":"getItemCapabilities_1","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["ameaca-controller"]}},"/api/risk-intelligence/ameacas/{id}/surfaces":{"get":{"operationId":"getItemSurfaces_1","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["ameaca-controller"]}},"/api/risk-intelligence/vw-indicadores-incidentes/actions":{"get":{"operationId":"getCollectionActions","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais da colecao","tags":["vw-indicadores-incidente-controller"]}},"/api/risk-intelligence/vw-indicadores-incidentes/all":{"get":{"description":"Retorna toda a visão agregada de incidentes quando o consumidor precisa materializar o conjunto completo para analytics, exportação, reconciliação ou processamento off-line.","operationId":"getAll","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseListEntityModelVwIndicadoresIncidenteDTO"}}},"description":"Lista retornada com sucesso."}},"summary":"Consultar indicadores de incidentes","tags":["vw-indicadores-incidente-controller"]}},"/api/risk-intelligence/vw-indicadores-incidentes/by-ids":{"get":{"description":"Recupera visões agregadas de incidentes específicos já referenciados por outro fluxo analítico, sem reaplicar recortes do dashboard ou consultas transacionais.","operationId":"getByIds","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VwIndicadoresIncidenteDTO"}}}},"description":"Registros retornados com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/VwIndicadoresIncidenteDTO"}}}},"description":"Lista de IDs inválida."}},"summary":"Buscar indicadores de incidentes por IDs","tags":["vw-indicadores-incidente-controller"]}},"/api/risk-intelligence/vw-indicadores-incidentes/capabilities":{"get":{"operationId":"getCollectionCapabilities","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas da colecao","tags":["vw-indicadores-incidente-controller"]}},"/api/risk-intelligence/vw-indicadores-incidentes/export":{"post":{"description":"Exporta dados da colecao preservando escopo, selecao, filtros, ordenacao e campos.","operationId":"exportCollection","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CollectionExportRequestVwIndicadoresIncidenteFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object"}}},"description":"OK"}},"summary":"Exportar colecao","tags":["vw-indicadores-incidente-controller"]}},"/api/risk-intelligence/vw-indicadores-incidentes/filter":{"post":{"description":"Lista visões agregadas por severidade, impacto financeiro, período, base e contexto para dashboards de risco, leitura executiva e comparação analítica entre incidentes.","operationId":"filter","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VwIndicadoresIncidenteFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelVwIndicadoresIncidenteDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponsePageEntityModelVwIndicadoresIncidenteDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar indicadores de incidentes","tags":["vw-indicadores-incidente-controller"]}},"/api/risk-intelligence/vw-indicadores-incidentes/filter/cursor":{"post":{"description":"Percorre grandes volumes de indicadores agregados usando cursor, útil para catálogos analíticos, exploração contínua e painéis com navegação incremental.","operationId":"filterByCursor","parameters":[{"in":"query","name":"after","required":false,"schema":{"type":"string"}},{"in":"query","name":"before","required":false,"schema":{"type":"string"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VwIndicadoresIncidenteFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelVwIndicadoresIncidenteDTO"}}},"description":"Lista filtrada retornada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseCursorPageEntityModelVwIndicadoresIncidenteDTO"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Filtrar indicadores de incidentes com paginação por cursor","tags":["vw-indicadores-incidente-controller"]}},"/api/risk-intelligence/vw-indicadores-incidentes/locate":{"post":{"description":"Informa em qual posição uma visão agregada aparece dentro do recorte filtrado, útil para retornar ao item certo em tabelas analíticas.","operationId":"locate","parameters":[{"in":"query","name":"id","required":true,"schema":{"type":"integer","format":"int32"}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VwIndicadoresIncidenteFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Posição localizada com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LocateResponse"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Localizar indicador de incidente em listas filtradas","tags":["vw-indicadores-incidente-controller"]}},"/api/risk-intelligence/vw-indicadores-incidentes/option-sources/{sourceKey}/options/by-ids":{"get":{"operationId":"getOptionSourceOptionsByIds","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"string"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs","tags":["vw-indicadores-incidente-controller"]},"post":{"operationId":"postOptionSourceOptionsByIds","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceByIdsRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Payload ou IDs invalidos."},"501":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}}}},"description":"Capability ou provider nao implementado."}},"summary":"Buscar opcoes derivadas por IDs com contexto","tags":["vw-indicadores-incidente-controller"]}},"/api/risk-intelligence/vw-indicadores-incidentes/option-sources/{sourceKey}/options/filter":{"post":{"operationId":"filterOptionSourceOptions","parameters":[{"in":"path","name":"sourceKey","required":true,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"searchStrategy","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OptionSourceFilterRequest"}}}},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Opcoes retornadas sem envelope."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Option-source inexistente."},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Payload, policy ou filtros invalidos."},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOObject"}}},"description":"Capability ou provider nao implementado."}},"summary":"Listar opcoes filtradas por fonte derivada","tags":["vw-indicadores-incidente-controller"]}},"/api/risk-intelligence/vw-indicadores-incidentes/options/by-ids":{"get":{"description":"Reidrata incidentes já escolhidos em filtros, dashboards e comparações analíticas, preservando identificador e rótulo resumido exibido.","operationId":"getOptionsByIds","parameters":[{"in":"query","name":"ids","required":false,"schema":{"type":"array","items":{"type":"integer","format":"int32"}}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}}}},"description":"Lista de IDs inválida."}},"summary":"Carregar indicadores de incidentes selecionados","tags":["vw-indicadores-incidente-controller"]}},"/api/risk-intelligence/vw-indicadores-incidentes/options/filter":{"post":{"description":"Produz opções compactas de incidentes agregados para filtros analíticos, seleção guiada e navegação rápida em dashboards e painéis de comparação.","operationId":"filterOptions","parameters":[{"in":"query","name":"page","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"in":"query","name":"size","required":false,"schema":{"type":"integer","format":"int32","default":20}},{"in":"query","name":"queryParams","required":true,"schema":{"$ref":"#/components/schemas/MultiValueMapStringString"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VwIndicadoresIncidenteFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Opções retornadas com sucesso."},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOptionDTOInteger"}}},"description":"Requisição inválida ou filtro inconsistente."}},"summary":"Selecionar indicadores de incidentes para formulários","tags":["vw-indicadores-incidente-controller"]}},"/api/risk-intelligence/vw-indicadores-incidentes/schemas":{"get":{"operationId":"getSchema","responses":{"200":{"description":"OK"}},"summary":"Redirecionar para o schema filtrado do recurso","tags":["vw-indicadores-incidente-controller"]}},"/api/risk-intelligence/vw-indicadores-incidentes/stats/capabilities":{"get":{"operationId":"getStatsCapabilities","responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatsCapability"}}},"description":"OK"}},"summary":"Descobrir capabilities estatisticas da colecao","tags":["vw-indicadores-incidente-controller"]}},"/api/risk-intelligence/vw-indicadores-incidentes/stats/comparison":{"post":{"operationId":"comparisonStats","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComparisonStatsRequestVwIndicadoresIncidenteFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao calculada com sucesso"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Request de comparacao invalido"},"501":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseComparisonStatsResponse"}}},"description":"Comparacao nao suportada pelo recurso"}},"summary":"Comparacao de stats entre dois periodos governados","tags":["vw-indicadores-incidente-controller"]}},"/api/risk-intelligence/vw-indicadores-incidentes/stats/distribution":{"post":{"operationId":"distributionStats","requestBody":{"content":{"application/json":{"examples":{"distributionHistogram":{"description":"distributionHistogram","value":{"filter":{},"field":"amount","mode":"histogram","interval":1000,"metrics":[{"metric":"count"}]}}},"schema":{"$ref":"#/components/schemas/DistributionStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"distributionHistogramResponse":{"description":"distributionHistogramResponse","value":{"success":true,"data":{"field":"amount","mode":"histogram","buckets":[{"key":"0","label":"0-1000","count":5,"metrics":{"count":5}}]}}}},"schema":{"$ref":"#/components/schemas/DistributionStatsResponse"}}},"description":"Distribuicao calculada com sucesso"}},"summary":"Distribution stats sobre o conjunto filtrado","tags":["vw-indicadores-incidente-controller"]}},"/api/risk-intelligence/vw-indicadores-incidentes/stats/group-by":{"post":{"description":"Suporta agrupamento categórico simples (1D), matrizes Cross-Tab 2D (ex.: severidade × local) e extrações temporais cíclicas ou lineares com densificação de domínio finito (fillGaps=true) e métrica AVG_PER_CYCLE_OCCURRENCE.","operationId":"groupByStats","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupByStatsRequestVwIndicadoresIncidenteFilterDTO"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseGroupByStatsResponse"}}},"description":"OK"}},"summary":"Group-by stats unidimensional ou multidimensional (Cross-Tab 2D e extrações temporais cíclicas) sobre indicadores de incidentes","tags":["vw-indicadores-incidente-controller"],"x-ui":{"analytics":{"projections":[{"bindings":{"primaryDimension":{"extraction":"NONE","field":"severidade","label":"Severidade","role":"category"},"primaryMetrics":[{"aggregation":"count","field":"incidentes","label":"Total de incidentes"},{"aggregation":"sum","field":"totalPago","label":"Total indenizado pago"}],"secondaryDimension":{"extraction":"NONE","field":"local","label":"Local operacional","role":"series"}},"id":"incident-severity-by-location-matrix","intent":"composition","interactions":{"drillDown":true,"pointSelection":true},"presentationHints":{"preferredFamilies":["chart","analytic-table"]},"source":{"kind":"praxis.stats","operation":"group-by","resource":"/api/risk-intelligence/vw-indicadores-incidentes"}},{"bindings":{"primaryDimension":{"extraction":"DAY_OF_WEEK","field":"ocorridoEm","label":"Dia da semana (ISO 1..7)","role":"category"},"primaryMetrics":[{"aggregation":"avg_per_cycle_occurrence","field":"mediaPorCiclo","label":"Média de incidentes por ocorrência do slot"},{"aggregation":"count","field":"incidentes","label":"Total de incidentes no slot"}],"secondaryDimension":{"extraction":"HOUR_OF_DAY","field":"ocorridoEm","label":"Hora do dia (0..23)","role":"series"}},"defaults":{"fillGaps":true,"periodPreset":"LAST_30_DAYS","timezone":"UTC"},"id":"incident-weekday-hour-rhythm","intent":"distribution","interactions":{"drillDown":true,"pointSelection":true},"presentationHints":{"preferredFamilies":["chart","analytic-table"]},"source":{"kind":"praxis.stats","operation":"group-by","resource":"/api/risk-intelligence/vw-indicadores-incidentes"}}]}}}},"/api/risk-intelligence/vw-indicadores-incidentes/stats/timeseries":{"post":{"operationId":"timeSeriesStats","requestBody":{"content":{"application/json":{"examples":{"incidentTrend":{"description":"incidentTrend","value":{"filter":{},"field":"dataIncidente","granularity":"month","metrics":[{"metric":"count","alias":"totalIncidentes"}],"fillGaps":true}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"examples":{"incidentTrendResponse":{"description":"incidentTrendResponse","value":{"success":true,"data":{"field":"dataIncidente","granularity":"month","metrics":[{"aggregation":"count","alias":"totalIncidentes"}],"points":[{"label":"2026-01","values":{"totalIncidentes":12}}]}}}},"schema":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"}}},"description":"Serie temporal de incidentes calculada com sucesso"}},"summary":"Time-series stats sobre indicadores de incidentes","tags":["vw-indicadores-incidente-controller"],"x-ui":{"analytics":{"projections":[{"bindings":{"primaryDimension":{"field":"dataIncidente","label":"Data do incidente","role":"time"},"primaryMetrics":[{"aggregation":"count","field":"totalIncidentes","label":"Total de incidentes"}]},"defaults":{"granularity":"month"},"id":"incident-trend","intent":"trend","interactions":{"drillDown":true,"pointSelection":true},"presentationHints":{"preferredFamilies":["chart","analytic-table"]},"source":{"kind":"praxis.stats","operation":"timeseries","resource":"/api/risk-intelligence/vw-indicadores-incidentes"}}]}}}},"/api/risk-intelligence/vw-indicadores-incidentes/{id}":{"get":{"description":"Retorna o painel resumido de um incidente específico, com métricas agregadas de impacto, severidade, custo e contexto para leitura analítica sem consultar o recurso transacional.","operationId":"getById_38","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseVwIndicadoresIncidenteDTO"}}},"description":"Registro encontrado com sucesso."},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RestApiResponseVwIndicadoresIncidenteDTO"}}},"description":"Registro não encontrado."}},"summary":"Obter indicador de incidente","tags":["vw-indicadores-incidente-controller"]}},"/api/risk-intelligence/vw-indicadores-incidentes/{id}/actions":{"get":{"operationId":"getItemActions","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir workflow actions contextuais do registro","tags":["vw-indicadores-incidente-controller"]}},"/api/risk-intelligence/vw-indicadores-incidentes/{id}/capabilities":{"get":{"operationId":"getItemCapabilities","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CapabilitySnapshot"}}},"description":"OK"}},"summary":"Descobrir capabilities unificadas do registro","tags":["vw-indicadores-incidente-controller"]}},"/api/risk-intelligence/vw-indicadores-incidentes/{id}/surfaces":{"get":{"operationId":"getItemSurfaces","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"summary":"Descobrir surfaces contextuais do registro","tags":["vw-indicadores-incidente-controller"]}},"/auth/governance-lab/session/{identityKey}":{"post":{"operationId":"switchGovernanceLabIdentity","parameters":[{"in":"path","name":"identityKey","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}},"tags":["auth-controller"]}},"/auth/login":{"post":{"operationId":"login","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LoginRequest"}}},"required":true},"responses":{"200":{"description":"OK"}},"tags":["auth-controller"]}},"/auth/logout":{"post":{"operationId":"logout","responses":{"200":{"description":"OK"}},"tags":["auth-controller"]}},"/auth/session":{"get":{"operationId":"session","responses":{"200":{"description":"OK"}},"tags":["auth-controller"]}},"/schemas/actions":{"get":{"operationId":"getActions","parameters":[{"in":"query","name":"resource","required":false,"schema":{"type":"string"}},{"in":"query","name":"group","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/ActionCatalogResponse"}}},"description":"OK"}},"tags":["action-catalog-controller"]}},"/schemas/catalog":{"get":{"operationId":"getCatalog","parameters":[{"in":"query","name":"group","required":false,"schema":{"type":"string"}},{"in":"query","name":"path","required":false,"schema":{"type":"string"}},{"in":"query","name":"operation","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/CatalogResponse"}}},"description":"OK"}},"tags":["domain-catalog-controller"]}},"/schemas/domain":{"get":{"operationId":"getDomain","parameters":[{"in":"query","name":"resource","required":false,"schema":{"type":"string"}},{"in":"query","name":"resourceKey","required":false,"schema":{"type":"string"}},{"in":"query","name":"group","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/DomainCatalogResponse"}}},"description":"OK"}},"tags":["semantic-domain-catalog-controller"]}},"/schemas/filtered":{"get":{"operationId":"getFilteredSchema","parameters":[{"in":"query","name":"path","required":false,"schema":{"type":"string"}},{"in":"query","name":"resourcePath","required":false,"schema":{"type":"string"}},{"in":"query","name":"operation","required":false,"schema":{"type":"string","default":"get"}},{"in":"query","name":"includeInternalSchemas","required":false,"schema":{"type":"boolean","default":false}},{"in":"query","name":"schemaType","required":false,"schema":{"type":"string","default":"response"}},{"in":"query","name":"idField","required":false,"schema":{"type":"string"}},{"in":"query","name":"readOnly","required":false,"schema":{"type":"boolean"}},{"in":"header","name":"If-None-Match","required":false,"schema":{"type":"string"}},{"in":"header","name":"X-Tenant","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"type":"object","additionalProperties":{"type":"object"}}}},"description":"OK"}},"tags":["api-docs-controller"]}},"/schemas/surfaces":{"get":{"operationId":"getSurfaces","parameters":[{"in":"query","name":"resource","required":false,"schema":{"type":"string"}},{"in":"query","name":"group","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"*/*":{"schema":{"$ref":"#/components/schemas/SurfaceCatalogResponse"}}},"description":"OK"}},"tags":["surface-catalog-controller"]}}},"components":{"schemas":{"AbsenceCoverageWorkflowRequestDTO":{"required":["planoCobertura"],"type":"object","properties":{"justificativa":{"maxLength":500,"minLength":0,"type":"string","description":"Justificativa da decisao de cobertura, preservada para auditoria de RH, capacidade operacional e revisao posterior.","example":"A ausencia cruza fechamento de folha e duas missoes, exigindo cobertura formal.","x-ui":{"controlType":"textarea","editable":true,"helpText":"Motivo da decisao de cobertura.","icon":"notes","iconPosition":"left","label":"Justificativa","maxLength":"500","maxLengthMessage":"Justificativa deve ter no máximo 500 caracteres","name":"justificativa","order":"30","sortable":true,"type":"text"}},"planoCobertura":{"maxLength":500,"minLength":0,"type":"string","description":"Plano operacional para cobrir a indisponibilidade, como substituicao, redistribuicao de escala ou aceite de risco controlado.","example":"Cobertura pela equipe B durante a primeira semana; chamados criticos ficam com lideranca de plantao.","x-ui":{"controlType":"textarea","editable":true,"helpText":"Como a ausencia sera coberta operacionalmente.","icon":"assignment_turned_in","iconPosition":"left","label":"Plano de cobertura","maxLength":"500","maxLengthMessage":"Plano de cobertura deve ter no máximo 500 caracteres","name":"planoCobertura","order":"10","required":true,"requiredMessage":"Plano de cobertura é obrigatório","sortable":true,"type":"text"}},"substitutoFuncionarioId":{"type":"integer","description":"Funcionario substituto que cobre a ausencia. Opcional porque alguns planos redistribuem a cobertura por equipe.","format":"int32","example":12,"x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Colaborador que cobre a ausencia, quando houver substituto nominal.","icon":"badge","iconPosition":"left","label":"Substituto","name":"substitutoFuncionarioId","order":"20","sortable":true,"type":"number","valueField":"id"}}},"description":"Comando para registrar a decisao operacional de cobertura de uma ausencia de colaborador. A action nao substitui o calendario de ferias/afastamentos; ela explicita quem cobriu a janela e por que a cobertura foi aceita."},"AbsenceCoverageWorkflowResultDTO":{"type":"object","properties":{"dataFim":{"type":"string","description":"Fim da janela de indisponibilidade coberta.","format":"date","example":"2026-07-15"},"dataInicio":{"type":"string","description":"Inicio da janela de indisponibilidade coberta.","format":"date","example":"2026-07-01"},"id":{"type":"integer","description":"Identificador da ausencia cuja cobertura foi planejada.","format":"int32","example":42},"justificativa":{"type":"string","description":"Justificativa operacional ou de governanca enviada pelo operador."},"mensagem":{"type":"string","description":"Mensagem de sintese para operador, cockpit ou runtime.","example":"Cobertura da ausencia registrada."},"observacoes":{"type":"string","description":"Observacoes persistidas depois da decisao; usadas como evidencias simples no host de referencia."},"planoCobertura":{"type":"string","description":"Plano operacional aceito para cobrir a ausencia."},"substitutoFuncionarioId":{"type":"integer","description":"Funcionario substituto informado na decisao, quando houver.","format":"int32","example":12},"tipo":{"type":"string","description":"Tipo de ausencia em vigor no registro, como FERIAS ou AFASTAMENTO.","example":"FERIAS"}},"description":"Resultado da decisao de cobertura de ausencia, com periodo afetado, plano aceito, substituto opcional e mensagem para atualizar cockpit, auditoria e UI."},"AcordoRegulatorioWorkflowRequestDTO":{"required":["justificativa"],"type":"object","properties":{"justificativa":{"maxLength":500,"minLength":0,"type":"string","description":"Motivo obrigatorio da decisao regulatoria; suporta auditoria, compliance e explicacao posterior do estado vigente do acordo.","x-ui":{"controlType":"textarea","editable":true,"icon":"notes","iconPosition":"left","label":"Justificativa","maxLength":"500","maxLengthMessage":"Justificativa deve ter no máximo 500 caracteres","name":"justificativa","required":true,"requiredMessage":"Justificativa é obrigatório","sortable":true,"type":"text"}}},"description":"Comando de governanca para suspender, reativar ou revogar um acordo regulatorio. A justificativa documenta a causa normativa ou operacional da mudanca de status."},"AcordoRegulatorioWorkflowResultDTO":{"type":"object","properties":{"id":{"type":"integer","description":"Identificador do acordo atingido pela transicao.","format":"int32","x-ui":{"controlType":"input","editable":true,"icon":"label","iconPosition":"left","label":"ID","name":"id","readOnly":true,"sortable":true,"type":"text"}},"justificativa":{"type":"string","description":"Justificativa registrada para explicar a suspensao, reativacao ou revogacao do acordo.","x-ui":{"controlType":"textarea","editable":true,"icon":"notes","iconPosition":"left","label":"Justificativa","name":"justificativa","readOnly":true,"sortable":true,"type":"text"}},"mensagem":{"type":"string","description":"Texto amigavel para o operador (sucesso, alerta, proximo passo).","x-ui":{"controlType":"input","editable":true,"icon":"label","iconPosition":"left","label":"Mensagem","name":"mensagem","readOnly":true,"sortable":true,"type":"text"}},"statusAnterior":{"type":"string","description":"AcordoStatus antes do comando; para auditoria de delta.","enum":["VIGENTE","SUSPENSO","REVOGADO"],"x-ui":{"controlType":"input","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status anterior","name":"statusAnterior","options":[{"value":"VIGENTE","label":"VIGENTE"},{"value":"SUSPENSO","label":"SUSPENSO"},{"value":"REVOGADO","label":"REVOGADO"}],"readOnly":true,"sortable":true,"type":"text"}},"statusAtual":{"type":"string","description":"AcordoStatus apos persistencia; fonte de verdade para tela de detalhe.","enum":["VIGENTE","SUSPENSO","REVOGADO"],"x-ui":{"controlType":"input","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status atual","name":"statusAtual","options":[{"value":"VIGENTE","label":"VIGENTE"},{"value":"SUSPENSO","label":"SUSPENSO"},{"value":"REVOGADO","label":"REVOGADO"}],"readOnly":true,"sortable":true,"type":"text"}}},"description":"Resultado da decisao regulatoria aplicada ao acordo, expondo o status anterior, o status vigente, a justificativa preservada e a mensagem operacional."},"AcordosRegulatorioDTO":{"required":["jurisdicao","nome","status"],"type":"object","properties":{"descricao":{"maxLength":4000,"minLength":0,"type":"string","description":"Texto livre de escopo, obrigacoes, evidencias e calendario de provas; base para revisor humano e IA (com sumarizacao quando sensiveis).","x-ui":{"controlType":"textarea","editable":true,"icon":"description","iconPosition":"left","label":"Descrição","maxLength":"4000","maxLengthMessage":"Descrição deve ter no máximo 4000 caracteres","name":"descricao","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text"}},"id":{"type":"integer","description":"Identificador do acordo no cadastro de operacoes.","format":"int32","example":1},"jurisdicao":{"maxLength":200,"minLength":0,"type":"string","description":"Pais, estado ou ente regulador competente; impacta criterio de exigencia e de reporting.","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"allow"},"annotationType":"compliance","classification":"internal","complianceTags":["INTERNAL_POLICY","REGULATORY"],"confidence":1.0,"dataCategory":"legal","reason":"Jurisdicao regulatoria aplicavel ao acordo.","source":"java.annotation"},"x-ui":{"controlType":"input","editable":true,"icon":"label","iconPosition":"left","label":"Jurisdição","maxLength":"200","maxLengthMessage":"Jurisdição deve ter no máximo 200 caracteres","name":"jurisdicao","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Jurisdição é obrigatório","sortable":true,"type":"text"}},"nome":{"maxLength":200,"minLength":0,"type":"string","description":"Designacao publica do acordo ou programa de atendimento a norma.","example":"Convenio ANPD — dados pessoais","x-ui":{"controlType":"input","editable":true,"icon":"badge","iconPosition":"left","label":"Nome","maxLength":"200","maxLengthMessage":"Nome deve ter no máximo 200 caracteres","name":"nome","required":true,"requiredMessage":"Nome é obrigatório","resourceReference":{"resourceKey":"operations.acordos-regulatorios","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"resourceVersion":{"type":"string","description":"ETag opaco da versao persistida usado por commands governados.","readOnly":true,"example":"\"eyJ...\"","x-ui":{"controlType":"input","editable":true,"formHidden":true,"iconPosition":"left","label":"Token de versao","name":"resourceVersion","readOnly":true,"sortable":true,"tableHidden":true,"type":"text"}},"status":{"type":"string","description":"Ciclo de vida do acordo: rascunho, em vigor, vencido ou arquivado (semantica do enum do dominio).","enum":["VIGENTE","SUSPENSO","REVOGADO"],"x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"allow"},"annotationType":"compliance","classification":"internal","complianceTags":["INTERNAL_POLICY","REGULATORY"],"confidence":1.0,"dataCategory":"legal","reason":"Status regulatorio do acordo.","source":"java.annotation"},"x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","options":[{"value":"VIGENTE","label":"VIGENTE"},{"value":"SUSPENSO","label":"SUSPENSO"},{"value":"REVOGADO","label":"REVOGADO"}],"quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Status é obrigatório","sortable":true,"type":"text"}}},"description":"Registro de acordo ou conformidade com orgaos reguladores: jurisdicao, status e narrativa. Usado em auditorias e roadmaps de compliance."},"AcordosRegulatorioFilterDTO":{"type":"object","properties":{"descricao":{"type":"string","description":"Trecho do resumo, objetivo ou clausulas relevantes do acordo.","x-ui":{"controlType":"input","editable":true,"helpText":"Busca por palavras-chave no resumo ou nas cláusulas do acordo.","icon":"description","iconPosition":"left","label":"Descrição do acordo","maxLength":"4000","maxLengthMessage":"Descrição do acordo deve ter no máximo 4000 caracteres","name":"descricao","order":"40","sortable":true,"type":"text"}},"jurisdicao":{"type":"string","description":"Trecho do orgao, territorio ou jurisdicao responsavel pelo acordo.","x-ui":{"controlType":"input","editable":true,"helpText":"Filtra pelo órgão, território ou jurisdição responsável.","icon":"gavel","iconPosition":"left","label":"Jurisdição","maxLength":"120","maxLengthMessage":"Jurisdição deve ter no máximo 120 caracteres","name":"jurisdicao","order":"20","sortable":true,"type":"text"}},"nome":{"type":"string","description":"Trecho do nome curto ou titulo publico do acordo regulatorio.","x-ui":{"controlType":"input","editable":true,"helpText":"Busca pelo nome curto ou título do acordo regulatório.","icon":"filter_list","iconPosition":"left","label":"Nome do acordo","maxLength":"200","maxLengthMessage":"Nome do acordo deve ter no máximo 200 caracteres","name":"nome","order":"10","sortable":true,"type":"text"}},"status":{"type":"string","description":"Estado de vigencia, homologacao ou suspensao do acordo regulatorio.","enum":["VIGENTE","SUSPENSO","REVOGADO"],"x-ui":{"controlType":"select","editable":true,"helpText":"Mostra acordos conforme vigência, homologação ou suspensão.","icon":"toggle_on","iconPosition":"left","label":"Status do acordo","name":"status","options":[{"value":"VIGENTE","label":"VIGENTE"},{"value":"SUSPENSO","label":"SUSPENSO"},{"value":"REVOGADO","label":"REVOGADO"}],"order":"30","sortable":true,"type":"text"}}},"description":"Criterios de busca em acordos regulatorios firmados com autoridades ou jurisdicoes. Apoia descoberta por nome, territorio, status de vigencia e conteudo resumido do instrumento."},"Action":{"type":"object","properties":{"description":{"type":"string"},"label":{"type":"string"},"name":{"type":"string"}}},"ActionCatalogItem":{"type":"object","properties":{"allowedStates":{"type":"array","items":{"type":"string"}},"availability":{"$ref":"#/components/schemas/AvailabilityDecision"},"description":{"type":"string"},"execution":{"$ref":"#/components/schemas/ActionExecutionContract"},"id":{"type":"string"},"method":{"type":"string"},"operationId":{"type":"string"},"order":{"type":"integer","format":"int32"},"path":{"type":"string"},"requestSchemaId":{"type":"string"},"requestSchemaUrl":{"type":"string"},"resourceKey":{"type":"string"},"responseSchemaId":{"type":"string"},"responseSchemaUrl":{"type":"string"},"scope":{"type":"string","enum":["ITEM","COLLECTION"]},"successMessage":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"title":{"type":"string"}}},"ActionCatalogResponse":{"type":"object","properties":{"actions":{"type":"array","items":{"$ref":"#/components/schemas/ActionCatalogItem"}},"group":{"type":"string"},"resourceId":{"type":"object"},"resourceKey":{"type":"string"},"resourcePath":{"type":"string"}}},"ActionExecutionContract":{"type":"object","properties":{"bulk":{"$ref":"#/components/schemas/BulkExecutionContract"},"interaction":{"$ref":"#/components/schemas/ActionInteractionPolicy"},"outcome":{"$ref":"#/components/schemas/ActionOutcomePolicy"},"preconditions":{"$ref":"#/components/schemas/ActionPreconditionPolicy"},"refresh":{"$ref":"#/components/schemas/ActionRefreshPolicy"},"selection":{"$ref":"#/components/schemas/ActionSelectionPolicy"}}},"ActionInteractionPolicy":{"type":"object","properties":{"confirmationRequired":{"type":"boolean"},"mode":{"type":"string","enum":["DIRECT","CONFIRM","FORM"]},"reversible":{"type":"boolean"},"riskLevel":{"type":"string","enum":["LOW","MEDIUM","HIGH","CRITICAL"]}}},"ActionOutcomePolicy":{"type":"object","properties":{"atomicity":{"type":"string","enum":["NOT_APPLICABLE","ATOMIC","PER_ITEM"]},"mode":{"type":"string","enum":["SINGLE","PER_ITEM"]}}},"ActionPreconditionPolicy":{"type":"object","properties":{"correlationId":{"type":"string","enum":["NONE","OPTIONAL","REQUIRED"]},"idempotencyKey":{"type":"string","enum":["NONE","OPTIONAL","REQUIRED"]},"resourceVersion":{"type":"string","enum":["NONE","OPTIONAL","REQUIRED"]},"resourceVersionField":{"type":"string"},"resourceVersionTargetIdField":{"type":"string"},"resourceVersionTargetResourceKey":{"type":"string"},"resourceVersionTransport":{"type":"string","enum":["NONE","IF_MATCH","SELECTION_MAP"]}}},"ActionRefreshPolicy":{"type":"object","properties":{"actions":{"type":"boolean"},"capabilities":{"type":"boolean"},"collection":{"type":"boolean"},"item":{"type":"boolean"},"resourceKeys":{"type":"array","items":{"type":"string"}}}},"ActionSelectionPolicy":{"type":"object","properties":{"idsField":{"type":"string"},"maxItems":{"type":"integer","format":"int32"},"versionsField":{"type":"string"}}},"AgenticAuthoringApplyRequest":{"type":"object","properties":{"compiledFormPatch":{"$ref":"#/components/schemas/JsonNode"},"componentId":{"type":"string"},"componentType":{"type":"string"},"resultEventId":{"type":"string","format":"uuid"},"scope":{"type":"string"},"semanticDecision":{"$ref":"#/components/schemas/AgenticAuthoringSemanticDecision"},"streamId":{"type":"string","format":"uuid"},"tags":{"$ref":"#/components/schemas/JsonNode"}}},"AgenticAuthoringAttachmentSummary":{"type":"object","properties":{"hasPreview":{"type":"boolean"},"id":{"type":"string"},"kind":{"type":"string"},"mimeType":{"type":"string"},"name":{"type":"string"},"sizeBytes":{"type":"integer","format":"int64"},"source":{"type":"string"}}},"AgenticAuthoringCandidate":{"type":"object","properties":{"evidence":{"type":"array","items":{"type":"string"}},"evidenceBundle":{"$ref":"#/components/schemas/AgenticAuthoringEvidenceBundle"},"operation":{"type":"string"},"reason":{"type":"string"},"resourcePath":{"type":"string"},"schemaUrl":{"type":"string"},"score":{"type":"number","format":"double"},"submitMethod":{"type":"string"},"submitUrl":{"type":"string"}}},"AgenticAuthoringCompileRequest":{"type":"object","properties":{"currentPage":{"$ref":"#/components/schemas/JsonNode"},"intentResolution":{"$ref":"#/components/schemas/AgenticAuthoringIntentResolutionResult"},"minimalFormPlan":{"$ref":"#/components/schemas/JsonNode"}}},"AgenticAuthoringComponentCapabilitiesResult":{"type":"object","properties":{"catalogs":{"type":"array","description":"Capacidades agrupadas pelo identificador canônico do componente que as declara.","items":{"$ref":"#/components/schemas/AgenticAuthoringComponentCapabilityCatalog"}},"diagnostics":{"$ref":"#/components/schemas/AgenticAuthoringComponentCapabilityDiagnostics"},"version":{"type":"string","description":"Versão do formato do catálogo devolvido pelo serviço de authoring.","example":"0.1.0"}},"description":"Catálogo de operações de authoring que o backend pode considerar ao compor ou editar componentes, acompanhado da proveniência operacional da leitura governada."},"AgenticAuthoringComponentCapability":{"type":"object","properties":{"changeKind":{"type":"string","description":"Tipo de alteração semântica representada pela operação."},"examples":{"type":"array","description":"Exemplos positivos do manifesto que ajudam a explicar a finalidade da operação.","items":{"$ref":"#/components/schemas/AgenticAuthoringComponentCapabilityExample"}},"fieldAliases":{"type":"array","description":"Relações declaradas entre campos canônicos e nomes apresentados ao usuário.","items":{"$ref":"#/components/schemas/AgenticAuthoringComponentFieldAlias"}},"id":{"type":"string","description":"Identificador estável da operação declarada pelo catálogo ou manifesto."},"triggerTerms":{"type":"array","description":"Termos do próprio contrato usados como evidência após a resolução do escopo semântico.","items":{"type":"string","description":"Termos do próprio contrato usados como evidência após a resolução do escopo semântico."}}},"description":"Operação declarada que fornece evidência semântica para planejamento e materialização governada."},"AgenticAuthoringComponentCapabilityCatalog":{"type":"object","properties":{"capabilities":{"type":"array","description":"Operações e exemplos semânticos disponíveis para o componente.","items":{"$ref":"#/components/schemas/AgenticAuthoringComponentCapability"}},"componentId":{"type":"string","description":"Identificador canônico do componente proprietário das operações."},"version":{"type":"string","description":"Versão do manifesto governado que originou as operações do componente."}},"description":"Conjunto de operações que podem orientar authoring para um componente canônico."},"AgenticAuthoringComponentCapabilityDiagnostics":{"type":"object","properties":{"degradationReason":{"type":"string","description":"Código estável da causa de degradação; ausente quando a leitura não está degradada.","nullable":true},"degraded":{"type":"boolean","description":"Indica que a revisão corrente do AI Registry não pôde ser materializada nesta leitura."},"lastSuccessfulRegistryLoadAt":{"type":"string","description":"Instante da última leitura bem-sucedida do catálogo governado nesta instância; ausente antes do primeiro sucesso.","format":"date-time","nullable":true},"resolvedAt":{"type":"string","description":"Instante em que a origem e o estado publicados foram avaliados.","format":"date-time"},"source":{"type":"string","description":"Origem efetiva do catálogo: registry, last-known-good, snapshot-fallback ou snapshot.","enum":["registry","last-known-good","snapshot-fallback","snapshot"]}},"description":"Proveniência e estado de atualização usados para avaliar se o catálogo representa a revisão governada corrente ou uma contingência observável."},"AgenticAuthoringComponentCapabilityExample":{"type":"object","properties":{"configHints":{"type":"array","description":"Restrições e caminhos do contrato associados ao exemplo.","items":{"type":"string","description":"Restrições e caminhos do contrato associados ao exemplo."}},"intent":{"type":"string","description":"Efeito semântico que o exemplo pretende materializar."},"prompt":{"type":"string","description":"Solicitação ilustrativa publicada pelo dono do componente."}},"description":"Exemplo governado que relaciona uma solicitação humana à intenção e às restrições de uma operação declarada."},"AgenticAuthoringComponentFieldAlias":{"type":"object","properties":{"aliases":{"type":"array","description":"Nomes de apresentação declarados para o campo.","items":{"type":"string","description":"Nomes de apresentação declarados para o campo."}},"field":{"type":"string","description":"Nome canônico do campo no contrato do componente."}},"description":"Vocabulário de apresentação associado a um campo canônico do componente."},"AgenticAuthoringConsultativeApiCatalogProjection":{"type":"object","properties":{"assistantMessage":{"type":"string"},"query":{"type":"string"},"resources":{"type":"array","items":{"$ref":"#/components/schemas/Resource"}},"warnings":{"type":"array","items":{"type":"string"}}}},"AgenticAuthoringConversationMessage":{"type":"object","properties":{"createdAt":{"type":"string"},"id":{"type":"string"},"role":{"type":"string"},"text":{"type":"string"}}},"AgenticAuthoringEvidenceBundle":{"type":"object","properties":{"evidence":{"type":"array","items":{"$ref":"#/components/schemas/Evidence"}},"evidenceCount":{"type":"integer","format":"int32"},"retrievalSource":{"type":"string"},"schemaVersion":{"type":"string"}}},"AgenticAuthoringGateResult":{"type":"object","properties":{"gateId":{"type":"string"},"messages":{"type":"array","items":{"type":"string"}},"status":{"type":"string"}}},"AgenticAuthoringIntentResolutionRequest":{"type":"object","properties":{"activeSemanticDecision":{"$ref":"#/components/schemas/AgenticAuthoringSemanticDecision"},"apiKey":{"type":"string"},"attachmentSummaries":{"type":"array","items":{"$ref":"#/components/schemas/AgenticAuthoringAttachmentSummary"}},"clientTurnId":{"type":"string"},"contextHints":{"$ref":"#/components/schemas/JsonNode"},"conversationMessages":{"type":"array","items":{"$ref":"#/components/schemas/AgenticAuthoringConversationMessage"}},"currentPage":{"$ref":"#/components/schemas/JsonNode"},"currentRoute":{"type":"string"},"model":{"type":"string"},"pendingClarification":{"$ref":"#/components/schemas/AgenticAuthoringPendingClarification"},"provider":{"type":"string"},"selectedWidgetKey":{"type":"string"},"sessionId":{"type":"string"},"targetApp":{"type":"string"},"targetComponentId":{"type":"string"},"userPrompt":{"type":"string"}}},"AgenticAuthoringIntentResolutionResult":{"type":"object","properties":{"apiCatalogAnswer":{"$ref":"#/components/schemas/JsonNode"},"artifactKind":{"type":"string"},"assistantContent":{"$ref":"#/components/schemas/JsonNode"},"assistantMessage":{"type":"string"},"authoringProfile":{"type":"string"},"candidates":{"type":"array","items":{"$ref":"#/components/schemas/AgenticAuthoringCandidate"}},"changeKind":{"type":"string"},"clarificationQuestions":{"type":"array","items":{"type":"string"}},"currentPageSummary":{"$ref":"#/components/schemas/JsonNode"},"effectivePrompt":{"type":"string"},"failureCodes":{"type":"array","items":{"type":"string"}},"gate":{"$ref":"#/components/schemas/AgenticAuthoringGateResult"},"llmDiagnostics":{"$ref":"#/components/schemas/JsonNode"},"operationKind":{"type":"string"},"pendingClarification":{"$ref":"#/components/schemas/AgenticAuthoringPendingClarification"},"quickReplies":{"type":"array","items":{"$ref":"#/components/schemas/AgenticAuthoringQuickReply"}},"selectedCandidate":{"$ref":"#/components/schemas/AgenticAuthoringCandidate"},"semanticDecision":{"$ref":"#/components/schemas/AgenticAuthoringSemanticDecision"},"target":{"$ref":"#/components/schemas/AgenticAuthoringTarget"},"targetApp":{"type":"string"},"targetComponentId":{"type":"string"},"valid":{"type":"boolean"},"visualizationDecision":{"$ref":"#/components/schemas/AgenticAuthoringVisualizationDecision"},"warnings":{"type":"array","items":{"type":"string"}}}},"AgenticAuthoringManifestEditPlanRequest":{"type":"object","properties":{"config":{"$ref":"#/components/schemas/JsonNode"},"plan":{"$ref":"#/components/schemas/JsonNode"},"validationContext":{"$ref":"#/components/schemas/JsonNode"}}},"AgenticAuthoringPendingClarification":{"type":"object","properties":{"assistantMessage":{"type":"string"},"clientTurnId":{"type":"string"},"diagnostics":{"$ref":"#/components/schemas/JsonNode"},"questions":{"type":"array","items":{"type":"string"}},"sourcePrompt":{"type":"string"}}},"AgenticAuthoringPlanRequest":{"type":"object","properties":{"apiKey":{"type":"string"},"attachmentSummaries":{"type":"array","items":{"$ref":"#/components/schemas/AgenticAuthoringAttachmentSummary"}},"clientTurnId":{"type":"string"},"contextHints":{"$ref":"#/components/schemas/JsonNode"},"conversationMessages":{"type":"array","items":{"$ref":"#/components/schemas/AgenticAuthoringConversationMessage"}},"currentPage":{"$ref":"#/components/schemas/JsonNode"},"intentResolution":{"$ref":"#/components/schemas/AgenticAuthoringIntentResolutionResult"},"model":{"type":"string"},"pendingClarification":{"$ref":"#/components/schemas/AgenticAuthoringPendingClarification"},"provider":{"type":"string"},"sessionId":{"type":"string"},"userPrompt":{"type":"string"}}},"AgenticAuthoringQuickReply":{"type":"object","properties":{"contextHints":{"$ref":"#/components/schemas/JsonNode"},"description":{"type":"string"},"icon":{"type":"string"},"id":{"type":"string"},"kind":{"type":"string"},"label":{"type":"string"},"prompt":{"type":"string"},"semanticDecision":{"$ref":"#/components/schemas/JsonNode"},"tone":{"type":"string"},"value":{"$ref":"#/components/schemas/JsonNode"}}},"AgenticAuthoringResolveTargetRequest":{"type":"object","properties":{"config":{"$ref":"#/components/schemas/JsonNode"},"input":{"$ref":"#/components/schemas/JsonNode"},"operationId":{"type":"string"},"target":{"$ref":"#/components/schemas/JsonNode"}}},"AgenticAuthoringResourceCandidatesRequest":{"type":"object","properties":{"artifactKind":{"type":"string"},"limit":{"type":"integer","format":"int32"},"resourceSearchFocus":{"$ref":"#/components/schemas/AgenticAuthoringResourceSearchFocus"},"retrievalQuery":{"type":"string"},"userPrompt":{"type":"string"}}},"AgenticAuthoringResourceCandidatesResult":{"type":"object","properties":{"artifactKind":{"type":"string"},"assistantContent":{"$ref":"#/components/schemas/JsonNode"},"assistantMessage":{"type":"string"},"candidates":{"type":"array","items":{"$ref":"#/components/schemas/AgenticAuthoringCandidate"}},"consultativeProjection":{"$ref":"#/components/schemas/AgenticAuthoringConsultativeApiCatalogProjection"},"quickReplies":{"type":"array","items":{"$ref":"#/components/schemas/AgenticAuthoringQuickReply"}},"retrievalQuery":{"type":"string"},"tool":{"type":"string"},"valid":{"type":"boolean"},"warnings":{"type":"array","items":{"type":"string"}}}},"AgenticAuthoringResourceSearchFocus":{"type":"object","properties":{"desiredSurface":{"type":"string"},"primaryBusinessEntity":{"type":"string"},"rationale":{"type":"string"},"supportingConcepts":{"type":"array","items":{"type":"string"}},"uncertainty":{"type":"string"}}},"AgenticAuthoringSemanticDecision":{"type":"object","properties":{"activeObjective":{"type":"string"},"artifactIntent":{"type":"string"},"artifactKind":{"type":"string"},"changeKind":{"type":"string"},"confidence":{"type":"number","format":"double"},"constraints":{"$ref":"#/components/schemas/JsonNode"},"conversationId":{"type":"string"},"decisionId":{"type":"string"},"operationKind":{"type":"string"},"previousDecisionId":{"type":"string"},"previousDecisionRef":{"type":"string"},"rationale":{"type":"string"},"refinement":{"$ref":"#/components/schemas/AgenticAuthoringSemanticRefinement"},"refinementOf":{"type":"string"},"retrievalEvidence":{"$ref":"#/components/schemas/RetrievalEvidence"},"retrievedEvidence":{"$ref":"#/components/schemas/AgenticAuthoringEvidenceBundle"},"reviewReason":{"type":"string"},"reviewRequired":{"type":"boolean"},"schemaVersion":{"type":"string"},"selectedResource":{"$ref":"#/components/schemas/SelectedResource"},"turnId":{"type":"string"},"userGoal":{"type":"string"},"visualIntent":{"type":"string"},"visualizationDecision":{"$ref":"#/components/schemas/AgenticAuthoringVisualizationDecision"}}},"AgenticAuthoringSemanticRefinement":{"type":"object","properties":{"add":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}},"confidence":{"type":"number","format":"double"},"preserve":{"type":"array","items":{"type":"string"}},"rationale":{"type":"string"},"refinementKind":{"type":"string"},"remove":{"type":"array","items":{"type":"string"}},"replace":{"type":"object","additionalProperties":{"type":"string"}},"schemaVersion":{"type":"string"}}},"AgenticAuthoringTarget":{"type":"object","properties":{"componentId":{"type":"string"},"resourcePath":{"type":"string"},"schemaUrl":{"type":"string"},"submitMethod":{"type":"string"},"submitUrl":{"type":"string"},"widgetKey":{"type":"string"}}},"AgenticAuthoringTurnStreamRequest":{"type":"object","properties":{"activeSemanticDecision":{"$ref":"#/components/schemas/AgenticAuthoringSemanticDecision"},"apiKey":{"type":"string"},"attachmentSummaries":{"type":"array","items":{"$ref":"#/components/schemas/AgenticAuthoringAttachmentSummary"}},"clientTurnId":{"type":"string"},"componentCapabilities":{"$ref":"#/components/schemas/AgenticAuthoringComponentCapabilitiesResult"},"contextHints":{"$ref":"#/components/schemas/JsonNode"},"conversationMessages":{"type":"array","items":{"$ref":"#/components/schemas/AgenticAuthoringConversationMessage"}},"currentPage":{"$ref":"#/components/schemas/JsonNode"},"currentRoute":{"type":"string"},"diagnostics":{"$ref":"#/components/schemas/JsonNode"},"model":{"type":"string"},"pendingClarification":{"$ref":"#/components/schemas/AgenticAuthoringPendingClarification"},"provider":{"type":"string"},"runtimeComponentObservationTrustBoundary":{"type":"string"},"runtimeComponentObservations":{"type":"array","items":{"$ref":"#/components/schemas/JsonNode"}},"selectedWidgetKey":{"type":"string"},"sessionId":{"type":"string"},"targetApp":{"type":"string"},"targetComponentId":{"type":"string"},"userPrompt":{"type":"string"}}},"AgenticAuthoringTurnStreamStartResponse":{"type":"object","properties":{"eventSchemaVersion":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"fallbackAuthoringUrl":{"type":"string"},"observationId":{"type":"string","format":"uuid"},"streamAccessToken":{"type":"string"},"streamAuthMode":{"type":"string"},"streamId":{"type":"string","format":"uuid"},"threadId":{"type":"string","format":"uuid"},"turnId":{"type":"string","format":"uuid"}}},"AgenticAuthoringVisualizationAxisDecision":{"type":"object","properties":{"chartType":{"type":"string"},"concept":{"type":"string"},"field":{"type":"string"},"label":{"type":"string"},"metricAggregation":{"type":"string"},"metricField":{"type":"string"},"metricLabel":{"type":"string"},"orientation":{"type":"string"},"provenance":{"type":"string"}}},"AgenticAuthoringVisualizationDecision":{"type":"object","properties":{"axes":{"type":"array","items":{"$ref":"#/components/schemas/AgenticAuthoringVisualizationAxisDecision"}},"excludedComponentIds":{"type":"array","items":{"type":"string"}},"includeDetailTable":{"type":"boolean"},"includeFilters":{"type":"boolean"},"includeKpis":{"type":"boolean"},"includeSummary":{"type":"boolean"},"intent":{"type":"string"},"layoutKind":{"type":"string"},"primaryComponent":{"type":"string"},"provenance":{"type":"string"},"schemaVersion":{"type":"string"},"targetSurfaceId":{"type":"string"}}},"AiApiKeyClearRequest":{"type":"object","properties":{"componentId":{"type":"string"},"componentType":{"type":"string"},"environment":{"type":"string"},"scope":{"type":"string"}}},"AiApiKeyMaintenanceResponse":{"type":"object","properties":{"apiKeyLast4":{"type":"string"},"componentId":{"type":"string"},"componentType":{"type":"string"},"environment":{"type":"string"},"hasApiKey":{"type":"boolean"},"message":{"type":"string"},"scope":{"type":"string"},"status":{"type":"string"},"success":{"type":"boolean"}}},"AiApiKeyRotateRequest":{"type":"object","properties":{"componentId":{"type":"string"},"componentType":{"type":"string"},"environment":{"type":"string"},"newEncryptionKey":{"type":"string"},"previousEncryptionKey":{"type":"string"},"scope":{"type":"string"}}},"AiAssistantObservationFeedbackRequest":{"type":"object","properties":{"comment":{"type":"string"},"rating":{"type":"string"},"reasonCode":{"type":"string"}}},"AiAssistantObservationFeedbackResponse":{"type":"object","properties":{"commentPreview":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"feedbackId":{"type":"string","format":"uuid"},"observationId":{"type":"string","format":"uuid"},"rating":{"type":"string"},"reasonCode":{"type":"string"}}},"AiAssistantObservationResponse":{"type":"object","properties":{"admissionOutcome":{"type":"string"},"clientTurnId":{"type":"string","format":"uuid"},"componentId":{"type":"string"},"componentType":{"type":"string"},"contractVersion":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"environment":{"type":"string"},"errorCategory":{"type":"string"},"errorCode":{"type":"string"},"errorMessagePreview":{"type":"string"},"feedback":{"type":"array","items":{"$ref":"#/components/schemas/AiAssistantObservationFeedbackResponse"}},"latencyMs":{"type":"integer","format":"int64"},"llmCallCount":{"type":"integer","format":"int32"},"model":{"type":"string"},"observationId":{"type":"string","format":"uuid"},"promptHash":{"type":"string"},"promptLength":{"type":"integer","format":"int32"},"promptPreview":{"type":"string"},"provider":{"type":"string"},"qualityOutcome":{"type":"string"},"requestId":{"type":"string"},"routeKey":{"type":"string"},"schemaHash":{"type":"string"},"sessionId":{"type":"string","format":"uuid"},"streamId":{"type":"string","format":"uuid"},"surface":{"type":"string"},"tenantId":{"type":"string"},"terminalOutcome":{"type":"string"},"threadId":{"type":"string","format":"uuid"},"turnId":{"type":"string","format":"uuid"},"updatedAt":{"type":"string","format":"date-time"},"userId":{"type":"string"},"variantId":{"type":"string"}}},"AiAssistantObservationSummaryResponse":{"type":"object","properties":{"rows":{"type":"array","items":{"$ref":"#/components/schemas/Row"}}}},"AiAudioTranscriptionResponse":{"type":"object","properties":{"language":{"type":"string"},"model":{"type":"string"},"provider":{"type":"string"},"schemaVersion":{"type":"string"},"text":{"type":"string"}}},"AiChatMessage":{"type":"object","properties":{"content":{"type":"string"},"role":{"type":"string"}}},"AiClarificationUi":{"type":"object","properties":{"allowCustom":{"type":"boolean"},"presentation":{"type":"string"},"responseType":{"type":"string"},"selectionMode":{"type":"string"}}},"AiContextDTO":{"type":"object","properties":{"aiMode":{"type":"string"},"componentDefinition":{"$ref":"#/components/schemas/JsonNode"},"componentId":{"type":"string"},"componentType":{"type":"string"},"currentState":{"$ref":"#/components/schemas/JsonNode"},"description":{"type":"string"},"requireSchema":{"type":"boolean"},"resourcePath":{"type":"string"},"schema":{"$ref":"#/components/schemas/JsonNode"},"schemaContext":{"$ref":"#/components/schemas/AiSchemaContext"},"template":{"$ref":"#/components/schemas/AiRegistryTemplateRecord"}}},"AiContextRuntimeRequest":{"type":"object","properties":{"currentState":{"$ref":"#/components/schemas/JsonNode"},"resourcePath":{"type":"string"},"schemaContext":{"$ref":"#/components/schemas/AiSchemaContext"}}},"AiCurrentStateDigest":{"type":"object","properties":{"columns":{"type":"array","items":{"type":"string"}},"rowCount":{"type":"integer","format":"int32"},"sort":{"type":"string"}}},"AiIntelligenceRelease":{"type":"object","properties":{"activatedAt":{"type":"string","format":"date-time"},"componentCorpusReleaseId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"embeddingProfile":{"type":"string"},"environment":{"type":"string"},"expectedChunkCount":{"type":"integer","format":"int64"},"expectedComponentCount":{"type":"integer","format":"int32"},"expectedComponentHash":{"type":"string"},"expectedTemplateCount":{"type":"integer","format":"int32"},"expectedTemplateHash":{"type":"string"},"failureReason":{"type":"string"},"id":{"type":"string","format":"uuid"},"observedChunkCount":{"type":"integer","format":"int64"},"observedComponentCount":{"type":"integer","format":"int32"},"observedComponentHash":{"type":"string"},"observedTemplateCount":{"type":"integer","format":"int32"},"observedTemplateHash":{"type":"string"},"producerRef":{"type":"string"},"releaseId":{"type":"string"},"status":{"type":"string"},"tenantId":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"}}},"AiIntelligenceReleaseRequest":{"required":["embeddingProfile","expectedComponentHash","expectedTemplateHash","releaseId"],"type":"object","properties":{"embeddingProfile":{"minLength":1,"type":"string"},"expectedChunkCount":{"minimum":0,"type":"integer","format":"int64"},"expectedComponentCount":{"minimum":0,"type":"integer","format":"int32"},"expectedComponentHash":{"minLength":1,"pattern":"[a-fA-F0-9]{64}","type":"string"},"expectedTemplateCount":{"minimum":0,"type":"integer","format":"int32"},"expectedTemplateHash":{"minLength":1,"pattern":"[a-fA-F0-9]{64}","type":"string"},"producerRef":{"type":"string"},"releaseId":{"minLength":1,"type":"string"}}},"AiMemoryInfo":{"type":"object","properties":{"cached":{"type":"boolean"},"summaryUpdated":{"type":"boolean"},"windowSize":{"type":"integer","format":"int32"}}},"AiOption":{"type":"object","properties":{"contextHints":{"$ref":"#/components/schemas/JsonNode"},"example":{"type":"string"},"label":{"type":"string"},"value":{"type":"string"}}},"AiOrchestratorRequest":{"required":["componentId","componentType"],"type":"object","properties":{"aiMode":{"type":"string"},"apiMethod":{"type":"string"},"apiSearchLimit":{"type":"integer","format":"int32"},"apiTags":{"type":"string"},"clientTurnId":{"type":"string","format":"uuid"},"componentId":{"minLength":1,"type":"string"},"componentType":{"minLength":1,"type":"string"},"contextHints":{"$ref":"#/components/schemas/JsonNode"},"contractVersion":{"type":"string"},"currentState":{"$ref":"#/components/schemas/JsonNode"},"currentStateDigest":{"$ref":"#/components/schemas/AiCurrentStateDigest"},"dataProfile":{"$ref":"#/components/schemas/JsonNode"},"messages":{"type":"array","items":{"$ref":"#/components/schemas/AiChatMessage"}},"mode":{"type":"string"},"observationId":{"type":"string","format":"uuid"},"ragReleaseId":{"type":"string"},"requireSchema":{"type":"boolean"},"resourcePath":{"type":"string"},"runtimeState":{"$ref":"#/components/schemas/JsonNode"},"schemaContext":{"$ref":"#/components/schemas/AiSchemaContext"},"schemaFields":{"$ref":"#/components/schemas/JsonNode"},"schemaHash":{"type":"string"},"sessionId":{"type":"string","format":"uuid"},"streamTransport":{"type":"boolean"},"streamTurnPreclaimed":{"type":"boolean"},"suggestedPatch":{"$ref":"#/components/schemas/JsonNode"},"summary":{"type":"string"},"uiContextRef":{"$ref":"#/components/schemas/AiUiContextRef"},"userPrompt":{"type":"string"},"variantId":{"type":"string"}}},"AiOrchestratorResponse":{"type":"object","properties":{"allowedValues":{"type":"array","items":{"type":"string"}},"clarification":{"$ref":"#/components/schemas/AiClarificationUi"},"code":{"type":"string"},"componentEditPlan":{"$ref":"#/components/schemas/JsonNode"},"componentId":{"type":"string"},"componentType":{"type":"string"},"contextRequest":{"type":"array","items":{"type":"integer","format":"int32"}},"contractVersion":{"type":"string"},"diff":{"type":"array","items":{"$ref":"#/components/schemas/AiPatchDiff"}},"explanation":{"type":"string"},"memory":{"$ref":"#/components/schemas/AiMemoryInfo"},"message":{"type":"string"},"observationId":{"type":"string","format":"uuid"},"optionPayloads":{"type":"array","items":{"$ref":"#/components/schemas/AiOption"}},"options":{"type":"array","items":{"type":"string"}},"patch":{"$ref":"#/components/schemas/JsonNode"},"path":{"type":"string"},"providedValue":{"$ref":"#/components/schemas/JsonNode"},"schemaHash":{"type":"string"},"sessionId":{"type":"string","format":"uuid"},"type":{"type":"string"},"warnings":{"type":"array","items":{"type":"string"}}}},"AiPatchDiff":{"type":"object","properties":{"after":{"$ref":"#/components/schemas/JsonNode"},"before":{"$ref":"#/components/schemas/JsonNode"},"path":{"type":"string"}}},"AiPatchStreamCancelResponse":{"type":"object","properties":{"message":{"type":"string"},"streamId":{"type":"string","format":"uuid"},"terminalState":{"type":"string"},"threadId":{"type":"string","format":"uuid"},"turnId":{"type":"string","format":"uuid"}}},"AiProviderCatalogItem":{"type":"object","properties":{"defaultModel":{"type":"string"},"description":{"type":"string"},"iconKey":{"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"requiresApiKey":{"type":"boolean"},"supportsEmbeddings":{"type":"boolean"},"supportsModels":{"type":"boolean"},"supportsTextStreaming":{"type":"boolean"},"supportsTurnCancellation":{"type":"boolean"}}},"AiProviderCatalogResponse":{"type":"object","properties":{"providers":{"type":"array","items":{"$ref":"#/components/schemas/AiProviderCatalogItem"}}}},"AiProviderModel":{"type":"object","properties":{"description":{"type":"string"},"displayName":{"type":"string"},"inputTokenLimit":{"type":"integer","format":"int32"},"name":{"type":"string"},"outputTokenLimit":{"type":"integer","format":"int32"},"supportedGenerationMethods":{"type":"array","items":{"type":"string"}},"version":{"type":"string"}}},"AiProviderModelsRequest":{"type":"object","properties":{"apiKey":{"type":"string"},"provider":{"type":"string"}}},"AiProviderModelsResponse":{"type":"object","properties":{"message":{"type":"string"},"models":{"type":"array","items":{"$ref":"#/components/schemas/AiProviderModel"}},"provider":{"type":"string"},"success":{"type":"boolean"}}},"AiProviderStatusResponse":{"type":"object","properties":{"hasApiKey":{"type":"boolean"},"message":{"type":"string"},"model":{"type":"string"},"provider":{"type":"string"},"source":{"type":"string"},"success":{"type":"boolean"}}},"AiProviderTestRequest":{"type":"object","properties":{"apiKey":{"type":"string"},"model":{"type":"string"},"provider":{"type":"string"}}},"AiProviderTestResponse":{"type":"object","properties":{"message":{"type":"string"},"model":{"type":"string"},"provider":{"type":"string"},"success":{"type":"boolean"}}},"AiRegistryBootstrapState":{"type":"object","properties":{"attempted":{"type":"boolean"},"attemptedAt":{"type":"string","format":"date-time"},"completedAt":{"type":"string","format":"date-time"},"error":{"type":"string"},"fallbackUsed":{"type":"boolean"},"previousSnapshotHash":{"type":"string"},"requestedSnapshotLocation":{"type":"string"},"resolvedSnapshotLocation":{"type":"string"},"skipReason":{"type":"string"},"skipped":{"type":"boolean"},"snapshotComponentCount":{"type":"integer","format":"int64"},"snapshotHash":{"type":"string"},"source":{"type":"string"},"succeeded":{"type":"boolean"}}},"AiRegistryStatusReport":{"type":"object","properties":{"bootstrap":{"$ref":"#/components/schemas/AiRegistryBootstrapState"},"componentDefinitionCount":{"type":"integer","format":"int64"},"minComponentDefinitions":{"type":"integer","format":"int64"},"minTemplates":{"type":"integer","format":"int64"},"missingComponents":{"type":"array","items":{"type":"string"}},"ready":{"type":"boolean"},"requiredComponents":{"type":"array","items":{"type":"string"}},"status":{"type":"string"},"templateCount":{"type":"integer","format":"int64"}}},"AiRegistryTemplateBulkError":{"type":"object","properties":{"componentId":{"type":"string"},"reason":{"type":"string"}}},"AiRegistryTemplateBulkItem":{"required":["componentId","configJson"],"type":"object","properties":{"aiDescription":{"type":"string"},"componentId":{"minLength":1,"type":"string"},"configJson":{"$ref":"#/components/schemas/JsonNode"},"templateMeta":{"$ref":"#/components/schemas/JsonNode"}}},"AiRegistryTemplateBulkUpsertRequest":{"required":["items"],"type":"object","properties":{"items":{"minItems":1,"type":"array","items":{"$ref":"#/components/schemas/AiRegistryTemplateBulkItem"}}}},"AiRegistryTemplateBulkUpsertResponse":{"type":"object","properties":{"accepted":{"type":"integer","format":"int32"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/AiRegistryTemplateBulkError"}},"failed":{"type":"integer","format":"int32"}}},"AiRegistryTemplateRecord":{"type":"object","properties":{"aiDescription":{"type":"string"},"componentId":{"type":"string"},"configJson":{"$ref":"#/components/schemas/JsonNode"},"revision":{"$ref":"#/components/schemas/AiRegistryTemplateRevision"},"templateMeta":{"$ref":"#/components/schemas/JsonNode"}}},"AiRegistryTemplateRevision":{"type":"object","properties":{"configSha256":{"type":"string"},"etag":{"type":"string"},"version":{"type":"integer","format":"int64"}}},"AiRegistryTemplateSearchResult":{"type":"object","properties":{"aiDescription":{"type":"string"},"componentId":{"type":"string"},"configJsonSnippet":{"type":"string"},"similarityScore":{"type":"number","format":"double"}}},"AiRegistryTemplateUpsertRequest":{"required":["configJson"],"type":"object","properties":{"aiDescription":{"type":"string"},"configJson":{"$ref":"#/components/schemas/JsonNode"},"templateMeta":{"$ref":"#/components/schemas/JsonNode"}}},"AiRegistryTemplateUpsertResponse":{"type":"object","properties":{"aiDescription":{"type":"string"},"componentId":{"type":"string"},"configJson":{"$ref":"#/components/schemas/JsonNode"},"revision":{"$ref":"#/components/schemas/AiRegistryTemplateRevision"},"status":{"type":"string"},"templateMeta":{"$ref":"#/components/schemas/JsonNode"}}},"AiSchemaContext":{"type":"object","properties":{"operation":{"type":"string"},"path":{"type":"string"},"schemaType":{"type":"string"}}},"AiSuggestion":{"type":"object","properties":{"contextHints":{"$ref":"#/components/schemas/JsonNode"},"description":{"type":"string"},"group":{"type":"string"},"icon":{"type":"string"},"id":{"type":"string"},"intent":{"type":"string"},"label":{"type":"string"},"missingContext":{"type":"array","items":{"type":"string"}},"patch":{"$ref":"#/components/schemas/JsonNode"},"score":{"type":"number","format":"double"},"variantId":{"type":"string"}}},"AiSuggestionsRequest":{"required":["componentId","componentType"],"type":"object","properties":{"componentId":{"minLength":1,"type":"string"},"componentType":{"minLength":1,"type":"string"},"currentState":{"$ref":"#/components/schemas/JsonNode"},"dataProfile":{"$ref":"#/components/schemas/JsonNode"},"forceRefresh":{"type":"boolean"},"locale":{"type":"string"},"maxSuggestions":{"type":"integer","format":"int32"},"variantId":{"type":"string"}}},"AiSuggestionsResponse":{"type":"object","properties":{"cacheHit":{"type":"boolean"},"cacheKey":{"type":"string"},"source":{"type":"string"},"suggestions":{"type":"array","items":{"$ref":"#/components/schemas/AiSuggestion"}},"warnings":{"type":"array","items":{"type":"string"}}}},"AiUiContextRef":{"type":"object","properties":{"componentId":{"type":"string"},"componentType":{"type":"string"},"routeKey":{"type":"string"},"schemaHash":{"type":"string"},"variantId":{"type":"string"}}},"AmeacaDTO":{"required":["nome","status"],"type":"object","properties":{"classe":{"type":"string","description":"Taxonomia (villain, organizacao, fenomeno, etc.); AmeacaClasse.","enum":["VILAO","ORGANIZACAO","ENTIDADE","CATASTROFE","INVASAO"],"x-ui":{"controlType":"select","editable":true,"icon":"category","iconPosition":"left","label":"Classe","name":"classe","options":[{"value":"VILAO","label":"VILAO"},{"value":"ORGANIZACAO","label":"ORGANIZACAO"},{"value":"ENTIDADE","label":"ENTIDADE"},{"value":"CATASTROFE","label":"CATASTROFE"},{"value":"INVASAO","label":"INVASAO"}],"order":"20","presentation":{"appearance":"soft","icon":"category","presenter":"chip","tone":"info"},"quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}},"id":{"type":"integer","description":"Identificador da ameaca no catalogo de risco; referencia o recurso em URLs, missoes relacionadas e relacionamentos semanticos.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"icon":"tag","iconPosition":"left","label":"Código","name":"id","order":"1","presentation":{"appearance":"soft","icon":"tag","prefix":"#","presenter":"iconValue","tooltip":"Código interno da ameaça no catálogo de risco"},"readOnly":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"nivel":{"minimum":0,"type":"integer","description":"Nivel de ameaca operacional (escala interna nao negativa; 0 = baseline).","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"trending_up","iconPosition":"left","label":"Nível","min":"0","name":"nivel","numericMin":"0","order":"40","quickViewOrder":2,"quickViewVisible":true,"rangeMessage":"Nível deve ser maior ou igual a 0","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"nome":{"maxLength":200,"minLength":0,"type":"string","description":"Codinome ou designacao publica da ameaca.","x-ui":{"controlType":"input","editable":true,"icon":"warning","iconPosition":"left","label":"Nome","maxLength":"200","maxLengthMessage":"Nome deve ter no máximo 200 caracteres","name":"nome","order":"10","required":true,"requiredMessage":"Nome é obrigatório","resourceReference":{"resourceKey":"risk-intelligence.ameacas","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"planeta":{"maxLength":120,"minLength":0,"type":"string","description":"Planeta ou regiao principal de atuacao.","x-ui":{"controlType":"input","editable":true,"icon":"public","iconPosition":"left","label":"Planeta","maxLength":"120","maxLengthMessage":"Planeta deve ter no máximo 120 caracteres","name":"planeta","order":"30","sortable":true,"type":"text"}},"recompensa":{"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Valor oferecido por captura ou intel (moeda de referencia do tenant).","format":"decimal","x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"icon":"payments","iconPosition":"left","label":"Recompensa","locale":"pt-BR","min":"0.00","name":"recompensa","numericFormat":"currency","numericMin":"0.00","order":"60","quickViewOrder":4,"quickViewVisible":true,"rangeMessage":"Recompensa deve ser maior ou igual a 0.00","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"status":{"type":"string","description":"Ciclo de vida no catalogo (ativo, neutralizado, etc.); AmeacaStatus.","enum":["LIVRE","EM_OBSERVACAO","CONFRONTO","CAPTURADO","ELIMINADO"],"x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","options":[{"value":"LIVRE","label":"LIVRE"},{"value":"EM_OBSERVACAO","label":"EM_OBSERVACAO"},{"value":"CONFRONTO","label":"CONFRONTO"},{"value":"CAPTURADO","label":"CAPTURADO"},{"value":"ELIMINADO","label":"ELIMINADO"}],"order":"50","presentation":{"appearance":"soft","icon":"shield","presenter":"badge","tone":"warning"},"quickViewOrder":3,"quickViewVisible":true,"required":true,"requiredMessage":"Status é obrigatório","sortable":true,"type":"text"}}},"description":"Registro mestre de uma ameaca acompanhada pela inteligencia de risco, reunindo identidade operacional, classe, teatro principal, nivel de perigo, status e recompensa."},"AmeacaFilterDTO":{"type":"object","properties":{"classe":{"type":"string","description":"Classe taxonomica da ameaca, restringindo o resultado a um valor do catalogo AmeacaClasse.","enum":["VILAO","ORGANIZACAO","ENTIDADE","CATASTROFE","INVASAO"],"x-ui":{"controlType":"inlineSelect","editable":true,"helpText":"Restringe a busca à categoria operacional da ameaça.","icon":"category","iconPosition":"left","label":"Classe da ameaça","name":"classe","options":[{"value":"VILAO","label":"VILAO"},{"value":"ORGANIZACAO","label":"ORGANIZACAO"},{"value":"ENTIDADE","label":"ENTIDADE"},{"value":"CATASTROFE","label":"CATASTROFE"},{"value":"INVASAO","label":"INVASAO"}],"order":"20","sortable":true,"type":"text"}},"nivelBetween":{"description":"Faixa de nivel de perigo usada para priorizar vigilancia, resposta e comparacao entre ameacas.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"integer","format":"int32","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null}}],"items":{"type":"integer","format":"int32","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":true,"example":null},"min":{"type":"integer","format":"int32","nullable":true,"example":null}},"anyOf":[{"required":["min"],"type":"object","properties":{"min":{"type":"integer","format":"int32","nullable":false,"example":null}}},{"required":["max"],"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"rangeSlider","editable":true,"helpText":"Define uma faixa de criticidade para priorizar ameaças mais ou menos perigosas.","icon":"trending_up","iconPosition":"left","label":"Nível de risco","mode":"range","name":"nivelBetween","order":"40","sortable":true,"type":"number"}},"nome":{"type":"string","description":"Trecho do codinome, organizacao ou designacao publica da ameaca; aplica busca parcial no titulo operacional.","x-ui":{"controlType":"input","editable":true,"helpText":"Busca por nome, codinome ou organização registrada no catálogo de ameaças.","icon":"filter_list","iconPosition":"left","label":"Nome da ameaça","maxLength":"200","maxLengthMessage":"Nome da ameaça deve ter no máximo 200 caracteres","name":"nome","order":"10","sortable":true,"type":"text"}},"planeta":{"type":"string","description":"Planeta, regiao ou setor principal de atuacao; permite busca textual parcial no teatro operacional catalogado.","x-ui":{"controlType":"input","editable":true,"helpText":"Filtra pelo planeta, setor ou região de atuação conhecida.","icon":"public","iconPosition":"left","label":"Planeta ou setor","maxLength":"120","maxLengthMessage":"Planeta ou setor deve ter no máximo 120 caracteres","name":"planeta","order":"30","sortable":true,"type":"text"}},"recompensaBetween":{"description":"Faixa de recompensa associada a captura ou inteligencia, expressa na moeda de referencia do backend.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"number","format":"decimal","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null}}],"items":{"type":"number","format":"decimal","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"currency":{"type":"string"},"maxPrice":{"type":"number","format":"decimal","nullable":true,"example":null},"minPrice":{"type":"number","format":"decimal","nullable":true,"example":null}},"anyOf":[{"required":["minPrice"],"type":"object","properties":{"minPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}},{"required":["maxPrice"],"type":"object","properties":{"maxPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"priceRange","editable":true,"helpText":"Filtra pelo valor de recompensa associado à captura ou neutralização.","icon":"payments","iconPosition":"left","label":"Faixa de recompensa","name":"recompensaBetween","numericFormat":"currency","numericStep":"0.01","order":"60","sortable":true,"type":"number"}},"status":{"type":"string","description":"Status operacional da ameaca no catalogo, usado para separar riscos ativos, neutralizados ou em vigilancia.","enum":["LIVRE","EM_OBSERVACAO","CONFRONTO","CAPTURADO","ELIMINADO"],"x-ui":{"controlType":"inlineSelect","editable":true,"helpText":"Mostra ameaças conforme a situação operacional atual.","icon":"toggle_on","iconPosition":"left","label":"Status da ameaça","name":"status","options":[{"value":"LIVRE","label":"LIVRE"},{"value":"EM_OBSERVACAO","label":"EM_OBSERVACAO"},{"value":"CONFRONTO","label":"CONFRONTO"},{"value":"CAPTURADO","label":"CAPTURADO"},{"value":"ELIMINADO","label":"ELIMINADO"}],"order":"50","sortable":true,"type":"text"}}},"description":"Criterios de busca no catalogo de ameacas (villains, cenarios); nao e a ameaca persistida a editar so com filtrar. Usado para montar recortes do catalogo de risco sem alterar o cadastro mestre de ameacas."},"ApiCatalogRequest":{"required":["endpoints"],"type":"object","properties":{"endpoints":{"type":"array","items":{"$ref":"#/components/schemas/ApiEndpointEntry"}},"generatedAt":{"type":"string"},"releaseId":{"type":"string"},"version":{"type":"string"}}},"ApiEndpointEntry":{"required":["method","path"],"type":"object","properties":{"description":{"type":"string"},"method":{"minLength":1,"type":"string"},"operationId":{"type":"string"},"parameters":{"$ref":"#/components/schemas/JsonNode"},"path":{"minLength":1,"type":"string"},"requestSchema":{"$ref":"#/components/schemas/JsonNode"},"responseSchema":{"$ref":"#/components/schemas/JsonNode"},"summary":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}}}},"ApiMetadataRagReconcileResponse":{"type":"object","properties":{"environment":{"type":"string"},"expectedDocumentCount":{"type":"integer","format":"int64"},"publishedDocumentCount":{"type":"integer","format":"int64"},"ragPublicationEnabled":{"type":"boolean"},"releaseId":{"type":"string"},"schemaVersion":{"type":"string"},"serviceKey":{"type":"string"},"status":{"$ref":"#/components/schemas/ApiMetadataRagStatusResponse"},"tenantId":{"type":"string"},"vectorStoreAvailable":{"type":"boolean"}}},"ApiMetadataRagStatusResponse":{"type":"object","properties":{"actualDocumentCount":{"type":"integer","format":"int64"},"chunkKindCounts":{"type":"object","additionalProperties":{"type":"integer","format":"int64"}},"completedAt":{"type":"string"},"environment":{"type":"string"},"expectedDocumentCount":{"type":"integer","format":"int64"},"failureCode":{"type":"string"},"failureMessage":{"type":"string"},"indexingAttempt":{"type":"integer","format":"int32"},"indexingRevision":{"type":"integer","format":"int64"},"indexingStatus":{"type":"string"},"latestPublishedAt":{"type":"string"},"legacyIndexedDocumentCount":{"type":"integer","format":"int64"},"publishedDocumentCount":{"type":"integer","format":"int64"},"ragPublicationEnabled":{"type":"boolean"},"reconciled":{"type":"boolean"},"releaseId":{"type":"string"},"requestedAt":{"type":"string"},"resourceType":{"type":"string"},"schemaVersion":{"type":"string"},"serviceKey":{"type":"string"},"sourceCount":{"type":"integer","format":"int32"},"sources":{"type":"array","items":{"$ref":"#/components/schemas/SourceStatus"}},"startedAt":{"type":"string"},"statusAvailable":{"type":"boolean"},"tenantId":{"type":"string"},"updatedAt":{"type":"string"},"vectorStoreAvailable":{"type":"boolean"},"visibilityCounts":{"type":"object","additionalProperties":{"type":"integer","format":"int64"}},"warnings":{"type":"array","items":{"type":"string"}}}},"ApiSearchResult":{"type":"object","properties":{"id":{"type":"integer","format":"int64"},"method":{"type":"string"},"parameters":{"type":"string"},"path":{"type":"string"},"requestSchema":{"type":"string"},"requestSchemaSnippet":{"type":"string","deprecated":true},"responseSchema":{"type":"string"},"responseSchemaSnippet":{"type":"string","deprecated":true},"similarityScore":{"type":"number","format":"double"},"summary":{"type":"string"},"tags":{"type":"string"}}},"AppliedUiLayoutLayer":{"type":"object","properties":{"contentHash":{"type":"string","description":"Canonical SHA-256 content hash."},"label":{"type":"string","description":"Optional non-sensitive release label."},"layerClass":{"type":"string","description":"Precedence class used by the resolver."},"priority":{"type":"integer","description":"Explicit priority within the layer class.","format":"int32"},"revisionRef":{"type":"string","description":"Opaque immutable revision reference."}},"description":"Safe provenance for one immutable layout revision applied during resolution."},"ApproveEventosFolhaParametersDTO":{"required":["comment","effectiveAt","reasonCode"],"type":"object","properties":{"comment":{"maxLength":1000,"minLength":0,"type":"string","description":"Justificativa contextual da aprovação, preservada em cada transição confirmada do lote.","example":"Valores conferidos com os documentos da competência.","x-ui":{"controlType":"textarea","editable":true,"group":"Ação","helpText":"Justificativa da conferência que embasou a aprovação.","icon":"comment","iconPosition":"left","label":"Comentário","maxLength":"1000","maxLengthMessage":"Comentário deve ter no máximo 1000 caracteres","name":"comment","order":"40","required":true,"requiredMessage":"Comentário é obrigatório","sortable":true,"type":"text"}},"effectiveAt":{"type":"string","description":"Data de eficácia da aprovação para o fechamento e a trilha auditável. Não altera retroativamente a data de criação do evento.","format":"date","example":"2026-07-11","x-ui":{"controlType":"date","editable":true,"group":"Ação","helpText":"Data em que a aprovação deve produzir efeitos no fechamento.","icon":"event","iconPosition":"left","label":"Data efetiva","name":"effectiveAt","order":"20","required":true,"requiredMessage":"Data efetiva é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"reasonCode":{"maxLength":120,"minLength":0,"type":"string","description":"Código de negócio que classifica a razão da aprovação em lote para auditoria e relatórios de folha.","example":"FECHAMENTO_CONFERIDO","x-ui":{"controlType":"input","editable":true,"group":"Ação","helpText":"Classificação de negócio da decisão de aprovação.","icon":"sell","iconPosition":"left","label":"Código do motivo","maxLength":"120","maxLengthMessage":"Código do motivo deve ter no máximo 120 caracteres","name":"reasonCode","order":"30","required":true,"requiredMessage":"Código do motivo é obrigatório","sortable":true,"type":"text"}}},"description":"Parâmetros compartilhados da decisão de aprovação de eventos de folha, incluindo vigência e justificativa auditável."},"AssetAvailabilityTransitionHistoryDTO":{"type":"object","properties":{"actionId":{"type":"string","description":"Identificador da workflow action ou evento operacional que provocou a transição (ex.: report-damaged, send-to-maintenance, return-to-stock).","x-ui":{"controlType":"input","editable":true,"icon":"bolt","iconPosition":"left","label":"Ação Operacional","name":"actionId","order":"10","readOnly":true,"sortable":true,"type":"text"}},"actorSubject":{"type":"string","description":"Identificador do operador, custodiante ou processo autenticado que executou a transição.","x-ui":{"controlType":"input","editable":true,"icon":"person","iconPosition":"left","label":"Executado por","name":"actorSubject","order":"80","readOnly":true,"sortable":true,"type":"text"}},"assetId":{"type":"integer","description":"Identificador do ativo operacional que sofreu a transição de disponibilidade.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"tag","iconPosition":"left","label":"Ativo","name":"assetId","readOnly":true,"sortable":true,"tableHidden":true,"type":"number","valuePresentation":{"type":"number"}}},"correlationId":{"type":"string","description":"Identificador de correlação que vincula a transição do ativo ao evento de custódia ou comando de origem.","x-ui":{"controlType":"input","editable":true,"icon":"link","iconPosition":"left","label":"Correlação","name":"correlationId","order":"90","readOnly":true,"sortable":true,"tableHidden":true,"type":"text"}},"effectiveAt":{"type":"string","description":"Data de vigência operacional da mudança de estado para conciliação patrimonial e indicadores de disponibilidade.","format":"date","x-ui":{"controlType":"date","editable":true,"icon":"event","iconPosition":"left","label":"Data Efetiva","name":"effectiveAt","order":"60","readOnly":true,"sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"motivo":{"type":"string","description":"Justificativa ou observação operacional registrada pelo responsável no momento da transição.","x-ui":{"controlType":"textarea","editable":true,"icon":"notes","iconPosition":"left","label":"Motivo / Observação","name":"motivo","order":"50","readOnly":true,"sortable":true,"type":"text"}},"performedAt":{"type":"string","description":"Instante exato em que a transição foi confirmada e gravada na trilha de auditoria.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"schedule","iconPosition":"left","label":"Registrado em","name":"performedAt","order":"70","readOnly":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"reasonCode":{"type":"string","description":"Código semântico da razão operacional associada à mudança de disponibilidade ou integridade do ativo.","x-ui":{"controlType":"input","editable":true,"icon":"rule","iconPosition":"left","label":"Código do Motivo","name":"reasonCode","order":"40","readOnly":true,"sortable":true,"type":"text"}},"resourceKey":{"type":"string","description":"Chave canônica do recurso patrimonial ao qual a transição pertence (ex.: assets.equipamentos ou assets.veiculos).","x-ui":{"controlType":"input","editable":true,"icon":"inventory_2","iconPosition":"left","label":"Recurso","name":"resourceKey","readOnly":true,"sortable":true,"tableHidden":true,"type":"text"}},"statusAnterior":{"type":"string","description":"Estado patrimonial ou de custódia imediatamente anterior à execução da ação.","x-ui":{"controlType":"input","editable":true,"icon":"history","iconPosition":"left","label":"Estado Anterior","name":"statusAnterior","order":"20","readOnly":true,"sortable":true,"type":"text"}},"statusResultante":{"type":"string","description":"Novo estado patrimonial ou de disponibilidade resultante da transição confirmada.","x-ui":{"controlType":"input","editable":true,"icon":"flag","iconPosition":"left","label":"Estado Resultante","name":"statusResultante","order":"30","readOnly":true,"sortable":true,"type":"text"}},"transitionId":{"type":"string","description":"Identificador único da transição confirmada no ledger de auditoria operacional.","format":"uuid","x-ui":{"controlType":"input","editable":true,"icon":"fingerprint","iconPosition":"left","label":"ID da Transição","name":"transitionId","readOnly":true,"sortable":true,"tableHidden":true,"type":"text"}}},"description":"Registro histórico auditável de transição de estado de disponibilidade, custódia, avaria ou manutenção de um ativo operacional."},"AssetAvailabilityWorkflowRequestDTO":{"type":"object","properties":{"motivo":{"maxLength":500,"minLength":0,"type":"string","description":"Justificativa de manutencao, inspecao ou liberacao que explica a mudanca de disponibilidade do ativo.","x-ui":{"controlType":"textarea","editable":true,"icon":"notes","iconPosition":"left","label":"Motivo","maxLength":"500","maxLengthMessage":"Motivo deve ter no máximo 500 caracteres","name":"motivo","order":"10","sortable":true,"type":"text"}}},"description":"Comando de disponibilidade para enviar um ativo a manutencao ou devolve-lo ao uso operacional."},"AssetAvailabilityWorkflowResultDTO":{"type":"object","properties":{"assetType":{"type":"string","description":"Tipo de ativo impactado pela action, como equipment ou vehicle."},"id":{"type":"integer","description":"Identificador do ativo afetado pela decisao.","format":"int32"},"mensagem":{"type":"string","description":"Mensagem amigavel para operador, cockpit e consumidores semanticos."},"motivo":{"type":"string","description":"Justificativa registrada para explicar a mudanca de disponibilidade."},"nome":{"type":"string","description":"Nome operacional do ativo para leitura humana no cockpit e auditoria."},"statusAnterior":{"type":"string","description":"Status de disponibilidade antes da decisao."},"statusAtual":{"type":"string","description":"Status de disponibilidade apos a persistencia da decisao."}},"description":"Resultado da decisao de disponibilidade do ativo, com status anterior, status atual, motivo e mensagem operacional."},"AvailabilityDecision":{"type":"object","properties":{"allowed":{"type":"boolean"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"reason":{"type":"string"}}},"BaseAcessoDTO":{"required":["ativo","baseId","funcionarioId","nivelAcesso"],"type":"object","properties":{"ativo":{"type":"boolean","description":"Se falso, credencial suspensa; bloqueia novos acessos fisicos.","x-ui":{"controlType":"checkbox","editable":true,"group":"Principal","icon":"toggle_on","iconPosition":"left","label":"Ativo","name":"ativo","order":"20","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Ativo é obrigatório","sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"}}},"baseId":{"type":"integer","description":"Base operacional para a qual a credencial foi concedida.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/bases/option-sources/base/options/filter","group":"Relacionamentos","icon":"location_on","iconPosition":"left","label":"Base","name":"baseId","order":"10","required":true,"requiredMessage":"Base é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"baseNome":{"type":"string","description":"Nome da base denormalizado (read model).","x-ui":{"controlType":"input","editable":true,"formHidden":true,"group":"Relacionamentos","icon":"location_on","iconPosition":"left","label":"Base","name":"baseNome","order":"11","quickViewOrder":3,"quickViewVisible":true,"readOnly":true,"resourceReference":{"resourceKey":"operations.bases","surfaceId":"detail","valueField":"baseId"},"sortable":true,"type":"text"}},"funcionarioId":{"type":"integer","description":"Colaborador ou heroi beneficiario da credencial de acesso.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Relacionamentos","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"20","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"funcionarioNome":{"type":"string","description":"Nome do colaborador denormalizado (read model).","x-ui":{"controlType":"input","editable":true,"formHidden":true,"group":"Relacionamentos","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioNome","order":"21","quickViewOrder":4,"quickViewVisible":true,"readOnly":true,"resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"funcionarioId"},"sortable":true,"type":"text"}},"id":{"type":"integer","description":"Identificador interno (PK) deste registo no servico; referencia o recurso em URLs e relacionamentos.","format":"int32"},"nivelAcesso":{"maxLength":255,"minLength":0,"type":"string","description":"String de classificacao de corredor (ex. TSI-3); politica e interpretada no backend.","x-ui":{"controlType":"input","editable":true,"group":"Principal","icon":"trending_up","iconPosition":"left","label":"Nível de Acesso","maxLength":"255","maxLengthMessage":"Nível de Acesso deve ter no máximo 255 caracteres","name":"nivelAcesso","order":"10","quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Nível de Acesso é obrigatório","sortable":true,"type":"text"}}},"description":"Liberacao de pessoa a base (nivel de credencial, ativo, vigencia operacional). Relaciona colaborador, base operacional e nivel de credencial para auditoria e governanca de acesso."},"BaseAcessoFilterDTO":{"type":"object","properties":{"ativo":{"type":"boolean","description":"Situacao da credencial que separa acessos ativos de registros revogados ou expirados.","x-ui":{"controlType":"checkbox","editable":true,"helpText":"Diferencia acessos ativos de credenciais revogadas ou expiradas.","icon":"toggle_on","iconPosition":"left","label":"Acesso ativo","name":"ativo","order":"40","sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"}}},"baseId":{"type":"integer","description":"Base operacional para a qual a credencial de acesso foi emitida.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/bases/option-sources/base/options/filter","helpText":"Mostra credenciais de acesso emitidas para uma base específica.","icon":"location_on","iconPosition":"left","label":"Base","name":"baseId","order":"10","sortable":true,"type":"number","valueField":"id"}},"funcionarioId":{"type":"integer","description":"Colaborador ou heroi que recebeu a credencial de acesso a base.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Lista os acessos concedidos a um colaborador ou herói.","icon":"badge","iconPosition":"left","label":"Colaborador","name":"funcionarioId","order":"20","sortable":true,"type":"number","valueField":"id"}},"nivelAcesso":{"type":"string","description":"Trecho do nivel, classe de clearance ou regra operacional associada a credencial.","x-ui":{"controlType":"input","editable":true,"helpText":"Busca por classe de credencial, clearance ou nível operacional.","icon":"trending_up","iconPosition":"left","label":"Nível de acesso","maxLength":"255","maxLengthMessage":"Nível de acesso deve ter no máximo 255 caracteres","name":"nivelAcesso","order":"30","sortable":true,"type":"text"}}},"description":"Criterios de busca em credenciais de acesso a bases operacionais. Apoia auditoria de autorizacoes por base, colaborador, nivel de acesso e situacao ativa."},"BaseAcessoWorkflowRequestDTO":{"type":"object","properties":{"justificativa":{"maxLength":500,"minLength":0,"type":"string","description":"Motivo da ativacao ou desativacao da credencial de base; recomendado para revisao de seguranca e auditoria de acesso.","x-ui":{"controlType":"textarea","editable":true,"icon":"notes","iconPosition":"left","label":"Justificativa","maxLength":"500","maxLengthMessage":"Justificativa deve ter no máximo 500 caracteres","name":"justificativa","order":"10","sortable":true,"type":"text"}}},"description":"Comando de elegibilidade para ativar ou desativar o acesso de uma pessoa a uma base operacional. A justificativa registra a decisao de credenciamento quando a politica exigir rastro."},"BaseAcessoWorkflowResultDTO":{"type":"object","properties":{"ativoAnterior":{"type":"boolean","description":"Situacao de elegibilidade antes da transicao (ex. credencial suspensa)."},"ativoAtual":{"type":"boolean","description":"Situacao de elegibilidade apos persistencia; controla novos acessos fisicos."},"id":{"type":"integer","description":"Identificador do registro de acesso afetado pela decisao; referencia o recurso em URLs e relacionamentos.","format":"int32"},"justificativa":{"type":"string","description":"Justificativa preservada para explicar a ativacao ou desativacao da credencial."},"mensagem":{"type":"string","description":"Texto amigavel para o operador (sucesso, alerta, proximo passo)."},"nivelAcesso":{"type":"string","description":"String de classificacao de corredor vigente apos a decisao (ex. TSI-2)."}},"description":"Resultado da decisao de acesso a base, indicando a elegibilidade anterior e vigente, o nivel aprovado, a justificativa registrada e a mensagem operacional da decisao."},"BaseDTO":{"required":["nome"],"type":"object","properties":{"id":{"type":"integer","description":"Identificador interno (PK) deste registo no servico; referencia o recurso em URLs e relacionamentos.","format":"int32"},"latitude":{"type":"number","description":"Coordenada de latitude (WGS-84) quando a base e georreferenciada.","format":"decimal","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"label","iconPosition":"left","label":"Latitude","name":"latitude","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"longitude":{"type":"number","description":"Coordenada de longitude (WGS-84) quando a base e georreferenciada.","format":"decimal","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"label","iconPosition":"left","label":"Longitude","name":"longitude","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"nome":{"maxLength":200,"minLength":0,"type":"string","description":"Designacao conhecida da base ou codinome nao classificado.","x-ui":{"controlType":"input","editable":true,"icon":"badge","iconPosition":"left","label":"Nome","maxLength":"200","maxLengthMessage":"Nome deve ter no máximo 200 caracteres","name":"nome","required":true,"requiredMessage":"Nome é obrigatório","resourceReference":{"resourceKey":"operations.bases","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"planeta":{"maxLength":120,"minLength":0,"type":"string","description":"Mundo de operacao ou corpo celeste; ancora a missoes multiteatro.","x-ui":{"controlType":"input","editable":true,"icon":"public","iconPosition":"left","label":"Planeta","maxLength":"120","maxLengthMessage":"Planeta deve ter no máximo 120 caracteres","name":"planeta","sortable":true,"type":"text"}},"sigilo":{"type":"string","description":"Nivel de compartilhamento de localizacao; BaseSigilo.","enum":["PUBLICA","CONFIDENCIAL","SECRETA","ULTRA_SECRETA"],"x-ui":{"controlType":"select","editable":true,"icon":"label","iconPosition":"left","label":"Sigilo","name":"sigilo","options":[{"value":"PUBLICA","label":"PUBLICA"},{"value":"CONFIDENCIAL","label":"CONFIDENCIAL"},{"value":"SECRETA","label":"SECRETA"},{"value":"ULTRA_SECRETA","label":"ULTRA_SECRETA"}],"quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"text"}},"tipo":{"type":"string","description":"Categoria tatica; BaseTipo (torre, bunker, hangar, etc.).","enum":["TERRESTRE","ORBITAL","SUBTERRANEA","SUBAQUATICA","MOVEL","OTHER"],"x-ui":{"controlType":"select","editable":true,"icon":"category","iconPosition":"left","label":"Tipo","name":"tipo","options":[{"value":"TERRESTRE","label":"TERRESTRE"},{"value":"ORBITAL","label":"ORBITAL"},{"value":"SUBTERRANEA","label":"SUBTERRANEA"},{"value":"SUBAQUATICA","label":"SUBAQUATICA"},{"value":"MOVEL","label":"MOVEL"},{"value":"OTHER","label":"OTHER"}],"quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Instalacao operacional (nome, tipo, classificacao de sigilo, georeferencia, planeta). Representa o ponto fisico ou regional usado para logistica, controle de acesso, equipes e missoes."},"BaseFilterDTO":{"type":"object","properties":{"nome":{"type":"string","description":"Trecho do nome operacional usado para identificar a base ou instalacao.","x-ui":{"controlType":"input","editable":true,"helpText":"Busca pelo nome operacional da base ou instalação.","icon":"filter_list","iconPosition":"left","label":"Nome da base","maxLength":"200","maxLengthMessage":"Nome da base deve ter no máximo 200 caracteres","name":"nome","order":"10","sortable":true,"type":"text"}},"planeta":{"type":"string","description":"Trecho do planeta, setor ou regiao onde a base esta localizada.","x-ui":{"controlType":"input","editable":true,"helpText":"Busca pelo planeta, setor ou região onde a base está localizada.","icon":"public","iconPosition":"left","label":"Planeta ou região","maxLength":"120","maxLengthMessage":"Planeta ou região deve ter no máximo 120 caracteres","name":"planeta","order":"40","sortable":true,"type":"text"}},"sigilo":{"type":"string","description":"Classificacao de sigilo que governa visibilidade e acesso a base.","enum":["PUBLICA","CONFIDENCIAL","SECRETA","ULTRA_SECRETA"],"x-ui":{"controlType":"select","editable":true,"helpText":"Filtra bases conforme classificação de acesso.","icon":"security","iconPosition":"left","label":"Nível de sigilo","name":"sigilo","options":[{"value":"PUBLICA","label":"PUBLICA"},{"value":"CONFIDENCIAL","label":"CONFIDENCIAL"},{"value":"SECRETA","label":"SECRETA"},{"value":"ULTRA_SECRETA","label":"ULTRA_SECRETA"}],"order":"30","sortable":true,"type":"text"}},"tipo":{"type":"string","description":"Categoria da instalacao operacional, como quartel, hangar, laboratorio ou base avancada.","enum":["TERRESTRE","ORBITAL","SUBTERRANEA","SUBAQUATICA","MOVEL","OTHER"],"x-ui":{"controlType":"select","editable":true,"helpText":"Seleciona a categoria da instalação operacional.","icon":"category","iconPosition":"left","label":"Tipo de base","name":"tipo","options":[{"value":"TERRESTRE","label":"TERRESTRE"},{"value":"ORBITAL","label":"ORBITAL"},{"value":"SUBTERRANEA","label":"SUBTERRANEA"},{"value":"SUBAQUATICA","label":"SUBAQUATICA"},{"value":"MOVEL","label":"MOVEL"},{"value":"OTHER","label":"OTHER"}],"order":"20","sortable":true,"type":"text"}}},"description":"Criterios de busca em bases e instalacoes operacionais. Apoia descoberta por nome, categoria, nivel de sigilo e localizacao regional ou planetaria."},"BulkCommandEvaluationRequestAbsenceCoverageWorkflowRequestDTOAbsenceBulkIdentifierVoid":{"type":"object","properties":{"executionMode":{"type":"string","enum":["SYNC","ASYNC"]},"parameters":{"$ref":"#/components/schemas/AbsenceCoverageWorkflowRequestDTO"},"selection":{"$ref":"#/components/schemas/BulkSelectionAbsenceBulkIdentifierVoid"}}},"BulkCommandEvaluationRequestApproveEventosFolhaParametersDTOEventoFolhaBulkIdentifierVoid":{"type":"object","properties":{"executionMode":{"type":"string","enum":["SYNC","ASYNC"]},"parameters":{"$ref":"#/components/schemas/ApproveEventosFolhaParametersDTO"},"selection":{"$ref":"#/components/schemas/BulkSelectionEventoFolhaBulkIdentifierVoid"}}},"BulkConfirmationRequest":{"type":"object","properties":{"proposalId":{"type":"string"}}},"BulkEvidenceReference":{"type":"object","properties":{"fingerprint":{"type":"string"},"kind":{"type":"string","enum":["POLICY","FACT"]},"referenceId":{"type":"string"},"revision":{"type":"string"}}},"BulkExecution":{"type":"object","properties":{"atomicity":{"type":"string","enum":["NOT_APPLICABLE","ATOMIC","PER_ITEM"]},"createdAt":{"type":"string","format":"date-time"},"diagnostics":{"type":"array","items":{"$ref":"#/components/schemas/ResourceCommandMessage"}},"executionId":{"type":"string"},"executionMode":{"type":"string","enum":["SYNC","ASYNC"]},"mode":{"type":"string","enum":["DOMAIN_COMMAND","UNIFORM_UPDATE","PER_ITEM_UPDATE"]},"operationRef":{"$ref":"#/components/schemas/CanonicalOperationRef"},"proposalId":{"type":"string"},"status":{"type":"string","enum":["QUEUED","RUNNING","CANCEL_REQUESTED","COMPLETED","COMPLETED_WITH_ERRORS","CANCELLED","STOPPED","RECONCILIATION_REQUIRED"]},"terminalAt":{"type":"string","format":"date-time"},"totals":{"$ref":"#/components/schemas/BulkExecutionTotals"},"updatedAt":{"type":"string","format":"date-time"}}},"BulkExecutionContract":{"type":"object","properties":{"atomicity":{"type":"string","enum":["NOT_APPLICABLE","ATOMIC","PER_ITEM"]},"cancelOperation":{"$ref":"#/components/schemas/Operation"},"confirmationOperation":{"$ref":"#/components/schemas/Operation"},"editableFields":{"$ref":"#/components/schemas/EditableFields"},"evaluationOperation":{"$ref":"#/components/schemas/Operation"},"executionModes":{"type":"array","items":{"type":"string","enum":["SYNC","ASYNC"]}},"executionOperation":{"$ref":"#/components/schemas/Operation"},"limits":{"$ref":"#/components/schemas/Limits"},"mode":{"type":"string","enum":["DOMAIN_COMMAND","UNIFORM_UPDATE","PER_ITEM_UPDATE"]},"parametersPointer":{"type":"string"},"proposalOperation":{"$ref":"#/components/schemas/Operation"},"proposalResultsOperation":{"$ref":"#/components/schemas/Operation"},"resultsOperation":{"$ref":"#/components/schemas/Operation"},"selectionModes":{"type":"array","items":{"type":"string","enum":["EXPLICIT","QUERY"]}}}},"BulkExecutionTotals":{"type":"object","properties":{"confirmed":{"type":"integer","format":"int64"},"conflict":{"type":"integer","format":"int64"},"denied":{"type":"integer","format":"int64"},"invalid":{"type":"integer","format":"int64"},"notProcessed":{"type":"integer","format":"int64"},"pending":{"type":"integer","format":"int64"},"targetCount":{"type":"integer","format":"int64"},"unchanged":{"type":"integer","format":"int64"},"unknown":{"type":"integer","format":"int64"}}},"BulkFieldChange":{"type":"object","properties":{"field":{"type":"string"},"operator":{"type":"string","enum":["SET","CLEAR"]},"value":{"$ref":"#/components/schemas/JsonNode"}}},"BulkItemChangeInteger":{"type":"object","properties":{"changes":{"type":"array","items":{"$ref":"#/components/schemas/BulkFieldChange"}},"expectedVersion":{"type":"string"},"id":{"type":"integer","format":"int32"}}},"BulkItemEvaluationRequestInteger":{"type":"object","properties":{"executionMode":{"type":"string","enum":["SYNC","ASYNC"]},"items":{"type":"array","items":{"$ref":"#/components/schemas/BulkItemChangeInteger"}}}},"BulkItemResultInteger":{"type":"object","properties":{"diagnostics":{"type":"array","items":{"$ref":"#/components/schemas/ResourceCommandMessage"}},"id":{"type":"integer","format":"int32"},"status":{"type":"string","enum":["CONFIRMED","UNCHANGED","DENIED","INVALID","CONFLICT","NOT_PROCESSED","UNKNOWN"]}}},"BulkProposal":{"type":"object","properties":{"atomicity":{"type":"string","enum":["NOT_APPLICABLE","ATOMIC","PER_ITEM"]},"createdAt":{"type":"string","format":"date-time"},"diagnostics":{"type":"array","items":{"$ref":"#/components/schemas/ResourceCommandMessage"}},"evidence":{"type":"array","items":{"$ref":"#/components/schemas/BulkEvidenceReference"}},"executionMode":{"type":"string","enum":["SYNC","ASYNC"]},"expiresAt":{"type":"string","format":"date-time"},"mode":{"type":"string","enum":["DOMAIN_COMMAND","UNIFORM_UPDATE","PER_ITEM_UPDATE"]},"operationRef":{"$ref":"#/components/schemas/CanonicalOperationRef"},"proposalId":{"type":"string"},"redactedIntent":{"$ref":"#/components/schemas/JsonNode"},"status":{"type":"string","enum":["READY","BLOCKED"]},"totals":{"$ref":"#/components/schemas/BulkProposalTotals"}}},"BulkProposalItemResultInteger":{"type":"object","properties":{"decision":{"type":"string","enum":["EXECUTABLE","BLOCKED"]},"diagnostics":{"type":"array","items":{"$ref":"#/components/schemas/ResourceCommandMessage"}},"id":{"type":"integer","format":"int32"}}},"BulkProposalTotals":{"type":"object","properties":{"blocked":{"type":"integer","format":"int64"},"evaluated":{"type":"integer","format":"int64"},"executable":{"type":"integer","format":"int64"},"targetCount":{"type":"integer","format":"int64"}}},"BulkSelectionAbsenceBulkIdentifierVoid":{"type":"object","properties":{"excludedIds":{"type":"array","items":{"maximum":2147483647,"minimum":-2147483648,"type":"integer","format":"int32"}},"filter":{"type":"object"},"mode":{"type":"string","enum":["EXPLICIT","QUERY"]},"targets":{"type":"array","items":{"$ref":"#/components/schemas/BulkTargetAbsenceBulkIdentifier"}}}},"BulkSelectionEventoFolhaBulkIdentifierVoid":{"type":"object","properties":{"excludedIds":{"type":"array","items":{"maximum":2147483647,"minimum":-2147483648,"type":"integer","format":"int32"}},"filter":{"type":"object"},"mode":{"type":"string","enum":["EXPLICIT","QUERY"]},"targets":{"type":"array","items":{"$ref":"#/components/schemas/BulkTargetEventoFolhaBulkIdentifier"}}}},"BulkSelectionIntegerMissaoParticipanteFilterDTO":{"type":"object","properties":{"excludedIds":{"type":"array","items":{"type":"integer","format":"int32"}},"filter":{"$ref":"#/components/schemas/MissaoParticipanteFilterDTO"},"mode":{"type":"string","enum":["EXPLICIT","QUERY"]},"targets":{"type":"array","items":{"$ref":"#/components/schemas/BulkTargetInteger"}}}},"BulkSelectionIntegerVoid":{"type":"object","properties":{"excludedIds":{"type":"array","items":{"type":"integer","format":"int32"}},"filter":{"type":"object"},"mode":{"type":"string","enum":["EXPLICIT","QUERY"]},"targets":{"type":"array","items":{"$ref":"#/components/schemas/BulkTargetInteger"}}}},"BulkTargetAbsenceBulkIdentifier":{"type":"object","properties":{"expectedVersion":{"type":"string"},"id":{"maximum":2147483647,"minimum":-2147483648,"type":"integer","format":"int32"}}},"BulkTargetEventoFolhaBulkIdentifier":{"type":"object","properties":{"expectedVersion":{"type":"string"},"id":{"maximum":2147483647,"minimum":-2147483648,"type":"integer","format":"int32"}}},"BulkTargetInteger":{"type":"object","properties":{"expectedVersion":{"type":"string"},"id":{"type":"integer","format":"int32"}}},"BulkUniformEvaluationRequestIntegerMissaoParticipanteFilterDTO":{"type":"object","properties":{"changes":{"type":"array","items":{"$ref":"#/components/schemas/BulkFieldChange"}},"executionMode":{"type":"string","enum":["SYNC","ASYNC"]},"selection":{"$ref":"#/components/schemas/BulkSelectionIntegerMissaoParticipanteFilterDTO"}}},"BulkUniformEvaluationRequestIntegerVoid":{"type":"object","properties":{"changes":{"type":"array","items":{"$ref":"#/components/schemas/BulkFieldChange"}},"executionMode":{"type":"string","enum":["SYNC","ASYNC"]},"selection":{"$ref":"#/components/schemas/BulkSelectionIntegerVoid"}}},"Candidate":{"type":"object","properties":{"contextKey":{"type":"string"},"definitionId":{"type":"string","format":"uuid"},"resourceKey":{"type":"string"},"ruleKey":{"type":"string"},"ruleType":{"type":"string"},"semanticOwner":{"type":"string"},"serviceKey":{"type":"string"},"status":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"version":{"type":"integer","format":"int32"}}},"CanonicalOperationRef":{"type":"object","properties":{"group":{"type":"string"},"method":{"type":"string"},"operationId":{"type":"string"},"path":{"type":"string"}}},"CanonicalSchemaRef":{"type":"object","properties":{"schemaId":{"type":"string"},"schemaType":{"type":"string"},"url":{"type":"string"}}},"CapabilityOperation":{"type":"object","properties":{"async":{"type":"boolean"},"availability":{"$ref":"#/components/schemas/AvailabilityDecision"},"bulk":{"$ref":"#/components/schemas/BulkExecutionContract"},"formats":{"type":"array","items":{"type":"string","enum":["csv","json","excel","pdf","print"]}},"id":{"type":"string"},"maxRows":{"type":"object","additionalProperties":{"type":"integer","format":"int32"}},"preferredMethod":{"type":"string"},"preferredRel":{"type":"string"},"scope":{"type":"string"},"scopes":{"type":"array","items":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]}},"supported":{"type":"boolean"}}},"CapabilitySnapshot":{"type":"object","properties":{"actions":{"type":"array","items":{"$ref":"#/components/schemas/ActionCatalogItem"}},"canonicalOperations":{"type":"object","additionalProperties":{"type":"boolean"}},"group":{"type":"string"},"operations":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CapabilityOperation"}},"resourceId":{"type":"object"},"resourceKey":{"type":"string"},"resourcePath":{"type":"string"},"stats":{"$ref":"#/components/schemas/StatsCapability"},"surfaces":{"type":"array","items":{"$ref":"#/components/schemas/SurfaceCatalogItem"}}}},"CargoDTO":{"required":["nivel","nome"],"type":"object","properties":{"descricao":{"maxLength":1000,"minLength":0,"type":"string","description":"Resumo das responsabilidades, competencias-chave e contexto de missao; informacao para alinhamento operacional, nao requisito legal em si neste quickstart.","x-ui":{"controlType":"textarea","editable":true,"group":"Principal","helpText":"Resumo das responsabilidades do cargo.","icon":"description","iconPosition":"left","label":"Descrição","maxLength":"1000","maxLengthMessage":"Descrição deve ter no máximo 1000 caracteres","name":"descricao","order":"30","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text"}},"id":{"type":"integer","description":"Chave do cargo no servico. Referenciado por colaboradores, lotacoes e ofertas internas; incluido em URLs e projecoes de catalogo.","format":"int32","example":1,"x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"group":"Principal","icon":"tag","iconPosition":"left","label":"Código","name":"id","order":"1","readOnly":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"nivel":{"maxLength":100,"minLength":0,"type":"string","description":"Nivel ou faixa de senioridade associada ao cargo (ex. Junior, Pleno, Especialista); governa regras de alocacao e progressao interna.","example":"Pleno","x-ui":{"controlType":"input","editable":true,"group":"Principal","helpText":"Grau de senioridade (ex: Júnior, Pleno).","icon":"trending_up","iconPosition":"left","label":"Nível","maxLength":"100","maxLengthMessage":"Nível deve ter no máximo 100 caracteres","name":"nivel","order":"20","required":true,"requiredMessage":"Nível é obrigatório","sortable":true,"type":"text"}},"nome":{"maxLength":200,"minLength":0,"type":"string","description":"Designacao comercial do cargo (ex. Analista de Operacoes) exibida em formularios e listagens de RH.","example":"Lider de Contingente","x-ui":{"controlType":"input","editable":true,"group":"Principal","helpText":"Nome de exibição do cargo no catálogo.","icon":"work","iconPosition":"left","label":"Nome","maxLength":"200","maxLengthMessage":"Nome deve ter no máximo 200 caracteres","name":"nome","order":"10","required":true,"requiredMessage":"Nome é obrigatório","resourceReference":{"resourceKey":"human-resources.cargos","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"salarioMaximo":{"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Tecto de referencia da faixa salarial, emparelhado a salario minimo. Define o intervalo ofertavel para aprovacao e enquadramento remuneratorio.","format":"decimal","x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"group":"Remuneração","helpText":"Teto salarial de referência.","icon":"account_balance_wallet","iconPosition":"left","label":"Salário Máximo","locale":"pt-BR","min":"0.00","name":"salarioMaximo","numericFormat":"currency","numericMin":"0.00","order":"20","quickViewOrder":2,"quickViewVisible":true,"rangeMessage":"Salário Máximo deve ser maior ou igual a 0.00","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"salarioMinimo":{"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Piso de referencia da faixa salarial (moeda e escala do backend). Uso: benchmark interno; nao e historico de pagamento de folha.","format":"decimal","x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"group":"Remuneração","helpText":"Piso salarial de referência.","icon":"payments","iconPosition":"left","label":"Salário Mínimo","locale":"pt-BR","min":"0.00","name":"salarioMinimo","numericFormat":"currency","numericMin":"0.00","order":"10","quickViewOrder":1,"quickViewVisible":true,"rangeMessage":"Salário Mínimo deve ser maior ou igual a 0.00","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}}},"description":"Definicao de funcao no catalogo de RH: titulo, senioridade, texto livre e faixa salarial de referencia usada em lotacao, progressao interna, planejamento de pessoal e governanca remuneratoria."},"CargoFilterDTO":{"type":"object","properties":{"descricao":{"type":"string","description":"Pesquisa em descricao de responsabilidade do cargo; nao e descricao de vaga, e texto do master data.","x-ui":{"controlType":"input","editable":true,"helpText":"Filtrar por palavras-chave na descrição.","icon":"description","iconPosition":"left","label":"Descrição","maxLength":"1000","maxLengthMessage":"Descrição deve ter no máximo 1000 caracteres","name":"descricao","order":"30","sortable":true,"type":"text"}},"nivel":{"type":"string","description":"Trecho da senioridade, faixa de carreira ou nivel interno associado ao cargo.","x-ui":{"controlType":"input","editable":true,"helpText":"Filtrar por nível ou senioridade.","icon":"trending_up","iconPosition":"left","label":"Nível/Senioridade","maxLength":"100","maxLengthMessage":"Nível/Senioridade deve ter no máximo 100 caracteres","name":"nivel","order":"20","sortable":true,"type":"text"}},"nome":{"type":"string","description":"Trecho da denominacao do cargo usada para localizar funcoes no catalogo de pessoal.","x-ui":{"controlType":"input","editable":true,"helpText":"Filtrar por nome do cargo (ex: Engenheiro).","icon":"badge","iconPosition":"left","label":"Nome do Cargo","maxLength":"200","maxLengthMessage":"Nome do Cargo deve ter no máximo 200 caracteres","name":"nome","order":"10","sortable":true,"type":"text"}},"salarioMaximoBetween":{"description":"Intervalo de teto salarial previsto para o cargo, usado em governanca de enquadramento e requisicoes.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"number","format":"decimal","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null}}],"items":{"type":"number","format":"decimal","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"currency":{"type":"string"},"maxPrice":{"type":"number","format":"decimal","nullable":true,"example":null},"minPrice":{"type":"number","format":"decimal","nullable":true,"example":null}},"anyOf":[{"required":["minPrice"],"type":"object","properties":{"minPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}},{"required":["maxPrice"],"type":"object","properties":{"maxPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"priceRange","editable":true,"helpText":"Buscar cargos pelo teto salarial (mínimo e máximo).","icon":"payments","iconPosition":"left","label":"Teto Salarial","name":"salarioMaximoBetween","numericFormat":"currency","numericStep":"0.01","order":"50","sortable":true,"type":"number"}},"salarioMinimoBetween":{"description":"Intervalo de piso salarial previsto para o cargo, usado em comparacao de faixas e planejamento remuneratorio.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"number","format":"decimal","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null}}],"items":{"type":"number","format":"decimal","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"currency":{"type":"string"},"maxPrice":{"type":"number","format":"decimal","nullable":true,"example":null},"minPrice":{"type":"number","format":"decimal","nullable":true,"example":null}},"anyOf":[{"required":["minPrice"],"type":"object","properties":{"minPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}},{"required":["maxPrice"],"type":"object","properties":{"maxPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"priceRange","editable":true,"helpText":"Buscar cargos pelo piso salarial (mínimo e máximo).","icon":"payments","iconPosition":"left","label":"Piso Salarial","name":"salarioMinimoBetween","numericFormat":"currency","numericStep":"0.01","order":"40","sortable":true,"type":"number"}}},"description":"Criterios de busca para o catalogo de cargos (nao e o Cargo persistido a editar). Apoia consulta de funcoes por denominacao, senioridade, responsabilidade e faixa salarial publicada."},"CatalogResponse":{"type":"object","properties":{"endpoints":{"type":"array","items":{"$ref":"#/components/schemas/EndpointSummary"}},"group":{"type":"string"},"groupVisual":{"$ref":"#/components/schemas/ResourceVisual"}}},"CollectionExportCsvOptions":{"type":"object","properties":{"delimiter":{"type":"string"},"encoding":{"type":"string"},"excelCompatibility":{"type":"boolean"},"includeBom":{"type":"boolean"},"includeSepDirective":{"type":"boolean"},"lineEnding":{"type":"string"}}},"CollectionExportExcelOptions":{"type":"object","properties":{"autoFitColumns":{"type":"boolean"},"freezeHeaders":{"type":"boolean"},"includeFormulas":{"type":"boolean"},"sheetName":{"type":"string"},"typedCells":{"type":"boolean"}}},"CollectionExportField":{"type":"object","properties":{"exportable":{"type":"boolean"},"format":{"type":"string"},"key":{"type":"string"},"label":{"type":"string"},"presentation":{"$ref":"#/components/schemas/CollectionExportFieldPresentation"},"type":{"type":"string"},"valuePath":{"type":"string"},"visible":{"type":"boolean"}}},"CollectionExportFieldPresentation":{"type":"object","properties":{"currency":{"type":"string"},"falseLabel":{"type":"string"},"format":{"type":"string"},"locale":{"type":"string"},"nullDisplay":{"type":"string"},"semanticType":{"type":"string"},"timeZone":{"type":"string"},"trueLabel":{"type":"string"}}},"CollectionExportFormatOptions":{"type":"object","properties":{"csv":{"$ref":"#/components/schemas/CollectionExportCsvOptions"},"excel":{"$ref":"#/components/schemas/CollectionExportExcelOptions"}}},"CollectionExportLocalization":{"type":"object","properties":{"locale":{"type":"string"},"timeZone":{"type":"string"}}},"CollectionExportPage":{"type":"object","properties":{"pageIndex":{"type":"integer","format":"int32"},"pageNumber":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"totalItems":{"type":"integer","format":"int64"}}},"CollectionExportRequestAcordosRegulatorioFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/AcordosRegulatorioFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestAmeacaFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/AmeacaFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestBaseAcessoFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/BaseAcessoFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestBaseFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/BaseFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestCargoFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/CargoFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestDepartamentoFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/DepartamentoFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestDependenteFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/DependenteFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestEnderecoFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/EnderecoFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestEquipamentoAlocacaoFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/EquipamentoAlocacaoFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestEquipamentoFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/EquipamentoFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestEquipeFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/EquipeFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestEquipeMembroFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/EquipeMembroFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestEventosFolhaFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/EventosFolhaFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestExtraordinaryBenefitRequestFilter":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/ExtraordinaryBenefitRequestFilter"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestFeriasAfastamentoFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/FeriasAfastamentoFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestFolhasPagamentoFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/FolhasPagamentoFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestFuncionarioFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/FuncionarioFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestFuncionarioHabilidadeFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/FuncionarioHabilidadeFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestHabilidadeFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/HabilidadeFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestHistoricoSalarialFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/HistoricoSalarialFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestHistoricosCargoFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/HistoricosCargoFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestIdentidadeSecretaFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/IdentidadeSecretaFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestIncidenteFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/IncidenteFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestIndenizacaoFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/IndenizacaoFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestLegacyPayCodeFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/LegacyPayCodeFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestLicencasOperacaoFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/LicencasOperacaoFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestMencoesMidiaFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/MencoesMidiaFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestMissaoEventoFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/MissaoEventoFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestMissaoFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/MissaoFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestMissaoParticipanteFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/MissaoParticipanteFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestProcurementCompanyFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/ProcurementCompanyFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestProcurementContractFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/ProcurementContractFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestProcurementProductFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/ProcurementProductFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestProcurementPurchaseOrderFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/ProcurementPurchaseOrderFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestProcurementSupplierFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/ProcurementSupplierFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestReputacaoFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/ReputacaoFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestSinaisSocorroFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/SinaisSocorroFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestVeiculoFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/VeiculoFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestVeiculoMissaoUsoFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/VeiculoMissaoUsoFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestVwAnalyticsAfastamentoFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/VwAnalyticsAfastamentoFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestVwAnalyticsFolhaPagamentoFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/VwAnalyticsFolhaPagamentoFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestVwIndicadoresIncidenteFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/VwIndicadoresIncidenteFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestVwPerfilHeroiFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/VwPerfilHeroiFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestVwRankingReputacaoFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/VwRankingReputacaoFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestVwResumoMissoeFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/VwResumoMissoeFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportRequestVwSupplierProcurementFunnelFilterDTO":{"type":"object","properties":{"applyFormatting":{"type":"boolean"},"componentId":{"type":"string"},"componentType":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/CollectionExportField"}},"fileName":{"type":"string"},"filters":{"$ref":"#/components/schemas/VwSupplierProcurementFunnelFilterDTO"},"format":{"type":"string","enum":["csv","json","excel","pdf","print"]},"formatOptions":{"$ref":"#/components/schemas/CollectionExportFormatOptions"},"includeHeaders":{"type":"boolean"},"localization":{"$ref":"#/components/schemas/CollectionExportLocalization"},"maxRows":{"type":"integer","format":"int32"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"pagination":{"$ref":"#/components/schemas/CollectionExportPage"},"query":{"type":"object","additionalProperties":{"type":"object"}},"resourcePath":{"type":"string"},"scope":{"type":"string","enum":["auto","selected","filtered","currentPage","all"]},"selection":{"$ref":"#/components/schemas/CollectionExportSelection"},"sort":{"type":"object"}}},"CollectionExportSelection":{"type":"object","properties":{"allMatchingSelected":{"type":"boolean"},"excludedKeys":{"type":"array","items":{"type":"object"}},"keyField":{"type":"string"},"mode":{"type":"string"},"selectedKeys":{"type":"array","items":{"type":"object"}}}},"ColorTokenEntry":{"type":"object","properties":{"aliases":{"type":"array","items":{"type":"string"}},"cssReference":{"type":"string"},"displayName":{"type":"string"},"fallback":{"type":"string"},"fallbackTokenId":{"type":"string"},"purposes":{"type":"array","items":{"type":"string"}},"semanticRole":{"type":"string"},"tokenId":{"type":"string"}}},"ComparisonBucket":{"type":"object","properties":{"key":{"type":"object"},"label":{"type":"string"},"values":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/ComparisonMetricValue"}}}},"ComparisonMetricValue":{"type":"object","properties":{"baselineMissing":{"type":"boolean"},"current":{"type":"number","format":"decimal"},"delta":{"type":"number","format":"decimal"},"deltaPercent":{"type":"number","format":"double"},"previous":{"type":"number","format":"decimal"}}},"ComparisonPeriodRequest":{"type":"object","properties":{"from":{"type":"string","format":"date"},"mode":{"type":"string","enum":["PREVIOUS_ALIGNED","PREVIOUS_CALENDAR_PERIOD"]},"preset":{"type":"string","enum":["TODAY","YESTERDAY","LAST_7_DAYS","LAST_30_DAYS","THIS_MONTH","LAST_MONTH","THIS_QUARTER","THIS_YEAR"]},"timezone":{"type":"string"},"to":{"type":"string","format":"date"}}},"ComparisonPeriodWindow":{"type":"object","properties":{"from":{"type":"string","format":"date"},"timezone":{"type":"string"},"to":{"type":"string","format":"date"}}},"ComparisonStatsRequestAcordosRegulatorioFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/AcordosRegulatorioFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestAmeacaFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/AmeacaFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestBaseAcessoFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/BaseAcessoFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestBaseFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/BaseFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestCargoFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/CargoFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestDepartamentoFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/DepartamentoFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestDependenteFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/DependenteFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestEnderecoFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/EnderecoFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestEquipamentoAlocacaoFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/EquipamentoAlocacaoFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestEquipamentoFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/EquipamentoFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestEquipeFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/EquipeFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestEquipeMembroFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/EquipeMembroFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestEventosFolhaFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/EventosFolhaFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestExtraordinaryBenefitRequestFilter":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/ExtraordinaryBenefitRequestFilter"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestFeriasAfastamentoFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/FeriasAfastamentoFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestFolhasPagamentoFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/FolhasPagamentoFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestFuncionarioFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/FuncionarioFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestFuncionarioHabilidadeFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/FuncionarioHabilidadeFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestHabilidadeFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/HabilidadeFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestHistoricoSalarialFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/HistoricoSalarialFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestHistoricosCargoFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/HistoricosCargoFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestIdentidadeSecretaFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/IdentidadeSecretaFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestIncidenteFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/IncidenteFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestIndenizacaoFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/IndenizacaoFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestLegacyPayCodeFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/LegacyPayCodeFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestLicencasOperacaoFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/LicencasOperacaoFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestMencoesMidiaFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/MencoesMidiaFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestMissaoEventoFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/MissaoEventoFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestMissaoFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/MissaoFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestMissaoParticipanteFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/MissaoParticipanteFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestProcurementCompanyFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/ProcurementCompanyFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestProcurementContractFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/ProcurementContractFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestProcurementProductFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/ProcurementProductFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestProcurementPurchaseOrderFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/ProcurementPurchaseOrderFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestProcurementSupplierFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/ProcurementSupplierFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestReputacaoFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/ReputacaoFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestSinaisSocorroFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/SinaisSocorroFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestVeiculoFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/VeiculoFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestVeiculoMissaoUsoFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/VeiculoMissaoUsoFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestVwAnalyticsAfastamentoFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/VwAnalyticsAfastamentoFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestVwAnalyticsFolhaPagamentoFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/VwAnalyticsFolhaPagamentoFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestVwIndicadoresIncidenteFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/VwIndicadoresIncidenteFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestVwPerfilHeroiFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/VwPerfilHeroiFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestVwRankingReputacaoFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/VwRankingReputacaoFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestVwResumoMissoeFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/VwResumoMissoeFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsRequestVwSupplierProcurementFunnelFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/VwSupplierProcurementFunnelFilterDTO"},"limit":{"type":"integer","format":"int32"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"period":{"$ref":"#/components/schemas/ComparisonPeriodRequest"},"periodField":{"type":"string"}}},"ComparisonStatsResponse":{"type":"object","properties":{"buckets":{"type":"array","items":{"$ref":"#/components/schemas/ComparisonBucket"}},"currentPeriod":{"$ref":"#/components/schemas/ComparisonPeriodWindow"},"field":{"type":"string"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"periodField":{"type":"string"},"previousPeriod":{"$ref":"#/components/schemas/ComparisonPeriodWindow"}}},"ComponentPublicationStatus":{"type":"object","properties":{"chunkCount":{"type":"integer","format":"int32"},"chunkKinds":{"type":"array","items":{"type":"string"}},"componentId":{"type":"string"},"documentIds":{"type":"array","items":{"type":"string"}}}},"ComponentSearchResult":{"type":"object","properties":{"description":{"type":"string"},"id":{"type":"string"},"jsonSchema":{"type":"string"},"similarityScore":{"type":"number","format":"double"}}},"ContrastEvidence":{"type":"object","properties":{"backgroundTokenId":{"type":"string"},"foregroundTokenId":{"type":"string"},"passes":{"type":"boolean"},"ratio":{"type":"number","format":"double"},"requiredLevel":{"type":"string"}}},"CreateAcordosRegulatorioDTO":{"required":["jurisdicao","nome","status"],"type":"object","properties":{"descricao":{"maxLength":4000,"minLength":0,"type":"string","description":"Texto livre de escopo, obrigacoes, evidencias e calendario de provas; base para revisor humano e IA (com sumarizacao quando sensiveis).","x-ui":{"controlType":"textarea","editable":true,"icon":"description","iconPosition":"left","label":"Descrição","maxLength":"4000","maxLengthMessage":"Descrição deve ter no máximo 4000 caracteres","name":"descricao","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text"}},"jurisdicao":{"maxLength":200,"minLength":0,"type":"string","description":"Pais, estado ou ente regulador competente; impacta criterio de exigencia e de reporting.","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"allow"},"annotationType":"compliance","classification":"internal","complianceTags":["INTERNAL_POLICY","REGULATORY"],"confidence":1.0,"dataCategory":"legal","reason":"Jurisdicao regulatoria aplicavel ao acordo.","source":"java.annotation"},"x-ui":{"controlType":"input","editable":true,"icon":"label","iconPosition":"left","label":"Jurisdição","maxLength":"200","maxLengthMessage":"Jurisdição deve ter no máximo 200 caracteres","name":"jurisdicao","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Jurisdição é obrigatório","sortable":true,"type":"text"}},"nome":{"maxLength":200,"minLength":0,"type":"string","description":"Designacao publica do acordo ou programa de atendimento a norma.","example":"Convenio ANPD — dados pessoais","x-ui":{"controlType":"input","editable":true,"icon":"badge","iconPosition":"left","label":"Nome","maxLength":"200","maxLengthMessage":"Nome deve ter no máximo 200 caracteres","name":"nome","required":true,"requiredMessage":"Nome é obrigatório","resourceReference":{"resourceKey":"operations.acordos-regulatorios","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"resourceVersion":{"type":"string","description":"ETag opaco da versao persistida usado por commands governados.","readOnly":true,"example":"\"eyJ...\"","x-ui":{"controlType":"input","editable":true,"formHidden":true,"iconPosition":"left","label":"Token de versao","name":"resourceVersion","readOnly":true,"sortable":true,"tableHidden":true,"type":"text"}},"status":{"type":"string","description":"Ciclo de vida do acordo: rascunho, em vigor, vencido ou arquivado (semantica do enum do dominio).","enum":["VIGENTE","SUSPENSO","REVOGADO"],"x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"allow"},"annotationType":"compliance","classification":"internal","complianceTags":["INTERNAL_POLICY","REGULATORY"],"confidence":1.0,"dataCategory":"legal","reason":"Status regulatorio do acordo.","source":"java.annotation"},"x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","options":[{"value":"VIGENTE","label":"VIGENTE"},{"value":"SUSPENSO","label":"SUSPENSO"},{"value":"REVOGADO","label":"REVOGADO"}],"quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Status é obrigatório","sortable":true,"type":"text"}}},"description":"Comando para cadastrar um acordo regulatorio que condiciona operacoes por nome, jurisdicao, descricao, vigencia e status. O registro serve como referencia de compliance para licencas, missoes, auditorias e workflows de revisao."},"CreateAmeacaDTO":{"required":["nome","status"],"type":"object","properties":{"classe":{"type":"string","description":"Taxonomia (villain, organizacao, fenomeno, etc.); AmeacaClasse.","enum":["VILAO","ORGANIZACAO","ENTIDADE","CATASTROFE","INVASAO"],"x-ui":{"controlType":"select","editable":true,"icon":"category","iconPosition":"left","label":"Classe","name":"classe","options":[{"value":"VILAO","label":"VILAO"},{"value":"ORGANIZACAO","label":"ORGANIZACAO"},{"value":"ENTIDADE","label":"ENTIDADE"},{"value":"CATASTROFE","label":"CATASTROFE"},{"value":"INVASAO","label":"INVASAO"}],"order":"20","presentation":{"appearance":"soft","icon":"category","presenter":"chip","tone":"info"},"quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}},"nivel":{"minimum":0,"type":"integer","description":"Nivel de ameaca operacional (escala interna nao negativa; 0 = baseline).","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"trending_up","iconPosition":"left","label":"Nível","min":"0","name":"nivel","numericMin":"0","order":"40","quickViewOrder":2,"quickViewVisible":true,"rangeMessage":"Nível deve ser maior ou igual a 0","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"nome":{"maxLength":200,"minLength":0,"type":"string","description":"Codinome ou designacao publica da ameaca.","x-ui":{"controlType":"input","editable":true,"icon":"warning","iconPosition":"left","label":"Nome","maxLength":"200","maxLengthMessage":"Nome deve ter no máximo 200 caracteres","name":"nome","order":"10","required":true,"requiredMessage":"Nome é obrigatório","resourceReference":{"resourceKey":"risk-intelligence.ameacas","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"planeta":{"maxLength":120,"minLength":0,"type":"string","description":"Planeta ou regiao principal de atuacao.","x-ui":{"controlType":"input","editable":true,"icon":"public","iconPosition":"left","label":"Planeta","maxLength":"120","maxLengthMessage":"Planeta deve ter no máximo 120 caracteres","name":"planeta","order":"30","sortable":true,"type":"text"}},"recompensa":{"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Valor oferecido por captura ou intel (moeda de referencia do tenant).","format":"decimal","x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"icon":"payments","iconPosition":"left","label":"Recompensa","locale":"pt-BR","min":"0.00","name":"recompensa","numericFormat":"currency","numericMin":"0.00","order":"60","quickViewOrder":4,"quickViewVisible":true,"rangeMessage":"Recompensa deve ser maior ou igual a 0.00","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"status":{"type":"string","description":"Ciclo de vida no catalogo (ativo, neutralizado, etc.); AmeacaStatus.","enum":["LIVRE","EM_OBSERVACAO","CONFRONTO","CAPTURADO","ELIMINADO"],"x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","options":[{"value":"LIVRE","label":"LIVRE"},{"value":"EM_OBSERVACAO","label":"EM_OBSERVACAO"},{"value":"CONFRONTO","label":"CONFRONTO"},{"value":"CAPTURADO","label":"CAPTURADO"},{"value":"ELIMINADO","label":"ELIMINADO"}],"order":"50","presentation":{"appearance":"soft","icon":"shield","presenter":"badge","tone":"warning"},"quickViewOrder":3,"quickViewVisible":true,"required":true,"requiredMessage":"Status é obrigatório","sortable":true,"type":"text"}}},"description":"Comando para cadastrar uma nova ameaca no catalogo de inteligencia de risco, incluindo classificacao, teatro de atuacao, severidade inicial, status e recompensa."},"CreateBaseAcessoDTO":{"required":["ativo","baseId","funcionarioId","nivelAcesso"],"type":"object","properties":{"ativo":{"type":"boolean","description":"Se falso, credencial suspensa; bloqueia novos acessos fisicos.","x-ui":{"controlType":"checkbox","editable":true,"group":"Principal","icon":"toggle_on","iconPosition":"left","label":"Ativo","name":"ativo","order":"20","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Ativo é obrigatório","sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"}}},"baseId":{"type":"integer","description":"Base operacional para a qual a credencial foi concedida.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/bases/option-sources/base/options/filter","group":"Relacionamentos","icon":"location_on","iconPosition":"left","label":"Base","name":"baseId","order":"10","required":true,"requiredMessage":"Base é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"funcionarioId":{"type":"integer","description":"Colaborador ou heroi beneficiario da credencial de acesso.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Relacionamentos","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"20","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"nivelAcesso":{"maxLength":255,"minLength":0,"type":"string","description":"String de classificacao de corredor (ex. TSI-3); politica e interpretada no backend.","x-ui":{"controlType":"input","editable":true,"group":"Principal","icon":"trending_up","iconPosition":"left","label":"Nível de Acesso","maxLength":"255","maxLengthMessage":"Nível de Acesso deve ter no máximo 255 caracteres","name":"nivelAcesso","order":"10","quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Nível de Acesso é obrigatório","sortable":true,"type":"text"}}},"description":"Comando para conceder credencial de acesso a uma base, vinculando colaborador, instalacao, nivel de autorizacao, vigencia e estado ativo para auditoria operacional."},"CreateBaseDTO":{"required":["nome"],"type":"object","properties":{"latitude":{"type":"number","description":"Coordenada de latitude (WGS-84) quando a base e georreferenciada.","format":"decimal","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"label","iconPosition":"left","label":"Latitude","name":"latitude","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"longitude":{"type":"number","description":"Coordenada de longitude (WGS-84) quando a base e georreferenciada.","format":"decimal","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"label","iconPosition":"left","label":"Longitude","name":"longitude","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"nome":{"maxLength":200,"minLength":0,"type":"string","description":"Designacao conhecida da base ou codinome nao classificado.","x-ui":{"controlType":"input","editable":true,"icon":"badge","iconPosition":"left","label":"Nome","maxLength":"200","maxLengthMessage":"Nome deve ter no máximo 200 caracteres","name":"nome","required":true,"requiredMessage":"Nome é obrigatório","resourceReference":{"resourceKey":"operations.bases","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"planeta":{"maxLength":120,"minLength":0,"type":"string","description":"Mundo de operacao ou corpo celeste; ancora a missoes multiteatro.","x-ui":{"controlType":"input","editable":true,"icon":"public","iconPosition":"left","label":"Planeta","maxLength":"120","maxLengthMessage":"Planeta deve ter no máximo 120 caracteres","name":"planeta","sortable":true,"type":"text"}},"sigilo":{"type":"string","description":"Nivel de compartilhamento de localizacao; BaseSigilo.","enum":["PUBLICA","CONFIDENCIAL","SECRETA","ULTRA_SECRETA"],"x-ui":{"controlType":"select","editable":true,"icon":"label","iconPosition":"left","label":"Sigilo","name":"sigilo","options":[{"value":"PUBLICA","label":"PUBLICA"},{"value":"CONFIDENCIAL","label":"CONFIDENCIAL"},{"value":"SECRETA","label":"SECRETA"},{"value":"ULTRA_SECRETA","label":"ULTRA_SECRETA"}],"quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"text"}},"tipo":{"type":"string","description":"Categoria tatica; BaseTipo (torre, bunker, hangar, etc.).","enum":["TERRESTRE","ORBITAL","SUBTERRANEA","SUBAQUATICA","MOVEL","OTHER"],"x-ui":{"controlType":"select","editable":true,"icon":"category","iconPosition":"left","label":"Tipo","name":"tipo","options":[{"value":"TERRESTRE","label":"TERRESTRE"},{"value":"ORBITAL","label":"ORBITAL"},{"value":"SUBTERRANEA","label":"SUBTERRANEA"},{"value":"SUBAQUATICA","label":"SUBAQUATICA"},{"value":"MOVEL","label":"MOVEL"},{"value":"OTHER","label":"OTHER"}],"quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Comando para cadastrar uma instalacao operacional, definindo nome, tipo, sigilo, georeferencia e planeta usados por logistica, acesso e planejamento de missoes."},"CreateCargoDTO":{"required":["nivel","nome"],"type":"object","properties":{"descricao":{"maxLength":1000,"minLength":0,"type":"string","description":"Resumo das responsabilidades, competencias-chave e contexto de missao; informacao para alinhamento operacional, nao requisito legal em si neste quickstart.","x-ui":{"controlType":"textarea","editable":true,"group":"Principal","helpText":"Resumo das responsabilidades do cargo.","icon":"description","iconPosition":"left","label":"Descrição","maxLength":"1000","maxLengthMessage":"Descrição deve ter no máximo 1000 caracteres","name":"descricao","order":"30","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text"}},"nivel":{"maxLength":100,"minLength":0,"type":"string","description":"Nivel ou faixa de senioridade associada ao cargo (ex. Junior, Pleno, Especialista); governa regras de alocacao e progressao interna.","example":"Pleno","x-ui":{"controlType":"input","editable":true,"group":"Principal","helpText":"Grau de senioridade (ex: Júnior, Pleno).","icon":"trending_up","iconPosition":"left","label":"Nível","maxLength":"100","maxLengthMessage":"Nível deve ter no máximo 100 caracteres","name":"nivel","order":"20","required":true,"requiredMessage":"Nível é obrigatório","sortable":true,"type":"text"}},"nome":{"maxLength":200,"minLength":0,"type":"string","description":"Designacao comercial do cargo (ex. Analista de Operacoes) exibida em formularios e listagens de RH.","example":"Lider de Contingente","x-ui":{"controlType":"input","editable":true,"group":"Principal","helpText":"Nome de exibição do cargo no catálogo.","icon":"work","iconPosition":"left","label":"Nome","maxLength":"200","maxLengthMessage":"Nome deve ter no máximo 200 caracteres","name":"nome","order":"10","required":true,"requiredMessage":"Nome é obrigatório","resourceReference":{"resourceKey":"human-resources.cargos","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"salarioMaximo":{"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Tecto de referencia da faixa salarial, emparelhado a salario minimo. Define o intervalo ofertavel para aprovacao e enquadramento remuneratorio.","format":"decimal","x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"group":"Remuneração","helpText":"Teto salarial de referência.","icon":"account_balance_wallet","iconPosition":"left","label":"Salário Máximo","locale":"pt-BR","min":"0.00","name":"salarioMaximo","numericFormat":"currency","numericMin":"0.00","order":"20","quickViewOrder":2,"quickViewVisible":true,"rangeMessage":"Salário Máximo deve ser maior ou igual a 0.00","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"salarioMinimo":{"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Piso de referencia da faixa salarial (moeda e escala do backend). Uso: benchmark interno; nao e historico de pagamento de folha.","format":"decimal","x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"group":"Remuneração","helpText":"Piso salarial de referência.","icon":"payments","iconPosition":"left","label":"Salário Mínimo","locale":"pt-BR","min":"0.00","name":"salarioMinimo","numericFormat":"currency","numericMin":"0.00","order":"10","quickViewOrder":1,"quickViewVisible":true,"rangeMessage":"Salário Mínimo deve ser maior ou igual a 0.00","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}}},"description":"Comando para criar uma funcao no catalogo de cargos de RH, definindo titulo, senioridade, faixa salarial de referencia e texto de apoio usado por alocacao, progressao e governanca remuneratoria."},"CreateDepartamentoDTO":{"required":["codigo","nome"],"type":"object","properties":{"codigo":{"maxLength":20,"minLength":0,"type":"string","description":"Codigo interno estavel (sigla ou slug) para relatorios, filtros e referencias cruzadas; distinto do nome longo.","example":"OPS-EST","x-ui":{"controlType":"input","editable":true,"group":"Principal","helpText":"Sigla ou código interno para integração.","icon":"tag","iconPosition":"left","label":"Código","maxLength":"20","maxLengthMessage":"Código deve ter no máximo 20 caracteres","name":"codigo","order":"20","presentation":{"appearance":"soft","presenter":"badge"},"quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Código é obrigatório","sortable":true,"type":"text"}},"nome":{"maxLength":200,"minLength":0,"type":"string","description":"Designacao oficial do departamento (ex. Contingente Metropolitano, Inteligencia de Ameacas) para listagens e organogramas.","example":"Operacoes Estrategicas","x-ui":{"controlType":"input","editable":true,"group":"Principal","helpText":"Nome oficial do departamento.","icon":"apartment","iconPosition":"left","label":"Nome","maxLength":"200","maxLengthMessage":"Nome deve ter no máximo 200 caracteres","name":"nome","order":"10","required":true,"requiredMessage":"Nome é obrigatório","resourceReference":{"resourceKey":"human-resources.departamentos","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"responsavelId":{"type":"integer","description":"Identificador do funcionario (heroi) responsavel pelo departamento: aprovacoes de alocacao e ponto de contacto operacional.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Relacionamentos","helpText":"Líder responsável pelas aprovações.","icon":"supervisor_account","iconPosition":"left","label":"Responsável","name":"responsavelId","order":"10","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}}},"description":"Comando para criar uma unidade organizacional de RH, informando nome, codigo interno e responsavel operacional sem aceitar campos desnormalizados resolvidos pelo backend."},"CreateDependenteDTO":{"required":["dataNascimento","funcionarioId","nomeCompleto","parentesco"],"type":"object","properties":{"dataNascimento":{"type":"string","description":"Data de nascimento do dependente: base para idade, elegibilidade de auxilio-escola e, em declaracoes, idade fim de dependencia (referencia, nao regra legal automatica).","format":"date","example":"2016-04-20","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"restricted","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"sensitive_personal","reason":"Data de nascimento do dependente. Dado usado para inferir idade e elegibilidade; requer mascaramento.","source":"java.annotation"},"x-ui":{"controlType":"date","displayFormat":"dd/MM/yyyy","editable":true,"group":"Identificação","helpText":"Data de nascimento para cálculo de idade.","icon":"cake","iconPosition":"left","label":"Data de Nascimento","locale":"pt-BR","mask":"dd/MM/yyyy","max":"today","name":"dataNascimento","numericFormat":"date","order":"30","quickViewOrder":2,"quickViewVisible":true,"rangeMessage":"Data de Nascimento deve ser menor ou igual a today","required":true,"requiredMessage":"Data de Nascimento é obrigatório","sortable":true,"type":"text","valuePresentation":{"type":"date"}}},"funcionarioId":{"type":"integer","description":"Colaborador titular do vinculo familiar: o dependente liga-se a este `funcionarioId` (heroi) para beneficios e relatorios.","format":"int32","example":3,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Relacionamentos","helpText":"Colaborador titular vinculado ao dependente.","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"10","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"nomeCompleto":{"maxLength":200,"minLength":0,"type":"string","description":"Nome civil usado em declaracoes de imposto, plano de saude e contactos de emergencia; nao e pseudonimo de identidade secreta do heroi titular.","example":"Ana Soares","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"restricted","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"sensitive_personal","reason":"Nome civil do dependente. Identificador Pessoal (PII) sujeito a proteção legal de menores ou cônjuges.","source":"java.annotation"},"x-ui":{"controlType":"input","editable":true,"group":"Identificação","helpText":"Nome civil completo do dependente.","icon":"person","iconPosition":"left","label":"Nome Completo","maxLength":"200","maxLengthMessage":"Nome Completo deve ter no máximo 200 caracteres","name":"nomeCompleto","order":"10","required":true,"requiredMessage":"Nome Completo é obrigatório","resourceReference":{"resourceKey":"human-resources.dependentes","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"parentesco":{"maxLength":100,"minLength":0,"type":"string","description":"Grau de parentesco ou dependencia (ex. conjuge, filha, enteado) usado em regras de desconto e comprovacao; texto livre sujeito a validacao de negocio fora do DTO.","example":"filha","x-ui":{"controlType":"input","editable":true,"group":"Identificação","helpText":"Grau de parentesco (ex: filho, cônjuge).","icon":"family_restroom","iconPosition":"left","label":"Parentesco","maxLength":"100","maxLengthMessage":"Parentesco deve ter no máximo 100 caracteres","name":"parentesco","order":"20","quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Parentesco é obrigatório","sortable":true,"type":"text"}}},"description":"Comando para declarar um dependente de colaborador, registrando nome, parentesco, nascimento e titular para beneficios, elegibilidade e obrigacoes cadastrais sob governanca de dados pessoais."},"CreateEnderecoDTO":{"required":["bairro","cep","cidade","estado","funcionarioId","logradouro","numero"],"type":"object","properties":{"bairro":{"minLength":1,"type":"string","description":"Regiao administrativa local usada em rotas, correio e risco (incidente proximo).","example":"Nucleo 7","x-ui":{"controlType":"input","editable":true,"group":"Endereço","helpText":"Região administrativa ou bairro.","icon":"location_city","iconPosition":"left","label":"Bairro","minLength":"1","minLengthMessage":"Bairro deve ter no mínimo 1 caracteres","name":"bairro","order":"40","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Bairro é obrigatório","sortable":true,"type":"text"}},"cep":{"minLength":1,"pattern":"^\\d{5}-?\\d{3}$","type":"string","description":"CEP brasileiro (8 digitos) com ou sem hifen; usado em validacoes de correio e normalizacao de rota.","example":"01310-100","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","PHYSICAL_SECURITY"],"confidence":1.0,"dataCategory":"personal","reason":"O CEP delimita uma área geográfica muito pequena que expõe a região de residência do colaborador.","source":"java.annotation"},"x-ui":{"controlType":"input","editable":true,"group":"Endereço","helpText":"Código postal no formato 00000-000.","icon":"local_post_office","iconPosition":"left","label":"CEP","mask":"00000-000","maxLength":"9","maxLengthMessage":"CEP deve ter no máximo 9 caracteres","minLength":"1","minLengthMessage":"CEP deve ter no mínimo 1 caracteres","name":"cep","order":"70","pattern":"^\\d{5}-?\\d{3}$","patternMessage":"CEP deve ser no formato 00000-000","quickViewOrder":5,"quickViewVisible":true,"required":true,"requiredMessage":"CEP é obrigatório","sortable":true,"type":"text"}},"cidade":{"minLength":1,"type":"string","description":"Municipio ou cidade perante a UF; relevante para calculos fiscais, logistica e agregacoes de RH regionais.","example":"Metropolis","x-ui":{"controlType":"input","editable":true,"group":"Endereço","helpText":"Município de residência.","icon":"location_city","iconPosition":"left","label":"Cidade","minLength":"1","minLengthMessage":"Cidade deve ter no mínimo 1 caracteres","name":"cidade","order":"50","quickViewOrder":3,"quickViewVisible":true,"required":true,"requiredMessage":"Cidade é obrigatório","sortable":true,"type":"text"}},"complemento":{"type":"string","description":"Apartamento, sala, ponto de referencia interna; opcional, mas evita duplicidade de entregas e visitas tecnicas.","example":"Apto 42","x-ui":{"controlType":"input","editable":true,"group":"Endereço","helpText":"Apto, bloco ou ponto de referência.","icon":"pin","iconPosition":"left","label":"Complemento","name":"complemento","order":"30","sortable":true,"type":"text"}},"estado":{"maxLength":2,"minLength":2,"pattern":"^[A-Z]{2}$","type":"string","description":"Unidade federativa (BR) em duas letras maiusculas, conforme validacao; define jurisdicao e feriados locais (referencia).","example":"SP","x-ui":{"controlType":"input","editable":true,"group":"Endereço","helpText":"UF em duas letras maiúsculas (ex: SP, RJ).","icon":"map","iconPosition":"left","label":"Estado","maxLength":"2","maxLengthMessage":"Estado deve ter no máximo 2 caracteres","minLength":"2","minLengthMessage":"Estado deve ter no mínimo 2 caracteres","name":"estado","order":"60","pattern":"^[A-Z]{2}$","patternMessage":"UF deve conter 2 letras maiúsculas","quickViewOrder":4,"quickViewVisible":true,"required":true,"requiredMessage":"Estado é obrigatório","sortable":true,"type":"text"}},"funcionarioId":{"type":"integer","description":"Dono do endereco: identificador do colaborador (heroi) cujo registo de morada este bloco descreve.","format":"int32","example":5,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Relacionamentos","helpText":"Colaborador residente.","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"10","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"logradouro":{"minLength":1,"type":"string","description":"Via publica (rua, avenida, alameda) sem numero; alinhado a normas de correio para integracao e geocodificacao futura.","example":"Rua das Missoes","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","PHYSICAL_SECURITY"],"confidence":1.0,"dataCategory":"personal","reason":"A via pública e localização de residência do colaborador oferecem riscos à segurança física e identificação (LGPD).","source":"java.annotation"},"x-ui":{"controlType":"input","editable":true,"group":"Endereço","helpText":"Rua, avenida ou alameda principal.","icon":"home","iconPosition":"left","label":"Logradouro","minLength":"1","minLengthMessage":"Logradouro deve ter no mínimo 1 caracteres","name":"logradouro","order":"10","required":true,"requiredMessage":"Logradouro é obrigatório","resourceReference":{"resourceKey":"human-resources.enderecos","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"numero":{"maxLength":50,"minLength":0,"type":"string","description":"Numero do imovel, bloco ou lote; pode incluir letra (ex. 1001 A) conforme regra de tamanho maximo.","example":"100","x-ui":{"controlType":"input","editable":true,"group":"Endereço","helpText":"Número do imóvel.","icon":"pin","iconPosition":"left","label":"Número","maxLength":"50","maxLengthMessage":"Número deve ter no máximo 50 caracteres","name":"numero","order":"20","quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Número é obrigatório","sortable":true,"type":"text"}}},"description":"Comando para registrar endereco residencial ou de correspondencia de um colaborador, excluindo campos de leitura e tratando localizacao como dado pessoal sensivel para uso em folha, emergencia e logistica."},"CreateEquipamentoAlocacaoDTO":{"required":["equipamentoId","funcionarioId","inicio"],"type":"object","properties":{"equipamentoId":{"type":"integer","description":"Equipamento entregue ao colaborador durante o período de custódia.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/assets/equipamentos/option-sources/equipment/options/filter","icon":"construction","iconPosition":"left","label":"Equipamento","name":"equipamentoId","order":"10","required":true,"requiredMessage":"Equipamento é obrigatório","resourceReference":{"resourceKey":"assets.equipamentos","surfaceId":"view","valueField":"equipamentoId"},"sortable":true,"type":"number","valueField":"id"}},"fim":{"type":"string","description":"Data e hora de encerramento; permanece vazia enquanto a custódia estiver ativa.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"event","iconPosition":"left","label":"Fim","name":"fim","order":"40","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"funcionarioId":{"type":"integer","description":"Colaborador responsável pela custódia do equipamento.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"20","required":true,"requiredMessage":"Funcionário é obrigatório","resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"funcionarioId"},"sortable":true,"type":"number","valueField":"id"}},"inicio":{"type":"string","description":"Data e hora de início da responsabilidade de custódia.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"event","iconPosition":"left","label":"Início","name":"inicio","order":"30","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Início é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"status":{"type":"string","description":"Situacao da responsabilidade de custodia do equipamento (ATIVO na abertura; transicionado para DEVOLVIDO, DANIFICADO ou PERDIDO via workflow actions governadas).","enum":["ATIVO","DEVOLVIDO","PERDIDO","DANIFICADO"],"x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","options":[{"value":"ATIVO","label":"ATIVO"},{"value":"DEVOLVIDO","label":"DEVOLVIDO"},{"value":"PERDIDO","label":"PERDIDO"},{"value":"DANIFICADO","label":"DANIFICADO"}],"order":"50","quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Comando para registrar uma nova custódia de equipamento por colaborador, com início de vigência e situação da responsabilidade operacional."},"CreateEquipamentoDTO":{"required":["nome","status"],"type":"object","properties":{"nome":{"maxLength":200,"minLength":0,"type":"string","description":"Designacao oficial do item no inventario tatico (ex.: escudo, traje, comunicador ou dispositivo de campo).","x-ui":{"controlType":"input","editable":true,"icon":"badge","iconPosition":"left","label":"Nome","maxLength":"200","maxLengthMessage":"Nome deve ter no máximo 200 caracteres","name":"nome","required":true,"requiredMessage":"Nome é obrigatório","resourceReference":{"resourceKey":"assets.equipamentos","surfaceId":"view","valueField":"id"},"sortable":true,"type":"text"}},"proprietarioId":{"type":"integer","description":"Colaborador detentor da custodia formal vigente do equipamento enquanto o item estiver em uso operacional (governado exclusivamente por custodia ATIVO em equipamento-alocacoes).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","icon":"inventory_2","iconPosition":"left","label":"Proprietário","name":"proprietarioId","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"resistencia":{"minimum":0,"type":"integer","description":"Indice nominal de protecao, durabilidade ou integridade estrutural do ativo (escala de dominio a partir de 0).","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"inventory_2","iconPosition":"left","label":"Resistência","min":"0","name":"resistencia","numericMin":"0","quickViewOrder":3,"quickViewVisible":true,"rangeMessage":"Resistência deve ser maior ou igual a 0","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"status":{"type":"string","description":"Estado operacional de disponibilidade do equipamento (ESTOQUE, EM_USO, MANUTENCAO, QUEBRADO ou PERDIDO), governado por custodia e workflow actions auditadas em availability-transitions.","enum":["EM_USO","ESTOQUE","MANUTENCAO","QUEBRADO","PERDIDO"],"x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","options":[{"value":"EM_USO","label":"EM_USO"},{"value":"ESTOQUE","label":"ESTOQUE"},{"value":"MANUTENCAO","label":"MANUTENCAO"},{"value":"QUEBRADO","label":"QUEBRADO"},{"value":"PERDIDO","label":"PERDIDO"}],"quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Status é obrigatório","sortable":true,"type":"text"}},"tipo":{"type":"string","description":"Categoria tatica do equipamento no inventario (ARMADURA, ARMA, GADGET, ARTEFATO ou OUTRO), orientando alocacao e manutencao.","enum":["ARMADURA","ARMA","GADGET","ARTEFATO","OUTRO"],"x-ui":{"controlType":"select","editable":true,"icon":"category","iconPosition":"left","label":"Tipo","name":"tipo","options":[{"value":"ARMADURA","label":"ARMADURA"},{"value":"ARMA","label":"ARMA"},{"value":"GADGET","label":"GADGET"},{"value":"ARTEFATO","label":"ARTEFATO"},{"value":"OUTRO","label":"OUTRO"}],"quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Comando para cadastrar um equipamento operacional no inventario, definindo designacao, tipo, resistencia e status inicial de disponibilidade (custodiante e status EM_USO sao atribuidos via equipamento-alocacoes)."},"CreateEquipeDTO":{"required":["nome","status"],"type":"object","properties":{"basePrincipalId":{"type":"integer","description":"FK; instalacao de origem/ logistica (basePrincipalId).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/bases/option-sources/base/options/filter","icon":"location_on","iconPosition":"left","label":"Base Principal","name":"basePrincipalId","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"nome":{"maxLength":200,"minLength":0,"type":"string","description":"Designacao oficial do grupo de atuacao.","x-ui":{"controlType":"input","editable":true,"icon":"badge","iconPosition":"left","label":"Nome","maxLength":"200","maxLengthMessage":"Nome deve ter no máximo 200 caracteres","name":"nome","required":true,"requiredMessage":"Nome é obrigatório","resourceReference":{"resourceKey":"operations.equipes","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"sigla":{"maxLength":12,"minLength":0,"type":"string","description":"Abreviatura de comunicacoes (ex. ALFA-1).","x-ui":{"controlType":"input","editable":true,"icon":"label","iconPosition":"left","label":"Sigla","maxLength":"12","maxLengthMessage":"Sigla deve ter no máximo 12 caracteres","name":"sigla","sortable":true,"type":"text"}},"status":{"type":"string","description":"Elegibilidade de escalonamento; EquipeStatus.","enum":["ATIVA","RESERVA","DISSOLVIDA"],"x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","options":[{"value":"ATIVA","label":"ATIVA"},{"value":"RESERVA","label":"RESERVA"},{"value":"DISSOLVIDA","label":"DISSOLVIDA"}],"quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Status é obrigatório","sortable":true,"type":"text"}}},"description":"Comando para criar uma equipe operacional, informando identidade, especialidade, disponibilidade e base principal para composicao de missoes e planejamento tatico."},"CreateEquipeMembroDTO":{"required":["dataEntrada","equipeId","funcionarioId"],"type":"object","properties":{"dataEntrada":{"type":"string","description":"Inicio de vigencia na equipe (alistamento).","format":"date","x-ui":{"controlType":"date","editable":true,"group":"Principal","icon":"event","iconPosition":"left","label":"Data de Entrada","name":"dataEntrada","order":"20","quickViewOrder":3,"quickViewVisible":true,"required":true,"requiredMessage":"Data de Entrada é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"dataSaida":{"type":"string","description":"Fim de vigencia; nulo se escalado de forma continua.","format":"date","x-ui":{"controlType":"date","editable":true,"group":"Principal","icon":"event","iconPosition":"left","label":"Data de Saída","name":"dataSaida","order":"30","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"equipeId":{"type":"integer","description":"FK; unidade tactica (equipeId).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/equipes/option-sources/team/options/filter","group":"Relacionamentos","icon":"groups","iconPosition":"left","label":"Equipe","name":"equipeId","order":"10","required":true,"requiredMessage":"Equipe é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"funcionarioId":{"type":"integer","description":"FK; colaborador alocado (funcionarioId).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Relacionamentos","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"20","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"papel":{"type":"string","description":"Funcao no quadro; PapelEquipe.","enum":["LIDER","CO_LIDER","OPERACIONAL","SUPORTE","CONSULTOR"],"x-ui":{"controlType":"select","editable":true,"group":"Principal","icon":"label","iconPosition":"left","label":"Papel","name":"papel","options":[{"value":"LIDER","label":"LIDER"},{"value":"CO_LIDER","label":"CO_LIDER"},{"value":"OPERACIONAL","label":"OPERACIONAL"},{"value":"SUPORTE","label":"SUPORTE"},{"value":"CONSULTOR","label":"CONSULTOR"}],"order":"10","quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Comando para associar colaborador a equipe operacional, registrando papel, lideranca ou vigencia usada por escala, disponibilidade e planejamento de missao."},"CreateEventosFolhaDTO":{"required":["descricao","folhaPagamentoId","precondicoesFolhas","tipo","valor"],"type":"object","properties":{"descricao":{"maxLength":255,"minLength":0,"type":"string","description":"Historico ou rubrica do lancamento (ex. hora extra, bonus).","x-ui":{"controlType":"textarea","editable":true,"group":"Principal","helpText":"Motivo ou nome do evento na folha.","icon":"description","iconPosition":"left","label":"Descrição","maxLength":"255","maxLengthMessage":"Descrição deve ter no máximo 255 caracteres","name":"descricao","order":"10","required":true,"requiredMessage":"Descrição é obrigatório","sortable":true,"type":"text"}},"folhaPagamentoId":{"type":"integer","description":"FK; competencia/folha onde o evento se apropria (folhaPagamentoId).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/folhas-pagamento/option-sources/payroll/options/filter","group":"Relacionamentos","helpText":"Folha à qual o evento pertence.","icon":"receipt_long","iconPosition":"left","label":"Folha de Pagamento","name":"folhaPagamentoId","order":"10","required":true,"requiredMessage":"Folha de Pagamento é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"precondicoesFolhas":{"minItems":1,"type":"array","description":"Exatamente a precondição da folha de destino, capturada por GET oficial antes de criar.","items":{"$ref":"#/components/schemas/PayrollParentPreconditionDTO"},"x-ui":{"array":{"deleteMode":"removeFromPayload","itemSchemaRef":"#/components/schemas/PayrollParentPreconditionDTO","itemType":"object","minItems":1,"mode":"cards"},"controlType":"array","editable":true,"formHidden":true,"group":"Controle de concorrência","iconPosition":"left","label":"Precondições das folhas","name":"precondicoesFolhas","order":"90","required":true,"requiredMessage":"Precondições das folhas é obrigatório","sortable":true,"submitPolicy":"include","tableHidden":true,"type":"array"}},"tipo":{"maxLength":100,"minLength":0,"type":"string","description":"Categoria de escrita ADICIONAL ou DESCONTO; PROVENTO é apenas base informativa histórica.","x-ui":{"controlType":"input","editable":true,"group":"Principal","helpText":"ADICIONAL ou DESCONTO.","icon":"category","iconPosition":"left","label":"Tipo","maxLength":"100","maxLengthMessage":"Tipo deve ter no máximo 100 caracteres","name":"tipo","order":"20","required":true,"requiredMessage":"Tipo é obrigatório","sortable":true,"type":"text"}},"valor":{"maximum":999999999999.99,"exclusiveMaximum":false,"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Montante na moeda da folha; credito ou debito conforme tipo.","format":"decimal","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"financial","reason":"Valor financeiro do evento, sujeito à autorização da folha e ao mascaramento em contexto de IA.","source":"java.annotation"},"x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"group":"Principal","helpText":"Valor absoluto financeiro do evento.","icon":"payments","iconPosition":"left","label":"Valor","locale":"pt-BR","max":"999999999999.99","min":"0.00","name":"valor","numericFormat":"currency","numericMax":"999999999999.99","numericMin":"0.00","order":"30","rangeMessage":"Valor deve estar entre 0.00 e 999999999999.99","required":true,"requiredMessage":"Valor é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}}},"description":"Comando para lancar uma rubrica ou evento financeiro em folha de pagamento, vinculando descricao, tipo, valor absoluto e competencia de folha para conciliacao e aprovacao."},"CreateFeriasAfastamentoDTO":{"required":["dataFim","dataInicio","funcionarioId","tipo"],"type":"object","properties":{"dataFim":{"type":"string","description":"Ultimo dia do afastamento (inclusive); apos essa data o colaborador retorna a disponibilidade operacional (salvo outro registo).","format":"date","example":"2025-07-15","x-ui":{"controlType":"date","displayFormat":"dd/MM/yyyy","editable":true,"group":"Principal","helpText":"Último dia do afastamento.","icon":"event_available","iconPosition":"left","label":"Data de Fim","locale":"pt-BR","mask":"dd/MM/yyyy","name":"dataFim","numericFormat":"date","order":"30","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Data de Fim é obrigatório","sortable":true,"type":"text","valuePresentation":{"type":"date"}}},"dataInicio":{"type":"string","description":"Primeiro dia fora (inclusive) do regime normal de trabalho; usado com dataFim em calculos de cobertura e conflito com missao.","format":"date","example":"2025-07-01","x-ui":{"controlType":"date","displayFormat":"dd/MM/yyyy","editable":true,"group":"Principal","helpText":"Primeiro dia do afastamento.","icon":"event","iconPosition":"left","label":"Data de Início","locale":"pt-BR","mask":"dd/MM/yyyy","name":"dataInicio","numericFormat":"date","order":"20","quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Data de Início é obrigatório","sortable":true,"type":"text","valuePresentation":{"type":"date"}}},"funcionarioId":{"type":"integer","description":"Colaborador afastado: FK ao `Funcionario` afetado pelo periodo; obrigatorio para vincular ausencia a pessoa certa.","format":"int32","example":5,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Relacionamentos","helpText":"Colaborador em afastamento.","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"10","required":true,"requiredMessage":"Funcionário é obrigatório","resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"funcionarioId"},"sortable":true,"type":"number","valueField":"id"}},"observacoes":{"maxLength":2000,"minLength":0,"type":"string","description":"Detalhe (substituto, aprovador, atestado, contacto) para apoio a RH; nao substitui documento comprobatorio armazenado a parte.","example":"Aprovado DRH em 12/06; substituicao: equipe B","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"restricted","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"sensitive_personal","reason":"Pode conter laudos, diagnósticos e transcrições de atestados médicos protegidos por sigilo. Não deve ser lido sem máscara por IA.","source":"java.annotation"},"x-ui":{"controlType":"textarea","editable":true,"group":"Principal","helpText":"Detalhes e anotações de aprovação.","icon":"notes","iconPosition":"left","label":"Observações","maxLength":"2000","maxLengthMessage":"Observações deve ter no máximo 2000 caracteres","name":"observacoes","order":"40","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text"}},"tipo":{"maxLength":100,"minLength":0,"type":"string","description":"Natureza do afastamento (ex. Ferias, Licenca saude, Suspensao disciplinar). Valor discursivo: impacta aprovacoes e folha consoante politica; nao e enum fechado aqui.","example":"Ferias","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"restricted","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"sensitive_personal","reason":"O tipo de afastamento pode revelar informações médicas, como licenças de saúde, configurando dado sensível.","source":"java.annotation"},"x-ui":{"controlType":"input","editable":true,"group":"Principal","helpText":"Motivo da ausência (ex: Férias, Licença médica).","icon":"event_busy","iconPosition":"left","label":"Tipo","maxLength":"100","maxLengthMessage":"Tipo deve ter no máximo 100 caracteres","name":"tipo","order":"10","required":true,"requiredMessage":"Tipo é obrigatório","resourceReference":{"resourceKey":"human-resources.ferias-afastamentos","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}}},"description":"Comando para registrar um periodo de ferias, licenca ou afastamento de colaborador, reduzindo disponibilidade operacional e alimentando calendario de folha e cobertura."},"CreateFolhasPagamentoDTO":{"required":["ano","dataPagamentoPrevista","descontosBase","funcionarioId","mes","salarioBruto","salarioLiquido","totalDescontos"],"type":"object","properties":{"ano":{"maximum":2100,"minimum":1900,"type":"integer","description":"Ano civil da competência da folha, de 1900 a 2100.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"group":"Competência","iconPosition":"left","label":"Ano","max":"2100","min":"1900","name":"ano","numericMax":"2100","numericMin":"1900","order":"10","rangeMessage":"Ano deve estar entre 1900 e 2100","required":true,"requiredMessage":"Ano é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"dataPagamentoPrevista":{"type":"string","description":"Output declarado: previsão calculada pela determinação de calendário, não agendamento nem pagamento.","format":"date","x-ui":{"controlType":"date","editable":true,"group":"Competência","iconPosition":"left","label":"Data prevista","name":"dataPagamentoPrevista","order":"30","required":true,"requiredMessage":"Data prevista é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"descontosBase":{"maximum":999999999999.99,"exclusiveMaximum":false,"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Descontos-base em BRL; o total consolidado é derivado com eventos aprovados.","format":"decimal","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"financial","reason":"Descontos-base declarados antes dos eventos aprovados.","source":"java.annotation"},"x-ui":{"controlType":"currency","editable":true,"group":"Valores","iconPosition":"left","label":"Descontos-base","max":"999999999999.99","min":"0.00","name":"descontosBase","numericFormat":"currency","numericMax":"999999999999.99","numericMin":"0.00","numericStep":"0.01","order":"20","rangeMessage":"Descontos-base deve estar entre 0.00 e 999999999999.99","required":true,"requiredMessage":"Descontos-base é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"funcionarioId":{"type":"integer","description":"Identidade do funcionário titular, autorizada no escopo operacional.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Relacionamentos","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"10","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"type":"number","valueField":"id"}},"mes":{"maximum":12,"minimum":1,"type":"integer","description":"Mês da competência, de 1 a 12.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"group":"Competência","iconPosition":"left","label":"Mês","max":"12","min":"1","name":"mes","numericMax":"12","numericMin":"1","order":"20","rangeMessage":"Mês deve estar entre 1 e 12","required":true,"requiredMessage":"Mês é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"salarioBruto":{"maximum":999999999999.99,"exclusiveMaximum":false,"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Salário-base bruto em BRL; não inclui eventos adicionais.","format":"decimal","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"financial","reason":"Remuneração-base bruta da competência.","source":"java.annotation"},"x-ui":{"controlType":"currency","editable":true,"group":"Valores","iconPosition":"left","label":"Salário bruto","max":"999999999999.99","min":"0.00","name":"salarioBruto","numericFormat":"currency","numericMax":"999999999999.99","numericMin":"0.00","numericStep":"0.01","order":"10","rangeMessage":"Salário bruto deve estar entre 0.00 e 999999999999.99","required":true,"requiredMessage":"Salário bruto é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"salarioLiquido":{"maximum":999999999999.99,"exclusiveMaximum":false,"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Output declarado em BRL: bruto + adicionais aprovados - total de descontos; conferido no submit.","format":"decimal","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"financial","reason":"Salário líquido determinado para a folha.","source":"java.annotation"},"x-ui":{"controlType":"currency","editable":true,"group":"Valores","iconPosition":"left","label":"Salário líquido","max":"999999999999.99","min":"0.00","name":"salarioLiquido","numericFormat":"currency","numericMax":"999999999999.99","numericMin":"0.00","numericStep":"0.01","order":"40","rangeMessage":"Salário líquido deve estar entre 0.00 e 999999999999.99","required":true,"requiredMessage":"Salário líquido é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"totalDescontos":{"maximum":999999999999.99,"exclusiveMaximum":false,"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Output declarado: descontos-base mais eventos DESCONTO aprovados; conferido novamente no submit.","format":"decimal","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"financial","reason":"Total de descontos determinado para a folha.","source":"java.annotation"},"x-ui":{"controlType":"currency","editable":true,"group":"Valores","iconPosition":"left","label":"Total de descontos","max":"999999999999.99","min":"0.00","name":"totalDescontos","numericFormat":"currency","numericMax":"999999999999.99","numericMin":"0.00","numericStep":"0.01","order":"30","rangeMessage":"Total de descontos deve estar entre 0.00 e 999999999999.99","required":true,"requiredMessage":"Total de descontos é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}}},"description":"Cria a competência com fatos financeiros e outputs da determinação; não agenda nem confirma pagamento."},"CreateFuncionarioDTO":{"required":["ativo","cargoId","cpf","dataAdmissao","dataNascimento","departamentoId","email","nomeCompleto","salario","telefone"],"type":"object","properties":{"ativo":{"type":"boolean","description":"Estado solicitado para o vínculo do colaborador.","x-ui":{"controlType":"checkbox","editable":true,"group":"Profissional","helpText":"Indica se o vínculo deve ficar ativo no sistema.","icon":"toggle_on","iconPosition":"left","label":"Ativo","name":"ativo","order":"30","required":true,"requiredMessage":"Ativo é obrigatório","sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"}}},"cargoId":{"type":"integer","description":"Referência ao cargo atribuído ao colaborador.","format":"int32","example":1,"x-ui":{"controlType":"select","displayField":"label","editable":true,"endpoint":"/api/human-resources/cargos/option-sources/jobRole/options/filter","group":"Profissional","helpText":"Cargo atribuído pelo comando.","icon":"work","iconPosition":"left","label":"Cargo","name":"cargoId","order":"40","required":true,"requiredMessage":"Cargo é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"cpf":{"maxLength":20,"minLength":0,"pattern":"^(\\d{3}\\.\\d{3}\\.\\d{3}-\\d{2}|\\d{11})$","type":"string","description":"Cadastro de Pessoa Física usado para identificação fiscal do colaborador, sujeito às finalidades e políticas de privacidade do domínio de RH.","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"personal","reason":"Documento pessoal usado para identificação fiscal do colaborador.","source":"java.annotation"},"x-ui":{"allowFormattedInput":true,"controlType":"cpfCnpjInput","documentType":"cpf","editable":true,"group":"Identificação","helpText":"Documento no formato 000.000.000-00.","icon":"fingerprint","iconPosition":"left","label":"CPF","mask":"000.000.000-00","maxLength":"20","maxLengthMessage":"CPF deve ter no máximo 20 caracteres","name":"cpf","order":"20","pattern":"^(\\d{3}\\.\\d{3}\\.\\d{3}-\\d{2}|\\d{11})$","patternMessage":"CPF inválido","required":true,"requiredMessage":"CPF é obrigatório","sortable":true,"tableHidden":true,"type":"text"}},"dataAdmissao":{"type":"string","description":"Data de início do vínculo empregatício; ancora férias, históricos e requisitos de experiência.","format":"date","x-ui":{"controlType":"date","displayFormat":"dd/MM/yyyy","editable":true,"group":"Profissional","helpText":"Data de início do vínculo empregatício.","icon":"event_available","iconPosition":"left","label":"Data de Admissão","locale":"pt-BR","mask":"dd/MM/yyyy","name":"dataAdmissao","numericFormat":"date","order":"20","required":true,"requiredMessage":"Data de Admissão é obrigatório","sortable":true,"type":"text","valuePresentation":{"type":"date"}}},"dataNascimento":{"type":"string","description":"Data de nascimento do colaborador; participa de regras de idade, benefícios e elegibilidade.","format":"date","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"personal","reason":"Data de nascimento usada para identificação pessoal.","source":"java.annotation"},"x-ui":{"controlType":"date","displayFormat":"dd/MM/yyyy","editable":true,"group":"Identificação","helpText":"Data de nascimento oficial do colaborador.","icon":"cake","iconPosition":"left","label":"Data de Nascimento","locale":"pt-BR","mask":"dd/MM/yyyy","max":"today","name":"dataNascimento","numericFormat":"date","order":"30","rangeMessage":"Data de Nascimento deve ser menor ou igual a today","required":true,"requiredMessage":"Data de Nascimento é obrigatório","sortable":true,"tableHidden":true,"type":"text","valuePresentation":{"type":"date"}}},"departamentoId":{"type":"integer","description":"Unidade organizacional à qual o colaborador será alocado.","format":"int32","x-ui":{"controlType":"select","displayField":"label","editable":true,"endpoint":"/api/human-resources/departamentos/option-sources/department/options/filter","group":"Profissional","helpText":"Unidade organizacional atribuída pelo comando.","icon":"apartment","iconPosition":"left","label":"Departamento","name":"departamentoId","order":"50","required":true,"requiredMessage":"Departamento é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"email":{"type":"string","format":"email","description":"Endereço de e-mail corporativo ou pessoal usado para notificações e recuperação de conta.","maxLength":200,"minLength":0,"x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"personal","reason":"Contato pessoal do colaborador.","source":"java.annotation"},"x-ui":{"controlType":"email","editable":true,"group":"Contato","helpText":"Endereço de e-mail de contato.","icon":"email","iconPosition":"left","label":"Email","maxLength":"200","maxLengthMessage":"Email deve ter no máximo 200 caracteres","name":"email","order":"10","required":true,"requiredMessage":"Email é obrigatório","sortable":true,"tableHidden":true,"type":"email"}},"estadoCivil":{"type":"string","description":"Situação civil informada para benefícios, dependentes e relatórios que a exijam.","enum":["SOLTEIRO","CASADO","DIVORCIADO","VIUVO","UNIAO_ESTAVEL"],"x-ui":{"controlType":"select","editable":true,"group":"Identificação","helpText":"Situação civil atual.","icon":"family_restroom","iconPosition":"left","label":"Estado Civil","name":"estadoCivil","options":[{"value":"SOLTEIRO","label":"SOLTEIRO"},{"value":"CASADO","label":"CASADO"},{"value":"DIVORCIADO","label":"DIVORCIADO"},{"value":"VIUVO","label":"VIUVO"},{"value":"UNIAO_ESTAVEL","label":"UNIAO_ESTAVEL"}],"order":"35","sortable":true,"type":"text"}},"fotoPerfilUrl":{"maxLength":300,"minLength":0,"type":"string","description":"URL completa da imagem de perfil armazenada, quando disponível.","x-ui":{"controlType":"url","editable":true,"formHidden":true,"group":"Identificação","helpText":"URL completa da foto do colaborador.","icon":"link","iconPosition":"left","label":"Foto (URL)","maxLength":"300","maxLengthMessage":"Foto (URL) deve ter no máximo 300 caracteres","name":"fotoPerfilUrl","order":"40","sortable":true,"tableHidden":true,"type":"url"}},"nomeCompleto":{"maxLength":200,"minLength":0,"type":"string","description":"Nome civil completo usado em documentos oficiais e exibição em listagens.","example":"Maria Souza","x-ui":{"controlType":"input","editable":true,"group":"Identificação","helpText":"Nome civil completo do colaborador.","icon":"badge","iconPosition":"left","label":"Nome Completo","maxLength":"200","maxLengthMessage":"Nome Completo deve ter no máximo 200 caracteres","name":"nomeCompleto","order":"10","required":true,"requiredMessage":"Nome Completo é obrigatório","sortable":true,"type":"text"}},"salario":{"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Remuneração base solicitada pelo comando; dado financeiro sujeito a controle de acesso.","format":"decimal","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"financial","reason":"Remuneração individual do colaborador.","source":"java.annotation"},"x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"group":"Profissional","helpText":"Remuneração base informada pelo comando.","icon":"payments","iconPosition":"left","label":"Salário","locale":"pt-BR","min":"0.00","name":"salario","numericFormat":"currency","numericMin":"0.00","order":"10","rangeMessage":"Salário deve ser maior ou igual a 0.00","required":true,"requiredMessage":"Salário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valuePresentation":{"type":"currency"}}},"telefone":{"maxLength":30,"minLength":0,"pattern":"^\\+?\\d{8,15}$","type":"string","description":"Telefone de contato em formato E.164 ou nacional usado nos fluxos operacionais de RH.","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"personal","reason":"Canal de contato pessoal do colaborador.","source":"java.annotation"},"x-ui":{"autoFormat":true,"controlType":"phone","defaultCountry":"BR","editable":true,"group":"Contato","helpText":"Telefone com DDD (ex: +55 11 99999-9999).","icon":"phone","iconPosition":"left","label":"Telefone","mask":"+55 (00) 00000-0000","maxLength":"30","maxLengthMessage":"Telefone deve ter no máximo 30 caracteres","name":"telefone","order":"20","pattern":"^\\+?\\d{8,15}$","patternMessage":"Telefone inválido (use formato E.164: +5581999999999)","phoneFormat":"international","required":true,"requiredMessage":"Telefone é obrigatório","sortable":true,"tableHidden":true,"type":"text"}}},"description":"Comando para cadastrar um colaborador com identificação civil, contato, vínculo organizacional e remuneração inicial. Identidade técnica, versão e projeções de leitura são produzidas pelo servidor."},"CreateFuncionarioHabilidadeDTO":{"required":["funcionarioId","habilidadeId","proficiencia"],"type":"object","properties":{"funcionarioId":{"type":"integer","description":"Colaborador possuidor da proficiencia: referencia o recurso Funcionario (heroi) que acumula esta habilidade.","format":"int32","example":2,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Relacionamentos","helpText":"Colaborador associado à habilidade.","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"10","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"habilidadeId":{"type":"integer","description":"Ponte para o registo de HabilidadeDTO no catalogo; define qual competencia esta a ser classificada para este colaborador.","format":"int32","example":7,"x-ui":{"controlType":"select","displayField":"label","editable":true,"endpoint":"/api/human-resources/habilidades/option-sources/skill/options/filter","group":"Relacionamentos","helpText":"Habilidade do catálogo a ser vinculada.","icon":"psychology","iconPosition":"left","label":"Habilidade","name":"habilidadeId","order":"20","required":true,"requiredMessage":"Habilidade é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"origem":{"type":"string","description":"Classificação canônica da proveniência da habilidade no vínculo do colaborador: NATURAL, EXPERIMENTO, TECNOLOGIA, TREINAMENTO, MISTICO, ALIEN ou OUTRO.","example":"TREINAMENTO","enum":["NATURAL","EXPERIMENTO","TECNOLOGIA","TREINAMENTO","MISTICO","ALIEN","OUTRO"],"x-ui":{"controlType":"select","editable":true,"group":"Avaliação","helpText":"Como a competência foi adquirida ou manifestada pelo colaborador.","icon":"school","iconPosition":"left","label":"Origem","name":"origem","options":[{"value":"NATURAL","label":"NATURAL"},{"value":"EXPERIMENTO","label":"EXPERIMENTO"},{"value":"TECNOLOGIA","label":"TECNOLOGIA"},{"value":"TREINAMENTO","label":"TREINAMENTO"},{"value":"MISTICO","label":"MISTICO"},{"value":"ALIEN","label":"ALIEN"},{"value":"OUTRO","label":"OUTRO"}],"order":"20","presentation":{"appearance":"soft","presenter":"badge"},"quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"text"}},"proficiencia":{"maximum":100,"minimum":1,"type":"integer","description":"Escala percentual de 1 a 100 de domínio operacional deste colaborador sobre a habilidade vinculada; distinta do nivelPoder do catálogo (escala 1 a 10 de potência intrínseca da capacidade).","format":"int32","example":85,"x-ui":{"controlType":"numericTextBox","editable":true,"group":"Avaliação","helpText":"Nível de domínio do colaborador na habilidade (escala de 1 a 100).","icon":"workspace_premium","iconPosition":"left","label":"Proficiência","max":"100","min":"1","name":"proficiencia","numericMax":"100","numericMin":"1","order":"10","quickViewOrder":1,"quickViewVisible":true,"rangeMessage":"Proficiência deve estar entre 1 e 100","required":true,"requiredMessage":"Proficiência é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"number"}}}},"description":"Comando para associar um colaborador a uma habilidade do catalogo, registrando proficiencia e origem para matriz de competencias e alocacao a missoes."},"CreateHabilidadeDTO":{"required":["nome"],"type":"object","properties":{"categoria":{"type":"string","description":"Eixo de classificacao: FISICA, MENTAL, TECNOLOGICA, MISTICA, ALIEN, BIOQUIMICA. Agrupa habilidades para relatorios e regras de alocacao.","enum":["FISICA","MENTAL","TECNOLOGICA","MISTICA","ALIEN","BIOQUIMICA"],"x-ui":{"controlType":"select","editable":true,"group":"Principal","helpText":"Classificação da habilidade (ex: TÉCNICA, COMPORTAMENTAL).","icon":"category","iconPosition":"left","label":"Categoria","name":"categoria","options":[{"value":"FISICA","label":"FISICA"},{"value":"MENTAL","label":"MENTAL"},{"value":"TECNOLOGICA","label":"TECNOLOGICA"},{"value":"MISTICA","label":"MISTICA"},{"value":"ALIEN","label":"ALIEN"},{"value":"BIOQUIMICA","label":"BIOQUIMICA"}],"order":"20","presentation":{"appearance":"soft","presenter":"chip"},"quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}},"descricao":{"maxLength":2000,"minLength":0,"type":"string","description":"Narrativa livre do efeito, limitacoes e contexto de uso; nao define sozinha a governanca operacional, que depende de missao, perfil e politica.","x-ui":{"controlType":"textarea","editable":true,"group":"Principal","helpText":"Detalhes sobre o efeito e contexto de uso.","icon":"description","iconPosition":"left","label":"Descrição","maxLength":"2000","maxLengthMessage":"Descrição deve ter no máximo 2000 caracteres","name":"descricao","order":"30","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text"}},"nivelPoder":{"minimum":0,"type":"integer","description":"Escala interna 0+ de potencia relativa para priorizar requisitos de missao e comparar candidatos; nao e salario nem antiguidade.","format":"int32","example":7,"x-ui":{"controlType":"numericTextBox","editable":true,"group":"Principal","helpText":"Grau de impacto (escala interna).","icon":"bolt","iconPosition":"left","label":"Nível de Poder","min":"0","name":"nivelPoder","numericMin":"0","order":"40","quickViewOrder":2,"quickViewVisible":true,"rangeMessage":"Nível de Poder deve ser maior ou igual a 0","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"nome":{"maxLength":200,"minLength":0,"type":"string","description":"Designacao canónica da competencia (ex. Voo tatico, Telepatia de curto alcance) para exibicao e busca semantica.","example":"Muralha de forca","x-ui":{"controlType":"input","editable":true,"group":"Principal","helpText":"Nome da competência no catálogo.","icon":"psychology","iconPosition":"left","label":"Nome","maxLength":"200","maxLengthMessage":"Nome deve ter no máximo 200 caracteres","name":"nome","order":"10","required":true,"requiredMessage":"Nome é obrigatório","resourceReference":{"resourceKey":"human-resources.habilidades","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}}},"description":"Comando para criar uma competencia no catalogo de habilidades, classificando nome, categoria, descricao e nivel de poder para filtros, perfis e requisitos de missao."},"CreateHistoricoSalarialDTO":{"required":["dataInicio","funcionarioId","salario"],"type":"object","properties":{"dataFim":{"type":"string","description":"Fim de vigencia (inclusive) ou nulo se ainda ativa. Nova fatia consecutiva deve comecar apos o encerramento logico (evitar buracos e sobreposicoes).","format":"date","example":"2024-12-31","x-ui":{"controlType":"date","editable":true,"helpText":"Último dia de vigência (se aplicável).","icon":"event_available","iconPosition":"left","label":"Data Fim","name":"dataFim","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"dataInicio":{"type":"string","description":"Inicio de vigencia deste valor (inclusive); primeiro dia em que a faixa e considerada ativa para efeito de regra de negocio.","format":"date","example":"2024-01-01","x-ui":{"controlType":"date","editable":true,"helpText":"Primeiro dia de vigência do salário.","icon":"event","iconPosition":"left","label":"Data Início","name":"dataInicio","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Data Início é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"funcionarioId":{"type":"integer","description":"Colaborador cujo salario (neste recorte) esta a ser registado; referencia o recurso de funcionario.","format":"int32","example":4,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Colaborador titular do histórico.","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"10","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"funcionarioNome":{"type":"string","description":"Nome completo resolvido do colaborador titular da trilha salarial para exibicao legivel em grades, listas de progressao de carreira e paineis analiticos (somente leitura).","example":"Ana Clara Silva","x-ui":{"controlType":"input","editable":true,"formHidden":true,"helpText":"Nome completo do colaborador (preenchido automaticamente).","icon":"person","iconPosition":"left","label":"Colaborador","name":"funcionarioNome","order":"11","readOnly":true,"resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"funcionarioId"},"sortable":true,"type":"text"}},"motivo":{"maxLength":2000,"minLength":0,"type":"string","description":"Justificativa administrativa (reajuste, promocao, correcao, acordo) para rastreabilidade; insumo de auditoria interna, nao substitui o documento legal.","example":"Reajuste anual 2024","x-ui":{"controlType":"textarea","editable":true,"helpText":"Justificativa da alteração (ex: promoção, reajuste).","icon":"notes","iconPosition":"left","label":"Motivo","maxLength":"2000","maxLengthMessage":"Motivo deve ter no máximo 2000 caracteres","name":"motivo","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"text"}},"salario":{"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Base remuneratoria acordada para o periodo (moeda do backend, tipicamente BRL). Valor de RH administrativo, confidencial; nao e liquido de transferencia bancaria.","format":"decimal","example":15000.0,"x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"summarize_only"},"annotationType":"compliance","classification":"confidential","complianceTags":["INTERNAL_POLICY","FINANCIAL_PRIVACY"],"confidence":1.0,"dataCategory":"financial","reason":"O valor nominal do salário é estritamente confidencial e não deve ser exposto de forma bruta por IAs.","source":"java.annotation"},"x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"helpText":"Valor da remuneração no período.","icon":"payments","iconPosition":"left","label":"Salário","locale":"pt-BR","min":"0.00","name":"salario","numericFormat":"currency","numericMin":"0.00","quickViewOrder":1,"quickViewVisible":true,"rangeMessage":"Salário deve ser maior ou igual a 0.00","required":true,"requiredMessage":"Salário é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}}},"description":"Comando para registrar uma fatia de historico salarial de colaborador, com valor, vigencia e motivo usados por auditoria de carreira e preparacao de folha."},"CreateHistoricosCargoDTO":{"required":["cargoId","dataInicio","funcionarioId"],"type":"object","properties":{"cargoId":{"type":"integer","description":"Referência a CargoDTO (catálogo de funções, nível e faixa salarial). Define o título e a função nesse período.","format":"int32","example":3,"x-ui":{"controlType":"select","displayField":"label","editable":true,"endpoint":"/api/human-resources/cargos/option-sources/jobRole/options/filter","group":"Principal","helpText":"Novo cargo assumido.","icon":"work","iconPosition":"left","label":"Cargo","name":"cargoId","order":"20","required":true,"requiredMessage":"Cargo é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"dataFim":{"type":"string","description":"Fim (inclusive) do período nesse cargo, ou nulo enquanto o colaborador o ocupa; encerre-o antes de atribuir outro registro consecutivo.","format":"date","example":"2025-01-10","x-ui":{"controlType":"date","displayFormat":"dd/MM/yyyy","editable":true,"group":"Principal","helpText":"Último dia de exercício (se aplicável).","icon":"event_available","iconPosition":"left","label":"Data Fim","locale":"pt-BR","mask":"dd/MM/yyyy","name":"dataFim","numericFormat":"date","order":"40","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text","valuePresentation":{"type":"date"}}},"dataInicio":{"type":"string","description":"Início (inclusive) do exercício deste cargo pelo colaborador: transferências, promoções e reestruturações entram com nova data e novo cargo.","format":"date","example":"2022-03-15","x-ui":{"controlType":"date","displayFormat":"dd/MM/yyyy","editable":true,"group":"Principal","helpText":"Primeiro dia de exercício no cargo.","icon":"event","iconPosition":"left","label":"Data Início","locale":"pt-BR","mask":"dd/MM/yyyy","name":"dataInicio","numericFormat":"date","order":"30","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Data Início é obrigatório","sortable":true,"type":"text","valuePresentation":{"type":"date"}}},"funcionarioId":{"type":"integer","description":"Colaborador cuja carreira está sendo registrada; referência ao recurso de funcionário.","format":"int32","example":2,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Principal","helpText":"Colaborador promovido ou transferido.","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"10","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"observacoes":{"maxLength":2000,"minLength":0,"type":"string","description":"Notas de RH (substituição, comissão temporária ou detalhe de alocação) complementares ao motivo de alteração salarial, se existir; texto livre para auditoria administrativa.","example":"Interino durante reforma de cargo superior","x-ui":{"controlType":"textarea","editable":true,"group":"Principal","helpText":"Notas sobre a transição ou alocação.","icon":"notes","iconPosition":"left","label":"Observações","maxLength":"2000","maxLengthMessage":"Observações deve ter no máximo 2000 caracteres","name":"observacoes","order":"50","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Comando para registrar uma movimentacao de cargo de colaborador, vinculando funcionario, cargo, vigencia e observacoes para trilha de carreira."},"CreateIdentidadeSecretaDTO":{"required":["codinome","exposicaoPublica","funcionarioId","universo"],"type":"object","properties":{"codinome":{"maxLength":120,"minLength":0,"type":"string","description":"Nome de guerra / codinome usado em comunicacao publica e relatorios de missao; nao substitui o CPF ou nome completo (RG/HR).","example":"Sombra Azul","x-domain-governance":{"aiUsage":{"reasoningUse":"deny","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"security","classification":"restricted","complianceTags":["INTERNAL_POLICY","SECURITY"],"confidence":1.0,"dataCategory":"operational","reason":"Vincular publicamente a identidade civil a este codinome compromete o sigilo e segurança operacional das missões.","source":"java.annotation"},"x-ui":{"controlType":"input","editable":true,"helpText":"Nome público (alter ego) do herói.","icon":"theater_comedy","iconPosition":"left","label":"Codinome","maxLength":"120","maxLengthMessage":"Codinome deve ter no máximo 120 caracteres","name":"codinome","required":true,"requiredMessage":"Codinome é obrigatório","resourceReference":{"resourceKey":"human-resources.identidades-secretas","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"exposicaoPublica":{"type":"boolean","description":"Se o codinome e divulgaveis a midia e parceiros externos; false implica restringir a equipas internas e operacoes classificadas (politica de exibicao).","example":true,"x-ui":{"controlType":"checkbox","editable":true,"helpText":"Permite a divulgação externa deste perfil.","icon":"visibility","iconPosition":"left","label":"Exposição Pública","name":"exposicaoPublica","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Exposição Pública é obrigatório","sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"}}},"funcionarioId":{"type":"integer","description":"Colaborador dono do alter ego: identificador do `Funcionario` a quem o codinome e o universo se aplicam.","format":"int32","example":2,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Colaborador associado ao perfil heroico.","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"universo":{"maxLength":120,"minLength":0,"type":"string","description":"Universo ou linha de origem usado para contextualizar a persona publica; livre, mas indexavel em catalogo narrativo e analitico.","example":"Terra-616","x-ui":{"controlType":"input","editable":true,"helpText":"Universo narrativo de origem (ex: Terra-1).","icon":"public","iconPosition":"left","label":"Universo","maxLength":"120","maxLengthMessage":"Universo deve ter no máximo 120 caracteres","name":"universo","quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Universo é obrigatório","sortable":true,"type":"text"}}},"description":"Comando para criar a persona publica de um colaborador, vinculando funcionario, codinome, universo e politica de exposicao sem aceitar campos civis resolvidos."},"CreateIncidenteDTO":{"required":["descricao","ocorridoEm"],"type":"object","properties":{"danosCivis":{"type":"number","description":"Prejuizo estimado a patrimonio civil; moeda de referencia do tenant.","format":"decimal","x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"icon":"payments","iconPosition":"left","label":"Danos Civis","locale":"pt-BR","name":"danosCivis","numericFormat":"currency","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"descricao":{"maxLength":2000,"minLength":0,"type":"string","description":"Narrativa do fato e evolucao; texto livre.","x-ui":{"controlType":"textarea","editable":true,"icon":"description","iconPosition":"left","label":"Descrição","maxLength":"2000","maxLengthMessage":"Descrição deve ter no máximo 2000 caracteres","name":"descricao","required":true,"requiredMessage":"Descrição é obrigatório","resourceReference":{"resourceKey":"operations.incidentes","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"feridos":{"minimum":0,"type":"integer","description":"Contagem de lesoes; inclui nao-heroi quando aplicavel.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"health_and_safety","iconPosition":"left","label":"Feridos","min":"0","name":"feridos","numericMin":"0","quickViewOrder":4,"quickViewVisible":true,"rangeMessage":"Feridos deve ser maior ou igual a 0","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"local":{"maxLength":200,"minLength":0,"type":"string","description":"Teatro ou ponto de impacto (endereco, coordenada textual).","x-ui":{"controlType":"input","editable":true,"icon":"location_on","iconPosition":"left","label":"Local","maxLength":"200","maxLengthMessage":"Local deve ter no máximo 200 caracteres","name":"local","sortable":true,"type":"text"}},"missaoId":{"type":"integer","description":"FK; missao onde o incidente ocorreu (missaoId).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/missoes/option-sources/mission/options/filter","icon":"flag","iconPosition":"left","label":"Missão","name":"missaoId","resourceReference":{"previewSurfaceId":"summary","resourceKey":"operations.missoes","surfaceId":"detail","valueField":"missaoId"},"sortable":true,"type":"number","valueField":"id"}},"mortos":{"minimum":0,"type":"integer","description":"Falecidos vinculados ao incidente; para acordo com regulador.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"health_and_safety","iconPosition":"left","label":"Mortos","min":"0","name":"mortos","numericMin":"0","quickViewOrder":5,"quickViewVisible":true,"rangeMessage":"Mortos deve ser maior ou igual a 0","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"ocorridoEm":{"type":"string","description":"Timestamp do incidente (fuso ancorado no registo).","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"event","iconPosition":"left","label":"Ocorrido em","name":"ocorridoEm","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Ocorrido em é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"severidade":{"type":"string","description":"Escala tatica; Severidade.","enum":["BAIXA","MEDIA","ALTA","CRITICA"],"x-ui":{"controlType":"select","editable":true,"icon":"emergency","iconPosition":"left","label":"Severidade","name":"severidade","options":[{"value":"BAIXA","label":"BAIXA"},{"value":"MEDIA","label":"MEDIA"},{"value":"ALTA","label":"ALTA"},{"value":"CRITICA","label":"CRITICA"}],"quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Comando para registrar um incidente operacional, capturando titulo, gravidade, status, localizacao e relacoes necessarias para resposta, auditoria e cobertura."},"CreateIndenizacaoDTO":{"required":["incidenteId","pago","valor"],"type":"object","properties":{"incidenteId":{"type":"integer","description":"Incidente de Operacoes que originou a cobertura: FK a Incidente; ancora danos, missao e responsavel operacional.","format":"int32","example":7,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/incidentes/option-sources/incident/options/filter","helpText":"Incidente que originou a indenização.","icon":"report_problem","iconPosition":"left","label":"Incidente","name":"incidenteId","required":true,"requiredMessage":"Incidente é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"pago":{"type":"boolean","description":"Indica se o valor foi liquidado (transferencia, ordem bancaria) no sentido de reconciliacao de RH; ainda pode exigir anexo de comprovante fora do DTO.","example":false,"x-ui":{"controlType":"checkbox","editable":true,"helpText":"Indica se o valor já foi transferido.","icon":"payments","iconPosition":"left","label":"Pago","name":"pago","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Pago é obrigatório","sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"}}},"processoNum":{"maxLength":100,"minLength":0,"type":"string","description":"Protocolo de sinistro ou processo administrativo; rastreio com a seguradora ou departamento de risco (nao e numero de processo judicial unificado automaticamente).","example":"SIN-2025-00412","x-ui":{"controlType":"input","editable":true,"helpText":"Número do processo ou protocolo do sinistro.","icon":"fingerprint","iconPosition":"left","label":"Número do Processo","maxLength":"100","maxLengthMessage":"Número do Processo deve ter no máximo 100 caracteres","name":"processoNum","resourceReference":{"resourceKey":"human-resources.indenizacoes","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"seguradora":{"maxLength":200,"minLength":0,"type":"string","description":"Entidade underwriter ou TPA que processa a reclamacao; vazio se a cobertura for assumida internamente.","example":"Cobertura Metropolis Mutual","x-ui":{"controlType":"input","editable":true,"helpText":"Empresa responsável pela cobertura.","icon":"label","iconPosition":"left","label":"Seguradora","maxLength":"200","maxLengthMessage":"Seguradora deve ter no máximo 200 caracteres","name":"seguradora","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text"}},"valor":{"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Montante em moeda do backend; valor alvo de cobertura acordada ou aprovada, nao necessariamente ja transferido (ver pago).","format":"decimal","example":25000.0,"x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"summarize_only"},"annotationType":"compliance","classification":"confidential","complianceTags":["INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"financial","reason":"Valores indenizatórios são acordos financeiros confidenciais entre a empresa, seguradora e as partes envolvidas.","source":"java.annotation"},"x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"helpText":"Montante aprovado para indenização.","icon":"payments","iconPosition":"left","label":"Valor","locale":"pt-BR","min":"0.00","name":"valor","numericFormat":"currency","numericMin":"0.00","quickViewOrder":1,"quickViewVisible":true,"rangeMessage":"Valor deve ser maior ou igual a 0.00","required":true,"requiredMessage":"Valor é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}}},"description":"Comando para registrar cobertura indenizatoria associada a incidente operacional, informando valor, liquidacao, seguradora, processo e incidente de origem."},"CreateLegacyPayCodeDTO":{"required":["active","code","description","payrollCategory","status"],"type":"object","properties":{"active":{"type":"boolean","description":"Sinal publico de uso operacional. Nao substitui as permissoes dinamicas avaliadas pelo provider de availability.","x-ui":{"controlType":"checkbox","editable":true,"group":"Governança","helpText":"Indica se o codigo pode ser usado em novos eventos.","icon":"toggle_on","iconPosition":"left","label":"Ativo","name":"active","order":"30","presentation":{"appearance":"soft","presenter":"status"},"quickViewOrder":4,"quickViewVisible":true,"required":true,"requiredMessage":"Ativo é obrigatório","sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"}}},"code":{"maxLength":40,"minLength":0,"type":"string","description":"Codigo operacional reconhecido pelo backend legado de folha para classificar eventos e rubricas.","example":"EVT-HAZARD","x-ui":{"controlType":"input","editable":true,"group":"Principal","helpText":"Codigo operacional usado pelo sistema legado de folha.","icon":"code","iconPosition":"left","label":"Código","maxLength":"40","maxLengthMessage":"Código deve ter no máximo 40 caracteres","name":"code","order":"10","presentation":{"appearance":"soft","presenter":"badge"},"required":true,"requiredMessage":"Código é obrigatório","resourceReference":{"resourceKey":"human-resources.legacy-pay-codes","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"description":{"maxLength":240,"minLength":0,"type":"string","description":"Descricao de negocio do codigo, usada por operadores para entender quando a rubrica deve ser aplicada.","x-ui":{"controlType":"textarea","editable":true,"group":"Principal","helpText":"Descricao de negocio exibida em telas e auditorias.","icon":"description","iconPosition":"left","label":"Descrição","maxLength":"240","maxLengthMessage":"Descrição deve ter no máximo 240 caracteres","name":"description","order":"20","quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Descrição é obrigatório","sortable":true,"type":"text"}},"payrollCategory":{"maxLength":80,"minLength":0,"type":"string","description":"Categoria de folha que orienta calculo, conferencia e conciliacao operacional.","example":"additional-pay","x-ui":{"controlType":"input","editable":true,"group":"Governança","helpText":"Grupo de classificacao da folha.","icon":"category","iconPosition":"left","label":"Categoria","maxLength":"80","maxLengthMessage":"Categoria deve ter no máximo 80 caracteres","name":"payrollCategory","order":"10","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Categoria é obrigatório","sortable":true,"type":"text"}},"status":{"maxLength":40,"minLength":0,"type":"string","description":"Estado operacional do codigo conforme guard do host legado; valores comuns sao ACTIVE, DRAFT e RETIRED.","example":"ACTIVE","x-ui":{"controlType":"input","editable":true,"group":"Governança","helpText":"Estado operacional retornado pelo legado.","icon":"flag","iconPosition":"left","label":"Status","maxLength":"40","maxLengthMessage":"Status deve ter no máximo 40 caracteres","name":"status","order":"20","presentation":{"appearance":"soft","presenter":"status"},"quickViewOrder":3,"quickViewVisible":true,"required":true,"requiredMessage":"Status é obrigatório","sortable":true,"type":"text"}}},"description":"Comando publico para criar codigo de folha cuja escrita sera delegada ao adaptador legado fake do quickstart."},"CreateLicencasOperacaoDTO":{"required":["acordoId","validoDe"],"type":"object","properties":{"acordoId":{"type":"integer","description":"Acordo regulatorio que fundamenta e outorga a licenca operacional.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/acordos-regulatorios/option-sources/agreement/options/filter","icon":"gavel","iconPosition":"left","label":"Acordo Regulatório","name":"acordoId","required":true,"requiredMessage":"Acordo Regulatório é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"equipeId":{"type":"integer","description":"Equipe tatica licenciada, como alternativa ou complemento a um titular individual.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/equipes/option-sources/team/options/filter","icon":"groups","iconPosition":"left","label":"Equipe","name":"equipeId","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"funcionarioId":{"type":"integer","description":"Colaborador titular quando a licenca operacional e pessoal.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"nivel":{"type":"string","description":"Classe de autorizacao (Poder restrito, TSI, etc.); LicencaNivel.","enum":["LOCAL","NACIONAL","GLOBAL","EXTRATERRESTRE"],"x-ui":{"controlType":"select","editable":true,"icon":"trending_up","iconPosition":"left","label":"Nível","name":"nivel","options":[{"value":"LOCAL","label":"LOCAL"},{"value":"NACIONAL","label":"NACIONAL"},{"value":"GLOBAL","label":"GLOBAL"},{"value":"EXTRATERRESTRE","label":"EXTRATERRESTRE"}],"quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}},"validoAte":{"type":"string","description":"Fim de vigencia da licenca; nulo indica autorizacao sem termino registrado ou em renovacao.","format":"date","x-ui":{"controlType":"date","editable":true,"icon":"event","iconPosition":"left","label":"Válido Até","name":"validoAte","quickViewOrder":6,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"validoDe":{"type":"string","description":"Inicio de vigencia da licenca.","format":"date","x-ui":{"controlType":"date","editable":true,"icon":"event","iconPosition":"left","label":"Válido De","name":"validoDe","quickViewOrder":5,"quickViewVisible":true,"required":true,"requiredMessage":"Válido De é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"date"}}}},"description":"Comando para conceder uma licenca operacional baseada em acordo regulatorio, vinculando colaborador ou equipe, classe de autorizacao e janela de vigencia."},"CreateMencoesMidiaDTO":{"required":["veiculo"],"type":"object","properties":{"funcionarioId":{"type":"integer","description":"Herói citado na peca de midia; FK ao Funcionario. Usado para cruzar com Reputacao e perfil publico.","format":"int32","example":2,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Relacionamentos","helpText":"Colaborador mencionado na mídia.","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"10","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"publicadoEm":{"type":"string","description":"Instante de publicacao referido na fonte; linha de tempo de reputacao e janela de reaccao.","format":"date-time","example":"2025-03-10T08:00:00Z","x-ui":{"controlType":"dateTime","displayFormat":"dd/MM/yyyy HH:mm","editable":true,"group":"Publicação","helpText":"Data e hora da publicação da menção.","icon":"event","iconPosition":"left","label":"Publicado Em","locale":"pt-BR","name":"publicadoEm","numericFormat":"date-time","order":"40","quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"sentimento":{"type":"string","description":"Classificacao automatica ou curada: NEG (crise), NEU, POS. Alimenta agregacoes e pode disparar governanca de resposta.","enum":["NEG","NEU","POS"],"x-ui":{"controlType":"select","editable":true,"group":"Publicação","helpText":"Classificação da menção (Positiva, Negativa, Neutra).","icon":"mood","iconPosition":"left","label":"Sentimento","name":"sentimento","options":[{"value":"NEG","label":"NEG"},{"value":"NEU","label":"NEU"},{"value":"POS","label":"POS"}],"order":"20","presentation":{"appearance":"soft","presenter":"status"},"quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}},"url":{"maxLength":500,"minLength":0,"type":"string","description":"Ligacao canonica a materia original para verificacao e direito de resposta; tratar conteudo externo (LGPD, copyright) fora do armazenamento de texto longo.","example":"https://midia.exemplo.com/nota/2025/hero-ops","x-ui":{"controlType":"url","editable":true,"group":"Publicação","helpText":"Link para a matéria original.","icon":"link","iconPosition":"left","label":"URL","maxLength":"500","maxLengthMessage":"URL deve ter no máximo 500 caracteres","name":"url","order":"30","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"url"}},"veiculo":{"maxLength":200,"minLength":0,"type":"string","description":"Outlet ou canal (jornal, portal, programa) onde a referencia foi publicada; nao e o URL completo (veja url).","example":"Metropolis Times","x-ui":{"controlType":"input","editable":true,"group":"Publicação","helpText":"Canal de publicação (ex: Jornal, Blog).","icon":"newspaper","iconPosition":"left","label":"Veículo","maxLength":"200","maxLengthMessage":"Veículo deve ter no máximo 200 caracteres","name":"veiculo","order":"10","required":true,"requiredMessage":"Veículo é obrigatório","resourceReference":{"resourceKey":"human-resources.mencoes-midia","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}}},"description":"Comando para registrar uma evidencia de midia associada a colaborador ou persona publica, com veiculo, sentimento, URL e data de publicacao para reputacao."},"CreateMissaoDTO":{"required":["prioridade","status","titulo"],"type":"object","properties":{"ameacaId":{"type":"integer","description":"Referencia a ameaca de risco associada; enriquecimento e SLAs vêm do servico de risk intelligence.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/risk-intelligence/ameacas/option-sources/threat/options/filter","icon":"warning","iconPosition":"left","label":"Ameaça","name":"ameacaId","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"fimPrev":{"type":"string","description":"Janela planejada de termino, usada em planeamento de frota e folgas.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"event","iconPosition":"left","label":"Fim Previsto","name":"fimPrev","quickViewOrder":5,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"fimReal":{"type":"string","description":"Encerramento operacional; necessario para gatilhos de faturamento e desmobilizacao de recursos.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"event","iconPosition":"left","label":"Fim Real","name":"fimReal","sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"inicioPrev":{"type":"string","description":"Janela planejada de inicio (timezone da aplicacao/tenant).","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"event","iconPosition":"left","label":"Início Previsto","name":"inicioPrev","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"inicioReal":{"type":"string","description":"Timestamp efetivo de inicio, alimenta auditoria e relatorios de atraso.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"event","iconPosition":"left","label":"Início Real","name":"inicioReal","sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"local":{"maxLength":200,"minLength":0,"type":"string","description":"Area ou endereco operacional; pode conter classificacoes nao publicas, devendo ser resumido em canais nao confiaveis.","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"summarize_only"},"annotationType":"security","classification":"confidential","complianceTags":["INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"operational","reason":"Local operacional da missao.","source":"java.annotation"},"x-ui":{"controlType":"input","editable":true,"icon":"location_on","iconPosition":"left","label":"Local","maxLength":"200","maxLengthMessage":"Local deve ter no máximo 200 caracteres","name":"local","sortable":true,"type":"text"}},"objetivo":{"maxLength":4000,"minLength":0,"type":"string","description":"Narrativa do objetivo operacional; pode conter taticas, restricoes e coordenadas -- resumo e governanca restringem exposicao a IA.","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"summarize_only"},"annotationType":"security","classification":"confidential","complianceTags":["INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"operational","reason":"Objetivo operacional da missao.","source":"java.annotation"},"x-ui":{"controlType":"textarea","editable":true,"icon":"flag","iconPosition":"left","label":"Objetivo","maxLength":"4000","maxLengthMessage":"Objetivo deve ter no máximo 4000 caracteres","name":"objetivo","sortable":true,"type":"text"}},"prioridade":{"type":"string","description":"Nivel de urgencia operacional; afeta alocacao de recursos e SLAs de equipa.","enum":["BAIXA","MEDIA","ALTA","CRITICA"],"x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"summarize_only"},"annotationType":"security","classification":"confidential","complianceTags":["INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"operational","reason":"Prioridade operacional da missao.","source":"java.annotation"},"x-ui":{"controlType":"select","editable":true,"icon":"priority_high","iconPosition":"left","label":"Prioridade","name":"prioridade","options":[{"value":"BAIXA","label":"BAIXA"},{"value":"MEDIA","label":"MEDIA"},{"value":"ALTA","label":"ALTA"},{"value":"CRITICA","label":"CRITICA"}],"quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Prioridade é obrigatório","sortable":true,"type":"text"}},"status":{"type":"string","description":"Ponto do fluxo de vida da missao; governa acoes, licencas e publicacao em dashboards regulados.","enum":["PLANEJADA","EM_ANDAMENTO","PAUSADA","CONCLUIDA","FALHOU"],"x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"allow"},"annotationType":"compliance","classification":"internal","complianceTags":["INTERNAL_POLICY","REGULATORY"],"confidence":1.0,"dataCategory":"legal","reason":"Status governado do ciclo operacional da missao.","source":"java.annotation"},"x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","options":[{"value":"PLANEJADA","label":"PLANEJADA"},{"value":"EM_ANDAMENTO","label":"EM_ANDAMENTO"},{"value":"PAUSADA","label":"PAUSADA"},{"value":"CONCLUIDA","label":"CONCLUIDA"},{"value":"FALHOU","label":"FALHOU"}],"quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Status é obrigatório","sortable":true,"type":"text"}},"titulo":{"maxLength":200,"minLength":0,"type":"string","description":"Titulo curto exibido em listas e aprovacoes; identifica a missao de forma unica perante a equipa operacional.","example":"Reconhecimento setor 7","x-ui":{"controlType":"input","editable":true,"icon":"title","iconPosition":"left","label":"Título","maxLength":"200","maxLengthMessage":"Título deve ter no máximo 200 caracteres","name":"titulo","required":true,"requiredMessage":"Título é obrigatório","resourceReference":{"previewSurfaceId":"summary","resourceKey":"operations.missoes","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}}},"description":"Comando para abrir uma missao operacional com titulo, objetivo, prioridade, status inicial, local, ameaca governada e janela prevista. A missao criada ainda nao inclui participantes, eventos ou contexto regulatorio derivado; esses recursos sao relacionados por surfaces e actions proprias."},"CreateMissaoEventoDTO":{"required":["missaoId","ocorridoEm"],"type":"object","properties":{"descricao":{"maxLength":4000,"minLength":0,"type":"string","description":"Detalhe do evento; suporta SITREP e anexar decisoes de campo.","x-ui":{"controlType":"textarea","editable":true,"icon":"description","iconPosition":"left","label":"Descrição","maxLength":"4000","maxLengthMessage":"Descrição deve ter no máximo 4000 caracteres","name":"descricao","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"text"}},"missaoId":{"type":"integer","description":"Missao operacional a que o evento da linha do tempo pertence.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/missoes/option-sources/mission/options/filter","icon":"flag","iconPosition":"left","label":"Missão","name":"missaoId","required":true,"requiredMessage":"Missão é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"ocorridoEm":{"type":"string","description":"Instante do acontecimento (linha de tempo tatica).","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"event","iconPosition":"left","label":"Ocorrido Em","name":"ocorridoEm","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Ocorrido Em é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"tipo":{"type":"string","description":"Categoria (partida, contato, extracao, etc.); MissaoEventoTipo.","enum":["CONTATO","COMBATE","EXFIL","EXTRA","INTEL","SOS"],"x-ui":{"controlType":"select","editable":true,"icon":"category","iconPosition":"left","label":"Tipo","name":"tipo","options":[{"value":"CONTATO","label":"CONTATO"},{"value":"COMBATE","label":"COMBATE"},{"value":"EXFIL","label":"EXFIL"},{"value":"EXTRA","label":"EXTRA"},{"value":"INTEL","label":"INTEL"},{"value":"SOS","label":"SOS"}],"quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Comando para registrar um marco na linha do tempo de uma missao, vinculando categoria, timestamp e narrativa para auditoria, acompanhamento e debriefing."},"CreateMissaoParticipanteDTO":{"required":["funcionarioId","missaoId","ordem","principal"],"type":"object","properties":{"funcionarioFotoUrl":{"type":"string","description":"URL da foto de perfil do funcionário (read model).","x-ui":{"controlType":"avatar","editable":true,"formHidden":true,"icon":"account_circle","iconPosition":"left","label":"Foto","name":"funcionarioFotoUrl","order":"5","readOnly":true,"sortable":true,"type":"url"}},"funcionarioId":{"type":"integer","description":"Colaborador escalado para participar da missão.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"20","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"missaoId":{"type":"integer","description":"Missão operacional em que o colaborador será escalado.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/missoes/option-sources/mission/options/filter","icon":"flag","iconPosition":"left","label":"Missão","name":"missaoId","order":"10","required":true,"requiredMessage":"Missão é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"ordem":{"type":"integer","description":"Ordem de atuação no plano da missão; zero representa a primeira posição.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"flag","iconPosition":"left","label":"Ordem","name":"ordem","order":"40","quickViewOrder":3,"quickViewVisible":true,"required":true,"requiredMessage":"Ordem é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"number"},"width":"md"}},"papel":{"type":"string","description":"Função tática desempenhada pelo colaborador durante a missão.","enum":["LIDER","COMBATE","SUPORTE","INTEL","NEGOCIACAO"],"x-ui":{"controlType":"select","editable":true,"icon":"flag","iconPosition":"left","label":"Papel","name":"papel","options":[{"value":"LIDER","label":"LIDER"},{"value":"COMBATE","label":"COMBATE"},{"value":"SUPORTE","label":"SUPORTE"},{"value":"INTEL","label":"INTEL"},{"value":"NEGOCIACAO","label":"NEGOCIACAO"}],"order":"30","quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text","width":"md"}},"principal":{"type":"boolean","description":"Indica se o colaborador é a principal referência tática desta missão.","x-ui":{"controlType":"toggle","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Principal","name":"principal","order":"50","required":true,"requiredMessage":"Principal é obrigatório","sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"},"width":"md"}},"resultado":{"type":"string","description":"Resultado individual registrado após o encerramento ou debriefing da missão.","enum":["OK","FERIDO","DESAPARECIDO","MORTO","NA"],"x-ui":{"controlType":"select","editable":true,"icon":"flag","iconPosition":"left","label":"Resultado","name":"resultado","options":[{"value":"OK","label":"OK"},{"value":"FERIDO","label":"FERIDO"},{"value":"DESAPARECIDO","label":"DESAPARECIDO"},{"value":"MORTO","label":"MORTO"},{"value":"NA","label":"NA"}],"order":"60","quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"text","width":"md"}}},"description":"Comando para incluir um colaborador na equipe de uma missão, definindo papel, ordem de atuação, liderança e resultado esperado."},"CreateProcurementCompanyDTO":{"type":"object","properties":{"city":{"type":"string","description":"Municipio sede para logistica e fisco.","x-ui":{"controlType":"input","editable":true,"icon":"location_city","iconPosition":"left","label":"Cidade","name":"city","order":"40","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"text"}},"code":{"type":"string","description":"Codigo interno ou de integracao (ERP, filial).","x-ui":{"controlType":"input","editable":true,"icon":"tag","iconPosition":"left","label":"Codigo","name":"code","order":"10","quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}},"disabledReason":{"type":"string","description":"Texto de auditoria quando status impede novos pedidos ou contratos.","x-ui":{"controlType":"input","editable":true,"icon":"notes","iconPosition":"left","label":"Motivo de bloqueio","name":"disabledReason","order":"70","sortable":true,"type":"text"}},"documentNumber":{"type":"string","description":"CNPJ ou documento equivalente; usado em compliance e nota.","x-ui":{"controlType":"input","editable":true,"icon":"fingerprint","iconPosition":"left","label":"Documento","name":"documentNumber","order":"30","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text"}},"legalName":{"type":"string","description":"Razao social ou nome comercial legal.","x-ui":{"controlType":"input","editable":true,"icon":"business","iconPosition":"left","label":"Razao social","name":"legalName","order":"20","required":true,"requiredMessage":"Razao social é obrigatório","resourceReference":{"resourceKey":"procurement.companies","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"state":{"type":"string","description":"Unidade federativa (sigla).","x-ui":{"controlType":"input","editable":true,"icon":"map","iconPosition":"left","label":"UF","name":"state","order":"50","quickViewOrder":5,"quickViewVisible":true,"sortable":true,"type":"text"}},"status":{"type":"string","description":"Elegibilidade em compras (ACTIVE, INACTIVE, BLOCKED).","x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","order":"60","quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Comando para cadastrar uma empresa compradora no procurement, com identificacao fiscal, localidade e elegibilidade inicial para compras."},"CreateProcurementContractDTO":{"type":"object","properties":{"companyId":{"type":"integer","description":"FK; empresa compradora (companyId).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/procurement/companies/option-sources/company/options/filter","icon":"business","iconPosition":"left","label":"Empresa","name":"companyId","order":"10","resourceReference":{"resourceKey":"procurement.companies","surfaceId":"detail","valueField":"companyId"},"sortable":true,"type":"number","valueField":"id"}},"currency":{"type":"string","description":"Codigo ISO da moeda do contrato (ex. BRL, USD).","x-ui":{"controlType":"input","editable":true,"icon":"payments","iconPosition":"left","label":"Moeda","name":"currency","order":"50","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text"}},"number":{"type":"string","description":"Numero legal do contrato ou aditivo mestre.","x-ui":{"controlType":"input","editable":true,"icon":"pin","iconPosition":"left","label":"Numero","name":"number","order":"30","required":true,"requiredMessage":"Numero é obrigatório","resourceReference":{"resourceKey":"procurement.contracts","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"supplierId":{"type":"integer","description":"FK; fornecedor contratado (supplierId).","format":"int32","x-ui":{"controlType":"entityLookup","dependentField":"companyId","displayField":"label","editable":true,"endpoint":"/api/procurement/suppliers/option-sources/supplier/options/filter","icon":"storefront","iconPosition":"left","label":"Fornecedor","name":"supplierId","order":"20","resetOnDependentChange":true,"sortable":true,"type":"number","valueField":"id"}},"supplierName":{"type":"string","description":"Nome do fornecedor denormalizado para listagem e busca (read model).","x-ui":{"controlType":"input","editable":true,"icon":"storefront","iconPosition":"left","label":"Fornecedor","name":"supplierName","order":"40","quickViewOrder":2,"quickViewVisible":true,"resourceReference":{"resourceKey":"procurement.suppliers","surfaceId":"detail","valueField":"supplierId"},"sortable":true,"type":"text"}},"validUntil":{"type":"string","description":"Fim de vigencia; precos e pedidos obedecem a esta data.","format":"date","x-ui":{"controlType":"date","editable":true,"icon":"event","iconPosition":"left","label":"Valido ate","name":"validUntil","order":"60","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"date"}}}},"description":"Comando para cadastrar contrato inicialmente DRAFT. A assinatura exige a action sign; status e motivo de suspensao nao sao campos cadastrais."},"CreateProcurementProductDTO":{"type":"object","properties":{"categoryName":{"type":"string","description":"Categoria de linha para aprovacoes e relatorios.","x-ui":{"controlType":"input","editable":true,"icon":"category","iconPosition":"left","label":"Categoria","name":"categoryName","order":"50","quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"text"}},"companyId":{"type":"integer","description":"FK; tenant ou empresa detentora do catalogo (companyId).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/procurement/companies/option-sources/company/options/filter","icon":"business","iconPosition":"left","label":"Empresa","name":"companyId","order":"10","resourceReference":{"resourceKey":"procurement.companies","surfaceId":"detail","valueField":"companyId"},"sortable":true,"type":"number","valueField":"id"}},"contractId":{"type":"integer","description":"FK; contrato que rege preco e disponibilidade (contractId).","format":"int32","x-ui":{"controlType":"entityLookup","dependentField":"companyId","displayField":"label","editable":true,"endpoint":"/api/procurement/contracts/option-sources/contract/options/filter","icon":"contract","iconPosition":"left","label":"Contrato","name":"contractId","order":"20","resetOnDependentChange":true,"resourceReference":{"resourceKey":"procurement.contracts","surfaceId":"detail","valueField":"contractId"},"sortable":true,"type":"number","valueField":"id"}},"disabledReason":{"type":"string","description":"Explicacao quando o item nao pode ser requisitado.","x-ui":{"controlType":"input","editable":true,"icon":"notes","iconPosition":"left","label":"Motivo de bloqueio","name":"disabledReason","order":"90","sortable":true,"type":"text"}},"name":{"type":"string","description":"Denominacao comercial exibida em compras e recebimento.","x-ui":{"controlType":"input","editable":true,"icon":"inventory_2","iconPosition":"left","label":"Produto","name":"name","order":"40","required":true,"requiredMessage":"Produto é obrigatório","resourceReference":{"resourceKey":"procurement.products","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"sku":{"type":"string","description":"Codigo de item alfanumerico (pedido, XML, conciliacao).","x-ui":{"controlType":"input","editable":true,"icon":"inventory_2","iconPosition":"left","label":"SKU","name":"sku","order":"30","quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"SKU é obrigatório","sortable":true,"type":"text"}},"status":{"type":"string","description":"Elegibilidade do item (ativo, inativo, bloqueado, etc.).","x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","order":"80","quickViewOrder":5,"quickViewVisible":true,"sortable":true,"type":"text"}},"stockAvailable":{"type":"integer","description":"Quantidade disponivel na unidade de medida do item (saldos de demonstracao).","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"inventory_2","iconPosition":"left","label":"Estoque","name":"stockAvailable","order":"60","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"unitOfMeasure":{"type":"string","description":"Unidade de medida (ex. UN, CX); amarra a quantidade de pedido.","x-ui":{"controlType":"input","editable":true,"icon":"inventory_2","iconPosition":"left","label":"Unidade","name":"unitOfMeasure","order":"70","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Comando para cadastrar um item de catalogo de compras, vinculando empresa, contrato, SKU, unidade, estoque inicial e elegibilidade."},"CreateProcurementPurchaseOrderDTO":{"type":"object","properties":{"companyId":{"type":"integer","description":"Empresa compradora; filtra fornecedores, contratos e regras fiscais aplicaveis.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/procurement/companies/option-sources/company/options/filter","icon":"business","iconPosition":"left","label":"Empresa","name":"companyId","order":"10","required":true,"requiredMessage":"Empresa é obrigatório","resourceReference":{"resourceKey":"procurement.companies","surfaceId":"detail","valueField":"companyId"},"sortable":true,"type":"number","valueField":"id"}},"contractId":{"type":"integer","description":"Contrato de abastecimento com o fornecedor, quando a politica de compra exigir vinculacao legal.","format":"int32","x-ui":{"controlType":"entityLookup","dependentField":"supplierId","displayField":"label","editable":true,"endpoint":"/api/procurement/contracts/option-sources/contract/options/filter","icon":"contract","iconPosition":"left","label":"Contrato","name":"contractId","order":"30","resetOnDependentChange":true,"resourceReference":{"resourceKey":"procurement.contracts","surfaceId":"detail","valueField":"contractId"},"sortable":true,"type":"number","valueField":"id"}},"currency":{"type":"string","description":"Codigo ISO da moeda do pedido (ex. BRL, USD), alinhado a regras de arredondamento do ERP.","x-ui":{"controlType":"input","editable":true,"icon":"payments","iconPosition":"left","label":"Moeda","name":"currency","order":"60","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"text"}},"orderDate":{"type":"string","description":"Data de emissao do pedido; ancora a competencia de estoque e faturamento.","format":"date","x-ui":{"controlType":"date","editable":true,"icon":"event","iconPosition":"left","label":"Data do pedido","name":"orderDate","order":"50","quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"productId":{"type":"integer","description":"Item de catalogo a adquirir, respeitando precos e unidades do contrato.","format":"int32","x-ui":{"controlType":"entityLookup","dependentField":"contractId","displayField":"label","editable":true,"endpoint":"/api/procurement/products/option-sources/product/options/filter","icon":"inventory_2","iconPosition":"left","label":"Produto","name":"productId","order":"40","required":true,"requiredMessage":"Produto é obrigatório","resetOnDependentChange":true,"resourceReference":{"resourceKey":"procurement.products","surfaceId":"detail","valueField":"productId"},"sortable":true,"type":"number","valueField":"id"}},"quantity":{"type":"integer","description":"Quantidade encomendada na unidade de medida do produto, sujeita a minimo e multiplos de embalagem.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"format_list_numbered","iconPosition":"left","label":"Quantidade","name":"quantity","order":"70","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"supplierId":{"type":"integer","description":"Fornecedor (lookup governado: apenas fornecedores ativos/homologados no contexto da empresa).","format":"int32","x-ui":{"controlType":"entityLookup","dependentField":"companyId","description":"Lookup governado pela option-source supplier: apenas fornecedores ACTIVE ou APPROVED podem ser selecionados; INACTIVE e BLOCKED ficam indisponiveis.","displayField":"label","editable":true,"endpoint":"/api/procurement/suppliers/option-sources/supplier/options/filter","icon":"storefront","iconPosition":"left","label":"Fornecedor","name":"supplierId","order":"20","required":true,"requiredMessage":"Fornecedor é obrigatório","resetOnDependentChange":true,"resourceReference":{"resourceKey":"procurement.suppliers","surfaceId":"detail","valueField":"supplierId"},"sortable":true,"type":"number","valueField":"id"}}},"description":"Comando para emitir um pedido de compra vinculando empresa, fornecedor, contrato opcional, produto, quantidade, moeda e data. A selecao de fornecedor e produto deve respeitar option sources e politicas publicadas de procurement. A criacao inicia o pedido em DRAFT; status, motivo e datas de lifecycle sao escritos exclusivamente pelas actions approve, cancel e receive."},"CreateProcurementSupplierDTO":{"type":"object","properties":{"code":{"type":"string","description":"Codigo unico alfanumerico usado em pedidos, XML e conciliacoes fiscais.","example":"FORN-00042","x-ui":{"controlType":"input","editable":true,"icon":"tag","iconPosition":"left","label":"Codigo","name":"code","order":"20","quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}},"companyId":{"type":"integer","description":"Tenant ou empresa a que o cadastro de fornecedor se subordina em compras multibase.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/procurement/companies/option-sources/company/options/filter","icon":"business","iconPosition":"left","label":"Empresa","name":"companyId","order":"10","resourceReference":{"resourceKey":"procurement.companies","surfaceId":"detail","valueField":"companyId"},"sortable":true,"type":"number","valueField":"id"}},"documentNumber":{"type":"string","description":"CNPJ, CPF ou outro registro legal conforme a politica de cadastro; dado sensiveis para KYC e fisco.","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"personal","reason":"Documento de identificacao cadastral do fornecedor.","source":"java.annotation"},"x-ui":{"controlType":"input","editable":true,"icon":"fingerprint","iconPosition":"left","label":"Documento","name":"documentNumber","order":"40","quickViewOrder":5,"quickViewVisible":true,"sortable":true,"type":"text"}},"homologationStatus":{"type":"string","description":"Estagio de aprovacao no processo de sourcing (PENDING, APPROVED, etc., conforme enum/tabela de negocio).","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"allow"},"annotationType":"compliance","classification":"internal","complianceTags":["INTERNAL_POLICY","REGULATORY"],"confidence":1.0,"dataCategory":"legal","reason":"Homologacao necessaria para compras governadas.","source":"java.annotation"},"x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Homologacao","name":"homologationStatus","order":"50","quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"text"}},"legalName":{"type":"string","description":"Razao social ou denominacao completa para contratos, cartas de homologacao e notas fiscais.","x-ui":{"controlType":"input","editable":true,"icon":"business","iconPosition":"left","label":"Razao social","name":"legalName","order":"30","required":true,"requiredMessage":"Razao social é obrigatório","resourceReference":{"resourceKey":"procurement.suppliers","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"riskLevel":{"type":"string","description":"Categoria de risco de terceiro; impacta aprovacoes, limites de pedido e monitoramento.","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"summarize_only"},"annotationType":"security","classification":"confidential","complianceTags":["INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"operational","reason":"Nivel de risco operacional do fornecedor.","source":"java.annotation"},"x-ui":{"controlType":"select","editable":true,"icon":"warning","iconPosition":"left","label":"Risco","name":"riskLevel","order":"60","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Comando para cadastrar fornecedor inicialmente INACTIVE. A ativacao exige a action reinstate; status e motivo de bloqueio nao sao campos cadastrais."},"CreateReputacaoDTO":{"required":["funcionarioId"],"type":"object","properties":{"atualizadoEm":{"type":"string","description":"Momento (com offset) da ultima recomputacao dos scores; uso para frescor do dado e caches de UI.","format":"date-time","example":"2025-04-20T14:30:00Z","x-ui":{"controlType":"dateTime","displayFormat":"dd/MM/yyyy HH:mm","editable":true,"group":"Indicadores","helpText":"Data da última atualização dos scores.","icon":"event","iconPosition":"left","label":"Atualizado Em","locale":"pt-BR","name":"atualizadoEm","numericFormat":"date-time","order":"30","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"funcionarioId":{"type":"integer","description":"Colaborador a quem os scores se referem; FK ao Funcionario. Sem este id o snapshot nao tem dono.","format":"int32","example":3,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Relacionamentos","helpText":"Colaborador avaliado.","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"10","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"scoreGovernamental":{"type":"integer","description":"Indice de alinhamento a politicas internas e compliance em missoes; separado do score publico para confrontar risco operacional vs imagem.","format":"int32","example":88,"x-ui":{"controlType":"numericTextBox","editable":true,"group":"Indicadores","helpText":"Índice de alinhamento com regras governamentais.","icon":"gavel","iconPosition":"left","label":"Score Governamental","name":"scoreGovernamental","order":"20","quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"scorePublico":{"type":"integer","description":"Indice derivado de visibilidade e sentimento de midia; escala e pesos pertencem ao modelo operacional do quickstart, nao a auditoria externa.","format":"int32","example":72,"x-ui":{"controlType":"numericTextBox","editable":true,"group":"Indicadores","helpText":"Índice de reputação junto ao público (0 a 100).","icon":"analytics","iconPosition":"left","label":"Score Público","name":"scorePublico","order":"10","quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}}},"description":"Comando para registrar snapshot reputacional de colaborador, informando scores publico e governamental usados por rankings, perfil e analises de risco operacional."},"CreateSinaisSocorroDTO":{"required":["origem","status"],"type":"object","properties":{"abertoEm":{"type":"string","description":"Abertura do sinal; ancora a linha de tempo de resposta.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"group":"Datas","icon":"event","iconPosition":"left","label":"Aberto em","name":"abertoEm","order":"10","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"fechadoEm":{"type":"string","description":"Encerramento; nulo se ainda ativo na central.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"group":"Datas","icon":"event","iconPosition":"left","label":"Fechado em","name":"fechadoEm","order":"20","quickViewOrder":5,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"local":{"maxLength":200,"minLength":0,"type":"string","description":"Ponto de gravidade ou endereco aproximado do incidente.","x-ui":{"controlType":"input","editable":true,"group":"Principal","icon":"location_on","iconPosition":"left","label":"Local","maxLength":"200","maxLengthMessage":"Local deve ter no máximo 200 caracteres","name":"local","order":"20","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text"}},"nivelAmeaca":{"minimum":0,"type":"integer","description":"Escala tatica 0+; reforco de prioridade de QRF.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"group":"Principal","icon":"warning","iconPosition":"left","label":"Nível de Ameaça","min":"0","name":"nivelAmeaca","numericMin":"0","order":"30","quickViewOrder":2,"quickViewVisible":true,"rangeMessage":"Nível de Ameaça deve ser maior ou igual a 0","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"origem":{"maxLength":200,"minLength":0,"type":"string","description":"Entidade que abriu o sinal (cidade, asset, unidade de campo).","x-ui":{"controlType":"input","editable":true,"group":"Principal","icon":"source","iconPosition":"left","label":"Origem","maxLength":"200","maxLengthMessage":"Origem deve ter no máximo 200 caracteres","name":"origem","order":"10","required":true,"requiredMessage":"Origem é obrigatório","resourceReference":{"resourceKey":"operations.sinais-socorro","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"status":{"type":"string","description":"Ciclo do chamado; SinalSocorroStatus.","enum":["ABERTO","EM_ATENDIMENTO","RESOLVIDO","FALSO"],"x-ui":{"controlType":"select","editable":true,"group":"Principal","icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","options":[{"value":"ABERTO","label":"ABERTO"},{"value":"EM_ATENDIMENTO","label":"EM_ATENDIMENTO"},{"value":"RESOLVIDO","label":"RESOLVIDO"},{"value":"FALSO","label":"FALSO"}],"order":"40","quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Status é obrigatório","sortable":true,"type":"text"}}},"description":"Comando para abrir um sinal de socorro operacional, registrando origem, severidade, localizacao e contexto para triagem e resposta."},"CreateVeiculoDTO":{"required":["nome","status"],"type":"object","properties":{"capacidade":{"minimum":0,"type":"integer","description":"Capacidade operacional de tripulacao, passageiros ou carga tatica usada no dimensionamento de sorties e missoes.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"location_city","iconPosition":"left","label":"Capacidade","min":"0","name":"capacidade","numericMin":"0","quickViewOrder":3,"quickViewVisible":true,"rangeMessage":"Capacidade deve ser maior ou igual a 0","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"nome":{"maxLength":200,"minLength":0,"type":"string","description":"Designacao oficial ou prefixo operacional da aeronave, embarcacao ou veiculo tatico na frota.","x-ui":{"controlType":"input","editable":true,"icon":"badge","iconPosition":"left","label":"Nome","maxLength":"200","maxLengthMessage":"Nome deve ter no máximo 200 caracteres","name":"nome","required":true,"requiredMessage":"Nome é obrigatório","resourceReference":{"resourceKey":"assets.veiculos","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"proprietarioId":{"type":"integer","description":"Colaborador responsavel primario pela custodia ou operacao preferencial do veiculo na frota.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","icon":"inventory_2","iconPosition":"left","label":"Proprietário","name":"proprietarioId","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"status":{"type":"string","description":"Estado de prontidao operacional do veiculo (OPERACIONAL, MANUTENCAO ou INOPERANTE), governado por workflow actions e auditado em availability-transitions.","enum":["OPERACIONAL","MANUTENCAO","INOPERANTE"],"x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","options":[{"value":"OPERACIONAL","label":"OPERACIONAL"},{"value":"MANUTENCAO","label":"MANUTENCAO"},{"value":"INOPERANTE","label":"INOPERANTE"}],"quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Status é obrigatório","sortable":true,"type":"text"}},"tipo":{"type":"string","description":"Modal ou classe de plataforma do veiculo (AEREO, TERRESTRE, MARITIMO ou ESPACIAL) para planejamento logistico.","enum":["AEREO","TERRESTRE","MARITIMO","ESPACIAL"],"x-ui":{"controlType":"select","editable":true,"icon":"category","iconPosition":"left","label":"Tipo","name":"tipo","options":[{"value":"AEREO","label":"AEREO"},{"value":"TERRESTRE","label":"TERRESTRE"},{"value":"MARITIMO","label":"MARITIMO"},{"value":"ESPACIAL","label":"ESPACIAL"}],"quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Comando para cadastrar um veiculo de frota operacional, informando designacao, tipo de plataforma, capacidade, responsavel e status inicial."},"CreateVeiculoMissaoUsoDTO":{"required":["missaoId","veiculoId"],"type":"object","properties":{"chegada":{"type":"string","description":"Instante de retorno/ pouso; nulo se sortie ainda ativa.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"flag","iconPosition":"left","label":"Chegada","name":"chegada","quickViewOrder":5,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"missaoId":{"type":"integer","description":"FK; operacao a que a sortie pertence (missaoId).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/missoes/option-sources/mission/options/filter","icon":"flag","iconPosition":"left","label":"Missão","name":"missaoId","required":true,"requiredMessage":"Missão é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"observacao":{"maxLength":2000,"minLength":0,"type":"string","description":"Notas tecnicas, danos ou consumiveis (texto livre).","x-ui":{"controlType":"textarea","editable":true,"icon":"notes","iconPosition":"left","label":"Observação","maxLength":"2000","maxLengthMessage":"Observação deve ter no máximo 2000 caracteres","name":"observacao","sortable":true,"type":"text"}},"partida":{"type":"string","description":"Instante de partida/ decolagem (fuso ancorado no registo).","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"flag","iconPosition":"left","label":"Partida","name":"partida","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"pilotoId":{"type":"integer","description":"FK; piloto responsavel (pilotoId).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","icon":"flag","iconPosition":"left","label":"Piloto","name":"pilotoId","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"veiculoId":{"type":"integer","description":"FK; ativo de frota utilizado (veiculoId).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/assets/veiculos/option-sources/vehicle/options/filter","icon":"directions_car","iconPosition":"left","label":"Veículo","name":"veiculoId","required":true,"requiredMessage":"Veículo é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}}},"description":"Comando para registrar o uso de um veiculo em uma missao, vinculando frota, missao, piloto, partida e observacoes da sortie."},"CursorPageBulkItemResultInteger":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/BulkItemResultInteger"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageBulkProposalItemResultInteger":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/BulkProposalItemResultInteger"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelAcordosRegulatorioDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceAcordosRegulatorioDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelAmeacaDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceAmeacaDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelBaseAcessoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceBaseAcessoDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelBaseDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceBaseDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelCargoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceCargoDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelDepartamentoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceDepartamentoDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelDependenteDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceDependenteDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelEnderecoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceEnderecoDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelEquipamentoAlocacaoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceEquipamentoAlocacaoDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelEquipamentoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceEquipamentoDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelEquipeDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceEquipeDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelEquipeMembroDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceEquipeMembroDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelEventosFolhaResponseDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceEventosFolhaResponseDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelExtraordinaryBenefitRequestResponse":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceExtraordinaryBenefitRequestResponse"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelFeriasAfastamentoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceFeriasAfastamentoDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelFolhasPagamentoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceFolhasPagamentoDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelFuncionarioDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceFuncionarioDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelFuncionarioHabilidadeDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceFuncionarioHabilidadeDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelHabilidadeDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceHabilidadeDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelHistoricoSalarialDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceHistoricoSalarialDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelHistoricosCargoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceHistoricosCargoDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelIdentidadeSecretaDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceIdentidadeSecretaDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelIncidenteDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceIncidenteDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelIndenizacaoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceIndenizacaoDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelLegacyPayCodeDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceLegacyPayCodeDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelLicencasOperacaoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceLicencasOperacaoDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelMencoesMidiaDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceMencoesMidiaDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelMissaoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceMissaoDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelMissaoEventoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceMissaoEventoDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelMissaoParticipanteDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceMissaoParticipanteDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelProcurementCompanyDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceProcurementCompanyDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelProcurementContractDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceProcurementContractDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelProcurementProductDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceProcurementProductDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelProcurementPurchaseOrderDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceProcurementPurchaseOrderDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelProcurementSupplierDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceProcurementSupplierDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelReputacaoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceReputacaoDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelSinaisSocorroDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceSinaisSocorroDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelVeiculoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceVeiculoDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelVeiculoMissaoUsoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceVeiculoMissaoUsoDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelVwAnalyticsAfastamentoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceVwAnalyticsAfastamentoDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelVwAnalyticsFolhaPagamentoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceVwAnalyticsFolhaPagamentoDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelVwIndicadoresIncidenteDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceVwIndicadoresIncidenteDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelVwPerfilHeroiDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceVwPerfilHeroiDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelVwRankingReputacaoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceVwRankingReputacaoDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelVwResumoMissoeDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceVwResumoMissoeDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CursorPageEntityModelVwSupplierProcurementFunnelDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceVwSupplierProcurementFunnelDTO"}},"next":{"type":"string"},"prev":{"type":"string"},"size":{"type":"integer","format":"int32"}}},"CustomProblemDetail":{"type":"object","properties":{"category":{"type":"string","enum":["BUSINESS_LOGIC","VALIDATION","SYSTEM","SECURITY","UNKNOWN"]},"code":{"type":"string"},"detail":{"type":"string","nullable":true},"instance":{"type":"string","format":"uri","nullable":true},"message":{"type":"string"},"status":{"type":"integer","format":"int32"},"target":{"type":"string"},"title":{"type":"string","nullable":true},"type":{"type":"string","format":"uri"}}},"DecisionBinding":{"type":"object","properties":{"bindingKey":{"type":"string"},"compositionPolicy":{"type":"string","enum":["AUGMENT","RESTRICT","PARAMETERIZE","REPLACE_EXACT"]},"dependsOn":{"type":"array","items":{"type":"string"}},"enabled":{"type":"boolean"},"executor":{"$ref":"#/components/schemas/RuleExecutorRef"},"falseDecision":{"type":"string","enum":["ALLOW","DENY","NOT_APPLICABLE","INCONCLUSIVE","TECHNICAL_ERROR"]},"falseReasonCode":{"type":"string"},"order":{"type":"integer","format":"int32"},"parameterization":{"$ref":"#/components/schemas/RuleParameterization"},"requiredFactPaths":{"type":"array","items":{"type":"string"}},"slotKey":{"type":"string"},"source":{"type":"string","enum":["SECURITY","PRODUCT","CUSTOMER","GENERATED_INFRASTRUCTURE"]}}},"DecisionSlot":{"type":"object","properties":{"aggregationPolicy":{"type":"string","enum":["SINGLE_RESULT","DENY_OVERRIDES"]},"cardinality":{"type":"string","enum":["SINGLE","MULTIPLE"]},"overridePolicy":{"type":"string","enum":["FORBIDDEN","RESTRICT_ONLY","PARAMETERIZABLE","REPLACEABLE"]},"parameterTemplate":{"$ref":"#/components/schemas/RuleParameterTemplate"},"slotKey":{"type":"string"},"stage":{"type":"string","enum":["PROTECTED_GUARD","DOMAIN_DECISION","POST_DECISION","TRANSFORMATION_INTENT","EFFECT_INTENT"]}}},"DepartamentoDTO":{"required":["codigo","nome"],"type":"object","properties":{"codigo":{"maxLength":20,"minLength":0,"type":"string","description":"Codigo interno estavel (sigla ou slug) para relatorios, filtros e referencias cruzadas; distinto do nome longo.","example":"OPS-EST","x-ui":{"controlType":"input","editable":true,"group":"Principal","helpText":"Sigla ou código interno para integração.","icon":"tag","iconPosition":"left","label":"Código","maxLength":"20","maxLengthMessage":"Código deve ter no máximo 20 caracteres","name":"codigo","order":"20","presentation":{"appearance":"soft","presenter":"badge"},"quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Código é obrigatório","sortable":true,"type":"text"}},"id":{"type":"integer","description":"Chave do departamento. Referenciada por colaboradores (lotacao), cargos e consultas; exposta em URLs REST.","format":"int32","example":1,"x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"group":"Principal","icon":"tag","iconPosition":"left","label":"ID","name":"id","order":"1","presentation":{"appearance":"soft","prefix":"#","presenter":"iconValue"},"readOnly":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"nome":{"maxLength":200,"minLength":0,"type":"string","description":"Designacao oficial do departamento (ex. Contingente Metropolitano, Inteligencia de Ameacas) para listagens e organogramas.","example":"Operacoes Estrategicas","x-ui":{"controlType":"input","editable":true,"group":"Principal","helpText":"Nome oficial do departamento.","icon":"apartment","iconPosition":"left","label":"Nome","maxLength":"200","maxLengthMessage":"Nome deve ter no máximo 200 caracteres","name":"nome","order":"10","required":true,"requiredMessage":"Nome é obrigatório","resourceReference":{"resourceKey":"human-resources.departamentos","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"responsavelId":{"type":"integer","description":"Identificador do funcionario (heroi) responsavel pelo departamento: aprovacoes de alocacao e ponto de contacto operacional.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Relacionamentos","helpText":"Líder responsável pelas aprovações.","icon":"supervisor_account","iconPosition":"left","label":"Responsável","name":"responsavelId","order":"10","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"responsavelNome":{"type":"string","description":"Nome de exibicao do responsavel (desnormalizado, somente leitura), resolvido pelo backend para a UI e listagens.","x-ui":{"controlType":"input","editable":true,"formHidden":true,"group":"Relacionamentos","helpText":"Nome do responsável (preenchido automaticamente).","icon":"supervisor_account","iconPosition":"left","label":"Responsável","name":"responsavelNome","order":"11","quickViewOrder":2,"quickViewVisible":true,"readOnly":true,"resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"responsavelId"},"sortable":true,"type":"text"}}},"description":"Unidade organizacional de RH: agrupa lotacoes, reporting e responsabilidades operacionais. O codigo curto identifica o departamento em integracoes; o responsavel e o heroi de referencia para aprovacoes operacionais dentro do escopo do departamento."},"DepartamentoFilterDTO":{"type":"object","properties":{"codigo":{"type":"string","description":"Codigo curto interno (ex.: OP-01); LIKE; nao e CNPJ.","x-ui":{"controlType":"input","editable":true,"helpText":"Filtrar por código ou sigla interna.","icon":"tag","iconPosition":"left","label":"Código","maxLength":"20","maxLengthMessage":"Código deve ter no máximo 20 caracteres","name":"codigo","order":"20","sortable":true,"type":"text"}},"nome":{"type":"string","description":"Nome da unidade (ex.: Operacoes Metropolis); LIKE no titulo departamental.","x-ui":{"controlType":"input","editable":true,"helpText":"Filtrar por nome do departamento.","icon":"badge","iconPosition":"left","label":"Nome do Departamento","maxLength":"200","maxLengthMessage":"Nome do Departamento deve ter no máximo 200 caracteres","name":"nome","order":"10","sortable":true,"type":"text"}},"responsavelId":{"type":"integer","description":"Funcionario responsavel pelo departamento; EQUAL por id (FK logica).","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Busca departamentos pelo líder ou responsável operacional.","icon":"badge","iconPosition":"left","label":"Responsável","name":"responsavelId","order":"30","sortable":true,"type":"number","valueField":"id"}}},"description":"Criterios de busca na arvore organizacional (nao e o Departamento persistido em edicao). Usado para localizar unidades por nome, codigo e responsavel antes de analisar estrutura, alocacao e governanca de lideranca."},"DependenteDTO":{"required":["dataNascimento","funcionarioId","nomeCompleto","parentesco"],"type":"object","properties":{"dataNascimento":{"type":"string","description":"Data de nascimento do dependente: base para idade, elegibilidade de auxilio-escola e, em declaracoes, idade fim de dependencia (referencia, nao regra legal automatica).","format":"date","example":"2016-04-20","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"restricted","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"sensitive_personal","reason":"Data de nascimento do dependente. Dado usado para inferir idade e elegibilidade; requer mascaramento.","source":"java.annotation"},"x-ui":{"controlType":"date","displayFormat":"dd/MM/yyyy","editable":true,"group":"Identificação","helpText":"Data de nascimento para cálculo de idade.","icon":"cake","iconPosition":"left","label":"Data de Nascimento","locale":"pt-BR","mask":"dd/MM/yyyy","max":"today","name":"dataNascimento","numericFormat":"date","order":"30","quickViewOrder":2,"quickViewVisible":true,"rangeMessage":"Data de Nascimento deve ser menor ou igual a today","required":true,"requiredMessage":"Data de Nascimento é obrigatório","sortable":true,"type":"text","valuePresentation":{"type":"date"}}},"funcionarioId":{"type":"integer","description":"Colaborador titular do vinculo familiar: o dependente liga-se a este `funcionarioId` (heroi) para beneficios e relatorios.","format":"int32","example":3,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Relacionamentos","helpText":"Colaborador titular vinculado ao dependente.","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"10","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"funcionarioNome":{"type":"string","description":"Nome do titular (desnormalizado, somente leitura) para exibicao em tabelas sem lookup extra.","x-ui":{"controlType":"input","editable":true,"formHidden":true,"group":"Relacionamentos","helpText":"Nome do titular (preenchido automaticamente).","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioNome","order":"11","quickViewOrder":3,"quickViewVisible":true,"readOnly":true,"resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"funcionarioId"},"sortable":true,"type":"text"}},"id":{"type":"integer","description":"Chave do registo de dependente. Vinculada a um unico titular (funcionario); usada em URLs e listagens de beneficiarios.","format":"int32","example":1,"x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"group":"Identificação","icon":"tag","iconPosition":"left","label":"Código","name":"id","order":"1","presentation":{"appearance":"soft","prefix":"#","presenter":"iconValue"},"readOnly":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"nomeCompleto":{"maxLength":200,"minLength":0,"type":"string","description":"Nome civil usado em declaracoes de imposto, plano de saude e contactos de emergencia; nao e pseudonimo de identidade secreta do heroi titular.","example":"Ana Soares","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"restricted","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"sensitive_personal","reason":"Nome civil do dependente. Identificador Pessoal (PII) sujeito a proteção legal de menores ou cônjuges.","source":"java.annotation"},"x-ui":{"controlType":"input","editable":true,"group":"Identificação","helpText":"Nome civil completo do dependente.","icon":"person","iconPosition":"left","label":"Nome Completo","maxLength":"200","maxLengthMessage":"Nome Completo deve ter no máximo 200 caracteres","name":"nomeCompleto","order":"10","required":true,"requiredMessage":"Nome Completo é obrigatório","resourceReference":{"resourceKey":"human-resources.dependentes","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"parentesco":{"maxLength":100,"minLength":0,"type":"string","description":"Grau de parentesco ou dependencia (ex. conjuge, filha, enteado) usado em regras de desconto e comprovacao; texto livre sujeito a validacao de negocio fora do DTO.","example":"filha","x-ui":{"controlType":"input","editable":true,"group":"Identificação","helpText":"Grau de parentesco (ex: filho, cônjuge).","icon":"family_restroom","iconPosition":"left","label":"Parentesco","maxLength":"100","maxLengthMessage":"Parentesco deve ter no máximo 100 caracteres","name":"parentesco","order":"20","quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Parentesco é obrigatório","sortable":true,"type":"text"}}},"description":"Membro da familia ou outro vinculo declarado associado a um colaborador no dominio de RH. Sustenta cenarios de beneficios, elegibilidade, IR e registo civil; tratar com o mesmo cuidado de dados pessoais (LGPD) que o titular."},"DependenteFilterDTO":{"type":"object","properties":{"dataNascimentoBetween":{"description":"Intervalo de datas de nascimento usado para estimar faixa etaria e validar elegibilidade temporal de beneficios.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null}}],"items":{"type":"string","format":"date","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":true},"startDate":{"type":"string","format":"date","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateRange","editable":true,"helpText":"Buscar nascidos entre duas datas.","icon":"event","iconPosition":"left","label":"Data de Nascimento","name":"dataNascimentoBetween","order":"40","sortable":true,"type":"date"}},"dataNascimentoOn":{"type":"string","description":"Data civil exata de nascimento quando a consulta precisa confirmar identidade ou localizar aniversariantes especificos.","format":"date","x-ui":{"controlType":"date","editable":true,"helpText":"Busca dependentes nascidos em uma data específica.","icon":"event","iconPosition":"left","label":"Nascimento em","name":"dataNascimentoOn","order":"50","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"funcionarioId":{"type":"integer","description":"Colaborador titular do vinculo familiar; restringe a busca aos dependentes associados a uma pessoa especifica.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Filtrar dependentes de um colaborador específico.","icon":"badge","iconPosition":"left","label":"Colaborador titular","name":"funcionarioId","order":"20","sortable":true,"type":"number","valueField":"id"}},"nomeCompleto":{"type":"string","description":"Nome civil do dependente usado para localizar vinculos familiares em atendimento ou revisao cadastral.","x-ui":{"controlType":"input","editable":true,"helpText":"Buscar dependentes por nome.","icon":"family_restroom","iconPosition":"left","label":"Nome do Dependente","maxLength":"200","maxLengthMessage":"Nome do Dependente deve ter no máximo 200 caracteres","name":"nomeCompleto","order":"10","sortable":true,"type":"text"}},"parentesco":{"type":"string","description":"Filtro por grau (filho, conjuge, etc.); LIKE sobre o texto de parentesco.","x-ui":{"controlType":"input","editable":true,"helpText":"Filtrar pelo grau de parentesco.","icon":"family_restroom","iconPosition":"left","label":"Grau de Parentesco","maxLength":"100","maxLengthMessage":"Grau de Parentesco deve ter no máximo 100 caracteres","name":"parentesco","order":"30","sortable":true,"type":"text"}}},"description":"Criterios de busca de dependentes para IR/beneficio (nao e o registo Dependente em edicao). Apoia atendimento cadastral, validacao de elegibilidade e revisao de vinculos familiares com minimizacao de dados pessoais."},"DistributionBucket":{"type":"object","properties":{"count":{"type":"integer","format":"int64"},"from":{"type":"object"},"key":{"type":"object"},"label":{"type":"string"},"to":{"type":"object"},"value":{"type":"number","format":"decimal"}}},"DistributionStatsRequest":{"type":"object","properties":{"bucketCount":{"type":"integer","format":"int32"},"bucketSize":{"type":"number","format":"decimal"},"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/GenericFilterDTO"},"limit":{"type":"integer","format":"int32"},"metric":{"$ref":"#/components/schemas/StatsMetricRequest"},"mode":{"type":"string","enum":["TERMS","HISTOGRAM"]},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]}}},"DistributionStatsRequestAcordosRegulatorioFilterDTO":{"type":"object","properties":{"bucketCount":{"type":"integer","format":"int32"},"bucketSize":{"type":"number","format":"decimal"},"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/AcordosRegulatorioFilterDTO"},"limit":{"type":"integer","format":"int32"},"metric":{"$ref":"#/components/schemas/StatsMetricRequest"},"mode":{"type":"string","enum":["TERMS","HISTOGRAM"]},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]}}},"DistributionStatsRequestEventosFolhaFilterDTO":{"type":"object","properties":{"bucketCount":{"type":"integer","format":"int32"},"bucketSize":{"type":"number","format":"decimal"},"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/EventosFolhaFilterDTO"},"limit":{"type":"integer","format":"int32"},"metric":{"$ref":"#/components/schemas/StatsMetricRequest"},"mode":{"type":"string","enum":["TERMS","HISTOGRAM"]},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]}}},"DistributionStatsRequestExtraordinaryBenefitRequestFilter":{"type":"object","properties":{"bucketCount":{"type":"integer","format":"int32"},"bucketSize":{"type":"number","format":"decimal"},"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/ExtraordinaryBenefitRequestFilter"},"limit":{"type":"integer","format":"int32"},"metric":{"$ref":"#/components/schemas/StatsMetricRequest"},"mode":{"type":"string","enum":["TERMS","HISTOGRAM"]},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]}}},"DistributionStatsRequestFolhasPagamentoFilterDTO":{"type":"object","properties":{"bucketCount":{"type":"integer","format":"int32"},"bucketSize":{"type":"number","format":"decimal"},"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/FolhasPagamentoFilterDTO"},"limit":{"type":"integer","format":"int32"},"metric":{"$ref":"#/components/schemas/StatsMetricRequest"},"mode":{"type":"string","enum":["TERMS","HISTOGRAM"]},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]}}},"DistributionStatsRequestLegacyPayCodeFilterDTO":{"type":"object","properties":{"bucketCount":{"type":"integer","format":"int32"},"bucketSize":{"type":"number","format":"decimal"},"field":{"type":"string"},"filter":{"$ref":"#/components/schemas/LegacyPayCodeFilterDTO"},"limit":{"type":"integer","format":"int32"},"metric":{"$ref":"#/components/schemas/StatsMetricRequest"},"mode":{"type":"string","enum":["TERMS","HISTOGRAM"]},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]}}},"DistributionStatsResponse":{"type":"object","properties":{"buckets":{"type":"array","items":{"$ref":"#/components/schemas/DistributionBucket"}},"field":{"type":"string"},"metric":{"$ref":"#/components/schemas/StatsMetricRequest"},"mode":{"type":"string","enum":["TERMS","HISTOGRAM"]}}},"Domain360CatalogResponse":{"type":"object","properties":{"actions":{"type":"array","items":{"$ref":"#/components/schemas/Domain360Entry"}},"capabilities":{"type":"array","items":{"$ref":"#/components/schemas/Domain360Entry"}},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/Domain360Entry"}},"coverage":{"$ref":"#/components/schemas/Domain360Coverage"},"diagnostics":{"type":"array","items":{"$ref":"#/components/schemas/Domain360Diagnostic"}},"environment":{"type":"string"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/Domain360Entry"}},"optionSources":{"type":"array","items":{"$ref":"#/components/schemas/Domain360Entry"}},"query":{"type":"string"},"recommendedRoutes":{"type":"array","items":{"$ref":"#/components/schemas/Domain360Route"}},"relationships":{"type":"array","items":{"$ref":"#/components/schemas/Domain360Entry"}},"release":{"$ref":"#/components/schemas/DomainCatalogReleaseResponse"},"resolutions":{"type":"array","items":{"$ref":"#/components/schemas/Domain360Entry"}},"resourceKey":{"type":"string"},"resources":{"type":"array","items":{"$ref":"#/components/schemas/Domain360Entry"}},"retrievalGuidance":{"type":"array","items":{"type":"string"}},"schemaVersion":{"type":"string"},"serviceKey":{"type":"string"},"sourceMode":{"type":"string"},"stats":{"type":"array","items":{"$ref":"#/components/schemas/Domain360Entry"}},"surfaces":{"type":"array","items":{"$ref":"#/components/schemas/Domain360Entry"}},"tenantId":{"type":"string"},"workflows":{"type":"array","items":{"$ref":"#/components/schemas/Domain360Entry"}}}},"Domain360Coverage":{"type":"object","properties":{"actionCount":{"type":"integer","format":"int32"},"capabilityCount":{"type":"integer","format":"int32"},"contractCount":{"type":"integer","format":"int32"},"fieldCount":{"type":"integer","format":"int32"},"optionSourceCount":{"type":"integer","format":"int32"},"relationshipCount":{"type":"integer","format":"int32"},"resolutionCount":{"type":"integer","format":"int32"},"resourceCount":{"type":"integer","format":"int32"},"statsCount":{"type":"integer","format":"int32"},"surfaceCount":{"type":"integer","format":"int32"},"workflowCount":{"type":"integer","format":"int32"}}},"Domain360Diagnostic":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"severity":{"type":"string"},"target":{"type":"string"}}},"Domain360Entry":{"type":"object","properties":{"contextKey":{"type":"string"},"itemType":{"type":"string"},"key":{"type":"string"},"kind":{"type":"string"},"label":{"type":"string"},"metadata":{"$ref":"#/components/schemas/JsonNode"},"source":{"type":"string"},"summary":{"type":"string"}}},"Domain360Route":{"type":"object","properties":{"blueprint":{"type":"string"},"confidence":{"type":"string"},"kind":{"type":"string"},"label":{"type":"string"},"promptSeed":{"type":"string"},"recommendedComponents":{"type":"array","items":{"type":"string"}},"requiredCapabilities":{"type":"array","items":{"type":"string"}},"requiredInteractions":{"type":"array","items":{"type":"string"}},"routeKey":{"type":"string"}}},"DomainAliasItem":{"type":"object","properties":{"alias":{"type":"string"},"aliasKey":{"type":"string"},"confidence":{"type":"number","format":"double"},"locale":{"type":"string"},"nodeKey":{"type":"string"},"source":{"type":"string"}}},"DomainBindingItem":{"type":"object","properties":{"bindingKey":{"type":"string"},"bindingType":{"type":"string"},"evidenceKeys":{"type":"array","items":{"type":"string"}},"nodeKey":{"type":"string"},"schemaLinks":{"type":"array","items":{"$ref":"#/components/schemas/DomainSchemaLink"}},"target":{"type":"object","additionalProperties":{"type":"object"}}}},"DomainCatalogContextResponse":{"type":"object","properties":{"contextKey":{"type":"string"},"itemType":{"type":"string"},"items":{"type":"array","items":{"$ref":"#/components/schemas/DomainCatalogItemResponse"}},"nodeType":{"type":"string"},"query":{"type":"string"},"release":{"$ref":"#/components/schemas/DomainCatalogReleaseResponse"},"retrievalGuidance":{"type":"array","items":{"type":"string"}},"schemaVersion":{"type":"string"}}},"DomainCatalogIngestionResponse":{"type":"object","properties":{"itemCount":{"type":"integer","format":"int32"},"releaseId":{"type":"string","format":"uuid"},"releaseKey":{"type":"string"}}},"DomainCatalogItemResponse":{"type":"object","properties":{"bindingType":{"type":"string"},"contextKey":{"type":"string"},"edgeType":{"type":"string"},"id":{"type":"string","format":"uuid"},"itemKey":{"type":"string"},"itemType":{"type":"string"},"nodeType":{"type":"string"},"payload":{"$ref":"#/components/schemas/JsonNode"},"releaseKey":{"type":"string"}}},"DomainCatalogRagStatusResponse":{"type":"object","properties":{"actualDocumentCount":{"type":"integer","format":"int64"},"chunkKindCounts":{"type":"object","additionalProperties":{"type":"integer","format":"int64"}},"expectedDocumentCount":{"type":"integer","format":"int64"},"latestPublishedAt":{"type":"string"},"publication":{"$ref":"#/components/schemas/PublicationStatus"},"ragPublicationEnabled":{"type":"boolean"},"reconciled":{"type":"boolean"},"release":{"$ref":"#/components/schemas/DomainCatalogReleaseResponse"},"resourceType":{"type":"string"},"schemaVersion":{"type":"string"},"sourceCount":{"type":"integer","format":"int32"},"sources":{"type":"array","items":{"$ref":"#/components/schemas/SourceStatus"}},"statusAvailable":{"type":"boolean"},"vectorStoreAvailable":{"type":"boolean"},"visibilityCounts":{"type":"object","additionalProperties":{"type":"integer","format":"int64"}},"warnings":{"type":"array","items":{"type":"string"}}}},"DomainCatalogReleaseResponse":{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time"},"environment":{"type":"string"},"generatedAt":{"type":"string","format":"date-time"},"id":{"type":"string","format":"uuid"},"releaseKey":{"type":"string"},"schemaVersion":{"type":"string"},"serviceKey":{"type":"string"},"serviceName":{"type":"string"},"serviceVersion":{"type":"string"},"sourceHash":{"type":"string"},"tenantId":{"type":"string"}}},"DomainCatalogResponse":{"type":"object","properties":{"aliases":{"type":"array","items":{"$ref":"#/components/schemas/DomainAliasItem"}},"bindings":{"type":"array","items":{"$ref":"#/components/schemas/DomainBindingItem"}},"contexts":{"type":"array","items":{"$ref":"#/components/schemas/DomainContextItem"}},"edges":{"type":"array","items":{"$ref":"#/components/schemas/DomainEdgeItem"}},"evidence":{"type":"array","items":{"$ref":"#/components/schemas/DomainEvidenceItem"}},"governance":{"type":"array","items":{"$ref":"#/components/schemas/DomainGovernanceItem"}},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/DomainNodeItem"}},"release":{"$ref":"#/components/schemas/DomainReleaseInfo"},"resourceKey":{"type":"string"},"schemaVersion":{"type":"string"},"service":{"$ref":"#/components/schemas/DomainServiceInfo"}}},"DomainContextItem":{"type":"object","properties":{"businessGlossary":{"type":"object","additionalProperties":{"type":"object"}},"confidence":{"type":"number","format":"double"},"contextKey":{"type":"string"},"description":{"type":"string"},"label":{"type":"string"},"lifecycle":{"type":"string"},"owner":{"type":"string"},"semanticOwner":{"type":"string"},"source":{"type":"string"},"status":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}}}},"DomainEdgeItem":{"type":"object","properties":{"confidence":{"type":"number","format":"double"},"edgeKey":{"type":"string"},"edgeType":{"type":"string"},"evidenceKeys":{"type":"array","items":{"type":"string"}},"label":{"type":"string"},"sourceNodeKey":{"type":"string"},"targetNodeKey":{"type":"string"}}},"DomainEvidenceItem":{"type":"object","properties":{"confidence":{"type":"number","format":"double"},"evidenceKey":{"type":"string"},"evidenceType":{"type":"string"},"sourceRef":{"type":"object","additionalProperties":{"type":"object"}},"summary":{"type":"string"}}},"DomainFederationContext":{"type":"object","properties":{"contextKey":{"type":"string"},"contextType":{"type":"string"},"description":{"type":"string"},"environment":{"type":"string"},"evidence":{"$ref":"#/components/schemas/JsonNode"},"label":{"type":"string"},"latestReleaseKey":{"type":"string"},"semanticOwner":{"type":"string"},"sourceKey":{"type":"string"},"status":{"type":"string"},"technicalOwner":{"type":"string"},"tenantId":{"type":"string"}}},"DomainFederationContextQueryResponse":{"type":"object","properties":{"context":{"$ref":"#/components/schemas/DomainCatalogContextResponse"},"contextKey":{"type":"string"},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/DomainCatalogItemResponse"}},"environment":{"type":"string"},"federated":{"type":"boolean"},"itemType":{"type":"string"},"limit":{"type":"integer","format":"int32"},"nodeType":{"type":"string"},"policyReport":{"$ref":"#/components/schemas/DomainFederationRetrievalPolicyReport"},"query":{"type":"string"},"relationshipType":{"type":"string"},"relationships":{"type":"array","items":{"$ref":"#/components/schemas/DomainCatalogItemResponse"}},"resolutions":{"type":"array","items":{"$ref":"#/components/schemas/DomainCatalogItemResponse"}},"resourceKey":{"type":"string"},"retrievalGuidance":{"type":"array","items":{"type":"string"}},"schemaVersion":{"type":"string"},"serviceKey":{"type":"string"},"sourceMode":{"type":"string"},"tenantId":{"type":"string"}}},"DomainFederationContextRelationship":{"type":"object","properties":{"confidence":{"type":"number","format":"double"},"contractKey":{"type":"string"},"direction":{"type":"string"},"evidence":{"$ref":"#/components/schemas/JsonNode"},"ownership":{"type":"string"},"relationshipKey":{"type":"string"},"relationshipType":{"type":"string"},"sourceContextKey":{"type":"string"},"status":{"type":"string"},"targetContextKey":{"type":"string"}}},"DomainFederationContract":{"type":"object","properties":{"compatibility":{"type":"string"},"consumerContextKey":{"type":"string"},"contractKey":{"type":"string"},"contractType":{"type":"string"},"evidence":{"$ref":"#/components/schemas/JsonNode"},"operationKey":{"type":"string"},"providerContextKey":{"type":"string"},"providerSourceKey":{"type":"string"},"resourceKey":{"type":"string"},"schemaRef":{"type":"string"},"status":{"type":"string"},"visibility":{"type":"string"}}},"DomainFederationReleaseResponse":{"type":"object","properties":{"activatedAt":{"type":"string","format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"environment":{"type":"string"},"id":{"type":"string","format":"uuid"},"payloadHash":{"type":"string"},"releaseKey":{"type":"string"},"status":{"type":"string"},"tenantId":{"type":"string"}}},"DomainFederationReleaseValidationResponse":{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time"},"environment":{"type":"string"},"id":{"type":"string","format":"uuid"},"payloadHash":{"type":"string"},"releaseKey":{"type":"string"},"status":{"type":"string"},"tenantId":{"type":"string"},"validationReport":{"$ref":"#/components/schemas/JsonNode"}}},"DomainFederationResolution":{"type":"object","properties":{"confidence":{"type":"number","format":"double"},"evidence":{"$ref":"#/components/schemas/JsonNode"},"resolutionKey":{"type":"string"},"resolutionType":{"type":"string"},"reviewOwner":{"type":"string"},"sourceConceptKey":{"type":"string"},"sourceContextKey":{"type":"string"},"status":{"type":"string"},"targetConceptKey":{"type":"string"},"targetContextKey":{"type":"string"}}},"DomainFederationRetrievalPolicyReport":{"type":"object","properties":{"decisions":{"type":"array","items":{"type":"string"}},"deniedItemCount":{"type":"integer","format":"int32"},"governedSummaryItemCount":{"type":"integer","format":"int32"},"includeDenied":{"type":"boolean"},"includeLowConfidence":{"type":"boolean"},"inputItemCount":{"type":"integer","format":"int32"},"lowConfidenceItemCount":{"type":"integer","format":"int32"},"minConfidence":{"type":"number","format":"double"},"policyProfile":{"type":"string"},"returnedItemCount":{"type":"integer","format":"int32"}}},"DomainFederationSource":{"type":"object","properties":{"environment":{"type":"string"},"evidence":{"$ref":"#/components/schemas/JsonNode"},"latestReleaseKey":{"type":"string"},"semanticOwner":{"type":"string"},"serviceKey":{"type":"string"},"serviceName":{"type":"string"},"sourceKey":{"type":"string"},"sourceType":{"type":"string"},"status":{"type":"string"},"technicalOwner":{"type":"string"},"tenantId":{"type":"string"},"trustLevel":{"type":"string"}}},"DomainFederationValidationIssue":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"pointer":{"type":"string"},"severity":{"type":"string"}}},"DomainFederationValidationReport":{"type":"object","properties":{"errorCount":{"type":"integer","format":"int32"},"issues":{"type":"array","items":{"$ref":"#/components/schemas/DomainFederationValidationIssue"}},"valid":{"type":"boolean"},"warningCount":{"type":"integer","format":"int32"}}},"DomainFederationValidationRequest":{"type":"object","properties":{"contextRelationships":{"type":"array","items":{"$ref":"#/components/schemas/DomainFederationContextRelationship"}},"contexts":{"type":"array","items":{"$ref":"#/components/schemas/DomainFederationContext"}},"contracts":{"type":"array","items":{"$ref":"#/components/schemas/DomainFederationContract"}},"environment":{"type":"string"},"resolutions":{"type":"array","items":{"$ref":"#/components/schemas/DomainFederationResolution"}},"schemaVersion":{"type":"string"},"sources":{"type":"array","items":{"$ref":"#/components/schemas/DomainFederationSource"}},"tenantId":{"type":"string"}}},"DomainGovernanceItem":{"type":"object","properties":{"aiUsage":{"type":"object","additionalProperties":{"type":"object"}},"annotationType":{"type":"string"},"classification":{"type":"string"},"complianceTags":{"type":"array","items":{"type":"string"}},"confidence":{"type":"number","format":"double"},"dataCategory":{"type":"string"},"governanceKey":{"type":"string"},"nodeKey":{"type":"string"},"owner":{"type":"string"},"retentionPolicy":{"type":"string"},"source":{"type":"string"},"steward":{"type":"string"}}},"DomainKnowledgeChangeSetCreateRequest":{"type":"object","properties":{"authorId":{"type":"string"},"authorType":{"type":"string"},"changeSetKey":{"type":"string"},"intent":{"type":"string"},"patch":{"type":"array","items":{"$ref":"#/components/schemas/DomainKnowledgeChangeSetOperationRequest"}},"reason":{"type":"string"},"status":{"type":"string"}}},"DomainKnowledgeChangeSetOperationRequest":{"type":"object","properties":{"confidence":{"type":"number","format":"double"},"evidenceRefs":{"type":"array","items":{"type":"string"}},"operationId":{"type":"string"},"operationType":{"type":"string"},"payload":{"$ref":"#/components/schemas/JsonNode"},"reason":{"type":"string"},"target":{"$ref":"#/components/schemas/JsonNode"}}},"DomainKnowledgeChangeSetOperationSummary":{"type":"object","properties":{"operationId":{"type":"string"},"operationType":{"type":"string"},"targetConceptKeys":{"type":"array","items":{"type":"string"}}}},"DomainKnowledgeChangeSetResponse":{"type":"object","properties":{"appliedAt":{"type":"string","format":"date-time"},"authorId":{"type":"string"},"authorType":{"type":"string"},"changeSetKey":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"environment":{"type":"string"},"id":{"type":"string","format":"uuid"},"intent":{"type":"string"},"operationCount":{"type":"integer","format":"int32"},"reason":{"type":"string"},"reviewedAt":{"type":"string","format":"date-time"},"reviewerId":{"type":"string"},"safeOperationSummary":{"type":"array","items":{"$ref":"#/components/schemas/DomainKnowledgeChangeSetOperationSummary"}},"status":{"type":"string"},"tenantId":{"type":"string"},"validationResult":{"$ref":"#/components/schemas/JsonNode"},"validationStatus":{"type":"string"}}},"DomainKnowledgeChangeSetStatusRequest":{"type":"object","properties":{"reason":{"type":"string"},"reviewerId":{"type":"string"},"status":{"type":"string"}}},"DomainKnowledgeChangeSetTimelineEventResponse":{"type":"object","properties":{"actor":{"type":"string"},"actorType":{"type":"string"},"eventType":{"type":"string"},"occurredAt":{"type":"string","format":"date-time"},"operationCount":{"type":"integer","format":"int32"},"operationTypes":{"type":"array","items":{"type":"string"}},"status":{"type":"string"},"summary":{"type":"string"},"targetConceptKeys":{"type":"array","items":{"type":"string"}},"validationStatus":{"type":"string"},"visibility":{"type":"string"}}},"DomainKnowledgeChangeSetTimelineResponse":{"type":"object","properties":{"authorId":{"type":"string"},"authorType":{"type":"string"},"changeSetId":{"type":"string","format":"uuid"},"changeSetKey":{"type":"string"},"environment":{"type":"string"},"events":{"type":"array","items":{"$ref":"#/components/schemas/DomainKnowledgeChangeSetTimelineEventResponse"}},"reviewerId":{"type":"string"},"status":{"type":"string"},"tenantId":{"type":"string"}}},"DomainKnowledgeChangeSetValidationIssue":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"pointer":{"type":"string"},"severity":{"type":"string"}}},"DomainKnowledgeChangeSetValidationResponse":{"type":"object","properties":{"errorCount":{"type":"integer","format":"int32"},"executableOperationTypes":{"type":"array","items":{"type":"string"}},"executablePatchOperationTypes":{"type":"array","items":{"type":"string"}},"issues":{"type":"array","items":{"$ref":"#/components/schemas/DomainKnowledgeChangeSetValidationIssue"}},"nonExecutableOperationTypes":{"type":"array","items":{"type":"string"}},"proposedOperationTypes":{"type":"array","items":{"type":"string"}},"valid":{"type":"boolean"},"warningCount":{"type":"integer","format":"int32"}}},"DomainNodeItem":{"type":"object","properties":{"businessGlossary":{"type":"object","additionalProperties":{"type":"object"}},"confidence":{"type":"number","format":"double"},"contextKey":{"type":"string"},"description":{"type":"string"},"label":{"type":"string"},"lifecycle":{"type":"string"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"nodeKey":{"type":"string"},"nodeType":{"type":"string"},"owner":{"type":"string"},"resolution":{"type":"object","additionalProperties":{"type":"object"}},"semanticOwner":{"type":"string"},"source":{"type":"string"},"sourceEvidenceKeys":{"type":"array","items":{"type":"string"}},"status":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}}}},"DomainReleaseInfo":{"type":"object","properties":{"generatedAt":{"type":"string"},"releaseKey":{"type":"string"},"sourceHash":{"type":"string"}}},"DomainRuleCandidateProbeRequest":{"type":"object","properties":{"candidateContentHash":{"type":"string"},"candidateSnapshotKey":{"type":"string"},"engineContractVersion":{"type":"string"},"failureCode":{"type":"string"},"hostContractVersion":{"type":"string"},"implementationCatalogDigest":{"type":"string"},"jsonLogicCorpusSha256":{"type":"string"},"jsonLogicDialectVersion":{"type":"string"},"observedAtUtc":{"type":"string","format":"date-time"},"preloadReady":{"type":"boolean"}}},"DomainRuleCandidateProbeResponse":{"type":"object","properties":{"observedAtUtc":{"type":"string","format":"date-time"},"updated":{"type":"boolean"}}},"DomainRuleCatalogResponse":{"type":"object","properties":{"candidates":{"type":"array","items":{"$ref":"#/components/schemas/Candidate"}},"hasMore":{"type":"boolean"},"limit":{"type":"integer","format":"int32"},"page":{"type":"integer","format":"int32"},"schemaVersion":{"type":"string"}}},"DomainRuleChangeWorkspaceCreateRequest":{"type":"object","properties":{"baseDefinitionId":{"type":"string","format":"uuid"},"title":{"type":"string"}}},"DomainRuleChangeWorkspaceResponse":{"type":"object","properties":{"baseDefinitionHash":{"type":"string"},"baseDefinitionId":{"type":"string","format":"uuid"},"baseDefinitionVersion":{"type":"integer","format":"int32"},"condition":{"$ref":"#/components/schemas/JsonNode"},"createdAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"etag":{"type":"string"},"id":{"type":"string","format":"uuid"},"parameters":{"$ref":"#/components/schemas/JsonNode"},"promotedDefinitionId":{"type":"string","format":"uuid"},"rationale":{"type":"string"},"revision":{"type":"integer","format":"int64"},"ruleKey":{"type":"string"},"status":{"type":"string"},"submittedTestRunId":{"type":"string","format":"uuid"},"title":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"updatedBy":{"type":"string"}}},"DomainRuleChangeWorkspaceUpdateRequest":{"type":"object","properties":{"condition":{"$ref":"#/components/schemas/JsonNode"},"parameters":{"$ref":"#/components/schemas/JsonNode"},"rationale":{"type":"string"}}},"DomainRuleCompositionApprovalResponse":{"type":"object","properties":{"actorRef":{"type":"string","description":"Safe server-resolved principal reference; credentials and claims are never exposed."},"approvalKey":{"type":"string","description":"Opaque append-only approval identifier."},"decidedAtUtc":{"type":"string","description":"Server-assigned UTC approval instant."},"evidenceHash":{"type":"string","description":"Exact canonical composition digest approved by this actor."},"role":{"type":"string","description":"Fixed governance role proven by the authenticated request."}},"description":"IAM-bound approval of one exact server-canonicalized RuleSet composition."},"DomainRuleCompositionManifestRequest":{"required":["ownerServiceKey","requiredHostContractVersion","ruleSet","sourceDefinitionIds","validFromUtc"],"type":"object","properties":{"ownerServiceKey":{"type":"string","description":"Stable domain-host service identity authorized to consume the composition.","example":"praxis-api-quickstart"},"requiredHostContractVersion":{"type":"string","description":"Exact host contract required to activate the resulting snapshot.","example":"quickstart/1.0"},"ruleSet":{"$ref":"#/components/schemas/RuleSetDefinition"},"sourceDefinitionIds":{"type":"array","description":"Distinct governed definition IDs whose current approved content hashes become immutable manifest provenance.","items":{"type":"string","description":"Distinct governed definition IDs whose current approved content hashes become immutable manifest provenance.","format":"uuid"}},"validFromUtc":{"type":"string","description":"UTC instant from which the approved composition may be evaluated."},"validUntilUtc":{"type":"string","description":"Optional exclusive UTC end of the composition validity interval."}},"description":"Candidate RuleSet composition used to calculate the immutable approval digest."},"DomainRuleCompositionManifestResponse":{"type":"object","properties":{"compositionContractVersion":{"type":"string","description":"Version of the canonical composition-manifest contract."},"compositionDigest":{"type":"string","description":"SHA-256 of the complete canonical manifest; this exact value is the approval evidence hash."},"implementationCatalogDigest":{"type":"string","description":"SHA-256 of the host-governed Java implementation admission catalog included in the manifest."},"manifest":{"$ref":"#/components/schemas/JsonNode"}},"description":"Server-canonicalized RuleSet composition that approvers must review and approve by exact digest."},"DomainRuleDefinitionCapabilitiesResponse":{"type":"object","properties":{"definitions":{"type":"array","description":"Per-definition actions available to the authenticated principal.","items":{"$ref":"#/components/schemas/DomainRuleDefinitionCapability"}},"environment":{"type":"string","description":"Environment resolved from the authenticated principal."},"tenantId":{"type":"string","description":"Tenant resolved from the authenticated principal, never from browser authority."}},"description":"Server-scoped capability projection for governed domain-rule definitions."},"DomainRuleDefinitionCapability":{"type":"object","properties":{"availableActions":{"type":"array","description":"Actions authorized by the server for this principal and definition.","items":{"type":"string","description":"Actions authorized by the server for this principal and definition."}},"definitionId":{"type":"string","description":"Immutable identifier of the governed definition.","format":"uuid"},"ruleKey":{"type":"string","description":"Canonical decision key shared by all versions of the definition."},"version":{"type":"integer","description":"Version represented by this capability projection.","format":"int32"}},"description":"Server-owned actions available to the authenticated principal for one governed rule definition."},"DomainRuleDefinitionRequest":{"type":"object","properties":{"condition":{"$ref":"#/components/schemas/JsonNode"},"contextKey":{"type":"string"},"definition":{"$ref":"#/components/schemas/JsonNode"},"governance":{"$ref":"#/components/schemas/JsonNode"},"parameters":{"$ref":"#/components/schemas/JsonNode"},"resourceKey":{"type":"string"},"ruleKey":{"type":"string"},"ruleType":{"type":"string"},"semanticOwner":{"type":"string"},"serviceKey":{"type":"string"},"sourceChangeSetId":{"type":"string","format":"uuid"},"sourceReleaseId":{"type":"string","format":"uuid"},"status":{"type":"string"},"steward":{"type":"string"},"validationResult":{"$ref":"#/components/schemas/JsonNode"},"version":{"type":"integer","format":"int32"}}},"DomainRuleDefinitionResponse":{"type":"object","properties":{"activatedAt":{"type":"string","format":"date-time"},"approvedAt":{"type":"string","format":"date-time"},"approvedBy":{"type":"string"},"condition":{"$ref":"#/components/schemas/JsonNode"},"contextKey":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"createdByType":{"type":"string"},"definition":{"$ref":"#/components/schemas/JsonNode"},"environment":{"type":"string"},"governance":{"$ref":"#/components/schemas/JsonNode"},"id":{"type":"string","format":"uuid"},"parameters":{"$ref":"#/components/schemas/JsonNode"},"resourceKey":{"type":"string"},"ruleKey":{"type":"string"},"ruleType":{"type":"string"},"semanticOwner":{"type":"string"},"serviceKey":{"type":"string"},"sourceChangeSetId":{"type":"string","format":"uuid"},"sourceReleaseId":{"type":"string","format":"uuid"},"status":{"type":"string"},"steward":{"type":"string"},"tenantId":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"validationResult":{"$ref":"#/components/schemas/JsonNode"},"version":{"type":"integer","format":"int32"}}},"DomainRuleDefinitionStatusTransitionRequest":{"required":["status"],"type":"object","properties":{"status":{"type":"string","description":"Canonical target lifecycle status. Draft/proposed authoring requires RULE_DEFINITION_AUTHOR; other decisions require RULE_DEFINITION_APPROVER."},"validationResult":{"$ref":"#/components/schemas/JsonNode"}},"description":"Definition lifecycle decision whose actor and governed scope are resolved from server authentication."},"DomainRuleExecutionObservationBatchRequest":{"type":"object","properties":{"observations":{"type":"array","items":{"$ref":"#/components/schemas/DomainRuleExecutionObservationRequest"}}}},"DomainRuleExecutionObservationBatchResponse":{"type":"object","properties":{"acceptedCount":{"type":"integer","format":"int32"},"duplicateCount":{"type":"integer","format":"int32"}}},"DomainRuleExecutionObservationRequest":{"type":"object","properties":{"activationRevision":{"type":"integer","format":"int64"},"durationMicros":{"type":"integer","format":"int64"},"observationId":{"type":"string","format":"uuid"},"observedAtUtc":{"type":"string","format":"date-time"},"outcome":{"type":"string"},"snapshotContentHash":{"type":"string"},"snapshotKey":{"type":"string"}}},"DomainRuleExecutionSummaryResponse":{"type":"object","properties":{"distinctHosts":{"type":"integer","format":"int64"},"firstObservedAtUtc":{"type":"string","format":"date-time"},"lastObservedAtUtc":{"type":"string","format":"date-time"},"outcomeCounts":{"type":"object","additionalProperties":{"type":"integer","format":"int64"}},"ruleSetKey":{"type":"string"},"ruleSetVersion":{"type":"integer","format":"int32"},"snapshotContentHash":{"type":"string"},"snapshotKey":{"type":"string"},"totalObservations":{"type":"integer","format":"int64"}}},"DomainRuleFactCatalogResponse":{"type":"object","properties":{"definitionId":{"type":"string","format":"uuid"},"definitionVersion":{"type":"integer","format":"int32"},"facts":{"type":"array","items":{"$ref":"#/components/schemas/DomainRuleFactDescriptor"}},"ruleKey":{"type":"string"},"schemaVersion":{"type":"string"}}},"DomainRuleFactDescriptor":{"type":"object","properties":{"descriptions":{"type":"object","additionalProperties":{"type":"string"}},"evidenceRefs":{"type":"array","items":{"type":"string"}},"labels":{"type":"object","additionalProperties":{"type":"string"}},"nullable":{"type":"boolean"},"path":{"type":"string"},"providerRef":{"type":"string"},"redaction":{"type":"string"},"sensitivity":{"type":"string"},"valueType":{"type":"string"}}},"DomainRuleHostStatusIngestionResponse":{"type":"object","properties":{"observedAtUtc":{"type":"string","format":"date-time"},"updated":{"type":"boolean"}}},"DomainRuleHostStatusRequest":{"type":"object","properties":{"activationRevision":{"type":"integer","format":"int64"},"engineContractVersion":{"type":"string"},"failureCode":{"type":"string"},"hostContractVersion":{"type":"string"},"implementationCatalogDigest":{"type":"string"},"jsonLogicCorpusSha256":{"type":"string"},"jsonLogicDialectVersion":{"type":"string"},"loadedSnapshotContentHash":{"type":"string"},"loadedSnapshotKey":{"type":"string"},"observedAtUtc":{"type":"string","format":"date-time"},"ready":{"type":"boolean"},"ruleSetKey":{"type":"string"}}},"DomainRuleHostStatusSummaryResponse":{"type":"object","properties":{"alignedHosts":{"type":"integer","format":"int64"},"expectedActivationRevision":{"type":"integer","format":"int64"},"expectedEngineContractVersion":{"type":"string"},"expectedHostContractVersion":{"type":"string"},"expectedImplementationCatalogDigest":{"type":"string"},"expectedJsonLogicCorpusSha256":{"type":"string"},"expectedJsonLogicDialectVersion":{"type":"string"},"expectedSnapshotContentHash":{"type":"string"},"expectedSnapshotKey":{"type":"string"},"incompatibleHosts":{"type":"integer","format":"int64"},"lastObservedAtUtc":{"type":"string","format":"date-time"},"ruleSetKey":{"type":"string"},"snapshotDriftedHosts":{"type":"integer","format":"int64"},"staleBeforeUtc":{"type":"string","format":"date-time"},"staleHosts":{"type":"integer","format":"int64"},"totalHosts":{"type":"integer","format":"int64"},"unavailableHosts":{"type":"integer","format":"int64"}}},"DomainRuleIntakeRequest":{"type":"object","properties":{"assistantMessage":{"type":"string"},"condition":{"$ref":"#/components/schemas/JsonNode"},"contextKey":{"type":"string"},"definition":{"$ref":"#/components/schemas/JsonNode"},"governance":{"$ref":"#/components/schemas/JsonNode"},"parameters":{"$ref":"#/components/schemas/JsonNode"},"prompt":{"type":"string"},"resourceKey":{"type":"string"},"ruleKey":{"type":"string"},"ruleType":{"type":"string"},"serviceKey":{"type":"string"}}},"DomainRuleIntakeResponse":{"type":"object","properties":{"contextKey":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"definition":{"$ref":"#/components/schemas/DomainRuleDefinitionResponse"},"environment":{"type":"string"},"grounding":{"$ref":"#/components/schemas/JsonNode"},"intakeId":{"type":"string","format":"uuid"},"resourceKey":{"type":"string"},"ruleKey":{"type":"string"},"ruleType":{"type":"string"},"serviceKey":{"type":"string"},"status":{"type":"string"},"tenantId":{"type":"string"}}},"DomainRuleMaterializationRequest":{"type":"object","properties":{"materializationKey":{"type":"string","description":"Stable idempotency key for this definition and target coordinate. Reactive determinations require {ruleKey}:backend_determination:{targetArtifactKey}."},"materializedPayload":{"$ref":"#/components/schemas/JsonNode"},"materializedRuleId":{"type":"string","description":"Optional runtime rule identity produced by the target adapter."},"ruleDefinitionId":{"type":"string","description":"Identifier of the governed rule definition from which this target draft is derived.","format":"uuid"},"sourceHash":{"type":"string","description":"Digest binding the draft to its exact semantic source and target projection. For operational policies Config derives this digest; a supplied value must match."},"status":{"type":"string","description":"Initial lifecycle status. The public creation boundary accepts only draft or pending_review; activation is a separate authenticated operation."},"targetArtifactKey":{"maxLength":255,"pattern":"^[A-Za-z0-9][A-Za-z0-9._:-]{0,254}$","type":"string","description":"Stable target artifact identity within its owning runtime layer."},"targetArtifactType":{"type":"string","description":"Canonical contract type of the target artifact. backend_determination requires resource-reactive-determination; other governed artifact types remain extensible."},"targetLayer":{"type":"string","description":"Canonical runtime layer that owns the derived target artifact. Reactive backend calculations use backend_determination; other governed layers remain extensible. Coordinates must be exact, without surrounding whitespace."},"targetPointer":{"type":"string","description":"Optional pointer to the exact insertion or replacement location inside the target artifact."},"targetReleaseKey":{"type":"string","description":"Optional governed release key against which the draft was produced."},"validationResult":{"$ref":"#/components/schemas/JsonNode"}}},"DomainRuleMaterializationResponse":{"type":"object","properties":{"appliedAt":{"type":"string","format":"date-time"},"appliedBy":{"type":"string"},"appliedByType":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"decisionDiagnostics":{"$ref":"#/components/schemas/JsonNode"},"environment":{"type":"string"},"id":{"type":"string","format":"uuid"},"materializationKey":{"type":"string"},"materializedPayload":{"$ref":"#/components/schemas/JsonNode"},"materializedRuleId":{"type":"string"},"ruleDefinitionId":{"type":"string","format":"uuid"},"ruleKey":{"type":"string"},"ruleVersion":{"type":"integer","format":"int32"},"sourceHash":{"type":"string"},"status":{"type":"string"},"targetArtifactKey":{"type":"string"},"targetArtifactType":{"type":"string"},"targetLayer":{"type":"string"},"targetPointer":{"type":"string"},"targetReleaseKey":{"type":"string"},"tenantId":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"validationResult":{"$ref":"#/components/schemas/JsonNode"}}},"DomainRuleOperationalTestEvidence":{"type":"object","properties":{"afterStateDigest":{"type":"string"},"baselineCallCount":{"type":"integer","format":"int32"},"beforeStateDigest":{"type":"string"},"cleanupVerified":{"type":"boolean"},"effectLedgerDigest":{"type":"string"},"mutationObserved":{"type":"boolean"},"noMutationVerified":{"type":"boolean"},"operationMode":{"type":"string"}}},"DomainRuleParameterCatalogResponse":{"type":"object","properties":{"definitionId":{"type":"string","format":"uuid"},"definitionVersion":{"type":"integer","format":"int32"},"parameters":{"type":"array","items":{"$ref":"#/components/schemas/DomainRuleParameterDescriptor"}},"ruleKey":{"type":"string"},"schemaVersion":{"type":"string"},"templateKey":{"type":"string"},"templateVersion":{"type":"string"}}},"DomainRuleParameterDescriptor":{"type":"object","properties":{"allowedValues":{"type":"array","items":{"$ref":"#/components/schemas/JsonNode"}},"declaredValue":{"$ref":"#/components/schemas/JsonNode"},"defaultValue":{"$ref":"#/components/schemas/JsonNode"},"effectiveValue":{"$ref":"#/components/schemas/JsonNode"},"maximum":{"type":"number","format":"decimal"},"minimum":{"type":"number","format":"decimal"},"name":{"type":"string"},"nullable":{"type":"boolean"},"origin":{"type":"string","enum":["DECLARED","DEFAULT"]},"readOnly":{"type":"boolean"},"required":{"type":"boolean"},"type":{"type":"string","enum":["STRING","NUMBER","INTEGER","BOOLEAN"]},"unit":{"type":"string"}}},"DomainRulePendingRolloutResponse":{"type":"object","properties":{"candidateContentHash":{"type":"string"},"candidateSnapshotKey":{"type":"string"},"expiresAtUtc":{"type":"string","format":"date-time"},"rolloutId":{"type":"string","format":"uuid"},"ruleSetKey":{"type":"string"},"status":{"type":"string"}}},"DomainRulePublicationRequest":{"type":"object","properties":{"applyEligibleMaterializations":{"type":"boolean","description":"Whether eligible derived materializations may be created or applied as part of publication. Defaults to true."},"materializationIds":{"type":"array","description":"Optional ordered selection of existing materializations. When absent, the service resolves eligible derived targets deterministically.","items":{"type":"string","description":"Optional ordered selection of existing materializations. When absent, the service resolves eligible derived targets deterministically.","format":"uuid"}},"publicationNotes":{"$ref":"#/components/schemas/JsonNode"},"ruleDefinitionId":{"type":"string","description":"Immutable identifier of the approved or already active rule definition to publish.","format":"uuid"}}},"DomainRulePublicationResponse":{"type":"object","properties":{"definition":{"$ref":"#/components/schemas/DomainRuleDefinitionResponse"},"environment":{"type":"string"},"explainability":{"$ref":"#/components/schemas/JsonNode"},"materializations":{"type":"array","items":{"$ref":"#/components/schemas/DomainRuleMaterializationResponse"}},"processedAt":{"type":"string","format":"date-time"},"publicationId":{"type":"string","format":"uuid"},"publicationReadiness":{"type":"string"},"publicationStatus":{"type":"string"},"resourceKey":{"type":"string"},"ruleDefinitionId":{"type":"string","format":"uuid"},"ruleKey":{"type":"string"},"ruleType":{"type":"string"},"ruleVersion":{"type":"integer","format":"int32"},"serviceKey":{"type":"string"},"tenantId":{"type":"string"}}},"DomainRuleRolloutCatalogItemResponse":{"type":"object","properties":{"availableActions":{"type":"array","items":{"type":"string"}},"expectedHeadCurrent":{"type":"boolean"},"expired":{"type":"boolean"},"readiness":{"$ref":"#/components/schemas/DomainRuleRolloutReadinessResponse"},"rollout":{"$ref":"#/components/schemas/DomainRuleRolloutResponse"}}},"DomainRuleRolloutCatalogResponse":{"type":"object","properties":{"availableActions":{"type":"array","items":{"type":"string"}},"rollouts":{"type":"array","items":{"$ref":"#/components/schemas/DomainRuleRolloutCatalogItemResponse"}},"ruleSetKey":{"type":"string"}}},"DomainRuleRolloutCreateRequest":{"type":"object","properties":{"candidateSnapshotKey":{"type":"string"},"expiresAtUtc":{"type":"string","format":"date-time"}}},"DomainRuleRolloutPolicyCatalogResponse":{"type":"object","properties":{"activationRevision":{"type":"integer","format":"int64"},"activePolicy":{"$ref":"#/components/schemas/DomainRuleRolloutPolicyResponse"},"availableActions":{"type":"array","items":{"type":"string"}},"headEtag":{"type":"string"},"ruleSetKey":{"type":"string"},"versions":{"type":"array","items":{"$ref":"#/components/schemas/DomainRuleRolloutPolicyResponse"}}}},"DomainRuleRolloutPolicyCreateRequest":{"type":"object","properties":{"blockOnIncompatible":{"type":"boolean"},"enforcementMode":{"type":"string"},"maximumRolloutAgeSeconds":{"type":"integer","format":"int64"},"minimumFreshProbes":{"type":"integer","format":"int32"},"minimumReadyRatio":{"type":"number","format":"decimal"},"policyKey":{"type":"string"},"ruleSetKey":{"type":"string"},"staleAfterSeconds":{"type":"integer","format":"int64"}}},"DomainRuleRolloutPolicyEventResponse":{"type":"object","properties":{"actorRef":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"eventId":{"type":"string","format":"uuid"},"eventType":{"type":"string"},"headEtag":{"type":"string"},"policyId":{"type":"string","format":"uuid"}}},"DomainRuleRolloutPolicyMutationResponse":{"type":"object","properties":{"activationRevision":{"type":"integer","format":"int64"},"headEtag":{"type":"string"},"policy":{"$ref":"#/components/schemas/DomainRuleRolloutPolicyResponse"}}},"DomainRuleRolloutPolicyResponse":{"type":"object","properties":{"activatedAt":{"type":"string","format":"date-time"},"activatedBy":{"type":"string"},"approvedAt":{"type":"string","format":"date-time"},"approvedBy":{"type":"string"},"availableActions":{"type":"array","items":{"type":"string"}},"blockOnIncompatible":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"enforcementMode":{"type":"string"},"maximumRolloutAgeSeconds":{"type":"integer","format":"int64"},"minimumFreshProbes":{"type":"integer","format":"int32"},"minimumReadyRatio":{"type":"number","format":"decimal"},"policyId":{"type":"string","format":"uuid"},"policyKey":{"type":"string"},"policyVersion":{"type":"integer","format":"int32"},"ruleSetKey":{"type":"string"},"staleAfterSeconds":{"type":"integer","format":"int64"},"status":{"type":"string"}}},"DomainRuleRolloutReadinessResponse":{"type":"object","properties":{"activationReady":{"type":"boolean"},"candidateSnapshotKey":{"type":"string"},"enforcementMode":{"type":"string"},"incompatibleProbes":{"type":"integer","format":"int64"},"minimumFreshProbes":{"type":"integer","format":"int32"},"minimumReadyRatio":{"type":"number","format":"double"},"readyProbes":{"type":"integer","format":"int64"},"rolloutId":{"type":"string","format":"uuid"},"ruleSetKey":{"type":"string"},"staleBeforeUtc":{"type":"string","format":"date-time"},"staleProbes":{"type":"integer","format":"int64"},"status":{"type":"string"},"totalProbes":{"type":"integer","format":"int64"},"unavailableProbes":{"type":"integer","format":"int64"}}},"DomainRuleRolloutResponse":{"type":"object","properties":{"candidateContentHash":{"type":"string"},"candidateSnapshotKey":{"type":"string"},"createdAtUtc":{"type":"string","format":"date-time"},"enforcementMode":{"type":"string"},"expectedActiveSnapshotKey":{"type":"string","description":"Expected active snapshot, or null with expectedHeadEtag for verified head absence.","nullable":true},"expectedHeadEtag":{"type":"string","description":"Expected head concurrency token; null with expectedActiveSnapshotKey for bootstrap absence.","nullable":true},"expiresAtUtc":{"type":"string","format":"date-time"},"policyKey":{"type":"string"},"policyVersion":{"type":"integer","format":"int32"},"rolloutId":{"type":"string","format":"uuid"},"ruleSetKey":{"type":"string"},"status":{"type":"string"}}},"DomainRuleSimulationRequest":{"type":"object","properties":{"condition":{"$ref":"#/components/schemas/JsonNode"},"contextKey":{"type":"string"},"definition":{"$ref":"#/components/schemas/JsonNode"},"governance":{"$ref":"#/components/schemas/JsonNode"},"parameters":{"$ref":"#/components/schemas/JsonNode"},"resourceKey":{"type":"string"},"ruleDefinitionId":{"type":"string","format":"uuid"},"ruleKey":{"type":"string"},"ruleType":{"type":"string"},"serviceKey":{"type":"string"}}},"DomainRuleSimulationResponse":{"type":"object","properties":{"contextKey":{"type":"string"},"environment":{"type":"string"},"existingCoverage":{"$ref":"#/components/schemas/JsonNode"},"explainability":{"$ref":"#/components/schemas/JsonNode"},"grounding":{"$ref":"#/components/schemas/JsonNode"},"predictedMaterializations":{"$ref":"#/components/schemas/JsonNode"},"requiredApprovals":{"$ref":"#/components/schemas/JsonNode"},"resourceKey":{"type":"string"},"result":{"type":"string"},"ruleDefinitionId":{"type":"string","format":"uuid"},"ruleKey":{"type":"string"},"ruleType":{"type":"string"},"ruleVersion":{"type":"integer","format":"int32"},"serviceKey":{"type":"string"},"simulatedAt":{"type":"string","format":"date-time"},"simulationId":{"type":"string","format":"uuid"},"tenantId":{"type":"string"},"warnings":{"$ref":"#/components/schemas/JsonNode"}}},"DomainRuleSnapshotActivationResponse":{"required":["activationRevision","activationType","headEtag","snapshot","snapshotContentHash"],"type":"object","properties":{"activationRevision":{"minimum":1,"type":"integer","description":"Monotonic count of head activations, including rollbacks.","format":"int64"},"activationType":{"type":"string","description":"Reason the head has this state: newly PUBLISHED, explicitly ACTIVATED forward, ROLLED_BACK, or read as currently ACTIVE.","enum":["PUBLISHED","ACTIVATED","ROLLED_BACK","ACTIVE"]},"headEtag":{"type":"string","description":"Opaque mutable-head validator rotated on every publication, forward activation or rollback to prevent ABA concurrency errors."},"snapshot":{"$ref":"#/components/schemas/PublishedRuleSnapshot"},"snapshotContentHash":{"type":"string","description":"Canonical uppercase SHA-256 digest of normalized immutable snapshot content."}},"description":"Current activation state, keeping immutable snapshot identity separate from mutable head concurrency identity."},"DomainRuleSnapshotBlocker":{"type":"object","properties":{"code":{"type":"string","description":"Stable blocker code for client rendering; never derived from message text."},"definitionId":{"type":"string","description":"Source Definition whose evidence did not satisfy the stage policy.","format":"uuid"},"message":{"type":"string","description":"Sanitized human-readable explanation without facts or private evidence."},"stage":{"type":"string","description":"Governed lifecycle stage blocked by this diagnostic."}},"description":"Safe machine-readable blocker for a governed RuleSet snapshot command."},"DomainRuleSnapshotHeadStatusResponse":{"required":["activationRevision","activeSnapshotKey","executionReady","governanceState","headEtag","publicationRevision","ruleSetKey","ruleSetVersion"],"type":"object","properties":{"activationRevision":{"minimum":1,"type":"integer","description":"Monotonic activation revision of the mutable head.","format":"int64"},"activeSnapshotKey":{"type":"string","description":"Opaque key of the immutable snapshot currently selected by the head."},"executionReady":{"type":"boolean","description":"Whether the selected snapshot passed the complete governed read verification and may be offered to runtimes."},"governanceState":{"type":"string","description":"Stable operational classification: READY after current runtime/catalog admission; RUNTIME_INCOMPATIBLE for intact evidence with a different engine/dialect/corpus tuple; REPUBLICATION_REQUIRED for intact pre-manifest evidence; INVALID for integrity or current admission failure.","enum":["READY","RUNTIME_INCOMPATIBLE","REPUBLICATION_REQUIRED","INVALID"]},"headEtag":{"type":"string","description":"Opaque current-head validator required by a governed superseding publication."},"publicationRevision":{"minimum":1,"type":"integer","description":"Append-only publication revision of the selected snapshot.","format":"int32"},"ruleSetKey":{"type":"string","description":"Stable RuleSet identity owned by this head."},"ruleSetVersion":{"minimum":1,"type":"integer","description":"Immutable RuleSet version stored in the selected snapshot.","format":"int32"}},"description":"Operational state of a scoped RuleSet head. This projection never returns unverified executable content."},"DomainRuleSnapshotProblemResponse":{"type":"object","properties":{"blockers":{"type":"array","description":"Server-owned evidence or governance blockers; empty for ordinary HTTP failures.","items":{"$ref":"#/components/schemas/DomainRuleSnapshotBlocker"}},"code":{"type":"string","description":"Stable error family; clients must not parse message text."},"message":{"type":"string","description":"Sanitized summary suitable for operator feedback."}},"description":"Typed snapshot control-plane failure with optional safe governance blockers."},"DomainRuleSnapshotPublicationRequest":{"required":["compositionDigest","ownerServiceKey","requiredHostContractVersion","ruleSet","sourceDefinitionIds","validFromUtc"],"type":"object","properties":{"compositionDigest":{"type":"string","description":"Exact SHA-256 returned by the composition-manifest endpoint for this unchanged candidate."},"ownerServiceKey":{"type":"string","description":"Stable service identity of the domain host authorized and expected to activate this snapshot.","example":"praxis-api-quickstart"},"requiredHostContractVersion":{"type":"string","description":"Exact host contract version required for safe activation; hosts with another contract must reject the snapshot.","example":"quickstart/1.0"},"ruleSet":{"$ref":"#/components/schemas/RuleSetDefinition"},"sourceDefinitionIds":{"type":"array","description":"Distinct identifiers of approved domain-rule definitions that provide provenance and approval evidence for this publication.","items":{"type":"string","description":"Distinct identifiers of approved domain-rule definitions that provide provenance and approval evidence for this publication.","format":"uuid"}},"validFromUtc":{"type":"string","description":"UTC instant from which evaluations may use this snapshot.","example":"2026-07-13T20:00:00Z"},"validUntilUtc":{"type":"string","description":"Optional exclusive UTC instant after which the snapshot is no longer eligible for evaluation.","example":"2027-01-01T00:00:00Z"}},"description":"Governed request that composes approved rule definitions into one immutable executable RuleSet snapshot."},"DomainRuleSnapshotStoredResponse":{"required":["snapshot","snapshotContentHash"],"type":"object","properties":{"snapshot":{"$ref":"#/components/schemas/PublishedRuleSnapshot"},"snapshotContentHash":{"type":"string","description":"Canonical uppercase SHA-256 digest used as the immutable representation ETag."}},"description":"Immutable published RuleSet snapshot addressed by its snapshot key and canonical content digest."},"DomainRuleSnapshotVersionResponse":{"required":["active","availableAction","governanceState","publicationRevision","publishedAtUtc","publishedBy","ruleSetKey","ruleSetVersion","snapshotContentHash","snapshotKey"],"type":"object","properties":{"active":{"type":"boolean","description":"Whether this immutable version is currently selected by the scoped mutable head."},"availableAction":{"type":"string","description":"Server-derived operation available relative to the current head. Every non-READY version is UNAVAILABLE. A READY version without a head offers CREATE_ROLLOUT for governed bootstrap, never direct activation.","enum":["ACTIVE","ACTIVATE","ROLLBACK","CREATE_ROLLOUT","UNAVAILABLE"]},"governanceState":{"type":"string","description":"Safe verification state: READY after current runtime/catalog admission; RUNTIME_INCOMPATIBLE for intact evidence with a different engine/dialect/corpus tuple; REPUBLICATION_REQUIRED for intact pre-manifest evidence; INVALID for integrity or current admission failure.","enum":["READY","RUNTIME_INCOMPATIBLE","REPUBLICATION_REQUIRED","INVALID"]},"publicationRevision":{"minimum":1,"type":"integer","description":"Append-only publication order within the governed scope.","format":"int32"},"publishedAtUtc":{"type":"string","description":"Server-assigned UTC publication instant."},"publishedBy":{"type":"string","description":"Safe authenticated publisher reference recorded at publication."},"ruleSetKey":{"type":"string","description":"Stable semantic RuleSet identity shared by all versions in the catalog."},"ruleSetVersion":{"minimum":1,"type":"integer","description":"Immutable version declared by the RuleSet content.","format":"int32"},"snapshotContentHash":{"type":"string","description":"Canonical SHA-256 identity of the immutable snapshot content."},"snapshotKey":{"type":"string","description":"Opaque immutable snapshot identity used for retrieval or rollback."}},"description":"Safe version entry for a governed RuleSet. Executable snapshot content is intentionally omitted."},"DomainRuleStatusTransitionRequest":{"type":"object","properties":{"status":{"type":"string","description":"Canonical target lifecycle status for the materialization."},"validationResult":{"$ref":"#/components/schemas/JsonNode"}}},"DomainRuleTestBaselineEvidence":{"type":"object","properties":{"artifactDigest":{"type":"string"},"artifactRef":{"type":"string"},"authorityType":{"type":"string"},"eligibility":{"type":"string"},"observedAtUtc":{"type":"string","format":"date-time"}}},"DomainRuleTestBaselineResult":{"type":"object","properties":{"decision":{"type":"string"},"effectIntents":{"type":"array","items":{"type":"string"}},"errorCode":{"type":"string"},"output":{"$ref":"#/components/schemas/JsonNode"},"planDigest":{"type":"string"},"reasonCodes":{"type":"array","items":{"type":"string"}},"traceDigest":{"type":"string"}}},"DomainRuleTestRunRecordRequest":{"type":"object","properties":{"activeActivationRevision":{"type":"integer","format":"int64"},"activeSnapshotContentHash":{"type":"string"},"activeSnapshotKey":{"type":"string"},"baseDefinitionHash":{"type":"string"},"baselineEvidence":{"$ref":"#/components/schemas/DomainRuleTestBaselineEvidence"},"evaluatedAtUtc":{"type":"string","format":"date-time"},"idempotencyKey":{"type":"string"},"results":{"type":"array","items":{"$ref":"#/components/schemas/DomainRuleTestRunResultRequest"}},"userTimeZone":{"type":"string"},"workspaceRevision":{"type":"integer","format":"int64"}}},"DomainRuleTestRunResponse":{"type":"object","properties":{"activeActivationRevision":{"type":"integer","format":"int64"},"activeSnapshotContentHash":{"type":"string"},"activeSnapshotKey":{"type":"string"},"baseDefinitionHash":{"type":"string"},"baselineEvidence":{"$ref":"#/components/schemas/DomainRuleTestBaselineEvidence"},"evaluatedAtUtc":{"type":"string","format":"date-time"},"idempotencyKey":{"type":"string"},"recordedAt":{"type":"string","format":"date-time"},"recordedBy":{"type":"string"},"requestHash":{"type":"string"},"results":{"type":"array","items":{"$ref":"#/components/schemas/DomainRuleTestRunResultResponse"}},"runId":{"type":"string","format":"uuid"},"userTimeZone":{"type":"string"},"workspaceId":{"type":"string","format":"uuid"},"workspaceRevision":{"type":"integer","format":"int64"}}},"DomainRuleTestRunResultRequest":{"type":"object","properties":{"activeDecision":{"type":"string"},"activeEffectIntents":{"type":"array","items":{"type":"string"}},"activeOutput":{"$ref":"#/components/schemas/JsonNode"},"activePlanDigest":{"type":"string"},"activeReasonCodes":{"type":"array","items":{"type":"string"}},"baselineResult":{"$ref":"#/components/schemas/DomainRuleTestBaselineResult"},"candidateDecision":{"type":"string"},"candidateEffectIntents":{"type":"array","items":{"type":"string"}},"candidateOutput":{"$ref":"#/components/schemas/JsonNode"},"candidatePlanDigest":{"type":"string"},"candidateReasonCodes":{"type":"array","items":{"type":"string"}},"factsDigest":{"type":"string"},"operationalEvidence":{"$ref":"#/components/schemas/DomainRuleOperationalTestEvidence"},"scenarioId":{"type":"string","format":"uuid"},"scenarioKey":{"type":"string"}}},"DomainRuleTestRunResultResponse":{"type":"object","properties":{"activeDecision":{"type":"string"},"activeEffectIntents":{"type":"array","items":{"type":"string"}},"activeEffectsMatchExpected":{"type":"boolean"},"activeMatchesExpected":{"type":"boolean"},"activeOutput":{"$ref":"#/components/schemas/JsonNode"},"activeOutputMatchesExpected":{"type":"boolean"},"activePlanDigest":{"type":"string"},"activeReasonCodes":{"type":"array","items":{"type":"string"}},"activeReasonCodesMatchExpected":{"type":"boolean"},"baselineEffectsMatchExpected":{"type":"boolean"},"baselineMatchesExpected":{"type":"boolean"},"baselineOutputMatchesExpected":{"type":"boolean"},"baselineReasonCodesMatchExpected":{"type":"boolean"},"baselineResult":{"$ref":"#/components/schemas/DomainRuleTestBaselineResult"},"candidateBaselineComparison":{"type":"string"},"candidateDecision":{"type":"string"},"candidateEffectIntents":{"type":"array","items":{"type":"string"}},"candidateEffectsMatchExpected":{"type":"boolean"},"candidateMatchesExpected":{"type":"boolean"},"candidateOutput":{"$ref":"#/components/schemas/JsonNode"},"candidateOutputMatchesExpected":{"type":"boolean"},"candidatePlanDigest":{"type":"string"},"candidateReasonCodes":{"type":"array","items":{"type":"string"}},"candidateReasonCodesMatchExpected":{"type":"boolean"},"comparison":{"type":"string"},"expectedDecision":{"type":"string"},"expectedEffectIntents":{"type":"array","items":{"type":"string"}},"expectedOutput":{"$ref":"#/components/schemas/JsonNode"},"expectedReasonCodes":{"type":"array","items":{"type":"string"}},"factsDigest":{"type":"string"},"operationalEvidence":{"$ref":"#/components/schemas/DomainRuleOperationalTestEvidence"},"scenarioId":{"type":"string","format":"uuid"},"scenarioKey":{"type":"string"}}},"DomainRuleTestScenarioRequest":{"type":"object","properties":{"expectedDecision":{"type":"string"},"expectedEffectIntents":{"type":"array","items":{"type":"string"}},"expectedOutput":{"$ref":"#/components/schemas/JsonNode"},"expectedReasonCodes":{"type":"array","items":{"type":"string"}},"facts":{"$ref":"#/components/schemas/JsonNode"},"name":{"type":"string"},"scenarioKey":{"type":"string"},"status":{"type":"string"}}},"DomainRuleTestScenarioResponse":{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time"},"createdBy":{"type":"string"},"etag":{"type":"string"},"expectedDecision":{"type":"string"},"expectedEffectIntents":{"type":"array","items":{"type":"string"}},"expectedOutput":{"$ref":"#/components/schemas/JsonNode"},"expectedReasonCodes":{"type":"array","items":{"type":"string"}},"facts":{"$ref":"#/components/schemas/JsonNode"},"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"revision":{"type":"integer","format":"int64"},"scenarioKey":{"type":"string"},"status":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"updatedBy":{"type":"string"},"workspaceId":{"type":"string","format":"uuid"}}},"DomainRuleTimelineEventResponse":{"type":"object","properties":{"actor":{"type":"string"},"actorType":{"type":"string"},"eventType":{"type":"string"},"materializationId":{"type":"string","format":"uuid"},"materializationKey":{"type":"string"},"occurredAt":{"type":"string","format":"date-time"},"sourceHash":{"type":"string"},"status":{"type":"string"},"summary":{"type":"string"},"targetArtifactKey":{"type":"string"},"targetArtifactType":{"type":"string"},"targetLayer":{"type":"string"},"visibility":{"type":"string"}}},"DomainRuleTimelineResponse":{"type":"object","properties":{"environment":{"type":"string"},"events":{"type":"array","items":{"$ref":"#/components/schemas/DomainRuleTimelineEventResponse"}},"resourceKey":{"type":"string"},"ruleDefinitionId":{"type":"string","format":"uuid"},"ruleKey":{"type":"string"},"ruleType":{"type":"string"},"ruleVersion":{"type":"integer","format":"int32"},"serviceKey":{"type":"string"},"tenantId":{"type":"string"}}},"DomainRuleWorkspaceBlocker":{"type":"object","properties":{"action":{"type":"string","description":"Action prevented by this blocker."},"code":{"type":"string","description":"Stable machine-readable blocker code."},"message":{"type":"string","description":"Human-readable explanation safe for an authenticated authoring UI."}},"description":"Server-owned reason why a governed workspace action is unavailable."},"DomainRuleWorkspaceCapabilityResponse":{"type":"object","properties":{"availableActions":{"type":"array","items":{"type":"string"}},"blockers":{"type":"array","items":{"$ref":"#/components/schemas/DomainRuleWorkspaceBlocker"}},"etag":{"type":"string"},"revision":{"type":"integer","format":"int64"},"ruleKey":{"type":"string"},"status":{"type":"string"},"workspaceId":{"type":"string","format":"uuid"}},"description":"Server-owned actions and business blockers for one governed Policy Studio workspace."},"DomainRuleWorkspaceReviewRequest":{"type":"object","properties":{"decision":{"type":"string"},"rationale":{"type":"string"}}},"DomainRuleWorkspaceReviewResponse":{"type":"object","properties":{"baseDefinitionHash":{"type":"string"},"decision":{"type":"string"},"id":{"type":"string","format":"uuid"},"rationale":{"type":"string"},"reviewedAt":{"type":"string","format":"date-time"},"reviewerRef":{"type":"string"},"workspaceId":{"type":"string","format":"uuid"},"workspaceRevision":{"type":"integer","format":"int64"}}},"DomainSchemaLink":{"type":"object","properties":{"href":{"type":"string"},"rel":{"type":"string"},"schemaId":{"type":"string"},"schemaType":{"type":"string"}}},"DomainServiceInfo":{"type":"object","properties":{"name":{"type":"string"},"serviceKey":{"type":"string"},"version":{"type":"string"}}},"EditableFields":{"type":"object","properties":{"clearableFields":{"type":"array","items":{"type":"string"}},"requestSchema":{"$ref":"#/components/schemas/CanonicalSchemaRef"},"sourceOperation":{"$ref":"#/components/schemas/CanonicalOperationRef"},"writableFields":{"type":"array","items":{"type":"string"}}}},"EffectiveUiLayoutResponse":{"type":"object","properties":{"appliedLayers":{"type":"array","items":{"$ref":"#/components/schemas/AppliedUiLayoutLayer"}},"compositeEtag":{"type":"string","description":"Canonical validator for the exact target and context."},"contextVersion":{"type":"string","description":"Opaque version of the authoritative runtime context."},"diagnostics":{"type":"array","items":{"$ref":"#/components/schemas/UiLayoutResolutionDiagnostic"}},"document":{"$ref":"#/components/schemas/JsonNode"},"resolvedAt":{"type":"string","format":"date-time"},"schemaVersion":{"type":"string","description":"Version of this response contract."},"target":{"$ref":"#/components/schemas/UiLayoutTarget"}},"description":"Effective schema-validated presentation document and sanitized resolution receipt."},"EmptyWorkflowActionRequest":{"type":"object","description":"Comando sem campos de entrada; a action usa apenas o contexto canonico do path, como o identificador do recurso."},"EnderecoDTO":{"required":["bairro","cep","cidade","estado","funcionarioId","logradouro","numero"],"type":"object","properties":{"bairro":{"minLength":1,"type":"string","description":"Regiao administrativa local usada em rotas, correio e risco (incidente proximo).","example":"Nucleo 7","x-ui":{"controlType":"input","editable":true,"group":"Endereço","helpText":"Região administrativa ou bairro.","icon":"location_city","iconPosition":"left","label":"Bairro","minLength":"1","minLengthMessage":"Bairro deve ter no mínimo 1 caracteres","name":"bairro","order":"40","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Bairro é obrigatório","sortable":true,"type":"text"}},"cep":{"minLength":1,"pattern":"^\\d{5}-?\\d{3}$","type":"string","description":"CEP brasileiro (8 digitos) com ou sem hifen; usado em validacoes de correio e normalizacao de rota.","example":"01310-100","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","PHYSICAL_SECURITY"],"confidence":1.0,"dataCategory":"personal","reason":"O CEP delimita uma área geográfica muito pequena que expõe a região de residência do colaborador.","source":"java.annotation"},"x-ui":{"controlType":"input","editable":true,"group":"Endereço","helpText":"Código postal no formato 00000-000.","icon":"local_post_office","iconPosition":"left","label":"CEP","mask":"00000-000","maxLength":"9","maxLengthMessage":"CEP deve ter no máximo 9 caracteres","minLength":"1","minLengthMessage":"CEP deve ter no mínimo 1 caracteres","name":"cep","order":"70","pattern":"^\\d{5}-?\\d{3}$","patternMessage":"CEP deve ser no formato 00000-000","quickViewOrder":5,"quickViewVisible":true,"required":true,"requiredMessage":"CEP é obrigatório","sortable":true,"type":"text"}},"cidade":{"minLength":1,"type":"string","description":"Municipio ou cidade perante a UF; relevante para calculos fiscais, logistica e agregacoes de RH regionais.","example":"Metropolis","x-ui":{"controlType":"input","editable":true,"group":"Endereço","helpText":"Município de residência.","icon":"location_city","iconPosition":"left","label":"Cidade","minLength":"1","minLengthMessage":"Cidade deve ter no mínimo 1 caracteres","name":"cidade","order":"50","quickViewOrder":3,"quickViewVisible":true,"required":true,"requiredMessage":"Cidade é obrigatório","sortable":true,"type":"text"}},"complemento":{"type":"string","description":"Apartamento, sala, ponto de referencia interna; opcional, mas evita duplicidade de entregas e visitas tecnicas.","example":"Apto 42","x-ui":{"controlType":"input","editable":true,"group":"Endereço","helpText":"Apto, bloco ou ponto de referência.","icon":"pin","iconPosition":"left","label":"Complemento","name":"complemento","order":"30","sortable":true,"type":"text"}},"estado":{"maxLength":2,"minLength":2,"pattern":"^[A-Z]{2}$","type":"string","description":"Unidade federativa (BR) em duas letras maiusculas, conforme validacao; define jurisdicao e feriados locais (referencia).","example":"SP","x-ui":{"controlType":"input","editable":true,"group":"Endereço","helpText":"UF em duas letras maiúsculas (ex: SP, RJ).","icon":"map","iconPosition":"left","label":"Estado","maxLength":"2","maxLengthMessage":"Estado deve ter no máximo 2 caracteres","minLength":"2","minLengthMessage":"Estado deve ter no mínimo 2 caracteres","name":"estado","order":"60","pattern":"^[A-Z]{2}$","patternMessage":"UF deve conter 2 letras maiúsculas","quickViewOrder":4,"quickViewVisible":true,"required":true,"requiredMessage":"Estado é obrigatório","sortable":true,"type":"text"}},"funcionarioId":{"type":"integer","description":"Dono do endereco: identificador do colaborador (heroi) cujo registo de morada este bloco descreve.","format":"int32","example":5,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Relacionamentos","helpText":"Colaborador residente.","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"10","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"funcionarioNome":{"type":"string","description":"Nome de exibicao do colaborador (desnormalizado, somente leitura) para listagens sem join adicional na UI.","x-ui":{"controlType":"input","editable":true,"formHidden":true,"group":"Relacionamentos","helpText":"Nome do residente (preenchido automaticamente).","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioNome","order":"11","quickViewOrder":6,"quickViewVisible":true,"readOnly":true,"resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"funcionarioId"},"sortable":true,"type":"text"}},"id":{"type":"integer","description":"Chave do endereco. Liga-se a um unico funcionario; atualizacoes substituem a visualizacao de lista por recurso sem historico de versao neste contrato.","format":"int32","example":1,"x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"group":"Endereço","icon":"tag","iconPosition":"left","label":"Código","name":"id","order":"1","readOnly":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"logradouro":{"minLength":1,"type":"string","description":"Via publica (rua, avenida, alameda) sem numero; alinhado a normas de correio para integracao e geocodificacao futura.","example":"Rua das Missoes","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","PHYSICAL_SECURITY"],"confidence":1.0,"dataCategory":"personal","reason":"A via pública e localização de residência do colaborador oferecem riscos à segurança física e identificação (LGPD).","source":"java.annotation"},"x-ui":{"controlType":"input","editable":true,"group":"Endereço","helpText":"Rua, avenida ou alameda principal.","icon":"home","iconPosition":"left","label":"Logradouro","minLength":"1","minLengthMessage":"Logradouro deve ter no mínimo 1 caracteres","name":"logradouro","order":"10","required":true,"requiredMessage":"Logradouro é obrigatório","resourceReference":{"resourceKey":"human-resources.enderecos","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"numero":{"maxLength":50,"minLength":0,"type":"string","description":"Numero do imovel, bloco ou lote; pode incluir letra (ex. 1001 A) conforme regra de tamanho maximo.","example":"100","x-ui":{"controlType":"input","editable":true,"group":"Endereço","helpText":"Número do imóvel.","icon":"pin","iconPosition":"left","label":"Número","maxLength":"50","maxLengthMessage":"Número deve ter no máximo 50 caracteres","name":"numero","order":"20","quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Número é obrigatório","sortable":true,"type":"text"}}},"description":"Endereco residencial ou de correspondencia do colaborador. Persistido em recurso dedicado, ligado 1-N ao funcionario; dados de localizacao sao sensiveis (LGPD): uso em folha, contacto de emergencia e logistica operacional, nao em dominios publicos sem consentimento."},"EnderecoFilterDTO":{"type":"object","properties":{"bairro":{"type":"string","description":"Bairro ou distrito; LIKE.","x-ui":{"controlType":"input","editable":true,"helpText":"Buscar por bairro.","icon":"location_city","iconPosition":"left","label":"Bairro","name":"bairro","order":"60","sortable":true,"type":"text"}},"cep":{"type":"string","description":"Codigo postal informado no cadastro, usado para localizar enderecos por zona de entrega, bairro ou normalizacao territorial.","x-ui":{"controlType":"input","editable":true,"helpText":"Buscar por CEP (apenas números ou formatado).","icon":"local_post_office","iconPosition":"left","label":"CEP","mask":"00000-000","maxLength":"9","maxLengthMessage":"CEP deve ter no máximo 9 caracteres","name":"cep","order":"70","sortable":true,"type":"text"}},"cidade":{"type":"string","description":"Municipio de residencia usado em conjunto com UF para recorte geografico de colaboradores e dependencias operacionais.","x-ui":{"controlType":"input","editable":true,"helpText":"Buscar endereços por cidade.","icon":"location_city","iconPosition":"left","label":"Cidade","maxLength":"200","maxLengthMessage":"Cidade deve ter no máximo 200 caracteres","name":"cidade","order":"20","sortable":true,"type":"text"}},"complemento":{"type":"string","description":"Complemento do endereco, como apartamento, bloco ou andar, usado para diferenciar residencias no mesmo logradouro.","x-ui":{"controlType":"input","editable":true,"helpText":"Filtrar por bloco ou apartamento.","icon":"add_location_alt","iconPosition":"left","label":"Complemento","name":"complemento","order":"50","sortable":true,"type":"text"}},"estado":{"type":"string","description":"Sigla da unidade federativa usada para consolidar enderecos por regiao administrativa ou cobertura estadual.","x-ui":{"controlType":"input","editable":true,"helpText":"Buscar pela sigla do estado (UF).","icon":"map","iconPosition":"left","label":"Estado/UF","maxLength":"2","maxLengthMessage":"Estado/UF deve ter no máximo 2 caracteres","name":"estado","order":"30","sortable":true,"type":"text"}},"funcionarioId":{"type":"integer","description":"Titular do endereco; EQUAL por id do Funcionario (FK).","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Localizar endereço de um colaborador específico.","icon":"badge","iconPosition":"left","label":"Colaborador","name":"funcionarioId","order":"40","sortable":true,"type":"number","valueField":"id"}},"logradouro":{"type":"string","description":"Rua, avenida ou via; LIKE (substring).","x-ui":{"controlType":"input","editable":true,"helpText":"Buscar por rua ou avenida.","icon":"home","iconPosition":"left","label":"Logradouro","maxLength":"200","maxLengthMessage":"Logradouro deve ter no máximo 200 caracteres","name":"logradouro","order":"10","sortable":true,"type":"text"}},"numero":{"type":"string","description":"Numero predial; LIKE para acomodar sufixos alfanumericos (ex.: 1200A).","x-ui":{"controlType":"input","editable":true,"helpText":"Filtrar por número da residência.","icon":"pin","iconPosition":"left","label":"Número","maxLength":"50","maxLengthMessage":"Número deve ter no máximo 50 caracteres","name":"numero","order":"35","sortable":true,"type":"text"}}},"description":"Criterios de busca em enderecos residenciais (nao e o endereco a gravar). Apoia localizacao cadastral, recortes territoriais e verificacao de contato com cuidado sobre exposicao de dados pessoais."},"Endpoint":{"type":"object","properties":{"kind":{"type":"string"},"label":{"type":"string"},"method":{"type":"string"},"path":{"type":"string"}}},"EndpointSummary":{"type":"object","properties":{"description":{"type":"string"},"method":{"type":"string"},"operationExamples":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"object"}}},"operationId":{"type":"string"},"parameters":{"type":"array","items":{"$ref":"#/components/schemas/ParameterSummary"}},"path":{"type":"string"},"requestSchema":{"$ref":"#/components/schemas/SchemaRef"},"resourceCapabilities":{"type":"object","additionalProperties":{"type":"boolean"}},"resourceKey":{"type":"string"},"resourcePath":{"type":"string"},"resourceReadOnly":{"type":"boolean"},"resourceVisual":{"$ref":"#/components/schemas/ResourceVisual"},"responseSchema":{"$ref":"#/components/schemas/SchemaRef"},"schemaLinks":{"$ref":"#/components/schemas/SchemaLinks"},"summary":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}}}},"EnterpriseRuntimeContextChoice":{"type":"object","properties":{"choiceRef":{"maxLength":4096,"minLength":1,"type":"string","description":"Opaque host reference to submit unchanged to context selection; not a credential or grant."},"facets":{"type":"object","additionalProperties":{"type":"string","description":"Safe descriptive facets such as unit or profile labels. Excludes raw groups, policies, credentials and independently selectable membership IDs."},"description":"Safe descriptive facets such as unit or profile labels. Excludes raw groups, policies, credentials and independently selectable membership IDs."},"label":{"type":"string","description":"Safe human-readable label for this complete choice, without private entitlement internals."}},"description":"One complete choice currently discoverable by the authenticated session. Facets describe the choice for humans and cannot be recombined into independent authorization selectors."},"EnterpriseRuntimeContextChoicesResponse":{"type":"object","properties":{"items":{"type":"array","description":"Host-authorized discoverable choices for this page; empty is a valid catalog result, not a fallback for an unavailable membership source.","items":{"$ref":"#/components/schemas/EnterpriseRuntimeContextChoice"}},"nextCursor":{"maxLength":4096,"type":"string","description":"Opaque continuation bound by the host to session, query and position. Null means end; invalid or expired cursors fail explicitly rather than restarting the catalog.","nullable":true}},"description":"Bounded live page of choices, not an authorization snapshot or total-count guarantee. The host orders by stable identity and revalidates a choice when selected."},"EnterpriseRuntimeContextResponse":{"type":"object","properties":{"effectiveContext":{"$ref":"#/components/schemas/EnterpriseRuntimeEffectiveContext"},"reasonCode":{"type":"string","description":"Optional safe host reason code for the state; never private membership, policy or token data.","nullable":true},"resolvedAt":{"type":"string","description":"Time when the host resolved this response, not an authorization expiry or cache validator.","format":"date-time"},"schemaVersion":{"type":"string","description":"Schema identity of this runtime projection, not a session or document version."},"selectionVersion":{"maxLength":256,"minLength":1,"type":"string","description":"Opaque host selection version bound to this authenticated issuance. Submit unchanged as expectedSelectionVersion when selecting; never calculate it or use a layout ETag instead."},"state":{"type":"string","description":"selection-required: no choice selected; ready: current choice remains authorized; selection-invalid: stored choice is no longer authorized and must not be exposed.","enum":["selection-required","ready","selection-invalid"]},"user":{"$ref":"#/components/schemas/EnterpriseRuntimeUser"}},"description":"Host-confirmed session selection state. An authenticated session can require an initial selection or recover from a revoked selection without receiving an effective data context."},"EnterpriseRuntimeContextSwitchCommand":{"required":["choiceRef","expectedSelectionVersion"],"type":"object","properties":{"choiceRef":{"maxLength":4096,"minLength":1,"type":"string","description":"Opaque reference returned by context choices. The host resolves and reauthorizes it for the current authenticated session; knowing a reference grants no access."},"expectedSelectionVersion":{"maxLength":256,"minLength":1,"type":"string","description":"Opaque selectionVersion last observed by this session. A stale value conflicts; do not substitute contextVersion or a layout ETag and do not retry blindly."}},"description":"Select one host-issued complete choice with the selection version the caller observed. Unknown, duplicate, non-string or missing properties are rejected. Tenant/profile/module dimensions and presentation preferences are not accepted as an alternate selection command."},"EnterpriseRuntimeEffectiveContext":{"type":"object","properties":{"activeModuleKey":{"type":"string","description":"Current experience module hint, not a capability or membership selector.","nullable":true},"activeOrganizationId":{"type":"string","description":"Safe identifier of the administrative organization selected and confirmed by the host for this contextVersion. It is a current scope fact, not a role, capability, grant or layout-assignment authorization.","nullable":true},"activeProfileId":{"type":"string","description":"Safe active profile projection confirmed by the host, not caller-controlled authority.","nullable":true},"activeTenant":{"$ref":"#/components/schemas/EnterpriseRuntimeTenant"},"authorities":{"type":"array","description":"Minimum host-approved authorities required by public field-access vocabulary. This is not a raw role or grant list and is never inferred from capabilities.","items":{"type":"string","description":"Minimum host-approved authorities required by public field-access vocabulary. This is not a raw role or grant list and is never inferred from capabilities."}},"capabilities":{"type":"array","description":"Only host-approved public capabilities for presentation; raw roles, grants and policies must remain private. The backend authorizes every operation independently.","items":{"type":"string","description":"Only host-approved public capabilities for presentation; raw roles, grants and policies must remain private. The backend authorizes every operation independently."}},"contextVersion":{"minLength":1,"type":"string","description":"Opaque host version of selection and current authorization/audience facts. Changes when those facts change, independently of selectionVersion and configuration ETag."},"environment":{"type":"string","description":"Host-selected runtime environment; callers must request their Config target environment explicitly rather than reinterpret an omitted/global target."},"locale":{"type":"string","description":"Preferred locale for presentation only; never a grant or identity selector.","nullable":true},"timezone":{"type":"string","description":"Preferred presentation timezone only; does not change authorization.","nullable":true}},"description":"Effective context for a ready session. Every context-bound operation must still compare contextVersion with live server evidence; this projection does not grant data or authoring access.","nullable":true},"EnterpriseRuntimeNavigationNode":{"type":"object","properties":{"actionRef":{"type":"string"},"capabilityRef":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/components/schemas/EnterpriseRuntimeNavigationNode"}},"href":{"type":"string"},"icon":{"type":"string"},"id":{"type":"string"},"label":{"type":"string"},"moduleKey":{"type":"string"},"resourceKey":{"type":"string"},"route":{"type":"string"},"surfaceRef":{"type":"string"},"type":{"type":"string"}}},"EnterpriseRuntimeNavigationResponse":{"type":"object","properties":{"capabilities":{"type":"array","items":{"type":"string"}},"contextVersion":{"type":"string"},"headReceipts":{"type":"array","items":{"$ref":"#/components/schemas/UiLayoutReleaseHeadReceipt"}},"nextCursor":{"type":"string"},"nodes":{"type":"array","items":{"$ref":"#/components/schemas/EnterpriseRuntimeNavigationNode"}},"receiptEtag":{"type":"string"},"resolvedAt":{"type":"string","format":"date-time"},"schemaVersion":{"type":"string"}}},"EnterpriseRuntimeSecurityEvent":{"type":"object","properties":{"environment":{"type":"string"},"eventRef":{"type":"string"},"eventType":{"type":"string"},"metadata":{"type":"object","additionalProperties":{"type":"string"}},"occurredAt":{"type":"string","format":"date-time"},"severity":{"type":"string"},"summary":{"type":"string"},"tenantId":{"type":"string"}}},"EnterpriseRuntimeSecurityEventsResponse":{"type":"object","properties":{"capabilities":{"type":"array","items":{"type":"string"}},"events":{"type":"array","items":{"$ref":"#/components/schemas/EnterpriseRuntimeSecurityEvent"}},"resolvedAt":{"type":"string","format":"date-time"},"schemaVersion":{"type":"string"}}},"EnterpriseRuntimeTenant":{"type":"object","properties":{"active":{"type":"boolean"},"label":{"type":"string"},"tenantId":{"type":"string"}}},"EnterpriseRuntimeTenantsResponse":{"type":"object","properties":{"activeTenant":{"$ref":"#/components/schemas/EnterpriseRuntimeTenant"},"capabilities":{"type":"array","items":{"type":"string"}},"resolvedAt":{"type":"string","format":"date-time"},"schemaVersion":{"type":"string"},"tenants":{"type":"array","items":{"$ref":"#/components/schemas/EnterpriseRuntimeTenant"}}}},"EnterpriseRuntimeUser":{"type":"object","properties":{"displayName":{"type":"string"},"resolvedFromServerPrincipal":{"type":"boolean"},"userId":{"type":"string"}},"description":"Safe identity projection of the session validated by the host; excludes credentials and grants."},"EquipamentoAlocacaoDTO":{"required":["equipamentoId","funcionarioId","inicio"],"type":"object","properties":{"equipamentoId":{"type":"integer","description":"Equipamento entregue ao colaborador durante o período de custódia.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/assets/equipamentos/option-sources/equipment/options/filter","icon":"construction","iconPosition":"left","label":"Equipamento","name":"equipamentoId","order":"10","required":true,"requiredMessage":"Equipamento é obrigatório","resourceReference":{"resourceKey":"assets.equipamentos","surfaceId":"view","valueField":"equipamentoId"},"sortable":true,"type":"number","valueField":"id"}},"fim":{"type":"string","description":"Data e hora de encerramento; permanece vazia enquanto a custódia estiver ativa.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"event","iconPosition":"left","label":"Fim","name":"fim","order":"40","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"funcionarioId":{"type":"integer","description":"Colaborador responsável pela custódia do equipamento.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"20","required":true,"requiredMessage":"Funcionário é obrigatório","resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"funcionarioId"},"sortable":true,"type":"number","valueField":"id"}},"id":{"type":"integer","description":"Identificador da alocação de equipamento; referencia o período de custódia em URLs e trilhas de auditoria.","format":"int32"},"inicio":{"type":"string","description":"Data e hora de início da responsabilidade de custódia.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"event","iconPosition":"left","label":"Início","name":"inicio","order":"30","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Início é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"status":{"type":"string","description":"Situacao da responsabilidade de custodia do equipamento (ATIVO na abertura; transicionado para DEVOLVIDO, DANIFICADO ou PERDIDO via workflow actions governadas).","enum":["ATIVO","DEVOLVIDO","PERDIDO","DANIFICADO"],"x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","options":[{"value":"ATIVO","label":"ATIVO"},{"value":"DEVOLVIDO","label":"DEVOLVIDO"},{"value":"PERDIDO","label":"PERDIDO"},{"value":"DANIFICADO","label":"DANIFICADO"}],"order":"50","quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Vínculo temporal de custódia entre um equipamento e um colaborador, registrando início, encerramento e estado da responsabilidade operacional."},"EquipamentoAlocacaoFilterDTO":{"type":"object","properties":{"equipamentoId":{"type":"integer","description":"Equipamento cuja cadeia de custodia deve ser consultada.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/assets/equipamentos/option-sources/equipment/options/filter","helpText":"Mostra o histórico de alocações de um item específico.","icon":"construction","iconPosition":"left","label":"Equipamento","name":"equipamentoId","order":"10","sortable":true,"type":"number","valueField":"id"}},"fimBetween":{"description":"Janela em que a custodia foi encerrada; alocacoes ativas podem nao ter fim preenchido.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date-time","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null}}],"items":{"type":"string","format":"date-time","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":true},"startDate":{"type":"string","format":"date-time","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date-time","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateTimeRange","editable":true,"helpText":"Filtra pela janela em que a custódia foi encerrada.","icon":"event","iconPosition":"left","label":"Período de término","name":"fimBetween","order":"50","sortable":true,"type":"date"}},"funcionarioId":{"type":"integer","description":"Colaborador ou operador vinculado as alocacoes de equipamento buscadas.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Filtra as alocações vinculadas a um colaborador ou herói.","icon":"badge","iconPosition":"left","label":"Colaborador","name":"funcionarioId","order":"20","sortable":true,"type":"number","valueField":"id"}},"inicioBetween":{"description":"Janela em que a custodia do equipamento foi iniciada.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date-time","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null}}],"items":{"type":"string","format":"date-time","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":true},"startDate":{"type":"string","format":"date-time","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date-time","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateTimeRange","editable":true,"helpText":"Filtra pela janela em que a custódia do equipamento começou.","icon":"event","iconPosition":"left","label":"Período de início","name":"inicioBetween","order":"40","sortable":true,"type":"date"}},"status":{"type":"string","description":"Status da alocacao, usado para separar custodias ativas, encerradas ou em transicao.","enum":["ATIVO","DEVOLVIDO","PERDIDO","DANIFICADO"],"x-ui":{"controlType":"select","editable":true,"helpText":"Diferencia alocações ativas, encerradas ou em transição.","icon":"toggle_on","iconPosition":"left","label":"Status da alocação","name":"status","options":[{"value":"ATIVO","label":"ATIVO"},{"value":"DEVOLVIDO","label":"DEVOLVIDO"},{"value":"PERDIDO","label":"PERDIDO"},{"value":"DANIFICADO","label":"DANIFICADO"}],"order":"30","sortable":true,"type":"text"}}},"description":"Criterios de busca no historico de alocacoes (equipamento x colaborador, janela e status); nao e a cedencia a ajustar so com filtrar. Usado para rastrear cadeia de custodia, responsavel, vigencia e estado da alocacao."},"EquipamentoDTO":{"required":["nome","status"],"type":"object","properties":{"id":{"type":"integer","description":"Identificador do equipamento no inventario; referencia o recurso em URLs, alocacoes de custodia e relacionamentos operacionais.","format":"int32"},"nome":{"maxLength":200,"minLength":0,"type":"string","description":"Designacao oficial do item no inventario tatico (ex.: escudo, traje, comunicador ou dispositivo de campo).","x-ui":{"controlType":"input","editable":true,"icon":"badge","iconPosition":"left","label":"Nome","maxLength":"200","maxLengthMessage":"Nome deve ter no máximo 200 caracteres","name":"nome","required":true,"requiredMessage":"Nome é obrigatório","resourceReference":{"resourceKey":"assets.equipamentos","surfaceId":"view","valueField":"id"},"sortable":true,"type":"text"}},"proprietarioId":{"type":"integer","description":"Colaborador detentor da custodia formal vigente do equipamento enquanto o item estiver em uso operacional (governado exclusivamente por custodia ATIVO em equipamento-alocacoes).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","icon":"inventory_2","iconPosition":"left","label":"Proprietário","name":"proprietarioId","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"proprietarioNome":{"type":"string","description":"Nome do colaborador custodiante projetado para tabelas e visualizacoes de inventario.","x-ui":{"controlType":"input","editable":true,"formHidden":true,"icon":"inventory_2","iconPosition":"left","label":"Proprietário","name":"proprietarioNome","quickViewOrder":4,"quickViewVisible":true,"readOnly":true,"resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"proprietarioId"},"sortable":true,"type":"text"}},"resistencia":{"minimum":0,"type":"integer","description":"Indice nominal de protecao, durabilidade ou integridade estrutural do ativo (escala de dominio a partir de 0).","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"inventory_2","iconPosition":"left","label":"Resistência","min":"0","name":"resistencia","numericMin":"0","quickViewOrder":3,"quickViewVisible":true,"rangeMessage":"Resistência deve ser maior ou igual a 0","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"status":{"type":"string","description":"Estado operacional de disponibilidade do equipamento (ESTOQUE, EM_USO, MANUTENCAO, QUEBRADO ou PERDIDO), governado por custodia e workflow actions auditadas em availability-transitions.","enum":["EM_USO","ESTOQUE","MANUTENCAO","QUEBRADO","PERDIDO"],"x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","options":[{"value":"EM_USO","label":"EM_USO"},{"value":"ESTOQUE","label":"ESTOQUE"},{"value":"MANUTENCAO","label":"MANUTENCAO"},{"value":"QUEBRADO","label":"QUEBRADO"},{"value":"PERDIDO","label":"PERDIDO"}],"quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Status é obrigatório","sortable":true,"type":"text"}},"tipo":{"type":"string","description":"Categoria tatica do equipamento no inventario (ARMADURA, ARMA, GADGET, ARTEFATO ou OUTRO), orientando alocacao e manutencao.","enum":["ARMADURA","ARMA","GADGET","ARTEFATO","OUTRO"],"x-ui":{"controlType":"select","editable":true,"icon":"category","iconPosition":"left","label":"Tipo","name":"tipo","options":[{"value":"ARMADURA","label":"ARMADURA"},{"value":"ARMA","label":"ARMA"},{"value":"GADGET","label":"GADGET"},{"value":"ARTEFATO","label":"ARTEFATO"},{"value":"OUTRO","label":"OUTRO"}],"quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Item operacional do inventario, como equipamento, traje ou ferramenta, com classificacao tatica, resistencia, custodiante e status de disponibilidade."},"EquipamentoFilterDTO":{"type":"object","properties":{"nome":{"type":"string","description":"Trecho da designacao, nome operacional ou apelido do equipamento no inventario.","x-ui":{"controlType":"input","editable":true,"helpText":"Busca por nome, designação ou apelido do equipamento.","icon":"filter_list","iconPosition":"left","label":"Nome do equipamento","maxLength":"200","maxLengthMessage":"Nome do equipamento deve ter no máximo 200 caracteres","name":"nome","order":"10","sortable":true,"type":"text"}},"proprietarioId":{"type":"integer","description":"Colaborador ou operador que detem a custodia formal do equipamento.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Filtra equipamentos sob custódia de um colaborador ou herói.","icon":"badge","iconPosition":"left","label":"Responsável","name":"proprietarioId","order":"30","sortable":true,"type":"number","valueField":"id"}},"resistenciaBetween":{"description":"Faixa de resistencia, durabilidade ou capacidade de absorcao usada para comparar equipamentos.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"integer","format":"int32","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null}}],"items":{"type":"integer","format":"int32","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":true,"example":null},"min":{"type":"integer","format":"int32","nullable":true,"example":null}},"anyOf":[{"required":["min"],"type":"object","properties":{"min":{"type":"integer","format":"int32","nullable":false,"example":null}}},{"required":["max"],"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"rangeSlider","editable":true,"helpText":"Filtra por intervalo de durabilidade ou capacidade de absorção do equipamento.","icon":"stacked_bar_chart","iconPosition":"left","label":"Faixa de resistência","mode":"range","name":"resistenciaBetween","order":"50","sortable":true,"type":"number"}},"status":{"type":"string","description":"Status de disponibilidade do equipamento, como operacional, em manutencao ou perdido.","enum":["EM_USO","ESTOQUE","MANUTENCAO","QUEBRADO","PERDIDO"],"x-ui":{"controlType":"select","editable":true,"helpText":"Mostra itens conforme disponibilidade, manutenção ou perda.","icon":"toggle_on","iconPosition":"left","label":"Status do equipamento","name":"status","options":[{"value":"EM_USO","label":"EM_USO"},{"value":"ESTOQUE","label":"ESTOQUE"},{"value":"MANUTENCAO","label":"MANUTENCAO"},{"value":"QUEBRADO","label":"QUEBRADO"},{"value":"PERDIDO","label":"PERDIDO"}],"order":"40","sortable":true,"type":"text"}},"tipo":{"type":"string","description":"Categoria tatica do equipamento, restringindo a busca a um valor do catalogo EquipamentoTipo.","enum":["ARMADURA","ARMA","GADGET","ARTEFATO","OUTRO"],"x-ui":{"controlType":"select","editable":true,"helpText":"Restringe a busca à categoria do item operacional.","icon":"category","iconPosition":"left","label":"Tipo de equipamento","name":"tipo","options":[{"value":"ARMADURA","label":"ARMADURA"},{"value":"ARMA","label":"ARMA"},{"value":"GADGET","label":"GADGET"},{"value":"ARTEFATO","label":"ARTEFATO"},{"value":"OUTRO","label":"OUTRO"}],"order":"20","sortable":true,"type":"text"}}},"description":"Criterios de busca no inventario de equipamento (traje, arma, gadget); nao e o item a ajustar so com filtrar. Usado para localizar ativos por designacao, categoria, custodiante, status e faixa de resistencia."},"EquipeDTO":{"required":["nome","status"],"type":"object","properties":{"basePrincipalId":{"type":"integer","description":"FK; instalacao de origem/ logistica (basePrincipalId).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/bases/option-sources/base/options/filter","icon":"location_on","iconPosition":"left","label":"Base Principal","name":"basePrincipalId","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"basePrincipalNome":{"type":"string","description":"Nome da base denormalizado para tabela (read model).","x-ui":{"controlType":"input","editable":true,"formHidden":true,"icon":"location_on","iconPosition":"left","label":"Base Principal","name":"basePrincipalNome","quickViewOrder":2,"quickViewVisible":true,"readOnly":true,"resourceReference":{"resourceKey":"operations.bases","surfaceId":"detail","valueField":"basePrincipalId"},"sortable":true,"type":"text"}},"id":{"type":"integer","description":"Identificador interno (PK) deste registo no servico; referencia o recurso em URLs e relacionamentos.","format":"int32"},"nome":{"maxLength":200,"minLength":0,"type":"string","description":"Designacao oficial do grupo de atuacao.","x-ui":{"controlType":"input","editable":true,"icon":"badge","iconPosition":"left","label":"Nome","maxLength":"200","maxLengthMessage":"Nome deve ter no máximo 200 caracteres","name":"nome","required":true,"requiredMessage":"Nome é obrigatório","resourceReference":{"resourceKey":"operations.equipes","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"sigla":{"maxLength":12,"minLength":0,"type":"string","description":"Abreviatura de comunicacoes (ex. ALFA-1).","x-ui":{"controlType":"input","editable":true,"icon":"label","iconPosition":"left","label":"Sigla","maxLength":"12","maxLengthMessage":"Sigla deve ter no máximo 12 caracteres","name":"sigla","sortable":true,"type":"text"}},"status":{"type":"string","description":"Elegibilidade de escalonamento; EquipeStatus.","enum":["ATIVA","RESERVA","DISSOLVIDA"],"x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","options":[{"value":"ATIVA","label":"ATIVA"},{"value":"RESERVA","label":"RESERVA"},{"value":"DISSOLVIDA","label":"DISSOLVIDA"}],"quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Status é obrigatório","sortable":true,"type":"text"}}},"description":"Unidade tactica (nome, sigla, base de apoio, status de escalonamento). Representa o agrupamento operacional usado para composicao de missoes, disponibilidade de resposta e planejamento de cobertura por base."},"EquipeFilterDTO":{"type":"object","properties":{"basePrincipalId":{"type":"integer","description":"Base operacional principal onde a equipe esta ancorada.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/bases/option-sources/base/options/filter","helpText":"Selecione a base operacional principal da equipe.","icon":"location_on","iconPosition":"left","label":"Base principal","name":"basePrincipalId","order":"20","sortable":true,"type":"number","valueField":"id"}},"nome":{"type":"string","description":"Trecho do nome da unidade tatica usado para localizar equipes operacionais.","x-ui":{"controlType":"input","editable":true,"helpText":"Digite parte do nome da equipe tática.","icon":"filter_list","iconPosition":"left","label":"Nome da equipe","maxLength":"200","maxLengthMessage":"Nome da equipe deve ter no máximo 200 caracteres","name":"nome","order":"10","sortable":true,"type":"text"}},"sigla":{"type":"string","description":"Trecho da sigla usada como identificador curto da equipe.","x-ui":{"controlType":"input","editable":true,"helpText":"Digite a sigla ou parte da sigla da equipe.","icon":"filter_list","iconPosition":"left","label":"Sigla da equipe","maxLength":"50","maxLengthMessage":"Sigla da equipe deve ter no máximo 50 caracteres","name":"sigla","order":"15","sortable":true,"type":"text"}},"status":{"type":"string","description":"Estado operacional atual da equipe, usado para separar equipes ativas, indisponiveis ou em reorganizacao.","enum":["ATIVA","RESERVA","DISSOLVIDA"],"x-ui":{"controlType":"select","editable":true,"helpText":"Filtra por um único estado da equipe.","icon":"toggle_on","iconPosition":"left","label":"Status da equipe","name":"status","options":[{"value":"ATIVA","label":"ATIVA"},{"value":"RESERVA","label":"RESERVA"},{"value":"DISSOLVIDA","label":"DISSOLVIDA"}],"order":"30","sortable":true,"type":"text"}},"statusIn":{"type":"array","description":"Conjunto de estados de equipe que devem aparecer no resultado da busca.","items":{"type":"string","description":"Conjunto de estados de equipe que devem aparecer no resultado da busca.","enum":["ATIVA","RESERVA","DISSOLVIDA"]},"x-ui":{"controlType":"select","editable":true,"helpText":"Mostra apenas equipes nos status selecionados.","icon":"toggle_on","iconPosition":"left","label":"Mostrar status","multiple":true,"name":"statusIn","options":[{"value":"ATIVA","label":"ATIVA"},{"value":"RESERVA","label":"RESERVA"},{"value":"DISSOLVIDA","label":"DISSOLVIDA"}],"order":"40","sortable":true,"type":"array"}},"statusNotIn":{"type":"array","description":"Conjunto de estados de equipe que devem ser removidos do resultado da busca.","items":{"type":"string","description":"Conjunto de estados de equipe que devem ser removidos do resultado da busca.","enum":["ATIVA","RESERVA","DISSOLVIDA"]},"x-ui":{"controlType":"select","editable":true,"helpText":"Remove do resultado as equipes nos status selecionados.","icon":"toggle_off","iconPosition":"left","label":"Ocultar status","multiple":true,"name":"statusNotIn","options":[{"value":"ATIVA","label":"ATIVA"},{"value":"RESERVA","label":"RESERVA"},{"value":"DISSOLVIDA","label":"DISSOLVIDA"}],"order":"50","sortable":true,"type":"array"}}},"description":"Criterios de busca em equipes taticas de Operacoes. Apoia descoberta por nome, sigla, base principal e estado operacional da equipe."},"EquipeMembroDTO":{"required":["dataEntrada","equipeId","funcionarioId"],"type":"object","properties":{"dataEntrada":{"type":"string","description":"Inicio de vigencia na equipe (alistamento).","format":"date","x-ui":{"controlType":"date","editable":true,"group":"Principal","icon":"event","iconPosition":"left","label":"Data de Entrada","name":"dataEntrada","order":"20","quickViewOrder":3,"quickViewVisible":true,"required":true,"requiredMessage":"Data de Entrada é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"dataSaida":{"type":"string","description":"Fim de vigencia; nulo se escalado de forma continua.","format":"date","x-ui":{"controlType":"date","editable":true,"group":"Principal","icon":"event","iconPosition":"left","label":"Data de Saída","name":"dataSaida","order":"30","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"equipeId":{"type":"integer","description":"FK; unidade tactica (equipeId).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/equipes/option-sources/team/options/filter","group":"Relacionamentos","icon":"groups","iconPosition":"left","label":"Equipe","name":"equipeId","order":"10","required":true,"requiredMessage":"Equipe é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"equipeNome":{"type":"string","description":"Nome da equipe denormalizado (read model).","x-ui":{"controlType":"input","editable":true,"formHidden":true,"group":"Relacionamentos","icon":"groups","iconPosition":"left","label":"Equipe","name":"equipeNome","order":"11","quickViewOrder":2,"quickViewVisible":true,"readOnly":true,"resourceReference":{"resourceKey":"operations.equipes","surfaceId":"detail","valueField":"equipeId"},"sortable":true,"type":"text"}},"funcionarioId":{"type":"integer","description":"FK; colaborador alocado (funcionarioId).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Relacionamentos","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"20","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"funcionarioNome":{"type":"string","description":"Nome do colaborador denormalizado (read model).","x-ui":{"controlType":"input","editable":true,"formHidden":true,"group":"Relacionamentos","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioNome","order":"21","readOnly":true,"resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"funcionarioId"},"sortable":true,"type":"text"}},"id":{"type":"integer","description":"Identificador interno (PK) deste registo no servico; referencia o recurso em URLs e relacionamentos.","format":"int32"},"papel":{"type":"string","description":"Funcao no quadro; PapelEquipe.","enum":["LIDER","CO_LIDER","OPERACIONAL","SUPORTE","CONSULTOR"],"x-ui":{"controlType":"select","editable":true,"group":"Principal","icon":"label","iconPosition":"left","label":"Papel","name":"papel","options":[{"value":"LIDER","label":"LIDER"},{"value":"CO_LIDER","label":"CO_LIDER"},{"value":"OPERACIONAL","label":"OPERACIONAL"},{"value":"SUPORTE","label":"SUPORTE"},{"value":"CONSULTOR","label":"CONSULTOR"}],"order":"10","quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Nomeacao de colaborador a equipe (papel, vigencia de entrada e saida). Materializa a composicao historica da equipe e suporta escala, disponibilidade e leitura de responsabilidade operacional."},"EquipeMembroFilterDTO":{"type":"object","properties":{"dataEntradaBetween":{"description":"Janela de entrada do colaborador na composicao da equipe.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null}}],"items":{"type":"string","format":"date","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":true},"startDate":{"type":"string","format":"date","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateRange","editable":true,"helpText":"Filtra pela janela em que o membro entrou na equipe.","icon":"event","iconPosition":"left","label":"Período de entrada","name":"dataEntradaBetween","order":"40","sortable":true,"type":"date"}},"dataEntradaOn":{"type":"string","description":"Dia civil usado para localizar entradas de membros na equipe.","format":"date","x-ui":{"controlType":"date","editable":true,"helpText":"Mostra membros que entraram na equipe em uma data específica.","icon":"event","iconPosition":"left","label":"Entrada em","name":"dataEntradaOn","order":"80","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"dataSaidaBetween":{"description":"Janela de saida, desligamento ou transferencia do colaborador da equipe.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null}}],"items":{"type":"string","format":"date","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":true},"startDate":{"type":"string","format":"date","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateRange","editable":true,"helpText":"Filtra pela janela em que o membro saiu ou foi transferido.","icon":"event","iconPosition":"left","label":"Período de saída","name":"dataSaidaBetween","order":"50","sortable":true,"type":"date"}},"dataSaidaOn":{"type":"string","description":"Dia civil usado para localizar saidas de membros da equipe.","format":"date","x-ui":{"controlType":"date","editable":true,"helpText":"Mostra membros que saíram da equipe em uma data específica.","icon":"event","iconPosition":"left","label":"Saída em","name":"dataSaidaOn","order":"90","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"equipeId":{"type":"integer","description":"Equipe tatica cuja composicao de membros deve ser consultada.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/equipes/option-sources/team/options/filter","helpText":"Mostra membros vinculados a uma equipe específica.","icon":"groups","iconPosition":"left","label":"Equipe","name":"equipeId","order":"10","sortable":true,"type":"number","valueField":"id"}},"funcionarioId":{"type":"integer","description":"Colaborador ou heroi cuja participacao em equipes deve ser localizada.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Mostra a participação de um colaborador em equipes.","icon":"badge","iconPosition":"left","label":"Colaborador","name":"funcionarioId","order":"20","sortable":true,"type":"number","valueField":"id"}},"papeisIn":{"type":"array","description":"Conjunto de papeis de equipe aceitos para compor o resultado da busca.","items":{"type":"string","description":"Conjunto de papeis de equipe aceitos para compor o resultado da busca.","enum":["LIDER","CO_LIDER","OPERACIONAL","SUPORTE","CONSULTOR"]},"x-ui":{"controlType":"inlineMultiSelect","editable":true,"helpText":"Inclui membros que tenham qualquer um dos papéis selecionados.","icon":"filter_list","iconPosition":"left","label":"Mostrar papéis","name":"papeisIn","options":[{"value":"LIDER","label":"LIDER"},{"value":"CO_LIDER","label":"CO_LIDER"},{"value":"OPERACIONAL","label":"OPERACIONAL"},{"value":"SUPORTE","label":"SUPORTE"},{"value":"CONSULTOR","label":"CONSULTOR"}],"order":"60","sortable":true,"type":"array"}},"papeisNotIn":{"type":"array","description":"Conjunto de papeis de equipe que devem ser excluidos do resultado da busca.","items":{"type":"string","description":"Conjunto de papeis de equipe que devem ser excluidos do resultado da busca.","enum":["LIDER","CO_LIDER","OPERACIONAL","SUPORTE","CONSULTOR"]},"x-ui":{"controlType":"inlineMultiSelect","editable":true,"helpText":"Remove do resultado membros com os papéis selecionados.","icon":"filter_list","iconPosition":"left","label":"Ocultar papéis","name":"papeisNotIn","options":[{"value":"LIDER","label":"LIDER"},{"value":"CO_LIDER","label":"CO_LIDER"},{"value":"OPERACIONAL","label":"OPERACIONAL"},{"value":"SUPORTE","label":"SUPORTE"},{"value":"CONSULTOR","label":"CONSULTOR"}],"order":"70","sortable":true,"type":"array"}},"papel":{"type":"string","description":"Funcao exercida pelo colaborador dentro da equipe tatica.","enum":["LIDER","CO_LIDER","OPERACIONAL","SUPORTE","CONSULTOR"],"x-ui":{"controlType":"select","editable":true,"helpText":"Filtra por uma função específica exercida na equipe.","icon":"filter_list","iconPosition":"left","label":"Papel na equipe","name":"papel","options":[{"value":"LIDER","label":"LIDER"},{"value":"CO_LIDER","label":"CO_LIDER"},{"value":"OPERACIONAL","label":"OPERACIONAL"},{"value":"SUPORTE","label":"SUPORTE"},{"value":"CONSULTOR","label":"CONSULTOR"}],"order":"30","sortable":true,"type":"text"}}},"description":"Criterios de busca no quadro de membros de equipes taticas. Relaciona equipe, colaborador, papel exercido e janelas de entrada ou saida da composicao."},"EventoFolhaWorkflowResultDTO":{"type":"object","properties":{"status":{"type":"string","description":"Estado persistido do evento após a decisão de workflow.","enum":["PENDENTE","APROVADO","REJEITADO"]},"transitionId":{"type":"string","description":"Identificador da transição append-only criada para a decisão.","format":"uuid"}},"description":"Resultado de uma transição individual de evento de folha, com a evidência auditável e o estado efetivamente persistido."},"EventosFolhaFilterDTO":{"type":"object","properties":{"descricao":{"type":"string","description":"Pesquisa em descricao de rubrica (ex.: bonus, pensao); LIKE.","x-ui":{"controlType":"input","editable":true,"helpText":"Filtrar evento por descrição.","icon":"description","iconPosition":"left","label":"Descrição do Evento","maxLength":"255","maxLengthMessage":"Descrição do Evento deve ter no máximo 255 caracteres","name":"descricao","order":"10","sortable":true,"type":"text"}},"folhaPagamentoId":{"type":"integer","description":"Folha de pagamento a que o evento pertence; EQUAL por id (competencia / lote).","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/folhas-pagamento/option-sources/payroll/options/filter","helpText":"Filtrar eventos de uma folha específica.","icon":"receipt_long","iconPosition":"left","label":"Folha de pagamento","name":"folhaPagamentoId","order":"40","sortable":true,"type":"number","valueField":"id"}},"status":{"type":"string","description":"Estado persistido do evento no workflow de folha: pendente, aprovado ou rejeitado.","enum":["PENDENTE","APROVADO","REJEITADO"],"x-ui":{"controlType":"select","editable":true,"helpText":"Filtrar eventos pela situação atual no fluxo de conferência e fechamento.","icon":"approval","iconPosition":"left","label":"Status","name":"status","options":[{"value":"PENDENTE","label":"PENDENTE"},{"value":"APROVADO","label":"APROVADO"},{"value":"REJEITADO","label":"REJEITADO"}],"order":"50","sortable":true,"type":"text"}},"tipo":{"type":"string","description":"Classificacao da rubrica, como provento, desconto ou ajuste, usada para separar impacto financeiro e regra de conferencia.","x-ui":{"controlType":"input","editable":true,"helpText":"Filtrar pelo tipo do evento (ex: provento).","icon":"event_note","iconPosition":"left","label":"Tipo de Evento","maxLength":"100","maxLengthMessage":"Tipo de Evento deve ter no máximo 100 caracteres","name":"tipo","order":"20","sortable":true,"type":"text"}},"valorBetween":{"description":"Intervalo monetario da rubrica usado para localizar valores fora do padrao, impactos relevantes ou itens de auditoria.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"number","format":"decimal","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null}}],"items":{"type":"number","format":"decimal","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"currency":{"type":"string"},"maxPrice":{"type":"number","format":"decimal","nullable":true,"example":null},"minPrice":{"type":"number","format":"decimal","nullable":true,"example":null}},"anyOf":[{"required":["minPrice"],"type":"object","properties":{"minPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}},{"required":["maxPrice"],"type":"object","properties":{"maxPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"priceRange","editable":true,"helpText":"Buscar eventos dentro de uma faixa de valor.","icon":"payments","iconPosition":"left","label":"Faixa de Valor","name":"valorBetween","numericFormat":"currency","numericStep":"0.01","order":"30","sortable":true,"type":"number"}}},"description":"Criterios de busca em linhas de evento de folha (rubrica), nao a folha inteira. Apoia conferencia de proventos, descontos e ajustes antes de aprovacao, pagamento ou auditoria trabalhista."},"EventosFolhaResponseDTO":{"type":"object","properties":{"descricao":{"type":"string","description":"Explicacao legivel do evento (ex.: 'Bonus missao', 'Pensao judicial'); aparece em extratos e trilha de aprovacao.","example":"Adicional de periculosidade - Operacoes","x-ui":{"controlType":"textarea","editable":true,"group":"Principal","helpText":"Motivo ou nome do evento na folha.","icon":"description","iconPosition":"left","label":"Descrição","maxLength":"255","maxLengthMessage":"Descrição deve ter no máximo 255 caracteres","name":"descricao","order":"10","required":true,"requiredMessage":"Descrição é obrigatório","resourceReference":{"resourceKey":"human-resources.eventos-folha","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"folhaPagamentoId":{"type":"integer","description":"Folha de pagamento a que o evento pertence, agregando competencia e janela de fechamento.","format":"int32","example":5,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/folhas-pagamento/option-sources/payroll/options/filter","group":"Relacionamentos","helpText":"Folha à qual o evento pertence.","icon":"receipt_long","iconPosition":"left","label":"Folha de Pagamento","name":"folhaPagamentoId","order":"10","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"folhaPagamentoNome":{"type":"string","description":"Rotulo resumido da folha (competencia ou nome) para listagens sem lookup; espelha folhaPagamentoId.","x-ui":{"controlType":"input","editable":true,"formHidden":true,"group":"Relacionamentos","helpText":"Competência ou Folha (preenchido automaticamente).","icon":"receipt_long","iconPosition":"left","label":"Folha","name":"folhaPagamentoNome","order":"11","quickViewOrder":4,"quickViewVisible":true,"readOnly":true,"resourceReference":{"resourceKey":"human-resources.folhas-pagamento","surfaceId":"detail","valueField":"folhaPagamentoId"},"sortable":true,"type":"text"}},"id":{"type":"integer","description":"Chave do evento de folha. Identifica o item no recurso e nas acoes de aprovacao em lote.","format":"int32","example":1,"x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"group":"Principal","icon":"tag","iconPosition":"left","label":"Código","name":"id","order":"1","readOnly":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"precondicaoFolhaAtual":{"$ref":"#/components/schemas/PayrollParentPreconditionDTO"},"resourceVersion":{"type":"string","description":"ETag opaco da versão persistida usado por comandos governados.","readOnly":true,"example":"\"eyJ...\"","x-ui":{"controlType":"input","editable":true,"formHidden":true,"iconPosition":"left","label":"Token de versão","name":"resourceVersion","readOnly":true,"sortable":true,"tableHidden":true,"type":"text"}},"status":{"type":"string","description":"Estado persistido do evento no workflow de folha. PENDENTE ainda pode ser conferido; APROVADO integra o fechamento; REJEITADO exige tratamento antes de novo processamento.","example":"PENDENTE","enum":["PENDENTE","APROVADO","REJEITADO"],"x-ui":{"controlType":"select","editable":true,"group":"Workflow","helpText":"Situação atual do evento no fluxo de conferência e fechamento.","icon":"approval","iconPosition":"left","label":"Status","name":"status","options":[{"value":"PENDENTE","label":"PENDENTE"},{"value":"APROVADO","label":"APROVADO"},{"value":"REJEITADO","label":"REJEITADO"}],"order":"10","presentation":{"appearance":"soft","presenter":"status"},"quickViewOrder":2,"quickViewVisible":true,"readOnly":true,"sortable":true,"type":"text"}},"tipo":{"type":"string","description":"Classificação do evento. Novas escritas admitem apenas ADICIONAL ou DESCONTO; tipos históricos permanecem como observação original.","example":"ADICIONAL","x-ui":{"controlType":"input","editable":true,"group":"Principal","helpText":"Adicional ou desconto em eventos novos; o histórico pode reter tipos antigos.","icon":"category","iconPosition":"left","label":"Tipo","maxLength":"100","maxLengthMessage":"Tipo deve ter no máximo 100 caracteres","name":"tipo","order":"20","quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Tipo é obrigatório","sortable":true,"type":"text"}},"valor":{"type":"number","description":"Montante operacional em BRL; ausente enquanto a folha aguarda reconciliação.","format":"decimal","example":1500.0,"x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"financial","reason":"Valor financeiro do evento, sujeito à autorização da folha e ao mascaramento em contexto de IA.","source":"java.annotation"},"x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"group":"Principal","helpText":"Valor absoluto financeiro do evento.","icon":"payments","iconPosition":"left","label":"Valor","locale":"pt-BR","name":"valor","numericFormat":"currency","order":"30","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"valoresOriginais":{"$ref":"#/components/schemas/ValoresOriginais"},"version":{"type":"integer","description":"Versão persistida usada por rejeição e aprovação em lote com concorrência otimista.","format":"int64","readOnly":true,"example":2,"x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"iconPosition":"left","label":"Versão","name":"version","readOnly":true,"sortable":true,"tableHidden":true,"type":"number","valuePresentation":{"type":"number"}}}},"description":"Evento financeiro da folha; valores operacionais só são publicados após reconciliação da origem."},"Evidence":{"type":"object","properties":{"confidence":{"type":"number","format":"double"},"environment":{"type":"string"},"kind":{"type":"string"},"matchedTerms":{"type":"array","items":{"type":"string"}},"ref":{"type":"string"},"releaseId":{"type":"string"},"source":{"type":"string"},"summary":{"type":"string"},"tenantId":{"type":"string"}}},"ExtraordinaryBenefitAuthoritativeEvaluationRequest":{"required":["eventDate","factReference","reasonCode","requestReference","requestedAmount","requestedPaymentDate","userTimeZone"],"type":"object","properties":{"eventDate":{"type":"string","description":"Data do evento que originou a necessidade.","format":"date","example":"2026-07-13","x-ui":{"controlType":"date","editable":true,"iconPosition":"left","label":"Data do evento","name":"eventDate","order":"30","required":true,"requiredMessage":"Data do evento é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"factReference":{"maxLength":120,"minLength":0,"type":"string","description":"Referencia opaca ao registro funcional e orcamentario que o host consultara no datasource autoritativo.","example":"FACT-001","x-ui":{"controlType":"input","editable":true,"iconPosition":"left","label":"Referencia dos fatos","maxLength":"120","maxLengthMessage":"Referencia dos fatos deve ter no máximo 120 caracteres","name":"factReference","order":"50","required":true,"requiredMessage":"Referencia dos fatos é obrigatório","sortable":true,"type":"text"}},"reasonCode":{"type":"string","description":"Categoria de necessidade que fundamenta a solicitacao e orienta auditoria e analise posterior.","enum":["EMERGENCY_MEDICAL","FAMILY_HARDSHIP","DISASTER_RECOVERY","OTHER"],"x-ui":{"controlType":"select","editable":true,"iconPosition":"left","label":"Motivo do beneficio","name":"reasonCode","options":[{"value":"EMERGENCY_MEDICAL","label":"EMERGENCY_MEDICAL"},{"value":"FAMILY_HARDSHIP","label":"FAMILY_HARDSHIP"},{"value":"DISASTER_RECOVERY","label":"DISASTER_RECOVERY"},{"value":"OTHER","label":"OTHER"}],"order":"20","required":true,"requiredMessage":"Motivo do beneficio é obrigatório","sortable":true,"type":"text"}},"requestReference":{"maxLength":80,"minLength":0,"type":"string","description":"Referencia externa idempotente da solicitacao de beneficio.","example":"BEN-2026-000184","x-ui":{"controlType":"input","editable":true,"iconPosition":"left","label":"Referencia da solicitacao","maxLength":"80","maxLengthMessage":"Referencia da solicitacao deve ter no máximo 80 caracteres","name":"requestReference","order":"10","required":true,"requiredMessage":"Referencia da solicitacao é obrigatório","sortable":true,"type":"text"}},"requestedAmount":{"minimum":0.01,"exclusiveMinimum":false,"type":"number","description":"Valor solicitado antes da aplicacao dos limites e disponibilidade adquiridos pelo host.","format":"decimal","example":2500.0,"x-ui":{"controlType":"currency","editable":true,"iconPosition":"left","label":"Valor solicitado","min":"0.01","name":"requestedAmount","numericFormat":"#,,,,,,,,,,,,.##","numericMin":"0.01","numericStep":"0.01","order":"40","rangeMessage":"Valor solicitado deve ser maior ou igual a 0.01","required":true,"requiredMessage":"Valor solicitado é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"requestedPaymentDate":{"type":"string","description":"Data de pagamento pretendida, validada contra o calendario autoritativo.","format":"date","example":"2026-07-20","x-ui":{"controlType":"date","editable":true,"iconPosition":"left","label":"Data pretendida de pagamento","name":"requestedPaymentDate","order":"60","required":true,"requiredMessage":"Data pretendida de pagamento é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"userTimeZone":{"maxLength":80,"minLength":0,"type":"string","description":"Fuso IANA usado na avaliacao temporal.","example":"America/Sao_Paulo","x-ui":{"controlType":"input","editable":true,"iconPosition":"left","label":"Fuso horario","maxLength":"80","maxLengthMessage":"Fuso horario deve ter no máximo 80 caracteres","name":"userTimeZone","order":"70","required":true,"requiredMessage":"Fuso horario é obrigatório","sortable":true,"type":"text"}}},"description":"Comando de negocio para avaliar um beneficio. Estados funcionais, limites, calendario e saldo sao adquiridos pelo host a partir da referencia autoritativa."},"ExtraordinaryBenefitAuthoritativeEvaluationResponse":{"type":"object","properties":{"evaluation":{"$ref":"#/components/schemas/ExtraordinaryBenefitEvaluationResponse"},"factEvidence":{"$ref":"#/components/schemas/ExtraordinaryBenefitFactEvidence"}},"description":"Resultado do preflight com fatos autoritativos. Não persiste solicitação de benefício nem autoriza efeito externo."},"ExtraordinaryBenefitBatchEvaluationRequest":{"required":["requests"],"type":"object","properties":{"requests":{"maxItems":50,"minItems":0,"type":"array","description":"Solicitacoes processadas na ordem recebida, limitadas a cinquenta para manter custo e resposta previsiveis.","items":{"$ref":"#/components/schemas/ExtraordinaryBenefitAuthoritativeEvaluationRequest"}}},"description":"Lote limitado de avaliacoes independentes; cada item possui sua propria decisao e transacao de persistencia."},"ExtraordinaryBenefitBatchEvaluationResponse":{"type":"object","properties":{"atomic":{"type":"boolean","description":"Sempre false: cada item elegivel usa transacao independente para permitir falha parcial segura."},"items":{"type":"array","description":"Resultados individuais na mesma ordem do request.","items":{"$ref":"#/components/schemas/ExtraordinaryBenefitBatchItemResult"}},"notPersisted":{"type":"integer","description":"Quantidade de itens negados, inconclusivos, nao aplicaveis ou conflitantes.","format":"int32"},"persisted":{"type":"integer","description":"Quantidade de recursos efetivamente persistidos.","format":"int32"},"total":{"type":"integer","description":"Quantidade total de itens recebidos.","format":"int32"}},"description":"Fechamento nao atomico do lote com contadores e resultados na ordem original."},"ExtraordinaryBenefitBatchItemResult":{"type":"object","properties":{"code":{"type":"string","description":"Codigo estavel do resultado operacional do item."},"message":{"type":"string","description":"Explicacao segura para tratamento individual pelo operador."},"outcome":{"type":"string","description":"Conclusao da avaliacao: autorizar, negar, nao aplicar, permanecer inconclusiva ou indicar falha tecnica controlada.","enum":["ALLOW","DENY","NOT_APPLICABLE","INCONCLUSIVE","TECHNICAL_ERROR"]},"persisted":{"type":"boolean","description":"Indica se este item criou um recurso persistido."},"requestReference":{"type":"string","description":"Referencia externa do item exatamente como recebida."},"resourceId":{"type":"integer","description":"Identificador do recurso criado, quando persisted=true.","format":"int64"}},"description":"Resultado individual do lote, preservando decisao de negocio ou conflito tecnico sem ocultar sucessos parciais."},"ExtraordinaryBenefitEvaluationCommandResponse":{"type":"object","properties":{"evaluation":{"$ref":"#/components/schemas/ExtraordinaryBenefitEvaluationResponse"},"resource":{"$ref":"#/components/schemas/ExtraordinaryBenefitRequestResponse"}},"description":"Resultado da action evaluate: sempre devolve a decisao e inclui o recurso apenas quando ALLOW foi persistido."},"ExtraordinaryBenefitEvaluationRequest":{"required":["allowedPaymentDates","availableBudgetAmount","duplicateGrant","eventDate","programActive","programMaximumAmount","reasonCode","requestReference","requestedAmount","requestedPaymentDate","userTimeZone","workerStatus"],"type":"object","properties":{"allowedPaymentDates":{"maxItems":24,"minItems":0,"type":"array","description":"Datas de pagamento efetivamente abertas para o ciclo avaliado; a data pretendida deve pertencer a esta lista.","items":{"type":"string","description":"Datas de pagamento efetivamente abertas para o ciclo avaliado; a data pretendida deve pertencer a esta lista.","format":"date","x-ui":{"controlType":"array","editable":true,"icon":"date_range","iconPosition":"left","label":"Datas de pagamento permitidas","order":"110","sortable":true,"type":"date"}},"x-ui":{"controlType":"array","editable":true,"icon":"date_range","iconPosition":"left","label":"Datas de pagamento permitidas","maxLength":"24","maxLengthMessage":"Datas de pagamento permitidas deve ter no máximo 24 caracteres","name":"allowedPaymentDates","order":"110","required":true,"requiredMessage":"Datas de pagamento permitidas é obrigatório","sortable":true,"type":"array"}},"availableBudgetAmount":{"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Saldo orcamentario disponivel para suportar a concessao no instante congelado da avaliacao.","format":"decimal","example":100000.0,"x-ui":{"controlType":"currency","editable":true,"icon":"account_balance","iconPosition":"left","label":"Saldo orcamentario","min":"0.00","name":"availableBudgetAmount","numericFormat":"#,,,,,,,,,,,,.##","numericMin":"0.00","numericStep":"0.01","order":"120","rangeMessage":"Saldo orcamentario deve ser maior ou igual a 0.00","required":true,"requiredMessage":"Saldo orcamentario é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"customerAdditionalEligible":{"type":"boolean","description":"Resultado da restricao adicional definida pelo cliente; ausencia deliberada produz avaliacao inconclusiva em vez de assumir elegibilidade.","x-ui":{"controlType":"toggle","editable":true,"icon":"rule","iconPosition":"left","label":"Elegibilidade adicional","name":"customerAdditionalEligible","order":"90","sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"}}},"duplicateGrant":{"type":"boolean","description":"Indica se ja existe concessao equivalente para o mesmo fato gerador, evitando duplicidade de beneficio.","x-ui":{"controlType":"toggle","editable":true,"icon":"content_copy","iconPosition":"left","label":"Concessao duplicada","name":"duplicateGrant","order":"60","required":true,"requiredMessage":"Concessao duplicada é obrigatório","sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"}}},"eventDate":{"type":"string","description":"Data do evento que originou a necessidade; ancora competencia, vigencia e verificacoes temporais futuras.","format":"date","example":"2026-07-13","x-ui":{"controlType":"date","editable":true,"icon":"event","iconPosition":"left","label":"Data do evento","name":"eventDate","order":"30","required":true,"requiredMessage":"Data do evento é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"programActive":{"type":"boolean","description":"Indica se o programa corporativo que financia o beneficio esta vigente no contexto avaliado.","x-ui":{"controlType":"toggle","editable":true,"icon":"policy","iconPosition":"left","label":"Programa vigente","name":"programActive","order":"70","required":true,"requiredMessage":"Programa vigente é obrigatório","sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"}}},"programMaximumAmount":{"minimum":0.01,"exclusiveMinimum":false,"type":"number","description":"Teto monetario autorizado pelo programa para uma unica concessao extraordinaria.","format":"decimal","example":5000.0,"x-ui":{"controlType":"currency","editable":true,"icon":"price_check","iconPosition":"left","label":"Limite do programa","min":"0.01","name":"programMaximumAmount","numericFormat":"#,,,,,,,,,,,,.##","numericMin":"0.01","numericStep":"0.01","order":"80","rangeMessage":"Limite do programa deve ser maior ou igual a 0.01","required":true,"requiredMessage":"Limite do programa é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"reasonCode":{"type":"string","description":"Categoria de necessidade que fundamenta a solicitacao e orienta auditoria e analise posterior.","enum":["EMERGENCY_MEDICAL","FAMILY_HARDSHIP","DISASTER_RECOVERY","OTHER"],"x-ui":{"controlType":"select","editable":true,"icon":"category","iconPosition":"left","label":"Motivo do beneficio","name":"reasonCode","options":[{"value":"EMERGENCY_MEDICAL","label":"EMERGENCY_MEDICAL"},{"value":"FAMILY_HARDSHIP","label":"FAMILY_HARDSHIP"},{"value":"DISASTER_RECOVERY","label":"DISASTER_RECOVERY"},{"value":"OTHER","label":"OTHER"}],"order":"20","required":true,"requiredMessage":"Motivo do beneficio é obrigatório","sortable":true,"type":"text"}},"requestReference":{"maxLength":80,"minLength":0,"type":"string","description":"Referencia externa idempotente que correlaciona atendimento, chamado ou processo de RH e impede duas solicitacoes persistidas para o mesmo fato gerador.","example":"BEN-2026-000184","x-ui":{"controlType":"input","editable":true,"icon":"tag","iconPosition":"left","label":"Referencia da solicitacao","maxLength":"80","maxLengthMessage":"Referencia da solicitacao deve ter no máximo 80 caracteres","name":"requestReference","order":"10","required":true,"requiredMessage":"Referencia da solicitacao é obrigatório","sortable":true,"type":"text"}},"requestedAmount":{"minimum":0.01,"exclusiveMinimum":false,"type":"number","description":"Valor monetario solicitado antes da aplicacao do limite do programa e da disponibilidade orcamentaria.","format":"decimal","example":2500.0,"x-ui":{"controlType":"currency","editable":true,"icon":"payments","iconPosition":"left","label":"Valor solicitado","min":"0.01","name":"requestedAmount","numericFormat":"#,,,,,,,,,,,,.##","numericMin":"0.01","numericStep":"0.01","order":"40","rangeMessage":"Valor solicitado deve ser maior ou igual a 0.01","required":true,"requiredMessage":"Valor solicitado é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"requestedPaymentDate":{"type":"string","description":"Data de pagamento pretendida, confrontada com o calendario autorizado pelo programa.","format":"date","example":"2026-07-20","x-ui":{"controlType":"date","editable":true,"icon":"event_available","iconPosition":"left","label":"Data pretendida de pagamento","name":"requestedPaymentDate","order":"100","required":true,"requiredMessage":"Data pretendida de pagamento é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"userTimeZone":{"maxLength":80,"minLength":0,"type":"string","description":"Fuso IANA usado para interpretar datas e politicas temporais do usuario sem depender do timezone do servidor.","example":"America/Sao_Paulo","x-ui":{"controlType":"input","editable":true,"icon":"schedule","iconPosition":"left","label":"Fuso horario","maxLength":"80","maxLengthMessage":"Fuso horario deve ter no máximo 80 caracteres","name":"userTimeZone","order":"130","required":true,"requiredMessage":"Fuso horario é obrigatório","sortable":true,"type":"text"}},"workerStatus":{"pattern":"ACTIVE|LEAVE|TERMINATED","type":"string","description":"Estado funcional considerado na elegibilidade legal do colaborador no instante da avaliacao.","enum":["ACTIVE","LEAVE","TERMINATED"],"x-ui":{"controlType":"select","editable":true,"icon":"badge","iconPosition":"left","label":"Situacao funcional","name":"workerStatus","options":[{"value":"ACTIVE","label":"ACTIVE"},{"value":"LEAVE","label":"LEAVE"},{"value":"TERMINATED","label":"TERMINATED"}],"order":"50","pattern":"ACTIVE|LEAVE|TERMINATED","patternMessage":"Formato inválido para Situacao funcional","required":true,"requiredMessage":"Situacao funcional é obrigatório","sortable":true,"type":"text"}}},"description":"Payload exclusivamente sintetico do Rule Lab. Os fatos sao informados pelo caller para simulacao e nao constituem evidencia corporativa autoritativa; o profile prod bloqueia este fluxo ate existir FactProvider host-side."},"ExtraordinaryBenefitEvaluationResponse":{"type":"object","properties":{"businessMessage":{"type":"string","description":"Mensagem orientada ao operador que resume a consequencia pratica da conclusao."},"currency":{"type":"string","description":"Moeda do valor calculado; o piloto atual opera exclusivamente em BRL."},"evaluatedAtUtc":{"type":"string","description":"Instante UTC congelado usado por toda a avaliacao.","format":"date-time"},"factsDigest":{"type":"string","description":"Hash dos fatos canonicos congelados, permitindo comparar repeticoes sem expor o payload completo."},"localEffectRecorded":{"type":"boolean","description":"Indica somente se a action posterior registrou o ledger local simulado; nao confirma execucao externa."},"outcome":{"type":"string","description":"Conclusao da avaliacao: autorizar, negar, nao aplicar, permanecer inconclusiva ou indicar falha tecnica controlada.","enum":["ALLOW","DENY","NOT_APPLICABLE","INCONCLUSIVE","TECHNICAL_ERROR"]},"persisted":{"type":"boolean","description":"Indica se esta avaliacao ALLOW originou uma solicitacao persistida pelo host."},"planDigest":{"type":"string","description":"Hash do plano compilado que prova ordem, dependencias e bindings efetivamente executados."},"plannedEffectIntent":{"type":"string","description":"Tipo da intencao que o laboratorio pode registrar localmente apos persistencia e aprovacao; integracao externa nao esta implementada."},"plannedEffectStatus":{"type":"string","description":"Estado da intencao pura produzida pelo engine; a execucao posterior continua responsabilidade transacional do host."},"reasonCodes":{"type":"array","description":"Codigos estaveis que explicam negacao, nao aplicabilidade, inconclusao ou falha controlada.","items":{"type":"string","description":"Codigos estaveis que explicam negacao, nao aplicabilidade, inconclusao ou falha controlada."}},"recommendedAmount":{"type":"number","description":"Valor calculado recomendado quando as etapas anteriores permitem executar o calculo.","format":"decimal"},"requestReference":{"type":"string","description":"Referencia recebida do processo solicitante e preservada como identidade externa do recurso quando a avaliacao ALLOW e persistida."},"ruleSetKey":{"type":"string","description":"Identidade estavel do conjunto de regras avaliado."},"ruleSetVersion":{"type":"integer","description":"Versao imutavel do conjunto de regras avaliado.","format":"int32"},"snapshotActivationRevision":{"type":"integer","description":"Revisao monotona da ativacao no control plane observada pelo host.","format":"int64"},"snapshotContentHash":{"type":"string","description":"Hash SHA-256 do conteudo do snapshot, usado para provar exatamente qual politica foi avaliada."},"snapshotKey":{"type":"string","description":"Chave imutavel do snapshot governado efetivamente selecionado pelo host."}},"description":"Resultado explicavel da avaliacao deterministica e do eventual registro local simulado; nao confirma efeito em sistema externo."},"ExtraordinaryBenefitFactEvidence":{"type":"object","properties":{"factSnapshotId":{"type":"string","description":"Identidade SHA-256 determinística dos fatos congelados que influenciaram a decisão."},"programPolicyVersion":{"type":"integer","description":"Versão da política efetiva do programa de benefício usada na avaliação.","format":"int64"},"resolvedAtUtc":{"type":"string","description":"Instante UTC único usado na resolução dos fatos e na avaliação das regras.","format":"date-time"},"sources":{"type":"array","description":"Nomes lógicos allowlisted das fontes; tabelas físicas, SQL e registros nunca são expostos.","items":{"type":"string","description":"Nomes lógicos allowlisted das fontes; tabelas físicas, SQL e registros nunca são expostos."}}},"description":"Proveniência sanitizada que comprova a resolução dos fatos em fontes controladas pelo host sem expor dados pessoais ou valores orçamentários."},"ExtraordinaryBenefitReevaluationRequest":{"required":["eventDate","factReference","reasonCode","requestedAmount","requestedPaymentDate","userTimeZone"],"type":"object","properties":{"eventDate":{"type":"string","description":"Data atualizada do evento que fundamenta a solicitação.","format":"date","x-ui":{"controlType":"date","editable":true,"iconPosition":"left","label":"Data do evento","name":"eventDate","order":"20","required":true,"requiredMessage":"Data do evento é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"factReference":{"maxLength":120,"minLength":0,"type":"string","description":"Referência opaca dos fatos autoritativos que o host deve readquirir.","x-ui":{"controlType":"input","editable":true,"iconPosition":"left","label":"Referência dos fatos","maxLength":"120","maxLengthMessage":"Referência dos fatos deve ter no máximo 120 caracteres","name":"factReference","order":"40","required":true,"requiredMessage":"Referência dos fatos é obrigatório","sortable":true,"type":"text"}},"reasonCode":{"type":"string","description":"Categoria de necessidade que fundamenta a solicitacao e orienta auditoria e analise posterior.","enum":["EMERGENCY_MEDICAL","FAMILY_HARDSHIP","DISASTER_RECOVERY","OTHER"],"x-ui":{"controlType":"select","editable":true,"iconPosition":"left","label":"Motivo do benefício","name":"reasonCode","options":[{"value":"EMERGENCY_MEDICAL","label":"EMERGENCY_MEDICAL"},{"value":"FAMILY_HARDSHIP","label":"FAMILY_HARDSHIP"},{"value":"DISASTER_RECOVERY","label":"DISASTER_RECOVERY"},{"value":"OTHER","label":"OTHER"}],"order":"10","required":true,"requiredMessage":"Motivo do benefício é obrigatório","sortable":true,"type":"text"}},"requestedAmount":{"minimum":0.01,"exclusiveMinimum":false,"type":"number","description":"Novo valor solicitado, sujeito às políticas e aos fatos vigentes.","format":"decimal","x-ui":{"controlType":"currency","editable":true,"iconPosition":"left","label":"Valor solicitado","min":"0.01","name":"requestedAmount","numericFormat":"#,,,,,,,,,,,,.##","numericMin":"0.01","numericStep":"0.01","order":"30","rangeMessage":"Valor solicitado deve ser maior ou igual a 0.01","required":true,"requiredMessage":"Valor solicitado é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"requestedPaymentDate":{"type":"string","description":"Nova data pretendida de pagamento, validada contra o calendário autoritativo.","format":"date","x-ui":{"controlType":"date","editable":true,"iconPosition":"left","label":"Data pretendida de pagamento","name":"requestedPaymentDate","order":"50","required":true,"requiredMessage":"Data pretendida de pagamento é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"userTimeZone":{"maxLength":80,"minLength":0,"type":"string","description":"Fuso IANA usado para congelar a avaliação temporal.","x-ui":{"controlType":"input","editable":true,"iconPosition":"left","label":"Fuso horário","maxLength":"80","maxLengthMessage":"Fuso horário deve ter no máximo 80 caracteres","name":"userTimeZone","order":"60","required":true,"requiredMessage":"Fuso horário é obrigatório","sortable":true,"type":"text"}}},"description":"Nova intenção de negócio para uma solicitação ainda avaliada. A identidade é preservada e os fatos corporativos são readquiridos pelo host."},"ExtraordinaryBenefitReevaluationResponse":{"type":"object","properties":{"currentVersion":{"type":"integer","description":"Versão do agregado após a execução.","format":"int64"},"evaluation":{"$ref":"#/components/schemas/ExtraordinaryBenefitEvaluationResponse"},"id":{"type":"integer","description":"Identidade estável da solicitação reavaliada.","format":"int64"},"mutationObserved":{"type":"boolean","description":"Indica se o agregado foi efetivamente alterado."},"previousVersion":{"type":"integer","description":"Versão do agregado antes da execução.","format":"int64"},"resource":{"$ref":"#/components/schemas/ExtraordinaryBenefitRequestResponse"}},"description":"Resultado da reavaliação e indicação explícita de mutação. Outcomes não autorizadores preservam o agregado."},"ExtraordinaryBenefitRequestFilter":{"type":"object","properties":{"evaluatedAtBetween":{"description":"Intervalo UTC em que a decisao ALLOW foi avaliada e persistida.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date-time","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null}}],"items":{"type":"string","format":"date-time","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":true},"startDate":{"type":"string","format":"date-time","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date-time","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateRange","editable":true,"iconPosition":"left","label":"Periodo de avaliacao","name":"evaluatedAtBetween","order":"30","sortable":true,"type":"array"}},"lifecycleStatus":{"type":"string","description":"Estado confirmado do pedido: avaliado, submetido, aprovado ou aplicado.","enum":["EVALUATED","SUBMITTED","APPROVED","APPLIED"],"x-ui":{"controlType":"select","editable":true,"iconPosition":"left","label":"Estado","name":"lifecycleStatus","options":[{"value":"EVALUATED","label":"EVALUATED"},{"value":"SUBMITTED","label":"SUBMITTED"},{"value":"APPROVED","label":"APPROVED"},{"value":"APPLIED","label":"APPLIED"}],"order":"20","sortable":true,"type":"text"}},"requestReference":{"type":"string","description":"Trecho da referencia externa usado para localizar o atendimento ou processo de origem.","x-ui":{"controlType":"input","editable":true,"iconPosition":"left","label":"Referencia","name":"requestReference","order":"10","sortable":true,"type":"text"}}},"description":"Criterios de consulta da fila persistida de beneficios extraordinarios por referencia, estado e janela de avaliacao."},"ExtraordinaryBenefitRequestResponse":{"type":"object","properties":{"appliedAtUtc":{"type":"string","description":"Instante UTC em que o ledger local simulado foi registrado e o pedido tornou-se aplicado.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"iconPosition":"left","label":"Aplicado em (UTC)","name":"appliedAtUtc","order":"70","readOnly":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"approvedAtUtc":{"type":"string","description":"Instante UTC em que a aprovacao foi confirmada, quando aplicavel.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"iconPosition":"left","label":"Aprovado em (UTC)","name":"approvedAtUtc","order":"60","readOnly":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"effectStatus":{"type":"string","description":"Estado host-side do laboratorio: planejado ou registrado no ledger local; nao confirma execucao em sistema externo.","enum":["PLANNED","LOCAL_RECORDED"],"x-ui":{"controlType":"select","editable":true,"iconPosition":"left","label":"Status de Efeito","name":"effectStatus","options":[{"value":"PLANNED","label":"PLANNED"},{"value":"LOCAL_RECORDED","label":"LOCAL_RECORDED"}],"order":"20","quickViewOrder":30,"quickViewVisible":true,"readOnly":true,"sortable":true,"type":"text"}},"evaluatedAtUtc":{"type":"string","description":"Instante UTC em que a avaliacao ALLOW foi persistida.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"iconPosition":"left","label":"Avaliado em (UTC)","name":"evaluatedAtUtc","order":"40","quickViewOrder":50,"quickViewVisible":true,"readOnly":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"evaluation":{"$ref":"#/components/schemas/ExtraordinaryBenefitEvaluationResponse"},"facts":{"$ref":"#/components/schemas/ExtraordinaryBenefitEvaluationRequest"},"id":{"type":"integer","description":"Identificador interno estavel usado nas rotas item-level e nos vinculos de auditoria.","format":"int64","x-ui":{"controlType":"input","editable":true,"iconPosition":"left","label":"ID","name":"id","order":"1","quickViewOrder":10,"quickViewVisible":true,"readOnly":true,"resourceReference":{"resourceKey":"human-resources.extraordinary-benefit-requests","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"lifecycleStatus":{"type":"string","description":"Estado confirmado do pedido: avaliado, submetido, aprovado ou aplicado.","enum":["EVALUATED","SUBMITTED","APPROVED","APPLIED"],"x-ui":{"controlType":"select","editable":true,"iconPosition":"left","label":"Status do Ciclo de Vida","name":"lifecycleStatus","options":[{"value":"EVALUATED","label":"EVALUATED"},{"value":"SUBMITTED","label":"SUBMITTED"},{"value":"APPROVED","label":"APPROVED"},{"value":"APPLIED","label":"APPLIED"}],"order":"10","quickViewOrder":20,"quickViewVisible":true,"readOnly":true,"sortable":true,"type":"text"}},"submittedAtUtc":{"type":"string","description":"Instante UTC em que o pedido foi submetido para aprovacao, quando aplicavel.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"iconPosition":"left","label":"Submetido em (UTC)","name":"submittedAtUtc","order":"50","quickViewOrder":60,"quickViewVisible":true,"readOnly":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"version":{"type":"integer","description":"Versao persistida do agregado usada para produzir e validar o ETag de recurso.","format":"int64","x-ui":{"controlType":"input","editable":true,"iconPosition":"left","label":"Versão","name":"version","order":"30","quickViewOrder":40,"quickViewVisible":true,"readOnly":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}}},"description":"Solicitacao elegivel persistida com identidade, lifecycle, evidencia deterministica e versao usada por comandos concorrentes."},"ExtraordinaryBenefitShadowObservation":{"type":"object","properties":{"baselineOutcome":{"type":"string","description":"Conclusao da avaliacao: autorizar, negar, nao aplicar, permanecer inconclusiva ou indicar falha tecnica controlada.","enum":["ALLOW","DENY","NOT_APPLICABLE","INCONCLUSIVE","TECHNICAL_ERROR"]},"baselineStatus":{"type":"string","description":"Estado sanitizado da execucao isolada do baseline ou do candidato.","enum":["SUCCESS","TIMEOUT","ERROR"]},"candidateOutcome":{"type":"string","description":"Conclusao da avaliacao: autorizar, negar, nao aplicar, permanecer inconclusiva ou indicar falha tecnica controlada.","enum":["ALLOW","DENY","NOT_APPLICABLE","INCONCLUSIVE","TECHNICAL_ERROR"]},"candidateSnapshotContentHash":{"type":"string","description":"Hash de conteudo do snapshot candidato, seguro para correlacao operacional sem expor o payload."},"candidateSnapshotKey":{"type":"string","description":"Snapshot candidato efetivamente observado; nulo quando o candidato falha antes da selecao."},"candidateStatus":{"type":"string","description":"Estado sanitizado da execucao isolada do baseline ou do candidato.","enum":["SUCCESS","TIMEOUT","ERROR"]},"comparisonStatus":{"type":"string","description":"Classificacao operacional da comparacao entre baseline sintetico e candidato Praxis.","enum":["MATCH","MISMATCH","INCONCLUSIVE","TECHNICAL_ERROR"]},"localEffectRecorded":{"type":"boolean","description":"Sempre falso: o caminho shadow nao executa ledger nem integracao externa."},"observationId":{"type":"string","description":"Identificador aleatorio da observacao, sem derivacao dos fatos de negocio."},"observedAtUtc":{"type":"string","description":"Instante UTC congelado compartilhado pelos dois avaliadores.","format":"date-time"},"outcomeMatch":{"type":"boolean","description":"Indica equivalencia da conclusao em cinco estados."},"persisted":{"type":"boolean","description":"Sempre falso: o caminho shadow nao cria nem altera solicitacao."},"plannedEffectMatch":{"type":"boolean","description":"Indica equivalencia do tipo e estado da intencao de efeito planejada, sem executar o efeito."},"reasonCodesMatch":{"type":"boolean","description":"Indica equivalencia ordenada dos codigos de motivo, sem publicar os codigos na amostra."},"recommendedAmountMatch":{"type":"boolean","description":"Indica equivalencia por valor da recomendacao monetaria, sem publicar o valor."},"sanitized":{"type":"boolean","description":"Confirma que a amostra segue a allowlist de campos operacionais e omite dados pessoais e fatos."}},"description":"Amostra operacional sanitizada do dual-run; nao contem referencia da solicitacao, fatos, valores monetarios, ator, segredo ou payload de snapshot."},"ExtraordinaryBenefitTransitionRequest":{"required":["effectiveAt","justification"],"type":"object","properties":{"effectiveAt":{"type":"string","description":"Data de negocio em que a transicao deve produzir efeitos de auditoria e competencia.","format":"date"},"justification":{"maxLength":500,"minLength":0,"type":"string","description":"Motivo auditavel para submeter, aprovar ou aplicar o beneficio, sem dados de credencial ou contexto interno."}},"description":"Justificativa publica de uma transicao do lifecycle; autoridade e identidade do ator sao resolvidas pelo servidor."},"ExtraordinaryBenefitTransitionResponse":{"type":"object","properties":{"localEffectRecordId":{"type":"string","description":"Identificador do registro local simulado; preenchido apenas por apply e sem confirmar efeito externo.","format":"uuid"},"previousStatus":{"type":"string","description":"Estado confirmado do pedido: avaliado, submetido, aprovado ou aplicado.","enum":["EVALUATED","SUBMITTED","APPROVED","APPLIED"]},"resourceId":{"type":"integer","description":"Solicitacao alterada pela action.","format":"int64"},"resourceVersion":{"type":"integer","description":"Versao JPA posterior usada para o proximo If-Match.","format":"int64"},"resultingStatus":{"type":"string","description":"Estado confirmado do pedido: avaliado, submetido, aprovado ou aplicado.","enum":["EVALUATED","SUBMITTED","APPROVED","APPLIED"]},"transitionId":{"type":"string","description":"Identificador da transicao append-only na trilha de auditoria.","format":"uuid"}},"description":"Resultado auditavel de uma action item-level, incluindo versao posterior e eventual registro idempotente no ledger local simulado."},"FeriasAfastamentoDTO":{"required":["dataFim","dataInicio","funcionarioId","tipo"],"type":"object","properties":{"dataFim":{"type":"string","description":"Ultimo dia do afastamento (inclusive); apos essa data o colaborador retorna a disponibilidade operacional (salvo outro registo).","format":"date","example":"2025-07-15","x-ui":{"controlType":"date","displayFormat":"dd/MM/yyyy","editable":true,"group":"Principal","helpText":"Último dia do afastamento.","icon":"event_available","iconPosition":"left","label":"Data de Fim","locale":"pt-BR","mask":"dd/MM/yyyy","name":"dataFim","numericFormat":"date","order":"30","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Data de Fim é obrigatório","sortable":true,"type":"text","valuePresentation":{"type":"date"}}},"dataInicio":{"type":"string","description":"Primeiro dia fora (inclusive) do regime normal de trabalho; usado com dataFim em calculos de cobertura e conflito com missao.","format":"date","example":"2025-07-01","x-ui":{"controlType":"date","displayFormat":"dd/MM/yyyy","editable":true,"group":"Principal","helpText":"Primeiro dia do afastamento.","icon":"event","iconPosition":"left","label":"Data de Início","locale":"pt-BR","mask":"dd/MM/yyyy","name":"dataInicio","numericFormat":"date","order":"20","quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Data de Início é obrigatório","sortable":true,"type":"text","valuePresentation":{"type":"date"}}},"funcionarioId":{"type":"integer","description":"Colaborador afastado: FK ao `Funcionario` afetado pelo periodo; obrigatorio para vincular ausencia a pessoa certa.","format":"int32","example":5,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Relacionamentos","helpText":"Colaborador em afastamento.","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"10","required":true,"requiredMessage":"Funcionário é obrigatório","resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"funcionarioId"},"sortable":true,"type":"number","valueField":"id"}},"id":{"type":"integer","description":"Chave do periodo de ausencia. Cada registo e um intervalo; sobreposicoes de datas devem ser tratadas por regra de negocio fora do DTO.","format":"int32","example":1,"x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"group":"Principal","icon":"tag","iconPosition":"left","label":"Código","name":"id","order":"1","presentation":{"appearance":"soft","prefix":"#","presenter":"iconValue"},"readOnly":true,"resourceReference":{"resourceKey":"human-resources.ferias-afastamentos","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"observacoes":{"maxLength":2000,"minLength":0,"type":"string","description":"Detalhe (substituto, aprovador, atestado, contacto) para apoio a RH; nao substitui documento comprobatorio armazenado a parte.","example":"Aprovado DRH em 12/06; substituicao: equipe B","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"restricted","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"sensitive_personal","reason":"Pode conter laudos, diagnósticos e transcrições de atestados médicos protegidos por sigilo. Não deve ser lido sem máscara por IA.","source":"java.annotation"},"x-ui":{"controlType":"textarea","editable":true,"group":"Principal","helpText":"Detalhes e anotações de aprovação.","icon":"notes","iconPosition":"left","label":"Observações","maxLength":"2000","maxLengthMessage":"Observações deve ter no máximo 2000 caracteres","name":"observacoes","order":"40","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text"}},"tipo":{"maxLength":100,"minLength":0,"type":"string","description":"Natureza do afastamento (ex. Ferias, Licenca saude, Suspensao disciplinar). Valor discursivo: impacta aprovacoes e folha consoante politica; nao e enum fechado aqui.","example":"Ferias","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"restricted","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"sensitive_personal","reason":"O tipo de afastamento pode revelar informações médicas, como licenças de saúde, configurando dado sensível.","source":"java.annotation"},"x-ui":{"controlType":"input","editable":true,"group":"Principal","helpText":"Motivo da ausência (ex: Férias, Licença médica).","icon":"event_busy","iconPosition":"left","label":"Tipo","maxLength":"100","maxLengthMessage":"Tipo deve ter no máximo 100 caracteres","name":"tipo","order":"10","required":true,"requiredMessage":"Tipo é obrigatório","resourceReference":{"resourceKey":"human-resources.ferias-afastamentos","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}}},"description":"Periodo em que o colaborador esta em ferias, licenca ou afastamento: bloqueia ou reduz disponibilidade para missao e alimenta calendario de folha. O tipo e texto livre neste contrato, mas representa a classificacao operacional que regras de RH podem normalizar em catalogo."},"FeriasAfastamentoFilterDTO":{"type":"object","properties":{"dataFimBetween":{"description":"Intervalo de datas de fim da ausencia, usado para identificar retorno previsto e recomposicao de cobertura.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null}}],"items":{"type":"string","format":"date","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":true},"startDate":{"type":"string","format":"date","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateRange","editable":true,"helpText":"Filtrar por data de término no intervalo.","icon":"event","iconPosition":"left","label":"Período Final","name":"dataFimBetween","order":"40","sortable":true,"type":"date"}},"dataInicioBetween":{"description":"Intervalo de datas de inicio da ausencia, usado para identificar quando a indisponibilidade comeca e cruzar conflitos de escala.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null}}],"items":{"type":"string","format":"date","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":true},"startDate":{"type":"string","format":"date","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateRange","editable":true,"helpText":"Filtrar por data de início no intervalo.","icon":"event","iconPosition":"left","label":"Período Inicial","name":"dataInicioBetween","order":"30","sortable":true,"type":"date"}},"funcionarioId":{"type":"integer","description":"Colaborador cujo historico de ausencias deve ser consultado para disponibilidade, aprovacao ou auditoria.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Filtrar ausências de um colaborador.","icon":"badge","iconPosition":"left","label":"Colaborador","name":"funcionarioId","order":"20","sortable":true,"type":"number","valueField":"id"}},"observacoes":{"type":"string","description":"Observacoes de negocio sobre a ausencia, como justificativa, substituicao planejada, aprovador ou restricao operacional.","x-ui":{"controlType":"input","editable":true,"helpText":"Filtrar por notas ou justificativas.","icon":"notes","iconPosition":"left","label":"Observações","maxLength":"2000","maxLengthMessage":"Observações deve ter no máximo 2000 caracteres","name":"observacoes","order":"50","sortable":true,"type":"text"}},"tipo":{"type":"string","description":"Classe de ausencia (ferias, afastamento medico, treino); string catalogada na UI; LIKE.","x-ui":{"controlType":"input","editable":true,"helpText":"Filtrar por tipo de ausência.","icon":"category","iconPosition":"left","label":"Tipo de Afastamento","maxLength":"100","maxLengthMessage":"Tipo de Afastamento deve ter no máximo 100 caracteres","name":"tipo","order":"10","sortable":true,"type":"text"}}},"description":"Criterios de busca de ausencias (ferias, licenca, missao, etc.); nao e o lancamento a editar. Apoia analise de disponibilidade, cobertura operacional, conflitos de escala e historico de afastamentos."},"Field":{"type":"object","properties":{"description":{"type":"string"},"label":{"type":"string"},"name":{"type":"string"}}},"FieldSummary":{"type":"object","properties":{"description":{"type":"string"},"enumValues":{"type":"array","items":{"type":"string"}},"format":{"type":"string"},"maxLength":{"type":"integer","format":"int32"},"maximum":{"type":"integer","format":"int32"},"minLength":{"type":"integer","format":"int32"},"minimum":{"type":"integer","format":"int32"},"name":{"type":"string"},"pattern":{"type":"string"},"required":{"type":"boolean"},"type":{"type":"string"}}},"FolhaPagamentoWorkflowRequestDTO":{"type":"object","properties":{"justificativa":{"maxLength":500,"minLength":0,"type":"string","description":"Texto operacional explicando a decisao; opcional no schema, mas a politica de aprovacao pode exigi-la; maximo 500 caracteres.","example":"Ciente do impacto de folha, aprovo processamento com competencia 04-2025.","x-ui":{"controlType":"textarea","editable":true,"helpText":"Motivo da aprovação ou rejeição da folha.","icon":"notes","iconPosition":"left","label":"Justificativa","maxLength":"500","maxLengthMessage":"Justificativa deve ter no máximo 500 caracteres","name":"justificativa","order":"10","sortable":true,"type":"text"}}},"description":"Comando de workflow para decisao sobre uma folha de pagamento, como aprovar eventos pendentes ou marcar liquidacao. A justificativa registra o motivo operacional da decisao sem enviar novamente o recurso completo."},"FolhaPagamentoWorkflowResultDTO":{"type":"object","properties":{"dataPagamentoAgendada":{"type":"string","description":"Agendamento explícito vigente, se existir.","format":"date"},"dataPagamentoEfetiva":{"type":"string","description":"Data efetiva da transição de pagamento confirmada, se existir.","format":"date"},"dataPagamentoPrevista":{"type":"string","description":"Previsão derivada vigente; não confirma agenda ou pagamento.","format":"date"},"estadoAnterior":{"type":"string","description":"Estado de workflow anterior a esta transicao (ex.: PENDENTE, EM_ANALISE); string do catalogo de estados do quickstart, nao enumeracao OpenAPI fixa.","example":"PENDENTE"},"estadoAtual":{"type":"string","description":"Novo estado apos a operacao; confirma sucesso idempotente quando igual ao pedido repetido e pode permanecer inalterado se a regra rejeitar a transicao.","example":"APROVADO"},"eventosPendentes":{"type":"integer","description":"Eventos ainda a processar apos a transicao, quando a action e parcial; zero quando o lote concluiu.","format":"int64","example":0},"eventosProcessados":{"type":"integer","description":"Quantidade de linhas de evento ja incorporadas no processamento corrente; suporta acompanhamento de progresso em fluxos de folha.","format":"int32","example":12},"id":{"type":"integer","description":"Chave de contexto devolvida pelo servico: tipicamente id do evento de folha ou do cabecalho, conforme a action; usada para rastreio e refresh de tela.","format":"int32","example":42},"justificativa":{"type":"string","description":"Ecoa ou complementa a justificativa do pedido; preenchimento depende do handler (pode vazio se o fluxo nao a persistir de volta)."},"mensagem":{"type":"string","description":"Mensagem de sintese para o operador (sucesso, aviso, proximo passo); nao substitui codigos de erro estruturados em falha 4xx/5xx.","example":"Folha aprovada. Liquidacao agendada para 2025-04-30."}},"description":"Resultado de workflow de folha com estados, eventos e datas de previsão, agenda e pagamento confirmadas separadas."},"FolhasPagamentoDTO":{"type":"object","properties":{"ano":{"type":"integer","description":"Ano da competência.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"group":"Competência","iconPosition":"left","label":"Ano","name":"ano","order":"10","quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"dataPagamentoAgendada":{"type":"string","description":"Data explicitamente agendada; não comprova pagamento.","format":"date","x-ui":{"controlType":"date","editable":true,"group":"Competência","iconPosition":"left","label":"Data agendada","name":"dataPagamentoAgendada","order":"40","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"dataPagamentoEfetiva":{"type":"string","description":"Data efetiva comprovada pela transição confirmada de pagamento.","format":"date","readOnly":true,"x-ui":{"controlType":"date","editable":true,"group":"Competência","iconPosition":"left","label":"Data efetiva","name":"dataPagamentoEfetiva","order":"50","readOnly":true,"sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"dataPagamentoOriginal":{"type":"string","description":"Data legada original não classificada como previsão, agenda ou pagamento.","format":"date","readOnly":true},"dataPagamentoPrevista":{"type":"string","description":"Previsão derivada do calendário governado; não comprova agendamento ou pagamento.","format":"date","x-ui":{"controlType":"date","editable":true,"group":"Competência","iconPosition":"left","label":"Data prevista","name":"dataPagamentoPrevista","order":"30","quickViewOrder":6,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"descontosBase":{"type":"number","description":"Descontos-base confirmados em BRL; ausentes no histórico pendente.","format":"decimal","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"financial","reason":"Descontos-base operacionais da folha.","source":"java.annotation"},"x-ui":{"controlType":"currency","editable":true,"group":"Valores","iconPosition":"left","label":"Descontos-base","name":"descontosBase","numericFormat":"currency","order":"20","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"estado":{"type":"string","description":"Estado derivado da reconciliação, eventos, agenda e ponteiro de pagamento.","readOnly":true},"funcionarioId":{"type":"integer","description":"Funcionário titular da competência.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Relacionamentos","helpText":"Colaborador titular desta folha.","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"15","resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"funcionarioId"},"sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"funcionarioNome":{"type":"string","description":"Nome civil do colaborador titular da folha para exibição em listagens; somente leitura.","readOnly":true,"x-ui":{"controlType":"input","editable":true,"formHidden":true,"group":"Relacionamentos","helpText":"Nome do colaborador titular da folha.","icon":"badge","iconPosition":"left","label":"Colaborador","name":"funcionarioNome","order":"5","readOnly":true,"resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"funcionarioId"},"sortable":true,"type":"text"}},"id":{"type":"integer","description":"Identificador interno da folha.","format":"int32","readOnly":true,"x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"group":"Competência","icon":"tag","iconPosition":"left","label":"Código","name":"id","order":"1","presentation":{"appearance":"soft","icon":"receipt_long","prefix":"#","presenter":"iconValue","tooltip":"Código interno da folha de pagamento"},"readOnly":true,"resourceReference":{"resourceKey":"human-resources.folhas-pagamento","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"mes":{"type":"integer","description":"Mês da competência.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"group":"Competência","iconPosition":"left","label":"Mês","name":"mes","order":"20","quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"reconciliacao":{"type":"string","description":"Qualidade dos fatos financeiros de origem, independente de pagamento.","readOnly":true,"enum":["PENDENTE","CONFIRMADA"]},"resourceVersion":{"type":"string","description":"ETag forte opaco da revisão atual, para comandos com precondição.","readOnly":true,"x-ui":{"controlType":"input","editable":true,"formHidden":true,"iconPosition":"left","label":"Token de versão","name":"resourceVersion","readOnly":true,"sortable":true,"tableHidden":true,"type":"text"}},"salarioBruto":{"type":"number","description":"Salário-base bruto operacional em BRL; ausente no histórico pendente.","format":"decimal","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"financial","reason":"Salário bruto operacional da folha.","source":"java.annotation"},"x-ui":{"controlType":"currency","editable":true,"group":"Valores","iconPosition":"left","label":"Salário bruto","name":"salarioBruto","numericFormat":"currency","order":"10","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"salarioLiquido":{"type":"number","description":"Bruto mais adicionais aprovados menos descontos; ausente no histórico pendente.","format":"decimal","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"financial","reason":"Salário líquido operacional da folha.","source":"java.annotation"},"x-ui":{"controlType":"currency","editable":true,"group":"Valores","iconPosition":"left","label":"Salário líquido","name":"salarioLiquido","numericFormat":"currency","order":"40","presentation":{"presenter":"microVisualization","visualization":{"ariaLabel":"Comparativo em barra bullet entre o salário líquido e o salário bruto da competência","fallbackText":"Proporção do salário líquido frente ao salário bruto da competência","kind":"bullet","min":0.0,"scaleScope":"page","size":"sm","surface":"table-cell","targetExpr":"row.salarioBruto","tone":"success","valueExpr":"row.salarioLiquido"}},"quickViewOrder":5,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"totalDescontos":{"type":"number","description":"Descontos-base mais descontos de eventos aprovados; ausente no histórico pendente.","format":"decimal","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"financial","reason":"Total de descontos operacionais da folha.","source":"java.annotation"},"x-ui":{"controlType":"currency","editable":true,"group":"Valores","iconPosition":"left","label":"Total de descontos","name":"totalDescontos","numericFormat":"currency","order":"30","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"valoresOriginais":{"$ref":"#/components/schemas/PayrollOriginalValuesDTO"},"version":{"type":"integer","description":"Revisão persistida da folha.","format":"int64","readOnly":true,"x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"iconPosition":"left","label":"Versão","name":"version","readOnly":true,"sortable":true,"tableHidden":true,"type":"number","valuePresentation":{"type":"number"}}}},"description":"Folha operacional ou histórico pendente. Campos monetários operacionais são omitidos enquanto a origem aguarda reconciliação."},"FolhasPagamentoFilterDTO":{"type":"object","properties":{"ano":{"type":"integer","description":"Ano civil exato da competência da folha, mantido como vínculo escalar contextual para atalhos operacionais, KPIs e navegação entre superfícies.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"helpText":"Filtro escalar contextual para vínculos diretos por ano exato de competência.","icon":"calendar_today","iconPosition":"left","label":"Ano de Referência (contextual)","name":"ano","order":"11","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"anoBetween":{"description":"Ano ou intervalo de anos civis da competência remuneratória da folha, permitindo consultar tanto um único exercício anual quanto múltiplos anos consecutivos para conciliação contábil e auditoria histórica.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"integer","format":"int32","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null}}],"items":{"type":"integer","format":"int32","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":true,"example":null},"min":{"type":"integer","format":"int32","nullable":true,"example":null}},"anyOf":[{"required":["min"],"type":"object","properties":{"min":{"type":"integer","format":"int32","nullable":false,"example":null}}},{"required":["max"],"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"inlineYearRange","editable":true,"helpText":"Selecione um ano único ou um intervalo de anos de competência.","icon":"calendar_today","iconPosition":"left","label":"Ano de Referência","max":"2027","min":"2020","mode":"range","name":"anoBetween","numericMax":"2027","numericMin":"2020","order":"10","rangeMessage":"Ano de Referência deve estar entre 2020 e 2027","sortable":true,"type":"number"}},"dataPagamentoAgendadaBetween":{"description":"Intervalo de datas explicitamente agendadas para a folha; não inclui previsão nem comprova liquidação.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null}}],"items":{"type":"string","format":"date","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":true},"startDate":{"type":"string","format":"date","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateRange","editable":true,"helpText":"Buscar por intervalo da agenda operacional; não comprova pagamento.","icon":"event","iconPosition":"left","inlineOverlay":{"actions":{"apply":{"label":"Aplicar"},"cancel":{"label":"Cancelar"}},"applyMode":"explicit"},"inlineQuickPresets":{"enabled":true,"position":"footer"},"label":"Período agendado","name":"dataPagamentoAgendadaBetween","order":"40","shortcuts":["today","thisWeek","thisMonth",{"description":"Periodo fiscal de folha Q1/2026 resolvido pelo dominio de pagamento.","effectiveFrom":"2026-01-01","effectiveTo":"2026-12-31","endDate":"2026-03-31","icon":"account_balance","id":"payroll-q1-2026","label":"Folha Q1 2026","startDate":"2026-01-01","timeZone":"America/Sao_Paulo","tone":"info"},{"description":"Janela juridica de conferencia de pagamentos ja resolvida pelo backend.","endDate":"2026-04-30","icon":"gavel","id":"payroll-legal-audit-window-2026","label":"Auditoria trabalhista 2026","startDate":"2026-04-01","timeZone":"America/Sao_Paulo","tone":"warning"}],"sortable":true,"type":"date"}},"dataPagamentoAgendadaOn":{"type":"string","description":"Data civil exata da agenda operacional da folha, sem inferência de pagamento realizado.","format":"date","x-ui":{"controlType":"date","editable":true,"helpText":"Busca folhas agendadas para uma data específica.","icon":"event","iconPosition":"left","label":"Agendado em","name":"dataPagamentoAgendadaOn","order":"80","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"descontosBaseBetween":{"description":"Faixa dos descontos-base confirmados; exclui totais derivados e histórico pendente.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"number","format":"decimal","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null}}],"items":{"type":"number","format":"decimal","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"currency":{"type":"string"},"maxPrice":{"type":"number","format":"decimal","nullable":true,"example":null},"minPrice":{"type":"number","format":"decimal","nullable":true,"example":null}},"anyOf":[{"required":["minPrice"],"type":"object","properties":{"minPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}},{"required":["maxPrice"],"type":"object","properties":{"maxPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"priceRange","editable":true,"iconPosition":"left","label":"Descontos-base","name":"descontosBaseBetween","numericFormat":"currency","numericStep":"0.01","order":"55","sortable":true,"type":"number"}},"funcionarioId":{"type":"integer","description":"Colaborador cuja folha deve ser localizada para atendimento, conferencia individual ou conciliacao de pagamento.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Filtrar folhas de um colaborador específico.","icon":"badge","iconPosition":"left","label":"Colaborador","name":"funcionarioId","order":"30","sortable":true,"type":"number","valueField":"id"}},"mes":{"type":"integer","description":"Mês exato da competência remuneratória, de 1 a 12, mantido como vínculo escalar contextual para atalhos operacionais, KPIs e navegação entre superfícies.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"helpText":"Filtro escalar contextual para vínculos diretos por mês exato de competência.","icon":"calendar_month","iconPosition":"left","label":"Mês de Referência (contextual)","name":"mes","order":"21","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"mesBetween":{"description":"Mês ou intervalo de meses da competência remuneratória (1 a 12), permitindo filtrar um único mês de fechamento ou janelas trimestrais/semestrais de folha dentro do período selecionado.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"integer","format":"int32","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null}}],"items":{"type":"integer","format":"int32","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":true,"example":null},"min":{"type":"integer","format":"int32","nullable":true,"example":null}},"anyOf":[{"required":["min"],"type":"object","properties":{"min":{"type":"integer","format":"int32","nullable":false,"example":null}}},{"required":["max"],"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"inlineMonthRange","editable":true,"helpText":"Selecione um mês único (Jan a Dez) ou um intervalo de meses de competência.","icon":"calendar_view_month","iconPosition":"left","label":"Mês de Referência","max":"12","min":"1","mode":"range","name":"mesBetween","numericMax":"12","numericMin":"1","order":"20","rangeMessage":"Mês de Referência deve estar entre 1 e 12","sortable":true,"type":"number"}},"salarioBrutoBetween":{"description":"Intervalo de valor bruto consolidado da folha antes de descontos, usado para analise de massa salarial.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"number","format":"decimal","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null}}],"items":{"type":"number","format":"decimal","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"currency":{"type":"string"},"maxPrice":{"type":"number","format":"decimal","nullable":true,"example":null},"minPrice":{"type":"number","format":"decimal","nullable":true,"example":null}},"anyOf":[{"required":["minPrice"],"type":"object","properties":{"minPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}},{"required":["maxPrice"],"type":"object","properties":{"maxPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"priceRange","editable":true,"helpText":"Buscar por faixa de salário bruto.","icon":"payments","iconPosition":"left","label":"Salário Bruto","name":"salarioBrutoBetween","numericFormat":"currency","numericStep":"0.01","order":"50","sortable":true,"type":"number"}},"salarioLiquidoBetween":{"description":"Intervalo de valor liquido a depositar, usado para conferir teto, piso, conciliacao e impacto financeiro individual.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"number","format":"decimal","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null}}],"items":{"type":"number","format":"decimal","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"currency":{"type":"string"},"maxPrice":{"type":"number","format":"decimal","nullable":true,"example":null},"minPrice":{"type":"number","format":"decimal","nullable":true,"example":null}},"anyOf":[{"required":["minPrice"],"type":"object","properties":{"minPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}},{"required":["maxPrice"],"type":"object","properties":{"maxPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"priceRange","editable":true,"helpText":"Buscar por faixa de salário líquido.","icon":"payments","iconPosition":"left","label":"Salário Líquido","name":"salarioLiquidoBetween","numericFormat":"currency","numericStep":"0.01","order":"70","sortable":true,"type":"number"}},"totalDescontosBetween":{"description":"Intervalo do total de descontos aplicados, usado para localizar incidencias elevadas ou divergencias de calculo.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"number","format":"decimal","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null}}],"items":{"type":"number","format":"decimal","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"currency":{"type":"string"},"maxPrice":{"type":"number","format":"decimal","nullable":true,"example":null},"minPrice":{"type":"number","format":"decimal","nullable":true,"example":null}},"anyOf":[{"required":["minPrice"],"type":"object","properties":{"minPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}},{"required":["maxPrice"],"type":"object","properties":{"maxPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"priceRange","editable":true,"helpText":"Buscar por faixa de total de descontos.","icon":"money_off","iconPosition":"left","label":"Total de Descontos","name":"totalDescontosBetween","numericFormat":"currency","numericStep":"0.01","order":"60","sortable":true,"type":"number"}}},"description":"Criterios de busca de folha por competencia, colaborador e montante (nao e o fecho/ contracheque em edicao). Apoia backoffice financeiro a localizar lotes, conciliacao de pagamento e desvios de valores por competencia."},"FuncionarioDTO":{"required":["ativo","cargoId","cpf","dataAdmissao","dataNascimento","departamentoId","email","nomeCompleto","salario","telefone"],"type":"object","properties":{"ativo":{"type":"boolean","description":"Indica se o colaborador esta ativo no cadastro; inativos podem ser retidos por auditoria sem aparecer em operacoes de rotina.","x-ui":{"controlType":"checkbox","editable":true,"group":"Profissional","helpText":"Indica se o colaborador está ativo no sistema.","icon":"toggle_on","iconPosition":"left","label":"Ativo","name":"ativo","order":"30","presentation":{"appearance":"soft","icon":"toggle_on","presenter":"status","tone":"success"},"quickViewOrder":30,"quickViewVisible":true,"required":true,"requiredMessage":"Ativo é obrigatório","sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"}}},"avatarUrl":{"type":"string","description":"Foto de perfil exibida como avatar; derivada da URL de foto ou placeholder.","x-ui":{"controlType":"avatar","description":"Pré-visualização da foto do perfil","editable":true,"group":"Identificação","icon":"account_circle","iconPosition":"left","initialsField":"nomeCompleto","label":"Foto","name":"avatarUrl","order":"5","presentation":{"initialsField":"nomeCompleto"},"readOnly":true,"sortable":true,"type":"url"}},"cargoId":{"type":"integer","description":"Referencia ao cargo atualmente atribuido; define faixa, competencias e relatorios de RH associados.","format":"int32","example":1,"x-ui":{"controlType":"select","displayField":"label","editable":true,"endpoint":"/api/human-resources/cargos/option-sources/jobRole/options/filter","group":"Profissional","helpText":"Cargo ocupado atualmente.","icon":"work","iconPosition":"left","label":"Cargo","name":"cargoId","order":"40","required":true,"requiredMessage":"Cargo é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"cargoNome":{"type":"string","description":"Denominacao resolvida do cargo para exibicao em tabelas (somente leitura).","x-ui":{"controlType":"input","editable":true,"formHidden":true,"group":"Profissional","helpText":"Nome do cargo (preenchido automaticamente).","icon":"work","iconPosition":"left","label":"Cargo","name":"cargoNome","order":"41","quickViewOrder":10,"quickViewVisible":true,"readOnly":true,"resourceReference":{"resourceKey":"human-resources.cargos","surfaceId":"detail","valueField":"cargoId"},"sortable":true,"type":"text"}},"cpf":{"maxLength":20,"minLength":0,"pattern":"^(\\d{3}\\.\\d{3}\\.\\d{3}-\\d{2}|\\d{11})$","type":"string","description":"Cadastro de Pessoa Fisica (CPF) do colaborador. Dado pessoal sensivel; uso condicionado a finalidades de RH, folha e conformidade.","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"personal","reason":"Documento pessoal usado para identificacao fiscal do colaborador.","source":"java.annotation"},"x-ui":{"allowFormattedInput":true,"controlType":"cpfCnpjInput","documentType":"cpf","editable":true,"group":"Identificação","helpText":"Documento no formato 000.000.000-00.","icon":"fingerprint","iconPosition":"left","label":"CPF","mask":"000.000.000-00","maxLength":"20","maxLengthMessage":"CPF deve ter no máximo 20 caracteres","name":"cpf","order":"20","pattern":"^(\\d{3}\\.\\d{3}\\.\\d{3}-\\d{2}|\\d{11})$","patternMessage":"CPF inválido","required":true,"requiredMessage":"CPF é obrigatório","sortable":true,"tableHidden":true,"type":"text"}},"dataAdmissao":{"type":"string","description":"Data de inicio do vinculo empregaticio; ancora requisitos de experiencia, ferias e historicos de folha.","format":"date","x-ui":{"controlType":"date","displayFormat":"dd/MM/yyyy","editable":true,"group":"Profissional","helpText":"Data de início do vínculo empregatício.","icon":"event_available","iconPosition":"left","label":"Data de Admissão","locale":"pt-BR","mask":"dd/MM/yyyy","name":"dataAdmissao","numericFormat":"date","order":"20","quickViewOrder":40,"quickViewVisible":true,"required":true,"requiredMessage":"Data de Admissão é obrigatório","sortable":true,"type":"text","valuePresentation":{"type":"date"}}},"dataNascimento":{"type":"string","description":"Data de nascimento do colaborador; impacta regras de idade, beneficios e, quando aplicavel, validacoes de elegibilidade.","format":"date","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"personal","reason":"Data de nascimento usada para identificacao pessoal.","source":"java.annotation"},"x-ui":{"controlType":"date","displayFormat":"dd/MM/yyyy","editable":true,"group":"Identificação","helpText":"Data de nascimento oficial do colaborador.","icon":"cake","iconPosition":"left","label":"Data de Nascimento","locale":"pt-BR","mask":"dd/MM/yyyy","max":"today","name":"dataNascimento","numericFormat":"date","order":"30","rangeMessage":"Data de Nascimento deve ser menor ou igual a today","required":true,"requiredMessage":"Data de Nascimento é obrigatório","sortable":true,"tableHidden":true,"type":"text","valuePresentation":{"type":"date"}}},"departamentoId":{"type":"integer","description":"Unidade organizacional a qual o colaborador esta alocado; usada em aprovacoes, custeio e visibilidade de dados.","format":"int32","x-ui":{"controlType":"select","displayField":"label","editable":true,"endpoint":"/api/human-resources/departamentos/option-sources/department/options/filter","group":"Profissional","helpText":"Unidade organizacional alocada.","icon":"apartment","iconPosition":"left","label":"Departamento","name":"departamentoId","order":"50","required":true,"requiredMessage":"Departamento é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"departamentoNome":{"type":"string","description":"Nome resolvido do departamento para exibicao em tabelas (somente leitura).","x-ui":{"controlType":"input","editable":true,"formHidden":true,"group":"Profissional","helpText":"Nome do departamento (preenchido automaticamente).","icon":"apartment","iconPosition":"left","label":"Departamento","name":"departamentoNome","order":"51","quickViewOrder":20,"quickViewVisible":true,"readOnly":true,"resourceReference":{"resourceKey":"human-resources.departamentos","surfaceId":"detail","valueField":"departamentoId"},"sortable":true,"type":"text"}},"email":{"type":"string","format":"email","description":"Endereco de e-mail corporativo ou pessoal usado para notificacoes e recuperacao de conta.","maxLength":200,"minLength":0,"x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"personal","reason":"Contato pessoal do colaborador.","source":"java.annotation"},"x-ui":{"controlType":"email","editable":true,"group":"Contato","helpText":"Endereço de e-mail de contato.","icon":"email","iconPosition":"left","label":"Email","maxLength":"200","maxLengthMessage":"Email deve ter no máximo 200 caracteres","name":"email","order":"10","required":true,"requiredMessage":"Email é obrigatório","sortable":true,"tableHidden":true,"type":"email"}},"estadoCivil":{"type":"string","description":"Situacao civil informada para beneficios, dependentes e, quando exigido, relatorios regulatorios.","enum":["SOLTEIRO","CASADO","DIVORCIADO","VIUVO","UNIAO_ESTAVEL"],"x-ui":{"controlType":"select","editable":true,"group":"Identificação","helpText":"Situação civil atual.","icon":"family_restroom","iconPosition":"left","label":"Estado Civil","name":"estadoCivil","options":[{"value":"SOLTEIRO","label":"SOLTEIRO"},{"value":"CASADO","label":"CASADO"},{"value":"DIVORCIADO","label":"DIVORCIADO"},{"value":"VIUVO","label":"VIUVO"},{"value":"UNIAO_ESTAVEL","label":"UNIAO_ESTAVEL"}],"order":"35","presentation":{"appearance":"soft","icon":"family_restroom","presenter":"chip"},"quickViewOrder":50,"quickViewVisible":true,"sortable":true,"type":"text"}},"fotoPerfilUrl":{"maxLength":300,"minLength":0,"type":"string","description":"URL completa da imagem de perfil armazenada; pode ser restringida por politica de conteudo e privacidade.","x-ui":{"controlType":"url","editable":true,"formHidden":true,"group":"Identificação","helpText":"URL completa da foto do colaborador.","icon":"link","iconPosition":"left","label":"Foto (URL)","maxLength":"300","maxLengthMessage":"Foto (URL) deve ter no máximo 300 caracteres","name":"fotoPerfilUrl","order":"40","sortable":true,"tableHidden":true,"type":"url"}},"id":{"type":"integer","description":"Identificador interno do colaborador no servico de RH.","format":"int32","example":1,"x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"group":"Identificação","icon":"tag","iconPosition":"left","label":"Código","name":"id","order":"1","presentation":{"appearance":"soft","icon":"tag","prefix":"#","presenter":"iconValue","tooltip":"Código interno do colaborador"},"readOnly":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"nomeCompleto":{"maxLength":200,"minLength":0,"type":"string","description":"Nome civil completo usado em documentos oficiais e exibicao em listagens.","example":"Maria Souza","x-ui":{"controlType":"input","editable":true,"group":"Identificação","helpText":"Nome civil completo do colaborador.","icon":"badge","iconPosition":"left","label":"Nome Completo","maxLength":"200","maxLengthMessage":"Nome Completo deve ter no máximo 200 caracteres","name":"nomeCompleto","order":"10","required":true,"requiredMessage":"Nome Completo é obrigatório","resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"resourceVersion":{"type":"string","description":"ETag opaco da versão persistida usado por comandos governados.","readOnly":true,"example":"\"eyJ...\"","x-ui":{"controlType":"input","editable":true,"formHidden":true,"iconPosition":"left","label":"Token de versão","name":"resourceVersion","readOnly":true,"sortable":true,"tableHidden":true,"type":"text"}},"salario":{"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Remuneracao base ou contratual referente ao periodo; dado financeiro e pessoal, sujeito a controle de acesso e politicas internas.","format":"decimal","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"financial","reason":"Remuneracao individual do colaborador.","source":"java.annotation"},"x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"group":"Profissional","helpText":"Remuneração base atual.","icon":"payments","iconPosition":"left","label":"Salário","locale":"pt-BR","min":"0.00","name":"salario","numericFormat":"currency","numericMin":"0.00","order":"10","rangeMessage":"Salário deve ser maior ou igual a 0.00","required":true,"requiredMessage":"Salário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valuePresentation":{"type":"currency"}}},"telefone":{"maxLength":30,"minLength":0,"pattern":"^\\+?\\d{8,15}$","type":"string","description":"Telefone de contato em formato E.164 ou nacional; usado para SMS ou validacao de identidade leve em fluxos de RH.","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"personal","reason":"Canal de contato pessoal do colaborador.","source":"java.annotation"},"x-ui":{"autoFormat":true,"controlType":"phone","defaultCountry":"BR","editable":true,"group":"Contato","helpText":"Telefone com DDD (ex: +55 11 99999-9999).","icon":"phone","iconPosition":"left","label":"Telefone","mask":"+55 (00) 00000-0000","maxLength":"30","maxLengthMessage":"Telefone deve ter no máximo 30 caracteres","name":"telefone","order":"20","pattern":"^\\+?\\d{8,15}$","patternMessage":"Telefone inválido (use formato E.164: +5581999999999)","phoneFormat":"international","required":true,"requiredMessage":"Telefone é obrigatório","sortable":true,"tableHidden":true,"type":"text"}},"version":{"type":"integer","description":"Versão persistida usada em comandos com concorrência otimista.","format":"int64","readOnly":true,"example":3,"x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"iconPosition":"left","label":"Versão","name":"version","readOnly":true,"sortable":true,"tableHidden":true,"type":"number","valuePresentation":{"type":"number"}}}},"description":"Cadastro de colaborador no universo de RH: identificacao civil, contato, remuneracao, vinculo (cargo, departamento) e sinalizadores operacionais. Valores pessoais e financeiros seguem governanca de dados (LGPD)."},"FuncionarioDuplicateDraftDTO":{"type":"object","properties":{"cargoId":{"type":"integer","description":"Cargo da origem autorizada, sugerido para o novo vínculo e revalidado na criação.","format":"int32","nullable":true,"x-ui":{"controlType":"select","editable":true,"endpoint":"/api/human-resources/cargos/option-sources/jobRole/options/filter","group":"Profissional","helpText":"Revise o cargo para a nova pessoa.","icon":"work","iconPosition":"left","label":"Cargo","name":"cargoId","sortable":true,"type":"number"}},"departamentoId":{"type":"integer","description":"Departamento da origem autorizada, sujeito ao escopo atual do operador e revalidado na criação.","format":"int32","x-ui":{"controlType":"select","editable":true,"endpoint":"/api/human-resources/departamentos/option-sources/department/options/filter","group":"Profissional","helpText":"Revise a unidade de alocação da nova pessoa.","icon":"apartment","iconPosition":"left","label":"Departamento","name":"departamentoId","sortable":true,"type":"number"}}},"description":"Rascunho transitório para cadastrar outra pessoa na mesma alocação organizacional. Somente cargo e departamento são sugeridos; todos os dados pessoais, remuneração, admissão e estado do novo vínculo devem ser informados no cadastro. Não reserva nem cria um funcionário."},"FuncionarioFilterDTO":{"type":"object","properties":{"ativo":{"type":"boolean","description":"Situacao funcional que separa colaboradores ativos de registros inativos ou desligados.","x-ui":{"controlType":"checkbox","editable":true,"helpText":"Filtrar apenas ativos ou inativos.","icon":"toggle_on","iconPosition":"left","label":"Status","name":"ativo","order":"30","sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"}}},"cargoIdsIn":{"type":"array","description":"Conjunto de cargos ocupados que deve limitar a busca de colaboradores.","items":{"type":"integer","description":"Conjunto de cargos ocupados que deve limitar a busca de colaboradores.","format":"int32","x-ui":{"controlType":"async-select","displayField":"label","editable":true,"endpoint":"/api/human-resources/cargos/option-sources/jobRole/options/filter","helpText":"Filtrar funcionários por um ou mais cargos.","icon":"work","iconPosition":"left","label":"Cargos","multiple":true,"order":"40","sortable":true,"type":"number","valueField":"id"}},"x-ui":{"controlType":"async-select","displayField":"label","editable":true,"endpoint":"/api/human-resources/cargos/option-sources/jobRole/options/filter","helpText":"Filtrar funcionários por um ou mais cargos.","icon":"work","iconPosition":"left","label":"Cargos","multiple":true,"name":"cargoIdsIn","order":"40","sortable":true,"type":"number","valueField":"id"}},"cargoNome":{"type":"string","description":"Trecho do nome do cargo usado quando a busca parte da denominacao funcional em vez do identificador.","x-ui":{"controlType":"input","editable":true,"helpText":"Filtrar funcionários pelo nome do cargo.","icon":"work","iconPosition":"left","label":"Cargo","maxLength":"160","maxLengthMessage":"Cargo deve ter no máximo 160 caracteres","name":"cargoNome","order":"45","sortable":true,"type":"text"}},"cpf":{"type":"string","description":"Documento fiscal brasileiro informado para localizar registros de colaborador por CPF com ou sem formatacao.","x-ui":{"allowFormattedInput":true,"controlType":"cpfCnpjInput","documentType":"cpf","editable":true,"helpText":"Buscar por CPF completo ou por parte dos digitos.","icon":"fingerprint","iconPosition":"left","label":"CPF","mask":"000.000.000-00","maxLength":"14","maxLengthMessage":"CPF deve ter no máximo 14 caracteres","name":"cpf","order":"20","sortable":true,"type":"text","unmaskOnSubmit":true,"version":"legacy"}},"dataAdmissaoLastDays":{"type":"integer","description":"Janela relativa para localizar colaboradores admitidos recentemente a partir da data de admissao.","format":"int32","x-ui":{"controlType":"input","editable":true,"helpText":"Informe quantos dias anteriores devem ser considerados.","icon":"history","iconPosition":"left","label":"Admitidos nos últimos (dias)","name":"dataAdmissaoLastDays","order":"110","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"dataAdmissaoRange":{"description":"Janela de admissao ou onboarding usada para identificar cohortes de entrada na organizacao.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null}}],"items":{"type":"string","format":"date","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":true},"startDate":{"type":"string","format":"date","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateRange","editable":true,"helpText":"Buscar admissões em um intervalo de tempo.","icon":"event","iconPosition":"left","label":"Período de Admissão","name":"dataAdmissaoRange","order":"60","sortable":true,"type":"date"}},"dataNascimentoRange":{"description":"Janela de nascimento usada para recortes etarios e analises de elegibilidade, tratando a data como dado pessoal sensivel.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null}}],"items":{"type":"string","format":"date","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":true},"startDate":{"type":"string","format":"date","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateRange","editable":true,"helpText":"Buscar nascidos em um intervalo de tempo.","icon":"event","iconPosition":"left","label":"Período de Nascimento","name":"dataNascimentoRange","order":"35","sortable":true,"type":"date"}},"departamentoIdsIn":{"type":"array","description":"Conjunto de departamentos organizacionais que deve limitar a busca de colaboradores.","items":{"type":"integer","description":"Conjunto de departamentos organizacionais que deve limitar a busca de colaboradores.","format":"int32","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"allow"},"annotationType":"security","classification":"internal","complianceTags":["ORGANIZATIONAL_ACCESS"],"confidence":1.0,"dataCategory":"operational","reason":"Identificadores e nomes de departamentos podem fundamentar filtros assistidos por IA apenas dentro do escopo autorizado do host.","source":"java.annotation"},"x-ui":{"controlType":"inlineAsyncSelect","displayField":"label","editable":true,"endpoint":"/api/human-resources/departamentos/option-sources/department/options/filter","helpText":"Filtrar funcionários por um ou mais departamentos.","icon":"apartment","iconPosition":"left","label":"Departamentos","multiple":true,"order":"50","sortable":true,"type":"number","valueField":"id"}},"x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"allow"},"annotationType":"security","classification":"internal","complianceTags":["ORGANIZATIONAL_ACCESS"],"confidence":1.0,"dataCategory":"operational","reason":"Identificadores e nomes de departamentos podem fundamentar filtros assistidos por IA apenas dentro do escopo autorizado do host.","source":"java.annotation"},"x-ui":{"controlType":"inlineAsyncSelect","displayField":"label","editable":true,"endpoint":"/api/human-resources/departamentos/option-sources/department/options/filter","helpText":"Filtrar funcionários por um ou mais departamentos.","icon":"apartment","iconPosition":"left","label":"Departamentos","multiple":true,"name":"departamentoIdsIn","order":"50","sortable":true,"type":"number","valueField":"id"}},"departamentoNome":{"type":"string","description":"Trecho do nome do departamento ou area organizacional usado para localizar colaboradores por lotacao organizacional.","x-ui":{"controlType":"input","editable":true,"helpText":"Filtrar funcionários pelo nome do departamento.","icon":"apartment","iconPosition":"left","label":"Departamento","maxLength":"160","maxLengthMessage":"Departamento deve ter no máximo 160 caracteres","name":"departamentoNome","order":"55","sortable":true,"type":"text"}},"email":{"type":"string","description":"Endereco de e-mail corporativo ou de contato usado para localizar registros administrativos, com tratamento como dado pessoal.","x-ui":{"controlType":"input","editable":true,"helpText":"Buscar por endereço de e-mail.","icon":"email","iconPosition":"left","label":"E-mail","maxLength":"200","maxLengthMessage":"E-mail deve ter no máximo 200 caracteres","name":"email","order":"70","sortable":true,"type":"email"}},"estadoCivil":{"type":"string","description":"Estado civil cadastral usado em processos de beneficios, dependentes e analises administrativas.","enum":["SOLTEIRO","CASADO","DIVORCIADO","VIUVO","UNIAO_ESTAVEL"],"x-ui":{"controlType":"select","editable":true,"helpText":"Filtrar pelo estado civil.","icon":"family_restroom","iconPosition":"left","label":"Estado Civil","name":"estadoCivil","options":[{"value":"SOLTEIRO","label":"SOLTEIRO"},{"value":"CASADO","label":"CASADO"},{"value":"DIVORCIADO","label":"DIVORCIADO"},{"value":"VIUVO","label":"VIUVO"},{"value":"UNIAO_ESTAVEL","label":"UNIAO_ESTAVEL"}],"order":"100","sortable":true,"type":"text"}},"nomeCompleto":{"type":"string","description":"Trecho do nome civil usado em cracha, contrato e identificacao administrativa do colaborador.","x-ui":{"controlType":"input","editable":true,"helpText":"Buscar funcionário por nome.","icon":"badge","iconPosition":"left","label":"Nome Civil","maxLength":"200","maxLengthMessage":"Nome Civil deve ter no máximo 200 caracteres","name":"nomeCompleto","order":"10","sortable":true,"type":"text"}},"salarioBetween":{"description":"Faixa de remuneracao base vigente usada em recortes de custo, elegibilidade e planejamento de pessoal.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"number","format":"decimal","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null}}],"items":{"type":"number","format":"decimal","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"currency":{"type":"string"},"maxPrice":{"type":"number","format":"decimal","nullable":true,"example":null},"minPrice":{"type":"number","format":"decimal","nullable":true,"example":null}},"anyOf":[{"required":["minPrice"],"type":"object","properties":{"minPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}},{"required":["maxPrice"],"type":"object","properties":{"maxPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"priceRange","editable":true,"helpText":"Informe o salário mínimo, máximo ou ambos.","icon":"payments","iconPosition":"left","label":"Faixa Salarial","name":"salarioBetween","numericFormat":"currency","numericStep":"0.01","order":"90","sortable":true,"type":"number"}},"telefone":{"type":"string","description":"Telefone de contato do colaborador, pesquisavel por trecho de numero ou formatacao informada.","x-ui":{"autoFormat":true,"controlType":"phone","defaultCountry":"BR","editable":true,"helpText":"Buscar por telefone de contato.","icon":"phone","iconPosition":"left","label":"Telefone","mask":"+55 (00) 00000-0000","maxLength":"30","maxLengthMessage":"Telefone deve ter no máximo 30 caracteres","name":"telefone","order":"80","phoneFormat":"international","sortable":true,"type":"text"}}},"description":"Criterios de busca no cadastro de colaboradores/herois; nao e a ficha Funcionario a editar. Permite localizar pessoas por identidade civil, vinculo organizacional, situacao funcional, contato, faixa salarial e janelas de admissao."},"FuncionarioHabilidadeDTO":{"required":["funcionarioId","habilidadeId","proficiencia"],"type":"object","properties":{"funcionarioId":{"type":"integer","description":"Colaborador possuidor da proficiencia: referencia o recurso Funcionario (heroi) que acumula esta habilidade.","format":"int32","example":2,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Relacionamentos","helpText":"Colaborador associado à habilidade.","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"10","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"funcionarioNome":{"type":"string","description":"Nome do colaborador (desnormalizado, leitura) para tabelas de competencias sem join extra.","x-ui":{"controlType":"input","editable":true,"formHidden":true,"group":"Relacionamentos","helpText":"Nome do colaborador (preenchido automaticamente).","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioNome","order":"11","quickViewOrder":3,"quickViewVisible":true,"readOnly":true,"resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"funcionarioId"},"sortable":true,"type":"text"}},"habilidadeId":{"type":"integer","description":"Ponte para o registo de HabilidadeDTO no catalogo; define qual competencia esta a ser classificada para este colaborador.","format":"int32","example":7,"x-ui":{"controlType":"select","displayField":"label","editable":true,"endpoint":"/api/human-resources/habilidades/option-sources/skill/options/filter","group":"Relacionamentos","helpText":"Habilidade do catálogo a ser vinculada.","icon":"psychology","iconPosition":"left","label":"Habilidade","name":"habilidadeId","order":"20","required":true,"requiredMessage":"Habilidade é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"habilidadeNome":{"type":"string","description":"Nome da habilidade (desnormalizado, leitura) alinhada ao habilidadeId.","x-ui":{"controlType":"input","editable":true,"formHidden":true,"group":"Relacionamentos","helpText":"Nome da habilidade (preenchido automaticamente).","icon":"psychology","iconPosition":"left","label":"Habilidade","name":"habilidadeNome","order":"21","quickViewOrder":4,"quickViewVisible":true,"readOnly":true,"resourceReference":{"resourceKey":"human-resources.habilidades","surfaceId":"detail","valueField":"habilidadeId"},"sortable":true,"type":"text"}},"id":{"type":"integer","description":"Chave do vinculo. Cada par (funcionario, habilidade) pode aparecer no maximo uma vez; listagens de skill do heroi leem deste recurso.","format":"int32","example":1,"x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"group":"Relacionamentos","icon":"tag","iconPosition":"left","label":"Código","name":"id","order":"1","presentation":{"appearance":"soft","prefix":"#","presenter":"iconValue"},"readOnly":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"origem":{"type":"string","description":"Classificação canônica da proveniência da habilidade no vínculo do colaborador: NATURAL, EXPERIMENTO, TECNOLOGIA, TREINAMENTO, MISTICO, ALIEN ou OUTRO.","example":"TREINAMENTO","enum":["NATURAL","EXPERIMENTO","TECNOLOGIA","TREINAMENTO","MISTICO","ALIEN","OUTRO"],"x-ui":{"controlType":"select","editable":true,"group":"Avaliação","helpText":"Como a competência foi adquirida ou manifestada pelo colaborador.","icon":"school","iconPosition":"left","label":"Origem","name":"origem","options":[{"value":"NATURAL","label":"NATURAL"},{"value":"EXPERIMENTO","label":"EXPERIMENTO"},{"value":"TECNOLOGIA","label":"TECNOLOGIA"},{"value":"TREINAMENTO","label":"TREINAMENTO"},{"value":"MISTICO","label":"MISTICO"},{"value":"ALIEN","label":"ALIEN"},{"value":"OUTRO","label":"OUTRO"}],"order":"20","presentation":{"appearance":"soft","presenter":"badge"},"quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"text"}},"proficiencia":{"maximum":100,"minimum":1,"type":"integer","description":"Escala percentual de 1 a 100 de domínio operacional deste colaborador sobre a habilidade vinculada; distinta do nivelPoder do catálogo (escala 1 a 10 de potência intrínseca da capacidade).","format":"int32","example":85,"x-ui":{"controlType":"numericTextBox","editable":true,"group":"Avaliação","helpText":"Nível de domínio do colaborador na habilidade (escala de 1 a 100).","icon":"workspace_premium","iconPosition":"left","label":"Proficiência","max":"100","min":"1","name":"proficiencia","numericMax":"100","numericMin":"1","order":"10","quickViewOrder":1,"quickViewVisible":true,"rangeMessage":"Proficiência deve estar entre 1 e 100","required":true,"requiredMessage":"Proficiência é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"number"}}}},"description":"Vinculo N-N entre colaborador e entrada do catalogo de habilidades. A proficiencia (1 a 100) e a origem pertencem ao vinculo (nao ao catalogo): usado em alocacao a missao, relatorios de equipa e matriz de competencias."},"FuncionarioHabilidadeFilterDTO":{"type":"object","properties":{"funcionarioId":{"type":"integer","description":"Colaborador cujas habilidades e proficiencias devem ser consultadas.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Filtrar pelo colaborador que possui a habilidade.","icon":"badge","iconPosition":"left","label":"Colaborador","name":"funcionarioId","order":"10","sortable":true,"type":"number","valueField":"id"}},"habilidadeId":{"type":"integer","description":"Habilidade especifica usada para localizar colaboradores que possuem essa competencia.","format":"int32","x-ui":{"controlType":"async-select","displayField":"label","editable":true,"endpoint":"/api/human-resources/habilidades/option-sources/skill/options/filter","helpText":"Filtrar pela habilidade desejada.","icon":"psychology","iconPosition":"left","label":"Habilidade","name":"habilidadeId","order":"20","sortable":true,"type":"number","valueField":"id"}},"origem":{"type":"string","description":"Classificação canônica da proveniência da habilidade no vínculo do colaborador: NATURAL, EXPERIMENTO, TECNOLOGIA, TREINAMENTO, MISTICO, ALIEN ou OUTRO.","enum":["NATURAL","EXPERIMENTO","TECNOLOGIA","TREINAMENTO","MISTICO","ALIEN","OUTRO"],"x-ui":{"controlType":"select","editable":true,"helpText":"Filtrar pela origem canônica da competência.","icon":"school","iconPosition":"left","label":"Origem da Habilidade","name":"origem","options":[{"value":"NATURAL","label":"NATURAL"},{"value":"EXPERIMENTO","label":"EXPERIMENTO"},{"value":"TECNOLOGIA","label":"TECNOLOGIA"},{"value":"TREINAMENTO","label":"TREINAMENTO"},{"value":"MISTICO","label":"MISTICO"},{"value":"ALIEN","label":"ALIEN"},{"value":"OUTRO","label":"OUTRO"}],"order":"40","sortable":true,"type":"text"}},"proficienciaBetween":{"description":"Faixa de proficiência individual (escala de 1 a 100) atribuída ao colaborador naquela habilidade, usada em mapa de talentos e escala operacional.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"integer","format":"int32","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null}}],"items":{"type":"integer","format":"int32","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":true,"example":null},"min":{"type":"integer","format":"int32","nullable":true,"example":null}},"anyOf":[{"required":["min"],"type":"object","properties":{"min":{"type":"integer","format":"int32","nullable":false,"example":null}}},{"required":["max"],"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"rangeSlider","editable":true,"helpText":"Filtrar por faixa de proficiência (1 a 100).","icon":"trending_up","iconPosition":"left","label":"Nível de Proficiência","mode":"range","name":"proficienciaBetween","order":"30","sortable":true,"type":"number"}}},"description":"Criterios de busca na matriz de habilidades de colaboradores. Relaciona pessoas, capacidades, nivel de proficiencia (1 a 100) e origem canonica da competencia para selecao operacional."},"FuncionarioLifecycleTransitionRequestDTO":{"required":["comment","effectiveAt","reasonCode"],"type":"object","properties":{"comment":{"maxLength":1000,"minLength":0,"type":"string","description":"Justificativa contextual da decisão, preservada no histórico de transições do funcionário.","x-ui":{"controlType":"textarea","editable":true,"iconPosition":"left","label":"Comentário","maxLength":"1000","maxLengthMessage":"Comentário deve ter no máximo 1000 caracteres","name":"comment","order":"30","required":true,"requiredMessage":"Comentário é obrigatório","sortable":true,"type":"text"}},"effectiveAt":{"type":"string","description":"Data a partir da qual a transição passa a produzir efeitos operacionais no vínculo do funcionário.","format":"date","x-ui":{"controlType":"date","editable":true,"iconPosition":"left","label":"Data efetiva","name":"effectiveAt","order":"10","required":true,"requiredMessage":"Data efetiva é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"reasonCode":{"maxLength":120,"minLength":0,"type":"string","description":"Código de negócio que classifica a razão da transição para auditoria e relatórios de RH.","x-ui":{"controlType":"input","editable":true,"iconPosition":"left","label":"Código do motivo","maxLength":"120","maxLengthMessage":"Código do motivo deve ter no máximo 120 caracteres","name":"reasonCode","order":"20","required":true,"requiredMessage":"Código do motivo é obrigatório","sortable":true,"type":"text"}}},"description":"Comando de transição do vínculo do funcionário. Registra vigência e justificativa para inativação ou reativação; não representa uma edição cadastral do campo ativo."},"FuncionarioWorkflowResultDTO":{"type":"object","properties":{"ativo":{"type":"boolean"},"transitionId":{"type":"string","format":"uuid"}},"description":"Resultado confirmado de uma transição de lifecycle de funcionário."},"GenerationRequest":{"required":["expectedGeneration"],"type":"object","properties":{"expectedGeneration":{"type":"integer","description":"Inteiro JSON obrigatório. Publicar/suspender: 0 a 9223372036854775806. Reconciliar: 1 a 9223372036854775807.","format":"int64"}},"description":"Pré-condição administrativa: geração exata da operação, obtida fora deste comando. Não aceita rebase automático."},"GenericFilterDTO":{"type":"object"},"GovernedColorPaletteCapabilitiesResponse":{"type":"object","properties":{"operations":{"type":"array","items":{"$ref":"#/components/schemas/Operation"}},"ruleType":{"type":"string"},"supportedPurposes":{"type":"array","items":{"type":"string"}},"targetArtifactType":{"type":"string"},"targetLayer":{"type":"string"}}},"GovernedColorPalettePreviewRequest":{"type":"object","properties":{"palette":{"$ref":"#/components/schemas/JsonNode"},"paletteKey":{"type":"string","description":"Stable identity of the governed palette being previewed."}}},"GovernedColorPalettePreviewResponse":{"type":"object","properties":{"contrastEvidence":{"type":"array","items":{"$ref":"#/components/schemas/ContrastEvidence"}},"displayName":{"type":"string"},"entries":{"type":"array","items":{"$ref":"#/components/schemas/ColorTokenEntry"}},"familyKey":{"type":"string"},"provenance":{"$ref":"#/components/schemas/JsonNode"},"ruleType":{"type":"string"},"scope":{"$ref":"#/components/schemas/JsonNode"},"targetArtifactKey":{"type":"string"},"targetArtifactType":{"type":"string"},"targetLayer":{"type":"string"},"validation":{"$ref":"#/components/schemas/Validation"},"variant":{"$ref":"#/components/schemas/Variant"}}},"GovernedColorPaletteResponse":{"type":"object","properties":{"contrastEvidence":{"type":"array","items":{"$ref":"#/components/schemas/ContrastEvidence"}},"displayName":{"type":"string"},"entries":{"type":"array","items":{"$ref":"#/components/schemas/ColorTokenEntry"}},"environment":{"type":"string"},"etag":{"type":"string"},"familyKey":{"type":"string"},"paletteKey":{"type":"string"},"provenance":{"$ref":"#/components/schemas/JsonNode"},"publishedAt":{"type":"string","format":"date-time"},"scope":{"$ref":"#/components/schemas/JsonNode"},"status":{"type":"string"},"tenantId":{"type":"string"},"validation":{"$ref":"#/components/schemas/Validation"},"variant":{"$ref":"#/components/schemas/Variant"},"version":{"type":"integer","format":"int32"}}},"GroupByBucket":{"type":"object","properties":{"coordinates":{"type":"object","additionalProperties":{"type":"object"}},"count":{"type":"integer","format":"int64"},"key":{"type":"object"},"keys":{"type":"array","items":{"type":"object"}},"label":{"type":"string"},"labels":{"type":"array","items":{"type":"string"}},"value":{"type":"number","format":"decimal"},"values":{"type":"object","additionalProperties":{"type":"number","format":"decimal"}}}},"GroupByStatsRequest":{"type":"object","properties":{"dimensions":{"type":"array","items":{"$ref":"#/components/schemas/StatsDimensionRequest"}},"field":{"type":"string"},"fillGaps":{"type":"boolean"},"filter":{"$ref":"#/components/schemas/GenericFilterDTO"},"from":{"type":"string","format":"date"},"limit":{"type":"integer","format":"int32"},"metric":{"$ref":"#/components/schemas/StatsMetricRequest"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"periodField":{"type":"string"},"periodPreset":{"type":"string","enum":["TODAY","YESTERDAY","LAST_7_DAYS","LAST_30_DAYS","THIS_MONTH","LAST_MONTH","THIS_QUARTER","THIS_YEAR"]},"timezone":{"type":"string"},"to":{"type":"string","format":"date"}}},"GroupByStatsRequestAcordosRegulatorioFilterDTO":{"type":"object","properties":{"dimensions":{"type":"array","items":{"$ref":"#/components/schemas/StatsDimensionRequest"}},"field":{"type":"string"},"fillGaps":{"type":"boolean"},"filter":{"$ref":"#/components/schemas/AcordosRegulatorioFilterDTO"},"from":{"type":"string","format":"date"},"limit":{"type":"integer","format":"int32"},"metric":{"$ref":"#/components/schemas/StatsMetricRequest"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"periodField":{"type":"string"},"periodPreset":{"type":"string","enum":["TODAY","YESTERDAY","LAST_7_DAYS","LAST_30_DAYS","THIS_MONTH","LAST_MONTH","THIS_QUARTER","THIS_YEAR"]},"timezone":{"type":"string"},"to":{"type":"string","format":"date"}}},"GroupByStatsRequestEventosFolhaFilterDTO":{"type":"object","properties":{"dimensions":{"type":"array","items":{"$ref":"#/components/schemas/StatsDimensionRequest"}},"field":{"type":"string"},"fillGaps":{"type":"boolean"},"filter":{"$ref":"#/components/schemas/EventosFolhaFilterDTO"},"from":{"type":"string","format":"date"},"limit":{"type":"integer","format":"int32"},"metric":{"$ref":"#/components/schemas/StatsMetricRequest"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"periodField":{"type":"string"},"periodPreset":{"type":"string","enum":["TODAY","YESTERDAY","LAST_7_DAYS","LAST_30_DAYS","THIS_MONTH","LAST_MONTH","THIS_QUARTER","THIS_YEAR"]},"timezone":{"type":"string"},"to":{"type":"string","format":"date"}}},"GroupByStatsRequestExtraordinaryBenefitRequestFilter":{"type":"object","properties":{"dimensions":{"type":"array","items":{"$ref":"#/components/schemas/StatsDimensionRequest"}},"field":{"type":"string"},"fillGaps":{"type":"boolean"},"filter":{"$ref":"#/components/schemas/ExtraordinaryBenefitRequestFilter"},"from":{"type":"string","format":"date"},"limit":{"type":"integer","format":"int32"},"metric":{"$ref":"#/components/schemas/StatsMetricRequest"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"periodField":{"type":"string"},"periodPreset":{"type":"string","enum":["TODAY","YESTERDAY","LAST_7_DAYS","LAST_30_DAYS","THIS_MONTH","LAST_MONTH","THIS_QUARTER","THIS_YEAR"]},"timezone":{"type":"string"},"to":{"type":"string","format":"date"}}},"GroupByStatsRequestFolhasPagamentoFilterDTO":{"type":"object","properties":{"dimensions":{"type":"array","items":{"$ref":"#/components/schemas/StatsDimensionRequest"}},"field":{"type":"string"},"fillGaps":{"type":"boolean"},"filter":{"$ref":"#/components/schemas/FolhasPagamentoFilterDTO"},"from":{"type":"string","format":"date"},"limit":{"type":"integer","format":"int32"},"metric":{"$ref":"#/components/schemas/StatsMetricRequest"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"periodField":{"type":"string"},"periodPreset":{"type":"string","enum":["TODAY","YESTERDAY","LAST_7_DAYS","LAST_30_DAYS","THIS_MONTH","LAST_MONTH","THIS_QUARTER","THIS_YEAR"]},"timezone":{"type":"string"},"to":{"type":"string","format":"date"}}},"GroupByStatsRequestHistoricoSalarialFilterDTO":{"type":"object","properties":{"dimensions":{"type":"array","items":{"$ref":"#/components/schemas/StatsDimensionRequest"}},"field":{"type":"string"},"fillGaps":{"type":"boolean"},"filter":{"$ref":"#/components/schemas/HistoricoSalarialFilterDTO"},"from":{"type":"string","format":"date"},"limit":{"type":"integer","format":"int32"},"metric":{"$ref":"#/components/schemas/StatsMetricRequest"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"periodField":{"type":"string"},"periodPreset":{"type":"string","enum":["TODAY","YESTERDAY","LAST_7_DAYS","LAST_30_DAYS","THIS_MONTH","LAST_MONTH","THIS_QUARTER","THIS_YEAR"]},"timezone":{"type":"string"},"to":{"type":"string","format":"date"}}},"GroupByStatsRequestLegacyPayCodeFilterDTO":{"type":"object","properties":{"dimensions":{"type":"array","items":{"$ref":"#/components/schemas/StatsDimensionRequest"}},"field":{"type":"string"},"fillGaps":{"type":"boolean"},"filter":{"$ref":"#/components/schemas/LegacyPayCodeFilterDTO"},"from":{"type":"string","format":"date"},"limit":{"type":"integer","format":"int32"},"metric":{"$ref":"#/components/schemas/StatsMetricRequest"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"periodField":{"type":"string"},"periodPreset":{"type":"string","enum":["TODAY","YESTERDAY","LAST_7_DAYS","LAST_30_DAYS","THIS_MONTH","LAST_MONTH","THIS_QUARTER","THIS_YEAR"]},"timezone":{"type":"string"},"to":{"type":"string","format":"date"}}},"GroupByStatsRequestVwIndicadoresIncidenteFilterDTO":{"type":"object","properties":{"dimensions":{"type":"array","items":{"$ref":"#/components/schemas/StatsDimensionRequest"}},"field":{"type":"string"},"fillGaps":{"type":"boolean"},"filter":{"$ref":"#/components/schemas/VwIndicadoresIncidenteFilterDTO"},"from":{"type":"string","format":"date"},"limit":{"type":"integer","format":"int32"},"metric":{"$ref":"#/components/schemas/StatsMetricRequest"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"periodField":{"type":"string"},"periodPreset":{"type":"string","enum":["TODAY","YESTERDAY","LAST_7_DAYS","LAST_30_DAYS","THIS_MONTH","LAST_MONTH","THIS_QUARTER","THIS_YEAR"]},"timezone":{"type":"string"},"to":{"type":"string","format":"date"}}},"GroupByStatsRequestVwResumoMissoeFilterDTO":{"type":"object","properties":{"dimensions":{"type":"array","items":{"$ref":"#/components/schemas/StatsDimensionRequest"}},"field":{"type":"string"},"fillGaps":{"type":"boolean"},"filter":{"$ref":"#/components/schemas/VwResumoMissoeFilterDTO"},"from":{"type":"string","format":"date"},"limit":{"type":"integer","format":"int32"},"metric":{"$ref":"#/components/schemas/StatsMetricRequest"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"orderBy":{"type":"string","enum":["KEY_ASC","KEY_DESC","VALUE_ASC","VALUE_DESC"]},"periodField":{"type":"string"},"periodPreset":{"type":"string","enum":["TODAY","YESTERDAY","LAST_7_DAYS","LAST_30_DAYS","THIS_MONTH","LAST_MONTH","THIS_QUARTER","THIS_YEAR"]},"timezone":{"type":"string"},"to":{"type":"string","format":"date"}}},"GroupByStatsResponse":{"type":"object","properties":{"buckets":{"type":"array","items":{"$ref":"#/components/schemas/GroupByBucket"}},"dimensions":{"type":"array","items":{"$ref":"#/components/schemas/StatsDimensionRequest"}},"field":{"type":"string"},"metric":{"$ref":"#/components/schemas/StatsMetricRequest"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"window":{"$ref":"#/components/schemas/ComparisonPeriodWindow"}}},"HabilidadeDTO":{"required":["nome"],"type":"object","properties":{"categoria":{"type":"string","description":"Eixo de classificacao: FISICA, MENTAL, TECNOLOGICA, MISTICA, ALIEN, BIOQUIMICA. Agrupa habilidades para relatorios e regras de alocacao.","enum":["FISICA","MENTAL","TECNOLOGICA","MISTICA","ALIEN","BIOQUIMICA"],"x-ui":{"controlType":"select","editable":true,"group":"Principal","helpText":"Classificação da habilidade (ex: TÉCNICA, COMPORTAMENTAL).","icon":"category","iconPosition":"left","label":"Categoria","name":"categoria","options":[{"value":"FISICA","label":"FISICA"},{"value":"MENTAL","label":"MENTAL"},{"value":"TECNOLOGICA","label":"TECNOLOGICA"},{"value":"MISTICA","label":"MISTICA"},{"value":"ALIEN","label":"ALIEN"},{"value":"BIOQUIMICA","label":"BIOQUIMICA"}],"order":"20","presentation":{"appearance":"soft","presenter":"chip"},"quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}},"descricao":{"maxLength":2000,"minLength":0,"type":"string","description":"Narrativa livre do efeito, limitacoes e contexto de uso; nao define sozinha a governanca operacional, que depende de missao, perfil e politica.","x-ui":{"controlType":"textarea","editable":true,"group":"Principal","helpText":"Detalhes sobre o efeito e contexto de uso.","icon":"description","iconPosition":"left","label":"Descrição","maxLength":"2000","maxLengthMessage":"Descrição deve ter no máximo 2000 caracteres","name":"descricao","order":"30","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text"}},"id":{"type":"integer","description":"Chave da habilidade no catalogo. Usada em associacoes FuncionarioHabilidade e em criterios de missao; exposta em URLs.","format":"int32","example":12,"x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"group":"Principal","icon":"tag","iconPosition":"left","label":"Código","name":"id","order":"1","presentation":{"appearance":"soft","prefix":"#","presenter":"iconValue"},"readOnly":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"nivelPoder":{"minimum":0,"type":"integer","description":"Escala interna 0+ de potencia relativa para priorizar requisitos de missao e comparar candidatos; nao e salario nem antiguidade.","format":"int32","example":7,"x-ui":{"controlType":"numericTextBox","editable":true,"group":"Principal","helpText":"Grau de impacto (escala interna).","icon":"bolt","iconPosition":"left","label":"Nível de Poder","min":"0","name":"nivelPoder","numericMin":"0","order":"40","quickViewOrder":2,"quickViewVisible":true,"rangeMessage":"Nível de Poder deve ser maior ou igual a 0","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"nome":{"maxLength":200,"minLength":0,"type":"string","description":"Designacao canónica da competencia (ex. Voo tatico, Telepatia de curto alcance) para exibicao e busca semantica.","example":"Muralha de forca","x-ui":{"controlType":"input","editable":true,"group":"Principal","helpText":"Nome da competência no catálogo.","icon":"psychology","iconPosition":"left","label":"Nome","maxLength":"200","maxLengthMessage":"Nome deve ter no máximo 200 caracteres","name":"nome","order":"10","required":true,"requiredMessage":"Nome é obrigatório","resourceReference":{"resourceKey":"human-resources.habilidades","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}}},"description":"Entrada do catalogo de competencias: cada registo pode ser associado a varios colaboradores (N-N). A categoria e o nivel de poder classificam a habilidade para filtros, missao e governanca de perfil."},"HabilidadeFilterDTO":{"type":"object","properties":{"categoria":{"type":"string","description":"Recorte taxonomico; EQUAL ao enumerado HabilidadeCategoria (fisica, mental, etc., conforme enum).","enum":["FISICA","MENTAL","TECNOLOGICA","MISTICA","ALIEN","BIOQUIMICA"],"x-ui":{"controlType":"select","editable":true,"helpText":"Filtrar por categoria da habilidade.","icon":"category","iconPosition":"left","label":"Categoria","name":"categoria","options":[{"value":"FISICA","label":"FISICA"},{"value":"MENTAL","label":"MENTAL"},{"value":"TECNOLOGICA","label":"TECNOLOGICA"},{"value":"MISTICA","label":"MISTICA"},{"value":"ALIEN","label":"ALIEN"},{"value":"BIOQUIMICA","label":"BIOQUIMICA"}],"order":"20","sortable":true,"type":"text"}},"descricao":{"type":"string","description":"Texto longo de descricao e efeitos; LIKE para procurar por palavra-chave no detalhe da habilidade.","x-ui":{"controlType":"input","editable":true,"helpText":"Buscar palavras na descrição.","icon":"description","iconPosition":"left","label":"Descrição","maxLength":"2000","maxLengthMessage":"Descrição deve ter no máximo 2000 caracteres","name":"descricao","order":"40","sortable":true,"type":"text"}},"nivelPoderBetween":{"description":"Intervalo de intensidade da habilidade, usado para compatibilizar demanda operacional, risco e perfil do colaborador.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"integer","format":"int32","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null}}],"items":{"type":"integer","format":"int32","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":true,"example":null},"min":{"type":"integer","format":"int32","nullable":true,"example":null}},"anyOf":[{"required":["min"],"type":"object","properties":{"min":{"type":"integer","format":"int32","nullable":false,"example":null}}},{"required":["max"],"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"rangeSlider","editable":true,"helpText":"Buscar por faixa de nível de poder.","icon":"trending_up","iconPosition":"left","label":"Nível de Poder","mode":"range","name":"nivelPoderBetween","order":"30","sortable":true,"type":"number"}},"nome":{"type":"string","description":"Nome de habilidade (ex.: voo, telepatia); LIKE sobre o campo nome.","x-ui":{"controlType":"input","editable":true,"helpText":"Filtrar habilidade por nome.","icon":"badge","iconPosition":"left","label":"Nome da Habilidade","maxLength":"200","maxLengthMessage":"Nome da Habilidade deve ter no máximo 200 caracteres","name":"nome","order":"10","sortable":true,"type":"text"}}},"description":"Criterios de busca no catalogo de competencias/ poderes (nao e a entidade Habilidade em edicao). Apoia selecao de talentos por nome, categoria, intensidade operacional e descricao da capacidade."},"HistoricoSalarialDTO":{"required":["dataInicio","funcionarioId","salario"],"type":"object","properties":{"dataFim":{"type":"string","description":"Fim de vigencia (inclusive) ou nulo se ainda ativa. Nova fatia consecutiva deve comecar apos o encerramento logico (evitar buracos e sobreposicoes).","format":"date","example":"2024-12-31","x-ui":{"controlType":"date","editable":true,"helpText":"Último dia de vigência (se aplicável).","icon":"event_available","iconPosition":"left","label":"Data Fim","name":"dataFim","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"dataInicio":{"type":"string","description":"Inicio de vigencia deste valor (inclusive); primeiro dia em que a faixa e considerada ativa para efeito de regra de negocio.","format":"date","example":"2024-01-01","x-ui":{"controlType":"date","editable":true,"helpText":"Primeiro dia de vigência do salário.","icon":"event","iconPosition":"left","label":"Data Início","name":"dataInicio","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Data Início é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"funcionarioId":{"type":"integer","description":"Colaborador cujo salario (neste recorte) esta a ser registado; referencia o recurso de funcionario.","format":"int32","example":4,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Colaborador titular do histórico.","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"10","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"funcionarioNome":{"type":"string","description":"Nome completo resolvido do colaborador titular da trilha salarial para exibicao legivel em grades, listas de progressao de carreira e paineis analiticos (somente leitura).","example":"Ana Clara Silva","x-ui":{"controlType":"input","editable":true,"formHidden":true,"helpText":"Nome completo do colaborador (preenchido automaticamente).","icon":"person","iconPosition":"left","label":"Colaborador","name":"funcionarioNome","order":"11","readOnly":true,"resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"funcionarioId"},"sortable":true,"type":"text"}},"id":{"type":"integer","description":"Chave de uma fatia de historico. Varias fatias no tempo cobrem a trajectoria salarial; encadeamento e fechamento de intervalos pertencem a regra de negocio.","format":"int32","example":1,"x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"icon":"tag","iconPosition":"left","label":"Código","name":"id","order":"1","readOnly":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"motivo":{"maxLength":2000,"minLength":0,"type":"string","description":"Justificativa administrativa (reajuste, promocao, correcao, acordo) para rastreabilidade; insumo de auditoria interna, nao substitui o documento legal.","example":"Reajuste anual 2024","x-ui":{"controlType":"textarea","editable":true,"helpText":"Justificativa da alteração (ex: promoção, reajuste).","icon":"notes","iconPosition":"left","label":"Motivo","maxLength":"2000","maxLengthMessage":"Motivo deve ter no máximo 2000 caracteres","name":"motivo","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"text"}},"salario":{"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Base remuneratoria acordada para o periodo (moeda do backend, tipicamente BRL). Valor de RH administrativo, confidencial; nao e liquido de transferencia bancaria.","format":"decimal","example":15000.0,"x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"summarize_only"},"annotationType":"compliance","classification":"confidential","complianceTags":["INTERNAL_POLICY","FINANCIAL_PRIVACY"],"confidence":1.0,"dataCategory":"financial","reason":"O valor nominal do salário é estritamente confidencial e não deve ser exposto de forma bruta por IAs.","source":"java.annotation"},"x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"helpText":"Valor da remuneração no período.","icon":"payments","iconPosition":"left","label":"Salário","locale":"pt-BR","min":"0.00","name":"salario","numericFormat":"currency","numericMin":"0.00","quickViewOrder":1,"quickViewVisible":true,"rangeMessage":"Salário deve ser maior ou igual a 0.00","required":true,"requiredMessage":"Salário é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}}},"description":"Registo de faixa ou valor de remuneracao do colaborador num intervalo de vigencia. Alimenta analises de carreira e preparacao de folha; dados de salario sao sensiveis (LGPD) e nao sao a mesma coisa que o pagamento realizado na folha (veja eventos de folha)."},"HistoricoSalarialFilterDTO":{"type":"object","properties":{"dataFimBetween":{"description":"Intervalo de fim de vigencia da remuneracao, usado para encontrar encerramento, substituicao ou lacunas de historico.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null}}],"items":{"type":"string","format":"date","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":true},"startDate":{"type":"string","format":"date","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateRange","editable":true,"helpText":"Buscar por data de fim de vigência.","icon":"event","iconPosition":"left","label":"Fim de Vigência","name":"dataFimBetween","order":"40","sortable":true,"type":"date"}},"dataInicioBetween":{"description":"Intervalo de inicio de vigencia da remuneracao, usado para identificar quando uma condicao salarial passou a valer.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null}}],"items":{"type":"string","format":"date","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":true},"startDate":{"type":"string","format":"date","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateRange","editable":true,"helpText":"Buscar por data de início de vigência.","icon":"event","iconPosition":"left","label":"Início de Vigência","name":"dataInicioBetween","order":"30","sortable":true,"type":"date"}},"funcionarioId":{"type":"integer","description":"Colaborador cuja trilha remuneratoria deve ser consultada para auditoria, promocao ou historico contratual.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Filtrar por colaborador.","icon":"badge","iconPosition":"left","label":"Colaborador","name":"funcionarioId","order":"10","sortable":true,"type":"number","valueField":"id"}},"motivo":{"type":"string","description":"Justificativa de negocio do ajuste, como promocao, reajuste coletivo, correcao contratual ou reenquadramento.","x-ui":{"controlType":"input","editable":true,"helpText":"Filtrar por motivo do reajuste ou promoção.","icon":"notes","iconPosition":"left","label":"Motivo","maxLength":"2000","maxLengthMessage":"Motivo deve ter no máximo 2000 caracteres","name":"motivo","order":"50","sortable":true,"type":"text"}},"salarioBetween":{"description":"Intervalo de remuneracao historica usado para localizar faixas salariais, reajustes e mudancas de carreira.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"number","format":"decimal","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null}}],"items":{"type":"number","format":"decimal","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"currency":{"type":"string"},"maxPrice":{"type":"number","format":"decimal","nullable":true,"example":null},"minPrice":{"type":"number","format":"decimal","nullable":true,"example":null}},"anyOf":[{"required":["minPrice"],"type":"object","properties":{"minPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}},{"required":["maxPrice"],"type":"object","properties":{"maxPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"rangeSlider","editable":true,"helpText":"Filtrar por faixa salarial no histórico.","icon":"payments","iconPosition":"left","label":"Faixa Salarial","name":"salarioBetween","numericFormat":"currency","numericStep":"0.01","order":"20","sortable":true,"type":"number"}}},"description":"Criterios de busca no historico de correcoes/ faixas salariais (nao e a linha de ajuste a submeter). Apoia auditoria de reajustes, vigencia remuneratoria, trilha de carreira e analise de impacto salarial."},"HistoricosCargoDTO":{"required":["cargoId","dataInicio","funcionarioId"],"type":"object","properties":{"cargoId":{"type":"integer","description":"Referência a CargoDTO (catálogo de funções, nível e faixa salarial). Define o título e a função nesse período.","format":"int32","example":3,"x-ui":{"controlType":"select","displayField":"label","editable":true,"endpoint":"/api/human-resources/cargos/option-sources/jobRole/options/filter","group":"Principal","helpText":"Novo cargo assumido.","icon":"work","iconPosition":"left","label":"Cargo","name":"cargoId","order":"20","required":true,"requiredMessage":"Cargo é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"cargoNome":{"type":"string","description":"Nome do cargo (leitura) alinhado ao cargoId para grelhas sem join explicito no cliente.","x-ui":{"controlType":"input","editable":true,"formHidden":true,"group":"Principal","helpText":"Nome do cargo (preenchido automaticamente).","icon":"work","iconPosition":"left","label":"Cargo","name":"cargoNome","order":"21","quickViewOrder":1,"quickViewVisible":true,"readOnly":true,"resourceReference":{"resourceKey":"human-resources.cargos","surfaceId":"detail","valueField":"cargoId"},"sortable":true,"type":"text"}},"dataFim":{"type":"string","description":"Fim (inclusive) do período nesse cargo, ou nulo enquanto o colaborador o ocupa; encerre-o antes de atribuir outro registro consecutivo.","format":"date","example":"2025-01-10","x-ui":{"controlType":"date","displayFormat":"dd/MM/yyyy","editable":true,"group":"Principal","helpText":"Último dia de exercício (se aplicável).","icon":"event_available","iconPosition":"left","label":"Data Fim","locale":"pt-BR","mask":"dd/MM/yyyy","name":"dataFim","numericFormat":"date","order":"40","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text","valuePresentation":{"type":"date"}}},"dataInicio":{"type":"string","description":"Início (inclusive) do exercício deste cargo pelo colaborador: transferências, promoções e reestruturações entram com nova data e novo cargo.","format":"date","example":"2022-03-15","x-ui":{"controlType":"date","displayFormat":"dd/MM/yyyy","editable":true,"group":"Principal","helpText":"Primeiro dia de exercício no cargo.","icon":"event","iconPosition":"left","label":"Data Início","locale":"pt-BR","mask":"dd/MM/yyyy","name":"dataInicio","numericFormat":"date","order":"30","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Data Início é obrigatório","sortable":true,"type":"text","valuePresentation":{"type":"date"}}},"funcionarioId":{"type":"integer","description":"Colaborador cuja carreira está sendo registrada; referência ao recurso de funcionário.","format":"int32","example":2,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Principal","helpText":"Colaborador promovido ou transferido.","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"10","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"funcionarioNome":{"type":"string","description":"Nome do colaborador (leitura) para tabelas de carreira; espelha o funcionarioId.","x-ui":{"controlType":"input","editable":true,"formHidden":true,"group":"Principal","helpText":"Nome do colaborador (preenchido automaticamente).","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioNome","order":"11","readOnly":true,"resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"funcionarioId"},"sortable":true,"type":"text"}},"id":{"type":"integer","description":"Chave do período de lotação nesse cargo. O histórico é uma sequência de intervalos; sobreposições devem ser evitadas pela operação (regra fora do DTO).","format":"int32","example":1,"x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"group":"Principal","icon":"tag","iconPosition":"left","label":"Código","name":"id","order":"1","presentation":{"appearance":"soft","prefix":"#","presenter":"iconValue"},"readOnly":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"observacoes":{"maxLength":2000,"minLength":0,"type":"string","description":"Notas de RH (substituição, comissão temporária ou detalhe de alocação) complementares ao motivo de alteração salarial, se existir; texto livre para auditoria administrativa.","example":"Interino durante reforma de cargo superior","x-ui":{"controlType":"textarea","editable":true,"group":"Principal","helpText":"Notas sobre a transição ou alocação.","icon":"notes","iconPosition":"left","label":"Observações","maxLength":"2000","maxLengthMessage":"Observações deve ter no máximo 2000 caracteres","name":"observacoes","order":"50","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Movimentação de cargo (função) do colaborador no tempo: o papel organizacional, distinto do salário em HistoricoSalarialDTO. Cada registro liga o funcionário a um cargo do catálogo e a uma vigência; compõe a trilha de carreira."},"HistoricosCargoFilterDTO":{"type":"object","properties":{"cargoId":{"type":"integer","description":"Cargo usado para localizar colaboradores que ja ocuparam ou ocupam a funcao.","format":"int32","x-ui":{"controlType":"async-select","displayField":"label","editable":true,"endpoint":"/api/human-resources/cargos/option-sources/jobRole/options/filter","helpText":"Filtrar por cargo ocupado.","icon":"work","iconPosition":"left","label":"Cargo","name":"cargoId","order":"20","sortable":true,"type":"number","valueField":"id"}},"dataFimBetween":{"description":"Janela de termino da designacao, usada para localizar encerramentos de cargo ou lotacao.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null}}],"items":{"type":"string","format":"date","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":true},"startDate":{"type":"string","format":"date","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateRange","editable":true,"helpText":"Buscar por período de término da lotação.","icon":"event","iconPosition":"left","label":"Término da Lotação","name":"dataFimBetween","order":"40","sortable":true,"type":"date"}},"dataInicioBetween":{"description":"Janela de inicio da designacao, usada para analisar entrada em cargo ou lotacao.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null}}],"items":{"type":"string","format":"date","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":true},"startDate":{"type":"string","format":"date","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateRange","editable":true,"helpText":"Buscar por período de início da lotação.","icon":"event","iconPosition":"left","label":"Início da Lotação","name":"dataInicioBetween","order":"30","sortable":true,"type":"date"}},"funcionarioId":{"type":"integer","description":"Colaborador cuja trajetoria de cargos e lotacoes deve ser consultada.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Filtrar histórico de um colaborador específico.","icon":"badge","iconPosition":"left","label":"Colaborador","name":"funcionarioId","order":"10","sortable":true,"type":"number","valueField":"id"}}},"description":"Criterios de busca na linha do tempo de cargos e lotacoes de colaboradores. Apoia analise de carreira, ocupacao de funcoes e periodos de vigencia em cada designacao."},"IdentidadeSecretaDTO":{"required":["codinome","exposicaoPublica","funcionarioId","universo"],"type":"object","properties":{"codinome":{"maxLength":120,"minLength":0,"type":"string","description":"Nome de guerra / codinome usado em comunicacao publica e relatorios de missao; nao substitui o CPF ou nome completo (RG/HR).","example":"Sombra Azul","x-domain-governance":{"aiUsage":{"reasoningUse":"deny","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"security","classification":"restricted","complianceTags":["INTERNAL_POLICY","SECURITY"],"confidence":1.0,"dataCategory":"operational","reason":"Vincular publicamente a identidade civil a este codinome compromete o sigilo e segurança operacional das missões.","source":"java.annotation"},"x-ui":{"controlType":"input","editable":true,"helpText":"Nome público (alter ego) do herói.","icon":"theater_comedy","iconPosition":"left","label":"Codinome","maxLength":"120","maxLengthMessage":"Codinome deve ter no máximo 120 caracteres","name":"codinome","required":true,"requiredMessage":"Codinome é obrigatório","resourceReference":{"resourceKey":"human-resources.identidades-secretas","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"exposicaoPublica":{"type":"boolean","description":"Se o codinome e divulgaveis a midia e parceiros externos; false implica restringir a equipas internas e operacoes classificadas (politica de exibicao).","example":true,"x-ui":{"controlType":"checkbox","editable":true,"helpText":"Permite a divulgação externa deste perfil.","icon":"visibility","iconPosition":"left","label":"Exposição Pública","name":"exposicaoPublica","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Exposição Pública é obrigatório","sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"}}},"funcionarioId":{"type":"integer","description":"Colaborador dono do alter ego: identificador do `Funcionario` a quem o codinome e o universo se aplicam.","format":"int32","example":2,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Colaborador associado ao perfil heroico.","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"funcionarioNome":{"type":"string","description":"Nome civil (desnormalizado, leitura) para cruzar com o codinome em UI de auditoria interna; nao e o heroi em missao.","x-ui":{"controlType":"input","editable":true,"formHidden":true,"helpText":"Nome civil do colaborador (preenchido automaticamente).","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioNome","quickViewOrder":3,"quickViewVisible":true,"readOnly":true,"resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"funcionarioId"},"sortable":true,"type":"text"}},"id":{"type":"integer","description":"Chave do registo de identidade secreta. Cada heroi possui no maximo um bloco; usado em URLs e em telas de perfil *operativo*.","format":"int32","example":1,"x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"icon":"tag","iconPosition":"left","label":"Código","name":"id","order":"1","readOnly":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"universo":{"maxLength":120,"minLength":0,"type":"string","description":"Universo ou linha de origem usado para contextualizar a persona publica; livre, mas indexavel em catalogo narrativo e analitico.","example":"Terra-616","x-ui":{"controlType":"input","editable":true,"helpText":"Universo narrativo de origem (ex: Terra-1).","icon":"public","iconPosition":"left","label":"Universo","maxLength":"120","maxLengthMessage":"Universo deve ter no máximo 120 caracteres","name":"universo","quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Universo é obrigatório","sortable":true,"type":"text"}}},"description":"Perfil de codinome e persona publica do colaborador, ligado 1-1 ao funcionario. Distingue a persona publica (midia, missoes) do nome civil; combinar com governanca de privacidade e APIs que mascaram dados sensiveis."},"IdentidadeSecretaFilterDTO":{"type":"object","properties":{"codinome":{"type":"string","description":"Trecho do codinome, nome de guerra ou marca publica usada para identificar o colaborador em operacoes e midia.","x-ui":{"controlType":"input","editable":true,"helpText":"Filtrar por nome de guerra ou alter ego.","icon":"theater_comedy","iconPosition":"left","label":"Codinome","maxLength":"120","maxLengthMessage":"Codinome deve ter no máximo 120 caracteres","name":"codinome","order":"20","sortable":true,"type":"text"}},"exposicaoPublica":{"type":"boolean","description":"Indicador que separa identidades assumidamente publicas de perfis protegidos ou reclusos.","x-ui":{"controlType":"checkbox","editable":true,"helpText":"Filtrar por nível de exposição (público ou secreto).","icon":"visibility","iconPosition":"left","label":"Exposição Pública","name":"exposicaoPublica","order":"40","sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"}}},"funcionarioId":{"type":"integer","description":"Colaborador civil ao qual a identidade, codinome ou alter ego esta vinculado.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Buscar identidade secreta vinculada a um colaborador.","icon":"badge","iconPosition":"left","label":"Colaborador","name":"funcionarioId","order":"10","sortable":true,"type":"number","valueField":"id"}},"universo":{"type":"string","description":"Trecho do universo, franquia ou continuidade de origem associado a identidade operacional.","x-ui":{"controlType":"input","editable":true,"helpText":"Filtrar por universo ou franquia de origem.","icon":"public","iconPosition":"left","label":"Universo","maxLength":"120","maxLengthMessage":"Universo deve ter no máximo 120 caracteres","name":"universo","order":"30","sortable":true,"type":"text"}}},"description":"Criterios de busca em identidades, codinomes e alter egos vinculados a colaboradores. Apoia governanca de exposicao publica, franquia de origem e relacao com o cadastro civil."},"IncidenteDTO":{"required":["descricao","ocorridoEm"],"type":"object","properties":{"danosCivis":{"type":"number","description":"Prejuizo estimado a patrimonio civil; moeda de referencia do tenant.","format":"decimal","x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"icon":"payments","iconPosition":"left","label":"Danos Civis","locale":"pt-BR","name":"danosCivis","numericFormat":"currency","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"descricao":{"maxLength":2000,"minLength":0,"type":"string","description":"Narrativa do fato e evolucao; texto livre.","x-ui":{"controlType":"textarea","editable":true,"icon":"description","iconPosition":"left","label":"Descrição","maxLength":"2000","maxLengthMessage":"Descrição deve ter no máximo 2000 caracteres","name":"descricao","required":true,"requiredMessage":"Descrição é obrigatório","resourceReference":{"resourceKey":"operations.incidentes","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"feridos":{"minimum":0,"type":"integer","description":"Contagem de lesoes; inclui nao-heroi quando aplicavel.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"health_and_safety","iconPosition":"left","label":"Feridos","min":"0","name":"feridos","numericMin":"0","quickViewOrder":4,"quickViewVisible":true,"rangeMessage":"Feridos deve ser maior ou igual a 0","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"id":{"type":"integer","description":"Identificador interno (PK) deste registo no servico; referencia o recurso em URLs e relacionamentos.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"icon":"tag","iconPosition":"left","label":"Código","name":"id","order":"1","readOnly":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"local":{"maxLength":200,"minLength":0,"type":"string","description":"Teatro ou ponto de impacto (endereco, coordenada textual).","x-ui":{"controlType":"input","editable":true,"icon":"location_on","iconPosition":"left","label":"Local","maxLength":"200","maxLengthMessage":"Local deve ter no máximo 200 caracteres","name":"local","sortable":true,"type":"text"}},"missaoId":{"type":"integer","description":"FK; missao onde o incidente ocorreu (missaoId).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/missoes/option-sources/mission/options/filter","icon":"flag","iconPosition":"left","label":"Missão","name":"missaoId","resourceReference":{"previewSurfaceId":"summary","resourceKey":"operations.missoes","surfaceId":"detail","valueField":"missaoId"},"sortable":true,"type":"number","valueField":"id"}},"mortos":{"minimum":0,"type":"integer","description":"Falecidos vinculados ao incidente; para acordo com regulador.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"health_and_safety","iconPosition":"left","label":"Mortos","min":"0","name":"mortos","numericMin":"0","quickViewOrder":5,"quickViewVisible":true,"rangeMessage":"Mortos deve ser maior ou igual a 0","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"ocorridoEm":{"type":"string","description":"Timestamp do incidente (fuso ancorado no registo).","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"event","iconPosition":"left","label":"Ocorrido em","name":"ocorridoEm","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Ocorrido em é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"severidade":{"type":"string","description":"Escala tatica; Severidade.","enum":["BAIXA","MEDIA","ALTA","CRITICA"],"x-ui":{"controlType":"select","editable":true,"icon":"emergency","iconPosition":"left","label":"Severidade","name":"severidade","options":[{"value":"BAIXA","label":"BAIXA"},{"value":"MEDIA","label":"MEDIA"},{"value":"ALTA","label":"ALTA"},{"value":"CRITICA","label":"CRITICA"}],"quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Registo de incidente pos-missao (relato, severidade, local, vitimas, impacto economico). Consolida evidencias operacionais para resposta, auditoria, cobertura indenizatoria e analise de risco."},"IncidenteFilterDTO":{"type":"object","properties":{"danosCivisBetween":{"description":"Faixa de estimativa monetaria de danos civis ou materiais atribuida ao incidente.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"number","format":"decimal","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null}}],"items":{"type":"number","format":"decimal","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"currency":{"type":"string"},"maxPrice":{"type":"number","format":"decimal","nullable":true,"example":null},"minPrice":{"type":"number","format":"decimal","nullable":true,"example":null}},"anyOf":[{"required":["minPrice"],"type":"object","properties":{"minPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}},{"required":["maxPrice"],"type":"object","properties":{"maxPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"priceRange","editable":true,"helpText":"Filtra por estimativa monetária de danos a terceiros.","icon":"calendar_today","iconPosition":"left","label":"Faixa de danos civis","name":"danosCivisBetween","numericFormat":"currency","numericStep":"0.01","order":"100","sortable":true,"type":"number"}},"descricao":{"type":"string","description":"Trecho da narrativa ou relatorio preliminar do incidente, tratado como conteudo sensivel de operacao.","x-ui":{"controlType":"input","editable":true,"helpText":"Busca por palavras-chave na narrativa ou no relatório preliminar.","icon":"description","iconPosition":"left","label":"Descrição","maxLength":"2000","maxLengthMessage":"Descrição deve ter no máximo 2000 caracteres","name":"descricao","order":"10","sortable":true,"type":"text"}},"feridosBetween":{"description":"Faixa de quantidade de pessoas feridas registradas no incidente.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"integer","format":"int32","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null}}],"items":{"type":"integer","format":"int32","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":true,"example":null},"min":{"type":"integer","format":"int32","nullable":true,"example":null}},"anyOf":[{"required":["min"],"type":"object","properties":{"min":{"type":"integer","format":"int32","nullable":false,"example":null}}},{"required":["max"],"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"rangeSlider","editable":true,"helpText":"Filtra incidentes pela quantidade de pessoas feridas.","icon":"health_and_safety","iconPosition":"left","label":"Faixa de feridos","mode":"range","name":"feridosBetween","order":"110","sortable":true,"type":"number"}},"local":{"type":"string","description":"Trecho do local, cenario ou coordenada textual onde o incidente ocorreu.","x-ui":{"controlType":"input","editable":true,"helpText":"Busca pelo local, cenário ou coordenada textual do incidente.","icon":"location_on","iconPosition":"left","label":"Local","maxLength":"200","maxLengthMessage":"Local deve ter no máximo 200 caracteres","name":"local","order":"30","sortable":true,"type":"text"}},"missaoId":{"type":"integer","description":"Missao operacional a qual o incidente esta associado.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/missoes/option-sources/mission/options/filter","helpText":"Filtra incidentes ligados a uma missão específica.","icon":"flag","iconPosition":"left","label":"Missão","name":"missaoId","order":"40","sortable":true,"type":"number","valueField":"id"}},"mortosBetween":{"description":"Faixa de quantidade de obitos registrados no incidente, tratada como dado operacional sensivel.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"integer","format":"int32","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null}}],"items":{"type":"integer","format":"int32","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":true,"example":null},"min":{"type":"integer","format":"int32","nullable":true,"example":null}},"anyOf":[{"required":["min"],"type":"object","properties":{"min":{"type":"integer","format":"int32","nullable":false,"example":null}}},{"required":["max"],"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"rangeSlider","editable":true,"helpText":"Filtra incidentes pela quantidade registrada de óbitos.","icon":"health_and_safety","iconPosition":"left","label":"Faixa de óbitos","mode":"range","name":"mortosBetween","order":"120","sortable":true,"type":"number"}},"ocorridoEmBetween":{"description":"Janela de data e hora em que o incidente ocorreu.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date-time","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null}}],"items":{"type":"string","format":"date-time","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":true},"startDate":{"type":"string","format":"date-time","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date-time","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateTimeRange","editable":true,"helpText":"Filtra pela janela de data e hora em que o incidente ocorreu.","icon":"event","iconPosition":"left","label":"Período do incidente","name":"ocorridoEmBetween","order":"50","sortable":true,"type":"date"}},"ocorridoEmLastDays":{"type":"integer","description":"Janela relativa para localizar incidentes ocorridos nos ultimos N dias.","format":"int32","x-ui":{"controlType":"input","editable":true,"helpText":"Informe quantos dias recentes devem ser considerados na busca.","icon":"event","iconPosition":"left","label":"Ocorrido nos últimos dias","name":"ocorridoEmLastDays","order":"95","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"ocorridoEmOn":{"type":"string","description":"Dia civil usado para localizar incidentes ocorridos em uma data especifica.","format":"date","x-ui":{"controlType":"date","editable":true,"helpText":"Mostra incidentes ocorridos em uma data específica.","icon":"event","iconPosition":"left","label":"Ocorrido em","name":"ocorridoEmOn","order":"80","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"ocorridoEmPreset":{"type":"string","description":"Atalho de periodo relativo aplicado a data de ocorrencia do incidente.","x-ui":{"controlType":"inlineRelativePeriod","editable":true,"helpText":"Aplica atalhos de tempo, como hoje, esta semana ou últimos períodos configurados.","icon":"event","iconPosition":"left","label":"Período rápido do incidente","name":"ocorridoEmPreset","order":"90","relativePeriodOptions":[{"icon":"calendar_today","label":"Today","value":"today"},{"icon":"keyboard_double_arrow_left","label":"Yesterday","value":"yesterday"},{"icon":"date_range","label":"Last 7 days","value":"last7"},{"icon":"date_range","label":"Last 30 days","value":"last30"},{"icon":"event","label":"This month","value":"thisMonth"},{"icon":"event","label":"Last month","value":"lastMonth"},{"icon":"bar_chart","label":"This quarter","value":"thisQuarter"},{"icon":"ads_click","label":"This year","value":"thisYear"}],"sortable":true,"type":"text"}},"severidade":{"type":"string","description":"Grau de gravidade atribuido ao incidente para triagem, priorizacao e escalonamento.","enum":["BAIXA","MEDIA","ALTA","CRITICA"],"x-ui":{"controlType":"select","editable":true,"helpText":"Seleciona uma gravidade específica do incidente.","icon":"emergency","iconPosition":"left","label":"Severidade","name":"severidade","options":[{"value":"BAIXA","label":"BAIXA"},{"value":"MEDIA","label":"MEDIA"},{"value":"ALTA","label":"ALTA"},{"value":"CRITICA","label":"CRITICA"}],"order":"20","sortable":true,"type":"text"}},"severidadesIn":{"type":"array","description":"Conjunto de severidades aceitas para compor o resultado da busca.","items":{"type":"string","description":"Conjunto de severidades aceitas para compor o resultado da busca.","enum":["BAIXA","MEDIA","ALTA","CRITICA"]},"x-ui":{"controlType":"inlineMultiSelect","editable":true,"helpText":"Inclui incidentes com qualquer uma das severidades selecionadas.","icon":"emergency","iconPosition":"left","label":"Mostrar severidades","name":"severidadesIn","options":[{"value":"BAIXA","label":"BAIXA"},{"value":"MEDIA","label":"MEDIA"},{"value":"ALTA","label":"ALTA"},{"value":"CRITICA","label":"CRITICA"}],"order":"60","sortable":true,"type":"array"}},"severidadesNotIn":{"type":"array","description":"Conjunto de severidades que devem ser excluidas do resultado da busca.","items":{"type":"string","description":"Conjunto de severidades que devem ser excluidas do resultado da busca.","enum":["BAIXA","MEDIA","ALTA","CRITICA"]},"x-ui":{"controlType":"inlineMultiSelect","editable":true,"helpText":"Remove do resultado incidentes com as severidades selecionadas.","icon":"emergency","iconPosition":"left","label":"Ocultar severidades","name":"severidadesNotIn","options":[{"value":"BAIXA","label":"BAIXA"},{"value":"MEDIA","label":"MEDIA"},{"value":"ALTA","label":"ALTA"},{"value":"CRITICA","label":"CRITICA"}],"order":"70","sortable":true,"type":"array"}}},"description":"Criterios de busca em incidentes operacionais registrados em campo. Apoia analise por missao, severidade, local, janela temporal, danos materiais e impacto humano."},"IndenizacaoDTO":{"required":["incidenteId","pago","valor"],"type":"object","properties":{"id":{"type":"integer","description":"Chave da indenizacao. Um incidente pode ter varias parcelas ou revisoes; cada registo materializa um valor e um estado de liquidacao.","format":"int32","example":1,"x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"icon":"tag","iconPosition":"left","label":"Código","name":"id","order":"1","readOnly":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"incidenteId":{"type":"integer","description":"Incidente de Operacoes que originou a cobertura: FK a Incidente; ancora danos, missao e responsavel operacional.","format":"int32","example":7,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/incidentes/option-sources/incident/options/filter","helpText":"Incidente que originou a indenização.","icon":"report_problem","iconPosition":"left","label":"Incidente","name":"incidenteId","required":true,"requiredMessage":"Incidente é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"incidenteTitulo":{"type":"string","description":"Titulo do incidente (desnormalizado, leitura) para tabelas de acompanhamento de sinistros e reconciliacao com a equipa de missao.","x-ui":{"controlType":"input","editable":true,"formHidden":true,"helpText":"Título do incidente (preenchido automaticamente).","icon":"report_problem","iconPosition":"left","label":"Incidente","name":"incidenteTitulo","quickViewOrder":4,"quickViewVisible":true,"readOnly":true,"resourceReference":{"resourceKey":"operations.incidentes","surfaceId":"detail","valueField":"incidenteId"},"sortable":true,"type":"text"}},"pago":{"type":"boolean","description":"Indica se o valor foi liquidado (transferencia, ordem bancaria) no sentido de reconciliacao de RH; ainda pode exigir anexo de comprovante fora do DTO.","example":false,"x-ui":{"controlType":"checkbox","editable":true,"helpText":"Indica se o valor já foi transferido.","icon":"payments","iconPosition":"left","label":"Pago","name":"pago","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Pago é obrigatório","sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"}}},"processoNum":{"maxLength":100,"minLength":0,"type":"string","description":"Protocolo de sinistro ou processo administrativo; rastreio com a seguradora ou departamento de risco (nao e numero de processo judicial unificado automaticamente).","example":"SIN-2025-00412","x-ui":{"controlType":"input","editable":true,"helpText":"Número do processo ou protocolo do sinistro.","icon":"fingerprint","iconPosition":"left","label":"Número do Processo","maxLength":"100","maxLengthMessage":"Número do Processo deve ter no máximo 100 caracteres","name":"processoNum","resourceReference":{"resourceKey":"human-resources.indenizacoes","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"seguradora":{"maxLength":200,"minLength":0,"type":"string","description":"Entidade underwriter ou TPA que processa a reclamacao; vazio se a cobertura for assumida internamente.","example":"Cobertura Metropolis Mutual","x-ui":{"controlType":"input","editable":true,"helpText":"Empresa responsável pela cobertura.","icon":"label","iconPosition":"left","label":"Seguradora","maxLength":"200","maxLengthMessage":"Seguradora deve ter no máximo 200 caracteres","name":"seguradora","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text"}},"valor":{"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Montante em moeda do backend; valor alvo de cobertura acordada ou aprovada, nao necessariamente ja transferido (ver pago).","format":"decimal","example":25000.0,"x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"summarize_only"},"annotationType":"compliance","classification":"confidential","complianceTags":["INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"financial","reason":"Valores indenizatórios são acordos financeiros confidenciais entre a empresa, seguradora e as partes envolvidas.","source":"java.annotation"},"x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"helpText":"Montante aprovado para indenização.","icon":"payments","iconPosition":"left","label":"Valor","locale":"pt-BR","min":"0.00","name":"valor","numericFormat":"currency","numericMin":"0.00","quickViewOrder":1,"quickViewVisible":true,"rangeMessage":"Valor deve ser maior ou igual a 0.00","required":true,"requiredMessage":"Valor é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}}},"description":"Registo de cobertura indenizatoria (seguro, sinistro) associado a um incidente de Operacoes. Aproxima a ponte entre RH, financeiro e o modulo de incidentes: valor acordado, pagamento, seguradora e processo; nao substitui apolice nem contrato."},"IndenizacaoFilterDTO":{"type":"object","properties":{"incidenteId":{"type":"integer","description":"Incidente operacional que originou a indenizacao ou processo de cobertura.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/incidentes/option-sources/incident/options/filter","helpText":"Filtrar indenizações associadas a um incidente.","icon":"report_problem","iconPosition":"left","label":"Incidente","name":"incidenteId","order":"10","sortable":true,"type":"number","valueField":"id"}},"pago":{"type":"boolean","description":"Situacao de liquidacao financeira que separa indenizacoes pagas de valores ainda pendentes.","x-ui":{"controlType":"checkbox","editable":true,"helpText":"Filtrar por status de pagamento (paga ou pendente).","icon":"payments","iconPosition":"left","label":"Status de Pagamento","name":"pago","order":"20","sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"}}},"processoNum":{"type":"string","description":"Trecho do numero de processo, protocolo ou sinistro usado para rastrear a cobertura.","x-ui":{"controlType":"input","editable":true,"helpText":"Filtrar pelo número do processo ou sinistro.","icon":"fingerprint","iconPosition":"left","label":"Nº do Processo","maxLength":"100","maxLengthMessage":"Nº do Processo deve ter no máximo 100 caracteres","name":"processoNum","order":"50","sortable":true,"type":"text"}},"seguradora":{"type":"string","description":"Trecho do nome da seguradora, administradora ou terceiro responsavel pela cobertura.","x-ui":{"controlType":"input","editable":true,"helpText":"Buscar por nome da seguradora responsável.","icon":"filter_list","iconPosition":"left","label":"Seguradora","maxLength":"200","maxLengthMessage":"Seguradora deve ter no máximo 200 caracteres","name":"seguradora","order":"40","sortable":true,"type":"text"}},"valorBetween":{"description":"Faixa de valor acordado ou provisionado para a indenizacao.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"number","format":"decimal","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null}}],"items":{"type":"number","format":"decimal","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"currency":{"type":"string"},"maxPrice":{"type":"number","format":"decimal","nullable":true,"example":null},"minPrice":{"type":"number","format":"decimal","nullable":true,"example":null}},"anyOf":[{"required":["minPrice"],"type":"object","properties":{"minPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}},{"required":["maxPrice"],"type":"object","properties":{"maxPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"priceRange","editable":true,"helpText":"Buscar indenizações por faixa de valor.","icon":"payments","iconPosition":"left","label":"Faixa de Valor","name":"valorBetween","numericFormat":"currency","numericStep":"0.01","order":"30","sortable":true,"type":"number"}}},"description":"Criterios de busca de indenizacoes e coberturas vinculadas a incidentes operacionais. Apoia acompanhamento financeiro por incidente, status de pagamento, valor, seguradora e protocolo de sinistro."},"JsonNode":{"type":"object","description":"Complete native authoring document accepted for deterministic reopen; never published as a release member."},"LegacyPayCodeAuditLineDTO":{"type":"object","properties":{"auditLineId":{"type":"string","description":"Stable audit line identifier exposed to related-row selection."},"operation":{"type":"string","description":"Corporate operation recorded by the legacy adapter."},"payCodeId":{"type":"integer","description":"Identifier of the parent payroll code whose legacy operation generated the audit line.","format":"int32"},"summary":{"type":"string","description":"Human-readable audit summary safe for UI related-list display."}},"description":"Audit line projected from the corporate payroll-code legacy adapter."},"LegacyPayCodeDTO":{"required":["active","code","description","payrollCategory","status"],"type":"object","properties":{"active":{"type":"boolean","description":"Sinal publico de uso operacional. Nao substitui as permissoes dinamicas avaliadas pelo provider de availability.","x-ui":{"controlType":"checkbox","editable":true,"group":"Governança","helpText":"Indica se o codigo pode ser usado em novos eventos.","icon":"toggle_on","iconPosition":"left","label":"Ativo","name":"active","order":"30","presentation":{"appearance":"soft","presenter":"status"},"quickViewOrder":4,"quickViewVisible":true,"required":true,"requiredMessage":"Ativo é obrigatório","sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"}}},"code":{"maxLength":40,"minLength":0,"type":"string","description":"Codigo operacional reconhecido pelo backend legado de folha para classificar eventos e rubricas.","example":"EVT-HAZARD","x-ui":{"controlType":"input","editable":true,"group":"Principal","helpText":"Codigo operacional usado pelo sistema legado de folha.","icon":"code","iconPosition":"left","label":"Código","maxLength":"40","maxLengthMessage":"Código deve ter no máximo 40 caracteres","name":"code","order":"10","presentation":{"appearance":"soft","presenter":"badge"},"required":true,"requiredMessage":"Código é obrigatório","resourceReference":{"resourceKey":"human-resources.legacy-pay-codes","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"description":{"maxLength":240,"minLength":0,"type":"string","description":"Descricao de negocio do codigo, usada por operadores para entender quando a rubrica deve ser aplicada.","x-ui":{"controlType":"textarea","editable":true,"group":"Principal","helpText":"Descricao de negocio exibida em telas e auditorias.","icon":"description","iconPosition":"left","label":"Descrição","maxLength":"240","maxLengthMessage":"Descrição deve ter no máximo 240 caracteres","name":"description","order":"20","quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Descrição é obrigatório","sortable":true,"type":"text"}},"id":{"type":"integer","description":"Identificador publico do codigo de folha no recurso Praxis.","format":"int32","example":101,"x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"group":"Principal","icon":"tag","iconPosition":"left","label":"ID","name":"id","order":"1","presentation":{"appearance":"soft","prefix":"#","presenter":"iconValue"},"readOnly":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"payrollCategory":{"maxLength":80,"minLength":0,"type":"string","description":"Categoria de folha que orienta calculo, conferencia e conciliacao operacional.","example":"additional-pay","x-ui":{"controlType":"input","editable":true,"group":"Governança","helpText":"Grupo de classificacao da folha.","icon":"category","iconPosition":"left","label":"Categoria","maxLength":"80","maxLengthMessage":"Categoria deve ter no máximo 80 caracteres","name":"payrollCategory","order":"10","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Categoria é obrigatório","sortable":true,"type":"text"}},"status":{"maxLength":40,"minLength":0,"type":"string","description":"Estado operacional do codigo conforme guard do host legado; valores comuns sao ACTIVE, DRAFT e RETIRED.","example":"ACTIVE","x-ui":{"controlType":"input","editable":true,"group":"Governança","helpText":"Estado operacional retornado pelo legado.","icon":"flag","iconPosition":"left","label":"Status","maxLength":"40","maxLengthMessage":"Status deve ter no máximo 40 caracteres","name":"status","order":"20","presentation":{"appearance":"soft","presenter":"status"},"quickViewOrder":3,"quickViewVisible":true,"required":true,"requiredMessage":"Status é obrigatório","sortable":true,"type":"text"}}},"description":"Codigo de folha mantido por um backend legado. O contrato publico e resource-oriented, mas criacao, edicao, exclusao e duplicacao de rascunho sao executadas por um adaptador de comando do host."},"LegacyPayCodeFilterDTO":{"type":"object","properties":{"active":{"type":"boolean","description":"Sinal de uso operacional em novos eventos de folha.","x-ui":{"controlType":"checkbox","editable":true,"helpText":"Filtrar codigos ativos ou inativos.","iconPosition":"left","label":"Ativo","name":"active","order":"50","sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"}}},"code":{"type":"string","description":"Trecho do codigo operacional reconhecido pelo backend legado de folha.","x-ui":{"controlType":"input","editable":true,"helpText":"Filtrar por parte do codigo legado.","iconPosition":"left","label":"Codigo","maxLength":"40","maxLengthMessage":"Codigo deve ter no máximo 40 caracteres","name":"code","order":"10","sortable":true,"type":"text"}},"description":{"type":"string","description":"Trecho da descricao de negocio do codigo de folha.","x-ui":{"controlType":"input","editable":true,"helpText":"Filtrar por descricao de negocio.","iconPosition":"left","label":"Descricao","maxLength":"240","maxLengthMessage":"Descricao deve ter no máximo 240 caracteres","name":"description","order":"20","sortable":true,"type":"text"}},"payrollCategory":{"type":"string","description":"Categoria operacional usada em calculo, conferencia e conciliacao de folha.","x-ui":{"controlType":"input","editable":true,"helpText":"Filtrar por categoria de folha.","iconPosition":"left","label":"Categoria","maxLength":"80","maxLengthMessage":"Categoria deve ter no máximo 80 caracteres","name":"payrollCategory","order":"30","sortable":true,"type":"text"}},"status":{"type":"string","description":"Estado operacional publico do codigo, como ACTIVE, DRAFT ou RETIRED.","x-ui":{"controlType":"input","editable":true,"helpText":"Filtrar por estado operacional.","iconPosition":"left","label":"Status","maxLength":"40","maxLengthMessage":"Status deve ter no máximo 40 caracteres","name":"status","order":"40","sortable":true,"type":"text"}}},"description":"Criterios de busca para codigos de folha legados publicados como recurso Praxis canônico."},"LicencasOperacaoDTO":{"required":["acordoId","validoDe"],"type":"object","properties":{"acordoId":{"type":"integer","description":"Acordo regulatorio que fundamenta e outorga a licenca operacional.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/acordos-regulatorios/option-sources/agreement/options/filter","icon":"gavel","iconPosition":"left","label":"Acordo Regulatório","name":"acordoId","required":true,"requiredMessage":"Acordo Regulatório é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"acordoNome":{"type":"string","description":"Titulo do acordo denormalizado (read model).","x-ui":{"controlType":"input","editable":true,"formHidden":true,"icon":"gavel","iconPosition":"left","label":"Acordo Regulatório","name":"acordoNome","quickViewOrder":2,"quickViewVisible":true,"readOnly":true,"resourceReference":{"resourceKey":"operations.acordos-regulatorios","surfaceId":"detail","valueField":"acordoId"},"sortable":true,"type":"text"}},"equipeId":{"type":"integer","description":"Equipe tatica licenciada, como alternativa ou complemento a um titular individual.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/equipes/option-sources/team/options/filter","icon":"groups","iconPosition":"left","label":"Equipe","name":"equipeId","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"equipeNome":{"type":"string","description":"Nome da equipe denormalizado (read model).","x-ui":{"controlType":"input","editable":true,"formHidden":true,"icon":"groups","iconPosition":"left","label":"Equipe","name":"equipeNome","quickViewOrder":4,"quickViewVisible":true,"readOnly":true,"resourceReference":{"resourceKey":"operations.equipes","surfaceId":"detail","valueField":"equipeId"},"sortable":true,"type":"text"}},"funcionarioId":{"type":"integer","description":"Colaborador titular quando a licenca operacional e pessoal.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"funcionarioNome":{"type":"string","description":"Nome do colaborador denormalizado (read model).","x-ui":{"controlType":"input","editable":true,"formHidden":true,"icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioNome","quickViewOrder":3,"quickViewVisible":true,"readOnly":true,"resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"funcionarioId"},"sortable":true,"type":"text"}},"id":{"type":"integer","description":"Identificador interno (PK) deste registo no servico; referencia o recurso em URLs e relacionamentos.","format":"int32"},"nivel":{"type":"string","description":"Classe de autorizacao (Poder restrito, TSI, etc.); LicencaNivel.","enum":["LOCAL","NACIONAL","GLOBAL","EXTRATERRESTRE"],"x-ui":{"controlType":"select","editable":true,"icon":"trending_up","iconPosition":"left","label":"Nível","name":"nivel","options":[{"value":"LOCAL","label":"LOCAL"},{"value":"NACIONAL","label":"NACIONAL"},{"value":"GLOBAL","label":"GLOBAL"},{"value":"EXTRATERRESTRE","label":"EXTRATERRESTRE"}],"quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}},"validoAte":{"type":"string","description":"Fim de vigencia da licenca; nulo indica autorizacao sem termino registrado ou em renovacao.","format":"date","x-ui":{"controlType":"date","editable":true,"icon":"event","iconPosition":"left","label":"Válido Até","name":"validoAte","quickViewOrder":6,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"validoDe":{"type":"string","description":"Inicio de vigencia da licenca.","format":"date","x-ui":{"controlType":"date","editable":true,"icon":"event","iconPosition":"left","label":"Válido De","name":"validoDe","quickViewOrder":5,"quickViewVisible":true,"required":true,"requiredMessage":"Válido De é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"date"}}}},"description":"Alvara ou licenca operacional (acordo, heroi ou equipe, classe, janela de vigencia). Materializa a autorizacao concedida por acordo regulatorio a um colaborador, equipe ou ambos."},"LicencasOperacaoFilterDTO":{"type":"object","properties":{"acordoId":{"type":"integer","description":"Acordo regulatorio que fundamenta a emissao da licenca operacional.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/acordos-regulatorios/option-sources/agreement/options/filter","helpText":"Mostra licenças emitidas a partir de um acordo específico.","icon":"gavel","iconPosition":"left","label":"Acordo regulatório","name":"acordoId","order":"10","sortable":true,"type":"number","valueField":"id"}},"equipeId":{"type":"integer","description":"Equipe tatica contemplada pela autorizacao operacional.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/equipes/option-sources/team/options/filter","helpText":"Filtra autorizações concedidas a uma equipe.","icon":"groups","iconPosition":"left","label":"Equipe","name":"equipeId","order":"30","sortable":true,"type":"number","valueField":"id"}},"funcionarioId":{"type":"integer","description":"Colaborador ou heroi ao qual a licenca operacional foi concedida.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Filtra licenças concedidas a um colaborador ou herói.","icon":"badge","iconPosition":"left","label":"Colaborador","name":"funcionarioId","order":"20","sortable":true,"type":"number","valueField":"id"}},"nivel":{"type":"string","description":"Nivel ou alcance operacional autorizado pela licenca.","enum":["LOCAL","NACIONAL","GLOBAL","EXTRATERRESTRE"],"x-ui":{"controlType":"select","editable":true,"helpText":"Seleciona o nível ou alcance operacional da autorização.","icon":"trending_up","iconPosition":"left","label":"Nível da licença","name":"nivel","options":[{"value":"LOCAL","label":"LOCAL"},{"value":"NACIONAL","label":"NACIONAL"},{"value":"GLOBAL","label":"GLOBAL"},{"value":"EXTRATERRESTRE","label":"EXTRATERRESTRE"}],"order":"40","sortable":true,"type":"text"}},"validoAteBetween":{"description":"Janela de termino, expiracao ou vencimento da licenca operacional.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null}}],"items":{"type":"string","format":"date","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":true},"startDate":{"type":"string","format":"date","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateRange","editable":true,"helpText":"Filtra pela janela de expiração ou vencimento da licença.","icon":"event","iconPosition":"left","label":"Válida até","name":"validoAteBetween","order":"60","sortable":true,"type":"date"}},"validoDeBetween":{"description":"Janela de inicio de vigencia da licenca operacional.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null}}],"items":{"type":"string","format":"date","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":true},"startDate":{"type":"string","format":"date","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateRange","editable":true,"helpText":"Filtra pela janela de início de validade da licença.","icon":"event","iconPosition":"left","label":"Válida a partir de","name":"validoDeBetween","order":"50","sortable":true,"type":"date"}}},"description":"Criterios de busca em licencas e autorizacoes operacionais. Relaciona acordos regulatorios, colaboradores, equipes, nivel de autorizacao e vigencia."},"Limits":{"type":"object","properties":{"maxRequestBytes":{"type":"integer","format":"int32"},"maxTargets":{"type":"integer","format":"int32"},"proposalLifetimeMillis":{"type":"integer","format":"int64"},"unitDeadlineMillis":{"type":"integer","format":"int64"}}},"LocateResponse":{"type":"object","properties":{"page":{"type":"integer","format":"int64"},"position":{"type":"integer","format":"int64"}}},"LoginRequest":{"type":"object","properties":{"password":{"type":"string","description":"Segredo correspondente ao identificador informado. Campo exclusivo da requisicao de login e nunca publicado em payloads de resposta.","writeOnly":true},"username":{"type":"string","description":"Identificador configurado para autenticar a sessao local do quickstart, normalmente o usuario administrativo do host.","example":"admin"}},"description":"Credenciais usadas para abrir uma sessao administrativa no host de referencia. Quando aceitas, o servidor emite a sessao em cookie HttpOnly; o segredo nunca e devolvido em respostas."},"LookupFilterRequest":{"type":"object","properties":{"field":{"type":"string"},"operator":{"type":"string"},"value":{"type":"object"}}},"MencoesMidiaDTO":{"required":["veiculo"],"type":"object","properties":{"funcionarioId":{"type":"integer","description":"Herói citado na peca de midia; FK ao Funcionario. Usado para cruzar com Reputacao e perfil publico.","format":"int32","example":2,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Relacionamentos","helpText":"Colaborador mencionado na mídia.","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"10","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"funcionarioNome":{"type":"string","description":"Nome civil exibido em tabelas de monitorizacao; combinar com IdentidadeSecreta se a peca citar o codinome (regra fora do DTO).","x-ui":{"controlType":"input","editable":true,"formHidden":true,"group":"Relacionamentos","helpText":"Nome do colaborador (preenchido automaticamente).","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioNome","order":"11","quickViewOrder":3,"quickViewVisible":true,"readOnly":true,"resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"funcionarioId"},"sortable":true,"type":"text"}},"id":{"type":"integer","description":"Chave da mencao. Historico imutavel em sentido lato: correcoes geram novo registo ou fluxo de retificacao fora deste DTO.","format":"int32","example":1,"x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"group":"Publicação","icon":"tag","iconPosition":"left","label":"Código","name":"id","order":"1","presentation":{"appearance":"soft","prefix":"#","presenter":"iconValue"},"readOnly":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"publicadoEm":{"type":"string","description":"Instante de publicacao referido na fonte; linha de tempo de reputacao e janela de reaccao.","format":"date-time","example":"2025-03-10T08:00:00Z","x-ui":{"controlType":"dateTime","displayFormat":"dd/MM/yyyy HH:mm","editable":true,"group":"Publicação","helpText":"Data e hora da publicação da menção.","icon":"event","iconPosition":"left","label":"Publicado Em","locale":"pt-BR","name":"publicadoEm","numericFormat":"date-time","order":"40","quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"sentimento":{"type":"string","description":"Classificacao automatica ou curada: NEG (crise), NEU, POS. Alimenta agregacoes e pode disparar governanca de resposta.","enum":["NEG","NEU","POS"],"x-ui":{"controlType":"select","editable":true,"group":"Publicação","helpText":"Classificação da menção (Positiva, Negativa, Neutra).","icon":"mood","iconPosition":"left","label":"Sentimento","name":"sentimento","options":[{"value":"NEG","label":"NEG"},{"value":"NEU","label":"NEU"},{"value":"POS","label":"POS"}],"order":"20","presentation":{"appearance":"soft","presenter":"status"},"quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}},"url":{"maxLength":500,"minLength":0,"type":"string","description":"Ligacao canonica a materia original para verificacao e direito de resposta; tratar conteudo externo (LGPD, copyright) fora do armazenamento de texto longo.","example":"https://midia.exemplo.com/nota/2025/hero-ops","x-ui":{"controlType":"url","editable":true,"group":"Publicação","helpText":"Link para a matéria original.","icon":"link","iconPosition":"left","label":"URL","maxLength":"500","maxLengthMessage":"URL deve ter no máximo 500 caracteres","name":"url","order":"30","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"url"}},"veiculo":{"maxLength":200,"minLength":0,"type":"string","description":"Outlet ou canal (jornal, portal, programa) onde a referencia foi publicada; nao e o URL completo (veja url).","example":"Metropolis Times","x-ui":{"controlType":"input","editable":true,"group":"Publicação","helpText":"Canal de publicação (ex: Jornal, Blog).","icon":"newspaper","iconPosition":"left","label":"Veículo","maxLength":"200","maxLengthMessage":"Veículo deve ter no máximo 200 caracteres","name":"veiculo","order":"10","required":true,"requiredMessage":"Veículo é obrigatório","resourceReference":{"resourceKey":"human-resources.mencoes-midia","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}}},"description":"Evidencia externa (noticia, blog, rede) que cita o colaborador ou o alter ego: alimenta o score publico e trilhas de auditoria de imagem. Cada registo e uma mencao pontual; sentimento classifica impacto qualitativo (NEG, NEU, POS) para agregacoes."},"MencoesMidiaFilterDTO":{"type":"object","properties":{"funcionarioId":{"type":"integer","description":"Colaborador mencionado pela publicacao ou peca de midia monitorada.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Filtrar menções ligadas a um colaborador.","icon":"badge","iconPosition":"left","label":"Herói Mencionado","name":"funcionarioId","order":"10","sortable":true,"type":"number","valueField":"id"}},"publicadoEmBetween":{"description":"Janela de publicacao da mencao, preservando o instante com offset para analise temporal.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date-time","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null}}],"items":{"type":"string","format":"date-time","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":true},"startDate":{"type":"string","format":"date-time","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date-time","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateTimeRange","editable":true,"helpText":"Buscar menções publicadas em um intervalo de tempo.","icon":"event","iconPosition":"left","label":"Período de Publicação","name":"publicadoEmBetween","order":"40","sortable":true,"type":"date"}},"publicadoEmLastDays":{"type":"integer","description":"Janela relativa para localizar mencoes publicadas nos ultimos N dias.","format":"int32","x-ui":{"controlType":"input","editable":true,"helpText":"Informe quantos dias recentes devem ser considerados na busca.","icon":"event","iconPosition":"left","label":"Publicado nos últimos dias","name":"publicadoEmLastDays","order":"85","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"publicadoEmOn":{"type":"string","description":"Dia civil usado para localizar mencoes publicadas em uma data especifica.","format":"date","x-ui":{"controlType":"date","editable":true,"helpText":"Busca menções publicadas em uma data específica.","icon":"event","iconPosition":"left","label":"Publicado em","name":"publicadoEmOn","order":"70","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"publicadoEmPreset":{"type":"string","description":"Atalho de periodo relativo aplicado a data de publicacao da mencao.","x-ui":{"controlType":"inlineRelativePeriod","editable":true,"helpText":"Aplica atalhos de tempo, como hoje, esta semana ou últimos períodos configurados.","icon":"event","iconPosition":"left","label":"Período rápido de publicação","name":"publicadoEmPreset","order":"80","relativePeriodOptions":[{"icon":"calendar_today","label":"Today","value":"today"},{"icon":"keyboard_double_arrow_left","label":"Yesterday","value":"yesterday"},{"icon":"date_range","label":"Last 7 days","value":"last7"},{"icon":"date_range","label":"Last 30 days","value":"last30"},{"icon":"event","label":"This month","value":"thisMonth"},{"icon":"event","label":"Last month","value":"lastMonth"},{"icon":"bar_chart","label":"This quarter","value":"thisQuarter"},{"icon":"ads_click","label":"This year","value":"thisYear"}],"sortable":true,"type":"text"}},"sentimento":{"type":"string","description":"Classificacao de sentimento atribuida a mencao, usada para separar impacto positivo, neutro ou negativo.","enum":["NEG","NEU","POS"],"x-ui":{"controlType":"inlineSentiment","editable":true,"helpText":"Filtrar pelo sentimento geral da menção.","icon":"mood","iconPosition":"left","label":"Sentimento","name":"sentimento","options":[{"value":"NEG","label":"NEG"},{"value":"NEU","label":"NEU"},{"value":"POS","label":"POS"}],"order":"30","sortable":true,"type":"text"}},"sentimentoIn":{"type":"array","description":"Conjunto de sentimentos aceitos para compor o resultado de monitoramento.","items":{"type":"string","description":"Conjunto de sentimentos aceitos para compor o resultado de monitoramento.","enum":["NEG","NEU","POS"]},"x-ui":{"controlType":"inlineMultiSelect","editable":true,"helpText":"Inclui menções com qualquer um dos sentimentos selecionados.","icon":"mood","iconPosition":"left","label":"Mostrar sentimentos","name":"sentimentoIn","options":[{"value":"NEG","label":"NEG"},{"value":"NEU","label":"NEU"},{"value":"POS","label":"POS"}],"order":"50","sortable":true,"type":"array"}},"sentimentoNotIn":{"type":"array","description":"Conjunto de sentimentos que devem ser excluidos do resultado de monitoramento.","items":{"type":"string","description":"Conjunto de sentimentos que devem ser excluidos do resultado de monitoramento.","enum":["NEG","NEU","POS"]},"x-ui":{"controlType":"inlineMultiSelect","editable":true,"helpText":"Remove do resultado menções com os sentimentos selecionados.","icon":"mood","iconPosition":"left","label":"Ocultar sentimentos","name":"sentimentoNotIn","options":[{"value":"NEG","label":"NEG"},{"value":"NEU","label":"NEU"},{"value":"POS","label":"POS"}],"order":"60","sortable":true,"type":"array"}},"url":{"type":"string","description":"Trecho de dominio, caminho ou URL de origem usado para rastrear a fonte externa da mencao.","x-ui":{"controlType":"input","editable":true,"helpText":"Buscar por fragmentos de URL ou domínio.","icon":"link","iconPosition":"left","label":"URL ou Domínio","maxLength":"500","maxLengthMessage":"URL ou Domínio deve ter no máximo 500 caracteres","name":"url","order":"90","sortable":true,"type":"text"}},"veiculo":{"type":"string","description":"Trecho do nome do veiculo, canal, programa ou publicador responsavel pela mencao.","x-ui":{"controlType":"input","editable":true,"helpText":"Buscar pelo nome do veículo de mídia.","icon":"directions_car","iconPosition":"left","label":"Veículo de Mídia","maxLength":"120","maxLengthMessage":"Veículo de Mídia deve ter no máximo 120 caracteres","name":"veiculo","order":"20","sortable":true,"type":"text"}}},"description":"Criterios de busca em mencoes de midia associadas a colaboradores. Apoia monitoramento reputacional por pessoa, veiculo, sentimento, janela de publicacao e origem da URL."},"MissaoDTO":{"required":["prioridade","status","titulo"],"type":"object","properties":{"ameacaId":{"type":"integer","description":"Referencia a ameaca de risco associada; enriquecimento e SLAs vêm do servico de risk intelligence.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/risk-intelligence/ameacas/option-sources/threat/options/filter","icon":"warning","iconPosition":"left","label":"Ameaça","name":"ameacaId","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"ameacaNome":{"type":"string","description":"Denominacao exibida da ameaca (somente leitura, join operacional).","x-ui":{"controlType":"input","editable":true,"formHidden":true,"icon":"warning","iconPosition":"left","label":"Ameaça","name":"ameacaNome","quickViewOrder":3,"quickViewVisible":true,"readOnly":true,"resourceReference":{"resourceKey":"risk-intelligence.ameacas","surfaceId":"detail","valueField":"ameacaId"},"sortable":true,"type":"text"}},"fimPrev":{"type":"string","description":"Janela planejada de termino, usada em planeamento de frota e folgas.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"event","iconPosition":"left","label":"Fim Previsto","name":"fimPrev","quickViewOrder":5,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"fimReal":{"type":"string","description":"Encerramento operacional; necessario para gatilhos de faturamento e desmobilizacao de recursos.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"event","iconPosition":"left","label":"Fim Real","name":"fimReal","sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"id":{"type":"integer","description":"Identificador interno da missao.","format":"int32","example":1},"inicioPrev":{"type":"string","description":"Janela planejada de inicio (timezone da aplicacao/tenant).","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"event","iconPosition":"left","label":"Início Previsto","name":"inicioPrev","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"inicioReal":{"type":"string","description":"Timestamp efetivo de inicio, alimenta auditoria e relatorios de atraso.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"event","iconPosition":"left","label":"Início Real","name":"inicioReal","sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"local":{"maxLength":200,"minLength":0,"type":"string","description":"Area ou endereco operacional; pode conter classificacoes nao publicas, devendo ser resumido em canais nao confiaveis.","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"summarize_only"},"annotationType":"security","classification":"confidential","complianceTags":["INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"operational","reason":"Local operacional da missao.","source":"java.annotation"},"x-ui":{"controlType":"input","editable":true,"icon":"location_on","iconPosition":"left","label":"Local","maxLength":"200","maxLengthMessage":"Local deve ter no máximo 200 caracteres","name":"local","sortable":true,"type":"text"}},"objetivo":{"maxLength":4000,"minLength":0,"type":"string","description":"Narrativa do objetivo operacional; pode conter taticas, restricoes e coordenadas -- resumo e governanca restringem exposicao a IA.","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"summarize_only"},"annotationType":"security","classification":"confidential","complianceTags":["INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"operational","reason":"Objetivo operacional da missao.","source":"java.annotation"},"x-ui":{"controlType":"textarea","editable":true,"icon":"flag","iconPosition":"left","label":"Objetivo","maxLength":"4000","maxLengthMessage":"Objetivo deve ter no máximo 4000 caracteres","name":"objetivo","sortable":true,"type":"text"}},"prioridade":{"type":"string","description":"Nivel de urgencia operacional; afeta alocacao de recursos e SLAs de equipa.","enum":["BAIXA","MEDIA","ALTA","CRITICA"],"x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"summarize_only"},"annotationType":"security","classification":"confidential","complianceTags":["INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"operational","reason":"Prioridade operacional da missao.","source":"java.annotation"},"x-ui":{"controlType":"select","editable":true,"icon":"priority_high","iconPosition":"left","label":"Prioridade","name":"prioridade","options":[{"value":"BAIXA","label":"BAIXA"},{"value":"MEDIA","label":"MEDIA"},{"value":"ALTA","label":"ALTA"},{"value":"CRITICA","label":"CRITICA"}],"quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Prioridade é obrigatório","sortable":true,"type":"text"}},"status":{"type":"string","description":"Ponto do fluxo de vida da missao; governa acoes, licencas e publicacao em dashboards regulados.","enum":["PLANEJADA","EM_ANDAMENTO","PAUSADA","CONCLUIDA","FALHOU"],"x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"allow"},"annotationType":"compliance","classification":"internal","complianceTags":["INTERNAL_POLICY","REGULATORY"],"confidence":1.0,"dataCategory":"legal","reason":"Status governado do ciclo operacional da missao.","source":"java.annotation"},"x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","options":[{"value":"PLANEJADA","label":"PLANEJADA"},{"value":"EM_ANDAMENTO","label":"EM_ANDAMENTO"},{"value":"PAUSADA","label":"PAUSADA"},{"value":"CONCLUIDA","label":"CONCLUIDA"},{"value":"FALHOU","label":"FALHOU"}],"quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Status é obrigatório","sortable":true,"type":"text"}},"titulo":{"maxLength":200,"minLength":0,"type":"string","description":"Titulo curto exibido em listas e aprovacoes; identifica a missao de forma unica perante a equipa operacional.","example":"Reconhecimento setor 7","x-ui":{"controlType":"input","editable":true,"icon":"title","iconPosition":"left","label":"Título","maxLength":"200","maxLengthMessage":"Título deve ter no máximo 200 caracteres","name":"titulo","required":true,"requiredMessage":"Título é obrigatório","resourceReference":{"previewSurfaceId":"summary","resourceKey":"operations.missoes","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}}},"description":"Operacao tatica vinculada a uma ameaca: prazos, local, status e trilha de compliance. Dados de objetivo e prioridade sao operacionalmente sensiveis."},"MissaoEventoDTO":{"required":["missaoId","ocorridoEm"],"type":"object","properties":{"descricao":{"maxLength":4000,"minLength":0,"type":"string","description":"Detalhe do evento; suporta SITREP e anexar decisoes de campo.","x-ui":{"controlType":"textarea","editable":true,"icon":"description","iconPosition":"left","label":"Descrição","maxLength":"4000","maxLengthMessage":"Descrição deve ter no máximo 4000 caracteres","name":"descricao","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"text"}},"id":{"type":"integer","description":"Identificador interno (PK) deste registo no servico; referencia o recurso em URLs e relacionamentos.","format":"int32"},"missaoId":{"type":"integer","description":"Missao operacional a que o evento da linha do tempo pertence.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/missoes/option-sources/mission/options/filter","icon":"flag","iconPosition":"left","label":"Missão","name":"missaoId","required":true,"requiredMessage":"Missão é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"missaoTitulo":{"type":"string","description":"Titulo da missao denormalizado (read model).","x-ui":{"controlType":"input","editable":true,"formHidden":true,"icon":"flag","iconPosition":"left","label":"Missão","name":"missaoTitulo","quickViewOrder":3,"quickViewVisible":true,"readOnly":true,"resourceReference":{"previewSurfaceId":"summary","resourceKey":"operations.missoes","surfaceId":"detail","valueField":"missaoId"},"sortable":true,"type":"text"}},"ocorridoEm":{"type":"string","description":"Instante do acontecimento (linha de tempo tatica).","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"event","iconPosition":"left","label":"Ocorrido Em","name":"ocorridoEm","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Ocorrido Em é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"tipo":{"type":"string","description":"Categoria (partida, contato, extracao, etc.); MissaoEventoTipo.","enum":["CONTATO","COMBATE","EXFIL","EXTRA","INTEL","SOS"],"x-ui":{"controlType":"select","editable":true,"icon":"category","iconPosition":"left","label":"Tipo","name":"tipo","options":[{"value":"CONTATO","label":"CONTATO"},{"value":"COMBATE","label":"COMBATE"},{"value":"EXFIL","label":"EXFIL"},{"value":"EXTRA","label":"EXTRA"},{"value":"INTEL","label":"INTEL"},{"value":"SOS","label":"SOS"}],"quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Diario de bordo: marco da missao (timestamp, categoria, narrativa). Registra acontecimentos da linha do tempo operacional para auditoria, debriefing e acompanhamento tatico."},"MissaoEventoFilterDTO":{"type":"object","properties":{"descricao":{"type":"string","description":"Trecho do log, comunicacao, relato ou dano descrito no evento da missao.","x-ui":{"controlType":"input","editable":true,"helpText":"Busca por palavras-chave no log, comunicação ou relato do evento.","icon":"description","iconPosition":"left","label":"Descrição do evento","maxLength":"4000","maxLengthMessage":"Descrição do evento deve ter no máximo 4000 caracteres","name":"descricao","order":"40","sortable":true,"type":"text"}},"missaoId":{"type":"integer","description":"Missao cuja linha do tempo de eventos deve ser consultada.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/missoes/option-sources/mission/options/filter","helpText":"Mostra eventos registrados para uma missão específica.","icon":"flag","iconPosition":"left","label":"Missão","name":"missaoId","order":"10","sortable":true,"type":"number","valueField":"id"}},"ocorridoEmBetween":{"description":"Janela de data e hora em que os eventos da missao ocorreram.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date-time","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null}}],"items":{"type":"string","format":"date-time","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":true},"startDate":{"type":"string","format":"date-time","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date-time","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateTimeRange","editable":true,"helpText":"Filtra pela janela de data e hora em que o evento ocorreu.","icon":"event","iconPosition":"left","label":"Período do evento","name":"ocorridoEmBetween","order":"20","sortable":true,"type":"date"}},"ocorridoEmLastDays":{"type":"integer","description":"Janela relativa para localizar eventos de missao ocorridos nos ultimos N dias.","format":"int32","x-ui":{"controlType":"input","editable":true,"helpText":"Informe quantos dias recentes devem ser considerados para a linha do tempo.","icon":"event","iconPosition":"left","label":"Ocorrido nos últimos dias","name":"ocorridoEmLastDays","order":"70","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"ocorridoEmOn":{"type":"string","description":"Dia civil usado para localizar eventos de missao ocorridos em uma data especifica.","format":"date","x-ui":{"controlType":"date","editable":true,"helpText":"Mostra eventos ocorridos em uma data específica.","icon":"event","iconPosition":"left","label":"Ocorrido em","name":"ocorridoEmOn","order":"60","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"tipo":{"type":"string","description":"Categoria do evento registrada na linha do tempo da missao.","enum":["CONTATO","COMBATE","EXFIL","EXTRA","INTEL","SOS"],"x-ui":{"controlType":"select","editable":true,"helpText":"Seleciona uma categoria específica da linha do tempo.","icon":"category","iconPosition":"left","label":"Tipo de evento","name":"tipo","options":[{"value":"CONTATO","label":"CONTATO"},{"value":"COMBATE","label":"COMBATE"},{"value":"EXFIL","label":"EXFIL"},{"value":"EXTRA","label":"EXTRA"},{"value":"INTEL","label":"INTEL"},{"value":"SOS","label":"SOS"}],"order":"30","sortable":true,"type":"text"}},"tiposIn":{"type":"array","description":"Conjunto de tipos de evento aceitos para compor a linha do tempo retornada.","items":{"type":"string","description":"Conjunto de tipos de evento aceitos para compor a linha do tempo retornada.","enum":["CONTATO","COMBATE","EXFIL","EXTRA","INTEL","SOS"]},"x-ui":{"controlType":"select","editable":true,"helpText":"Inclui eventos com qualquer um dos tipos selecionados.","icon":"category","iconPosition":"left","label":"Mostrar tipos","multiple":true,"name":"tiposIn","options":[{"value":"CONTATO","label":"CONTATO"},{"value":"COMBATE","label":"COMBATE"},{"value":"EXFIL","label":"EXFIL"},{"value":"EXTRA","label":"EXTRA"},{"value":"INTEL","label":"INTEL"},{"value":"SOS","label":"SOS"}],"order":"50","sortable":true,"type":"array"}}},"description":"Criterios de busca na linha do tempo de eventos de uma missao. Apoia reconstrucao operacional por missao, tipo de evento, narrativa e periodo de ocorrencia."},"MissaoFilterDTO":{"type":"object","properties":{"ameacaId":{"type":"integer","description":"Ameaça principal que a missão deve conter, investigar ou neutralizar.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/risk-intelligence/ameacas/option-sources/threat/options/filter","helpText":"Selecione a ameaça vinculada às missões que deseja analisar.","icon":"warning","iconPosition":"left","label":"Ameaça","name":"ameacaId","order":"60","sortable":true,"type":"number","valueField":"id"}},"fimPrevBetween":{"description":"Intervalo de datas em que a missão estava prevista para terminar.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date-time","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null}}],"items":{"type":"string","format":"date-time","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":true},"startDate":{"type":"string","format":"date-time","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date-time","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateTimeRange","editable":true,"helpText":"Informe uma janela para encontrar missões previstas para terminar nesse período.","icon":"event","iconPosition":"left","label":"Período previsto de término","name":"fimPrevBetween","order":"80","sortable":true,"type":"date"}},"fimPrevLastDays":{"type":"integer","description":"Quantidade de dias recentes usada para localizar missões com término previsto nesse recorte.","format":"int32","x-ui":{"controlType":"input","editable":true,"helpText":"Informe quantos dias recentes devem ser considerados para o término previsto.","icon":"event","iconPosition":"left","label":"Término previsto nos últimos dias","name":"fimPrevLastDays","order":"165","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"fimPrevOn":{"type":"string","description":"Dia civil exato em que a missão estava prevista para terminar.","format":"date","x-ui":{"controlType":"date","editable":true,"helpText":"Escolha um dia exato de término previsto.","icon":"event","iconPosition":"left","label":"Término previsto em","name":"fimPrevOn","order":"150","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"fimPrevPreset":{"type":"string","description":"Atalho de período relativo aplicado à data prevista de término.","x-ui":{"controlType":"inlineRelativePeriod","editable":true,"helpText":"Use atalhos de período para o término previsto da missão.","icon":"event","iconPosition":"left","label":"Término previsto rápido","name":"fimPrevPreset","order":"160","relativePeriodOptions":[{"icon":"calendar_today","label":"Today","value":"today"},{"icon":"keyboard_double_arrow_left","label":"Yesterday","value":"yesterday"},{"icon":"date_range","label":"Last 7 days","value":"last7"},{"icon":"date_range","label":"Last 30 days","value":"last30"},{"icon":"event","label":"This month","value":"thisMonth"},{"icon":"event","label":"Last month","value":"lastMonth"},{"icon":"bar_chart","label":"This quarter","value":"thisQuarter"},{"icon":"ads_click","label":"This year","value":"thisYear"}],"sortable":true,"type":"text"}},"fimRealBetween":{"description":"Intervalo de datas em que a execução da missão realmente terminou.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date-time","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null}}],"items":{"type":"string","format":"date-time","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":true},"startDate":{"type":"string","format":"date-time","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date-time","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateTimeRange","editable":true,"helpText":"Informe uma janela para encontrar missões concluídas nesse período.","icon":"event","iconPosition":"left","label":"Período real de término","name":"fimRealBetween","order":"180","sortable":true,"type":"date"}},"fimRealLastDays":{"type":"integer","description":"Quantidade de dias recentes usada para localizar missões finalizadas nesse recorte.","format":"int32","x-ui":{"controlType":"input","editable":true,"helpText":"Informe quantos dias recentes devem ser considerados para o término real.","icon":"event","iconPosition":"left","label":"Término real nos últimos dias","name":"fimRealLastDays","order":"225","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"fimRealOn":{"type":"string","description":"Dia civil exato em que a execução da missão terminou.","format":"date","x-ui":{"controlType":"date","editable":true,"helpText":"Escolha o dia exato em que a execução terminou.","icon":"event","iconPosition":"left","label":"Término real em","name":"fimRealOn","order":"210","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"fimRealPreset":{"type":"string","description":"Atalho de período relativo aplicado à data real de término da missão.","x-ui":{"controlType":"inlineRelativePeriod","editable":true,"helpText":"Use atalhos de período para o término real da execução.","icon":"event","iconPosition":"left","label":"Término real rápido","name":"fimRealPreset","order":"220","relativePeriodOptions":[{"icon":"calendar_today","label":"Today","value":"today"},{"icon":"keyboard_double_arrow_left","label":"Yesterday","value":"yesterday"},{"icon":"date_range","label":"Last 7 days","value":"last7"},{"icon":"date_range","label":"Last 30 days","value":"last30"},{"icon":"event","label":"This month","value":"thisMonth"},{"icon":"event","label":"Last month","value":"lastMonth"},{"icon":"bar_chart","label":"This quarter","value":"thisQuarter"},{"icon":"ads_click","label":"This year","value":"thisYear"}],"sortable":true,"type":"text"}},"inicioPrevBetween":{"description":"Intervalo de datas em que a missão estava prevista para começar.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date-time","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null}}],"items":{"type":"string","format":"date-time","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":true},"startDate":{"type":"string","format":"date-time","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date-time","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateTimeRange","editable":true,"helpText":"Informe uma janela para encontrar missões previstas para começar nesse período.","icon":"event","iconPosition":"left","label":"Período previsto de início","name":"inicioPrevBetween","order":"70","sortable":true,"type":"date"}},"inicioPrevLastDays":{"type":"integer","description":"Quantidade de dias recentes usada para localizar missões com início previsto nesse recorte.","format":"int32","x-ui":{"controlType":"input","editable":true,"helpText":"Informe quantos dias recentes devem ser considerados para o início previsto.","icon":"event","iconPosition":"left","label":"Início previsto nos últimos dias","name":"inicioPrevLastDays","order":"145","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"inicioPrevOn":{"type":"string","description":"Dia civil exato em que a missão estava prevista para começar.","format":"date","x-ui":{"controlType":"date","editable":true,"helpText":"Escolha um dia exato de início previsto.","icon":"event","iconPosition":"left","label":"Início previsto em","name":"inicioPrevOn","order":"130","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"inicioPrevPreset":{"type":"string","description":"Atalho de período relativo aplicado à data prevista de início, como mês atual ou últimos dias.","x-ui":{"controlType":"inlineRelativePeriod","editable":true,"helpText":"Use atalhos como hoje, este mês ou últimos dias para o início previsto.","icon":"event","iconPosition":"left","label":"Início previsto rápido","name":"inicioPrevPreset","order":"140","relativePeriodOptions":[{"icon":"calendar_today","label":"Today","value":"today"},{"icon":"keyboard_double_arrow_left","label":"Yesterday","value":"yesterday"},{"icon":"date_range","label":"Last 7 days","value":"last7"},{"icon":"date_range","label":"Last 30 days","value":"last30"},{"icon":"event","label":"This month","value":"thisMonth"},{"icon":"event","label":"Last month","value":"lastMonth"},{"icon":"bar_chart","label":"This quarter","value":"thisQuarter"},{"icon":"ads_click","label":"This year","value":"thisYear"}],"sortable":true,"type":"text"}},"inicioRealBetween":{"description":"Intervalo de datas em que a execução da missão realmente começou.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date-time","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null}}],"items":{"type":"string","format":"date-time","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":true},"startDate":{"type":"string","format":"date-time","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date-time","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateTimeRange","editable":true,"helpText":"Informe uma janela para encontrar missões que começaram nesse período.","icon":"event","iconPosition":"left","label":"Período real de início","name":"inicioRealBetween","order":"170","sortable":true,"type":"date"}},"inicioRealLastDays":{"type":"integer","description":"Quantidade de dias recentes usada para localizar missões iniciadas nesse recorte.","format":"int32","x-ui":{"controlType":"input","editable":true,"helpText":"Informe quantos dias recentes devem ser considerados para o início real.","icon":"event","iconPosition":"left","label":"Início real nos últimos dias","name":"inicioRealLastDays","order":"205","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"inicioRealOn":{"type":"string","description":"Dia civil exato em que a execução da missão começou.","format":"date","x-ui":{"controlType":"date","editable":true,"helpText":"Escolha o dia exato em que a execução começou.","icon":"event","iconPosition":"left","label":"Início real em","name":"inicioRealOn","order":"190","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"inicioRealPreset":{"type":"string","description":"Atalho de período relativo aplicado à data real de início da missão.","x-ui":{"controlType":"inlineRelativePeriod","editable":true,"helpText":"Use atalhos de período para o início real da execução.","icon":"event","iconPosition":"left","label":"Início real rápido","name":"inicioRealPreset","order":"200","relativePeriodOptions":[{"icon":"calendar_today","label":"Today","value":"today"},{"icon":"keyboard_double_arrow_left","label":"Yesterday","value":"yesterday"},{"icon":"date_range","label":"Last 7 days","value":"last7"},{"icon":"date_range","label":"Last 30 days","value":"last30"},{"icon":"event","label":"This month","value":"thisMonth"},{"icon":"event","label":"Last month","value":"lastMonth"},{"icon":"bar_chart","label":"This quarter","value":"thisQuarter"},{"icon":"ads_click","label":"This year","value":"thisYear"}],"sortable":true,"type":"text"}},"local":{"type":"string","description":"Trecho do teatro operacional, base ou região associada à missão.","x-ui":{"controlType":"input","editable":true,"helpText":"Digite parte do teatro operacional, base ou região da missão.","icon":"location_on","iconPosition":"left","label":"Local","maxLength":"200","maxLengthMessage":"Local deve ter no máximo 200 caracteres","name":"local","order":"50","sortable":true,"type":"text"}},"objetivo":{"type":"string","description":"Trecho da finalidade operacional ou narrativa esperada para a missão.","x-ui":{"controlType":"input","editable":true,"helpText":"Busque por palavras presentes na finalidade ou narrativa operacional.","icon":"flag","iconPosition":"left","label":"Objetivo da missão","maxLength":"4000","maxLengthMessage":"Objetivo da missão deve ter no máximo 4000 caracteres","name":"objetivo","order":"20","sortable":true,"type":"text"}},"prioridade":{"type":"string","description":"Grau de urgência atribuído à missão para orientar triagem e ordenação operacional.","enum":["BAIXA","MEDIA","ALTA","CRITICA"],"x-ui":{"controlType":"inlineSelect","editable":true,"helpText":"Filtra por uma única prioridade operacional.","icon":"priority_high","iconPosition":"left","label":"Prioridade","name":"prioridade","options":[{"value":"BAIXA","label":"BAIXA"},{"value":"MEDIA","label":"MEDIA"},{"value":"ALTA","label":"ALTA"},{"value":"CRITICA","label":"CRITICA"}],"order":"30","sortable":true,"type":"text"}},"prioridadeIn":{"type":"array","description":"Conjunto de prioridades que devem aparecer no resultado da busca.","items":{"type":"string","description":"Conjunto de prioridades que devem aparecer no resultado da busca.","enum":["BAIXA","MEDIA","ALTA","CRITICA"]},"x-ui":{"controlType":"inlineMultiSelect","editable":true,"helpText":"Mostra apenas missões com as prioridades selecionadas.","icon":"priority_high","iconPosition":"left","label":"Mostrar prioridades","name":"prioridadeIn","options":[{"value":"BAIXA","label":"BAIXA"},{"value":"MEDIA","label":"MEDIA"},{"value":"ALTA","label":"ALTA"},{"value":"CRITICA","label":"CRITICA"}],"order":"110","sortable":true,"type":"array"}},"prioridadeNotIn":{"type":"array","description":"Conjunto de prioridades que devem ser removidas do resultado da busca.","items":{"type":"string","description":"Conjunto de prioridades que devem ser removidas do resultado da busca.","enum":["BAIXA","MEDIA","ALTA","CRITICA"]},"x-ui":{"controlType":"inlineMultiSelect","editable":true,"helpText":"Remove do resultado as missões com as prioridades selecionadas.","icon":"low_priority","iconPosition":"left","label":"Ocultar prioridades","name":"prioridadeNotIn","options":[{"value":"BAIXA","label":"BAIXA"},{"value":"MEDIA","label":"MEDIA"},{"value":"ALTA","label":"ALTA"},{"value":"CRITICA","label":"CRITICA"}],"order":"120","sortable":true,"type":"array"}},"status":{"type":"string","description":"Fase atual do ciclo de vida da missão, como planejada, em andamento, pausada, concluída ou falha.","enum":["PLANEJADA","EM_ANDAMENTO","PAUSADA","CONCLUIDA","FALHOU"],"x-ui":{"controlType":"inlineSelect","editable":true,"helpText":"Filtra por uma única fase do ciclo de vida da missão.","icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","options":[{"value":"PLANEJADA","label":"PLANEJADA"},{"value":"EM_ANDAMENTO","label":"EM_ANDAMENTO"},{"value":"PAUSADA","label":"PAUSADA"},{"value":"CONCLUIDA","label":"CONCLUIDA"},{"value":"FALHOU","label":"FALHOU"}],"order":"40","sortable":true,"type":"text"}},"statusIn":{"type":"array","description":"Conjunto de fases que devem aparecer no resultado da busca.","items":{"type":"string","description":"Conjunto de fases que devem aparecer no resultado da busca.","enum":["PLANEJADA","EM_ANDAMENTO","PAUSADA","CONCLUIDA","FALHOU"]},"x-ui":{"controlType":"inlineMultiSelect","editable":true,"helpText":"Mostra apenas missões nos status selecionados.","icon":"toggle_on","iconPosition":"left","label":"Mostrar status","name":"statusIn","options":[{"value":"PLANEJADA","label":"PLANEJADA"},{"value":"EM_ANDAMENTO","label":"EM_ANDAMENTO"},{"value":"PAUSADA","label":"PAUSADA"},{"value":"CONCLUIDA","label":"CONCLUIDA"},{"value":"FALHOU","label":"FALHOU"}],"order":"90","sortable":true,"type":"array"}},"statusNotIn":{"type":"array","description":"Conjunto de fases que devem ser removidas do resultado da busca.","items":{"type":"string","description":"Conjunto de fases que devem ser removidas do resultado da busca.","enum":["PLANEJADA","EM_ANDAMENTO","PAUSADA","CONCLUIDA","FALHOU"]},"x-ui":{"controlType":"inlineMultiSelect","editable":true,"helpText":"Remove do resultado as missões nos status selecionados.","icon":"toggle_off","iconPosition":"left","label":"Ocultar status","name":"statusNotIn","options":[{"value":"PLANEJADA","label":"PLANEJADA"},{"value":"EM_ANDAMENTO","label":"EM_ANDAMENTO"},{"value":"PAUSADA","label":"PAUSADA"},{"value":"CONCLUIDA","label":"CONCLUIDA"},{"value":"FALHOU","label":"FALHOU"}],"order":"100","sortable":true,"type":"array"}},"titulo":{"type":"string","description":"Trecho do nome usado para localizar uma campanha ou operação no catálogo de missões.","x-ui":{"controlType":"input","editable":true,"helpText":"Digite parte do nome da missão para localizar campanhas específicas.","icon":"title","iconPosition":"left","label":"Título da missão","maxLength":"200","maxLengthMessage":"Título da missão deve ter no máximo 200 caracteres","name":"titulo","order":"10","sortable":true,"type":"text"}}},"description":"Criterios de busca no catalogo de missoes (ameaca, janelas previstas e reais, status e prioridade); nao e a entidade a editar so com filtrar. Usado por consoles operacionais e assistentes para localizar missoes por ciclo de vida, agenda, prioridade, teatro e ameaca relacionada."},"MissaoParticipanteDTO":{"required":["funcionarioId","missaoId","ordem","principal"],"type":"object","properties":{"funcionarioFotoUrl":{"type":"string","description":"URL da foto de perfil do funcionário (read model).","x-ui":{"controlType":"avatar","editable":true,"formHidden":true,"icon":"account_circle","iconPosition":"left","label":"Foto","name":"funcionarioFotoUrl","order":"5","readOnly":true,"sortable":true,"type":"url"}},"funcionarioId":{"type":"integer","description":"Colaborador escalado para participar da missão.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"20","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"funcionarioNome":{"type":"string","description":"Nome do colaborador projetado para leitura sem nova consulta.","x-ui":{"controlType":"input","editable":true,"formHidden":true,"icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioNome","readOnly":true,"resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"funcionarioId"},"sortable":true,"type":"text"}},"id":{"type":"integer","description":"Identificador interno do vínculo no serviço; referencia o recurso em URLs e relacionamentos.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"icon":"tag","iconPosition":"left","label":"Código","name":"id","order":"1","readOnly":true,"resourceReference":{"resourceKey":"operations.missao-participantes","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"missaoId":{"type":"integer","description":"Missão operacional em que o colaborador será escalado.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/missoes/option-sources/mission/options/filter","icon":"flag","iconPosition":"left","label":"Missão","name":"missaoId","order":"10","required":true,"requiredMessage":"Missão é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"missaoTitulo":{"type":"string","description":"Título da missão projetado para leitura sem nova consulta.","x-ui":{"controlType":"input","editable":true,"formHidden":true,"icon":"flag","iconPosition":"left","label":"Missão","name":"missaoTitulo","quickViewOrder":4,"quickViewVisible":true,"readOnly":true,"resourceReference":{"previewSurfaceId":"summary","resourceKey":"operations.missoes","surfaceId":"detail","valueField":"missaoId"},"sortable":true,"type":"text"}},"ordem":{"type":"integer","description":"Ordem de atuação no plano da missão; zero representa a primeira posição.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"flag","iconPosition":"left","label":"Ordem","name":"ordem","order":"40","quickViewOrder":3,"quickViewVisible":true,"required":true,"requiredMessage":"Ordem é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"number"},"width":"md"}},"papel":{"type":"string","description":"Função tática desempenhada pelo colaborador durante a missão.","enum":["LIDER","COMBATE","SUPORTE","INTEL","NEGOCIACAO"],"x-ui":{"controlType":"select","editable":true,"icon":"flag","iconPosition":"left","label":"Papel","name":"papel","options":[{"value":"LIDER","label":"LIDER"},{"value":"COMBATE","label":"COMBATE"},{"value":"SUPORTE","label":"SUPORTE"},{"value":"INTEL","label":"INTEL"},{"value":"NEGOCIACAO","label":"NEGOCIACAO"}],"order":"30","quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text","width":"md"}},"principal":{"type":"boolean","description":"Indica se o colaborador é a principal referência tática desta missão.","x-ui":{"controlType":"toggle","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Principal","name":"principal","order":"50","required":true,"requiredMessage":"Principal é obrigatório","sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"},"width":"md"}},"resultado":{"type":"string","description":"Resultado individual registrado após o encerramento ou debriefing da missão.","enum":["OK","FERIDO","DESAPARECIDO","MORTO","NA"],"x-ui":{"controlType":"select","editable":true,"icon":"flag","iconPosition":"left","label":"Resultado","name":"resultado","options":[{"value":"OK","label":"OK"},{"value":"FERIDO","label":"FERIDO"},{"value":"DESAPARECIDO","label":"DESAPARECIDO"},{"value":"MORTO","label":"MORTO"},{"value":"NA","label":"NA"}],"order":"60","quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"text","width":"md"}}},"description":"Escala de um colaborador em uma missão. Representa a composição da equipe, incluindo papel, ordem de atuação, liderança e resultado individual."},"MissaoParticipanteFilterDTO":{"type":"object","properties":{"funcionarioId":{"type":"integer","description":"Colaborador ou heroi cuja participacao em missoes deve ser localizada.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Filtra missões atribuídas a um colaborador ou herói.","icon":"badge","iconPosition":"left","label":"Participante","name":"funcionarioId","order":"20","sortable":true,"type":"number","valueField":"id"}},"missaoId":{"type":"integer","description":"Missao cuja composicao de participantes deve ser consultada.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/missoes/option-sources/mission/options/filter","helpText":"Mostra participantes escalados em uma missão específica.","icon":"flag","iconPosition":"left","label":"Missão","name":"missaoId","order":"10","sortable":true,"type":"number","valueField":"id"}},"papel":{"type":"string","description":"Funcao exercida pelo participante dentro da missao.","enum":["LIDER","COMBATE","SUPORTE","INTEL","NEGOCIACAO"],"x-ui":{"controlType":"select","editable":true,"helpText":"Seleciona a função exercida pelo participante na missão.","icon":"filter_list","iconPosition":"left","label":"Papel na missão","name":"papel","options":[{"value":"LIDER","label":"LIDER"},{"value":"COMBATE","label":"COMBATE"},{"value":"SUPORTE","label":"SUPORTE"},{"value":"INTEL","label":"INTEL"},{"value":"NEGOCIACAO","label":"NEGOCIACAO"}],"order":"30","sortable":true,"type":"text"}},"principal":{"type":"boolean","description":"Indicador de participante principal ou referencia de lideranca dentro da missao.","x-ui":{"controlType":"toggle","editable":true,"helpText":"Diferencia líderes ou referências principais dos demais participantes.","icon":"toggle_on","iconPosition":"left","label":"Participante principal","name":"principal","order":"40","sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"}}},"resultado":{"type":"string","description":"Desfecho individual registrado para o participante ao final da missao.","enum":["OK","FERIDO","DESAPARECIDO","MORTO","NA"],"x-ui":{"controlType":"select","editable":true,"helpText":"Filtra pelo desfecho registrado para o participante na missão.","icon":"filter_list","iconPosition":"left","label":"Resultado individual","name":"resultado","options":[{"value":"OK","label":"OK"},{"value":"FERIDO","label":"FERIDO"},{"value":"DESAPARECIDO","label":"DESAPARECIDO"},{"value":"MORTO","label":"MORTO"},{"value":"NA","label":"NA"}],"order":"50","sortable":true,"type":"text"}}},"description":"Criterios de busca na escala de participantes de missoes. Relaciona missao, colaborador, papel operacional, lideranca e resultado individual."},"MissaoWorkflowRequestDTO":{"type":"object","properties":{"justificativa":{"maxLength":500,"minLength":0,"type":"string","description":"Motivo informado pelo operador para iniciar, pausar, retomar, concluir ou falhar a missao; usado como rastro de auditoria e contexto para revisao operacional.","x-ui":{"controlType":"textarea","editable":true,"icon":"notes","iconPosition":"left","label":"Justificativa","maxLength":"500","maxLengthMessage":"Justificativa deve ter no máximo 500 caracteres","name":"justificativa","order":"10","sortable":true,"type":"text"}},"ocorridoEm":{"type":"string","description":"Instante de negocio atribuido a transicao. Quando ausente, o servidor usa o momento de processamento como marco auditavel da mudanca de fase.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"event","iconPosition":"left","label":"Momento da transição","name":"ocorridoEm","order":"20","sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}}},"description":"Comando operacional para registrar a decisao que move uma missao entre fases controladas. Carrega a justificativa auditavel da decisao e, quando necessario, o instante que ancora a linha de tempo real da operacao."},"MissaoWorkflowResultDTO":{"type":"object","properties":{"fimReal":{"type":"string","description":"Fim executado quando a fase encerra a operacao no teatro; opcional.","format":"date-time"},"id":{"type":"integer","description":"Identificador da missao afetada pela transicao; usado para atualizar a tela de detalhe e correlacionar eventos de auditoria.","format":"int32"},"inicioReal":{"type":"string","description":"Inicio executado quando a fase fixa linha de tempo real; opcional.","format":"date-time"},"justificativa":{"type":"string","description":"Justificativa efetivamente associada a transicao, preservada para auditoria e revisao operacional."},"mensagem":{"type":"string","description":"Texto amigavel para o operador (sucesso, bloqueio, proxima acao)."},"ocorridoEm":{"type":"string","description":"Instante de negocio registrado para a transicao, informado pelo cliente ou definido pelo servidor.","format":"date-time"},"statusAnterior":{"type":"string","description":"MissaoStatus antes do comando; delta de auditoria.","enum":["PLANEJADA","EM_ANDAMENTO","PAUSADA","CONCLUIDA","FALHOU"]},"statusAtual":{"type":"string","description":"MissaoStatus apos persistencia; fonte de verdade para detalhe e dashboards.","enum":["PLANEJADA","EM_ANDAMENTO","PAUSADA","CONCLUIDA","FALHOU"]}},"description":"Resultado persistido da transicao de missao, com fase anterior, fase atual, justificativa auditavel, marco temporal executado e janela operacional real quando a decisao altera inicio ou encerramento da missao."},"MultiValueMapStringString":{"type":"object","properties":{"all":{"type":"object","additionalProperties":{"type":"string"},"writeOnly":true},"empty":{"type":"boolean"}},"additionalProperties":{"type":"array","items":{"type":"string"}}},"Native":{"type":"object","allOf":[{"$ref":"#/components/schemas/PageSourceReference"},{"type":"object","properties":{"revision":{"type":"string"},"sourceId":{"type":"string"}}}]},"NativeSource":{"type":"object","properties":{"kind":{"type":"string"},"revision":{"type":"string"},"sourceId":{"type":"string"}}},"Operation":{"type":"object","properties":{"operation":{"$ref":"#/components/schemas/CanonicalOperationRef"},"requestSchema":{"$ref":"#/components/schemas/CanonicalSchemaRef"},"responseSchema":{"$ref":"#/components/schemas/CanonicalSchemaRef"}}},"OptionDTOInteger":{"type":"object","properties":{"extra":{"type":"object","additionalProperties":{"type":"object"}},"id":{"type":"integer","format":"int32"},"label":{"type":"string"}}},"OptionDTOLong":{"type":"object","properties":{"extra":{"type":"object","additionalProperties":{"type":"object"}},"id":{"type":"integer","format":"int64"},"label":{"type":"string"}}},"OptionDTOObject":{"type":"object","properties":{"extra":{"type":"object","additionalProperties":{"type":"object"}},"id":{"type":"object"},"label":{"type":"string"}}},"OptionDTOString":{"type":"object","properties":{"extra":{"type":"object","additionalProperties":{"type":"object"}},"id":{"type":"string"},"label":{"type":"string"}}},"OptionSourceByIdsRequest":{"type":"object","properties":{"filter":{"$ref":"#/components/schemas/GenericFilterDTO"},"filters":{"type":"array","items":{"$ref":"#/components/schemas/LookupFilterRequest"}},"ids":{"type":"array","items":{"type":"object"}}}},"OptionSourceFilterRequest":{"type":"object","properties":{"filter":{"$ref":"#/components/schemas/GenericFilterDTO"},"filters":{"type":"array","items":{"$ref":"#/components/schemas/LookupFilterRequest"}},"includeIds":{"type":"array","items":{"type":"object"}},"search":{"type":"string"},"searchStrategy":{"type":"string"},"sort":{"type":"string"}}},"PageCatalogEntry":{"type":"object","properties":{"head":{"$ref":"#/components/schemas/UiLayoutReleaseHeadReceipt"},"icon":{"type":"string"},"pageId":{"type":"string","format":"uuid"},"rootTarget":{"$ref":"#/components/schemas/UiLayoutTarget"},"route":{"type":"string"},"title":{"type":"string"}}},"PageCatalogResponse":{"type":"object","properties":{"contextVersion":{"type":"string"},"items":{"type":"array","items":{"$ref":"#/components/schemas/PageCatalogEntry"}},"nextCursor":{"type":"string"},"receiptEtag":{"type":"string"},"resolvedAt":{"type":"string","format":"date-time"},"schemaVersion":{"type":"string"}}},"PageCreationCommand":{"type":"object","properties":{"creationKey":{"type":"string","format":"uuid"},"source":{"oneOf":[{"$ref":"#/components/schemas/Native"},{"$ref":"#/components/schemas/Published"}]},"title":{"type":"string"}},"additionalProperties":false,"description":"Closed P0 page creation command; actor, application, tenant, environment, output and publication state are server-owned."},"PageCreationReceipt":{"type":"object","properties":{"creationKey":{"type":"string","format":"uuid"},"draftEtag":{"type":"string"},"draftId":{"type":"string","format":"uuid"},"pageId":{"type":"string","format":"uuid"},"routePath":{"type":"string"},"source":{"oneOf":[{"$ref":"#/components/schemas/Native"},{"$ref":"#/components/schemas/Published"}]},"target":{"$ref":"#/components/schemas/UiLayoutTarget"}}},"PageEntityModelAcordosRegulatorioDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceAcordosRegulatorioDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelAmeacaDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceAmeacaDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelBaseAcessoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceBaseAcessoDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelBaseDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceBaseDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelCargoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceCargoDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelDepartamentoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceDepartamentoDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelDependenteDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceDependenteDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelEnderecoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceEnderecoDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelEquipamentoAlocacaoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceEquipamentoAlocacaoDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelEquipamentoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceEquipamentoDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelEquipeDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceEquipeDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelEquipeMembroDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceEquipeMembroDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelEventosFolhaResponseDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceEventosFolhaResponseDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelExtraordinaryBenefitRequestResponse":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceExtraordinaryBenefitRequestResponse"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelFeriasAfastamentoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceFeriasAfastamentoDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelFolhasPagamentoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceFolhasPagamentoDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelFuncionarioDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceFuncionarioDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelFuncionarioHabilidadeDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceFuncionarioHabilidadeDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelHabilidadeDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceHabilidadeDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelHistoricoSalarialDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceHistoricoSalarialDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelHistoricosCargoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceHistoricosCargoDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelIdentidadeSecretaDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceIdentidadeSecretaDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelIncidenteDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceIncidenteDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelIndenizacaoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceIndenizacaoDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelLegacyPayCodeDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceLegacyPayCodeDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelLicencasOperacaoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceLicencasOperacaoDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelMencoesMidiaDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceMencoesMidiaDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelMissaoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceMissaoDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelMissaoEventoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceMissaoEventoDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelMissaoParticipanteDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceMissaoParticipanteDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelProcurementCompanyDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceProcurementCompanyDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelProcurementContractDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceProcurementContractDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelProcurementProductDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceProcurementProductDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelProcurementPurchaseOrderDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceProcurementPurchaseOrderDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelProcurementSupplierDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceProcurementSupplierDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelReputacaoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceReputacaoDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelSinaisSocorroDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceSinaisSocorroDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelVeiculoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceVeiculoDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelVeiculoMissaoUsoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceVeiculoMissaoUsoDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelVwAnalyticsAfastamentoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceVwAnalyticsAfastamentoDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelVwAnalyticsFolhaPagamentoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceVwAnalyticsFolhaPagamentoDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelVwIndicadoresIncidenteDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceVwIndicadoresIncidenteDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelVwPerfilHeroiDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceVwPerfilHeroiDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelVwRankingReputacaoDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceVwRankingReputacaoDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelVwResumoMissoeDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceVwResumoMissoeDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageEntityModelVwSupplierProcurementFunnelDTO":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceVwSupplierProcurementFunnelDTO"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageOptionDTOInteger":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOInteger"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageOptionDTOLong":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOLong"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageOptionDTOObject":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOObject"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageOptionDTOString":{"type":"object","properties":{"content":{"type":"array","items":{"$ref":"#/components/schemas/OptionDTOString"}},"empty":{"type":"boolean"},"first":{"type":"boolean"},"last":{"type":"boolean"},"number":{"type":"integer","format":"int32"},"numberOfElements":{"type":"integer","format":"int32"},"pageable":{"$ref":"#/components/schemas/PageableObject"},"size":{"type":"integer","format":"int32"},"sort":{"$ref":"#/components/schemas/SortObject"},"totalElements":{"type":"integer","format":"int64"},"totalPages":{"type":"integer","format":"int32"}}},"PageSourceReference":{"required":["kind"],"type":"object","properties":{"kind":{"type":"string"}},"discriminator":{"propertyName":"kind"}},"PageableObject":{"type":"object","properties":{"offset":{"type":"integer","format":"int64"},"pageNumber":{"type":"integer","format":"int32"},"pageSize":{"type":"integer","format":"int32"},"paged":{"type":"boolean"},"sort":{"$ref":"#/components/schemas/SortObject"},"unpaged":{"type":"boolean"}}},"ParameterSummary":{"type":"object","properties":{"in":{"type":"string"},"name":{"type":"string"},"required":{"type":"boolean"},"type":{"type":"string"}}},"PayrollBulkPublicationGenerationRequest":{"required":["expectedGeneration"],"type":"object","properties":{"expectedGeneration":{"type":"integer","description":"Inteiro JSON obrigatório. Publicar/suspender: 0 a 9223372036854775806. Reconciliar: 1 a 9223372036854775807.","format":"int64"}},"description":"Pré-condição administrativa: geração exata da operação, obtida fora deste comando. Não aceita rebase automático."},"PayrollBulkPublicationResult":{"type":"object","properties":{"generation":{"type":"integer","description":"Geração retornada pelo controle canônico, sem tentativa automática em caso de conflito.","format":"int64"},"operationId":{"type":"string","description":"Identidade fixa da operação de aprovação governada de eventos da folha."},"state":{"type":"string","description":"READY para publicação/reconciliação concluída; SUSPENDED para suspensão concluída. Não concede autorização de negócio."}},"description":"Resultado do comando completo, sem permissões ou fotografia interna. O estado pode mudar após o retorno."},"PayrollNetSalaryDeterminationRequest":{"required":["ano","descontosBase","funcionarioId","mes","salarioBruto"],"type":"object","properties":{"ano":{"maximum":2100,"minimum":1900,"type":"integer","description":"Ano da competência.","format":"int32"},"descontosBase":{"maximum":999999999999.99,"exclusiveMaximum":false,"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Descontos-base em BRL; o total é output governado.","format":"decimal","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"financial","reason":"Descontos-base do draft da folha.","source":"java.annotation"}},"folhaPagamentoId":{"type":"integer","description":"Identidade opcional da folha existente para capturar seus eventos aprovados; ausente na criação.","format":"int32"},"funcionarioId":{"type":"integer","description":"Funcionário titular autorizado da competência.","format":"int32"},"mes":{"maximum":12,"minimum":1,"type":"integer","description":"Mês da competência.","format":"int32"},"salarioBruto":{"maximum":999999999999.99,"exclusiveMaximum":false,"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Salário-base bruto em BRL.","format":"decimal","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"financial","reason":"Salário-base bruto do draft da folha.","source":"java.annotation"}}},"description":"Fatos do draft para previsão financeira não persistente. Eventos aprovados do id informado são capturados pelo host."},"PayrollNetSalaryDeterminationResponse":{"type":"object","properties":{"salarioLiquido":{"type":"number","description":"Bruto mais adicionais aprovados menos total de descontos, BRL exato.","format":"decimal","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"financial","reason":"Salário líquido financeiro determinado.","source":"java.annotation"}},"totalDescontos":{"type":"number","description":"Descontos-base mais eventos DESCONTO aprovados, BRL exato.","format":"decimal","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"financial","reason":"Total de descontos financeiro determinado.","source":"java.annotation"}}},"description":"Outputs financeiros da avaliação governada não persistente."},"PayrollOriginalValuesDTO":{"type":"object","properties":{"salarioBruto":{"type":"string","description":"Salário bruto original em string decimal exata."},"salarioLiquido":{"type":"string","description":"Salário líquido original em string decimal exata."},"totalDescontos":{"type":"string","description":"Total de descontos original em string decimal exata."}},"description":"Valores originais preservados de uma folha histórica pendente, sem inferência de base ou autoridade.","readOnly":true},"PayrollParentPreconditionDTO":{"required":["folhaPagamentoId","resourceVersion"],"type":"object","properties":{"folhaPagamentoId":{"type":"integer","description":"Identidade da folha cuja revisão foi capturada.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"iconPosition":"left","label":"Identidade da folha","min":"0.000001","name":"folhaPagamentoId","numericMin":"0.000001","rangeMessage":"Identidade da folha deve ser maior ou igual a 0.000001","required":true,"requiredMessage":"Identidade da folha é obrigatório","sortable":true,"submitPolicy":"include","type":"number","valuePresentation":{"type":"number"}}},"resourceVersion":{"minLength":1,"type":"string","description":"ETag forte opaco da folha, validado no escopo operacional sob lock.","x-ui":{"controlType":"input","editable":true,"formHidden":true,"iconPosition":"left","label":"Versão da folha","minLength":"1","minLengthMessage":"Versão da folha deve ter no mínimo 1 caracteres","name":"resourceVersion","required":true,"requiredMessage":"Versão da folha é obrigatório","sortable":true,"submitPolicy":"include","type":"text"}}},"description":"Precondição de uma folha afetada pelo comando de evento; o token vem da leitura oficial da folha."},"PayrollPaymentDateDeterminationRequest":{"required":["ano","descontosBase","funcionarioId","mes","salarioBruto","salarioLiquido"],"type":"object","properties":{"ano":{"maximum":2100,"minimum":1900,"type":"integer","description":"Ano da competência.","format":"int32"},"descontosBase":{"maximum":999999999999.99,"exclusiveMaximum":false,"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Descontos-base em BRL.","format":"decimal","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"financial","reason":"Descontos-base do draft.","source":"java.annotation"}},"folhaPagamentoId":{"type":"integer","description":"Identidade opcional da folha existente; ausente na criação.","format":"int32"},"funcionarioId":{"type":"integer","description":"Funcionário titular autorizado da competência.","format":"int32"},"mes":{"maximum":12,"minimum":1,"type":"integer","description":"Mês da competência.","format":"int32"},"salarioBruto":{"maximum":999999999999.99,"exclusiveMaximum":false,"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Salário-base bruto em BRL.","format":"decimal","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"financial","reason":"Salário-base bruto do draft.","source":"java.annotation"}},"salarioLiquido":{"maximum":999999999999.99,"exclusiveMaximum":false,"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Líquido upstream declarado; deve ser igual ao output da avaliação nova da cadeia.","format":"decimal","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"financial","reason":"Líquido anterior declarado para comparação, não como input autoritativo do calendário.","source":"java.annotation"}}},"description":"Tuple completo do draft e líquido anterior; o host reavalia a cadeia única antes de prever a data."},"PayrollPaymentDateDeterminationResponse":{"type":"object","properties":{"dataPagamentoPrevista":{"type":"string","description":"Data prevista pela cadeia financeira e de calendário.","format":"date"}},"description":"Previsão não persistente do calendário governado; não representa agendamento nem pagamento."},"PlanejarEquipeMissaoDTO":{"type":"object","properties":{"participantes":{"maxItems":12,"minItems":1,"type":"array","description":"Participantes a persistir: minimo 1, maximo 12; exatamente um `principal` na colecao.","items":{"$ref":"#/components/schemas/PlanejarEquipeMissaoParticipanteDTO"},"x-ui":{"array":{"addLabel":"Adicionar participante","collectionValidation":{"exactlyOne":{"field":"principal","message":"Defina exatamente um participante principal.","value":true},"uniqueBy":["funcionarioId"]},"deleteMode":"removeFromPayload","emptyState":"Nenhum participante planejado","itemIdentityField":"id","itemSchemaRef":"#/components/schemas/PlanejarEquipeMissaoParticipanteDTO","itemTitleTemplate":"{{funcionarioNome}} - {{papel}}","itemType":"object","maxItems":12,"minItems":1,"mode":"cards","operations":{"add":true,"edit":true,"remove":true}},"controlType":"array","editable":true,"icon":"flag","iconPosition":"left","label":"Participantes","maxLength":"12","maxLengthMessage":"Participantes deve ter no máximo 12 caracteres","minLength":"1","minLengthMessage":"Participantes deve ter no mínimo 1 caracteres","name":"participantes","required":true,"requiredMessage":"Participantes é obrigatório","sortable":true,"type":"array"}}},"description":"Plano de alocacao de equipe a uma missao: lista de participantes e papeis; representa uma acao de planejamento que substitui a composicao proposta sem alterar diretamente o ciclo de vida da missao."},"PlanejarEquipeMissaoParticipanteDTO":{"required":["funcionarioId","papel"],"type":"object","properties":{"funcionarioId":{"type":"integer","description":"FK; colaborador a escalar (funcionarioId).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","icon":"badge","iconPosition":"left","label":"Funcionario","name":"funcionarioId","required":true,"requiredMessage":"Funcionario é obrigatório","sortable":true,"type":"number","valueField":"id"}},"funcionarioNome":{"type":"string","description":"Nome denormalizado para cards (read model).","x-ui":{"controlType":"input","editable":true,"icon":"badge","iconPosition":"left","label":"Nome","name":"funcionarioNome","readOnly":true,"sortable":true,"type":"text"}},"id":{"type":"integer","description":"Identificador interno (PK) deste registo no servico; referencia o recurso em URLs e relacionamentos.","format":"int32"},"ordem":{"type":"integer","description":"Ordem de exibicao/ insercao; preenchida pelo servico de planejamento.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"flag","iconPosition":"left","label":"Ordem","name":"ordem","readOnly":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"papel":{"type":"string","description":"Papel tatico na operacao; PapelMissao.","enum":["LIDER","COMBATE","SUPORTE","INTEL","NEGOCIACAO"],"x-ui":{"controlType":"select","editable":true,"icon":"flag","iconPosition":"left","label":"Papel","name":"papel","options":[{"value":"LIDER","label":"LIDER"},{"value":"COMBATE","label":"COMBATE"},{"value":"SUPORTE","label":"SUPORTE"},{"value":"INTEL","label":"INTEL"},{"value":"NEGOCIACAO","label":"NEGOCIACAO"}],"required":true,"requiredMessage":"Papel é obrigatório","sortable":true,"type":"text"}},"principal":{"type":"boolean","description":"Marca o lider/ face da operacao no conjunto proposto.","x-ui":{"controlType":"toggle","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Principal","name":"principal","sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"}}}},"description":"Elemento de equipe a alocar: heroi, papel, ordem e designacao de lider no planejamento. Usado dentro do plano de equipe para validar unicidade por colaborador e definir exatamente um participante principal."},"PolicyStudioOperationalRunRequest":{"required":["evaluatedAtUtc","scenarios","workspaceId"],"type":"object","properties":{"evaluatedAtUtc":{"type":"string","description":"Instante UTC congelado e reutilizado em retries do mesmo comando.","format":"date-time"},"scenarios":{"maxItems":20,"minItems":0,"type":"array","description":"Cenários governados com operação explícita, sem payload de DML.","items":{"$ref":"#/components/schemas/PolicyStudioOperationalScenarioSelection"}},"userTimeZone":{"maxLength":80,"minLength":0,"type":"string","description":"Fuso IANA congelado para a execução.","example":"America/Sao_Paulo"},"workspaceId":{"type":"string","description":"Workspace canônico do Config que owns cenários e Test Runs.","format":"uuid"}}},"PolicyStudioOperationalScenarioSelection":{"required":["operationMode","scenarioId"],"type":"object","properties":{"operationMode":{"maxLength":16,"minLength":0,"type":"string","description":"Operação operacional explícita; o host aceita CREATE ou UPDATE.","enum":["CREATE","UPDATE"]},"scenarioId":{"type":"string","description":"Identificador do cenário governado no workspace do Config.","format":"uuid"}},"description":"Cenários governados com operação explícita, sem payload de DML."},"PolicyStudioSandboxRunRequest":{"type":"object","properties":{"evaluatedAtUtc":{"type":"string","format":"date-time"},"idempotencyKey":{"type":"string"},"scenarioIds":{"type":"array","items":{"type":"string","format":"uuid"}},"userTimeZone":{"type":"string"},"workspaceId":{"type":"string","format":"uuid"}}},"PolicyStudioSandboxRunResponse":{"type":"object","properties":{"activeActivationRevision":{"type":"integer","format":"int64"},"activeSnapshotContentHash":{"type":"string"},"activeSnapshotKey":{"type":"string"},"baseDefinitionHash":{"type":"string"},"evaluatedAtUtc":{"type":"string","format":"date-time"},"results":{"type":"array","items":{"$ref":"#/components/schemas/PolicyStudioSandboxScenarioResult"}},"runId":{"type":"string","format":"uuid"},"userTimeZone":{"type":"string"},"workspaceId":{"type":"string","format":"uuid"},"workspaceRevision":{"type":"integer","format":"int64"}}},"PolicyStudioSandboxScenarioResult":{"type":"object","properties":{"activeDecision":{"type":"string"},"activeEffectIntents":{"type":"array","items":{"type":"string"}},"activeEffectsMatchExpected":{"type":"boolean"},"activeMatchesExpected":{"type":"boolean"},"activeOutput":{"$ref":"#/components/schemas/JsonNode"},"activeOutputMatchesExpected":{"type":"boolean"},"activePlanDigest":{"type":"string"},"activeReasonCodes":{"type":"array","items":{"type":"string"}},"activeReasonCodesMatchExpected":{"type":"boolean"},"candidateDecision":{"type":"string"},"candidateEffectIntents":{"type":"array","items":{"type":"string"}},"candidateEffectsMatchExpected":{"type":"boolean"},"candidateMatchesExpected":{"type":"boolean"},"candidateOutput":{"$ref":"#/components/schemas/JsonNode"},"candidateOutputMatchesExpected":{"type":"boolean"},"candidatePlanDigest":{"type":"string"},"candidateReasonCodes":{"type":"array","items":{"type":"string"}},"candidateReasonCodesMatchExpected":{"type":"boolean"},"comparison":{"type":"string"},"expectedDecision":{"type":"string"},"expectedEffectIntents":{"type":"array","items":{"type":"string"}},"expectedOutput":{"$ref":"#/components/schemas/JsonNode"},"expectedReasonCodes":{"type":"array","items":{"type":"string"}},"factsDigest":{"type":"string"},"scenarioId":{"type":"string","format":"uuid"},"scenarioKey":{"type":"string"}}},"PostalAddressDeterminationRequest":{"required":["cep"],"type":"object","properties":{"cep":{"minLength":1,"pattern":"^\\d{5}-?\\d{3}$","type":"string","description":"CEP brasileiro com oito digitos, com ou sem hifen, usado como fato de entrada da determinacao.","example":"01310-100","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","PHYSICAL_SECURITY"],"confidence":1.0,"dataCategory":"personal","reason":"O CEP usado na determinacao pode revelar uma area residencial pequena.","source":"java.annotation"}}},"description":"CEP informado durante a edicao de um endereco para obter uma derivacao cadastral nao persistente."},"PostalAddressDeterminationResponse":{"type":"object","properties":{"bairro":{"type":"string","description":"Bairro associado ao CEP no diretorio do host.","example":"Bela Vista"},"cidade":{"type":"string","description":"Municipio associado ao CEP no diretorio do host.","example":"Sao Paulo"},"decisionVersion":{"type":"string","description":"Versao imutavel do conjunto de fatos usado para a derivacao.","example":"quickstart-postal-directory-v1"},"estado":{"type":"string","description":"Unidade federativa associada ao CEP no diretorio do host.","example":"SP"},"logradouro":{"type":"string","description":"Via publica associada ao CEP no diretorio do host.","example":"Avenida Paulista"}},"description":"Campos de localizacao derivados deterministicamente do CEP pelo backend, sem persistir o formulario."},"ProblemDetail":{"type":"object","properties":{"detail":{"type":"string","nullable":true},"instance":{"type":"string","format":"uri","nullable":true},"properties":{"type":"object","additionalProperties":{"type":"object"},"nullable":true},"status":{"type":"integer","format":"int32"},"title":{"type":"string","nullable":true},"type":{"type":"string","format":"uri"}}},"ProcurementCompanyDTO":{"type":"object","properties":{"city":{"type":"string","description":"Municipio sede para logistica e fisco.","x-ui":{"controlType":"input","editable":true,"icon":"location_city","iconPosition":"left","label":"Cidade","name":"city","order":"40","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"text"}},"code":{"type":"string","description":"Codigo interno ou de integracao (ERP, filial).","x-ui":{"controlType":"input","editable":true,"icon":"tag","iconPosition":"left","label":"Codigo","name":"code","order":"10","quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}},"disabledReason":{"type":"string","description":"Texto de auditoria quando status impede novos pedidos ou contratos.","x-ui":{"controlType":"input","editable":true,"icon":"notes","iconPosition":"left","label":"Motivo de bloqueio","name":"disabledReason","order":"70","sortable":true,"type":"text"}},"documentNumber":{"type":"string","description":"CNPJ ou documento equivalente; usado em compliance e nota.","x-ui":{"controlType":"input","editable":true,"icon":"fingerprint","iconPosition":"left","label":"Documento","name":"documentNumber","order":"30","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text"}},"id":{"type":"integer","description":"Identificador da empresa compradora no procurement; referencia contratos, fornecedores, produtos e pedidos relacionados.","format":"int32"},"legalName":{"type":"string","description":"Razao social ou nome comercial legal.","x-ui":{"controlType":"input","editable":true,"icon":"business","iconPosition":"left","label":"Razao social","name":"legalName","order":"20","required":true,"requiredMessage":"Razao social é obrigatório","resourceReference":{"resourceKey":"procurement.companies","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"state":{"type":"string","description":"Unidade federativa (sigla).","x-ui":{"controlType":"input","editable":true,"icon":"map","iconPosition":"left","label":"UF","name":"state","order":"50","quickViewOrder":5,"quickViewVisible":true,"sortable":true,"type":"text"}},"status":{"type":"string","description":"Elegibilidade em compras (ACTIVE, INACTIVE, BLOCKED).","x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","order":"60","quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Empresa compradora cadastrada para abastecimento e contratos, com identificacao fiscal, localidade, status de elegibilidade e motivo de bloqueio quando aplicavel."},"ProcurementCompanyFilterDTO":{"type":"object","properties":{"documentNumber":{"type":"string","description":"Trecho do CNPJ, CPF ou identificador cadastral equivalente, aceitando formatacao livre na busca.","x-ui":{"controlType":"input","editable":true,"helpText":"Busca por CNPJ, CPF ou outro identificador cadastral.","icon":"fingerprint","iconPosition":"left","label":"Documento","name":"documentNumber","order":"20","sortable":true,"type":"text"}},"legalName":{"type":"string","description":"Trecho da razao social ou nome comercial usado para localizar a empresa compradora.","x-ui":{"controlType":"input","editable":true,"helpText":"Busca empresas pelo nome legal ou comercial.","icon":"business","iconPosition":"left","label":"Razão social","name":"legalName","order":"10","sortable":true,"type":"text"}},"status":{"type":"string","description":"Situacao cadastral ou habilitacao da empresa para compras, conforme catalogo de status do procurement.","x-ui":{"controlType":"select","editable":true,"helpText":"Filtra empresas conforme situação cadastral ou habilitação.","icon":"toggle_on","iconPosition":"left","label":"Status da empresa","name":"status","order":"30","sortable":true,"type":"text"}}},"description":"Criterios de busca em empresas legais (entidade de compras; nao e a empresa a editar so por filtrar). Usado para localizar empresas compradoras por nome, documento fiscal e situacao cadastral."},"ProcurementContractDTO":{"type":"object","properties":{"companyId":{"type":"integer","description":"FK; empresa compradora (companyId).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/procurement/companies/option-sources/company/options/filter","icon":"business","iconPosition":"left","label":"Empresa","name":"companyId","order":"10","resourceReference":{"resourceKey":"procurement.companies","surfaceId":"detail","valueField":"companyId"},"sortable":true,"type":"number","valueField":"id"}},"currency":{"type":"string","description":"Codigo ISO da moeda do contrato (ex. BRL, USD).","x-ui":{"controlType":"input","editable":true,"icon":"payments","iconPosition":"left","label":"Moeda","name":"currency","order":"50","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text"}},"disabledReason":{"type":"string","description":"Motivacao de bloqueio ou suspensao para auditoria.","x-ui":{"controlType":"input","editable":true,"icon":"notes","iconPosition":"left","label":"Motivo de bloqueio","name":"disabledReason","order":"80","sortable":true,"type":"text"}},"id":{"type":"integer","description":"Identificador do contrato de fornecimento; referencia produtos, pedidos e relacionamentos de procurement.","format":"int32"},"number":{"type":"string","description":"Numero legal do contrato ou aditivo mestre.","x-ui":{"controlType":"input","editable":true,"icon":"pin","iconPosition":"left","label":"Numero","name":"number","order":"30","required":true,"requiredMessage":"Numero é obrigatório","resourceReference":{"resourceKey":"procurement.contracts","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"status":{"type":"string","description":"Ciclo de vida do contrato (ativo, inativo, bloqueado, etc.).","x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","order":"70","quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}},"supplierId":{"type":"integer","description":"FK; fornecedor contratado (supplierId).","format":"int32","x-ui":{"controlType":"entityLookup","dependentField":"companyId","displayField":"label","editable":true,"endpoint":"/api/procurement/suppliers/option-sources/supplier/options/filter","icon":"storefront","iconPosition":"left","label":"Fornecedor","name":"supplierId","order":"20","resetOnDependentChange":true,"sortable":true,"type":"number","valueField":"id"}},"supplierName":{"type":"string","description":"Nome do fornecedor denormalizado para listagem e busca (read model).","x-ui":{"controlType":"input","editable":true,"icon":"storefront","iconPosition":"left","label":"Fornecedor","name":"supplierName","order":"40","quickViewOrder":2,"quickViewVisible":true,"resourceReference":{"resourceKey":"procurement.suppliers","surfaceId":"detail","valueField":"supplierId"},"sortable":true,"type":"text"}},"validUntil":{"type":"string","description":"Fim de vigencia; precos e pedidos obedecem a esta data.","format":"date","x-ui":{"controlType":"date","editable":true,"icon":"event","iconPosition":"left","label":"Valido ate","name":"validUntil","order":"60","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"date"}}}},"description":"Contrato de fornecimento que governa compras entre empresa e fornecedor, incluindo numero legal, moeda, vigencia, status e bloqueios operacionais."},"ProcurementContractFilterDTO":{"type":"object","properties":{"companyId":{"type":"integer","description":"Empresa compradora contratante vinculada ao contrato de fornecimento.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/procurement/companies/option-sources/company/options/filter","helpText":"Filtra contratos vinculados a uma empresa compradora.","icon":"business","iconPosition":"left","label":"Empresa contratante","name":"companyId","order":"10","sortable":true,"type":"number","valueField":"id"}},"currency":{"type":"string","description":"Codigo ISO da moeda contratual usada para precos, pedidos e conciliacao.","x-ui":{"controlType":"input","editable":true,"helpText":"Filtra por código de moeda do contrato, como BRL ou USD.","icon":"payments","iconPosition":"left","label":"Moeda","name":"currency","order":"50","sortable":true,"type":"text"}},"number":{"type":"string","description":"Trecho do numero legal, codigo ou referencia interna do contrato.","x-ui":{"controlType":"input","editable":true,"helpText":"Busca por número, código ou referência do contrato.","icon":"tag","iconPosition":"left","label":"Número do contrato","name":"number","order":"30","sortable":true,"type":"text"}},"status":{"type":"string","description":"Status do ciclo de vida do contrato, como rascunho, ativo, suspenso ou encerrado.","x-ui":{"controlType":"select","editable":true,"helpText":"Filtra contratos por ciclo de vida, como rascunho, ativo ou encerrado.","icon":"toggle_on","iconPosition":"left","label":"Status do contrato","name":"status","order":"40","sortable":true,"type":"text"}},"supplierId":{"type":"integer","description":"Fornecedor contratado ao qual o contrato de fornecimento esta vinculado.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","dependentField":"companyId","displayField":"label","editable":true,"endpoint":"/api/procurement/suppliers/option-sources/supplier/options/filter","helpText":"Mostra contratos firmados com um fornecedor específico.","icon":"storefront","iconPosition":"left","label":"Fornecedor","name":"supplierId","order":"20","resetOnDependentChange":true,"sortable":true,"type":"number","valueField":"id"}}},"description":"Criterios de busca em contratos de compra (nao e o contrato a ajustar so com filtrar). Usado para navegar contratos por empresa, fornecedor, numero, status e moeda."},"ProcurementContractWorkflowRequestDTO":{"type":"object","properties":{"motivo":{"maxLength":500,"minLength":0,"type":"string","description":"Justificativa de negocio, compliance ou auditoria para explicar a decisao sobre o contrato.","x-ui":{"controlType":"textarea","editable":true,"icon":"notes","iconPosition":"left","label":"Motivo","maxLength":"500","maxLengthMessage":"Motivo deve ter no máximo 500 caracteres","name":"motivo","order":"10","sortable":true,"type":"text"}}},"description":"Comando de ciclo de vida para assinar, suspender ou reativar contrato de fornecimento."},"ProcurementContractWorkflowResultDTO":{"type":"object","properties":{"contractNumber":{"type":"string","description":"Numero legal ou operacional do contrato de fornecimento."},"id":{"type":"integer","description":"Identificador do contrato afetado pela decisao.","format":"int32"},"mensagem":{"type":"string","description":"Mensagem amigavel para operador, cockpit e consumidores semanticos."},"motivo":{"type":"string","description":"Justificativa registrada para auditoria da decisao."},"statusAnterior":{"type":"string","description":"Status do contrato antes da decisao."},"statusAtual":{"type":"string","description":"Status do contrato apos a persistencia da decisao."},"supplierName":{"type":"string","description":"Nome do fornecedor vinculado ao contrato."}},"description":"Resultado da decisao de ciclo de vida do contrato, incluindo status anterior, status atual e justificativa operacional."},"ProcurementProductDTO":{"type":"object","properties":{"categoryName":{"type":"string","description":"Categoria de linha para aprovacoes e relatorios.","x-ui":{"controlType":"input","editable":true,"icon":"category","iconPosition":"left","label":"Categoria","name":"categoryName","order":"50","quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"text"}},"companyId":{"type":"integer","description":"FK; tenant ou empresa detentora do catalogo (companyId).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/procurement/companies/option-sources/company/options/filter","icon":"business","iconPosition":"left","label":"Empresa","name":"companyId","order":"10","resourceReference":{"resourceKey":"procurement.companies","surfaceId":"detail","valueField":"companyId"},"sortable":true,"type":"number","valueField":"id"}},"contractId":{"type":"integer","description":"FK; contrato que rege preco e disponibilidade (contractId).","format":"int32","x-ui":{"controlType":"entityLookup","dependentField":"companyId","displayField":"label","editable":true,"endpoint":"/api/procurement/contracts/option-sources/contract/options/filter","icon":"contract","iconPosition":"left","label":"Contrato","name":"contractId","order":"20","resetOnDependentChange":true,"resourceReference":{"resourceKey":"procurement.contracts","surfaceId":"detail","valueField":"contractId"},"sortable":true,"type":"number","valueField":"id"}},"disabledReason":{"type":"string","description":"Explicacao quando o item nao pode ser requisitado.","x-ui":{"controlType":"input","editable":true,"icon":"notes","iconPosition":"left","label":"Motivo de bloqueio","name":"disabledReason","order":"90","sortable":true,"type":"text"}},"id":{"type":"integer","description":"Identificador do item de catalogo; referencia linhas de pedido, contrato vigente e relacionamentos de procurement.","format":"int32"},"name":{"type":"string","description":"Denominacao comercial exibida em compras e recebimento.","x-ui":{"controlType":"input","editable":true,"icon":"inventory_2","iconPosition":"left","label":"Produto","name":"name","order":"40","required":true,"requiredMessage":"Produto é obrigatório","resourceReference":{"resourceKey":"procurement.products","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"sku":{"type":"string","description":"Codigo de item alfanumerico (pedido, XML, conciliacao).","x-ui":{"controlType":"input","editable":true,"icon":"inventory_2","iconPosition":"left","label":"SKU","name":"sku","order":"30","quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"SKU é obrigatório","sortable":true,"type":"text"}},"status":{"type":"string","description":"Elegibilidade do item (ativo, inativo, bloqueado, etc.).","x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","order":"80","quickViewOrder":5,"quickViewVisible":true,"sortable":true,"type":"text"}},"stockAvailable":{"type":"integer","description":"Quantidade disponivel na unidade de medida do item (saldos de demonstracao).","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"inventory_2","iconPosition":"left","label":"Estoque","name":"stockAvailable","order":"60","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"unitOfMeasure":{"type":"string","description":"Unidade de medida (ex. UN, CX); amarra a quantidade de pedido.","x-ui":{"controlType":"input","editable":true,"icon":"inventory_2","iconPosition":"left","label":"Unidade","name":"unitOfMeasure","order":"70","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Item de catalogo de compras vinculado a empresa e contrato, com SKU, categoria, estoque disponivel, unidade de medida e elegibilidade para requisicao."},"ProcurementProductFilterDTO":{"type":"object","properties":{"companyId":{"type":"integer","description":"Empresa compradora proprietaria ou escopo do item de catalogo.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/procurement/companies/option-sources/company/options/filter","helpText":"Filtra itens do catálogo por empresa compradora.","icon":"business","iconPosition":"left","label":"Empresa","name":"companyId","order":"10","sortable":true,"type":"number","valueField":"id"}},"contractId":{"type":"integer","description":"Contrato que rege disponibilidade, preco e condicoes do item.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","dependentField":"companyId","displayField":"label","editable":true,"endpoint":"/api/procurement/contracts/option-sources/contract/options/filter","helpText":"Mostra produtos ou serviços associados a um contrato específico.","icon":"contract","iconPosition":"left","label":"Contrato","name":"contractId","order":"20","resetOnDependentChange":true,"sortable":true,"type":"number","valueField":"id"}},"name":{"type":"string","description":"Trecho do nome comercial, denominacao tecnica ou SKU do produto ou servico.","x-ui":{"controlType":"input","editable":true,"helpText":"Busca por nome comercial, técnico ou SKU do item.","icon":"inventory_2","iconPosition":"left","label":"Produto ou serviço","name":"name","order":"30","sortable":true,"type":"text"}},"status":{"type":"string","description":"Status de elegibilidade do item, como ativo, inativo, bloqueado ou descontinuado.","x-ui":{"controlType":"select","editable":true,"helpText":"Filtra itens ativos, inativos ou descontinuados.","icon":"toggle_on","iconPosition":"left","label":"Status do item","name":"status","order":"40","sortable":true,"type":"text"}}},"description":"Criterios de busca no catalogo de produtos/ itens de contrato (sku, servico); nao e o item a persistir so por filtrar. Usado para localizar itens por empresa, contrato, denominacao e elegibilidade para requisicao."},"ProcurementPurchaseOrderDTO":{"type":"object","properties":{"approvedAt":{"type":"string","description":"Data em que o pedido foi aprovado para execucao operacional.","format":"date","x-ui":{"controlType":"date","editable":true,"icon":"verified","iconPosition":"left","label":"Aprovado em","name":"approvedAt","order":"100","quickViewOrder":5,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"cancelledAt":{"type":"string","description":"Data em que o pedido foi cancelado e retirado do fluxo de compra.","format":"date","x-ui":{"controlType":"date","editable":true,"icon":"cancel","iconPosition":"left","label":"Cancelado em","name":"cancelledAt","order":"110","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"companyId":{"type":"integer","description":"Empresa compradora; filtra fornecedores, contratos e regras fiscais aplicaveis.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/procurement/companies/option-sources/company/options/filter","icon":"business","iconPosition":"left","label":"Empresa","name":"companyId","order":"10","required":true,"requiredMessage":"Empresa é obrigatório","resourceReference":{"resourceKey":"procurement.companies","surfaceId":"detail","valueField":"companyId"},"sortable":true,"type":"number","valueField":"id"}},"contractId":{"type":"integer","description":"Contrato de abastecimento com o fornecedor, quando a politica de compra exigir vinculacao legal.","format":"int32","x-ui":{"controlType":"entityLookup","dependentField":"supplierId","displayField":"label","editable":true,"endpoint":"/api/procurement/contracts/option-sources/contract/options/filter","icon":"contract","iconPosition":"left","label":"Contrato","name":"contractId","order":"30","resetOnDependentChange":true,"resourceReference":{"resourceKey":"procurement.contracts","surfaceId":"detail","valueField":"contractId"},"sortable":true,"type":"number","valueField":"id"}},"currency":{"type":"string","description":"Codigo ISO da moeda do pedido (ex. BRL, USD), alinhado a regras de arredondamento do ERP.","x-ui":{"controlType":"input","editable":true,"icon":"payments","iconPosition":"left","label":"Moeda","name":"currency","order":"60","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"text"}},"disabledReason":{"type":"string","description":"Motivo que explica por que o pedido deixou de estar elegivel para execucao.","x-ui":{"controlType":"textarea","editable":true,"icon":"notes","iconPosition":"left","label":"Motivo de bloqueio","name":"disabledReason","order":"90","sortable":true,"type":"text"}},"id":{"type":"integer","description":"Identificador do pedido de compra.","format":"int32","example":1,"x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"icon":"receipt_long","iconPosition":"left","label":"Pedido","name":"id","order":"1","readOnly":true,"resourceReference":{"resourceKey":"procurement.purchase-orders","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"orderDate":{"type":"string","description":"Data de emissao do pedido; ancora a competencia de estoque e faturamento.","format":"date","x-ui":{"controlType":"date","editable":true,"icon":"event","iconPosition":"left","label":"Data do pedido","name":"orderDate","order":"50","quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"productId":{"type":"integer","description":"Item de catalogo a adquirir, respeitando precos e unidades do contrato.","format":"int32","x-ui":{"controlType":"entityLookup","dependentField":"contractId","displayField":"label","editable":true,"endpoint":"/api/procurement/products/option-sources/product/options/filter","icon":"inventory_2","iconPosition":"left","label":"Produto","name":"productId","order":"40","required":true,"requiredMessage":"Produto é obrigatório","resetOnDependentChange":true,"resourceReference":{"resourceKey":"procurement.products","surfaceId":"detail","valueField":"productId"},"sortable":true,"type":"number","valueField":"id"}},"quantity":{"type":"integer","description":"Quantidade encomendada na unidade de medida do produto, sujeita a minimo e multiplos de embalagem.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"format_list_numbered","iconPosition":"left","label":"Quantidade","name":"quantity","order":"70","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"receivedAt":{"type":"string","description":"Data em que o pedido foi recebido, materializando fechamento do fluxo de suprimentos.","format":"date","x-ui":{"controlType":"date","editable":true,"icon":"inventory","iconPosition":"left","label":"Recebido em","name":"receivedAt","order":"120","quickViewOrder":6,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"status":{"type":"string","description":"Estado operacional do pedido no ciclo de suprimentos: rascunho, aprovado, cancelado ou recebido.","x-ui":{"controlType":"select","editable":true,"icon":"published_with_changes","iconPosition":"left","label":"Status do pedido","name":"status","order":"80","quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}},"supplierId":{"type":"integer","description":"Fornecedor (lookup governado: apenas fornecedores ativos/homologados no contexto da empresa).","format":"int32","x-ui":{"controlType":"entityLookup","dependentField":"companyId","description":"Lookup governado pela option-source supplier: apenas fornecedores ACTIVE ou APPROVED podem ser selecionados; INACTIVE e BLOCKED ficam indisponiveis.","displayField":"label","editable":true,"endpoint":"/api/procurement/suppliers/option-sources/supplier/options/filter","icon":"storefront","iconPosition":"left","label":"Fornecedor","name":"supplierId","order":"20","required":true,"requiredMessage":"Fornecedor é obrigatório","resetOnDependentChange":true,"resourceReference":{"resourceKey":"procurement.suppliers","surfaceId":"detail","valueField":"supplierId"},"sortable":true,"type":"number","valueField":"id"}}},"description":"Pedido de compra: empresa, fornecedor, contrato, produto, quantidade e data. Cadeia depende de fornecedores e contratos homologados."},"ProcurementPurchaseOrderFilterDTO":{"type":"object","properties":{"companyId":{"type":"integer","description":"Empresa compradora que emitiu ou administra o pedido de compra.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/procurement/companies/option-sources/company/options/filter","helpText":"Filtra pedidos de compra emitidos por uma empresa.","icon":"business","iconPosition":"left","label":"Empresa compradora","name":"companyId","order":"10","sortable":true,"type":"number","valueField":"id"}},"contractId":{"type":"integer","description":"Contrato base que governa condicoes comerciais do pedido.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","dependentField":"supplierId","displayField":"label","editable":true,"endpoint":"/api/procurement/contracts/option-sources/contract/options/filter","helpText":"Filtra pedidos vinculados a um contrato base.","icon":"contract","iconPosition":"left","label":"Contrato","name":"contractId","order":"30","resetOnDependentChange":true,"sortable":true,"type":"number","valueField":"id"}},"productId":{"type":"integer","description":"Produto ou servico requisitado pelo pedido de compra.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","dependentField":"contractId","displayField":"label","editable":true,"endpoint":"/api/procurement/products/option-sources/product/options/filter","helpText":"Filtra pedidos que incluem um produto ou serviço específico.","icon":"inventory_2","iconPosition":"left","label":"Produto ou serviço","name":"productId","order":"40","resetOnDependentChange":true,"sortable":true,"type":"number","valueField":"id"}},"status":{"type":"string","description":"Estado operacional do pedido no fluxo de suprimentos: DRAFT, APPROVED, CANCELLED ou RECEIVED.","x-ui":{"controlType":"select","editable":true,"helpText":"Filtra pedidos por etapa do ciclo de compra: rascunho, aprovado, cancelado ou recebido.","icon":"published_with_changes","iconPosition":"left","label":"Status do pedido","name":"status","order":"50","sortable":true,"type":"text"}},"supplierId":{"type":"integer","description":"Fornecedor destinatario ou contratado no pedido de compra.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","dependentField":"companyId","displayField":"label","editable":true,"endpoint":"/api/procurement/suppliers/option-sources/supplier/options/filter","helpText":"Mostra pedidos de compra direcionados a um fornecedor específico.","icon":"storefront","iconPosition":"left","label":"Fornecedor","name":"supplierId","order":"20","resetOnDependentChange":true,"sortable":true,"type":"number","valueField":"id"}}},"description":"Criterios de busca em pedidos de compra (PO); nao e o PO a editar so com filtrar. Usado para localizar pedidos por empresa compradora, fornecedor, contrato base e item requisitado."},"ProcurementPurchaseOrderWorkflowRequestDTO":{"type":"object","properties":{"motivo":{"maxLength":500,"minLength":0,"type":"string","description":"Justificativa de negocio, compliance ou auditoria para explicar a decisao sobre o pedido.","x-ui":{"controlType":"textarea","editable":true,"icon":"notes","iconPosition":"left","label":"Motivo","maxLength":"500","maxLengthMessage":"Motivo deve ter no máximo 500 caracteres","name":"motivo","order":"10","sortable":true,"type":"text"}}},"description":"Comando de ciclo de vida para aprovar, cancelar ou receber pedido de compra."},"ProcurementPurchaseOrderWorkflowResultDTO":{"type":"object","properties":{"approvedAt":{"type":"string","description":"Data em que o pedido foi aprovado.","format":"date"},"cancelledAt":{"type":"string","description":"Data em que o pedido foi cancelado.","format":"date"},"contractId":{"type":"integer","description":"Contrato que governa o pedido, quando existir.","format":"int32"},"id":{"type":"integer","description":"Identificador do pedido afetado pela decisao.","format":"int32"},"mensagem":{"type":"string","description":"Mensagem amigavel para operador, cockpit e consumidores semanticos."},"motivo":{"type":"string","description":"Justificativa registrada para auditoria da decisao."},"productId":{"type":"integer","description":"Produto solicitado pelo pedido.","format":"int32"},"receivedAt":{"type":"string","description":"Data em que o pedido foi recebido.","format":"date"},"statusAnterior":{"type":"string","description":"Status do pedido antes da decisao."},"statusAtual":{"type":"string","description":"Status do pedido apos a persistencia da decisao."},"supplierId":{"type":"integer","description":"Fornecedor vinculado ao pedido.","format":"int32"}},"description":"Resultado da decisao de ciclo de vida do pedido, incluindo status anterior, status atual, datas operacionais e justificativa."},"ProcurementSupplierDTO":{"type":"object","properties":{"code":{"type":"string","description":"Codigo unico alfanumerico usado em pedidos, XML e conciliacoes fiscais.","example":"FORN-00042","x-ui":{"controlType":"input","editable":true,"icon":"tag","iconPosition":"left","label":"Codigo","name":"code","order":"20","quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}},"companyId":{"type":"integer","description":"Tenant ou empresa a que o cadastro de fornecedor se subordina em compras multibase.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/procurement/companies/option-sources/company/options/filter","icon":"business","iconPosition":"left","label":"Empresa","name":"companyId","order":"10","resourceReference":{"resourceKey":"procurement.companies","surfaceId":"detail","valueField":"companyId"},"sortable":true,"type":"number","valueField":"id"}},"disabledReason":{"type":"string","description":"Justificativa de compliance ou risco associada a bloqueio; visivel a auditores, nao a compradores de rotina em alguns perfis.","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"allow"},"annotationType":"compliance","classification":"internal","complianceTags":["INTERNAL_POLICY","REGULATORY"],"confidence":1.0,"dataCategory":"legal","reason":"Motivo documental para bloqueio do fornecedor.","source":"java.annotation"},"x-ui":{"controlType":"input","editable":true,"icon":"notes","iconPosition":"left","label":"Motivo de bloqueio","name":"disabledReason","order":"80","sortable":true,"type":"text"}},"documentNumber":{"type":"string","description":"CNPJ, CPF ou outro registro legal conforme a politica de cadastro; dado sensiveis para KYC e fisco.","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"personal","reason":"Documento de identificacao cadastral do fornecedor.","source":"java.annotation"},"x-ui":{"controlType":"input","editable":true,"icon":"fingerprint","iconPosition":"left","label":"Documento","name":"documentNumber","order":"40","quickViewOrder":5,"quickViewVisible":true,"sortable":true,"type":"text"}},"homologationStatus":{"type":"string","description":"Estagio de aprovacao no processo de sourcing (PENDING, APPROVED, etc., conforme enum/tabela de negocio).","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"allow"},"annotationType":"compliance","classification":"internal","complianceTags":["INTERNAL_POLICY","REGULATORY"],"confidence":1.0,"dataCategory":"legal","reason":"Homologacao necessaria para compras governadas.","source":"java.annotation"},"x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Homologacao","name":"homologationStatus","order":"50","quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"text"}},"id":{"type":"integer","description":"Identificador do fornecedor no modulo de procurement.","format":"int32","example":1},"legalName":{"type":"string","description":"Razao social ou denominacao completa para contratos, cartas de homologacao e notas fiscais.","x-ui":{"controlType":"input","editable":true,"icon":"business","iconPosition":"left","label":"Razao social","name":"legalName","order":"30","required":true,"requiredMessage":"Razao social é obrigatório","resourceReference":{"resourceKey":"procurement.suppliers","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"riskLevel":{"type":"string","description":"Categoria de risco de terceiro; impacta aprovacoes, limites de pedido e monitoramento.","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"summarize_only"},"annotationType":"security","classification":"confidential","complianceTags":["INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"operational","reason":"Nivel de risco operacional do fornecedor.","source":"java.annotation"},"x-ui":{"controlType":"select","editable":true,"icon":"warning","iconPosition":"left","label":"Risco","name":"riskLevel","order":"60","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text"}},"status":{"type":"string","description":"Elegibilidade geral (ACTIVE, INACTIVE, BLOCKED); bloqueia novos pedidos quando aplicavel.","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"allow"},"annotationType":"compliance","classification":"internal","complianceTags":["INTERNAL_POLICY","REGULATORY"],"confidence":1.0,"dataCategory":"legal","reason":"Status que governa elegibilidade do fornecedor para compras.","source":"java.annotation"},"x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","order":"70","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Fornecedor homologavel para compras: vinculo a empresa, documento, risco e bloqueio. Governanca de dados pessoais e compliance em entidades reguladas."},"ProcurementSupplierFilterDTO":{"type":"object","properties":{"companyId":{"type":"integer","description":"Empresa compradora para a qual o fornecedor esta cadastrado ou homologado.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/procurement/companies/option-sources/company/options/filter","helpText":"Filtra fornecedores habilitados para uma empresa específica.","icon":"business","iconPosition":"left","label":"Empresa compradora","name":"companyId","order":"10","sortable":true,"type":"number","valueField":"id"}},"homologationStatus":{"type":"string","description":"Estagio de qualificacao ou aprovacao do fornecedor no processo de homologacao.","x-ui":{"controlType":"select","editable":true,"helpText":"Filtra fornecedores por etapa de qualificação ou aprovação.","icon":"verified","iconPosition":"left","label":"Status de homologação","name":"homologationStatus","order":"40","sortable":true,"type":"text"}},"legalName":{"type":"string","description":"Trecho da razao social ou nome comercial usado para localizar o fornecedor.","x-ui":{"controlType":"input","editable":true,"helpText":"Busca fornecedores pelo nome legal ou comercial.","icon":"business","iconPosition":"left","label":"Razão social","name":"legalName","order":"20","sortable":true,"type":"text"}},"status":{"type":"string","description":"Status operacional do fornecedor, usado para separar fornecedores ativos, inativos ou bloqueados.","x-ui":{"controlType":"select","editable":true,"helpText":"Mostra fornecedores conforme situação operacional no cadastro.","icon":"toggle_on","iconPosition":"left","label":"Status do fornecedor","name":"status","order":"30","sortable":true,"type":"text"}}},"description":"Criterios de busca em fornecedores (master data de supply); nao e o cadastro a mutar so por filtrar. Usado para localizar fornecedores por empresa, razao social, status operacional e homologacao."},"ProcurementSupplierWorkflowRequestDTO":{"type":"object","properties":{"motivo":{"maxLength":500,"minLength":0,"type":"string","description":"Justificativa de compliance, risco ou auditoria para explicar a mudanca de elegibilidade do fornecedor.","x-ui":{"controlType":"textarea","editable":true,"icon":"notes","iconPosition":"left","label":"Motivo","maxLength":"500","maxLengthMessage":"Motivo deve ter no máximo 500 caracteres","name":"motivo","order":"10","sortable":true,"type":"text"}}},"description":"Comando de governanca para bloquear ou reabilitar fornecedor, preservando a justificativa operacional da decisao."},"ProcurementSupplierWorkflowResultDTO":{"type":"object","properties":{"id":{"type":"integer","description":"Identificador do fornecedor afetado pela decisao.","format":"int32"},"legalName":{"type":"string","description":"Razao social do fornecedor para leitura humana em auditoria e cockpit."},"mensagem":{"type":"string","description":"Mensagem amigavel para operador, cockpit e consumidores semanticos."},"motivo":{"type":"string","description":"Justificativa registrada para explicar bloqueio ou reabilitacao."},"statusAnterior":{"type":"string","description":"Status de elegibilidade antes da decisao."},"statusAtual":{"type":"string","description":"Status de elegibilidade apos a persistencia da decisao."},"supplierCode":{"type":"string","description":"Codigo operacional do fornecedor usado em pedidos, contratos e conciliacoes."}},"description":"Resultado da decisao de elegibilidade do fornecedor, incluindo status anterior, status atual, motivo e mensagem operacional."},"PublicationResult":{"type":"object","properties":{"generation":{"type":"integer","description":"Geração retornada pelo controle canônico, sem tentativa automática em caso de conflito.","format":"int64"},"operationId":{"type":"string","description":"Identidade fixa da operação básica de alteração uniforme de participantes da missão."},"state":{"type":"string","description":"READY para publicação/reconciliação concluída; SUSPENDED para suspensão concluída. Não concede autorização de negócio."}},"description":"Resultado do comando completo, sem permissões ou fotografia interna. O estado pode mudar após o retorno."},"PublicationStatus":{"type":"object","properties":{"attempt":{"type":"integer","format":"int32"},"completedAt":{"type":"string"},"expectedDocumentCount":{"type":"integer","format":"int64"},"failureKind":{"type":"string"},"publishedDocumentCount":{"type":"integer","format":"int64"},"requestedAt":{"type":"string"},"retryAfter":{"type":"string"},"retryable":{"type":"boolean"},"revision":{"type":"integer","format":"int64"},"startedAt":{"type":"string"},"status":{"type":"string"},"updatedAt":{"type":"string"}}},"Published":{"type":"object","allOf":[{"$ref":"#/components/schemas/PageSourceReference"},{"type":"object","properties":{"pageId":{"type":"string","format":"uuid"},"releaseId":{"type":"string","format":"uuid"},"revisionId":{"type":"string","format":"uuid"}}}]},"PublishedPageResponse":{"required":["copySource"],"type":"object","properties":{"contextVersion":{"type":"string"},"copySource":{"$ref":"#/components/schemas/Published"},"document":{"$ref":"#/components/schemas/JsonNode"},"head":{"$ref":"#/components/schemas/UiLayoutReleaseHeadReceipt"},"pageId":{"type":"string","format":"uuid"},"receiptEtag":{"type":"string"},"resolvedAt":{"type":"string","format":"date-time"},"route":{"type":"string"},"schemaVersion":{"type":"string"}}},"PublishedRuleSnapshot":{"type":"object","properties":{"approvals":{"type":"array","items":{"$ref":"#/components/schemas/RuleSnapshotApproval"}},"environment":{"type":"string"},"ownerServiceKey":{"type":"string"},"publicationRevision":{"type":"integer","format":"int32"},"publishedAtUtc":{"type":"string"},"requiredHostContractVersion":{"type":"string"},"ruleSet":{"$ref":"#/components/schemas/RuleSetDefinition"},"snapshotContractVersion":{"type":"string"},"snapshotKey":{"type":"string"},"sources":{"type":"array","items":{"$ref":"#/components/schemas/RuleSnapshotSource"}},"supersedesSnapshotKey":{"type":"string"},"tenantId":{"type":"string"},"validFromUtc":{"type":"string"},"validUntilUtc":{"type":"string"}},"description":"Historically verified immutable content retained as published. Retrieval does not establish current runtime compatibility or implementation-catalog admission."},"RagCorpusReleaseStatus":{"type":"object","properties":{"available":{"type":"boolean"},"chunkKindCounts":{"type":"object","additionalProperties":{"type":"integer","format":"int64"}},"documentCount":{"type":"integer","format":"int64"},"environment":{"type":"string"},"expectedChunkCount":{"type":"integer","format":"int64"},"latestPublishedAt":{"type":"string"},"reconciled":{"type":"boolean"},"releaseId":{"type":"string"},"sourceCount":{"type":"integer","format":"int32"},"sources":{"type":"array","items":{"$ref":"#/components/schemas/SourceStatus"}},"tenantId":{"type":"string"},"visibilityCounts":{"type":"object","additionalProperties":{"type":"integer","format":"int64"}},"warnings":{"type":"array","items":{"type":"string"}}}},"RegistryReindexResult":{"type":"object","properties":{"componentCount":{"type":"integer","format":"int32"},"components":{"type":"array","items":{"$ref":"#/components/schemas/ComponentPublicationStatus"}},"corpusStatus":{"$ref":"#/components/schemas/RagCorpusReleaseStatus"},"environment":{"type":"string"},"expectedChunkCount":{"type":"integer","format":"int64"},"publishedChunkCount":{"type":"integer","format":"int64"},"registryVersion":{"type":"string"},"releaseId":{"type":"string"},"tenantId":{"type":"string"}}},"RejectEventoFolhaRequestDTO":{"required":["comment","effectiveAt","precondicoesFolhas","reasonCode"],"type":"object","properties":{"comment":{"maxLength":1000,"minLength":0,"type":"string","description":"Justificativa contextual da divergência encontrada, preservada na trilha auditável do evento.","x-ui":{"controlType":"textarea","editable":true,"iconPosition":"left","label":"Comentário","maxLength":"1000","maxLengthMessage":"Comentário deve ter no máximo 1000 caracteres","name":"comment","order":"30","required":true,"requiredMessage":"Comentário é obrigatório","sortable":true,"type":"text"}},"effectiveAt":{"type":"string","description":"Data a partir da qual a rejeição deve ser considerada no processo de conferência da competência.","format":"date","x-ui":{"controlType":"date","editable":true,"iconPosition":"left","label":"Data efetiva","name":"effectiveAt","order":"10","required":true,"requiredMessage":"Data efetiva é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"precondicoesFolhas":{"minItems":1,"type":"array","description":"Precondição exata da folha atual do evento.","items":{"$ref":"#/components/schemas/PayrollParentPreconditionDTO"},"x-ui":{"array":{"deleteMode":"removeFromPayload","itemSchemaRef":"#/components/schemas/PayrollParentPreconditionDTO","itemType":"object","minItems":1,"mode":"cards"},"controlType":"array","editable":true,"formHidden":true,"group":"Controle de concorrência","iconPosition":"left","label":"Precondições das folhas","name":"precondicoesFolhas","order":"90","required":true,"requiredMessage":"Precondições das folhas é obrigatório","sortable":true,"submitPolicy":"include","tableHidden":true,"type":"array"}},"reasonCode":{"maxLength":120,"minLength":0,"type":"string","description":"Código de negócio que classifica a causa da rejeição para reconciliação e auditoria.","x-ui":{"controlType":"input","editable":true,"iconPosition":"left","label":"Código do motivo","maxLength":"120","maxLengthMessage":"Código do motivo deve ter no máximo 120 caracteres","name":"reasonCode","order":"20","required":true,"requiredMessage":"Código do motivo é obrigatório","sortable":true,"type":"text"}}},"description":"Decisão de rejeição de um evento de folha pendente. A ação impede que a rubrica integre o fechamento até tratamento posterior; não é uma edição comum do lançamento."},"RelatedResourceSurface":{"type":"object","properties":{"childOperations":{"type":"array","items":{"type":"string","enum":["FILTER","LIST","CREATE","UPDATE","DELETE","DUPLICATE_DRAFT"]}},"childParentField":{"type":"string"},"childResourceKey":{"type":"string"},"childResourcePath":{"type":"string"},"parentIdPathVariable":{"type":"string"},"parentResourceKey":{"type":"string"},"selectable":{"type":"boolean"},"selectionKeyField":{"type":"string"}}},"RelationSummary":{"type":"object","properties":{"cardinality":{"type":"string"},"field":{"type":"string"},"targetSchema":{"type":"string"}}},"RenewLicencasOperacaoDTO":{"required":["nivel","validoDe"],"type":"object","properties":{"nivel":{"type":"string","description":"Nivel requerido apos aprovacao; LicencaNivel.","enum":["LOCAL","NACIONAL","GLOBAL","EXTRATERRESTRE"],"x-ui":{"controlType":"select","editable":true,"icon":"trending_up","iconPosition":"left","label":"Nivel","name":"nivel","options":[{"value":"LOCAL","label":"LOCAL"},{"value":"NACIONAL","label":"NACIONAL"},{"value":"GLOBAL","label":"GLOBAL"},{"value":"EXTRATERRESTRE","label":"EXTRATERRESTRE"}],"order":"10","required":true,"requiredMessage":"Nivel é obrigatório","sortable":true,"type":"text"}},"validoAte":{"type":"string","description":"Fim do periodo; nulo se a renovacao ainda nao tiver teto (politica do tenant).","format":"date","x-ui":{"controlType":"date","editable":true,"icon":"event","iconPosition":"left","label":"Valido Ate","name":"validoAte","order":"30","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"validoDe":{"type":"string","description":"Inicio do novo periodo de validade.","format":"date","x-ui":{"controlType":"date","editable":true,"icon":"event","iconPosition":"left","label":"Valido De","name":"validoDe","order":"20","required":true,"requiredMessage":"Valido De é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"date"}}}},"description":"Corpo de renovacao de licenca: nova classe e janela de vigencia (acao de domínio, nao filtro). Materializa a revisao de autorizacao operacional sem criar uma nova licenca independente."},"ReputacaoDTO":{"required":["funcionarioId"],"type":"object","properties":{"atualizadoEm":{"type":"string","description":"Momento (com offset) da ultima recomputacao dos scores; uso para frescor do dado e caches de UI.","format":"date-time","example":"2025-04-20T14:30:00Z","x-ui":{"controlType":"dateTime","displayFormat":"dd/MM/yyyy HH:mm","editable":true,"group":"Indicadores","helpText":"Data da última atualização dos scores.","icon":"event","iconPosition":"left","label":"Atualizado Em","locale":"pt-BR","name":"atualizadoEm","numericFormat":"date-time","order":"30","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"funcionarioId":{"type":"integer","description":"Colaborador a quem os scores se referem; FK ao Funcionario. Sem este id o snapshot nao tem dono.","format":"int32","example":3,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Relacionamentos","helpText":"Colaborador avaliado.","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"10","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"funcionarioNome":{"type":"string","description":"Nome para listagens de ranking e dashboards sem lookup adicional; espelha o funcionarioId.","x-ui":{"controlType":"input","editable":true,"formHidden":true,"group":"Relacionamentos","helpText":"Nome do colaborador (preenchido automaticamente).","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioNome","order":"11","readOnly":true,"resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"funcionarioId"},"sortable":true,"type":"text"}},"id":{"type":"integer","description":"Chave do registo de reputacao. Em geral 1-1 com funcionario; exposta em APIs de perfil e analise.","format":"int32","example":1,"x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"group":"Indicadores","icon":"tag","iconPosition":"left","label":"Código","name":"id","order":"1","presentation":{"appearance":"soft","prefix":"#","presenter":"iconValue"},"readOnly":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"scoreGovernamental":{"type":"integer","description":"Indice de alinhamento a politicas internas e compliance em missoes; separado do score publico para confrontar risco operacional vs imagem.","format":"int32","example":88,"x-ui":{"controlType":"numericTextBox","editable":true,"group":"Indicadores","helpText":"Índice de alinhamento com regras governamentais.","icon":"gavel","iconPosition":"left","label":"Score Governamental","name":"scoreGovernamental","order":"20","quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"scorePublico":{"type":"integer","description":"Indice derivado de visibilidade e sentimento de midia; escala e pesos pertencem ao modelo operacional do quickstart, nao a auditoria externa.","format":"int32","example":72,"x-ui":{"controlType":"numericTextBox","editable":true,"group":"Indicadores","helpText":"Índice de reputação junto ao público (0 a 100).","icon":"analytics","iconPosition":"left","label":"Score Público","name":"scorePublico","order":"10","quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}}},"description":"Snapshot agregado de reputacao do colaborador: indicadores sinteticos (midia, confianca publica) alimentam rankings e views analiticas. Nao e veredicto legal; actualizado em batch ou por job conforme atualizadoEm."},"ReputacaoFilterDTO":{"type":"object","properties":{"atualizadoEmBetween":{"description":"Janela de atualizacao do snapshot de reputacao, usada para separar leituras recentes de historicas.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date-time","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null}}],"items":{"type":"string","format":"date-time","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":true},"startDate":{"type":"string","format":"date-time","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date-time","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateTimeRange","editable":true,"helpText":"Filtrar por intervalo de data de atualização.","icon":"event","iconPosition":"left","label":"Período de Atualização","name":"atualizadoEmBetween","order":"40","sortable":true,"type":"date"}},"atualizadoEmLastDays":{"type":"integer","description":"Janela relativa para localizar snapshots de reputacao atualizados nos ultimos N dias.","format":"int32","x-ui":{"controlType":"input","editable":true,"helpText":"Informe quantos dias recentes devem ser considerados na busca.","icon":"event","iconPosition":"left","label":"Atualizado nos últimos dias","name":"atualizadoEmLastDays","order":"65","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"atualizadoEmOn":{"type":"string","description":"Dia civil em que o snapshot de reputacao foi atualizado.","format":"date","x-ui":{"controlType":"date","editable":true,"helpText":"Busca reputações atualizadas em uma data específica.","icon":"event","iconPosition":"left","label":"Atualizado em","name":"atualizadoEmOn","order":"50","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"atualizadoEmPreset":{"type":"string","description":"Atalho de periodo relativo aplicado a data de atualizacao do snapshot de reputacao.","x-ui":{"controlType":"inlineRelativePeriod","editable":true,"helpText":"Aplica atalhos de tempo para encontrar snapshots recentes ou de um período predefinido.","icon":"event","iconPosition":"left","label":"Período rápido de atualização","name":"atualizadoEmPreset","order":"60","relativePeriodOptions":[{"icon":"calendar_today","label":"Today","value":"today"},{"icon":"keyboard_double_arrow_left","label":"Yesterday","value":"yesterday"},{"icon":"date_range","label":"Last 7 days","value":"last7"},{"icon":"date_range","label":"Last 30 days","value":"last30"},{"icon":"event","label":"This month","value":"thisMonth"},{"icon":"event","label":"Last month","value":"lastMonth"},{"icon":"bar_chart","label":"This quarter","value":"thisQuarter"},{"icon":"ads_click","label":"This year","value":"thisYear"}],"sortable":true,"type":"text"}},"funcionarioId":{"type":"integer","description":"Colaborador cuja reputacao consolidada deve ser analisada.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Filtrar a reputação de um colaborador.","icon":"badge","iconPosition":"left","label":"Herói","name":"funcionarioId","order":"10","sortable":true,"type":"number","valueField":"id"}},"scoreGovernamentalBetween":{"description":"Faixa de avaliacao governamental usada para medir confianca institucional ou restricoes regulatórias.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"integer","format":"int32","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null}}],"items":{"type":"integer","format":"int32","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":true,"example":null},"min":{"type":"integer","format":"int32","nullable":true,"example":null}},"anyOf":[{"required":["min"],"type":"object","properties":{"min":{"type":"integer","format":"int32","nullable":false,"example":null}}},{"required":["max"],"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"rangeSlider","editable":true,"helpText":"Buscar por faixa de alinhamento governamental.","icon":"gavel","iconPosition":"left","label":"Score Governamental","mode":"range","name":"scoreGovernamentalBetween","order":"30","sortable":true,"type":"number"}},"scorePublicoBetween":{"description":"Faixa de percepcao publica ou midiática atribuida ao colaborador no snapshot de reputacao.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"integer","format":"int32","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null}}],"items":{"type":"integer","format":"int32","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":true,"example":null},"min":{"type":"integer","format":"int32","nullable":true,"example":null}},"anyOf":[{"required":["min"],"type":"object","properties":{"min":{"type":"integer","format":"int32","nullable":false,"example":null}}},{"required":["max"],"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"rangeSlider","editable":true,"helpText":"Buscar por faixa de aprovação pública.","icon":"campaign","iconPosition":"left","label":"Score de Mídia","mode":"range","name":"scorePublicoBetween","order":"20","sortable":true,"type":"number"}}},"description":"Criterios de busca na linha de snapshot de Reputacao (nao e o score persistido a editar so com filtro). Permite analisar percepcao publica e governamental por colaborador, faixa de score e recencia do snapshot."},"RescheduleMissaoDTO":{"required":["fimPrev","inicioPrev","local"],"type":"object","properties":{"fimPrev":{"type":"string","description":"Novo fim de janela planejada; ancora a logistica e debrief previsto.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"event","iconPosition":"left","label":"Fim Previsto","name":"fimPrev","order":"30","required":true,"requiredMessage":"Fim Previsto é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"inicioPrev":{"type":"string","description":"Novo inicio de janela planejada (planejada, nao executada).","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"event","iconPosition":"left","label":"Início Previsto","name":"inicioPrev","order":"20","required":true,"requiredMessage":"Início Previsto é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"local":{"maxLength":200,"minLength":0,"type":"string","description":"Onde a missao devera ocorrer apos a mudanca (texto de brief).","x-ui":{"controlType":"input","editable":true,"icon":"location_on","iconPosition":"left","label":"Local","maxLength":"200","maxLengthMessage":"Local deve ter no máximo 200 caracteres","name":"local","order":"10","required":true,"requiredMessage":"Local é obrigatório","sortable":true,"type":"text"}},"objetivo":{"maxLength":4000,"minLength":0,"type":"string","description":"Revisao do objetivo e ROE apos reagendamento; opcional.","x-ui":{"controlType":"textarea","editable":true,"icon":"flag","iconPosition":"left","label":"Objetivo","maxLength":"4000","maxLengthMessage":"Objetivo deve ter no máximo 4000 caracteres","name":"objetivo","order":"40","sortable":true,"type":"text"}}},"description":"Corpo de reagendamento: novo teatro, janela prevista e objetivo tatico atualizado. Ajusta planejamento de execucao e logistica sem registrar inicio, conclusao ou falha da missao."},"Resource":{"type":"object","properties":{"actions":{"type":"array","items":{"$ref":"#/components/schemas/Action"}},"description":{"type":"string"},"endpoints":{"type":"array","items":{"$ref":"#/components/schemas/Endpoint"}},"evidence":{"type":"array","items":{"type":"string"}},"fields":{"type":"array","items":{"$ref":"#/components/schemas/Field"}},"label":{"type":"string"},"resourceKey":{"type":"string"},"resourcePath":{"type":"string"},"role":{"type":"string"}}},"ResourceCommandMessage":{"type":"object","properties":{"category":{"type":"string","enum":["VALIDATION","PERMISSION","NOT_FOUND","CONFLICT_DUPLICATE","CONFLICT_DEPENDENCY","PRECONDITION","UNAVAILABLE","UNEXPECTED_SANITIZED"]},"code":{"type":"string"},"message":{"type":"string"},"metadata":{"type":"object","additionalProperties":{"type":"object"}},"target":{"type":"string"}}},"ResourceVisual":{"type":"object","properties":{"description":{"type":"string"},"icon":{"type":"string"},"source":{"type":"string"},"title":{"type":"string"},"tone":{"type":"string"}}},"RestApiErrorResponse":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"object"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiLinkObject":{"type":"object","properties":{"deprecation":{"type":"string","description":"URL de deprecacao quando aplicavel."},"href":{"type":"string","description":"URL absoluta ou relativa do affordance."},"hreflang":{"type":"string","description":"Idioma associado ao link."},"name":{"type":"string","description":"Nome opcional do link."},"profile":{"type":"string","description":"Profile URI associado ao link."},"templated":{"type":"boolean","description":"Indica se o href e URI template."},"title":{"type":"string","description":"Titulo humano opcional."},"type":{"type":"string","description":"Media type associado ao link."}},"description":"Objeto de link canonico publicado dentro de `_links`."},"RestApiLinks":{"type":"object","additionalProperties":{"oneOf":[{"$ref":"#/components/schemas/RestApiLinkObject"},{"type":"array","items":{"$ref":"#/components/schemas/RestApiLinkObject"}}]},"description":"Mapa canonico de `_links` por rel. Cada rel aponta para um objeto unico ou para uma lista quando houver multiplas ocorrencias."},"RestApiResourceAcordosRegulatorioDTO":{"allOf":[{"$ref":"#/components/schemas/AcordosRegulatorioDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceAmeacaDTO":{"allOf":[{"$ref":"#/components/schemas/AmeacaDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceBaseAcessoDTO":{"allOf":[{"$ref":"#/components/schemas/BaseAcessoDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceBaseDTO":{"allOf":[{"$ref":"#/components/schemas/BaseDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceCargoDTO":{"allOf":[{"$ref":"#/components/schemas/CargoDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceDepartamentoDTO":{"allOf":[{"$ref":"#/components/schemas/DepartamentoDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceDependenteDTO":{"allOf":[{"$ref":"#/components/schemas/DependenteDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceEnderecoDTO":{"allOf":[{"$ref":"#/components/schemas/EnderecoDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceEquipamentoAlocacaoDTO":{"allOf":[{"$ref":"#/components/schemas/EquipamentoAlocacaoDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceEquipamentoDTO":{"allOf":[{"$ref":"#/components/schemas/EquipamentoDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceEquipeDTO":{"allOf":[{"$ref":"#/components/schemas/EquipeDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceEquipeMembroDTO":{"allOf":[{"$ref":"#/components/schemas/EquipeMembroDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceEventosFolhaResponseDTO":{"allOf":[{"$ref":"#/components/schemas/EventosFolhaResponseDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceExtraordinaryBenefitRequestResponse":{"allOf":[{"$ref":"#/components/schemas/ExtraordinaryBenefitRequestResponse"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceFeriasAfastamentoDTO":{"allOf":[{"$ref":"#/components/schemas/FeriasAfastamentoDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceFolhasPagamentoDTO":{"allOf":[{"$ref":"#/components/schemas/FolhasPagamentoDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceFuncionarioDTO":{"allOf":[{"$ref":"#/components/schemas/FuncionarioDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceFuncionarioHabilidadeDTO":{"allOf":[{"$ref":"#/components/schemas/FuncionarioHabilidadeDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceHabilidadeDTO":{"allOf":[{"$ref":"#/components/schemas/HabilidadeDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceHistoricoSalarialDTO":{"allOf":[{"$ref":"#/components/schemas/HistoricoSalarialDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceHistoricosCargoDTO":{"allOf":[{"$ref":"#/components/schemas/HistoricosCargoDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceIdentidadeSecretaDTO":{"allOf":[{"$ref":"#/components/schemas/IdentidadeSecretaDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceIncidenteDTO":{"allOf":[{"$ref":"#/components/schemas/IncidenteDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceIndenizacaoDTO":{"allOf":[{"$ref":"#/components/schemas/IndenizacaoDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceLegacyPayCodeDTO":{"allOf":[{"$ref":"#/components/schemas/LegacyPayCodeDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceLicencasOperacaoDTO":{"allOf":[{"$ref":"#/components/schemas/LicencasOperacaoDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceMencoesMidiaDTO":{"allOf":[{"$ref":"#/components/schemas/MencoesMidiaDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceMissaoDTO":{"allOf":[{"$ref":"#/components/schemas/MissaoDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceMissaoEventoDTO":{"allOf":[{"$ref":"#/components/schemas/MissaoEventoDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceMissaoParticipanteDTO":{"allOf":[{"$ref":"#/components/schemas/MissaoParticipanteDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceProcurementCompanyDTO":{"allOf":[{"$ref":"#/components/schemas/ProcurementCompanyDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceProcurementContractDTO":{"allOf":[{"$ref":"#/components/schemas/ProcurementContractDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceProcurementProductDTO":{"allOf":[{"$ref":"#/components/schemas/ProcurementProductDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceProcurementPurchaseOrderDTO":{"allOf":[{"$ref":"#/components/schemas/ProcurementPurchaseOrderDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceProcurementSupplierDTO":{"allOf":[{"$ref":"#/components/schemas/ProcurementSupplierDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceReputacaoDTO":{"allOf":[{"$ref":"#/components/schemas/ReputacaoDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceSinaisSocorroDTO":{"allOf":[{"$ref":"#/components/schemas/SinaisSocorroDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceVeiculoDTO":{"allOf":[{"$ref":"#/components/schemas/VeiculoDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceVeiculoMissaoUsoDTO":{"allOf":[{"$ref":"#/components/schemas/VeiculoMissaoUsoDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceVwAnalyticsAfastamentoDTO":{"allOf":[{"$ref":"#/components/schemas/VwAnalyticsAfastamentoDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceVwAnalyticsFolhaPagamentoDTO":{"allOf":[{"$ref":"#/components/schemas/VwAnalyticsFolhaPagamentoDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceVwIndicadoresIncidenteDTO":{"allOf":[{"$ref":"#/components/schemas/VwIndicadoresIncidenteDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceVwPerfilHeroiDTO":{"allOf":[{"$ref":"#/components/schemas/VwPerfilHeroiDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceVwRankingReputacaoDTO":{"allOf":[{"$ref":"#/components/schemas/VwRankingReputacaoDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceVwResumoMissoeDTO":{"allOf":[{"$ref":"#/components/schemas/VwResumoMissoeDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResourceVwSupplierProcurementFunnelDTO":{"allOf":[{"$ref":"#/components/schemas/VwSupplierProcurementFunnelDTO"},{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"}}}]},"RestApiResponse":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"object"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseAbsenceCoverageWorkflowResultDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/AbsenceCoverageWorkflowResultDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseAcordoRegulatorioWorkflowResultDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/AcordoRegulatorioWorkflowResultDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseAcordosRegulatorioDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/AcordosRegulatorioDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseAmeacaDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/AmeacaDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseAssetAvailabilityWorkflowResultDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/AssetAvailabilityWorkflowResultDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseBaseAcessoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/BaseAcessoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseBaseAcessoWorkflowResultDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/BaseAcessoWorkflowResultDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseBaseDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/BaseDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseBulkExecution":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/BulkExecution"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseBulkProposal":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/BulkProposal"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCargoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CargoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseComparisonStatsResponse":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/ComparisonStatsResponse"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCreateLegacyPayCodeDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CreateLegacyPayCodeDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageBulkItemResultInteger":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageBulkItemResultInteger"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageBulkProposalItemResultInteger":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageBulkProposalItemResultInteger"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelAcordosRegulatorioDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelAcordosRegulatorioDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelAmeacaDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelAmeacaDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelBaseAcessoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelBaseAcessoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelBaseDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelBaseDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelCargoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelCargoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelDepartamentoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelDepartamentoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelDependenteDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelDependenteDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelEnderecoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelEnderecoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelEquipamentoAlocacaoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelEquipamentoAlocacaoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelEquipamentoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelEquipamentoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelEquipeDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelEquipeDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelEquipeMembroDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelEquipeMembroDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelEventosFolhaResponseDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelEventosFolhaResponseDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelExtraordinaryBenefitRequestResponse":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelExtraordinaryBenefitRequestResponse"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelFeriasAfastamentoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelFeriasAfastamentoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelFolhasPagamentoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelFolhasPagamentoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelFuncionarioDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelFuncionarioDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelFuncionarioHabilidadeDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelFuncionarioHabilidadeDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelHabilidadeDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelHabilidadeDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelHistoricoSalarialDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelHistoricoSalarialDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelHistoricosCargoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelHistoricosCargoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelIdentidadeSecretaDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelIdentidadeSecretaDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelIncidenteDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelIncidenteDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelIndenizacaoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelIndenizacaoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelLegacyPayCodeDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelLegacyPayCodeDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelLicencasOperacaoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelLicencasOperacaoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelMencoesMidiaDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelMencoesMidiaDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelMissaoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelMissaoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelMissaoEventoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelMissaoEventoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelMissaoParticipanteDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelMissaoParticipanteDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelProcurementCompanyDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelProcurementCompanyDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelProcurementContractDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelProcurementContractDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelProcurementProductDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelProcurementProductDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelProcurementPurchaseOrderDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelProcurementPurchaseOrderDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelProcurementSupplierDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelProcurementSupplierDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelReputacaoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelReputacaoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelSinaisSocorroDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelSinaisSocorroDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelVeiculoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelVeiculoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelVeiculoMissaoUsoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelVeiculoMissaoUsoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelVwAnalyticsAfastamentoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelVwAnalyticsAfastamentoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelVwAnalyticsFolhaPagamentoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelVwAnalyticsFolhaPagamentoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelVwIndicadoresIncidenteDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelVwIndicadoresIncidenteDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelVwPerfilHeroiDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelVwPerfilHeroiDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelVwRankingReputacaoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelVwRankingReputacaoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelVwResumoMissoeDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelVwResumoMissoeDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseCursorPageEntityModelVwSupplierProcurementFunnelDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/CursorPageEntityModelVwSupplierProcurementFunnelDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseDepartamentoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/DepartamentoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseDependenteDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/DependenteDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseDistributionStatsResponse":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/DistributionStatsResponse"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseDomainRuleTestRunResponse":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/DomainRuleTestRunResponse"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseEnderecoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/EnderecoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseEquipamentoAlocacaoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/EquipamentoAlocacaoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseEquipamentoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/EquipamentoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseEquipeDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/EquipeDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseEquipeMembroDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/EquipeMembroDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseEventoFolhaWorkflowResultDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/EventoFolhaWorkflowResultDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseEventosFolhaResponseDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/EventosFolhaResponseDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseExtraordinaryBenefitAuthoritativeEvaluationResponse":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/ExtraordinaryBenefitAuthoritativeEvaluationResponse"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseExtraordinaryBenefitBatchEvaluationResponse":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/ExtraordinaryBenefitBatchEvaluationResponse"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseExtraordinaryBenefitEvaluationCommandResponse":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/ExtraordinaryBenefitEvaluationCommandResponse"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseExtraordinaryBenefitReevaluationResponse":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/ExtraordinaryBenefitReevaluationResponse"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseExtraordinaryBenefitRequestResponse":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/ExtraordinaryBenefitRequestResponse"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseExtraordinaryBenefitShadowObservation":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/ExtraordinaryBenefitShadowObservation"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseExtraordinaryBenefitTransitionResponse":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/ExtraordinaryBenefitTransitionResponse"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseFeriasAfastamentoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/FeriasAfastamentoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseFolhaPagamentoWorkflowResultDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/FolhaPagamentoWorkflowResultDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseFolhasPagamentoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/FolhasPagamentoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseFuncionarioDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/FuncionarioDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseFuncionarioDuplicateDraftDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/FuncionarioDuplicateDraftDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseFuncionarioHabilidadeDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/FuncionarioHabilidadeDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseFuncionarioWorkflowResultDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/FuncionarioWorkflowResultDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseGroupByStatsResponse":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/GroupByStatsResponse"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseHabilidadeDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/HabilidadeDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseHistoricoSalarialDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/HistoricoSalarialDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseHistoricosCargoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/HistoricosCargoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseIdentidadeSecretaDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/IdentidadeSecretaDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseIncidenteDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/IncidenteDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseIndenizacaoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/IndenizacaoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseLegacyPayCodeDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/LegacyPayCodeDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseLicencasOperacaoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/LicencasOperacaoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListAssetAvailabilityTransitionHistoryDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/AssetAvailabilityTransitionHistoryDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListDependenteDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/DependenteDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEnderecoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/EnderecoDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelAcordosRegulatorioDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceAcordosRegulatorioDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelAmeacaDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceAmeacaDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelBaseAcessoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceBaseAcessoDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelBaseDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceBaseDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelCargoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceCargoDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelDepartamentoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceDepartamentoDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelDependenteDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceDependenteDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelEnderecoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceEnderecoDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelEquipamentoAlocacaoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceEquipamentoAlocacaoDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelEquipamentoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceEquipamentoDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelEquipeDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceEquipeDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelEquipeMembroDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceEquipeMembroDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelEventosFolhaResponseDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceEventosFolhaResponseDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelExtraordinaryBenefitRequestResponse":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceExtraordinaryBenefitRequestResponse"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelFeriasAfastamentoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceFeriasAfastamentoDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelFolhasPagamentoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceFolhasPagamentoDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelFuncionarioDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceFuncionarioDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelFuncionarioHabilidadeDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceFuncionarioHabilidadeDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelHabilidadeDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceHabilidadeDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelHistoricoSalarialDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceHistoricoSalarialDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelHistoricosCargoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceHistoricosCargoDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelIdentidadeSecretaDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceIdentidadeSecretaDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelIncidenteDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceIncidenteDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelIndenizacaoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceIndenizacaoDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelLegacyPayCodeDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceLegacyPayCodeDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelLicencasOperacaoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceLicencasOperacaoDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelMencoesMidiaDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceMencoesMidiaDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelMissaoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceMissaoDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelMissaoEventoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceMissaoEventoDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelMissaoParticipanteDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceMissaoParticipanteDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelProcurementCompanyDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceProcurementCompanyDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelProcurementContractDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceProcurementContractDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelProcurementProductDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceProcurementProductDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelProcurementPurchaseOrderDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceProcurementPurchaseOrderDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelProcurementSupplierDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceProcurementSupplierDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelReputacaoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceReputacaoDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelSinaisSocorroDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceSinaisSocorroDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelVeiculoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceVeiculoDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelVeiculoMissaoUsoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceVeiculoMissaoUsoDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelVwAnalyticsAfastamentoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceVwAnalyticsAfastamentoDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelVwAnalyticsFolhaPagamentoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceVwAnalyticsFolhaPagamentoDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelVwIndicadoresIncidenteDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceVwIndicadoresIncidenteDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelVwPerfilHeroiDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceVwPerfilHeroiDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelVwRankingReputacaoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceVwRankingReputacaoDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelVwResumoMissoeDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceVwResumoMissoeDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEntityModelVwSupplierProcurementFunnelDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceVwSupplierProcurementFunnelDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEquipamentoAlocacaoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/EquipamentoAlocacaoDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListEquipeMembroDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/EquipeMembroDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListFuncionarioHabilidadeDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/FuncionarioHabilidadeDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListHistoricosCargoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/HistoricosCargoDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListLegacyPayCodeAuditLineDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/LegacyPayCodeAuditLineDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListMissaoEventoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/MissaoEventoDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListMissaoParticipanteDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/MissaoParticipanteDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListProcurementContractDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ProcurementContractDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListProcurementProductDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ProcurementProductDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListProcurementPurchaseOrderDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ProcurementPurchaseOrderDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListRestApiResourceMissaoParticipanteDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/RestApiResourceMissaoParticipanteDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListVeiculoMissaoUsoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/VeiculoMissaoUsoDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListVwAnalyticsFolhaPagamentoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/VwAnalyticsFolhaPagamentoDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseListVwIndicadoresIncidenteDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"type":"array","items":{"$ref":"#/components/schemas/VwIndicadoresIncidenteDTO"}},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseMencoesMidiaDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/MencoesMidiaDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseMissaoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/MissaoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseMissaoEventoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/MissaoEventoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseMissaoParticipanteDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/MissaoParticipanteDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseMissaoWorkflowResultDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/MissaoWorkflowResultDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelAcordosRegulatorioDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelAcordosRegulatorioDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelAmeacaDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelAmeacaDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelBaseAcessoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelBaseAcessoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelBaseDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelBaseDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelCargoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelCargoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelDepartamentoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelDepartamentoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelDependenteDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelDependenteDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelEnderecoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelEnderecoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelEquipamentoAlocacaoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelEquipamentoAlocacaoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelEquipamentoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelEquipamentoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelEquipeDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelEquipeDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelEquipeMembroDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelEquipeMembroDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelEventosFolhaResponseDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelEventosFolhaResponseDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelExtraordinaryBenefitRequestResponse":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelExtraordinaryBenefitRequestResponse"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelFeriasAfastamentoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelFeriasAfastamentoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelFolhasPagamentoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelFolhasPagamentoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelFuncionarioDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelFuncionarioDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelFuncionarioHabilidadeDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelFuncionarioHabilidadeDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelHabilidadeDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelHabilidadeDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelHistoricoSalarialDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelHistoricoSalarialDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelHistoricosCargoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelHistoricosCargoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelIdentidadeSecretaDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelIdentidadeSecretaDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelIncidenteDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelIncidenteDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelIndenizacaoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelIndenizacaoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelLegacyPayCodeDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelLegacyPayCodeDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelLicencasOperacaoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelLicencasOperacaoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelMencoesMidiaDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelMencoesMidiaDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelMissaoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelMissaoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelMissaoEventoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelMissaoEventoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelMissaoParticipanteDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelMissaoParticipanteDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelProcurementCompanyDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelProcurementCompanyDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelProcurementContractDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelProcurementContractDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelProcurementProductDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelProcurementProductDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelProcurementPurchaseOrderDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelProcurementPurchaseOrderDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelProcurementSupplierDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelProcurementSupplierDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelReputacaoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelReputacaoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelSinaisSocorroDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelSinaisSocorroDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelVeiculoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelVeiculoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelVeiculoMissaoUsoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelVeiculoMissaoUsoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelVwAnalyticsAfastamentoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelVwAnalyticsAfastamentoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelVwAnalyticsFolhaPagamentoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelVwAnalyticsFolhaPagamentoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelVwIndicadoresIncidenteDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelVwIndicadoresIncidenteDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelVwPerfilHeroiDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelVwPerfilHeroiDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelVwRankingReputacaoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelVwRankingReputacaoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelVwResumoMissoeDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelVwResumoMissoeDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePageEntityModelVwSupplierProcurementFunnelDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PageEntityModelVwSupplierProcurementFunnelDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePayrollBulkPublicationResult":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PayrollBulkPublicationResult"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseProcurementCompanyDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/ProcurementCompanyDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseProcurementContractDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/ProcurementContractDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseProcurementContractWorkflowResultDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/ProcurementContractWorkflowResultDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseProcurementProductDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/ProcurementProductDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseProcurementPurchaseOrderDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/ProcurementPurchaseOrderDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseProcurementPurchaseOrderWorkflowResultDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/ProcurementPurchaseOrderWorkflowResultDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseProcurementSupplierDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/ProcurementSupplierDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseProcurementSupplierWorkflowResultDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/ProcurementSupplierWorkflowResultDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponsePublicationResult":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/PublicationResult"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseReputacaoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/ReputacaoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseSinaisSocorroDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/SinaisSocorroDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseThreatTriageWorkflowResultDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/ThreatTriageWorkflowResultDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseTimeSeriesStatsResponse":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/TimeSeriesStatsResponse"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseVeiculoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/VeiculoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseVeiculoMissaoUsoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/VeiculoMissaoUsoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseVwAnalyticsAfastamentoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/VwAnalyticsAfastamentoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseVwAnalyticsFolhaPagamentoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/VwAnalyticsFolhaPagamentoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseVwIndicadoresIncidenteDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/VwIndicadoresIncidenteDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseVwPerfilHeroiDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/VwPerfilHeroiDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseVwRankingReputacaoDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/VwRankingReputacaoDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseVwResumoMissoeDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/VwResumoMissoeDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RestApiResponseVwSupplierProcurementFunnelDTO":{"type":"object","properties":{"_links":{"$ref":"#/components/schemas/RestApiLinks"},"data":{"$ref":"#/components/schemas/VwSupplierProcurementFunnelDTO"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/CustomProblemDetail"}},"message":{"type":"string"},"status":{"type":"string"},"timestamp":{"type":"string","format":"date-time"}}},"RetrievalEvidence":{"type":"object","properties":{"candidateCount":{"type":"integer","format":"int32"},"evidence":{"type":"array","items":{"type":"string"}},"retrievalSource":{"type":"string"}}},"ReviewAcordosRegulatorioDTO":{"required":["jurisdicao"],"type":"object","properties":{"descricao":{"maxLength":4000,"minLength":0,"type":"string","description":"Resumo, obrigacoes e limites de uso da licenca derivada do acordo.","x-ui":{"controlType":"textarea","editable":true,"icon":"description","iconPosition":"left","label":"Descrição","maxLength":"4000","maxLengthMessage":"Descrição deve ter no máximo 4000 caracteres","name":"descricao","sortable":true,"type":"text"}},"jurisdicao":{"maxLength":200,"minLength":0,"type":"string","description":"Orgao ou esfera legal competente (pacto, ANV, TSI, etc.).","x-ui":{"controlType":"input","editable":true,"icon":"label","iconPosition":"left","label":"Jurisdição","maxLength":"200","maxLengthMessage":"Jurisdição deve ter no máximo 200 caracteres","name":"jurisdicao","required":true,"requiredMessage":"Jurisdição é obrigatório","sortable":true,"type":"text"}}},"description":"Corpo de submissao ou revisao de acordo regulatorio: jurisdicao e texto normativo. Atualiza o contexto documental de compliance sem executar transicao de workflow do acordo."},"ReviewBaseAcessoDTO":{"required":["nivelAcesso"],"type":"object","properties":{"nivelAcesso":{"maxLength":255,"minLength":0,"type":"string","description":"Nivel aprovado (ex. TSI-2); alinha-se a politica de compartilhamento.","x-ui":{"controlType":"input","editable":true,"icon":"trending_up","iconPosition":"left","label":"Nivel de acesso","maxLength":"255","maxLengthMessage":"Nivel de acesso deve ter no máximo 255 caracteres","name":"nivelAcesso","order":"10","required":true,"requiredMessage":"Nivel de acesso é obrigatório","sortable":true,"type":"text"}}},"description":"Corpo de aprovacao de credencial de base: classificacao de acesso a conceder. Atualiza o nivel autorizado antes ou durante workflow de ativacao, preservando rastreabilidade da credencial."},"Row":{"type":"object","properties":{"admissionOutcome":{"type":"string"},"componentId":{"type":"string"},"componentType":{"type":"string"},"qualityOutcome":{"type":"string"},"terminalOutcome":{"type":"string"},"total":{"type":"integer","format":"int64"}}},"RuleExecutorRef":{"type":"object","properties":{"expression":{"$ref":"#/components/schemas/JsonNode"},"implementationKey":{"type":"string"},"implementationVersion":{"type":"string"},"type":{"type":"string","enum":["JSON_LOGIC","JAVA"]}}},"RuleParameterDefinition":{"type":"object","properties":{"allowedValues":{"type":"array","items":{"$ref":"#/components/schemas/JsonNode"}},"defaultValue":{"$ref":"#/components/schemas/JsonNode"},"expressionPointers":{"type":"array","items":{"type":"string"}},"maximum":{"type":"number","format":"decimal"},"minimum":{"type":"number","format":"decimal"},"name":{"type":"string"},"nullable":{"type":"boolean"},"readOnly":{"type":"boolean"},"required":{"type":"boolean"},"type":{"type":"string","enum":["STRING","NUMBER","INTEGER","BOOLEAN"]},"unit":{"type":"string"}}},"RuleParameterTemplate":{"type":"object","properties":{"executor":{"$ref":"#/components/schemas/RuleExecutorRef"},"falseDecision":{"type":"string","enum":["ALLOW","DENY","NOT_APPLICABLE","INCONCLUSIVE","TECHNICAL_ERROR"]},"falseReasonCode":{"type":"string"},"parameters":{"type":"array","items":{"$ref":"#/components/schemas/RuleParameterDefinition"}},"requiredFactPaths":{"type":"array","items":{"type":"string"}},"templateKey":{"type":"string"},"templateVersion":{"type":"string"}}},"RuleParameterization":{"type":"object","properties":{"templateKey":{"type":"string"},"templateVersion":{"type":"string"},"values":{"type":"object"}}},"RuleRuntimeCompatibility":{"type":"object","properties":{"engineContractVersion":{"type":"string"},"jsonLogicCorpusSha256":{"type":"string"},"jsonLogicDialectVersion":{"type":"string"}}},"RuleSetCompositionCandidate":{"type":"object","properties":{"authorizedActions":{"type":"array","items":{"type":"string","enum":["PREPARE","APPROVE","PUBLISH"]},"x-ui":{"controlType":"chipInput","options":[{"value":"PREPARE","label":"PREPARE"},{"value":"APPROVE","label":"APPROVE"},{"value":"PUBLISH","label":"PUBLISH"}]}},"compositionDigest":{"type":"string"},"currentHeadEtag":{"type":"string"},"implementationCatalogDigest":{"type":"string"},"ruleSetKey":{"type":"string"},"ruleSetVersion":{"type":"integer","format":"int32"},"sources":{"type":"array","items":{"$ref":"#/components/schemas/RuleSetCompositionSource"}}}},"RuleSetCompositionCandidateCommand":{"type":"object","properties":{"expectedCompositionDigest":{"type":"string"},"promotedDefinitionId":{"type":"string","format":"uuid"},"validFromUtc":{"type":"string"},"validUntilUtc":{"type":"string"}}},"RuleSetCompositionCandidateRequest":{"type":"object","properties":{"promotedDefinitionId":{"type":"string","format":"uuid"},"validFromUtc":{"type":"string"},"validUntilUtc":{"type":"string"}}},"RuleSetCompositionPublication":{"type":"object","properties":{"ruleSetKey":{"type":"string"},"ruleSetVersion":{"type":"integer","format":"int32"},"snapshotContentHash":{"type":"string"},"snapshotKey":{"type":"string"}}},"RuleSetCompositionSource":{"type":"object","properties":{"definitionId":{"type":"string","format":"uuid"},"ruleKey":{"type":"string"},"status":{"type":"string"},"version":{"type":"integer","format":"int32"}}},"RuleSetDefinition":{"type":"object","properties":{"availableRoots":{"type":"array","items":{"type":"string"}},"bindings":{"type":"array","items":{"$ref":"#/components/schemas/DecisionBinding"}},"compatibility":{"$ref":"#/components/schemas/RuleRuntimeCompatibility"},"failPolicy":{"type":"string","enum":["FAIL_CLOSED","RETURN_INCONCLUSIVE","APPROVED_BASELINE_FALLBACK"]},"ref":{"$ref":"#/components/schemas/RuleSetRef"},"slots":{"type":"array","items":{"$ref":"#/components/schemas/DecisionSlot"}}},"description":"Complete deterministic RuleSet graph to validate and publish; slots, dependencies and executors become immutable snapshot content."},"RuleSetRef":{"type":"object","properties":{"boundedContextKey":{"type":"string"},"domainKey":{"type":"string"},"operationKey":{"type":"string"},"ruleSetKey":{"type":"string"},"version":{"type":"integer","format":"int32"}}},"RuleSnapshotApproval":{"type":"object","properties":{"actorRef":{"type":"string"},"approvalKey":{"type":"string"},"decidedAtUtc":{"type":"string"},"evidenceHash":{"type":"string"},"role":{"type":"string"}}},"RuleSnapshotSource":{"type":"object","properties":{"definitionId":{"type":"string"},"definitionKey":{"type":"string"},"sourceHash":{"type":"string"},"version":{"type":"integer","format":"int32"}}},"ScheduleFolhaPagamentoDTO":{"required":["dataPagamentoAgendada","justificativa"],"type":"object","properties":{"dataPagamentoAgendada":{"type":"string","description":"Data agendada com tesouraria, validada no relógio de negócio America/Sao_Paulo; não altera a previsão.","format":"date","example":"2025-04-30","x-ui":{"controlType":"date","editable":true,"helpText":"Data programada para execução da folha; não comprova pagamento.","icon":"event","iconPosition":"left","label":"Data agendada","name":"dataPagamentoAgendada","order":"10","required":true,"requiredMessage":"Data agendada é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"justificativa":{"maxLength":500,"minLength":0,"type":"string","description":"Motivo operacional registrado na trilha de agendamento.","x-ui":{"controlType":"textarea","editable":true,"iconPosition":"left","label":"Justificativa","maxLength":"500","maxLengthMessage":"Justificativa deve ter no máximo 500 caracteres","name":"justificativa","order":"20","required":true,"requiredMessage":"Justificativa é obrigatório","sortable":true,"type":"text"}}},"description":"Agendamento explícito da folha, distinto da previsão governada e do pagamento confirmado."},"SchemaLinks":{"type":"object","properties":{"request":{"type":"string"},"response":{"type":"string"}}},"SchemaRef":{"type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/FieldSummary"}},"inlineSchema":{"$ref":"#/components/schemas/JsonNode"},"mediaType":{"type":"string"},"name":{"type":"string"},"relations":{"type":"array","items":{"$ref":"#/components/schemas/RelationSummary"}}}},"SelectedResource":{"type":"object","properties":{"label":{"type":"string"},"operation":{"type":"string"},"resourcePath":{"type":"string"},"schemaUrl":{"type":"string"},"submitMethod":{"type":"string"},"submitUrl":{"type":"string"}}},"SinaisSocorroDTO":{"required":["origem","status"],"type":"object","properties":{"abertoEm":{"type":"string","description":"Abertura do sinal; ancora a linha de tempo de resposta.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"group":"Datas","icon":"event","iconPosition":"left","label":"Aberto em","name":"abertoEm","order":"10","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"fechadoEm":{"type":"string","description":"Encerramento; nulo se ainda ativo na central.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"group":"Datas","icon":"event","iconPosition":"left","label":"Fechado em","name":"fechadoEm","order":"20","quickViewOrder":5,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"id":{"type":"integer","description":"Identificador interno (PK) deste registo no servico; referencia o recurso em URLs e relacionamentos.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"icon":"tag","iconPosition":"left","label":"Código","name":"id","order":"1","readOnly":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"local":{"maxLength":200,"minLength":0,"type":"string","description":"Ponto de gravidade ou endereco aproximado do incidente.","x-ui":{"controlType":"input","editable":true,"group":"Principal","icon":"location_on","iconPosition":"left","label":"Local","maxLength":"200","maxLengthMessage":"Local deve ter no máximo 200 caracteres","name":"local","order":"20","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text"}},"nivelAmeaca":{"minimum":0,"type":"integer","description":"Escala tatica 0+; reforco de prioridade de QRF.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"group":"Principal","icon":"warning","iconPosition":"left","label":"Nível de Ameaça","min":"0","name":"nivelAmeaca","numericMin":"0","order":"30","quickViewOrder":2,"quickViewVisible":true,"rangeMessage":"Nível de Ameaça deve ser maior ou igual a 0","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"origem":{"maxLength":200,"minLength":0,"type":"string","description":"Entidade que abriu o sinal (cidade, asset, unidade de campo).","x-ui":{"controlType":"input","editable":true,"group":"Principal","icon":"source","iconPosition":"left","label":"Origem","maxLength":"200","maxLengthMessage":"Origem deve ter no máximo 200 caracteres","name":"origem","order":"10","required":true,"requiredMessage":"Origem é obrigatório","resourceReference":{"resourceKey":"operations.sinais-socorro","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"status":{"type":"string","description":"Ciclo do chamado; SinalSocorroStatus.","enum":["ABERTO","EM_ATENDIMENTO","RESOLVIDO","FALSO"],"x-ui":{"controlType":"select","editable":true,"group":"Principal","icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","options":[{"value":"ABERTO","label":"ABERTO"},{"value":"EM_ATENDIMENTO","label":"EM_ATENDIMENTO"},{"value":"RESOLVIDO","label":"RESOLVIDO"},{"value":"FALSO","label":"FALSO"}],"order":"40","quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Status é obrigatório","sortable":true,"type":"text"}}},"description":"Chamado de emergencia (origem, teatro, escala de ameaca, abertura e encerramento). Representa a entrada operacional de triagem para priorizar resposta, acompanhar status e medir tempo de atendimento."},"SinaisSocorroFilterDTO":{"type":"object","properties":{"abertoEmBetween":{"description":"Intervalo de datas em que o sinal de socorro foi aberto.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date-time","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null}}],"items":{"type":"string","format":"date-time","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":true},"startDate":{"type":"string","format":"date-time","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date-time","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateTimeRange","editable":true,"helpText":"Informe a janela em que o sinal de socorro foi aberto.","icon":"event","iconPosition":"left","label":"Período de abertura","name":"abertoEmBetween","order":"50","sortable":true,"type":"date"}},"abertoEmLastDays":{"type":"integer","description":"Quantidade de dias recentes usada para localizar sinais de socorro abertos nesse recorte.","format":"int32","x-ui":{"controlType":"input","editable":true,"helpText":"Informe quantos dias recentes devem ser considerados desde a abertura.","icon":"event","iconPosition":"left","label":"Aberto nos últimos dias","name":"abertoEmLastDays","order":"100","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"abertoEmOn":{"type":"string","description":"Dia civil exato em que o sinal de socorro foi aberto.","format":"date","x-ui":{"controlType":"date","editable":true,"helpText":"Escolha o dia exato em que o sinal foi aberto.","icon":"event","iconPosition":"left","label":"Aberto em","name":"abertoEmOn","order":"90","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"fechadoEmBetween":{"description":"Intervalo de datas em que o sinal de socorro foi encerrado.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date-time","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null}}],"items":{"type":"string","format":"date-time","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":true},"startDate":{"type":"string","format":"date-time","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date-time","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateTimeRange","editable":true,"helpText":"Informe a janela em que o sinal de socorro foi encerrado.","icon":"event","iconPosition":"left","label":"Período de fechamento","name":"fechadoEmBetween","order":"60","sortable":true,"type":"date"}},"fechadoEmLastDays":{"type":"integer","description":"Quantidade de dias recentes usada para localizar sinais de socorro encerrados nesse recorte.","format":"int32","x-ui":{"controlType":"input","editable":true,"helpText":"Informe quantos dias recentes devem ser considerados desde o fechamento.","icon":"event","iconPosition":"left","label":"Fechado nos últimos dias","name":"fechadoEmLastDays","order":"120","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"fechadoEmOn":{"type":"string","description":"Dia civil exato em que o sinal de socorro foi encerrado.","format":"date","x-ui":{"controlType":"date","editable":true,"helpText":"Escolha o dia exato em que o sinal foi encerrado.","icon":"event","iconPosition":"left","label":"Fechado em","name":"fechadoEmOn","order":"110","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"local":{"type":"string","description":"Trecho do local ou cenario operacional onde o sinal de socorro foi aberto.","x-ui":{"controlType":"input","editable":true,"helpText":"Digite parte do local onde o sinal foi aberto.","icon":"location_on","iconPosition":"left","label":"Local do alerta","maxLength":"200","maxLengthMessage":"Local do alerta deve ter no máximo 200 caracteres","name":"local","order":"20","sortable":true,"type":"text"}},"nivelAmeacaBetween":{"description":"Faixa de gravidade usada para priorizar sinais de socorro em triagem operacional.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"integer","format":"int32","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null}}],"items":{"type":"integer","format":"int32","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":true,"example":null},"min":{"type":"integer","format":"int32","nullable":true,"example":null}},"anyOf":[{"required":["min"],"type":"object","properties":{"min":{"type":"integer","format":"int32","nullable":false,"example":null}}},{"required":["max"],"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"rangeSlider","editable":true,"helpText":"Defina uma faixa de gravidade para priorizar a triagem.","icon":"warning","iconPosition":"left","label":"Nível de ameaça","mode":"range","name":"nivelAmeacaBetween","order":"30","sortable":true,"type":"number"}},"origem":{"type":"string","description":"Trecho da origem do alerta, como torre, sensor, solicitante ou canal de comunicacao.","x-ui":{"controlType":"input","editable":true,"helpText":"Digite parte da origem do alerta, como torre, sensor ou solicitante.","icon":"source","iconPosition":"left","label":"Origem do alerta","maxLength":"200","maxLengthMessage":"Origem do alerta deve ter no máximo 200 caracteres","name":"origem","order":"10","sortable":true,"type":"text"}},"status":{"type":"string","description":"Estado de atendimento do sinal de socorro, usado para diferenciar chamados abertos, atendidos, encerrados ou falsos.","enum":["ABERTO","EM_ATENDIMENTO","RESOLVIDO","FALSO"],"x-ui":{"controlType":"select","editable":true,"helpText":"Filtra por um único estado de atendimento.","icon":"toggle_on","iconPosition":"left","label":"Status do atendimento","name":"status","options":[{"value":"ABERTO","label":"ABERTO"},{"value":"EM_ATENDIMENTO","label":"EM_ATENDIMENTO"},{"value":"RESOLVIDO","label":"RESOLVIDO"},{"value":"FALSO","label":"FALSO"}],"order":"40","sortable":true,"type":"text"}},"statusIn":{"type":"array","description":"Conjunto de estados de atendimento que devem aparecer no resultado da busca.","items":{"type":"string","description":"Conjunto de estados de atendimento que devem aparecer no resultado da busca.","enum":["ABERTO","EM_ATENDIMENTO","RESOLVIDO","FALSO"]},"x-ui":{"controlType":"select","editable":true,"helpText":"Mostra apenas sinais de socorro nos status selecionados.","icon":"toggle_on","iconPosition":"left","label":"Mostrar status","multiple":true,"name":"statusIn","options":[{"value":"ABERTO","label":"ABERTO"},{"value":"EM_ATENDIMENTO","label":"EM_ATENDIMENTO"},{"value":"RESOLVIDO","label":"RESOLVIDO"},{"value":"FALSO","label":"FALSO"}],"order":"70","sortable":true,"type":"array"}},"statusNotIn":{"type":"array","description":"Conjunto de estados de atendimento que devem ser removidos do resultado da busca.","items":{"type":"string","description":"Conjunto de estados de atendimento que devem ser removidos do resultado da busca.","enum":["ABERTO","EM_ATENDIMENTO","RESOLVIDO","FALSO"]},"x-ui":{"controlType":"select","editable":true,"helpText":"Remove do resultado os sinais de socorro nos status selecionados.","icon":"toggle_off","iconPosition":"left","label":"Ocultar status","multiple":true,"name":"statusNotIn","options":[{"value":"ABERTO","label":"ABERTO"},{"value":"EM_ATENDIMENTO","label":"EM_ATENDIMENTO"},{"value":"RESOLVIDO","label":"RESOLVIDO"},{"value":"FALSO","label":"FALSO"}],"order":"80","sortable":true,"type":"array"}}},"description":"Criterios de busca em sinais de socorro e alertas operacionais. Apoia triagem por origem, local, nivel de ameaca, status de atendimento e janelas de abertura ou encerramento."},"SortObject":{"type":"object","properties":{"empty":{"type":"boolean"},"sorted":{"type":"boolean"},"unsorted":{"type":"boolean"}}},"SourceStatus":{"type":"object","properties":{"chunkKinds":{"type":"array","items":{"type":"string"}},"corpusVersions":{"type":"array","items":{"type":"string"}},"documentCount":{"type":"integer","format":"int64"},"latestPublishedAt":{"type":"string"},"sourceId":{"type":"string"},"sourceKind":{"type":"string"}}},"SseEmitter":{"type":"object","properties":{"timeout":{"type":"integer","format":"int64","nullable":true}}},"StatsCapability":{"type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/StatsFieldCapability"}},"maxCells":{"type":"integer","format":"int32"},"maxDimensions":{"type":"integer","format":"int32"}}},"StatsDimensionRequest":{"type":"object","properties":{"alias":{"type":"string"},"extraction":{"type":"string","enum":["NONE","HOUR_OF_DAY","DAY_OF_WEEK","DAY_OF_MONTH","MONTH_OF_YEAR","QUARTER_OF_YEAR","HOUR","DAY","WEEK","MONTH","QUARTER","YEAR"]},"field":{"type":"string"}}},"StatsFieldCapability":{"type":"object","properties":{"distributionHistogramEligible":{"type":"boolean"},"distributionTermsEligible":{"type":"boolean"},"field":{"type":"string"},"groupByEligible":{"type":"boolean"},"keyAndLabelDistinct":{"type":"boolean"},"label":{"type":"string"},"metricFieldEligible":{"type":"boolean"},"metrics":{"type":"array","items":{"type":"string"}},"modes":{"type":"array","items":{"type":"string"}},"supportedExtractions":{"type":"array","items":{"type":"string"}},"timeSeriesEligible":{"type":"boolean"}}},"StatsMetricRequest":{"type":"object","properties":{"alias":{"type":"string"},"field":{"type":"string"},"operation":{"type":"string","enum":["COUNT","DISTINCT_COUNT","SUM","AVG","MIN","MAX","MEDIAN","PERCENTILE_90","PERCENTILE_95","AVG_PER_CYCLE_OCCURRENCE"]}}},"SupersededReleaseCleanupPlan":{"type":"object","properties":{"activeReleaseId":{"type":"string"},"documentCount":{"type":"integer","format":"int64"},"environment":{"type":"string"},"releases":{"type":"array","items":{"$ref":"#/components/schemas/SupersededReleaseDocuments"}},"resourceType":{"type":"string"},"tenantId":{"type":"string"}}},"SupersededReleaseDocuments":{"type":"object","properties":{"documentCount":{"type":"integer","format":"int64"},"releaseId":{"type":"string"}}},"SurfaceCatalogItem":{"type":"object","properties":{"availability":{"$ref":"#/components/schemas/AvailabilityDecision"},"description":{"type":"string"},"icon":{"type":"string"},"id":{"type":"string"},"intent":{"type":"string"},"kind":{"type":"string","enum":["FORM","PARTIAL_FORM","VIEW","READ_PROJECTION","CHART"]},"method":{"type":"string"},"operationId":{"type":"string"},"order":{"type":"integer","format":"int32"},"path":{"type":"string"},"relatedResource":{"$ref":"#/components/schemas/RelatedResourceSurface"},"resourceKey":{"type":"string"},"responseCardinality":{"type":"string","enum":["OBJECT","COLLECTION","PAGE","VOID","UNKNOWN"]},"schemaId":{"type":"string"},"schemaUrl":{"type":"string"},"scope":{"type":"string","enum":["COLLECTION","ITEM"]},"tags":{"type":"array","items":{"type":"string"}},"title":{"type":"string"}}},"SurfaceCatalogResponse":{"type":"object","properties":{"group":{"type":"string"},"resourceId":{"type":"object"},"resourceKey":{"type":"string"},"resourcePath":{"type":"string"},"surfaces":{"type":"array","items":{"$ref":"#/components/schemas/SurfaceCatalogItem"}}}},"ThreatTriageWorkflowRequestDTO":{"type":"object","properties":{"motivo":{"maxLength":500,"minLength":0,"type":"string","description":"Justificativa de inteligencia, captura, monitoramento ou resposta operacional.","x-ui":{"controlType":"textarea","editable":true,"icon":"notes","iconPosition":"left","label":"Motivo","maxLength":"500","maxLengthMessage":"Motivo deve ter no máximo 500 caracteres","name":"motivo","order":"10","sortable":true,"type":"text"}}},"description":"Comando de triagem para alterar o ciclo operacional de uma ameaca monitorada."},"ThreatTriageWorkflowResultDTO":{"type":"object","properties":{"classe":{"type":"string","description":"Classe taxonomica da ameaca no catalogo de risco."},"id":{"type":"integer","description":"Identificador da ameaca afetada pela decisao.","format":"int32"},"mensagem":{"type":"string","description":"Mensagem amigavel para operador, cockpit e consumidores semanticos."},"motivo":{"type":"string","description":"Justificativa registrada para explicar a decisao."},"nivel":{"type":"integer","description":"Nivel de risco registrado no momento da decisao.","format":"int32"},"nome":{"type":"string","description":"Nome ou designacao operacional da ameaca."},"statusAnterior":{"type":"string","description":"Status operacional antes da triagem."},"statusAtual":{"type":"string","description":"Status operacional apos a persistencia da triagem."}},"description":"Resultado da triagem de ameaca, com status anterior, status atual, contexto de risco e mensagem operacional."},"TimeSeriesPoint":{"type":"object","properties":{"count":{"type":"integer","format":"int64"},"end":{"type":"string","format":"date"},"label":{"type":"string"},"start":{"type":"string","format":"date"},"value":{"type":"number","format":"decimal"},"values":{"type":"object","additionalProperties":{"type":"number","format":"decimal"}}}},"TimeSeriesStatsRequest":{"type":"object","properties":{"field":{"type":"string"},"fillGaps":{"type":"boolean"},"filter":{"$ref":"#/components/schemas/GenericFilterDTO"},"from":{"type":"string","format":"date"},"granularity":{"type":"string","enum":["DAY","WEEK","MONTH"]},"metric":{"$ref":"#/components/schemas/StatsMetricRequest"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"to":{"type":"string","format":"date"}}},"TimeSeriesStatsRequestAcordosRegulatorioFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"fillGaps":{"type":"boolean"},"filter":{"$ref":"#/components/schemas/AcordosRegulatorioFilterDTO"},"from":{"type":"string","format":"date"},"granularity":{"type":"string","enum":["DAY","WEEK","MONTH"]},"metric":{"$ref":"#/components/schemas/StatsMetricRequest"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"to":{"type":"string","format":"date"}}},"TimeSeriesStatsRequestEventosFolhaFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"fillGaps":{"type":"boolean"},"filter":{"$ref":"#/components/schemas/EventosFolhaFilterDTO"},"from":{"type":"string","format":"date"},"granularity":{"type":"string","enum":["DAY","WEEK","MONTH"]},"metric":{"$ref":"#/components/schemas/StatsMetricRequest"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"to":{"type":"string","format":"date"}}},"TimeSeriesStatsRequestExtraordinaryBenefitRequestFilter":{"type":"object","properties":{"field":{"type":"string"},"fillGaps":{"type":"boolean"},"filter":{"$ref":"#/components/schemas/ExtraordinaryBenefitRequestFilter"},"from":{"type":"string","format":"date"},"granularity":{"type":"string","enum":["DAY","WEEK","MONTH"]},"metric":{"$ref":"#/components/schemas/StatsMetricRequest"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"to":{"type":"string","format":"date"}}},"TimeSeriesStatsRequestFolhasPagamentoFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"fillGaps":{"type":"boolean"},"filter":{"$ref":"#/components/schemas/FolhasPagamentoFilterDTO"},"from":{"type":"string","format":"date"},"granularity":{"type":"string","enum":["DAY","WEEK","MONTH"]},"metric":{"$ref":"#/components/schemas/StatsMetricRequest"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"to":{"type":"string","format":"date"}}},"TimeSeriesStatsRequestHistoricoSalarialFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"fillGaps":{"type":"boolean"},"filter":{"$ref":"#/components/schemas/HistoricoSalarialFilterDTO"},"from":{"type":"string","format":"date"},"granularity":{"type":"string","enum":["DAY","WEEK","MONTH"]},"metric":{"$ref":"#/components/schemas/StatsMetricRequest"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"to":{"type":"string","format":"date"}}},"TimeSeriesStatsRequestLegacyPayCodeFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"fillGaps":{"type":"boolean"},"filter":{"$ref":"#/components/schemas/LegacyPayCodeFilterDTO"},"from":{"type":"string","format":"date"},"granularity":{"type":"string","enum":["DAY","WEEK","MONTH"]},"metric":{"$ref":"#/components/schemas/StatsMetricRequest"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"to":{"type":"string","format":"date"}}},"TimeSeriesStatsRequestVwResumoMissoeFilterDTO":{"type":"object","properties":{"field":{"type":"string"},"fillGaps":{"type":"boolean"},"filter":{"$ref":"#/components/schemas/VwResumoMissoeFilterDTO"},"from":{"type":"string","format":"date"},"granularity":{"type":"string","enum":["DAY","WEEK","MONTH"]},"metric":{"$ref":"#/components/schemas/StatsMetricRequest"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"to":{"type":"string","format":"date"}}},"TimeSeriesStatsResponse":{"type":"object","properties":{"field":{"type":"string"},"granularity":{"type":"string","enum":["DAY","WEEK","MONTH"]},"metric":{"$ref":"#/components/schemas/StatsMetricRequest"},"metrics":{"type":"array","items":{"$ref":"#/components/schemas/StatsMetricRequest"}},"points":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesPoint"}}}},"UiLayoutDraftReceipt":{"required":["createdAt","draftEtag","draftRef","rootTarget","state","updatedAt"],"type":"object","properties":{"createdAt":{"type":"string","description":"Server timestamp when this workspace was created.","format":"date-time"},"draftEtag":{"type":"string","description":"Opaque strong validator for the mutable draft representation. It is returned as the HTTP ETag for subsequent draft writes."},"draftRef":{"type":"string","description":"Opaque draft identity within the authorized composition scope."},"rootTarget":{"$ref":"#/components/schemas/UiLayoutTarget"},"state":{"type":"string","description":"Current lifecycle state of the workspace, such as DRAFT or RELEASED."},"updatedAt":{"type":"string","description":"Server timestamp of the last workspace mutation.","format":"date-time"}},"description":"Scoped mutable UI layout workspace receipt without unpublished draft content."},"UiLayoutPageChildSource":{"type":"object","properties":{"source":{"$ref":"#/components/schemas/NativeSource"},"widgetKey":{"type":"string"}},"description":"Exact registered source references for previously unknown page widget keys. Never source attestation."},"UiLayoutReleaseHeadReceipt":{"required":["headEtag","rootTarget","updatedAt"],"type":"object","properties":{"activeReleaseRef":{"type":"string","description":"Opaque active immutable release identity, or null when the head is withdrawn.","nullable":true},"headEtag":{"type":"string","description":"Opaque strong validator for head publication, withdrawal and rollback. It is distinct from draft and review validators."},"rootTarget":{"$ref":"#/components/schemas/UiLayoutTarget"},"updatedAt":{"type":"string","description":"Server timestamp of the latest head mutation.","format":"date-time"}},"description":"Scoped mutable release-head receipt; it is the only active-release pointer for the registered root."},"UiLayoutResolutionDiagnostic":{"type":"object","properties":{"code":{"type":"string","description":"Stable machine-readable diagnostic code."},"path":{"type":"string","description":"Optional JSON Pointer for an authorable presentation property."},"severity":{"type":"string","description":"Severity: INFO, WARNING or ERROR."},"summary":{"type":"string","description":"Safe summary without audience or payload values."}},"description":"Sanitized diagnostic produced while resolving an effective UI layout."},"UiLayoutRevisionCommandRequest":{"required":["authoringDocument","commandRef","reason","target"],"type":"object","properties":{"authoringDocument":{"$ref":"#/components/schemas/JsonNode"},"childSources":{"type":"array","description":"Exact registered source references for previously unknown page widget keys. Never source attestation.","items":{"$ref":"#/components/schemas/UiLayoutPageChildSource"}},"commandRef":{"type":"string","description":"Client-known correlation of the accepted selection. It is not an idempotency key.","format":"uuid"},"reason":{"type":"string","description":"Bounded business reason for the immutable revision."},"target":{"$ref":"#/components/schemas/UiLayoutTarget"}},"additionalProperties":false,"description":"Submit complete native authorship for one registered target. Config derives the immutable contribution against the draft's original pinned baseline before validation and persistence."},"UiLayoutTarget":{"type":"object","properties":{"componentId":{"type":"string","description":"Exact host-registered component instance key."},"componentType":{"type":"string","description":"Canonical Praxis component selector.","example":"praxis-table"}},"description":"Exact opaque identity of one configurable Praxis UI component instance."},"UpdateAcordosRegulatorioDTO":{"required":["jurisdicao","nome"],"type":"object","properties":{"descricao":{"maxLength":4000,"minLength":0,"type":"string","description":"Texto de escopo, obrigacoes, evidencias e calendario de provas.","x-ui":{"controlType":"textarea","editable":true,"icon":"description","iconPosition":"left","label":"Descrição","maxLength":"4000","maxLengthMessage":"Descrição deve ter no máximo 4000 caracteres","name":"descricao","sortable":true,"type":"text"}},"jurisdicao":{"maxLength":200,"minLength":0,"type":"string","description":"Pais, estado ou ente regulador competente.","x-ui":{"controlType":"input","editable":true,"icon":"label","iconPosition":"left","label":"Jurisdição","maxLength":"200","maxLengthMessage":"Jurisdição deve ter no máximo 200 caracteres","name":"jurisdicao","required":true,"requiredMessage":"Jurisdição é obrigatório","sortable":true,"type":"text"}},"nome":{"maxLength":200,"minLength":0,"type":"string","description":"Designacao publica do acordo ou programa de atendimento a norma.","x-ui":{"controlType":"input","editable":true,"icon":"badge","iconPosition":"left","label":"Nome","maxLength":"200","maxLengthMessage":"Nome deve ter no máximo 200 caracteres","name":"nome","required":true,"requiredMessage":"Nome é obrigatório","sortable":true,"type":"text"}}},"description":"Comando para editar os metadados do acordo sem alterar o ciclo de vida. O status e governado exclusivamente pelas workflow actions do recurso."},"UpdateAmeacaDTO":{"required":["nome","status"],"type":"object","properties":{"classe":{"type":"string","description":"Taxonomia (villain, organizacao, fenomeno, etc.); AmeacaClasse.","enum":["VILAO","ORGANIZACAO","ENTIDADE","CATASTROFE","INVASAO"],"x-ui":{"controlType":"select","editable":true,"icon":"category","iconPosition":"left","label":"Classe","name":"classe","options":[{"value":"VILAO","label":"VILAO"},{"value":"ORGANIZACAO","label":"ORGANIZACAO"},{"value":"ENTIDADE","label":"ENTIDADE"},{"value":"CATASTROFE","label":"CATASTROFE"},{"value":"INVASAO","label":"INVASAO"}],"order":"20","presentation":{"appearance":"soft","icon":"category","presenter":"chip","tone":"info"},"quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}},"nivel":{"minimum":0,"type":"integer","description":"Nivel de ameaca operacional (escala interna nao negativa; 0 = baseline).","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"trending_up","iconPosition":"left","label":"Nível","min":"0","name":"nivel","numericMin":"0","order":"40","quickViewOrder":2,"quickViewVisible":true,"rangeMessage":"Nível deve ser maior ou igual a 0","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"nome":{"maxLength":200,"minLength":0,"type":"string","description":"Codinome ou designacao publica da ameaca.","x-ui":{"controlType":"input","editable":true,"icon":"warning","iconPosition":"left","label":"Nome","maxLength":"200","maxLengthMessage":"Nome deve ter no máximo 200 caracteres","name":"nome","order":"10","required":true,"requiredMessage":"Nome é obrigatório","resourceReference":{"resourceKey":"risk-intelligence.ameacas","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"planeta":{"maxLength":120,"minLength":0,"type":"string","description":"Planeta ou regiao principal de atuacao.","x-ui":{"controlType":"input","editable":true,"icon":"public","iconPosition":"left","label":"Planeta","maxLength":"120","maxLengthMessage":"Planeta deve ter no máximo 120 caracteres","name":"planeta","order":"30","sortable":true,"type":"text"}},"recompensa":{"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Valor oferecido por captura ou intel (moeda de referencia do tenant).","format":"decimal","x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"icon":"payments","iconPosition":"left","label":"Recompensa","locale":"pt-BR","min":"0.00","name":"recompensa","numericFormat":"currency","numericMin":"0.00","order":"60","quickViewOrder":4,"quickViewVisible":true,"rangeMessage":"Recompensa deve ser maior ou igual a 0.00","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"status":{"type":"string","description":"Ciclo de vida no catalogo (ativo, neutralizado, etc.); AmeacaStatus.","enum":["LIVRE","EM_OBSERVACAO","CONFRONTO","CAPTURADO","ELIMINADO"],"x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","options":[{"value":"LIVRE","label":"LIVRE"},{"value":"EM_OBSERVACAO","label":"EM_OBSERVACAO"},{"value":"CONFRONTO","label":"CONFRONTO"},{"value":"CAPTURADO","label":"CAPTURADO"},{"value":"ELIMINADO","label":"ELIMINADO"}],"order":"50","presentation":{"appearance":"soft","icon":"shield","presenter":"badge","tone":"warning"},"quickViewOrder":3,"quickViewVisible":true,"required":true,"requiredMessage":"Status é obrigatório","sortable":true,"type":"text"}}},"description":"Comando para revisar o cadastro de uma ameaca existente quando mudam classe, area de atuacao, nivel de risco, status operacional ou recompensa."},"UpdateBaseAcessoDTO":{"required":["ativo","baseId","funcionarioId","nivelAcesso"],"type":"object","properties":{"ativo":{"type":"boolean","description":"Se falso, credencial suspensa; bloqueia novos acessos fisicos.","x-ui":{"controlType":"checkbox","editable":true,"group":"Principal","icon":"toggle_on","iconPosition":"left","label":"Ativo","name":"ativo","order":"20","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Ativo é obrigatório","sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"}}},"baseId":{"type":"integer","description":"Base operacional para a qual a credencial foi concedida.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/bases/option-sources/base/options/filter","group":"Relacionamentos","icon":"location_on","iconPosition":"left","label":"Base","name":"baseId","order":"10","required":true,"requiredMessage":"Base é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"funcionarioId":{"type":"integer","description":"Colaborador ou heroi beneficiario da credencial de acesso.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Relacionamentos","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"20","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"nivelAcesso":{"maxLength":255,"minLength":0,"type":"string","description":"String de classificacao de corredor (ex. TSI-3); politica e interpretada no backend.","x-ui":{"controlType":"input","editable":true,"group":"Principal","icon":"trending_up","iconPosition":"left","label":"Nível de Acesso","maxLength":"255","maxLengthMessage":"Nível de Acesso deve ter no máximo 255 caracteres","name":"nivelAcesso","order":"10","quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Nível de Acesso é obrigatório","sortable":true,"type":"text"}}},"description":"Comando para revisar uma credencial de acesso existente, ajustando base, colaborador, nivel, vigencia ou estado sem alterar sua identidade tecnica."},"UpdateBaseDTO":{"required":["nome"],"type":"object","properties":{"latitude":{"type":"number","description":"Coordenada de latitude (WGS-84) quando a base e georreferenciada.","format":"decimal","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"label","iconPosition":"left","label":"Latitude","name":"latitude","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"longitude":{"type":"number","description":"Coordenada de longitude (WGS-84) quando a base e georreferenciada.","format":"decimal","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"label","iconPosition":"left","label":"Longitude","name":"longitude","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"nome":{"maxLength":200,"minLength":0,"type":"string","description":"Designacao conhecida da base ou codinome nao classificado.","x-ui":{"controlType":"input","editable":true,"icon":"badge","iconPosition":"left","label":"Nome","maxLength":"200","maxLengthMessage":"Nome deve ter no máximo 200 caracteres","name":"nome","required":true,"requiredMessage":"Nome é obrigatório","resourceReference":{"resourceKey":"operations.bases","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"planeta":{"maxLength":120,"minLength":0,"type":"string","description":"Mundo de operacao ou corpo celeste; ancora a missoes multiteatro.","x-ui":{"controlType":"input","editable":true,"icon":"public","iconPosition":"left","label":"Planeta","maxLength":"120","maxLengthMessage":"Planeta deve ter no máximo 120 caracteres","name":"planeta","sortable":true,"type":"text"}},"sigilo":{"type":"string","description":"Nivel de compartilhamento de localizacao; BaseSigilo.","enum":["PUBLICA","CONFIDENCIAL","SECRETA","ULTRA_SECRETA"],"x-ui":{"controlType":"select","editable":true,"icon":"label","iconPosition":"left","label":"Sigilo","name":"sigilo","options":[{"value":"PUBLICA","label":"PUBLICA"},{"value":"CONFIDENCIAL","label":"CONFIDENCIAL"},{"value":"SECRETA","label":"SECRETA"},{"value":"ULTRA_SECRETA","label":"ULTRA_SECRETA"}],"quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"text"}},"tipo":{"type":"string","description":"Categoria tatica; BaseTipo (torre, bunker, hangar, etc.).","enum":["TERRESTRE","ORBITAL","SUBTERRANEA","SUBAQUATICA","MOVEL","OTHER"],"x-ui":{"controlType":"select","editable":true,"icon":"category","iconPosition":"left","label":"Tipo","name":"tipo","options":[{"value":"TERRESTRE","label":"TERRESTRE"},{"value":"ORBITAL","label":"ORBITAL"},{"value":"SUBTERRANEA","label":"SUBTERRANEA"},{"value":"SUBAQUATICA","label":"SUBAQUATICA"},{"value":"MOVEL","label":"MOVEL"},{"value":"OTHER","label":"OTHER"}],"quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Comando para substituir os dados editaveis de uma base operacional, preservando sua identidade tecnica e atualizando o cadastro usado por acesso, equipes e missoes."},"UpdateBaseOpsContextDTO":{"type":"object","properties":{"latitude":{"type":"number","description":"Atualizacao de latitude (WGS-84).","format":"decimal","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"label","iconPosition":"left","label":"Latitude","name":"latitude","order":"30","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"longitude":{"type":"number","description":"Atualizacao de longitude (WGS-84).","format":"decimal","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"label","iconPosition":"left","label":"Longitude","name":"longitude","order":"40","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"planeta":{"maxLength":120,"minLength":0,"type":"string","description":"Mundo de operacao quando o teatro muda (multibase).","x-ui":{"controlType":"input","editable":true,"icon":"public","iconPosition":"left","label":"Planeta","maxLength":"120","maxLengthMessage":"Planeta deve ter no máximo 120 caracteres","name":"planeta","order":"20","sortable":true,"type":"text"}},"sigilo":{"type":"string","description":"Novo nivel de compartilhamento de posicao; BaseSigilo.","enum":["PUBLICA","CONFIDENCIAL","SECRETA","ULTRA_SECRETA"],"x-ui":{"controlType":"select","editable":true,"icon":"label","iconPosition":"left","label":"Sigilo","name":"sigilo","options":[{"value":"PUBLICA","label":"PUBLICA"},{"value":"CONFIDENCIAL","label":"CONFIDENCIAL"},{"value":"SECRETA","label":"SECRETA"},{"value":"ULTRA_SECRETA","label":"ULTRA_SECRETA"}],"order":"10","sortable":true,"type":"text"}}},"description":"Patch operacional de base: sigilo, planeta, coordenadas (sem trocar nome/tipo de instalacao). Usado para ajustar contexto tatico e cartografico de planejamento sem recriar o cadastro principal da base."},"UpdateCargoDTO":{"required":["nivel","nome"],"type":"object","properties":{"descricao":{"maxLength":1000,"minLength":0,"type":"string","description":"Resumo das responsabilidades, competencias-chave e contexto de missao; informacao para alinhamento operacional, nao requisito legal em si neste quickstart.","x-ui":{"controlType":"textarea","editable":true,"group":"Principal","helpText":"Resumo das responsabilidades do cargo.","icon":"description","iconPosition":"left","label":"Descrição","maxLength":"1000","maxLengthMessage":"Descrição deve ter no máximo 1000 caracteres","name":"descricao","order":"30","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text"}},"nivel":{"maxLength":100,"minLength":0,"type":"string","description":"Nivel ou faixa de senioridade associada ao cargo (ex. Junior, Pleno, Especialista); governa regras de alocacao e progressao interna.","example":"Pleno","x-ui":{"controlType":"input","editable":true,"group":"Principal","helpText":"Grau de senioridade (ex: Júnior, Pleno).","icon":"trending_up","iconPosition":"left","label":"Nível","maxLength":"100","maxLengthMessage":"Nível deve ter no máximo 100 caracteres","name":"nivel","order":"20","required":true,"requiredMessage":"Nível é obrigatório","sortable":true,"type":"text"}},"nome":{"maxLength":200,"minLength":0,"type":"string","description":"Designacao comercial do cargo (ex. Analista de Operacoes) exibida em formularios e listagens de RH.","example":"Lider de Contingente","x-ui":{"controlType":"input","editable":true,"group":"Principal","helpText":"Nome de exibição do cargo no catálogo.","icon":"work","iconPosition":"left","label":"Nome","maxLength":"200","maxLengthMessage":"Nome deve ter no máximo 200 caracteres","name":"nome","order":"10","required":true,"requiredMessage":"Nome é obrigatório","resourceReference":{"resourceKey":"human-resources.cargos","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"salarioMaximo":{"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Tecto de referencia da faixa salarial, emparelhado a salario minimo. Define o intervalo ofertavel para aprovacao e enquadramento remuneratorio.","format":"decimal","x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"group":"Remuneração","helpText":"Teto salarial de referência.","icon":"account_balance_wallet","iconPosition":"left","label":"Salário Máximo","locale":"pt-BR","min":"0.00","name":"salarioMaximo","numericFormat":"currency","numericMin":"0.00","order":"20","quickViewOrder":2,"quickViewVisible":true,"rangeMessage":"Salário Máximo deve ser maior ou igual a 0.00","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"salarioMinimo":{"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Piso de referencia da faixa salarial (moeda e escala do backend). Uso: benchmark interno; nao e historico de pagamento de folha.","format":"decimal","x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"group":"Remuneração","helpText":"Piso salarial de referência.","icon":"payments","iconPosition":"left","label":"Salário Mínimo","locale":"pt-BR","min":"0.00","name":"salarioMinimo","numericFormat":"currency","numericMin":"0.00","order":"10","quickViewOrder":1,"quickViewVisible":true,"rangeMessage":"Salário Mínimo deve ser maior ou igual a 0.00","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}}},"description":"Comando para revisar os atributos editaveis de um cargo existente, preservando sua identidade tecnica e atualizando a semantica usada por lotacao, progressao e enquadramento remuneratorio."},"UpdateDepartamentoDTO":{"required":["codigo","nome"],"type":"object","properties":{"codigo":{"maxLength":20,"minLength":0,"type":"string","description":"Codigo interno estavel (sigla ou slug) para relatorios, filtros e referencias cruzadas; distinto do nome longo.","example":"OPS-EST","x-ui":{"controlType":"input","editable":true,"group":"Principal","helpText":"Sigla ou código interno para integração.","icon":"tag","iconPosition":"left","label":"Código","maxLength":"20","maxLengthMessage":"Código deve ter no máximo 20 caracteres","name":"codigo","order":"20","presentation":{"appearance":"soft","presenter":"badge"},"quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Código é obrigatório","sortable":true,"type":"text"}},"nome":{"maxLength":200,"minLength":0,"type":"string","description":"Designacao oficial do departamento (ex. Contingente Metropolitano, Inteligencia de Ameacas) para listagens e organogramas.","example":"Operacoes Estrategicas","x-ui":{"controlType":"input","editable":true,"group":"Principal","helpText":"Nome oficial do departamento.","icon":"apartment","iconPosition":"left","label":"Nome","maxLength":"200","maxLengthMessage":"Nome deve ter no máximo 200 caracteres","name":"nome","order":"10","required":true,"requiredMessage":"Nome é obrigatório","resourceReference":{"resourceKey":"human-resources.departamentos","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"responsavelId":{"type":"integer","description":"Identificador do funcionario (heroi) responsavel pelo departamento: aprovacoes de alocacao e ponto de contacto operacional.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Relacionamentos","helpText":"Líder responsável pelas aprovações.","icon":"supervisor_account","iconPosition":"left","label":"Responsável","name":"responsavelId","order":"10","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}}},"description":"Comando para substituir os dados editaveis de uma unidade organizacional, mantendo sua identidade tecnica e recalculando leituras como nome do responsavel no retorno."},"UpdateDependenteDTO":{"required":["dataNascimento","funcionarioId","nomeCompleto","parentesco"],"type":"object","properties":{"dataNascimento":{"type":"string","description":"Data de nascimento do dependente: base para idade, elegibilidade de auxilio-escola e, em declaracoes, idade fim de dependencia (referencia, nao regra legal automatica).","format":"date","example":"2016-04-20","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"restricted","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"sensitive_personal","reason":"Data de nascimento do dependente. Dado usado para inferir idade e elegibilidade; requer mascaramento.","source":"java.annotation"},"x-ui":{"controlType":"date","displayFormat":"dd/MM/yyyy","editable":true,"group":"Identificação","helpText":"Data de nascimento para cálculo de idade.","icon":"cake","iconPosition":"left","label":"Data de Nascimento","locale":"pt-BR","mask":"dd/MM/yyyy","max":"today","name":"dataNascimento","numericFormat":"date","order":"30","quickViewOrder":2,"quickViewVisible":true,"rangeMessage":"Data de Nascimento deve ser menor ou igual a today","required":true,"requiredMessage":"Data de Nascimento é obrigatório","sortable":true,"type":"text","valuePresentation":{"type":"date"}}},"funcionarioId":{"type":"integer","description":"Colaborador titular do vinculo familiar: o dependente liga-se a este `funcionarioId` (heroi) para beneficios e relatorios.","format":"int32","example":3,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Relacionamentos","helpText":"Colaborador titular vinculado ao dependente.","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"10","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"nomeCompleto":{"maxLength":200,"minLength":0,"type":"string","description":"Nome civil usado em declaracoes de imposto, plano de saude e contactos de emergencia; nao e pseudonimo de identidade secreta do heroi titular.","example":"Ana Soares","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"restricted","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"sensitive_personal","reason":"Nome civil do dependente. Identificador Pessoal (PII) sujeito a proteção legal de menores ou cônjuges.","source":"java.annotation"},"x-ui":{"controlType":"input","editable":true,"group":"Identificação","helpText":"Nome civil completo do dependente.","icon":"person","iconPosition":"left","label":"Nome Completo","maxLength":"200","maxLengthMessage":"Nome Completo deve ter no máximo 200 caracteres","name":"nomeCompleto","order":"10","required":true,"requiredMessage":"Nome Completo é obrigatório","resourceReference":{"resourceKey":"human-resources.dependentes","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"parentesco":{"maxLength":100,"minLength":0,"type":"string","description":"Grau de parentesco ou dependencia (ex. conjuge, filha, enteado) usado em regras de desconto e comprovacao; texto livre sujeito a validacao de negocio fora do DTO.","example":"filha","x-ui":{"controlType":"input","editable":true,"group":"Identificação","helpText":"Grau de parentesco (ex: filho, cônjuge).","icon":"family_restroom","iconPosition":"left","label":"Parentesco","maxLength":"100","maxLengthMessage":"Parentesco deve ter no máximo 100 caracteres","name":"parentesco","order":"20","quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Parentesco é obrigatório","sortable":true,"type":"text"}}},"description":"Comando para revisar os dados cadastrais editaveis de um dependente, preservando sua identidade tecnica e mantendo o vinculo com o colaborador titular."},"UpdateEnderecoDTO":{"required":["bairro","cep","cidade","estado","funcionarioId","logradouro","numero"],"type":"object","properties":{"bairro":{"minLength":1,"type":"string","description":"Regiao administrativa local usada em rotas, correio e risco (incidente proximo).","example":"Nucleo 7","x-ui":{"controlType":"input","editable":true,"group":"Endereço","helpText":"Região administrativa ou bairro.","icon":"location_city","iconPosition":"left","label":"Bairro","minLength":"1","minLengthMessage":"Bairro deve ter no mínimo 1 caracteres","name":"bairro","order":"40","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Bairro é obrigatório","sortable":true,"type":"text"}},"cep":{"minLength":1,"pattern":"^\\d{5}-?\\d{3}$","type":"string","description":"CEP brasileiro (8 digitos) com ou sem hifen; usado em validacoes de correio e normalizacao de rota.","example":"01310-100","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","PHYSICAL_SECURITY"],"confidence":1.0,"dataCategory":"personal","reason":"O CEP delimita uma área geográfica muito pequena que expõe a região de residência do colaborador.","source":"java.annotation"},"x-ui":{"controlType":"input","editable":true,"group":"Endereço","helpText":"Código postal no formato 00000-000.","icon":"local_post_office","iconPosition":"left","label":"CEP","mask":"00000-000","maxLength":"9","maxLengthMessage":"CEP deve ter no máximo 9 caracteres","minLength":"1","minLengthMessage":"CEP deve ter no mínimo 1 caracteres","name":"cep","order":"70","pattern":"^\\d{5}-?\\d{3}$","patternMessage":"CEP deve ser no formato 00000-000","quickViewOrder":5,"quickViewVisible":true,"required":true,"requiredMessage":"CEP é obrigatório","sortable":true,"type":"text"}},"cidade":{"minLength":1,"type":"string","description":"Municipio ou cidade perante a UF; relevante para calculos fiscais, logistica e agregacoes de RH regionais.","example":"Metropolis","x-ui":{"controlType":"input","editable":true,"group":"Endereço","helpText":"Município de residência.","icon":"location_city","iconPosition":"left","label":"Cidade","minLength":"1","minLengthMessage":"Cidade deve ter no mínimo 1 caracteres","name":"cidade","order":"50","quickViewOrder":3,"quickViewVisible":true,"required":true,"requiredMessage":"Cidade é obrigatório","sortable":true,"type":"text"}},"complemento":{"type":"string","description":"Apartamento, sala, ponto de referencia interna; opcional, mas evita duplicidade de entregas e visitas tecnicas.","example":"Apto 42","x-ui":{"controlType":"input","editable":true,"group":"Endereço","helpText":"Apto, bloco ou ponto de referência.","icon":"pin","iconPosition":"left","label":"Complemento","name":"complemento","order":"30","sortable":true,"type":"text"}},"estado":{"maxLength":2,"minLength":2,"pattern":"^[A-Z]{2}$","type":"string","description":"Unidade federativa (BR) em duas letras maiusculas, conforme validacao; define jurisdicao e feriados locais (referencia).","example":"SP","x-ui":{"controlType":"input","editable":true,"group":"Endereço","helpText":"UF em duas letras maiúsculas (ex: SP, RJ).","icon":"map","iconPosition":"left","label":"Estado","maxLength":"2","maxLengthMessage":"Estado deve ter no máximo 2 caracteres","minLength":"2","minLengthMessage":"Estado deve ter no mínimo 2 caracteres","name":"estado","order":"60","pattern":"^[A-Z]{2}$","patternMessage":"UF deve conter 2 letras maiúsculas","quickViewOrder":4,"quickViewVisible":true,"required":true,"requiredMessage":"Estado é obrigatório","sortable":true,"type":"text"}},"funcionarioId":{"type":"integer","description":"Dono do endereco: identificador do colaborador (heroi) cujo registo de morada este bloco descreve.","format":"int32","example":5,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Relacionamentos","helpText":"Colaborador residente.","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"10","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"logradouro":{"minLength":1,"type":"string","description":"Via publica (rua, avenida, alameda) sem numero; alinhado a normas de correio para integracao e geocodificacao futura.","example":"Rua das Missoes","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","PHYSICAL_SECURITY"],"confidence":1.0,"dataCategory":"personal","reason":"A via pública e localização de residência do colaborador oferecem riscos à segurança física e identificação (LGPD).","source":"java.annotation"},"x-ui":{"controlType":"input","editable":true,"group":"Endereço","helpText":"Rua, avenida ou alameda principal.","icon":"home","iconPosition":"left","label":"Logradouro","minLength":"1","minLengthMessage":"Logradouro deve ter no mínimo 1 caracteres","name":"logradouro","order":"10","required":true,"requiredMessage":"Logradouro é obrigatório","resourceReference":{"resourceKey":"human-resources.enderecos","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"numero":{"maxLength":50,"minLength":0,"type":"string","description":"Numero do imovel, bloco ou lote; pode incluir letra (ex. 1001 A) conforme regra de tamanho maximo.","example":"100","x-ui":{"controlType":"input","editable":true,"group":"Endereço","helpText":"Número do imóvel.","icon":"pin","iconPosition":"left","label":"Número","maxLength":"50","maxLengthMessage":"Número deve ter no máximo 50 caracteres","name":"numero","order":"20","quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Número é obrigatório","sortable":true,"type":"text"}}},"description":"Comando para substituir os dados editaveis de um endereco de colaborador, preservando o identificador do recurso e atualizando a localizacao usada por RH e operacoes."},"UpdateEquipamentoAlocacaoDTO":{"required":["equipamentoId","funcionarioId","inicio"],"type":"object","properties":{"equipamentoId":{"type":"integer","description":"Equipamento entregue ao colaborador durante o período de custódia.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/assets/equipamentos/option-sources/equipment/options/filter","icon":"construction","iconPosition":"left","label":"Equipamento","name":"equipamentoId","order":"10","required":true,"requiredMessage":"Equipamento é obrigatório","resourceReference":{"resourceKey":"assets.equipamentos","surfaceId":"view","valueField":"equipamentoId"},"sortable":true,"type":"number","valueField":"id"}},"fim":{"type":"string","description":"Data e hora de encerramento; permanece vazia enquanto a custódia estiver ativa.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"event","iconPosition":"left","label":"Fim","name":"fim","order":"40","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"funcionarioId":{"type":"integer","description":"Colaborador responsável pela custódia do equipamento.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"20","required":true,"requiredMessage":"Funcionário é obrigatório","resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"funcionarioId"},"sortable":true,"type":"number","valueField":"id"}},"inicio":{"type":"string","description":"Data e hora de início da responsabilidade de custódia.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"event","iconPosition":"left","label":"Início","name":"inicio","order":"30","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Início é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"status":{"type":"string","description":"Situacao da responsabilidade de custodia do equipamento (ATIVO na abertura; transicionado para DEVOLVIDO, DANIFICADO ou PERDIDO via workflow actions governadas).","enum":["ATIVO","DEVOLVIDO","PERDIDO","DANIFICADO"],"x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","options":[{"value":"ATIVO","label":"ATIVO"},{"value":"DEVOLVIDO","label":"DEVOLVIDO"},{"value":"PERDIDO","label":"PERDIDO"},{"value":"DANIFICADO","label":"DANIFICADO"}],"order":"50","quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Comando para revisar uma custódia de equipamento, incluindo encerramento, troca de responsável ou alteração da situação da alocação."},"UpdateEquipamentoDTO":{"required":["nome","status"],"type":"object","properties":{"nome":{"maxLength":200,"minLength":0,"type":"string","description":"Designacao oficial do item no inventario tatico (ex.: escudo, traje, comunicador ou dispositivo de campo).","x-ui":{"controlType":"input","editable":true,"icon":"badge","iconPosition":"left","label":"Nome","maxLength":"200","maxLengthMessage":"Nome deve ter no máximo 200 caracteres","name":"nome","required":true,"requiredMessage":"Nome é obrigatório","resourceReference":{"resourceKey":"assets.equipamentos","surfaceId":"view","valueField":"id"},"sortable":true,"type":"text"}},"proprietarioId":{"type":"integer","description":"Colaborador detentor da custodia formal vigente do equipamento enquanto o item estiver em uso operacional (governado exclusivamente por custodia ATIVO em equipamento-alocacoes).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","icon":"inventory_2","iconPosition":"left","label":"Proprietário","name":"proprietarioId","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"resistencia":{"minimum":0,"type":"integer","description":"Indice nominal de protecao, durabilidade ou integridade estrutural do ativo (escala de dominio a partir de 0).","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"inventory_2","iconPosition":"left","label":"Resistência","min":"0","name":"resistencia","numericMin":"0","quickViewOrder":3,"quickViewVisible":true,"rangeMessage":"Resistência deve ser maior ou igual a 0","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"status":{"type":"string","description":"Estado operacional de disponibilidade do equipamento (ESTOQUE, EM_USO, MANUTENCAO, QUEBRADO ou PERDIDO), governado por custodia e workflow actions auditadas em availability-transitions.","enum":["EM_USO","ESTOQUE","MANUTENCAO","QUEBRADO","PERDIDO"],"x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","options":[{"value":"EM_USO","label":"EM_USO"},{"value":"ESTOQUE","label":"ESTOQUE"},{"value":"MANUTENCAO","label":"MANUTENCAO"},{"value":"QUEBRADO","label":"QUEBRADO"},{"value":"PERDIDO","label":"PERDIDO"}],"quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Status é obrigatório","sortable":true,"type":"text"}},"tipo":{"type":"string","description":"Categoria tatica do equipamento no inventario (ARMADURA, ARMA, GADGET, ARTEFATO ou OUTRO), orientando alocacao e manutencao.","enum":["ARMADURA","ARMA","GADGET","ARTEFATO","OUTRO"],"x-ui":{"controlType":"select","editable":true,"icon":"category","iconPosition":"left","label":"Tipo","name":"tipo","options":[{"value":"ARMADURA","label":"ARMADURA"},{"value":"ARMA","label":"ARMA"},{"value":"GADGET","label":"GADGET"},{"value":"ARTEFATO","label":"ARTEFATO"},{"value":"OUTRO","label":"OUTRO"}],"quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Comando para revisar dados cadastrais de um equipamento existente (designacao, classificacao tatica e resistencia); transicoes de status e custodia exigem workflow actions ou equipamento-alocacoes."},"UpdateEquipeDTO":{"required":["nome","status"],"type":"object","properties":{"basePrincipalId":{"type":"integer","description":"FK; instalacao de origem/ logistica (basePrincipalId).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/bases/option-sources/base/options/filter","icon":"location_on","iconPosition":"left","label":"Base Principal","name":"basePrincipalId","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"nome":{"maxLength":200,"minLength":0,"type":"string","description":"Designacao oficial do grupo de atuacao.","x-ui":{"controlType":"input","editable":true,"icon":"badge","iconPosition":"left","label":"Nome","maxLength":"200","maxLengthMessage":"Nome deve ter no máximo 200 caracteres","name":"nome","required":true,"requiredMessage":"Nome é obrigatório","resourceReference":{"resourceKey":"operations.equipes","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"sigla":{"maxLength":12,"minLength":0,"type":"string","description":"Abreviatura de comunicacoes (ex. ALFA-1).","x-ui":{"controlType":"input","editable":true,"icon":"label","iconPosition":"left","label":"Sigla","maxLength":"12","maxLengthMessage":"Sigla deve ter no máximo 12 caracteres","name":"sigla","sortable":true,"type":"text"}},"status":{"type":"string","description":"Elegibilidade de escalonamento; EquipeStatus.","enum":["ATIVA","RESERVA","DISSOLVIDA"],"x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","options":[{"value":"ATIVA","label":"ATIVA"},{"value":"RESERVA","label":"RESERVA"},{"value":"DISSOLVIDA","label":"DISSOLVIDA"}],"quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Status é obrigatório","sortable":true,"type":"text"}}},"description":"Comando para substituir os dados editaveis de uma equipe operacional, preservando sua identidade e recalculando leituras como base principal no retorno."},"UpdateEquipeMembroDTO":{"required":["dataEntrada","equipeId","funcionarioId"],"type":"object","properties":{"dataEntrada":{"type":"string","description":"Inicio de vigencia na equipe (alistamento).","format":"date","x-ui":{"controlType":"date","editable":true,"group":"Principal","icon":"event","iconPosition":"left","label":"Data de Entrada","name":"dataEntrada","order":"20","quickViewOrder":3,"quickViewVisible":true,"required":true,"requiredMessage":"Data de Entrada é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"dataSaida":{"type":"string","description":"Fim de vigencia; nulo se escalado de forma continua.","format":"date","x-ui":{"controlType":"date","editable":true,"group":"Principal","icon":"event","iconPosition":"left","label":"Data de Saída","name":"dataSaida","order":"30","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"equipeId":{"type":"integer","description":"FK; unidade tactica (equipeId).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/equipes/option-sources/team/options/filter","group":"Relacionamentos","icon":"groups","iconPosition":"left","label":"Equipe","name":"equipeId","order":"10","required":true,"requiredMessage":"Equipe é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"funcionarioId":{"type":"integer","description":"FK; colaborador alocado (funcionarioId).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Relacionamentos","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"20","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"papel":{"type":"string","description":"Funcao no quadro; PapelEquipe.","enum":["LIDER","CO_LIDER","OPERACIONAL","SUPORTE","CONSULTOR"],"x-ui":{"controlType":"select","editable":true,"group":"Principal","icon":"label","iconPosition":"left","label":"Papel","name":"papel","options":[{"value":"LIDER","label":"LIDER"},{"value":"CO_LIDER","label":"CO_LIDER"},{"value":"OPERACIONAL","label":"OPERACIONAL"},{"value":"SUPORTE","label":"SUPORTE"},{"value":"CONSULTOR","label":"CONSULTOR"}],"order":"10","quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Comando para revisar o vinculo de membro de equipe, ajustando equipe, colaborador, papel ou vigencia sem alterar a identidade tecnica do registro."},"UpdateEventosFolhaDTO":{"required":["descricao","folhaPagamentoId","precondicoesFolhas","tipo","valor"],"type":"object","properties":{"descricao":{"maxLength":255,"minLength":0,"type":"string","description":"Historico ou rubrica do lancamento (ex. correcao de lancamento anterior).","x-ui":{"controlType":"textarea","editable":true,"group":"Principal","helpText":"Novo motivo ou nome do evento.","icon":"description","iconPosition":"left","label":"Descrição","maxLength":"255","maxLengthMessage":"Descrição deve ter no máximo 255 caracteres","name":"descricao","order":"10","required":true,"requiredMessage":"Descrição é obrigatório","sortable":true,"type":"text"}},"folhaPagamentoId":{"type":"integer","description":"FK; folha alvo se o lancamento mudar de competencia (folhaPagamentoId).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/folhas-pagamento/option-sources/payroll/options/filter","group":"Relacionamentos","helpText":"Nova folha à qual o evento pertence.","icon":"receipt_long","iconPosition":"left","label":"Folha de Pagamento","name":"folhaPagamentoId","order":"10","required":true,"requiredMessage":"Folha de Pagamento é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"precondicoesFolhas":{"minItems":1,"type":"array","description":"Precondições exatas da folha atual e da folha de destino, se diferente; sem extras ou duplicatas.","items":{"$ref":"#/components/schemas/PayrollParentPreconditionDTO"},"x-ui":{"array":{"deleteMode":"removeFromPayload","itemSchemaRef":"#/components/schemas/PayrollParentPreconditionDTO","itemType":"object","minItems":1,"mode":"cards"},"controlType":"array","editable":true,"formHidden":true,"group":"Controle de concorrência","iconPosition":"left","label":"Precondições das folhas","name":"precondicoesFolhas","order":"90","required":true,"requiredMessage":"Precondições das folhas é obrigatório","sortable":true,"submitPolicy":"include","tableHidden":true,"type":"array"}},"tipo":{"maxLength":100,"minLength":0,"type":"string","description":"Categoria de escrita ADICIONAL ou DESCONTO; PROVENTO não é editável.","x-ui":{"controlType":"input","editable":true,"group":"Principal","helpText":"ADICIONAL ou DESCONTO.","icon":"category","iconPosition":"left","label":"Tipo","maxLength":"100","maxLengthMessage":"Tipo deve ter no máximo 100 caracteres","name":"tipo","order":"20","required":true,"requiredMessage":"Tipo é obrigatório","sortable":true,"type":"text"}},"valor":{"maximum":999999999999.99,"exclusiveMaximum":false,"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Montante ajustado na moeda da folha.","format":"decimal","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"financial","reason":"Valor financeiro do evento, sujeito à autorização da folha e ao mascaramento em contexto de IA.","source":"java.annotation"},"x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"group":"Principal","helpText":"Valor absoluto financeiro ajustado.","icon":"payments","iconPosition":"left","label":"Valor","locale":"pt-BR","max":"999999999999.99","min":"0.00","name":"valor","numericFormat":"currency","numericMax":"999999999999.99","numericMin":"0.00","order":"30","rangeMessage":"Valor deve estar entre 0.00 e 999999999999.99","required":true,"requiredMessage":"Valor é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}}},"description":"Comando para corrigir ou reclassificar um evento de folha existente, mantendo sua identidade tecnica e atualizando rubrica, tipo, valor ou folha de competencia."},"UpdateFeriasAfastamentoDTO":{"required":["dataFim","dataInicio","funcionarioId","tipo"],"type":"object","properties":{"dataFim":{"type":"string","description":"Ultimo dia do afastamento (inclusive); apos essa data o colaborador retorna a disponibilidade operacional (salvo outro registo).","format":"date","example":"2025-07-15","x-ui":{"controlType":"date","displayFormat":"dd/MM/yyyy","editable":true,"group":"Principal","helpText":"Último dia do afastamento.","icon":"event_available","iconPosition":"left","label":"Data de Fim","locale":"pt-BR","mask":"dd/MM/yyyy","name":"dataFim","numericFormat":"date","order":"30","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Data de Fim é obrigatório","sortable":true,"type":"text","valuePresentation":{"type":"date"}}},"dataInicio":{"type":"string","description":"Primeiro dia fora (inclusive) do regime normal de trabalho; usado com dataFim em calculos de cobertura e conflito com missao.","format":"date","example":"2025-07-01","x-ui":{"controlType":"date","displayFormat":"dd/MM/yyyy","editable":true,"group":"Principal","helpText":"Primeiro dia do afastamento.","icon":"event","iconPosition":"left","label":"Data de Início","locale":"pt-BR","mask":"dd/MM/yyyy","name":"dataInicio","numericFormat":"date","order":"20","quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Data de Início é obrigatório","sortable":true,"type":"text","valuePresentation":{"type":"date"}}},"funcionarioId":{"type":"integer","description":"Colaborador afastado: FK ao `Funcionario` afetado pelo periodo; obrigatorio para vincular ausencia a pessoa certa.","format":"int32","example":5,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Relacionamentos","helpText":"Colaborador em afastamento.","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"10","required":true,"requiredMessage":"Funcionário é obrigatório","resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"funcionarioId"},"sortable":true,"type":"number","valueField":"id"}},"observacoes":{"maxLength":2000,"minLength":0,"type":"string","description":"Detalhe (substituto, aprovador, atestado, contacto) para apoio a RH; nao substitui documento comprobatorio armazenado a parte.","example":"Aprovado DRH em 12/06; substituicao: equipe B","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"restricted","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"sensitive_personal","reason":"Pode conter laudos, diagnósticos e transcrições de atestados médicos protegidos por sigilo. Não deve ser lido sem máscara por IA.","source":"java.annotation"},"x-ui":{"controlType":"textarea","editable":true,"group":"Principal","helpText":"Detalhes e anotações de aprovação.","icon":"notes","iconPosition":"left","label":"Observações","maxLength":"2000","maxLengthMessage":"Observações deve ter no máximo 2000 caracteres","name":"observacoes","order":"40","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text"}},"tipo":{"maxLength":100,"minLength":0,"type":"string","description":"Natureza do afastamento (ex. Ferias, Licenca saude, Suspensao disciplinar). Valor discursivo: impacta aprovacoes e folha consoante politica; nao e enum fechado aqui.","example":"Ferias","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"restricted","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"sensitive_personal","reason":"O tipo de afastamento pode revelar informações médicas, como licenças de saúde, configurando dado sensível.","source":"java.annotation"},"x-ui":{"controlType":"input","editable":true,"group":"Principal","helpText":"Motivo da ausência (ex: Férias, Licença médica).","icon":"event_busy","iconPosition":"left","label":"Tipo","maxLength":"100","maxLengthMessage":"Tipo deve ter no máximo 100 caracteres","name":"tipo","order":"10","required":true,"requiredMessage":"Tipo é obrigatório","resourceReference":{"resourceKey":"human-resources.ferias-afastamentos","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}}},"description":"Comando para revisar o periodo, tipo ou observacoes de uma ausencia ja registrada, preservando sua identidade e mantendo o impacto em disponibilidade e folha."},"UpdateFolhasPagamentoDTO":{"required":["ano","dataPagamentoPrevista","descontosBase","funcionarioId","id","mes","salarioBruto","salarioLiquido","totalDescontos"],"type":"object","properties":{"ano":{"maximum":2100,"minimum":1900,"type":"integer","description":"Ano civil da competência da folha, de 1900 a 2100.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"group":"Competência","iconPosition":"left","label":"Ano","max":"2100","min":"1900","name":"ano","numericMax":"2100","numericMin":"1900","order":"10","rangeMessage":"Ano deve estar entre 1900 e 2100","required":true,"requiredMessage":"Ano é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"dataPagamentoPrevista":{"type":"string","description":"Output declarado: previsão calculada pela determinação de calendário, não agendamento nem pagamento.","format":"date","x-ui":{"controlType":"date","editable":true,"group":"Competência","iconPosition":"left","label":"Data prevista","name":"dataPagamentoPrevista","order":"30","required":true,"requiredMessage":"Data prevista é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"descontosBase":{"maximum":999999999999.99,"exclusiveMaximum":false,"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Descontos-base em BRL; o total consolidado é derivado com eventos aprovados.","format":"decimal","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"financial","reason":"Descontos-base declarados antes dos eventos aprovados.","source":"java.annotation"},"x-ui":{"controlType":"currency","editable":true,"group":"Valores","iconPosition":"left","label":"Descontos-base","max":"999999999999.99","min":"0.00","name":"descontosBase","numericFormat":"currency","numericMax":"999999999999.99","numericMin":"0.00","numericStep":"0.01","order":"20","rangeMessage":"Descontos-base deve estar entre 0.00 e 999999999999.99","required":true,"requiredMessage":"Descontos-base é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"funcionarioId":{"type":"integer","description":"Identidade do funcionário titular, autorizada no escopo operacional.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Relacionamentos","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"10","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"type":"number","valueField":"id"}},"id":{"type":"integer","description":"Identidade imutável da folha, obrigatoriamente igual ao id da rota.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"group":"Competência","iconPosition":"left","label":"Código","name":"id","order":"1","readOnly":true,"required":true,"requiredMessage":"Código é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"mes":{"maximum":12,"minimum":1,"type":"integer","description":"Mês da competência, de 1 a 12.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"group":"Competência","iconPosition":"left","label":"Mês","max":"12","min":"1","name":"mes","numericMax":"12","numericMin":"1","order":"20","rangeMessage":"Mês deve estar entre 1 e 12","required":true,"requiredMessage":"Mês é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"salarioBruto":{"maximum":999999999999.99,"exclusiveMaximum":false,"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Salário-base bruto em BRL; não inclui eventos adicionais.","format":"decimal","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"financial","reason":"Remuneração-base bruta da competência.","source":"java.annotation"},"x-ui":{"controlType":"currency","editable":true,"group":"Valores","iconPosition":"left","label":"Salário bruto","max":"999999999999.99","min":"0.00","name":"salarioBruto","numericFormat":"currency","numericMax":"999999999999.99","numericMin":"0.00","numericStep":"0.01","order":"10","rangeMessage":"Salário bruto deve estar entre 0.00 e 999999999999.99","required":true,"requiredMessage":"Salário bruto é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"salarioLiquido":{"maximum":999999999999.99,"exclusiveMaximum":false,"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Output declarado em BRL: bruto + adicionais aprovados - total de descontos; conferido no submit.","format":"decimal","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"financial","reason":"Salário líquido determinado para a folha.","source":"java.annotation"},"x-ui":{"controlType":"currency","editable":true,"group":"Valores","iconPosition":"left","label":"Salário líquido","max":"999999999999.99","min":"0.00","name":"salarioLiquido","numericFormat":"currency","numericMax":"999999999999.99","numericMin":"0.00","numericStep":"0.01","order":"40","rangeMessage":"Salário líquido deve estar entre 0.00 e 999999999999.99","required":true,"requiredMessage":"Salário líquido é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"totalDescontos":{"maximum":999999999999.99,"exclusiveMaximum":false,"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Output declarado: descontos-base mais eventos DESCONTO aprovados; conferido novamente no submit.","format":"decimal","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"financial","reason":"Total de descontos determinado para a folha.","source":"java.annotation"},"x-ui":{"controlType":"currency","editable":true,"group":"Valores","iconPosition":"left","label":"Total de descontos","max":"999999999999.99","min":"0.00","name":"totalDescontos","numericFormat":"currency","numericMax":"999999999999.99","numericMin":"0.00","numericStep":"0.01","order":"30","rangeMessage":"Total de descontos deve estar entre 0.00 e 999999999999.99","required":true,"requiredMessage":"Total de descontos é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}}},"description":"Revê fatos da folha identificada, preservando sua identidade; outputs declarados são conferidos no submit."},"UpdateFuncionarioDTO":{"required":["cargoId","cpf","dataAdmissao","dataNascimento","departamentoId","email","nomeCompleto","salario","telefone"],"type":"object","properties":{"cargoId":{"type":"integer","description":"Referência ao cargo atribuído ao colaborador.","format":"int32","example":1,"x-ui":{"controlType":"select","displayField":"label","editable":true,"endpoint":"/api/human-resources/cargos/option-sources/jobRole/options/filter","group":"Profissional","helpText":"Cargo atribuído pelo comando.","icon":"work","iconPosition":"left","label":"Cargo","name":"cargoId","order":"40","required":true,"requiredMessage":"Cargo é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"cpf":{"maxLength":20,"minLength":0,"pattern":"^(\\d{3}\\.\\d{3}\\.\\d{3}-\\d{2}|\\d{11})$","type":"string","description":"Cadastro de Pessoa Física usado para identificação fiscal do colaborador, sujeito às finalidades e políticas de privacidade do domínio de RH.","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"personal","reason":"Documento pessoal usado para identificação fiscal do colaborador.","source":"java.annotation"},"x-ui":{"allowFormattedInput":true,"controlType":"cpfCnpjInput","documentType":"cpf","editable":true,"group":"Identificação","helpText":"Documento no formato 000.000.000-00.","icon":"fingerprint","iconPosition":"left","label":"CPF","mask":"000.000.000-00","maxLength":"20","maxLengthMessage":"CPF deve ter no máximo 20 caracteres","name":"cpf","order":"20","pattern":"^(\\d{3}\\.\\d{3}\\.\\d{3}-\\d{2}|\\d{11})$","patternMessage":"CPF inválido","required":true,"requiredMessage":"CPF é obrigatório","sortable":true,"tableHidden":true,"type":"text"}},"dataAdmissao":{"type":"string","description":"Data de início do vínculo empregatício; ancora férias, históricos e requisitos de experiência.","format":"date","x-ui":{"controlType":"date","displayFormat":"dd/MM/yyyy","editable":true,"group":"Profissional","helpText":"Data de início do vínculo empregatício.","icon":"event_available","iconPosition":"left","label":"Data de Admissão","locale":"pt-BR","mask":"dd/MM/yyyy","name":"dataAdmissao","numericFormat":"date","order":"20","required":true,"requiredMessage":"Data de Admissão é obrigatório","sortable":true,"type":"text","valuePresentation":{"type":"date"}}},"dataNascimento":{"type":"string","description":"Data de nascimento do colaborador; participa de regras de idade, benefícios e elegibilidade.","format":"date","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"personal","reason":"Data de nascimento usada para identificação pessoal.","source":"java.annotation"},"x-ui":{"controlType":"date","displayFormat":"dd/MM/yyyy","editable":true,"group":"Identificação","helpText":"Data de nascimento oficial do colaborador.","icon":"cake","iconPosition":"left","label":"Data de Nascimento","locale":"pt-BR","mask":"dd/MM/yyyy","max":"today","name":"dataNascimento","numericFormat":"date","order":"30","rangeMessage":"Data de Nascimento deve ser menor ou igual a today","required":true,"requiredMessage":"Data de Nascimento é obrigatório","sortable":true,"tableHidden":true,"type":"text","valuePresentation":{"type":"date"}}},"departamentoId":{"type":"integer","description":"Unidade organizacional à qual o colaborador será alocado.","format":"int32","x-ui":{"controlType":"select","displayField":"label","editable":true,"endpoint":"/api/human-resources/departamentos/option-sources/department/options/filter","group":"Profissional","helpText":"Unidade organizacional atribuída pelo comando.","icon":"apartment","iconPosition":"left","label":"Departamento","name":"departamentoId","order":"50","required":true,"requiredMessage":"Departamento é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"email":{"type":"string","format":"email","description":"Endereço de e-mail corporativo ou pessoal usado para notificações e recuperação de conta.","maxLength":200,"minLength":0,"x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"personal","reason":"Contato pessoal do colaborador.","source":"java.annotation"},"x-ui":{"controlType":"email","editable":true,"group":"Contato","helpText":"Endereço de e-mail de contato.","icon":"email","iconPosition":"left","label":"Email","maxLength":"200","maxLengthMessage":"Email deve ter no máximo 200 caracteres","name":"email","order":"10","required":true,"requiredMessage":"Email é obrigatório","sortable":true,"tableHidden":true,"type":"email"}},"estadoCivil":{"type":"string","description":"Situação civil informada para benefícios, dependentes e relatórios que a exijam.","enum":["SOLTEIRO","CASADO","DIVORCIADO","VIUVO","UNIAO_ESTAVEL"],"x-ui":{"controlType":"select","editable":true,"group":"Identificação","helpText":"Situação civil atual.","icon":"family_restroom","iconPosition":"left","label":"Estado Civil","name":"estadoCivil","options":[{"value":"SOLTEIRO","label":"SOLTEIRO"},{"value":"CASADO","label":"CASADO"},{"value":"DIVORCIADO","label":"DIVORCIADO"},{"value":"VIUVO","label":"VIUVO"},{"value":"UNIAO_ESTAVEL","label":"UNIAO_ESTAVEL"}],"order":"35","sortable":true,"type":"text"}},"fotoPerfilUrl":{"maxLength":300,"minLength":0,"type":"string","description":"URL completa da imagem de perfil armazenada, quando disponível.","x-ui":{"controlType":"url","editable":true,"formHidden":true,"group":"Identificação","helpText":"URL completa da foto do colaborador.","icon":"link","iconPosition":"left","label":"Foto (URL)","maxLength":"300","maxLengthMessage":"Foto (URL) deve ter no máximo 300 caracteres","name":"fotoPerfilUrl","order":"40","sortable":true,"tableHidden":true,"type":"url"}},"nomeCompleto":{"maxLength":200,"minLength":0,"type":"string","description":"Nome civil completo usado em documentos oficiais e exibição em listagens.","example":"Maria Souza","x-ui":{"controlType":"input","editable":true,"group":"Identificação","helpText":"Nome civil completo do colaborador.","icon":"badge","iconPosition":"left","label":"Nome Completo","maxLength":"200","maxLengthMessage":"Nome Completo deve ter no máximo 200 caracteres","name":"nomeCompleto","order":"10","required":true,"requiredMessage":"Nome Completo é obrigatório","sortable":true,"type":"text"}},"salario":{"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Remuneração base solicitada pelo comando; dado financeiro sujeito a controle de acesso.","format":"decimal","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"financial","reason":"Remuneração individual do colaborador.","source":"java.annotation"},"x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"group":"Profissional","helpText":"Remuneração base informada pelo comando.","icon":"payments","iconPosition":"left","label":"Salário","locale":"pt-BR","min":"0.00","name":"salario","numericFormat":"currency","numericMin":"0.00","order":"10","rangeMessage":"Salário deve ser maior ou igual a 0.00","required":true,"requiredMessage":"Salário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valuePresentation":{"type":"currency"}}},"telefone":{"maxLength":30,"minLength":0,"pattern":"^\\+?\\d{8,15}$","type":"string","description":"Telefone de contato em formato E.164 ou nacional usado nos fluxos operacionais de RH.","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"personal","reason":"Canal de contato pessoal do colaborador.","source":"java.annotation"},"x-ui":{"autoFormat":true,"controlType":"phone","defaultCountry":"BR","editable":true,"group":"Contato","helpText":"Telefone com DDD (ex: +55 11 99999-9999).","icon":"phone","iconPosition":"left","label":"Telefone","mask":"+55 (00) 00000-0000","maxLength":"30","maxLengthMessage":"Telefone deve ter no máximo 30 caracteres","name":"telefone","order":"20","pattern":"^\\+?\\d{8,15}$","patternMessage":"Telefone inválido (use formato E.164: +5581999999999)","phoneFormat":"international","required":true,"requiredMessage":"Telefone é obrigatório","sortable":true,"tableHidden":true,"type":"text"}}},"description":"Comando para atualizar os dados cadastrais e organizacionais do colaborador. Identidade e versão são preservadas. Alterações posteriores do estado ativo pertencem exclusivamente às actions deactivate e reactivate."},"UpdateFuncionarioHabilidadeDTO":{"required":["funcionarioId","habilidadeId","proficiencia"],"type":"object","properties":{"funcionarioId":{"type":"integer","description":"Colaborador possuidor da proficiencia: referencia o recurso Funcionario (heroi) que acumula esta habilidade.","format":"int32","example":2,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Relacionamentos","helpText":"Colaborador associado à habilidade.","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"10","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"habilidadeId":{"type":"integer","description":"Ponte para o registo de HabilidadeDTO no catalogo; define qual competencia esta a ser classificada para este colaborador.","format":"int32","example":7,"x-ui":{"controlType":"select","displayField":"label","editable":true,"endpoint":"/api/human-resources/habilidades/option-sources/skill/options/filter","group":"Relacionamentos","helpText":"Habilidade do catálogo a ser vinculada.","icon":"psychology","iconPosition":"left","label":"Habilidade","name":"habilidadeId","order":"20","required":true,"requiredMessage":"Habilidade é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"origem":{"type":"string","description":"Classificação canônica da proveniência da habilidade no vínculo do colaborador: NATURAL, EXPERIMENTO, TECNOLOGIA, TREINAMENTO, MISTICO, ALIEN ou OUTRO.","example":"TREINAMENTO","enum":["NATURAL","EXPERIMENTO","TECNOLOGIA","TREINAMENTO","MISTICO","ALIEN","OUTRO"],"x-ui":{"controlType":"select","editable":true,"group":"Avaliação","helpText":"Como a competência foi adquirida ou manifestada pelo colaborador.","icon":"school","iconPosition":"left","label":"Origem","name":"origem","options":[{"value":"NATURAL","label":"NATURAL"},{"value":"EXPERIMENTO","label":"EXPERIMENTO"},{"value":"TECNOLOGIA","label":"TECNOLOGIA"},{"value":"TREINAMENTO","label":"TREINAMENTO"},{"value":"MISTICO","label":"MISTICO"},{"value":"ALIEN","label":"ALIEN"},{"value":"OUTRO","label":"OUTRO"}],"order":"20","presentation":{"appearance":"soft","presenter":"badge"},"quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"text"}},"proficiencia":{"maximum":100,"minimum":1,"type":"integer","description":"Escala percentual de 1 a 100 de domínio operacional deste colaborador sobre a habilidade vinculada; distinta do nivelPoder do catálogo (escala 1 a 10 de potência intrínseca da capacidade).","format":"int32","example":85,"x-ui":{"controlType":"numericTextBox","editable":true,"group":"Avaliação","helpText":"Nível de domínio do colaborador na habilidade (escala de 1 a 100).","icon":"workspace_premium","iconPosition":"left","label":"Proficiência","max":"100","min":"1","name":"proficiencia","numericMax":"100","numericMin":"1","order":"10","quickViewOrder":1,"quickViewVisible":true,"rangeMessage":"Proficiência deve estar entre 1 e 100","required":true,"requiredMessage":"Proficiência é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"number"}}}},"description":"Comando para revisar proficiencia, origem ou vinculo de habilidade de um colaborador, preservando a identidade tecnica da associacao."},"UpdateFuncionarioProfileDTO":{"required":["email","nomeCompleto","telefone"],"type":"object","properties":{"email":{"type":"string","format":"email","description":"Endereço de e-mail usado em comunicações e alertas operacionais.","maxLength":200,"minLength":0,"x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"personal","reason":"Contato pessoal ou corporativo do colaborador sujeito a governanca LGPD/GDPR.","source":"java.annotation"},"x-ui":{"controlType":"email","editable":true,"group":"Perfil","helpText":"Novo endereço de e-mail operacional.","icon":"email","iconPosition":"left","label":"Email","maxLength":"200","maxLengthMessage":"Email deve ter no máximo 200 caracteres","name":"email","order":"20","required":true,"requiredMessage":"Email é obrigatório","sortable":true,"type":"email"}},"fotoPerfilUrl":{"maxLength":300,"minLength":0,"type":"string","description":"URL publica da foto de perfil (armazenamento ja resolvido pelo cliente de upload).","x-ui":{"controlType":"url","editable":true,"group":"Perfil","helpText":"URL atualizada da foto de perfil.","icon":"link","iconPosition":"left","label":"Foto (URL)","maxLength":"300","maxLengthMessage":"Foto (URL) deve ter no máximo 300 caracteres","name":"fotoPerfilUrl","order":"40","sortable":true,"type":"url"}},"nomeCompleto":{"maxLength":200,"minLength":0,"type":"string","description":"Nome usado para identificar o colaborador no diretório e nas comunicações operacionais.","x-ui":{"controlType":"input","editable":true,"group":"Perfil","helpText":"Novo nome de exibição pública do colaborador.","icon":"badge","iconPosition":"left","label":"Nome completo","maxLength":"200","maxLengthMessage":"Nome completo deve ter no máximo 200 caracteres","name":"nomeCompleto","order":"10","required":true,"requiredMessage":"Nome completo é obrigatório","sortable":true,"type":"text"}},"telefone":{"maxLength":30,"minLength":0,"pattern":"^\\+?\\d{8,15}$","type":"string","description":"Telefone em formato E.164 usado para contato operacional.","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"personal","reason":"Canal de contato telefonico pessoal do colaborador sujeito a governanca LGPD/GDPR.","source":"java.annotation"},"x-ui":{"autoFormat":true,"controlType":"phone","defaultCountry":"BR","editable":true,"group":"Perfil","helpText":"Novo telefone de contato operacional.","icon":"phone","iconPosition":"left","label":"Telefone","mask":"+55 (00) 00000-0000","maxLength":"30","maxLengthMessage":"Telefone deve ter no máximo 30 caracteres","name":"telefone","order":"30","pattern":"^\\+?\\d{8,15}$","patternMessage":"Telefone invalido (use formato E.164: +5581999999999)","phoneFormat":"international","required":true,"requiredMessage":"Telefone é obrigatório","sortable":true,"type":"text"}}},"description":"Comando parcial para atualizar nome de exibição, e-mail, telefone e foto usados no diretório corporativo. Não altera remuneração, lotação, documentos ou dados administrativos."},"UpdateHabilidadeDTO":{"required":["nome"],"type":"object","properties":{"categoria":{"type":"string","description":"Eixo de classificacao: FISICA, MENTAL, TECNOLOGICA, MISTICA, ALIEN, BIOQUIMICA. Agrupa habilidades para relatorios e regras de alocacao.","enum":["FISICA","MENTAL","TECNOLOGICA","MISTICA","ALIEN","BIOQUIMICA"],"x-ui":{"controlType":"select","editable":true,"group":"Principal","helpText":"Classificação da habilidade (ex: TÉCNICA, COMPORTAMENTAL).","icon":"category","iconPosition":"left","label":"Categoria","name":"categoria","options":[{"value":"FISICA","label":"FISICA"},{"value":"MENTAL","label":"MENTAL"},{"value":"TECNOLOGICA","label":"TECNOLOGICA"},{"value":"MISTICA","label":"MISTICA"},{"value":"ALIEN","label":"ALIEN"},{"value":"BIOQUIMICA","label":"BIOQUIMICA"}],"order":"20","presentation":{"appearance":"soft","presenter":"chip"},"quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}},"descricao":{"maxLength":2000,"minLength":0,"type":"string","description":"Narrativa livre do efeito, limitacoes e contexto de uso; nao define sozinha a governanca operacional, que depende de missao, perfil e politica.","x-ui":{"controlType":"textarea","editable":true,"group":"Principal","helpText":"Detalhes sobre o efeito e contexto de uso.","icon":"description","iconPosition":"left","label":"Descrição","maxLength":"2000","maxLengthMessage":"Descrição deve ter no máximo 2000 caracteres","name":"descricao","order":"30","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text"}},"nivelPoder":{"minimum":0,"type":"integer","description":"Escala interna 0+ de potencia relativa para priorizar requisitos de missao e comparar candidatos; nao e salario nem antiguidade.","format":"int32","example":7,"x-ui":{"controlType":"numericTextBox","editable":true,"group":"Principal","helpText":"Grau de impacto (escala interna).","icon":"bolt","iconPosition":"left","label":"Nível de Poder","min":"0","name":"nivelPoder","numericMin":"0","order":"40","quickViewOrder":2,"quickViewVisible":true,"rangeMessage":"Nível de Poder deve ser maior ou igual a 0","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"nome":{"maxLength":200,"minLength":0,"type":"string","description":"Designacao canónica da competencia (ex. Voo tatico, Telepatia de curto alcance) para exibicao e busca semantica.","example":"Muralha de forca","x-ui":{"controlType":"input","editable":true,"group":"Principal","helpText":"Nome da competência no catálogo.","icon":"psychology","iconPosition":"left","label":"Nome","maxLength":"200","maxLengthMessage":"Nome deve ter no máximo 200 caracteres","name":"nome","order":"10","required":true,"requiredMessage":"Nome é obrigatório","resourceReference":{"resourceKey":"human-resources.habilidades","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}}},"description":"Comando para revisar uma competencia do catalogo de habilidades, atualizando sua classificacao sem alterar diretamente os vinculos ja atribuídos a colaboradores."},"UpdateHistoricoSalarialDTO":{"required":["dataInicio","funcionarioId","salario"],"type":"object","properties":{"dataFim":{"type":"string","description":"Fim de vigencia (inclusive) ou nulo se ainda ativa. Nova fatia consecutiva deve comecar apos o encerramento logico (evitar buracos e sobreposicoes).","format":"date","example":"2024-12-31","x-ui":{"controlType":"date","editable":true,"helpText":"Último dia de vigência (se aplicável).","icon":"event_available","iconPosition":"left","label":"Data Fim","name":"dataFim","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"dataInicio":{"type":"string","description":"Inicio de vigencia deste valor (inclusive); primeiro dia em que a faixa e considerada ativa para efeito de regra de negocio.","format":"date","example":"2024-01-01","x-ui":{"controlType":"date","editable":true,"helpText":"Primeiro dia de vigência do salário.","icon":"event","iconPosition":"left","label":"Data Início","name":"dataInicio","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Data Início é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"funcionarioId":{"type":"integer","description":"Colaborador cujo salario (neste recorte) esta a ser registado; referencia o recurso de funcionario.","format":"int32","example":4,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Colaborador titular do histórico.","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"10","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"funcionarioNome":{"type":"string","description":"Nome completo resolvido do colaborador titular da trilha salarial para exibicao legivel em grades, listas de progressao de carreira e paineis analiticos (somente leitura).","example":"Ana Clara Silva","x-ui":{"controlType":"input","editable":true,"formHidden":true,"helpText":"Nome completo do colaborador (preenchido automaticamente).","icon":"person","iconPosition":"left","label":"Colaborador","name":"funcionarioNome","order":"11","readOnly":true,"resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"funcionarioId"},"sortable":true,"type":"text"}},"motivo":{"maxLength":2000,"minLength":0,"type":"string","description":"Justificativa administrativa (reajuste, promocao, correcao, acordo) para rastreabilidade; insumo de auditoria interna, nao substitui o documento legal.","example":"Reajuste anual 2024","x-ui":{"controlType":"textarea","editable":true,"helpText":"Justificativa da alteração (ex: promoção, reajuste).","icon":"notes","iconPosition":"left","label":"Motivo","maxLength":"2000","maxLengthMessage":"Motivo deve ter no máximo 2000 caracteres","name":"motivo","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"text"}},"salario":{"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Base remuneratoria acordada para o periodo (moeda do backend, tipicamente BRL). Valor de RH administrativo, confidencial; nao e liquido de transferencia bancaria.","format":"decimal","example":15000.0,"x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"summarize_only"},"annotationType":"compliance","classification":"confidential","complianceTags":["INTERNAL_POLICY","FINANCIAL_PRIVACY"],"confidence":1.0,"dataCategory":"financial","reason":"O valor nominal do salário é estritamente confidencial e não deve ser exposto de forma bruta por IAs.","source":"java.annotation"},"x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"helpText":"Valor da remuneração no período.","icon":"payments","iconPosition":"left","label":"Salário","locale":"pt-BR","min":"0.00","name":"salario","numericFormat":"currency","numericMin":"0.00","quickViewOrder":1,"quickViewVisible":true,"rangeMessage":"Salário deve ser maior ou igual a 0.00","required":true,"requiredMessage":"Salário é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}}},"description":"Comando para revisar valor, vigencia ou motivo de uma fatia salarial existente, preservando a identidade do registro e a rastreabilidade financeira."},"UpdateHistoricosCargoDTO":{"required":["cargoId","dataInicio","funcionarioId"],"type":"object","properties":{"cargoId":{"type":"integer","description":"Referência a CargoDTO (catálogo de funções, nível e faixa salarial). Define o título e a função nesse período.","format":"int32","example":3,"x-ui":{"controlType":"select","displayField":"label","editable":true,"endpoint":"/api/human-resources/cargos/option-sources/jobRole/options/filter","group":"Principal","helpText":"Novo cargo assumido.","icon":"work","iconPosition":"left","label":"Cargo","name":"cargoId","order":"20","required":true,"requiredMessage":"Cargo é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"dataFim":{"type":"string","description":"Fim (inclusive) do período nesse cargo, ou nulo enquanto o colaborador o ocupa; encerre-o antes de atribuir outro registro consecutivo.","format":"date","example":"2025-01-10","x-ui":{"controlType":"date","displayFormat":"dd/MM/yyyy","editable":true,"group":"Principal","helpText":"Último dia de exercício (se aplicável).","icon":"event_available","iconPosition":"left","label":"Data Fim","locale":"pt-BR","mask":"dd/MM/yyyy","name":"dataFim","numericFormat":"date","order":"40","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text","valuePresentation":{"type":"date"}}},"dataInicio":{"type":"string","description":"Início (inclusive) do exercício deste cargo pelo colaborador: transferências, promoções e reestruturações entram com nova data e novo cargo.","format":"date","example":"2022-03-15","x-ui":{"controlType":"date","displayFormat":"dd/MM/yyyy","editable":true,"group":"Principal","helpText":"Primeiro dia de exercício no cargo.","icon":"event","iconPosition":"left","label":"Data Início","locale":"pt-BR","mask":"dd/MM/yyyy","name":"dataInicio","numericFormat":"date","order":"30","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Data Início é obrigatório","sortable":true,"type":"text","valuePresentation":{"type":"date"}}},"funcionarioId":{"type":"integer","description":"Colaborador cuja carreira está sendo registrada; referência ao recurso de funcionário.","format":"int32","example":2,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Principal","helpText":"Colaborador promovido ou transferido.","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"10","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"observacoes":{"maxLength":2000,"minLength":0,"type":"string","description":"Notas de RH (substituição, comissão temporária ou detalhe de alocação) complementares ao motivo de alteração salarial, se existir; texto livre para auditoria administrativa.","example":"Interino durante reforma de cargo superior","x-ui":{"controlType":"textarea","editable":true,"group":"Principal","helpText":"Notas sobre a transição ou alocação.","icon":"notes","iconPosition":"left","label":"Observações","maxLength":"2000","maxLengthMessage":"Observações deve ter no máximo 2000 caracteres","name":"observacoes","order":"50","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Comando para revisar uma movimentacao de cargo existente, preservando sua identidade e ajustando cargo, vigencia ou observacoes de carreira."},"UpdateIdentidadeSecretaDTO":{"required":["codinome","exposicaoPublica","funcionarioId","universo"],"type":"object","properties":{"codinome":{"maxLength":120,"minLength":0,"type":"string","description":"Nome de guerra / codinome usado em comunicacao publica e relatorios de missao; nao substitui o CPF ou nome completo (RG/HR).","example":"Sombra Azul","x-domain-governance":{"aiUsage":{"reasoningUse":"deny","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"security","classification":"restricted","complianceTags":["INTERNAL_POLICY","SECURITY"],"confidence":1.0,"dataCategory":"operational","reason":"Vincular publicamente a identidade civil a este codinome compromete o sigilo e segurança operacional das missões.","source":"java.annotation"},"x-ui":{"controlType":"input","editable":true,"helpText":"Nome público (alter ego) do herói.","icon":"theater_comedy","iconPosition":"left","label":"Codinome","maxLength":"120","maxLengthMessage":"Codinome deve ter no máximo 120 caracteres","name":"codinome","required":true,"requiredMessage":"Codinome é obrigatório","resourceReference":{"resourceKey":"human-resources.identidades-secretas","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"exposicaoPublica":{"type":"boolean","description":"Se o codinome e divulgaveis a midia e parceiros externos; false implica restringir a equipas internas e operacoes classificadas (politica de exibicao).","example":true,"x-ui":{"controlType":"checkbox","editable":true,"helpText":"Permite a divulgação externa deste perfil.","icon":"visibility","iconPosition":"left","label":"Exposição Pública","name":"exposicaoPublica","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Exposição Pública é obrigatório","sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"}}},"funcionarioId":{"type":"integer","description":"Colaborador dono do alter ego: identificador do `Funcionario` a quem o codinome e o universo se aplicam.","format":"int32","example":2,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Colaborador associado ao perfil heroico.","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"universo":{"maxLength":120,"minLength":0,"type":"string","description":"Universo ou linha de origem usado para contextualizar a persona publica; livre, mas indexavel em catalogo narrativo e analitico.","example":"Terra-616","x-ui":{"controlType":"input","editable":true,"helpText":"Universo narrativo de origem (ex: Terra-1).","icon":"public","iconPosition":"left","label":"Universo","maxLength":"120","maxLengthMessage":"Universo deve ter no máximo 120 caracteres","name":"universo","quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Universo é obrigatório","sortable":true,"type":"text"}}},"description":"Comando para revisar codinome, universo ou exposicao publica de uma persona existente, preservando identidade tecnica e governanca de sigilo."},"UpdateIncidenteDTO":{"required":["descricao","ocorridoEm"],"type":"object","properties":{"danosCivis":{"type":"number","description":"Prejuizo estimado a patrimonio civil; moeda de referencia do tenant.","format":"decimal","x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"icon":"payments","iconPosition":"left","label":"Danos Civis","locale":"pt-BR","name":"danosCivis","numericFormat":"currency","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"descricao":{"maxLength":2000,"minLength":0,"type":"string","description":"Narrativa do fato e evolucao; texto livre.","x-ui":{"controlType":"textarea","editable":true,"icon":"description","iconPosition":"left","label":"Descrição","maxLength":"2000","maxLengthMessage":"Descrição deve ter no máximo 2000 caracteres","name":"descricao","required":true,"requiredMessage":"Descrição é obrigatório","resourceReference":{"resourceKey":"operations.incidentes","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"feridos":{"minimum":0,"type":"integer","description":"Contagem de lesoes; inclui nao-heroi quando aplicavel.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"health_and_safety","iconPosition":"left","label":"Feridos","min":"0","name":"feridos","numericMin":"0","quickViewOrder":4,"quickViewVisible":true,"rangeMessage":"Feridos deve ser maior ou igual a 0","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"local":{"maxLength":200,"minLength":0,"type":"string","description":"Teatro ou ponto de impacto (endereco, coordenada textual).","x-ui":{"controlType":"input","editable":true,"icon":"location_on","iconPosition":"left","label":"Local","maxLength":"200","maxLengthMessage":"Local deve ter no máximo 200 caracteres","name":"local","sortable":true,"type":"text"}},"missaoId":{"type":"integer","description":"FK; missao onde o incidente ocorreu (missaoId).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/missoes/option-sources/mission/options/filter","icon":"flag","iconPosition":"left","label":"Missão","name":"missaoId","resourceReference":{"previewSurfaceId":"summary","resourceKey":"operations.missoes","surfaceId":"detail","valueField":"missaoId"},"sortable":true,"type":"number","valueField":"id"}},"mortos":{"minimum":0,"type":"integer","description":"Falecidos vinculados ao incidente; para acordo com regulador.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"health_and_safety","iconPosition":"left","label":"Mortos","min":"0","name":"mortos","numericMin":"0","quickViewOrder":5,"quickViewVisible":true,"rangeMessage":"Mortos deve ser maior ou igual a 0","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"ocorridoEm":{"type":"string","description":"Timestamp do incidente (fuso ancorado no registo).","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"event","iconPosition":"left","label":"Ocorrido em","name":"ocorridoEm","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Ocorrido em é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"severidade":{"type":"string","description":"Escala tatica; Severidade.","enum":["BAIXA","MEDIA","ALTA","CRITICA"],"x-ui":{"controlType":"select","editable":true,"icon":"emergency","iconPosition":"left","label":"Severidade","name":"severidade","options":[{"value":"BAIXA","label":"BAIXA"},{"value":"MEDIA","label":"MEDIA"},{"value":"ALTA","label":"ALTA"},{"value":"CRITICA","label":"CRITICA"}],"quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Comando para revisar um incidente existente, preservando sua identidade e atualizando estado, severidade, narrativa ou vinculos operacionais de acompanhamento."},"UpdateIndenizacaoDTO":{"required":["incidenteId","pago","valor"],"type":"object","properties":{"incidenteId":{"type":"integer","description":"Incidente de Operacoes que originou a cobertura: FK a Incidente; ancora danos, missao e responsavel operacional.","format":"int32","example":7,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/incidentes/option-sources/incident/options/filter","helpText":"Incidente que originou a indenização.","icon":"report_problem","iconPosition":"left","label":"Incidente","name":"incidenteId","required":true,"requiredMessage":"Incidente é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"pago":{"type":"boolean","description":"Indica se o valor foi liquidado (transferencia, ordem bancaria) no sentido de reconciliacao de RH; ainda pode exigir anexo de comprovante fora do DTO.","example":false,"x-ui":{"controlType":"checkbox","editable":true,"helpText":"Indica se o valor já foi transferido.","icon":"payments","iconPosition":"left","label":"Pago","name":"pago","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Pago é obrigatório","sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"}}},"processoNum":{"maxLength":100,"minLength":0,"type":"string","description":"Protocolo de sinistro ou processo administrativo; rastreio com a seguradora ou departamento de risco (nao e numero de processo judicial unificado automaticamente).","example":"SIN-2025-00412","x-ui":{"controlType":"input","editable":true,"helpText":"Número do processo ou protocolo do sinistro.","icon":"fingerprint","iconPosition":"left","label":"Número do Processo","maxLength":"100","maxLengthMessage":"Número do Processo deve ter no máximo 100 caracteres","name":"processoNum","resourceReference":{"resourceKey":"human-resources.indenizacoes","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"seguradora":{"maxLength":200,"minLength":0,"type":"string","description":"Entidade underwriter ou TPA que processa a reclamacao; vazio se a cobertura for assumida internamente.","example":"Cobertura Metropolis Mutual","x-ui":{"controlType":"input","editable":true,"helpText":"Empresa responsável pela cobertura.","icon":"label","iconPosition":"left","label":"Seguradora","maxLength":"200","maxLengthMessage":"Seguradora deve ter no máximo 200 caracteres","name":"seguradora","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text"}},"valor":{"minimum":0.00,"exclusiveMinimum":false,"type":"number","description":"Montante em moeda do backend; valor alvo de cobertura acordada ou aprovada, nao necessariamente ja transferido (ver pago).","format":"decimal","example":25000.0,"x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"summarize_only"},"annotationType":"compliance","classification":"confidential","complianceTags":["INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"financial","reason":"Valores indenizatórios são acordos financeiros confidenciais entre a empresa, seguradora e as partes envolvidas.","source":"java.annotation"},"x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"helpText":"Montante aprovado para indenização.","icon":"payments","iconPosition":"left","label":"Valor","locale":"pt-BR","min":"0.00","name":"valor","numericFormat":"currency","numericMin":"0.00","quickViewOrder":1,"quickViewVisible":true,"rangeMessage":"Valor deve ser maior ou igual a 0.00","required":true,"requiredMessage":"Valor é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}}},"description":"Comando para revisar valor, estado de pagamento ou dados de processo de uma indenizacao existente, mantendo a relacao com o incidente de origem."},"UpdateLegacyPayCodeDTO":{"required":["active","code","description","payrollCategory","status"],"type":"object","properties":{"active":{"type":"boolean","description":"Sinal publico de uso operacional. Nao substitui as permissoes dinamicas avaliadas pelo provider de availability.","x-ui":{"controlType":"checkbox","editable":true,"group":"Governança","helpText":"Indica se o codigo pode ser usado em novos eventos.","icon":"toggle_on","iconPosition":"left","label":"Ativo","name":"active","order":"30","presentation":{"appearance":"soft","presenter":"status"},"quickViewOrder":4,"quickViewVisible":true,"required":true,"requiredMessage":"Ativo é obrigatório","sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"}}},"code":{"maxLength":40,"minLength":0,"type":"string","description":"Codigo operacional reconhecido pelo backend legado de folha para classificar eventos e rubricas.","example":"EVT-HAZARD","x-ui":{"controlType":"input","editable":true,"group":"Principal","helpText":"Codigo operacional usado pelo sistema legado de folha.","icon":"code","iconPosition":"left","label":"Código","maxLength":"40","maxLengthMessage":"Código deve ter no máximo 40 caracteres","name":"code","order":"10","presentation":{"appearance":"soft","presenter":"badge"},"required":true,"requiredMessage":"Código é obrigatório","resourceReference":{"resourceKey":"human-resources.legacy-pay-codes","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"description":{"maxLength":240,"minLength":0,"type":"string","description":"Descricao de negocio do codigo, usada por operadores para entender quando a rubrica deve ser aplicada.","x-ui":{"controlType":"textarea","editable":true,"group":"Principal","helpText":"Descricao de negocio exibida em telas e auditorias.","icon":"description","iconPosition":"left","label":"Descrição","maxLength":"240","maxLengthMessage":"Descrição deve ter no máximo 240 caracteres","name":"description","order":"20","quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Descrição é obrigatório","sortable":true,"type":"text"}},"payrollCategory":{"maxLength":80,"minLength":0,"type":"string","description":"Categoria de folha que orienta calculo, conferencia e conciliacao operacional.","example":"additional-pay","x-ui":{"controlType":"input","editable":true,"group":"Governança","helpText":"Grupo de classificacao da folha.","icon":"category","iconPosition":"left","label":"Categoria","maxLength":"80","maxLengthMessage":"Categoria deve ter no máximo 80 caracteres","name":"payrollCategory","order":"10","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Categoria é obrigatório","sortable":true,"type":"text"}},"status":{"maxLength":40,"minLength":0,"type":"string","description":"Estado operacional do codigo conforme guard do host legado; valores comuns sao ACTIVE, DRAFT e RETIRED.","example":"ACTIVE","x-ui":{"controlType":"input","editable":true,"group":"Governança","helpText":"Estado operacional retornado pelo legado.","icon":"flag","iconPosition":"left","label":"Status","maxLength":"40","maxLengthMessage":"Status deve ter no máximo 40 caracteres","name":"status","order":"20","presentation":{"appearance":"soft","presenter":"status"},"quickViewOrder":3,"quickViewVisible":true,"required":true,"requiredMessage":"Status é obrigatório","sortable":true,"type":"text"}}},"description":"Comando publico para revisar codigo de folha mantendo a identidade do recurso e delegando a mutacao ao legado."},"UpdateLicencasOperacaoDTO":{"required":["acordoId","validoDe"],"type":"object","properties":{"acordoId":{"type":"integer","description":"Acordo regulatorio que fundamenta e outorga a licenca operacional.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/acordos-regulatorios/option-sources/agreement/options/filter","icon":"gavel","iconPosition":"left","label":"Acordo Regulatório","name":"acordoId","required":true,"requiredMessage":"Acordo Regulatório é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"equipeId":{"type":"integer","description":"Equipe tatica licenciada, como alternativa ou complemento a um titular individual.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/equipes/option-sources/team/options/filter","icon":"groups","iconPosition":"left","label":"Equipe","name":"equipeId","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"funcionarioId":{"type":"integer","description":"Colaborador titular quando a licenca operacional e pessoal.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"nivel":{"type":"string","description":"Classe de autorizacao (Poder restrito, TSI, etc.); LicencaNivel.","enum":["LOCAL","NACIONAL","GLOBAL","EXTRATERRESTRE"],"x-ui":{"controlType":"select","editable":true,"icon":"trending_up","iconPosition":"left","label":"Nível","name":"nivel","options":[{"value":"LOCAL","label":"LOCAL"},{"value":"NACIONAL","label":"NACIONAL"},{"value":"GLOBAL","label":"GLOBAL"},{"value":"EXTRATERRESTRE","label":"EXTRATERRESTRE"}],"quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}},"validoAte":{"type":"string","description":"Fim de vigencia da licenca; nulo indica autorizacao sem termino registrado ou em renovacao.","format":"date","x-ui":{"controlType":"date","editable":true,"icon":"event","iconPosition":"left","label":"Válido Até","name":"validoAte","quickViewOrder":6,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"validoDe":{"type":"string","description":"Inicio de vigencia da licenca.","format":"date","x-ui":{"controlType":"date","editable":true,"icon":"event","iconPosition":"left","label":"Válido De","name":"validoDe","quickViewOrder":5,"quickViewVisible":true,"required":true,"requiredMessage":"Válido De é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"date"}}}},"description":"Comando para revisar uma licenca operacional existente, ajustando acordo, titular, equipe, classe ou vigencia sem perder rastreabilidade da autorizacao."},"UpdateMencoesMidiaDTO":{"required":["veiculo"],"type":"object","properties":{"funcionarioId":{"type":"integer","description":"Herói citado na peca de midia; FK ao Funcionario. Usado para cruzar com Reputacao e perfil publico.","format":"int32","example":2,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Relacionamentos","helpText":"Colaborador mencionado na mídia.","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"10","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"publicadoEm":{"type":"string","description":"Instante de publicacao referido na fonte; linha de tempo de reputacao e janela de reaccao.","format":"date-time","example":"2025-03-10T08:00:00Z","x-ui":{"controlType":"dateTime","displayFormat":"dd/MM/yyyy HH:mm","editable":true,"group":"Publicação","helpText":"Data e hora da publicação da menção.","icon":"event","iconPosition":"left","label":"Publicado Em","locale":"pt-BR","name":"publicadoEm","numericFormat":"date-time","order":"40","quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"sentimento":{"type":"string","description":"Classificacao automatica ou curada: NEG (crise), NEU, POS. Alimenta agregacoes e pode disparar governanca de resposta.","enum":["NEG","NEU","POS"],"x-ui":{"controlType":"select","editable":true,"group":"Publicação","helpText":"Classificação da menção (Positiva, Negativa, Neutra).","icon":"mood","iconPosition":"left","label":"Sentimento","name":"sentimento","options":[{"value":"NEG","label":"NEG"},{"value":"NEU","label":"NEU"},{"value":"POS","label":"POS"}],"order":"20","presentation":{"appearance":"soft","presenter":"status"},"quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}},"url":{"maxLength":500,"minLength":0,"type":"string","description":"Ligacao canonica a materia original para verificacao e direito de resposta; tratar conteudo externo (LGPD, copyright) fora do armazenamento de texto longo.","example":"https://midia.exemplo.com/nota/2025/hero-ops","x-ui":{"controlType":"url","editable":true,"group":"Publicação","helpText":"Link para a matéria original.","icon":"link","iconPosition":"left","label":"URL","maxLength":"500","maxLengthMessage":"URL deve ter no máximo 500 caracteres","name":"url","order":"30","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"url"}},"veiculo":{"maxLength":200,"minLength":0,"type":"string","description":"Outlet ou canal (jornal, portal, programa) onde a referencia foi publicada; nao e o URL completo (veja url).","example":"Metropolis Times","x-ui":{"controlType":"input","editable":true,"group":"Publicação","helpText":"Canal de publicação (ex: Jornal, Blog).","icon":"newspaper","iconPosition":"left","label":"Veículo","maxLength":"200","maxLengthMessage":"Veículo deve ter no máximo 200 caracteres","name":"veiculo","order":"10","required":true,"requiredMessage":"Veículo é obrigatório","resourceReference":{"resourceKey":"human-resources.mencoes-midia","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}}},"description":"Comando para revisar uma mencao de midia existente, ajustando classificacao, fonte ou referencia temporal sem alterar sua identidade tecnica."},"UpdateMissaoDTO":{"required":["prioridade","status","titulo"],"type":"object","properties":{"ameacaId":{"type":"integer","description":"Referencia a ameaca de risco associada; enriquecimento e SLAs vêm do servico de risk intelligence.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/risk-intelligence/ameacas/option-sources/threat/options/filter","icon":"warning","iconPosition":"left","label":"Ameaça","name":"ameacaId","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"fimPrev":{"type":"string","description":"Janela planejada de termino, usada em planeamento de frota e folgas.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"event","iconPosition":"left","label":"Fim Previsto","name":"fimPrev","quickViewOrder":5,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"fimReal":{"type":"string","description":"Encerramento operacional; necessario para gatilhos de faturamento e desmobilizacao de recursos.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"event","iconPosition":"left","label":"Fim Real","name":"fimReal","sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"inicioPrev":{"type":"string","description":"Janela planejada de inicio (timezone da aplicacao/tenant).","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"event","iconPosition":"left","label":"Início Previsto","name":"inicioPrev","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"inicioReal":{"type":"string","description":"Timestamp efetivo de inicio, alimenta auditoria e relatorios de atraso.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"event","iconPosition":"left","label":"Início Real","name":"inicioReal","sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"local":{"maxLength":200,"minLength":0,"type":"string","description":"Area ou endereco operacional; pode conter classificacoes nao publicas, devendo ser resumido em canais nao confiaveis.","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"summarize_only"},"annotationType":"security","classification":"confidential","complianceTags":["INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"operational","reason":"Local operacional da missao.","source":"java.annotation"},"x-ui":{"controlType":"input","editable":true,"icon":"location_on","iconPosition":"left","label":"Local","maxLength":"200","maxLengthMessage":"Local deve ter no máximo 200 caracteres","name":"local","sortable":true,"type":"text"}},"objetivo":{"maxLength":4000,"minLength":0,"type":"string","description":"Narrativa do objetivo operacional; pode conter taticas, restricoes e coordenadas -- resumo e governanca restringem exposicao a IA.","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"summarize_only"},"annotationType":"security","classification":"confidential","complianceTags":["INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"operational","reason":"Objetivo operacional da missao.","source":"java.annotation"},"x-ui":{"controlType":"textarea","editable":true,"icon":"flag","iconPosition":"left","label":"Objetivo","maxLength":"4000","maxLengthMessage":"Objetivo deve ter no máximo 4000 caracteres","name":"objetivo","sortable":true,"type":"text"}},"prioridade":{"type":"string","description":"Nivel de urgencia operacional; afeta alocacao de recursos e SLAs de equipa.","enum":["BAIXA","MEDIA","ALTA","CRITICA"],"x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"summarize_only"},"annotationType":"security","classification":"confidential","complianceTags":["INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"operational","reason":"Prioridade operacional da missao.","source":"java.annotation"},"x-ui":{"controlType":"select","editable":true,"icon":"priority_high","iconPosition":"left","label":"Prioridade","name":"prioridade","options":[{"value":"BAIXA","label":"BAIXA"},{"value":"MEDIA","label":"MEDIA"},{"value":"ALTA","label":"ALTA"},{"value":"CRITICA","label":"CRITICA"}],"quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Prioridade é obrigatório","sortable":true,"type":"text"}},"status":{"type":"string","description":"Ponto do fluxo de vida da missao; governa acoes, licencas e publicacao em dashboards regulados.","enum":["PLANEJADA","EM_ANDAMENTO","PAUSADA","CONCLUIDA","FALHOU"],"x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"allow"},"annotationType":"compliance","classification":"internal","complianceTags":["INTERNAL_POLICY","REGULATORY"],"confidence":1.0,"dataCategory":"legal","reason":"Status governado do ciclo operacional da missao.","source":"java.annotation"},"x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","options":[{"value":"PLANEJADA","label":"PLANEJADA"},{"value":"EM_ANDAMENTO","label":"EM_ANDAMENTO"},{"value":"PAUSADA","label":"PAUSADA"},{"value":"CONCLUIDA","label":"CONCLUIDA"},{"value":"FALHOU","label":"FALHOU"}],"quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Status é obrigatório","sortable":true,"type":"text"}},"titulo":{"maxLength":200,"minLength":0,"type":"string","description":"Titulo curto exibido em listas e aprovacoes; identifica a missao de forma unica perante a equipa operacional.","example":"Reconhecimento setor 7","x-ui":{"controlType":"input","editable":true,"icon":"title","iconPosition":"left","label":"Título","maxLength":"200","maxLengthMessage":"Título deve ter no máximo 200 caracteres","name":"titulo","required":true,"requiredMessage":"Título é obrigatório","resourceReference":{"previewSurfaceId":"summary","resourceKey":"operations.missoes","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}}},"description":"Comando para atualizar os dados editaveis da missao sem alterar sua identidade. Mudancas em objetivo, prioridade, status, local, ameaca e datas podem afetar planejamento, dashboards e regras governadas de operacao."},"UpdateMissaoEventoDTO":{"required":["missaoId","ocorridoEm"],"type":"object","properties":{"descricao":{"maxLength":4000,"minLength":0,"type":"string","description":"Detalhe do evento; suporta SITREP e anexar decisoes de campo.","x-ui":{"controlType":"textarea","editable":true,"icon":"description","iconPosition":"left","label":"Descrição","maxLength":"4000","maxLengthMessage":"Descrição deve ter no máximo 4000 caracteres","name":"descricao","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"text"}},"missaoId":{"type":"integer","description":"Missao operacional a que o evento da linha do tempo pertence.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/missoes/option-sources/mission/options/filter","icon":"flag","iconPosition":"left","label":"Missão","name":"missaoId","required":true,"requiredMessage":"Missão é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"ocorridoEm":{"type":"string","description":"Instante do acontecimento (linha de tempo tatica).","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"event","iconPosition":"left","label":"Ocorrido Em","name":"ocorridoEm","quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Ocorrido Em é obrigatório","sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"tipo":{"type":"string","description":"Categoria (partida, contato, extracao, etc.); MissaoEventoTipo.","enum":["CONTATO","COMBATE","EXFIL","EXTRA","INTEL","SOS"],"x-ui":{"controlType":"select","editable":true,"icon":"category","iconPosition":"left","label":"Tipo","name":"tipo","options":[{"value":"CONTATO","label":"CONTATO"},{"value":"COMBATE","label":"COMBATE"},{"value":"EXFIL","label":"EXFIL"},{"value":"EXTRA","label":"EXTRA"},{"value":"INTEL","label":"INTEL"},{"value":"SOS","label":"SOS"}],"quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Comando para revisar um evento de missao existente, preservando sua identidade e ajustando categoria, momento ou narrativa operacional."},"UpdateMissaoParticipanteDTO":{"required":["funcionarioId","missaoId","ordem","papel","principal"],"type":"object","properties":{"funcionarioId":{"type":"integer","description":"Funcionário ativo participante; a equipe não aceita duplicidade de funcionário.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","icon":"badge","iconPosition":"left","label":"Funcionário","min":"0.000001","name":"funcionarioId","numericMin":"0.000001","order":"20","rangeMessage":"Funcionário deve ser maior ou igual a 0.000001","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"missaoId":{"type":"integer","description":"Missão do vínculo; não é campo editável em lote.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/missoes/option-sources/mission/options/filter","icon":"flag","iconPosition":"left","label":"Missão","min":"0.000001","name":"missaoId","numericMin":"0.000001","order":"10","rangeMessage":"Missão deve ser maior ou igual a 0.000001","required":true,"requiredMessage":"Missão é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"ordem":{"minimum":0,"type":"integer","description":"Ordem de atuação, iniciando em zero.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"flag","iconPosition":"left","label":"Ordem","min":"0","name":"ordem","numericMin":"0","order":"40","rangeMessage":"Ordem deve ser maior ou igual a 0","required":true,"requiredMessage":"Ordem é obrigatório","sortable":true,"type":"number","valuePresentation":{"type":"number"},"width":"md"}},"papel":{"type":"string","description":"Papel do participante, alterável apenas no planejamento da missão.","enum":["LIDER","COMBATE","SUPORTE","INTEL","NEGOCIACAO"],"x-ui":{"controlType":"select","editable":true,"icon":"flag","iconPosition":"left","label":"Papel","name":"papel","options":[{"value":"LIDER","label":"LIDER"},{"value":"COMBATE","label":"COMBATE"},{"value":"SUPORTE","label":"SUPORTE"},{"value":"INTEL","label":"INTEL"},{"value":"NEGOCIACAO","label":"NEGOCIACAO"}],"order":"30","required":true,"requiredMessage":"Papel é obrigatório","sortable":true,"type":"text","width":"md"}},"principal":{"type":"boolean","description":"Liderança da equipe; uma equipe não vazia mantém exatamente um principal.","x-ui":{"controlType":"toggle","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Principal","name":"principal","order":"50","required":true,"requiredMessage":"Principal é obrigatório","sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"},"width":"md"}},"resultado":{"type":"string","description":"Resultado individual; SET/CLEAR bulk apenas em missão terminal.","nullable":true,"enum":["OK","FERIDO","DESAPARECIDO","MORTO","NA",null],"x-ui":{"controlType":"select","editable":true,"icon":"flag","iconPosition":"left","label":"Resultado","name":"resultado","options":[{"value":"OK","label":"OK"},{"value":"FERIDO","label":"FERIDO"},{"value":"DESAPARECIDO","label":"DESAPARECIDO"},{"value":"MORTO","label":"MORTO"},{"value":"NA","label":"NA"}],"order":"60","sortable":true,"type":"text","width":"md"}}},"description":"Revisão de um vínculo de missão sem alterar sua identidade ou revisão persistida."},"UpdateProcurementCompanyDTO":{"type":"object","properties":{"city":{"type":"string","description":"Municipio sede para logistica e fisco.","x-ui":{"controlType":"input","editable":true,"icon":"location_city","iconPosition":"left","label":"Cidade","name":"city","order":"40","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"text"}},"code":{"type":"string","description":"Codigo interno ou de integracao (ERP, filial).","x-ui":{"controlType":"input","editable":true,"icon":"tag","iconPosition":"left","label":"Codigo","name":"code","order":"10","quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}},"disabledReason":{"type":"string","description":"Texto de auditoria quando status impede novos pedidos ou contratos.","x-ui":{"controlType":"input","editable":true,"icon":"notes","iconPosition":"left","label":"Motivo de bloqueio","name":"disabledReason","order":"70","sortable":true,"type":"text"}},"documentNumber":{"type":"string","description":"CNPJ ou documento equivalente; usado em compliance e nota.","x-ui":{"controlType":"input","editable":true,"icon":"fingerprint","iconPosition":"left","label":"Documento","name":"documentNumber","order":"30","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text"}},"legalName":{"type":"string","description":"Razao social ou nome comercial legal.","x-ui":{"controlType":"input","editable":true,"icon":"business","iconPosition":"left","label":"Razao social","name":"legalName","order":"20","required":true,"requiredMessage":"Razao social é obrigatório","resourceReference":{"resourceKey":"procurement.companies","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"state":{"type":"string","description":"Unidade federativa (sigla).","x-ui":{"controlType":"input","editable":true,"icon":"map","iconPosition":"left","label":"UF","name":"state","order":"50","quickViewOrder":5,"quickViewVisible":true,"sortable":true,"type":"text"}},"status":{"type":"string","description":"Elegibilidade em compras (ACTIVE, INACTIVE, BLOCKED).","x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","order":"60","quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Comando para revisar uma empresa compradora existente, incluindo dados fiscais, localidade, status e motivo de bloqueio."},"UpdateProcurementContractDTO":{"type":"object","properties":{"companyId":{"type":"integer","description":"FK; empresa compradora (companyId).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/procurement/companies/option-sources/company/options/filter","icon":"business","iconPosition":"left","label":"Empresa","name":"companyId","order":"10","resourceReference":{"resourceKey":"procurement.companies","surfaceId":"detail","valueField":"companyId"},"sortable":true,"type":"number","valueField":"id"}},"currency":{"type":"string","description":"Codigo ISO da moeda do contrato (ex. BRL, USD).","x-ui":{"controlType":"input","editable":true,"icon":"payments","iconPosition":"left","label":"Moeda","name":"currency","order":"50","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text"}},"number":{"type":"string","description":"Numero legal do contrato ou aditivo mestre.","x-ui":{"controlType":"input","editable":true,"icon":"pin","iconPosition":"left","label":"Numero","name":"number","order":"30","required":true,"requiredMessage":"Numero é obrigatório","resourceReference":{"resourceKey":"procurement.contracts","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"supplierId":{"type":"integer","description":"FK; fornecedor contratado (supplierId).","format":"int32","x-ui":{"controlType":"entityLookup","dependentField":"companyId","displayField":"label","editable":true,"endpoint":"/api/procurement/suppliers/option-sources/supplier/options/filter","icon":"storefront","iconPosition":"left","label":"Fornecedor","name":"supplierId","order":"20","resetOnDependentChange":true,"sortable":true,"type":"number","valueField":"id"}},"supplierName":{"type":"string","description":"Nome do fornecedor denormalizado para listagem e busca (read model).","x-ui":{"controlType":"input","editable":true,"icon":"storefront","iconPosition":"left","label":"Fornecedor","name":"supplierName","order":"40","quickViewOrder":2,"quickViewVisible":true,"resourceReference":{"resourceKey":"procurement.suppliers","surfaceId":"detail","valueField":"supplierId"},"sortable":true,"type":"text"}},"validUntil":{"type":"string","description":"Fim de vigencia; precos e pedidos obedecem a esta data.","format":"date","x-ui":{"controlType":"date","editable":true,"icon":"event","iconPosition":"left","label":"Valido ate","name":"validUntil","order":"60","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"date"}}}},"description":"Comando para revisar dados cadastrais do contrato. Status e motivo de suspensao pertencem exclusivamente as actions sign, suspend e reactivate."},"UpdateProcurementProductDTO":{"type":"object","properties":{"categoryName":{"type":"string","description":"Categoria de linha para aprovacoes e relatorios.","x-ui":{"controlType":"input","editable":true,"icon":"category","iconPosition":"left","label":"Categoria","name":"categoryName","order":"50","quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"text"}},"companyId":{"type":"integer","description":"FK; tenant ou empresa detentora do catalogo (companyId).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/procurement/companies/option-sources/company/options/filter","icon":"business","iconPosition":"left","label":"Empresa","name":"companyId","order":"10","resourceReference":{"resourceKey":"procurement.companies","surfaceId":"detail","valueField":"companyId"},"sortable":true,"type":"number","valueField":"id"}},"contractId":{"type":"integer","description":"FK; contrato que rege preco e disponibilidade (contractId).","format":"int32","x-ui":{"controlType":"entityLookup","dependentField":"companyId","displayField":"label","editable":true,"endpoint":"/api/procurement/contracts/option-sources/contract/options/filter","icon":"contract","iconPosition":"left","label":"Contrato","name":"contractId","order":"20","resetOnDependentChange":true,"resourceReference":{"resourceKey":"procurement.contracts","surfaceId":"detail","valueField":"contractId"},"sortable":true,"type":"number","valueField":"id"}},"disabledReason":{"type":"string","description":"Explicacao quando o item nao pode ser requisitado.","x-ui":{"controlType":"input","editable":true,"icon":"notes","iconPosition":"left","label":"Motivo de bloqueio","name":"disabledReason","order":"90","sortable":true,"type":"text"}},"name":{"type":"string","description":"Denominacao comercial exibida em compras e recebimento.","x-ui":{"controlType":"input","editable":true,"icon":"inventory_2","iconPosition":"left","label":"Produto","name":"name","order":"40","required":true,"requiredMessage":"Produto é obrigatório","resourceReference":{"resourceKey":"procurement.products","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"sku":{"type":"string","description":"Codigo de item alfanumerico (pedido, XML, conciliacao).","x-ui":{"controlType":"input","editable":true,"icon":"inventory_2","iconPosition":"left","label":"SKU","name":"sku","order":"30","quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"SKU é obrigatório","sortable":true,"type":"text"}},"status":{"type":"string","description":"Elegibilidade do item (ativo, inativo, bloqueado, etc.).","x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","order":"80","quickViewOrder":5,"quickViewVisible":true,"sortable":true,"type":"text"}},"stockAvailable":{"type":"integer","description":"Quantidade disponivel na unidade de medida do item (saldos de demonstracao).","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"inventory_2","iconPosition":"left","label":"Estoque","name":"stockAvailable","order":"60","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"unitOfMeasure":{"type":"string","description":"Unidade de medida (ex. UN, CX); amarra a quantidade de pedido.","x-ui":{"controlType":"input","editable":true,"icon":"inventory_2","iconPosition":"left","label":"Unidade","name":"unitOfMeasure","order":"70","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Comando para revisar um item de catalogo de compras, incluindo contrato, estoque, unidade, status ou motivo de bloqueio."},"UpdateProcurementPurchaseOrderDTO":{"type":"object","properties":{"companyId":{"type":"integer","description":"Empresa compradora; filtra fornecedores, contratos e regras fiscais aplicaveis.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/procurement/companies/option-sources/company/options/filter","icon":"business","iconPosition":"left","label":"Empresa","name":"companyId","order":"10","required":true,"requiredMessage":"Empresa é obrigatório","resourceReference":{"resourceKey":"procurement.companies","surfaceId":"detail","valueField":"companyId"},"sortable":true,"type":"number","valueField":"id"}},"contractId":{"type":"integer","description":"Contrato de abastecimento com o fornecedor, quando a politica de compra exigir vinculacao legal.","format":"int32","x-ui":{"controlType":"entityLookup","dependentField":"supplierId","displayField":"label","editable":true,"endpoint":"/api/procurement/contracts/option-sources/contract/options/filter","icon":"contract","iconPosition":"left","label":"Contrato","name":"contractId","order":"30","resetOnDependentChange":true,"resourceReference":{"resourceKey":"procurement.contracts","surfaceId":"detail","valueField":"contractId"},"sortable":true,"type":"number","valueField":"id"}},"currency":{"type":"string","description":"Codigo ISO da moeda do pedido (ex. BRL, USD), alinhado a regras de arredondamento do ERP.","x-ui":{"controlType":"input","editable":true,"icon":"payments","iconPosition":"left","label":"Moeda","name":"currency","order":"60","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"text"}},"orderDate":{"type":"string","description":"Data de emissao do pedido; ancora a competencia de estoque e faturamento.","format":"date","x-ui":{"controlType":"date","editable":true,"icon":"event","iconPosition":"left","label":"Data do pedido","name":"orderDate","order":"50","quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"productId":{"type":"integer","description":"Item de catalogo a adquirir, respeitando precos e unidades do contrato.","format":"int32","x-ui":{"controlType":"entityLookup","dependentField":"contractId","displayField":"label","editable":true,"endpoint":"/api/procurement/products/option-sources/product/options/filter","icon":"inventory_2","iconPosition":"left","label":"Produto","name":"productId","order":"40","required":true,"requiredMessage":"Produto é obrigatório","resetOnDependentChange":true,"resourceReference":{"resourceKey":"procurement.products","surfaceId":"detail","valueField":"productId"},"sortable":true,"type":"number","valueField":"id"}},"quantity":{"type":"integer","description":"Quantidade encomendada na unidade de medida do produto, sujeita a minimo e multiplos de embalagem.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"format_list_numbered","iconPosition":"left","label":"Quantidade","name":"quantity","order":"70","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"supplierId":{"type":"integer","description":"Fornecedor (lookup governado: apenas fornecedores ativos/homologados no contexto da empresa).","format":"int32","x-ui":{"controlType":"entityLookup","dependentField":"companyId","description":"Lookup governado pela option-source supplier: apenas fornecedores ACTIVE ou APPROVED podem ser selecionados; INACTIVE e BLOCKED ficam indisponiveis.","displayField":"label","editable":true,"endpoint":"/api/procurement/suppliers/option-sources/supplier/options/filter","icon":"storefront","iconPosition":"left","label":"Fornecedor","name":"supplierId","order":"20","required":true,"requiredMessage":"Fornecedor é obrigatório","resetOnDependentChange":true,"resourceReference":{"resourceKey":"procurement.suppliers","surfaceId":"detail","valueField":"supplierId"},"sortable":true,"type":"number","valueField":"id"}}},"description":"Comando para revisar um pedido de compra existente, preservando sua identidade e reavaliando empresa, fornecedor, contrato, produto, quantidade, moeda e data contra as politicas governadas de procurement. Status, motivo e datas de lifecycle sao escritos exclusivamente pelas actions approve, cancel e receive."},"UpdateProcurementSupplierDTO":{"type":"object","properties":{"code":{"type":"string","description":"Codigo unico alfanumerico usado em pedidos, XML e conciliacoes fiscais.","example":"FORN-00042","x-ui":{"controlType":"input","editable":true,"icon":"tag","iconPosition":"left","label":"Codigo","name":"code","order":"20","quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}},"companyId":{"type":"integer","description":"Tenant ou empresa a que o cadastro de fornecedor se subordina em compras multibase.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/procurement/companies/option-sources/company/options/filter","icon":"business","iconPosition":"left","label":"Empresa","name":"companyId","order":"10","resourceReference":{"resourceKey":"procurement.companies","surfaceId":"detail","valueField":"companyId"},"sortable":true,"type":"number","valueField":"id"}},"documentNumber":{"type":"string","description":"CNPJ, CPF ou outro registro legal conforme a politica de cadastro; dado sensiveis para KYC e fisco.","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"confidential","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"personal","reason":"Documento de identificacao cadastral do fornecedor.","source":"java.annotation"},"x-ui":{"controlType":"input","editable":true,"icon":"fingerprint","iconPosition":"left","label":"Documento","name":"documentNumber","order":"40","quickViewOrder":5,"quickViewVisible":true,"sortable":true,"type":"text"}},"homologationStatus":{"type":"string","description":"Estagio de aprovacao no processo de sourcing (PENDING, APPROVED, etc., conforme enum/tabela de negocio).","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"allow"},"annotationType":"compliance","classification":"internal","complianceTags":["INTERNAL_POLICY","REGULATORY"],"confidence":1.0,"dataCategory":"legal","reason":"Homologacao necessaria para compras governadas.","source":"java.annotation"},"x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Homologacao","name":"homologationStatus","order":"50","quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"text"}},"legalName":{"type":"string","description":"Razao social ou denominacao completa para contratos, cartas de homologacao e notas fiscais.","x-ui":{"controlType":"input","editable":true,"icon":"business","iconPosition":"left","label":"Razao social","name":"legalName","order":"30","required":true,"requiredMessage":"Razao social é obrigatório","resourceReference":{"resourceKey":"procurement.suppliers","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"riskLevel":{"type":"string","description":"Categoria de risco de terceiro; impacta aprovacoes, limites de pedido e monitoramento.","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"summarize_only"},"annotationType":"security","classification":"confidential","complianceTags":["INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"operational","reason":"Nivel de risco operacional do fornecedor.","source":"java.annotation"},"x-ui":{"controlType":"select","editable":true,"icon":"warning","iconPosition":"left","label":"Risco","name":"riskLevel","order":"60","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Comando para atualizar dados cadastrais do fornecedor. Status e motivo de bloqueio pertencem exclusivamente as actions block e reinstate."},"UpdateReputacaoDTO":{"required":["funcionarioId"],"type":"object","properties":{"atualizadoEm":{"type":"string","description":"Momento (com offset) da ultima recomputacao dos scores; uso para frescor do dado e caches de UI.","format":"date-time","example":"2025-04-20T14:30:00Z","x-ui":{"controlType":"dateTime","displayFormat":"dd/MM/yyyy HH:mm","editable":true,"group":"Indicadores","helpText":"Data da última atualização dos scores.","icon":"event","iconPosition":"left","label":"Atualizado Em","locale":"pt-BR","name":"atualizadoEm","numericFormat":"date-time","order":"30","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"funcionarioId":{"type":"integer","description":"Colaborador a quem os scores se referem; FK ao Funcionario. Sem este id o snapshot nao tem dono.","format":"int32","example":3,"x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","group":"Relacionamentos","helpText":"Colaborador avaliado.","icon":"badge","iconPosition":"left","label":"Funcionário","name":"funcionarioId","order":"10","required":true,"requiredMessage":"Funcionário é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"scoreGovernamental":{"type":"integer","description":"Indice de alinhamento a politicas internas e compliance em missoes; separado do score publico para confrontar risco operacional vs imagem.","format":"int32","example":88,"x-ui":{"controlType":"numericTextBox","editable":true,"group":"Indicadores","helpText":"Índice de alinhamento com regras governamentais.","icon":"gavel","iconPosition":"left","label":"Score Governamental","name":"scoreGovernamental","order":"20","quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"scorePublico":{"type":"integer","description":"Indice derivado de visibilidade e sentimento de midia; escala e pesos pertencem ao modelo operacional do quickstart, nao a auditoria externa.","format":"int32","example":72,"x-ui":{"controlType":"numericTextBox","editable":true,"group":"Indicadores","helpText":"Índice de reputação junto ao público (0 a 100).","icon":"analytics","iconPosition":"left","label":"Score Público","name":"scorePublico","order":"10","quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}}},"description":"Comando para revisar scores e frescor de um snapshot reputacional existente, preservando o vinculo ao colaborador e a identidade tecnica do registro."},"UpdateSinaisSocorroDTO":{"required":["origem","status"],"type":"object","properties":{"abertoEm":{"type":"string","description":"Abertura do sinal; ancora a linha de tempo de resposta.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"group":"Datas","icon":"event","iconPosition":"left","label":"Aberto em","name":"abertoEm","order":"10","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"fechadoEm":{"type":"string","description":"Encerramento; nulo se ainda ativo na central.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"group":"Datas","icon":"event","iconPosition":"left","label":"Fechado em","name":"fechadoEm","order":"20","quickViewOrder":5,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"local":{"maxLength":200,"minLength":0,"type":"string","description":"Ponto de gravidade ou endereco aproximado do incidente.","x-ui":{"controlType":"input","editable":true,"group":"Principal","icon":"location_on","iconPosition":"left","label":"Local","maxLength":"200","maxLengthMessage":"Local deve ter no máximo 200 caracteres","name":"local","order":"20","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text"}},"nivelAmeaca":{"minimum":0,"type":"integer","description":"Escala tatica 0+; reforco de prioridade de QRF.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"group":"Principal","icon":"warning","iconPosition":"left","label":"Nível de Ameaça","min":"0","name":"nivelAmeaca","numericMin":"0","order":"30","quickViewOrder":2,"quickViewVisible":true,"rangeMessage":"Nível de Ameaça deve ser maior ou igual a 0","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"origem":{"maxLength":200,"minLength":0,"type":"string","description":"Entidade que abriu o sinal (cidade, asset, unidade de campo).","x-ui":{"controlType":"input","editable":true,"group":"Principal","icon":"source","iconPosition":"left","label":"Origem","maxLength":"200","maxLengthMessage":"Origem deve ter no máximo 200 caracteres","name":"origem","order":"10","required":true,"requiredMessage":"Origem é obrigatório","resourceReference":{"resourceKey":"operations.sinais-socorro","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"status":{"type":"string","description":"Ciclo do chamado; SinalSocorroStatus.","enum":["ABERTO","EM_ATENDIMENTO","RESOLVIDO","FALSO"],"x-ui":{"controlType":"select","editable":true,"group":"Principal","icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","options":[{"value":"ABERTO","label":"ABERTO"},{"value":"EM_ATENDIMENTO","label":"EM_ATENDIMENTO"},{"value":"RESOLVIDO","label":"RESOLVIDO"},{"value":"FALSO","label":"FALSO"}],"order":"40","quickViewOrder":1,"quickViewVisible":true,"required":true,"requiredMessage":"Status é obrigatório","sortable":true,"type":"text"}}},"description":"Comando para revisar um sinal de socorro existente, atualizando severidade, estado, localizacao ou narrativa de resposta mantendo sua identidade."},"UpdateVeiculoDTO":{"required":["nome","status"],"type":"object","properties":{"capacidade":{"minimum":0,"type":"integer","description":"Capacidade operacional de tripulacao, passageiros ou carga tatica usada no dimensionamento de sorties e missoes.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"location_city","iconPosition":"left","label":"Capacidade","min":"0","name":"capacidade","numericMin":"0","quickViewOrder":3,"quickViewVisible":true,"rangeMessage":"Capacidade deve ser maior ou igual a 0","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"nome":{"maxLength":200,"minLength":0,"type":"string","description":"Designacao oficial ou prefixo operacional da aeronave, embarcacao ou veiculo tatico na frota.","x-ui":{"controlType":"input","editable":true,"icon":"badge","iconPosition":"left","label":"Nome","maxLength":"200","maxLengthMessage":"Nome deve ter no máximo 200 caracteres","name":"nome","required":true,"requiredMessage":"Nome é obrigatório","resourceReference":{"resourceKey":"assets.veiculos","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"proprietarioId":{"type":"integer","description":"Colaborador responsavel primario pela custodia ou operacao preferencial do veiculo na frota.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","icon":"inventory_2","iconPosition":"left","label":"Proprietário","name":"proprietarioId","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"status":{"type":"string","description":"Estado de prontidao operacional do veiculo (OPERACIONAL, MANUTENCAO ou INOPERANTE), governado por workflow actions e auditado em availability-transitions.","enum":["OPERACIONAL","MANUTENCAO","INOPERANTE"],"x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","options":[{"value":"OPERACIONAL","label":"OPERACIONAL"},{"value":"MANUTENCAO","label":"MANUTENCAO"},{"value":"INOPERANTE","label":"INOPERANTE"}],"quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Status é obrigatório","sortable":true,"type":"text"}},"tipo":{"type":"string","description":"Modal ou classe de plataforma do veiculo (AEREO, TERRESTRE, MARITIMO ou ESPACIAL) para planejamento logistico.","enum":["AEREO","TERRESTRE","MARITIMO","ESPACIAL"],"x-ui":{"controlType":"select","editable":true,"icon":"category","iconPosition":"left","label":"Tipo","name":"tipo","options":[{"value":"AEREO","label":"AEREO"},{"value":"TERRESTRE","label":"TERRESTRE"},{"value":"MARITIMO","label":"MARITIMO"},{"value":"ESPACIAL","label":"ESPACIAL"}],"quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Comando para revisar um veiculo existente quando mudam capacidade, responsavel, tipo de plataforma ou disponibilidade para missoes."},"UpdateVeiculoMissaoUsoDTO":{"required":["missaoId","veiculoId"],"type":"object","properties":{"chegada":{"type":"string","description":"Instante de retorno/ pouso; nulo se sortie ainda ativa.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"flag","iconPosition":"left","label":"Chegada","name":"chegada","quickViewOrder":5,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"missaoId":{"type":"integer","description":"FK; operacao a que a sortie pertence (missaoId).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/missoes/option-sources/mission/options/filter","icon":"flag","iconPosition":"left","label":"Missão","name":"missaoId","required":true,"requiredMessage":"Missão é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"observacao":{"maxLength":2000,"minLength":0,"type":"string","description":"Notas tecnicas, danos ou consumiveis (texto livre).","x-ui":{"controlType":"textarea","editable":true,"icon":"notes","iconPosition":"left","label":"Observação","maxLength":"2000","maxLengthMessage":"Observação deve ter no máximo 2000 caracteres","name":"observacao","sortable":true,"type":"text"}},"partida":{"type":"string","description":"Instante de partida/ decolagem (fuso ancorado no registo).","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"flag","iconPosition":"left","label":"Partida","name":"partida","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"pilotoId":{"type":"integer","description":"FK; piloto responsavel (pilotoId).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","icon":"flag","iconPosition":"left","label":"Piloto","name":"pilotoId","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"veiculoId":{"type":"integer","description":"FK; ativo de frota utilizado (veiculoId).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/assets/veiculos/option-sources/vehicle/options/filter","icon":"directions_car","iconPosition":"left","label":"Veículo","name":"veiculoId","required":true,"requiredMessage":"Veículo é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}}},"description":"Comando para revisar uma sortie de veiculo, como piloto, horarios de partida ou chegada e observacoes operacionais."},"UpsertUserConfigRequest":{"required":["payload"],"type":"object","properties":{"payload":{"$ref":"#/components/schemas/JsonNode"},"tags":{"$ref":"#/components/schemas/JsonNode"}}},"UserConfigResponse":{"type":"object","properties":{"authoringSource":{"$ref":"#/components/schemas/JsonNode"},"componentId":{"type":"string"},"componentType":{"type":"string"},"environment":{"type":"string"},"etag":{"type":"string"},"payload":{"$ref":"#/components/schemas/JsonNode"},"scope":{"type":"string"},"tags":{"$ref":"#/components/schemas/JsonNode"},"version":{"type":"integer","format":"int64"}}},"Validation":{"type":"object","properties":{"errors":{"type":"array","items":{"type":"string"}},"valid":{"type":"boolean"},"warnings":{"type":"array","items":{"type":"string"}}}},"ValoresOriginais":{"type":"object","properties":{"valor":{"type":"string","description":"Valor original em string decimal exata."}},"description":"Valor original preservado como string decimal exata em projeção histórica autorizada.","readOnly":true},"Variant":{"type":"object","properties":{"dimensions":{"$ref":"#/components/schemas/JsonNode"},"displayName":{"type":"string"},"key":{"type":"string"}}},"VeiculoDTO":{"required":["nome","status"],"type":"object","properties":{"capacidade":{"minimum":0,"type":"integer","description":"Capacidade operacional de tripulacao, passageiros ou carga tatica usada no dimensionamento de sorties e missoes.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"location_city","iconPosition":"left","label":"Capacidade","min":"0","name":"capacidade","numericMin":"0","quickViewOrder":3,"quickViewVisible":true,"rangeMessage":"Capacidade deve ser maior ou igual a 0","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"id":{"type":"integer","description":"Identificador do veiculo no cadastro de ativos; referencia o recurso em URLs, uso em missoes e relacionamentos de frota.","format":"int32"},"nome":{"maxLength":200,"minLength":0,"type":"string","description":"Designacao oficial ou prefixo operacional da aeronave, embarcacao ou veiculo tatico na frota.","x-ui":{"controlType":"input","editable":true,"icon":"badge","iconPosition":"left","label":"Nome","maxLength":"200","maxLengthMessage":"Nome deve ter no máximo 200 caracteres","name":"nome","required":true,"requiredMessage":"Nome é obrigatório","resourceReference":{"resourceKey":"assets.veiculos","surfaceId":"detail","valueField":"id"},"sortable":true,"type":"text"}},"proprietarioId":{"type":"integer","description":"Colaborador responsavel primario pela custodia ou operacao preferencial do veiculo na frota.","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","icon":"inventory_2","iconPosition":"left","label":"Proprietário","name":"proprietarioId","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"proprietarioNome":{"type":"string","description":"Nome do responsavel primario projetado para listagens de frota e navegacao HATEOAS.","x-ui":{"controlType":"input","editable":true,"formHidden":true,"icon":"inventory_2","iconPosition":"left","label":"Proprietário","name":"proprietarioNome","quickViewOrder":4,"quickViewVisible":true,"readOnly":true,"resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"proprietarioId"},"sortable":true,"type":"text"}},"status":{"type":"string","description":"Estado de prontidao operacional do veiculo (OPERACIONAL, MANUTENCAO ou INOPERANTE), governado por workflow actions e auditado em availability-transitions.","enum":["OPERACIONAL","MANUTENCAO","INOPERANTE"],"x-ui":{"controlType":"select","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","options":[{"value":"OPERACIONAL","label":"OPERACIONAL"},{"value":"MANUTENCAO","label":"MANUTENCAO"},{"value":"INOPERANTE","label":"INOPERANTE"}],"quickViewOrder":2,"quickViewVisible":true,"required":true,"requiredMessage":"Status é obrigatório","sortable":true,"type":"text"}},"tipo":{"type":"string","description":"Modal ou classe de plataforma do veiculo (AEREO, TERRESTRE, MARITIMO ou ESPACIAL) para planejamento logistico.","enum":["AEREO","TERRESTRE","MARITIMO","ESPACIAL"],"x-ui":{"controlType":"select","editable":true,"icon":"category","iconPosition":"left","label":"Tipo","name":"tipo","options":[{"value":"AEREO","label":"AEREO"},{"value":"TERRESTRE","label":"TERRESTRE"},{"value":"MARITIMO","label":"MARITIMO"},{"value":"ESPACIAL","label":"ESPACIAL"}],"quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Ativo de frota usado em operacoes, com designacao, tipo de plataforma, capacidade, custodiante e status de disponibilidade para missoes."},"VeiculoFilterDTO":{"type":"object","properties":{"capacidadeBetween":{"description":"Faixa de capacidade nominal do veículo para passageiros, tripulação ou carga.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"integer","format":"int32","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null}}],"items":{"type":"integer","format":"int32","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":true,"example":null},"min":{"type":"integer","format":"int32","nullable":true,"example":null}},"anyOf":[{"required":["min"],"type":"object","properties":{"min":{"type":"integer","format":"int32","nullable":false,"example":null}}},{"required":["max"],"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"rangeSlider","editable":true,"helpText":"Defina uma faixa de capacidade nominal para passageiros, tripulação ou carga.","icon":"location_city","iconPosition":"left","label":"Capacidade","mode":"range","name":"capacidadeBetween","order":"50","sortable":true,"type":"number"}},"nome":{"type":"string","description":"Trecho do nome, matricula ou designacao operacional do veiculo.","x-ui":{"controlType":"input","editable":true,"helpText":"Digite parte do nome ou designação do veículo.","icon":"filter_list","iconPosition":"left","label":"Nome do veículo","maxLength":"200","maxLengthMessage":"Nome do veículo deve ter no máximo 200 caracteres","name":"nome","order":"10","sortable":true,"type":"text"}},"proprietarioId":{"type":"integer","description":"Colaborador responsavel pela custodia ou gestao operacional do veiculo.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Selecione o colaborador responsável pela frota ou veículo.","icon":"badge","iconPosition":"left","label":"Responsável","name":"proprietarioId","order":"30","sortable":true,"type":"number","valueField":"id"}},"status":{"type":"string","description":"Status mecanico ou operacional que indica se o veiculo pode ser escalado para missao.","enum":["OPERACIONAL","MANUTENCAO","INOPERANTE"],"x-ui":{"controlType":"select","editable":true,"helpText":"Filtra por um único estado operacional do veículo.","icon":"toggle_on","iconPosition":"left","label":"Status do veículo","name":"status","options":[{"value":"OPERACIONAL","label":"OPERACIONAL"},{"value":"MANUTENCAO","label":"MANUTENCAO"},{"value":"INOPERANTE","label":"INOPERANTE"}],"order":"40","sortable":true,"type":"text"}},"statusIn":{"type":"array","description":"Conjunto de estados operacionais que devem aparecer no resultado da busca.","items":{"type":"string","description":"Conjunto de estados operacionais que devem aparecer no resultado da busca.","enum":["OPERACIONAL","MANUTENCAO","INOPERANTE"]},"x-ui":{"controlType":"select","editable":true,"helpText":"Mostra apenas veículos nos status selecionados.","icon":"toggle_on","iconPosition":"left","label":"Mostrar status","multiple":true,"name":"statusIn","options":[{"value":"OPERACIONAL","label":"OPERACIONAL"},{"value":"MANUTENCAO","label":"MANUTENCAO"},{"value":"INOPERANTE","label":"INOPERANTE"}],"order":"70","sortable":true,"type":"array"}},"statusNotIn":{"type":"array","description":"Conjunto de estados operacionais que devem ser removidos do resultado da busca.","items":{"type":"string","description":"Conjunto de estados operacionais que devem ser removidos do resultado da busca.","enum":["OPERACIONAL","MANUTENCAO","INOPERANTE"]},"x-ui":{"controlType":"select","editable":true,"helpText":"Remove do resultado os veículos nos status selecionados.","icon":"toggle_off","iconPosition":"left","label":"Ocultar status","multiple":true,"name":"statusNotIn","options":[{"value":"OPERACIONAL","label":"OPERACIONAL"},{"value":"MANUTENCAO","label":"MANUTENCAO"},{"value":"INOPERANTE","label":"INOPERANTE"}],"order":"80","sortable":true,"type":"array"}},"tipo":{"type":"string","description":"Tipo de plataforma do veiculo, como aereo, terrestre ou outro valor do catalogo VeiculoTipo.","enum":["AEREO","TERRESTRE","MARITIMO","ESPACIAL"],"x-ui":{"controlType":"select","editable":true,"helpText":"Filtra por um único tipo de veículo.","icon":"category","iconPosition":"left","label":"Tipo de veículo","name":"tipo","options":[{"value":"AEREO","label":"AEREO"},{"value":"TERRESTRE","label":"TERRESTRE"},{"value":"MARITIMO","label":"MARITIMO"},{"value":"ESPACIAL","label":"ESPACIAL"}],"order":"20","sortable":true,"type":"text"}},"tiposIn":{"type":"array","description":"Conjunto de tipos de veículo que devem aparecer no resultado da busca.","items":{"type":"string","description":"Conjunto de tipos de veículo que devem aparecer no resultado da busca.","enum":["AEREO","TERRESTRE","MARITIMO","ESPACIAL"]},"x-ui":{"controlType":"select","editable":true,"helpText":"Mostra apenas veículos dos tipos selecionados.","icon":"category","iconPosition":"left","label":"Mostrar tipos","multiple":true,"name":"tiposIn","options":[{"value":"AEREO","label":"AEREO"},{"value":"TERRESTRE","label":"TERRESTRE"},{"value":"MARITIMO","label":"MARITIMO"},{"value":"ESPACIAL","label":"ESPACIAL"}],"order":"60","sortable":true,"type":"array"}}},"description":"Criterios de busca na frota (veiculos de missao); nao e o ativo a editar so com filtrar. Usado para localizar veiculos por designacao, tipo, responsavel, capacidade e disponibilidade operacional."},"VeiculoMissaoUsoDTO":{"required":["missaoId","veiculoId"],"type":"object","properties":{"chegada":{"type":"string","description":"Instante de retorno/ pouso; nulo se sortie ainda ativa.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"flag","iconPosition":"left","label":"Chegada","name":"chegada","quickViewOrder":5,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"id":{"type":"integer","description":"Identificador do uso de veiculo na missao; referencia a sortie em URLs, auditoria operacional e relacionamentos de frota.","format":"int32"},"missaoId":{"type":"integer","description":"FK; operacao a que a sortie pertence (missaoId).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/missoes/option-sources/mission/options/filter","icon":"flag","iconPosition":"left","label":"Missão","name":"missaoId","required":true,"requiredMessage":"Missão é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"missaoTitulo":{"type":"string","description":"Titulo da missao denormalizado para listagem (read model).","x-ui":{"controlType":"input","editable":true,"formHidden":true,"icon":"flag","iconPosition":"left","label":"Missão","name":"missaoTitulo","quickViewOrder":2,"quickViewVisible":true,"readOnly":true,"resourceReference":{"previewSurfaceId":"summary","resourceKey":"operations.missoes","surfaceId":"detail","valueField":"missaoId"},"sortable":true,"type":"text"}},"observacao":{"maxLength":2000,"minLength":0,"type":"string","description":"Notas tecnicas, danos ou consumiveis (texto livre).","x-ui":{"controlType":"textarea","editable":true,"icon":"notes","iconPosition":"left","label":"Observação","maxLength":"2000","maxLengthMessage":"Observação deve ter no máximo 2000 caracteres","name":"observacao","sortable":true,"type":"text"}},"partida":{"type":"string","description":"Instante de partida/ decolagem (fuso ancorado no registo).","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"flag","iconPosition":"left","label":"Partida","name":"partida","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"pilotoId":{"type":"integer","description":"FK; piloto responsavel (pilotoId).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","icon":"flag","iconPosition":"left","label":"Piloto","name":"pilotoId","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"pilotoNome":{"type":"string","description":"Nome do piloto denormalizado (read model).","x-ui":{"controlType":"input","editable":true,"formHidden":true,"icon":"flag","iconPosition":"left","label":"Piloto","name":"pilotoNome","quickViewOrder":3,"quickViewVisible":true,"readOnly":true,"resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"pilotoId"},"sortable":true,"type":"text"}},"veiculoId":{"type":"integer","description":"FK; ativo de frota utilizado (veiculoId).","format":"int32","x-ui":{"controlType":"entityLookup","displayField":"label","editable":true,"endpoint":"/api/assets/veiculos/option-sources/vehicle/options/filter","icon":"directions_car","iconPosition":"left","label":"Veículo","name":"veiculoId","required":true,"requiredMessage":"Veículo é obrigatório","sortable":true,"tableHidden":true,"type":"number","valueField":"id"}},"veiculoNome":{"type":"string","description":"Designacao do veiculo denormalizada para listagem (read model).","x-ui":{"controlType":"input","editable":true,"formHidden":true,"icon":"directions_car","iconPosition":"left","label":"Veículo","name":"veiculoNome","quickViewOrder":1,"quickViewVisible":true,"readOnly":true,"resourceReference":{"resourceKey":"assets.veiculos","surfaceId":"detail","valueField":"veiculoId"},"sortable":true,"type":"text"}}},"description":"Registro de uso de frota em uma missao, vinculando veiculo, missao, piloto, partida, chegada e observacoes operacionais da sortie."},"VeiculoMissaoUsoFilterDTO":{"type":"object","properties":{"chegadaBetween":{"description":"Janela de chegada, retorno ou pouso registrada para o uso do veiculo.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date-time","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null}}],"items":{"type":"string","format":"date-time","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":true},"startDate":{"type":"string","format":"date-time","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date-time","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateTimeRange","editable":true,"helpText":"Filtra pela janela de retorno ou pouso do veículo.","icon":"stacked_bar_chart","iconPosition":"left","label":"Período de chegada","name":"chegadaBetween","order":"50","sortable":true,"type":"date"}},"chegadaLastDays":{"type":"integer","description":"Janela relativa para localizar chegadas ou encerramentos de sortie nos ultimos N dias.","format":"int32","x-ui":{"controlType":"input","editable":true,"helpText":"Informe quantos dias recentes devem ser considerados para a chegada.","icon":"event","iconPosition":"left","label":"Chegada nos últimos dias","name":"chegadaLastDays","order":"90","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"chegadaOn":{"type":"string","description":"Dia civil usado para localizar chegadas registradas nessa data.","format":"date","x-ui":{"controlType":"date","editable":true,"helpText":"Mostra registros com chegada em uma data específica.","icon":"event","iconPosition":"left","label":"Chegada em","name":"chegadaOn","order":"80","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"missaoId":{"type":"integer","description":"Missao operacional associada ao registro de uso da frota.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/missoes/option-sources/mission/options/filter","helpText":"Filtra usos de frota associados a uma missão.","icon":"flag","iconPosition":"left","label":"Missão","name":"missaoId","order":"20","sortable":true,"type":"number","valueField":"id"}},"observacao":{"type":"string","description":"Trecho de observacoes sobre operacao, dano, combustivel, logistica ou contexto da sortie.","x-ui":{"controlType":"input","editable":true,"helpText":"Busca por notas de operação, dano, combustível ou logística.","icon":"notes","iconPosition":"left","label":"Observação","maxLength":"2000","maxLengthMessage":"Observação deve ter no máximo 2000 caracteres","name":"observacao","order":"100","sortable":true,"type":"text"}},"partidaBetween":{"description":"Janela de partida, saida ou decolagem do veiculo na missao.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date-time","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null}}],"items":{"type":"string","format":"date-time","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":true},"startDate":{"type":"string","format":"date-time","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date-time","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateTimeRange","editable":true,"helpText":"Filtra pela janela de saída ou decolagem do veículo.","icon":"stacked_bar_chart","iconPosition":"left","label":"Período de partida","name":"partidaBetween","order":"40","sortable":true,"type":"date"}},"partidaLastDays":{"type":"integer","description":"Janela relativa para localizar partidas ocorridas nos ultimos N dias.","format":"int32","x-ui":{"controlType":"input","editable":true,"helpText":"Informe quantos dias recentes devem ser considerados para a partida.","icon":"event","iconPosition":"left","label":"Partida nos últimos dias","name":"partidaLastDays","order":"70","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"partidaOn":{"type":"string","description":"Dia civil usado para localizar partidas registradas nessa data.","format":"date","x-ui":{"controlType":"date","editable":true,"helpText":"Mostra registros com partida em uma data específica.","icon":"event","iconPosition":"left","label":"Partida em","name":"partidaOn","order":"60","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"pilotoId":{"type":"integer","description":"Piloto ou responsavel que conduziu, assinou ou acompanhou a sortie.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Filtra registros conduzidos ou assinados por um piloto.","icon":"badge","iconPosition":"left","label":"Piloto","name":"pilotoId","order":"30","sortable":true,"type":"number","valueField":"id"}},"veiculoId":{"type":"integer","description":"Veiculo cuja participacao em missoes deve ser consultada.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/assets/veiculos/option-sources/vehicle/options/filter","helpText":"Mostra usos de missão de um veículo específico.","icon":"directions_car","iconPosition":"left","label":"Veículo","name":"veiculoId","order":"10","sortable":true,"type":"number","valueField":"id"}}},"description":"Criterios de busca em registos de sortie (veiculo alocado a missao, piloto, janela partida/ chegada); nao e o log a corrigir so com filtrar. Usado para rastrear uso de frota em missoes, janela de deslocamento, piloto e observacoes operacionais."},"VwAnalyticsAfastamentoDTO":{"type":"object","properties":{"analyticsId":{"type":"string","description":"Identidade estavel da linha analitica, formada por colaborador, departamento efetivo e competencia mensal.","example":"7:3:202607","x-ui":{"controlType":"input","editable":true,"formHidden":true,"icon":"tag","iconPosition":"left","label":"Cód. Analítico","name":"analyticsId","sortable":true,"type":"text"}},"ano":{"type":"integer","description":"Ano civil da competencia.","format":"int32","example":2026,"x-ui":{"controlType":"numericTextBox","editable":true,"icon":"calendar_today","iconPosition":"left","label":"Ano","name":"ano","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"competencia":{"type":"string","description":"Competencia mensal da linha analitica, sempre no primeiro dia do mes.","format":"date","example":"2026-07-01","x-ui":{"controlType":"date","displayFormat":"dd/MM/yyyy","editable":true,"icon":"calendar_month","iconPosition":"left","label":"Competência","locale":"pt-BR","mask":"dd/MM/yyyy","name":"competencia","numericFormat":"date","quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text","valuePresentation":{"type":"date"}}},"criticalityLevel":{"type":"string","description":"Nivel de criticidade calculado por politica versionada: STANDARD, ATTENTION ou CRITICAL.","example":"CRITICAL","x-ui":{"controlType":"input","editable":true,"icon":"priority_high","iconPosition":"left","label":"Criticidade","name":"criticalityLevel","presentation":{"appearance":"soft","presenter":"status"},"quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text"}},"criticalityPolicyId":{"type":"string","description":"Identificador da politica deterministica usada para classificar criticidade nesta projection.","example":"hr-absence-criticality-v1","x-ui":{"controlType":"input","editable":true,"formHidden":true,"icon":"policy","iconPosition":"left","label":"Política","name":"criticalityPolicyId","sortable":true,"type":"text"}},"criticalityPolicyVersion":{"type":"string","description":"Versao da politica de criticidade aplicada à linha analitica.","example":"2026-07-15","x-ui":{"controlType":"input","editable":true,"formHidden":true,"icon":"policy","iconPosition":"left","label":"Versão Política","name":"criticalityPolicyVersion","sortable":true,"type":"text"}},"departamento":{"type":"string","description":"Nome do departamento efetivo usado apenas como label de bucket em comparacoes e tabelas analiticas.","example":"Operações de RH","x-ui":{"controlType":"input","editable":true,"icon":"apartment","iconPosition":"left","label":"Departamento","name":"departamento","resourceReference":{"resourceKey":"human-resources.departamentos","surfaceId":"detail","valueField":"departamentoId"},"sortable":true,"type":"text"}},"departamentoCodigo":{"type":"string","description":"Codigo corporativo do departamento efetivo no periodo analisado.","example":"RH-OPS","x-ui":{"controlType":"input","editable":true,"icon":"apartment","iconPosition":"left","label":"Código Departamento","name":"departamentoCodigo","presentation":{"appearance":"soft","presenter":"badge"},"sortable":true,"type":"text"}},"departamentoId":{"type":"integer","description":"Departamento efetivo no periodo analitico, resolvido pela tabela historica de lotacao; nao usa o departamento atual do cadastro.","format":"int32","example":3,"x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"icon":"apartment","iconPosition":"left","label":"Cód. Departamento","name":"departamentoId","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"diasAfastado":{"type":"integer","description":"Quantidade de dias corridos unicos de afastamento no grão colaborador, departamento efetivo e competencia; sobreposicoes nao duplicam a metrica.","format":"int64","example":15,"x-ui":{"controlType":"numericTextBox","editable":true,"icon":"timer","iconPosition":"left","label":"Dias Afastado","name":"diasAfastado","quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"funcionarioId":{"type":"integer","description":"Colaborador associado à linha analítica. Permite drill-down governado para employee-360 sem publicar nome ou dados pessoais nesta view.","format":"int32","example":7,"x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"internal","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"personal","reason":"Identificador pseudonimizado de colaborador ainda permite acesso nominal quando combinado com employee-360; deve ser separado da leitura agregada.","source":"java.annotation"},"x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"icon":"badge","iconPosition":"left","label":"Cód. Colaborador","name":"funcionarioId","resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"funcionarioId"},"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"mes":{"type":"integer","description":"Mes civil da competencia, de 1 a 12.","format":"int32","example":7,"x-ui":{"controlType":"numericTextBox","editable":true,"icon":"calendar_month","iconPosition":"left","label":"Mês","name":"mes","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"periodoFim":{"type":"string","description":"Ultimo dia coberto pela uniao de afastamentos atribuidos à lotacao e competencia desta linha; nao implica continuidade desde a data inicial.","format":"date","example":"2026-07-15","x-ui":{"controlType":"date","displayFormat":"dd/MM/yyyy","editable":true,"icon":"event_available","iconPosition":"left","label":"Fim Analítico","locale":"pt-BR","mask":"dd/MM/yyyy","name":"periodoFim","numericFormat":"date","quickViewOrder":5,"quickViewVisible":true,"sortable":true,"type":"text","valuePresentation":{"type":"date"}}},"periodoInicio":{"type":"string","description":"Primeiro dia coberto pela uniao de afastamentos atribuidos à lotacao e competencia desta linha; nao implica continuidade ate a data final.","format":"date","example":"2026-07-01","x-ui":{"controlType":"date","displayFormat":"dd/MM/yyyy","editable":true,"icon":"event","iconPosition":"left","label":"Início Analítico","locale":"pt-BR","mask":"dd/MM/yyyy","name":"periodoInicio","numericFormat":"date","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"text","valuePresentation":{"type":"date"}}}},"description":"Projecao somente leitura de dias unicos de afastamento por colaborador, lotacao historica efetiva e competencia mensal. Publica metricas agregaveis e criticidade versionada sem expor motivo, observacoes, nome ou departamento atual do colaborador."},"VwAnalyticsAfastamentoFilterDTO":{"type":"object","properties":{"competenciaBetween":{"description":"Janela de competencias mensais que delimitam a analise comparativa.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null}}],"items":{"type":"string","format":"date","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":true},"startDate":{"type":"string","format":"date","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateRange","editable":true,"helpText":"Janela mensal considerada na análise.","icon":"calendar_month","iconPosition":"left","label":"Competência","name":"competenciaBetween","order":"10","sortable":true,"type":"date"}},"criticalityLevel":{"type":"string","description":"Nivel de criticidade versionado: STANDARD, ATTENTION ou CRITICAL.","x-ui":{"controlType":"async-select","displayField":"label","editable":true,"endpoint":"/api/human-resources/vw-analytics-afastamentos/option-sources/criticalityLevel/options/filter","helpText":"Filtra pelo nível calculado da política de criticidade.","icon":"priority_high","iconPosition":"left","label":"Criticidade","name":"criticalityLevel","order":"50","sortable":true,"type":"text","valueField":"id"}},"departamento":{"type":"string","description":"Trecho do nome do departamento efetivo usado apenas como filtro auxiliar.","x-ui":{"controlType":"input","editable":true,"formHidden":true,"helpText":"Busca textual auxiliar pelo label do departamento.","icon":"apartment","iconPosition":"left","label":"Departamento","maxLength":"120","maxLengthMessage":"Departamento deve ter no máximo 120 caracteres","name":"departamento","order":"40","sortable":true,"type":"text"}},"departamentoId":{"type":"integer","description":"Departamento efetivo resolvido historicamente, sem fallback para o departamento atual do colaborador.","format":"int32","x-ui":{"controlType":"async-select","displayField":"label","editable":true,"endpoint":"/api/human-resources/departamentos/option-sources/department/options/filter","helpText":"Filtra pela lotação efetiva do período.","icon":"apartment","iconPosition":"left","label":"Departamento","name":"departamentoId","order":"30","sortable":true,"type":"number","valueField":"id"}},"departamentoIdsIn":{"type":"array","description":"Conjunto de departamentos efetivos. O backend intersecta este filtro com o escopo do principal quando houver restrição departamental.","items":{"type":"integer","description":"Conjunto de departamentos efetivos. O backend intersecta este filtro com o escopo do principal quando houver restrição departamental.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/departamentos/option-sources/department/options/filter","formHidden":true,"icon":"apartment","iconPosition":"left","label":"Departamentos","multiple":true,"order":"35","sortable":true,"type":"number","valueField":"id"}},"x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/departamentos/option-sources/department/options/filter","formHidden":true,"icon":"apartment","iconPosition":"left","label":"Departamentos","multiple":true,"name":"departamentoIdsIn","order":"35","sortable":true,"type":"number","valueField":"id"}},"diasAfastadoBetween":{"description":"Intervalo de dias corridos unicos de afastamento no grão colaborador, departamento efetivo e competencia.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int64","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"integer","format":"int64","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int64","nullable":true,"example":null}}],"items":{"type":"integer","format":"int64","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"max":{"type":"integer","format":"int64","nullable":true,"example":null},"min":{"type":"integer","format":"int64","nullable":true,"example":null}},"anyOf":[{"required":["min"],"type":"object","properties":{"min":{"type":"integer","format":"int64","nullable":false,"example":null}}},{"required":["max"],"type":"object","properties":{"max":{"type":"integer","format":"int64","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"rangeSlider","editable":true,"helpText":"Filtra pela quantidade de dias únicos no grão analítico.","icon":"timer","iconPosition":"left","label":"Dias afastado","mode":"range","name":"diasAfastadoBetween","order":"70","sortable":true,"type":"number"}},"funcionarioIdsIn":{"type":"array","description":"Conjunto de colaboradores usado para drill-down nominal governado; comparacoes agregadas exigem autoridade nominal quando este filtro esta presente e a projection não publica nomes.","items":{"type":"integer","description":"Conjunto de colaboradores usado para drill-down nominal governado; comparacoes agregadas exigem autoridade nominal quando este filtro esta presente e a projection não publica nomes.","format":"int32","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"internal","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"personal","reason":"Filtro nominal de colaborador deve ser usado apenas por fluxos autorizados; comparacoes agregadas o rejeitam sem autoridade nominal e dashboards devem preferir departamento e competencia.","source":"java.annotation"},"x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Inclui na análise apenas colaboradores autorizados selecionados.","icon":"checklist","iconPosition":"left","label":"Mostrar colaboradores","multiple":true,"order":"60","sortable":true,"type":"number","valueField":"id"}},"x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"mask"},"annotationType":"privacy","classification":"internal","complianceTags":["LGPD","GDPR"],"confidence":1.0,"dataCategory":"personal","reason":"Filtro nominal de colaborador deve ser usado apenas por fluxos autorizados; comparacoes agregadas o rejeitam sem autoridade nominal e dashboards devem preferir departamento e competencia.","source":"java.annotation"},"x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Inclui na análise apenas colaboradores autorizados selecionados.","icon":"checklist","iconPosition":"left","label":"Mostrar colaboradores","multiple":true,"name":"funcionarioIdsIn","order":"60","sortable":true,"type":"number","valueField":"id"}},"periodoInicioBetween":{"description":"Intervalo aplicado sobre o primeiro dia coberto pela uniao de afastamentos no grão analitico.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null}}],"items":{"type":"string","format":"date","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":true},"startDate":{"type":"string","format":"date","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateRange","editable":true,"helpText":"Filtra pelo primeiro dia coberto no grão mensal e na lotação efetiva.","icon":"event","iconPosition":"left","label":"Período analítico","name":"periodoInicioBetween","order":"20","sortable":true,"type":"date"}}},"description":"Criterios de busca sobre a projection mensal de afastamentos por lotacao historica. Filtra recortes analiticos seguros para comparison, listas criticas e drill-down governado."},"VwAnalyticsFolhaPagamentoDTO":{"type":"object","properties":{"ano":{"type":"integer","description":"Ano de referencia do periodo de folha; junto com mes define a competencia civil.","format":"int32","example":2025,"x-ui":{"controlType":"numericTextBox","editable":true,"helpText":"Ano da competência da folha.","icon":"calendar_today","iconPosition":"left","label":"Ano","name":"ano","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"base":{"type":"string","description":"Base de operacoes; contexto logístico e de risco, nao endereco pessoal.","x-ui":{"controlType":"input","editable":true,"helpText":"Base operacional associada.","icon":"location_on","iconPosition":"left","label":"Base","name":"base","quickViewOrder":6,"quickViewVisible":true,"sortable":true,"type":"text"}},"cargo":{"type":"string","description":"Descricao de cargo do cadastro atual, sem semantica temporal; texto da vista, nao FK de Cargo.","x-ui":{"controlType":"input","editable":true,"helpText":"Cargo cadastrado na origem da view.","icon":"work","iconPosition":"left","label":"Cargo","name":"cargo","sortable":true,"type":"text"}},"codinome":{"type":"string","description":"Identidade de missao, quando houver, para cruzar com operacoes e marketing.","x-ui":{"controlType":"input","editable":true,"helpText":"Nome público do herói (se houver).","icon":"theater_comedy","iconPosition":"left","label":"Codinome","name":"codinome","resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"funcionarioId"},"sortable":true,"type":"text"}},"competencia":{"type":"string","description":"Data ancora de competencia (ex.: primeiro dia do mes) conforme a query; nao e necessariamente o dia de pagamento.","format":"date","example":"2025-04-01","x-ui":{"controlType":"date","displayFormat":"dd/MM/yyyy","editable":true,"helpText":"Data representativa da competência.","icon":"event","iconPosition":"left","label":"Competência","locale":"pt-BR","mask":"dd/MM/yyyy","name":"competencia","numericFormat":"date","quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text","valuePresentation":{"type":"date"}}},"composicaoFolha":{"type":"string","description":"Classificacao qualitativa da composicao da folha, derivada da relacao entre proventos, adicionais e descontos.","x-ui":{"controlType":"input","editable":true,"helpText":"Perfil de composição qualitativa de ganhos.","icon":"donut_large","iconPosition":"left","label":"Composição Folha","name":"composicaoFolha","sortable":true,"type":"text"}},"dataPagamentoAgendada":{"type":"string","description":"Agenda operacional confirmada; ausente quando invalidada.","format":"date","x-ui":{"controlType":"date","displayFormat":"dd/MM/yyyy","editable":true,"iconPosition":"left","label":"Pagamento agendado","locale":"pt-BR","mask":"dd/MM/yyyy","name":"dataPagamentoAgendada","numericFormat":"date","readOnly":true,"sortable":true,"type":"text","valuePresentation":{"type":"date"}}},"dataPagamentoEfetiva":{"type":"string","description":"Data da transição confirmada de pagamento.","format":"date","x-ui":{"controlType":"date","displayFormat":"dd/MM/yyyy","editable":true,"iconPosition":"left","label":"Pagamento efetivo","locale":"pt-BR","mask":"dd/MM/yyyy","name":"dataPagamentoEfetiva","numericFormat":"date","readOnly":true,"sortable":true,"type":"text","valuePresentation":{"type":"date"}}},"dataPagamentoPrevista":{"type":"string","description":"Previsão obtida da determinação governada vigente aplicada à folha.","format":"date","x-ui":{"controlType":"date","displayFormat":"dd/MM/yyyy","editable":true,"iconPosition":"left","label":"Pagamento previsto","locale":"pt-BR","mask":"dd/MM/yyyy","name":"dataPagamentoPrevista","numericFormat":"date","readOnly":true,"sortable":true,"type":"text","valuePresentation":{"type":"date"}}},"departamento":{"type":"string","description":"Nome da lotacao efetiva no primeiro dia da competencia, desnormalizado para cortes de massa salarial.","x-ui":{"controlType":"input","editable":true,"helpText":"Lotação efetiva na competência.","icon":"apartment","iconPosition":"left","label":"Departamento","name":"departamento","resourceReference":{"resourceKey":"human-resources.departamentos","surfaceId":"detail","valueField":"departamentoId"},"sortable":true,"type":"text"}},"departamentoId":{"type":"integer","description":"Identificador da lotacao efetiva no primeiro dia da competencia; chave estavel para autorizacao e cross-filter.","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"icon":"apartment","iconPosition":"left","label":"Cód. Departamento","name":"departamentoId","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"equipe":{"type":"string","description":"Equipe tatica (Operacoes) associada; label na vista para comparar alocacoes e folha.","x-ui":{"controlType":"input","editable":true,"helpText":"Equipe tática do herói.","icon":"groups","iconPosition":"left","label":"Equipe","name":"equipe","quickViewOrder":5,"quickViewVisible":true,"sortable":true,"type":"text"}},"exposicaoPublica":{"type":"boolean","description":"Indicador de exposicao publica da identidade operacional, usado para governar visibilidade em analises compartilhadas.","example":true,"x-ui":{"controlType":"checkbox","editable":true,"helpText":"Indica se há permissão de exposição pública.","icon":"visibility","iconPosition":"left","label":"Exposição Pública","name":"exposicaoPublica","presentation":{"appearance":"soft","presenter":"status"},"sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"}}},"faixaPctDesconto":{"type":"string","description":"Faixa de intensidade de desconto usada para destacar folhas com maior peso de retencoes.","x-ui":{"controlType":"input","editable":true,"helpText":"Agrupamento analítico do percentual retido.","icon":"stacked_bar_chart","iconPosition":"left","label":"Faixa % Desconto","name":"faixaPctDesconto","sortable":true,"type":"text"}},"faixaSalarioBruto":{"type":"string","description":"Gama de bruto (faixa) para histogramas e comparativos de mercado interno; rotulo de bucket.","x-ui":{"controlType":"currency","editable":true,"helpText":"Agrupamento analítico da faixa do salário bruto.","icon":"stacked_bar_chart","iconPosition":"left","label":"Faixa Salário Bruto","name":"faixaSalarioBruto","sortable":true,"type":"text","valuePresentation":{"type":"currency"}}},"faixaSalarioLiquido":{"type":"string","description":"Gama de liquido relativa ao risco de retencao e beneficio; bucket na vista.","x-ui":{"controlType":"currency","editable":true,"helpText":"Agrupamento analítico da faixa do líquido pago.","icon":"stacked_bar_chart","iconPosition":"left","label":"Faixa Salário Líquido","name":"faixaSalarioLiquido","sortable":true,"type":"text","valuePresentation":{"type":"currency"}}},"faixaValorAdicionais":{"type":"string","description":"Gama de adicionais agregados; compara com faixa de bruto/liquido para equidade interna.","x-ui":{"controlType":"currency","editable":true,"helpText":"Agrupamento analítico de valores extras concedidos.","icon":"stacked_bar_chart","iconPosition":"left","label":"Faixa Valor Adicionais","name":"faixaValorAdicionais","sortable":true,"type":"text","valuePresentation":{"type":"currency"}}},"folhaPagamentoId":{"type":"integer","description":"Chave da folha de pagamento (cabecalho) na origem; liga a competencia e eventos de folha subjacentes.","format":"int32","example":9,"x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"helpText":"Identificador interno da folha de pagamento.","icon":"receipt_long","iconPosition":"left","label":"Cód. Folha","name":"folhaPagamentoId","resourceReference":{"resourceKey":"human-resources.folhas-pagamento","surfaceId":"detail","valueField":"folhaPagamentoId"},"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"funcionarioId":{"type":"integer","description":"Colaborador dono desta linha analitica; usado com filtros e drill-down para o cadastro de Funcionario.","format":"int32","example":3,"x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"helpText":"Identificador do colaborador dono desta folha.","icon":"badge","iconPosition":"left","label":"Cód. Colaborador","name":"funcionarioId","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"mes":{"type":"integer","description":"Mes civil da competencia (1-12).","format":"int32","example":4,"x-ui":{"controlType":"numericTextBox","editable":true,"helpText":"Mês da competência da folha.","icon":"calendar_month","iconPosition":"left","label":"Mês","name":"mes","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"nomeCompleto":{"type":"string","description":"Nome civil na competencia; desnormalizado para tabelas de massa salarial.","x-ui":{"controlType":"input","editable":true,"helpText":"Nome do colaborador.","icon":"badge","iconPosition":"left","label":"Nome Completo","name":"nomeCompleto","resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"funcionarioId"},"sortable":true,"type":"text"}},"payrollProfile":{"type":"string","description":"Bucket de perfil de remuneracao (ex.: clt-heroi, misso) para analises e segmentacao de politica; valor de option-source na vista.","x-ui":{"controlType":"upload","editable":true,"helpText":"Perfil agrupado de classificação folha/benefícios.","icon":"manage_accounts","iconPosition":"left","label":"Perfil Folha","name":"payrollProfile","sortable":true,"type":"text"}},"pctDesconto":{"type":"number","description":"Percentual de desconto face ao bruto; util para deteccao de anomalias e faixas de corte.","format":"decimal","x-ui":{"controlType":"numericTextBox","editable":true,"helpText":"Proporção de desconto sobre o salário bruto.","icon":"percent","iconPosition":"left","label":"% Desconto","name":"pctDesconto","numericFormat":"percent","sortable":true,"type":"number","valuePresentation":{"type":"percentage"}}},"pctLiquido":{"type":"number","description":"Percentual do liquido em relacao ao bruto; sumariza o peso de retencoes e encargos.","format":"decimal","x-ui":{"controlType":"numericTextBox","editable":true,"helpText":"Proporção líquida sobre o salário bruto.","icon":"percent","iconPosition":"left","label":"% Líquido","name":"pctLiquido","numericFormat":"percent","sortable":true,"type":"number","valuePresentation":{"type":"percentage"}}},"qtdAdicionais":{"type":"integer","description":"Quantidade de itens classificados como adicionais de folha; cruza com Valor Adicionais.","format":"int64","x-ui":{"controlType":"numericTextBox","editable":true,"helpText":"Quantidade de eventos adicionais lançados.","icon":"playlist_add","iconPosition":"left","label":"Qtd Adicionais","name":"qtdAdicionais","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"qtdEventos":{"type":"integer","description":"Contagem de linhas de evento de folha consideradas na agregacao (rubrica).","format":"int64","example":8,"x-ui":{"controlType":"numericTextBox","editable":true,"helpText":"Quantidade total de eventos extras lançados.","icon":"format_list_numbered","iconPosition":"left","label":"Qtd Eventos","name":"qtdEventos","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"salarioBruto":{"type":"number","description":"Total bruto antes de descontos obrigatorios e eventos; base para faixas e percentuais exibidos na mesma linha.","format":"decimal","example":12000.0,"x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"helpText":"Total de ganhos brutos.","icon":"payments","iconPosition":"left","label":"Salário Bruto","locale":"pt-BR","name":"salarioBruto","numericFormat":"currency","quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"salarioLiquido":{"type":"number","description":"Liquido a depositar apos a composicao de proventos e descontos desta visao.","format":"decimal","example":9800.0,"x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"helpText":"Valor final depositado.","icon":"account_balance_wallet","iconPosition":"left","label":"Salário Líquido","locale":"pt-BR","name":"salarioLiquido","numericFormat":"currency","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"saldoEventos":{"type":"number","description":"Saldo liquido dos eventos da folha, calculado como adicionais aprovados menos descontos de eventos aprovados.","format":"decimal","x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"helpText":"Saldo líquido apenas de eventos extras.","icon":"account_balance","iconPosition":"left","label":"Saldo Eventos","locale":"pt-BR","name":"saldoEventos","numericFormat":"currency","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"totalDescontos":{"type":"number","description":"Soma de descontos aplicados (encargos, beneficio, eventos de debito) no snapshot.","format":"decimal","example":2200.0,"x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"helpText":"Soma total de descontos aplicados.","icon":"money_off","iconPosition":"left","label":"Total Descontos","locale":"pt-BR","name":"totalDescontos","numericFormat":"currency","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"universo":{"type":"string","description":"Agrupamento ficcional ou editorial (catalogo) herdado do perfil; segmenta relatorios.","x-ui":{"controlType":"input","editable":true,"helpText":"Universo narrativo de origem.","icon":"public","iconPosition":"left","label":"Universo","name":"universo","sortable":true,"type":"text"}},"valorAdicionais":{"type":"number","description":"Parcela de proventos extras (adicionais) agregada para comparacao com o contracheque detalhado de eventos.","format":"decimal","x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"helpText":"Soma dos adicionais pagos.","icon":"add_card","iconPosition":"left","label":"Valor Adicionais","locale":"pt-BR","name":"valorAdicionais","numericFormat":"currency","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"valorBase":{"type":"number","description":"Base bruta da folha confirmada, sem rubrica sintética de proventos.","format":"decimal","x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"helpText":"Base bruta informativa da folha; não é um evento.","icon":"paid","iconPosition":"left","label":"Salário base","locale":"pt-BR","name":"valorBase","numericFormat":"currency","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"valorDescontosEventos":{"type":"number","description":"Total de descontos originados de rubricas de eventos de folha (vs. desconto generico de imposto).","format":"decimal","x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"helpText":"Descontos provenientes de eventos na folha.","icon":"remove_circle","iconPosition":"left","label":"Valor Descontos Eventos","locale":"pt-BR","name":"valorDescontosEventos","numericFormat":"currency","sortable":true,"type":"number","valuePresentation":{"type":"currency"}}}},"description":"Projecao somente leitura de folha de pagamento cruzada com colaborador, identidade operacional, organograma, equipe, base e faixas analiticas. Serve a paineis, catalogo semantico e assistentes LLM sem substituir o contrato transacional da folha."},"VwAnalyticsFolhaPagamentoFilterDTO":{"type":"object","properties":{"anoBetween":{"description":"Intervalo de anos civis considerado na agregacao da folha.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"integer","format":"int32","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null}}],"items":{"type":"integer","format":"int32","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":true,"example":null},"min":{"type":"integer","format":"int32","nullable":true,"example":null}},"anyOf":[{"required":["min"],"type":"object","properties":{"min":{"type":"integer","format":"int32","nullable":false,"example":null}}},{"required":["max"],"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"inlineYearRange","editable":true,"helpText":"Analisar por ano único ou intervalo de anos.","icon":"calendar_today","iconPosition":"left","label":"Ano","mode":"range","name":"anoBetween","numericMax":"2027","numericMin":"2020","order":"60","rangeMessage":"Ano deve estar entre 2020 e 2027","sortable":true,"type":"number"}},"base":{"type":"string","description":"Trecho do nome de base operacional exibido na linha analitica.","x-ui":{"controlType":"input","editable":true,"formHidden":true,"helpText":"Campo auxiliar oculto para busca textual pelo nome da base.","icon":"location_on","iconPosition":"left","label":"Nome da base","maxLength":"120","maxLengthMessage":"Nome da base deve ter no máximo 120 caracteres","name":"base","order":"170","sortable":true,"type":"text"}},"baseId":{"type":"integer","description":"Base operacional relacionada ao colaborador no contexto analitico da folha.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/bases/option-sources/base/options/filter","helpText":"Filtrar análise por base operacional.","icon":"location_on","iconPosition":"left","label":"Base","name":"baseId","order":"130","sortable":true,"type":"number","valueField":"id"}},"cargo":{"type":"string","description":"Trecho do nome de cargo exibido na linha analitica, usado em busca textual quando o identificador do cargo nao esta disponivel.","x-ui":{"controlType":"input","editable":true,"formHidden":true,"helpText":"Campo auxiliar oculto para busca textual pelo nome do cargo.","icon":"work","iconPosition":"left","label":"Nome do cargo","maxLength":"120","maxLengthMessage":"Nome do cargo deve ter no máximo 120 caracteres","name":"cargo","order":"140","sortable":true,"type":"text"}},"cargoId":{"type":"integer","description":"Cargo ocupado pelo colaborador na linha analitica, usando o identificador desnormalizado da vista.","format":"int32","x-ui":{"controlType":"async-select","displayField":"label","editable":true,"endpoint":"/api/human-resources/cargos/option-sources/jobRole/options/filter","helpText":"Filtrar análise por cargo ocupado.","icon":"work","iconPosition":"left","label":"Cargo","name":"cargoId","order":"100","sortable":true,"type":"number","valueField":"id"}},"competenciaBetween":{"description":"Janela de competencia da folha, usada como data ancora do periodo remuneratorio.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null}}],"items":{"type":"string","format":"date","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":true},"startDate":{"type":"string","format":"date","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateRange","editable":true,"helpText":"Busca por janela de competência da folha.","icon":"calendar_month","iconPosition":"left","label":"Competência","name":"competenciaBetween","order":"80","sortable":true,"type":"date"}},"composicaoFolha":{"type":"string","description":"Classificacao qualitativa da composicao da folha, como predominancia de proventos ou descontos.","x-ui":{"controlType":"async-select","displayField":"label","editable":true,"endpoint":"/api/human-resources/vw-analytics-folha-pagamento/option-sources/composicaoFolha/options/filter","helpText":"Filtrar pela composição de receitas e despesas.","icon":"receipt_long","iconPosition":"left","label":"Composição da folha","maxLength":"80","maxLengthMessage":"Composição da folha deve ter no máximo 80 caracteres","name":"composicaoFolha","order":"190","sortable":true,"type":"text","valueField":"id"}},"dataPagamentoAgendadaBetween":{"description":"Intervalo da data pagamento agendado, sem inferência entre previsão, agenda e pagamento.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null}}],"items":{"type":"string","format":"date","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":true},"startDate":{"type":"string","format":"date","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateRange","editable":true,"iconPosition":"left","label":"Pagamento agendado","name":"dataPagamentoAgendadaBetween","order":"91","sortable":true,"type":"date"}},"dataPagamentoEfetivaBetween":{"description":"Intervalo da data pagamento efetivo, sem inferência entre previsão, agenda e pagamento.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null}}],"items":{"type":"string","format":"date","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":true},"startDate":{"type":"string","format":"date","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateRange","editable":true,"iconPosition":"left","label":"Pagamento efetivo","name":"dataPagamentoEfetivaBetween","order":"92","sortable":true,"type":"date"}},"dataPagamentoPrevistaBetween":{"description":"Intervalo da data pagamento previsto, sem inferência entre previsão, agenda e pagamento.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date","nullable":true,"example":null}}],"items":{"type":"string","format":"date","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":true},"startDate":{"type":"string","format":"date","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateRange","editable":true,"iconPosition":"left","label":"Pagamento previsto","name":"dataPagamentoPrevistaBetween","order":"90","sortable":true,"type":"date"}},"departamento":{"type":"string","description":"Trecho do nome de departamento desnormalizado exibido na linha analitica.","x-ui":{"controlType":"input","editable":true,"formHidden":true,"helpText":"Campo auxiliar oculto para busca textual pelo nome do departamento.","icon":"apartment","iconPosition":"left","label":"Nome do departamento","maxLength":"120","maxLengthMessage":"Nome do departamento deve ter no máximo 120 caracteres","name":"departamento","order":"150","sortable":true,"type":"text"}},"departamentoId":{"type":"integer","description":"Departamento efetivo no primeiro dia da competência, sem fallback para o cadastro atual do colaborador.","format":"int32","x-ui":{"controlType":"async-select","displayField":"label","editable":true,"endpoint":"/api/human-resources/departamentos/option-sources/department/options/filter","helpText":"Filtrar pela lotação efetiva na competência.","icon":"apartment","iconPosition":"left","label":"Departamento","name":"departamentoId","order":"110","sortable":true,"type":"number","valueField":"id"}},"departamentoIdsIn":{"type":"array","description":"Conjunto de departamentos efetivos. O backend intersecta este filtro com o escopo organizacional resolvido para o principal.","items":{"type":"integer","description":"Conjunto de departamentos efetivos. O backend intersecta este filtro com o escopo organizacional resolvido para o principal.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/departamentos/option-sources/department/options/filter","formHidden":true,"icon":"apartment","iconPosition":"left","label":"Departamentos","multiple":true,"order":"115","sortable":true,"type":"number","valueField":"id"}},"x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/departamentos/option-sources/department/options/filter","formHidden":true,"icon":"apartment","iconPosition":"left","label":"Departamentos","multiple":true,"name":"departamentoIdsIn","order":"115","sortable":true,"type":"number","valueField":"id"}},"equipe":{"type":"string","description":"Trecho do nome de equipe exibido na linha analitica, usado quando o identificador da equipe nao esta disponivel.","x-ui":{"controlType":"input","editable":true,"formHidden":true,"helpText":"Campo auxiliar oculto para busca textual pelo nome da equipe.","icon":"groups","iconPosition":"left","label":"Nome da equipe","maxLength":"120","maxLengthMessage":"Nome da equipe deve ter no máximo 120 caracteres","name":"equipe","order":"160","sortable":true,"type":"text"}},"equipeId":{"type":"integer","description":"Equipe tatica de Operacoes relacionada ao colaborador no contexto analitico da folha.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/equipes/option-sources/team/options/filter","helpText":"Filtrar análise por equipe tática.","icon":"groups","iconPosition":"left","label":"Equipe","name":"equipeId","order":"120","sortable":true,"type":"number","valueField":"id"}},"exposicaoPublica":{"type":"boolean","description":"Indicador que separa colaboradores com exposicao publica de identidades protegidas nas analises de folha.","x-ui":{"controlType":"checkbox","editable":true,"helpText":"Filtra por colaboradores com identidade pública ou protegida.","icon":"visibility","iconPosition":"left","label":"Exposição pública","name":"exposicaoPublica","order":"50","sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"}}},"faixaPctDesconto":{"type":"string","description":"Faixa rotulada de intensidade de desconto agregada sobre a remuneracao.","x-ui":{"controlType":"async-select","displayField":"label","editable":true,"endpoint":"/api/human-resources/vw-analytics-folha-pagamento/option-sources/faixaPctDesconto/options/filter","helpText":"Agrupar análise pelo percentual retido.","icon":"money_off","iconPosition":"left","label":"Faixa % Desconto","maxLength":"80","maxLengthMessage":"Faixa % Desconto deve ter no máximo 80 caracteres","name":"faixaPctDesconto","order":"220","sortable":true,"type":"text","valueField":"id"}},"faixaSalarioBruto":{"type":"string","description":"Faixa rotulada de salario bruto usada em histogramas e comparacoes de remuneracao.","x-ui":{"controlType":"async-select","displayField":"label","editable":true,"endpoint":"/api/human-resources/vw-analytics-folha-pagamento/option-sources/faixaSalarioBruto/options/filter","helpText":"Agrupar análise pela faixa de salário bruto.","icon":"payments","iconPosition":"left","label":"Faixa de salário bruto","maxLength":"80","maxLengthMessage":"Faixa de salário bruto deve ter no máximo 80 caracteres","name":"faixaSalarioBruto","order":"200","sortable":true,"type":"text","valueField":"id"}},"faixaSalarioLiquido":{"type":"string","description":"Faixa rotulada de salario liquido usada para segmentar renda disponivel.","x-ui":{"controlType":"async-select","displayField":"label","editable":true,"endpoint":"/api/human-resources/vw-analytics-folha-pagamento/option-sources/faixaSalarioLiquido/options/filter","helpText":"Agrupar análise pela faixa de salário líquido.","icon":"payments","iconPosition":"left","label":"Faixa de salário líquido","maxLength":"80","maxLengthMessage":"Faixa de salário líquido deve ter no máximo 80 caracteres","name":"faixaSalarioLiquido","order":"210","sortable":true,"type":"text","valueField":"id"}},"funcionarioId":{"type":"integer","description":"Colaborador único que delimita uma surface relacionada de folha. Este campo é a contraparte escalar de funcionarioIdsIn e materializa o relatedChildParentField publicado pelo recurso de funcionários.","format":"int32","x-ui":{"controlType":"input","editable":true,"formHidden":true,"helpText":"Vínculo escalar usado por surfaces relacionadas para restringir a folha ao colaborador selecionado.","icon":"badge","iconPosition":"left","label":"Colaborador contextual","name":"funcionarioId","order":"14","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"funcionarioIdsIn":{"type":"array","description":"Conjunto de colaboradores que devem compor a analise de folha, usando os identificadores desnormalizados da vista.","items":{"type":"integer","description":"Conjunto de colaboradores que devem compor a analise de folha, usando os identificadores desnormalizados da vista.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Inclui na análise apenas os colaboradores selecionados.","icon":"checklist","iconPosition":"left","label":"Mostrar colaboradores","multiple":true,"order":"15","sortable":true,"type":"number","valueField":"id"}},"x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Inclui na análise apenas os colaboradores selecionados.","icon":"checklist","iconPosition":"left","label":"Mostrar colaboradores","multiple":true,"name":"funcionarioIdsIn","order":"15","sortable":true,"type":"number","valueField":"id"}},"mesBetween":{"description":"Intervalo de meses dentro dos anos analisados, usando valores de 1 a 12.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"integer","format":"int32","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null}}],"items":{"type":"integer","format":"int32","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":true,"example":null},"min":{"type":"integer","format":"int32","nullable":true,"example":null}},"anyOf":[{"required":["min"],"type":"object","properties":{"min":{"type":"integer","format":"int32","nullable":false,"example":null}}},{"required":["max"],"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"inlineMonthRange","editable":true,"helpText":"Analisa a folha por mês único ou intervalo de meses.","icon":"calendar_view_month","iconPosition":"left","label":"Mês","mode":"range","name":"mesBetween","numericMax":"12","numericMin":"1","order":"70","rangeMessage":"Mês deve estar entre 1 e 12","sortable":true,"type":"number"}},"payrollProfile":{"type":"string","description":"Segmentacao de politica de remuneracao usada para agrupar perfis de folha e beneficios.","x-ui":{"controlType":"async-select","displayField":"label","editable":true,"endpoint":"/api/human-resources/vw-analytics-folha-pagamento/option-sources/payrollProfile/options/filter","helpText":"Filtrar por perfil analítico da folha.","icon":"receipt_long","iconPosition":"left","label":"Perfil da folha","maxLength":"80","maxLengthMessage":"Perfil da folha deve ter no máximo 80 caracteres","name":"payrollProfile","order":"180","sortable":true,"type":"text","valueField":"id"}},"pctDescontoBetween":{"description":"Intervalo de percentual de desconto agregado, usado para detectar folhas mais oneradas.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"number","format":"decimal","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null}}],"items":{"type":"number","format":"decimal","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"max":{"type":"number","format":"decimal","nullable":true,"example":null},"min":{"type":"number","format":"decimal","nullable":true,"example":null}},"anyOf":[{"required":["min"],"type":"object","properties":{"min":{"type":"number","format":"decimal","nullable":false,"example":null}}},{"required":["max"],"type":"object","properties":{"max":{"type":"number","format":"decimal","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"inlineRange","editable":true,"helpText":"Filtrar por proporção de descontos.","iconPosition":"left","label":"% Desconto","max":"100","min":"0","mode":"range","name":"pctDescontoBetween","numericFormat":"percent","numericMax":"100","numericMin":"0","numericStep":"0.01","order":"260","placeholder":"0–100%","rangeMessage":"% Desconto deve estar entre 0 e 100","sortable":true,"type":"number"}},"qtdEventosBetween":{"description":"Faixa de quantidade de eventos ou rubricas que compoem a folha, usada como sinal de complexidade do contracheque.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int64","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"integer","format":"int64","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int64","nullable":true,"example":null}}],"items":{"type":"integer","format":"int64","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"max":{"type":"integer","format":"int64","nullable":true,"example":null},"min":{"type":"integer","format":"int64","nullable":true,"example":null}},"anyOf":[{"required":["min"],"type":"object","properties":{"min":{"type":"integer","format":"int64","nullable":false,"example":null}}},{"required":["max"],"type":"object","properties":{"max":{"type":"integer","format":"int64","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"rangeSlider","editable":true,"helpText":"Filtra por quantidade de eventos que compõem a folha.","icon":"event_note","iconPosition":"left","label":"Quantidade de eventos","mode":"range","name":"qtdEventosBetween","order":"280","sortable":true,"type":"number"}},"salarioBrutoBetween":{"description":"Faixa numerica de salario bruto em moeda, antes de descontos.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"number","format":"decimal","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null}}],"items":{"type":"number","format":"decimal","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"currency":{"type":"string"},"maxPrice":{"type":"number","format":"decimal","nullable":true,"example":null},"minPrice":{"type":"number","format":"decimal","nullable":true,"example":null}},"anyOf":[{"required":["minPrice"],"type":"object","properties":{"minPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}},{"required":["maxPrice"],"type":"object","properties":{"maxPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"priceRange","editable":true,"helpText":"Filtrar por intervalo de valores brutos.","icon":"payments","iconPosition":"left","label":"Salário bruto","name":"salarioBrutoBetween","numericFormat":"currency","numericStep":"0.01","order":"230","sortable":true,"type":"number"}},"salarioLiquidoBetween":{"description":"Faixa numerica de salario liquido depois dos descontos.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"number","format":"decimal","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null}}],"items":{"type":"number","format":"decimal","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"currency":{"type":"string"},"maxPrice":{"type":"number","format":"decimal","nullable":true,"example":null},"minPrice":{"type":"number","format":"decimal","nullable":true,"example":null}},"anyOf":[{"required":["minPrice"],"type":"object","properties":{"minPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}},{"required":["maxPrice"],"type":"object","properties":{"maxPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"priceRange","editable":true,"helpText":"Filtrar por intervalo de valores líquidos.","icon":"payments","iconPosition":"left","label":"Salário líquido","name":"salarioLiquidoBetween","numericFormat":"currency","numericStep":"0.01","order":"250","sortable":true,"type":"number"}},"totalDescontosBetween":{"description":"Faixa de soma de descontos aplicados na folha.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"number","format":"decimal","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null}}],"items":{"type":"number","format":"decimal","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"currency":{"type":"string"},"maxPrice":{"type":"number","format":"decimal","nullable":true,"example":null},"minPrice":{"type":"number","format":"decimal","nullable":true,"example":null}},"anyOf":[{"required":["minPrice"],"type":"object","properties":{"minPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}},{"required":["maxPrice"],"type":"object","properties":{"maxPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"priceRange","editable":true,"helpText":"Filtrar por intervalo de descontos aplicados.","icon":"money_off","iconPosition":"left","label":"Total de descontos","name":"totalDescontosBetween","numericFormat":"currency","numericStep":"0.01","order":"240","sortable":true,"type":"number"}},"universo":{"type":"string","description":"Agrupador ficcional da identidade; EQUAL via option-source da view (ver endpoint).","x-ui":{"controlType":"async-select","displayField":"label","editable":true,"endpoint":"/api/human-resources/vw-analytics-folha-pagamento/option-sources/universo/options/filter","helpText":"Filtrar por universo ou franquia de origem.","icon":"public","iconPosition":"left","label":"Universo","maxLength":"120","maxLengthMessage":"Universo deve ter no máximo 120 caracteres","name":"universo","order":"40","sortable":true,"type":"text","valueField":"id"}},"universoContexto":{"type":"string","description":"Valor contextual de universo reaproveitado pelo contrato de filtro quando a UI precisa manter a mesma semantica em campo auxiliar.","x-ui":{"controlType":"input","editable":true,"formHidden":true,"helpText":"Campo auxiliar oculto para reaproveitar o mesmo valor de universo no contrato de filtro.","icon":"public","iconPosition":"left","label":"Universo contextual","maxLength":"120","maxLengthMessage":"Universo contextual deve ter no máximo 120 caracteres","name":"universoContexto","order":"41","sortable":true,"type":"text"}},"valorAdicionaisBetween":{"description":"Faixa de valores adicionais agregados, representando proventos extras no periodo.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"number","format":"decimal","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null}}],"items":{"type":"number","format":"decimal","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"currency":{"type":"string"},"maxPrice":{"type":"number","format":"decimal","nullable":true,"example":null},"minPrice":{"type":"number","format":"decimal","nullable":true,"example":null}},"anyOf":[{"required":["minPrice"],"type":"object","properties":{"minPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}},{"required":["maxPrice"],"type":"object","properties":{"maxPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"priceRange","editable":true,"helpText":"Filtrar por intervalo de ganhos adicionais.","icon":"payments","iconPosition":"left","label":"Valores adicionais","name":"valorAdicionaisBetween","numericFormat":"currency","numericStep":"0.01","order":"270","sortable":true,"type":"number"}}},"description":"Criterios de busca sobre a projecao VwAnalyticsFolhaPagamento (vista, nao entidade a persistir). Filtra linhas agregadas de folha com contexto de colaborador, organograma, operacoes e buckets de remuneracao, sem substituir o contrato transacional de FolhaPagamento."},"VwIndicadoresIncidenteDTO":{"type":"object","properties":{"danosCivis":{"type":"number","description":"Estimativa financeira agregada de dano a terceiros ou infraestrutura; metrica de risco para histogramas, rankings e auditoria.","format":"decimal","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"summarize_only"},"annotationType":"compliance","classification":"confidential","complianceTags":["FINANCIAL_CONTROL","RISK_AUDIT"],"confidence":1.0,"dataCategory":"financial","reason":"Valor financeiro agregado deve ser usado preferencialmente em analises agregadas e decisoes auditaveis.","source":"java.annotation"},"x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"icon":"payments","iconPosition":"left","label":"Danos Civis","locale":"pt-BR","name":"danosCivis","numericFormat":"currency","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"descricao":{"type":"string","description":"Resumo ou narrativa curta exibida no painel; nao e o relatorio completo e pode exigir resumo para uso por IA.","x-domain-governance":{"aiUsage":{"reasoningUse":"review_required","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"summarize_only"},"annotationType":"security","classification":"internal","complianceTags":["INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"operational","reason":"Narrativa de incidente pode conter contexto operacional sensivel.","source":"java.annotation"},"x-ui":{"controlType":"textarea","editable":true,"icon":"description","iconPosition":"left","label":"Descrição","name":"descricao","resourceReference":{"resourceKey":"operations.incidentes","surfaceId":"detail","valueField":"incidenteId"},"sortable":true,"type":"text"}},"incidenteId":{"type":"integer","description":"Chave do incidente transacional que originou a linha materializada; liga o indicador ao cadastro e ao workflow de Operacoes.","format":"int32","example":7,"x-ui":{"controlType":"numericTextBox","editable":true,"icon":"siren","iconPosition":"left","label":"Incidente","name":"incidenteId","resourceReference":{"resourceKey":"operations.incidentes","surfaceId":"detail","valueField":"incidenteId"},"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"local":{"type":"string","description":"Geografia ou cenario do incidente; dimensao operacional para filtros, mapas e dashboards de risco.","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"allow"},"annotationType":"security","classification":"internal","complianceTags":["INTERNAL_POLICY"],"confidence":1.0,"dataCategory":"operational","reason":"Local do incidente direciona triagem e dashboards, mas ainda pertence ao contexto operacional.","source":"java.annotation"},"x-ui":{"controlType":"input","editable":true,"icon":"location_on","iconPosition":"left","label":"Local","name":"local","sortable":true,"type":"text"}},"missao":{"type":"string","description":"Titulo ou referencia da missao associada ao incidente, desnormalizado para leitura, agrupamento e explicacao no painel de risco.","x-ui":{"controlType":"input","editable":true,"icon":"flag","iconPosition":"left","label":"Missão","name":"missao","quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"text"}},"ocorridoEm":{"type":"string","description":"Marco temporal do incidente com offset, usado para linha do tempo operacional, filtros de recencia e correlacao com missoes.","format":"date-time","example":"2025-04-20T10:00:00Z","x-ui":{"controlType":"dateTime","editable":true,"icon":"event","iconPosition":"left","label":"Ocorrido em","name":"ocorridoEm","sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"severidade":{"type":"string","description":"Classe de gravidade atribuida ao incidente; orienta triagem, priorizacao e agrupamentos nos indicadores de risco.","x-ui":{"controlType":"input","editable":true,"icon":"emergency","iconPosition":"left","label":"Severidade","name":"severidade","quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"text"}},"totalIndenizacoes":{"type":"number","description":"Soma agregada de indenizacoes associadas ao incidente; metrica financeira para comparacao, dashboard e controle.","format":"decimal","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"summarize_only"},"annotationType":"compliance","classification":"confidential","complianceTags":["FINANCIAL_CONTROL","RISK_AUDIT"],"confidence":1.0,"dataCategory":"financial","reason":"Total de indenizacoes compoe analise financeira de risco e exige rastreabilidade.","source":"java.annotation"},"x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"icon":"warning","iconPosition":"left","label":"Total Indenizações","locale":"pt-BR","name":"totalIndenizacoes","numericFormat":"currency","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"totalPago":{"type":"number","description":"Parcela agregada ja liquidada da cobertura; usada para reconciliacao, progresso financeiro e dashboards executivos.","format":"decimal","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"summarize_only"},"annotationType":"compliance","classification":"confidential","complianceTags":["FINANCIAL_CONTROL","RISK_AUDIT"],"confidence":1.0,"dataCategory":"financial","reason":"Valor liquidado deve ser explicado como metrica agregada, nao como dado transacional de pagamento individual.","source":"java.annotation"},"x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"icon":"payments","iconPosition":"left","label":"Total Pago","locale":"pt-BR","name":"totalPago","numericFormat":"currency","presentation":{"presenter":"microVisualization","visualization":{"ariaLabel":"Comparativo financeiro entre parcela liquidada e total de indenizações do incidente","baselineExpr":"row.totalIndenizacoes","compactValue":true,"fallbackText":"Total liquidado em relação ao total de indenizações","kind":"comparison","size":"sm","surface":"table-cell","thresholds":[{"label":"Sem liquidação","max":0.0,"min":0.0,"tone":"danger"},{"label":"Em liquidação","tone":"info","value":0.01}],"totalExpr":"row.totalIndenizacoes","valueExpr":"row.totalPago"}},"quickViewOrder":5,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"currency"}}},"totalPendente":{"type":"number","description":"Saldo agregado ainda nao pago; metrica para priorizacao, controle financeiro e comparacao com total de indenizacoes.","format":"decimal","x-domain-governance":{"aiUsage":{"reasoningUse":"allow","ruleAuthoring":"review_required","trainingUse":"deny","visibility":"summarize_only"},"annotationType":"compliance","classification":"confidential","complianceTags":["FINANCIAL_CONTROL","RISK_AUDIT"],"confidence":1.0,"dataCategory":"financial","reason":"Saldo pendente direciona priorizacao e deve manter governanca financeira.","source":"java.annotation"},"x-ui":{"controlType":"currency","currency":"BRL","decimalPlaces":2,"editable":true,"icon":"payments","iconPosition":"left","label":"Total Pendente","locale":"pt-BR","name":"totalPendente","numericFormat":"currency","presentation":{"presenter":"microVisualization","visualization":{"ariaLabel":"Exposição financeira pendente frente ao total de indenizações do incidente","compactValue":true,"fallbackText":"Saldo pendente de liquidação sobre indenizações","kind":"bullet","maxExpr":"row.totalIndenizacoes","min":0.0,"size":"sm","surface":"table-cell","target":0.0,"thresholds":[{"label":"Liquidado","max":0.0,"min":0.0,"tone":"success"},{"label":"Saldo em aberto","tone":"warning","value":0.01}],"valueExpr":"row.totalPendente"}},"quickViewOrder":6,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"currency"}}}},"description":"Linha de vista so-leitura: indicadores de sinistro/ incidente agregando impacto, severidade e trilha financeira (indenizacoes, pago, pendente). Cruza Operacoes, local e indicadores financeiros para painéis de risco e respostas assistidas, sem substituir o incidente transacional editavel."},"VwIndicadoresIncidenteFilterDTO":{"type":"object","properties":{"danosCivisBetween":{"description":"Faixa de estimativa financeira de danos civis ou a infraestrutura atribuida ao incidente.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"number","format":"decimal","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null}}],"items":{"type":"number","format":"decimal","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"currency":{"type":"string"},"maxPrice":{"type":"number","format":"decimal","nullable":true,"example":null},"minPrice":{"type":"number","format":"decimal","nullable":true,"example":null}},"anyOf":[{"required":["minPrice"],"type":"object","properties":{"minPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}},{"required":["maxPrice"],"type":"object","properties":{"maxPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"rangeSlider","editable":true,"helpText":"Filtra incidentes por estimativa monetária de danos a terceiros.","icon":"calendar_today","iconPosition":"left","label":"Faixa de danos civis","name":"danosCivisBetween","numericFormat":"currency","numericStep":"0.01","order":"60","sortable":true,"type":"number"}},"descricao":{"type":"string","description":"Trecho da narrativa curta do incidente exibida no painel; permite localizar indicadores por contexto operacional resumido.","x-ui":{"controlType":"input","editable":true,"helpText":"Busca por palavras-chave na descrição resumida do incidente.","icon":"description","iconPosition":"left","label":"Descrição do incidente","maxLength":"2000","maxLengthMessage":"Descrição do incidente deve ter no máximo 2000 caracteres","name":"descricao","order":"30","sortable":true,"type":"text"}},"incidenteId":{"type":"integer","description":"Identificador do incidente transacional que ancora o indicador materializado.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/incidentes/option-sources/incident/options/filter","helpText":"Foca os indicadores agregados de um incidente específico.","icon":"report_problem","iconPosition":"left","label":"Incidente","name":"incidenteId","order":"10","sortable":true,"type":"number","valueField":"id"}},"local":{"type":"string","description":"Trecho do local ou cenario do fato usado para recortes geograficos e busca operacional.","x-ui":{"controlType":"input","editable":true,"helpText":"Filtra pelo local ou região onde o incidente ocorreu.","icon":"location_on","iconPosition":"left","label":"Local do incidente","maxLength":"200","maxLengthMessage":"Local do incidente deve ter no máximo 200 caracteres","name":"local","order":"40","sortable":true,"type":"text"}},"missao":{"type":"string","description":"Trecho do titulo ou referencia da missao associada ao incidente, pesquisado no texto desnormalizado da vista.","x-ui":{"controlType":"input","editable":true,"helpText":"Busca pelo texto da missão associada ao incidente.","icon":"flag","iconPosition":"left","label":"Missão relacionada","maxLength":"200","maxLengthMessage":"Missão relacionada deve ter no máximo 200 caracteres","name":"missao","order":"20","sortable":true,"type":"text"}},"ocorridoEmBetween":{"description":"Janela temporal do incidente, com offset, para recortes de linha do tempo e correlacao com missoes.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date-time","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null}}],"items":{"type":"string","format":"date-time","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":true},"startDate":{"type":"string","format":"date-time","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date-time","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateTimeRange","editable":true,"helpText":"Filtra por intervalo de data e hora em que o incidente ocorreu.","icon":"event","iconPosition":"left","label":"Período do incidente","name":"ocorridoEmBetween","order":"100","sortable":true,"type":"date"}},"ocorridoEmLastDays":{"type":"integer","description":"Janela relativa de recencia para localizar incidentes ocorridos nos ultimos N dias.","format":"int32","x-ui":{"controlType":"input","editable":true,"helpText":"Informe quantos dias recentes devem ser considerados na busca.","icon":"event","iconPosition":"left","label":"Ocorrido nos últimos dias","name":"ocorridoEmLastDays","order":"120","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"ocorridoEmOn":{"type":"string","description":"Dia civil usado para localizar incidentes ocorridos nessa data, independente do horario exato.","format":"date","x-ui":{"controlType":"date","editable":true,"helpText":"Mostra incidentes ocorridos em uma data específica.","icon":"event","iconPosition":"left","label":"Ocorrido em","name":"ocorridoEmOn","order":"110","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"severidade":{"type":"string","description":"Classe de severidade catalogada para triagem, priorizacao e agrupamento dos indicadores.","x-ui":{"controlType":"async-select","displayField":"label","editable":true,"endpoint":"/api/risk-intelligence/vw-indicadores-incidentes/option-sources/severidade/options/filter","helpText":"Seleciona a gravidade operacional registrada no indicador.","icon":"emergency","iconPosition":"left","label":"Severidade","maxLength":"50","maxLengthMessage":"Severidade deve ter no máximo 50 caracteres","name":"severidade","order":"50","sortable":true,"type":"text","valueField":"id"}},"totalIndenizacoesBetween":{"description":"Faixa do total agregado de indenizacoes vinculadas ao incidente.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"number","format":"decimal","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null}}],"items":{"type":"number","format":"decimal","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"currency":{"type":"string"},"maxPrice":{"type":"number","format":"decimal","nullable":true,"example":null},"minPrice":{"type":"number","format":"decimal","nullable":true,"example":null}},"anyOf":[{"required":["minPrice"],"type":"object","properties":{"minPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}},{"required":["maxPrice"],"type":"object","properties":{"maxPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"rangeSlider","editable":true,"helpText":"Filtra pelo volume total de indenizações associadas ao incidente.","icon":"stacked_bar_chart","iconPosition":"left","label":"Total de indenizações","name":"totalIndenizacoesBetween","numericFormat":"currency","numericStep":"0.01","order":"70","sortable":true,"type":"number"}},"totalPagoBetween":{"description":"Faixa do valor agregado ja liquidado, usada para reconciliacao financeira e acompanhamento de cobertura.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"number","format":"decimal","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null}}],"items":{"type":"number","format":"decimal","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"currency":{"type":"string"},"maxPrice":{"type":"number","format":"decimal","nullable":true,"example":null},"minPrice":{"type":"number","format":"decimal","nullable":true,"example":null}},"anyOf":[{"required":["minPrice"],"type":"object","properties":{"minPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}},{"required":["maxPrice"],"type":"object","properties":{"maxPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"rangeSlider","editable":true,"helpText":"Filtra pela faixa já liquidada em indenizações.","icon":"payments","iconPosition":"left","label":"Total pago","name":"totalPagoBetween","numericFormat":"currency","numericStep":"0.01","order":"80","sortable":true,"type":"number"}},"totalPendenteBetween":{"description":"Faixa do saldo agregado ainda pendente de pagamento ou cobertura.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"number","format":"decimal","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null}}],"items":{"type":"number","format":"decimal","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"currency":{"type":"string"},"maxPrice":{"type":"number","format":"decimal","nullable":true,"example":null},"minPrice":{"type":"number","format":"decimal","nullable":true,"example":null}},"anyOf":[{"required":["minPrice"],"type":"object","properties":{"minPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}},{"required":["maxPrice"],"type":"object","properties":{"maxPrice":{"type":"number","format":"decimal","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"rangeSlider","editable":true,"helpText":"Filtra pela faixa ainda pendente de pagamento.","icon":"payments","iconPosition":"left","label":"Total pendente","name":"totalPendenteBetween","numericFormat":"currency","numericStep":"0.01","order":"90","sortable":true,"type":"number"}}},"description":"Criterios de busca sobre a vista VwIndicadoresIncidente (nao e o incidente nem a indenizacao a editar). Filtra agregados de dano, cobertura e tempo sem substituir o cadastro transacional de incidentes."},"VwPerfilHeroiDTO":{"type":"object","properties":{"avatarUrl":{"type":"string","description":"URL da foto de perfil do funcionário, reutilizada da ficha cadastral para identificar visualmente a projeção 360.","x-ui":{"controlType":"avatar","editable":true,"formHidden":true,"helpText":"Foto de perfil usada para reconhecer visualmente o funcionário nesta ficha 360.","icon":"account_circle","iconPosition":"left","initialsField":"nomeCompleto","label":"Foto","name":"avatarUrl","order":"5","presentation":{"initialsField":"nomeCompleto"},"readOnly":true,"sortable":true,"type":"url"}},"basePrincipal":{"type":"string","description":"Base operacional principal associada ao colaborador para suporte a logistica, escala e planejamento de missao.","x-ui":{"controlType":"input","editable":true,"helpText":"Base operacional de atuação.","icon":"location_on","iconPosition":"left","label":"Base Principal","name":"basePrincipal","order":"120","quickViewOrder":40,"quickViewVisible":true,"sortable":true,"type":"text"}},"cargo":{"type":"string","description":"Cargo corrente ou principal exibido; texto desnormalizado vindo do join (nao e substituto de CargoDTO).","x-ui":{"controlType":"input","editable":true,"helpText":"Ocupação atual.","icon":"work","iconPosition":"left","label":"Cargo","name":"cargo","order":"50","quickViewOrder":10,"quickViewVisible":true,"sortable":true,"type":"text"}},"codinome":{"type":"string","description":"Codinome de identidade secreta ou marca publica; vazio se inexistente.","x-ui":{"controlType":"input","editable":true,"helpText":"Identidade pública (alter ego).","icon":"theater_comedy","iconPosition":"left","label":"Codinome","name":"codinome","order":"20","resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"funcionarioId"},"sortable":true,"type":"text"}},"departamento":{"type":"string","description":"Unidade organizacional de alocacao; desnormalizado para a vista.","x-ui":{"controlType":"input","editable":true,"helpText":"Departamento atual.","icon":"apartment","iconPosition":"left","label":"Departamento","name":"departamento","order":"60","quickViewOrder":20,"quickViewVisible":true,"sortable":true,"type":"text"}},"equipePrincipal":{"type":"string","description":"Equipa tatica predominante a que o colaborador esta associado (catalogo/label na vista).","x-ui":{"controlType":"input","editable":true,"helpText":"Equipe tática primária.","icon":"groups","iconPosition":"left","label":"Equipe Principal","name":"equipePrincipal","order":"110","quickViewOrder":30,"quickViewVisible":true,"sortable":true,"type":"text"}},"exposicaoPublica":{"type":"boolean","description":"Indica se o colaborador pode ser tratado como figura de exposicao publica em regras de privacidade, midia e beneficios.","example":true,"x-ui":{"controlType":"checkbox","editable":true,"helpText":"Aprovação para exposição.","icon":"visibility","iconPosition":"left","label":"Exposição Pública","name":"exposicaoPublica","order":"40","presentation":{"appearance":"soft","presenter":"status"},"quickViewOrder":80,"quickViewVisible":true,"sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"}}},"funcionarioId":{"type":"integer","description":"Chave do funcionario; ancora o conjunto de atributos exibidos na ficha de perfil.","format":"int32","example":3,"x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"helpText":"Identificador do herói neste perfil.","icon":"badge","iconPosition":"left","label":"Cód. Herói","name":"funcionarioId","order":"1","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"habilidades":{"type":"string","description":"Lista ou texto resumido de competencias (pode ser concatenacao para exibicao; detalhe por habilidade em recursos de ligacao N-N).","x-ui":{"controlType":"input","editable":true,"helpText":"Resumo de competências cadastradas.","icon":"psychology","iconPosition":"left","label":"Habilidades","name":"habilidades","order":"100","quickViewOrder":60,"quickViewVisible":true,"sortable":true,"type":"text"}},"nomeCompleto":{"type":"string","description":"Nome civil oficial na folha e contrato.","x-ui":{"controlType":"input","editable":true,"helpText":"Nome civil do herói.","icon":"badge","iconPosition":"left","label":"Nome Completo","name":"nomeCompleto","order":"10","resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"funcionarioId"},"sortable":true,"type":"text"}},"scoreGovernamental":{"type":"integer","description":"Snapshot de alinhamento governamental/compliance; par ao score publico na analise de risco de imagem.","format":"int32","example":88,"x-ui":{"controlType":"numericTextBox","editable":true,"helpText":"Score de confiança governamental.","icon":"gavel","iconPosition":"left","label":"Score Governamental","name":"scoreGovernamental","order":"80","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"scoreMedio":{"type":"number","description":"Indice agregado de reputacao usado como destaque sintetico da ficha, derivado dos scores publico e governamental.","format":"decimal","example":80.0,"x-ui":{"controlType":"numericTextBox","editable":true,"helpText":"Média de reputação.","icon":"analytics","iconPosition":"left","label":"Score Médio","name":"scoreMedio","numericFormat":"decimal","order":"90","quickViewOrder":50,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"scorePublico":{"type":"integer","description":"Snapshot de reputacao publica/ midia; mesma semantica que em Reputacao, aqui congelada na projecao.","format":"int32","example":72,"x-ui":{"controlType":"numericTextBox","editable":true,"helpText":"Score de reputação pública.","icon":"public","iconPosition":"left","label":"Score Público","name":"scorePublico","order":"70","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"universo":{"type":"string","description":"Ficcao/linha editoral a que o alter ego pertence (ex.: continuidade, quadrinho); dado de catalogo na vista.","x-ui":{"controlType":"input","editable":true,"helpText":"Universo narrativo de origem.","icon":"public","iconPosition":"left","label":"Universo","name":"universo","order":"30","quickViewOrder":70,"quickViewVisible":true,"sortable":true,"type":"text"}}},"description":"Projecao somente leitura que consolida cadastro civil, identidade operacional, reputacao, habilidades resumidas, equipe e base principal. Serve a ficha 360, catalogo semantico e assistentes LLM sem substituir os contratos transacionais de cadastro."},"VwPerfilHeroiFilterDTO":{"type":"object","properties":{"basePrincipal":{"type":"string","description":"Base operacional principal associada ao colaborador na ficha agregada.","x-ui":{"controlType":"async-select","displayField":"label","editable":true,"endpoint":"/api/human-resources/vw-perfil-heroi/option-sources/basePrincipal/options/filter","helpText":"Filtrar por local base de referência.","icon":"location_on","iconPosition":"left","label":"Base Principal","maxLength":"120","maxLengthMessage":"Base Principal deve ter no máximo 120 caracteres","name":"basePrincipal","order":"130","sortable":true,"type":"text","valueField":"id"}},"cargo":{"type":"string","description":"Trecho do cargo atual exibido na vista agregada, usado em busca textual.","x-ui":{"controlType":"input","editable":true,"helpText":"Busca textual do cargo atual.","icon":"work","iconPosition":"left","label":"Cargo","maxLength":"120","maxLengthMessage":"Cargo deve ter no máximo 120 caracteres","name":"cargo","order":"60","sortable":true,"type":"text"}},"codinome":{"type":"string","description":"Trecho do codinome, nome de guerra ou marca publica associada ao colaborador.","x-ui":{"controlType":"input","editable":true,"helpText":"Busca livre por nome de guerra.","icon":"theater_comedy","iconPosition":"left","label":"Codinome","maxLength":"120","maxLengthMessage":"Codinome deve ter no máximo 120 caracteres","name":"codinome","order":"30","sortable":true,"type":"text"}},"departamento":{"type":"string","description":"Trecho do departamento exibido na vista agregada.","x-ui":{"controlType":"input","editable":true,"helpText":"Busca textual do departamento alocado.","icon":"apartment","iconPosition":"left","label":"Departamento","maxLength":"120","maxLengthMessage":"Departamento deve ter no máximo 120 caracteres","name":"departamento","order":"70","sortable":true,"type":"text"}},"equipePrincipal":{"type":"string","description":"Equipe tatica principal associada ao colaborador na ficha agregada.","x-ui":{"controlType":"async-select","displayField":"label","editable":true,"endpoint":"/api/human-resources/vw-perfil-heroi/option-sources/equipePrincipal/options/filter","helpText":"Filtrar pela equipe de operação prioritária.","icon":"groups","iconPosition":"left","label":"Equipe Principal","maxLength":"120","maxLengthMessage":"Equipe Principal deve ter no máximo 120 caracteres","name":"equipePrincipal","order":"120","sortable":true,"type":"text","valueField":"id"}},"exposicaoPublica":{"type":"boolean","description":"Indicador de exposicao publica planejada, separando perfis publicos de identidades protegidas.","x-ui":{"controlType":"checkbox","editable":true,"helpText":"Filtrar por heróis públicos ou secretos.","icon":"visibility","iconPosition":"left","label":"Exposição Pública","name":"exposicaoPublica","order":"50","sortable":true,"type":"boolean","valuePresentation":{"type":"boolean"}}},"funcionarioId":{"type":"integer","description":"Colaborador especifico cuja ficha agregada deve ser localizada.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Filtrar perfil de um colaborador.","icon":"badge","iconPosition":"left","label":"Herói","name":"funcionarioId","order":"10","sortable":true,"type":"number","valueField":"id"}},"funcionarioIdsIn":{"type":"array","description":"Conjunto de colaboradores que devem aparecer na ficha agregada, sem alterar cadastros individuais.","items":{"type":"integer","description":"Conjunto de colaboradores que devem aparecer na ficha agregada, sem alterar cadastros individuais.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Inclui na ficha agregada apenas os heróis selecionados.","icon":"checklist","iconPosition":"left","label":"Mostrar heróis","multiple":true,"order":"15","sortable":true,"type":"number","valueField":"id"}},"x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Inclui na ficha agregada apenas os heróis selecionados.","icon":"checklist","iconPosition":"left","label":"Mostrar heróis","multiple":true,"name":"funcionarioIdsIn","order":"15","sortable":true,"type":"number","valueField":"id"}},"habilidades":{"type":"string","description":"Trecho do resumo de competencias e habilidades concatenadas para busca rapida na ficha.","x-ui":{"controlType":"input","editable":true,"helpText":"Busca livre por palavras-chave nas habilidades.","icon":"psychology","iconPosition":"left","label":"Habilidades","maxLength":"4000","maxLengthMessage":"Habilidades deve ter no máximo 4000 caracteres","name":"habilidades","order":"110","sortable":true,"type":"text"}},"nomeCompleto":{"type":"string","description":"Trecho do nome civil do colaborador usado para busca textual.","x-ui":{"controlType":"input","editable":true,"helpText":"Busca livre por nome civil do herói.","icon":"badge","iconPosition":"left","label":"Nome Civil","maxLength":"200","maxLengthMessage":"Nome Civil deve ter no máximo 200 caracteres","name":"nomeCompleto","order":"20","sortable":true,"type":"text"}},"scoreGovernamentalBetween":{"description":"Faixa de score governamental usada para avaliar alinhamento institucional.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"integer","format":"int32","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null}}],"items":{"type":"integer","format":"int32","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":true,"example":null},"min":{"type":"integer","format":"int32","nullable":true,"example":null}},"anyOf":[{"required":["min"],"type":"object","properties":{"min":{"type":"integer","format":"int32","nullable":false,"example":null}}},{"required":["max"],"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"rangeSlider","editable":true,"helpText":"Filtrar por faixa de aderência governamental.","icon":"gavel","iconPosition":"left","label":"Score Governamental","mode":"range","name":"scoreGovernamentalBetween","order":"90","sortable":true,"type":"number"}},"scoreMedioBetween":{"description":"Faixa de media agregada de reputacao calculada pela vista.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"number","format":"decimal","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null}}],"items":{"type":"number","format":"decimal","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"max":{"type":"number","format":"decimal","nullable":true,"example":null},"min":{"type":"number","format":"decimal","nullable":true,"example":null}},"anyOf":[{"required":["min"],"type":"object","properties":{"min":{"type":"number","format":"decimal","nullable":false,"example":null}}},{"required":["max"],"type":"object","properties":{"max":{"type":"number","format":"decimal","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"rangeSlider","editable":true,"helpText":"Filtrar por avaliação geral média.","icon":"analytics","iconPosition":"left","label":"Score Médio","mode":"range","name":"scoreMedioBetween","order":"100","sortable":true,"type":"number"}},"scorePublicoBetween":{"description":"Faixa de score publico ou midiatico usada para comparar exposicao e reputacao.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"integer","format":"int32","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null}}],"items":{"type":"integer","format":"int32","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":true,"example":null},"min":{"type":"integer","format":"int32","nullable":true,"example":null}},"anyOf":[{"required":["min"],"type":"object","properties":{"min":{"type":"integer","format":"int32","nullable":false,"example":null}}},{"required":["max"],"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"rangeSlider","editable":true,"helpText":"Filtrar por faixa de score de mídia.","icon":"campaign","iconPosition":"left","label":"Score de Mídia","mode":"range","name":"scorePublicoBetween","order":"80","sortable":true,"type":"number"}},"universo":{"type":"string","description":"Universo ou contexto narrativo de origem usado como dimensao de segmentacao da ficha.","x-ui":{"controlType":"async-select","displayField":"label","editable":true,"endpoint":"/api/human-resources/vw-perfil-heroi/option-sources/universo/options/filter","helpText":"Filtrar por universo narrativo de origem.","icon":"public","iconPosition":"left","label":"Universo","maxLength":"120","maxLengthMessage":"Universo deve ter no máximo 120 caracteres","name":"universo","order":"40","sortable":true,"type":"text","valueField":"id"}}},"description":"Criterios de busca na vista VwPerfilHeroi (ficha agregada; nao e alteracao de cadastro so por filtrar). Cruza identidade, universo, organograma, reputacao e contexto operacional para montar fichas agregadas de colaboradores."},"VwRankingReputacaoDTO":{"type":"object","properties":{"codinome":{"type":"string","description":"Identidade publica ou de missao vinculada ao mesmo funcionario; pode vazio se nao houver registo de alter ego.","x-ui":{"controlType":"input","editable":true,"helpText":"Identidade heroica (se existir).","icon":"theater_comedy","iconPosition":"left","label":"Codinome","name":"codinome","order":"20","resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"funcionarioId"},"sortable":true,"type":"text"}},"equipe":{"type":"string","description":"Rotulo da equipa operacional vigente do heroi na data atual (data_entrada <= CURRENT_DATE e data_saida nula ou futura), priorizando papel LIDER e vinculo mais recente sem multiplicar linhas quando houver historico de transferencias.","x-ui":{"controlType":"input","editable":true,"helpText":"Equipe de vínculo principal.","icon":"groups","iconPosition":"left","label":"Equipe","name":"equipe","order":"30","quickViewOrder":5,"quickViewVisible":true,"sortable":true,"type":"text"}},"funcionarioId":{"type":"integer","description":"Identificador do funcionario na base; chave de ligacao ao cadastro e ao restante dominio RH.","format":"int32","example":3,"x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"helpText":"Identificador interno do herói no ranking.","icon":"badge","iconPosition":"left","label":"Cód. Herói","name":"funcionarioId","order":"1","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"media":{"type":"number","description":"Media aritmetica decimal exata ((scorePublico + scoreGovernamental)::numeric / 2) usada para ordenar o ranking.","format":"decimal","example":91.5,"x-ui":{"controlType":"numericTextBox","editable":true,"helpText":"Score médio composto para rankeamento.","icon":"analytics","iconPosition":"left","label":"Média","name":"media","numericFormat":"decimal","order":"60","quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"nomeCompleto":{"type":"string","description":"Nome civil usado em documentos e contrato; coluna exibida no ranking.","x-ui":{"controlType":"input","editable":true,"helpText":"Nome do colaborador no ranking.","icon":"badge","iconPosition":"left","label":"Nome Completo","name":"nomeCompleto","order":"10","resourceReference":{"previewSurfaceId":"hero-profile","resourceKey":"human-resources.funcionarios","surfaceId":"detail","valueField":"funcionarioId"},"sortable":true,"type":"text"}},"posicao":{"type":"integer","description":"Posicao ordinal no ranking via semantica SQL RANK() sobre a media decimal exata (1 = maior media; empates reais compartilham a mesma posicao e abrem lacuna proporcional na posicao seguinte).","format":"int64","example":1,"x-ui":{"controlType":"numericTextBox","editable":true,"helpText":"Posição geral no ranking calculado.","icon":"format_list_numbered","iconPosition":"left","label":"Posição","name":"posicao","order":"70","quickViewOrder":1,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"scoreGovernamental":{"type":"integer","description":"Indice de alinhamento a politicas internas e missoes reguladas; independente do score publico.","format":"int32","example":85,"x-ui":{"controlType":"numericTextBox","editable":true,"helpText":"Score governamental para comparação.","icon":"gavel","iconPosition":"left","label":"Score Governamental","name":"scoreGovernamental","order":"50","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"scorePublico":{"type":"integer","description":"Indice sintetico de visibilidade/sentimento de midia no periodo considerado pela vista (escala do quickstart).","format":"int32","example":72,"x-ui":{"controlType":"numericTextBox","editable":true,"helpText":"Score público para comparação.","icon":"public","iconPosition":"left","label":"Score Público","name":"scorePublico","order":"40","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}}},"description":"Linha de vista so-leitura: ranking de reputacao do colaborador face a pares (midia vs governo, media e posicao). Nao e entidade editavel; consolida agregados de reputacao para listagens, dashboards e analise semantica por assistentes."},"VwRankingReputacaoFilterDTO":{"type":"object","properties":{"codinome":{"type":"string","description":"Trecho do codinome ou alter ego exibido no ranking.","x-ui":{"controlType":"input","editable":true,"helpText":"Procurar no ranking por nome de guerra.","icon":"theater_comedy","iconPosition":"left","label":"Codinome","maxLength":"120","maxLengthMessage":"Codinome deve ter no máximo 120 caracteres","name":"codinome","order":"30","sortable":true,"type":"text"}},"equipe":{"type":"string","description":"Trecho do rotulo de equipe exibido na linha de ranking.","x-ui":{"controlType":"input","editable":true,"helpText":"Filtrar o ranking para exibir apenas uma equipe.","icon":"groups","iconPosition":"left","label":"Equipe","maxLength":"120","maxLengthMessage":"Equipe deve ter no máximo 120 caracteres","name":"equipe","order":"40","sortable":true,"type":"text"}},"funcionarioId":{"type":"integer","description":"Colaborador cuja posicao no ranking deve ser destacada.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Destacar posição de um colaborador no ranking.","icon":"badge","iconPosition":"left","label":"Colaborador / Herói","name":"funcionarioId","order":"10","sortable":true,"type":"number","valueField":"id"}},"funcionarioIdsIn":{"type":"array","description":"Subconjunto de colaboradores que deve compor o ranking retornado.","items":{"type":"integer","description":"Subconjunto de colaboradores que deve compor o ranking retornado.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Inclui no ranking apenas os colaboradores selecionados.","icon":"checklist","iconPosition":"left","label":"Mostrar colaboradores","multiple":true,"order":"15","sortable":true,"type":"number","valueField":"id"}},"x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/human-resources/funcionarios/option-sources/employee/options/filter","helpText":"Inclui no ranking apenas os colaboradores selecionados.","icon":"checklist","iconPosition":"left","label":"Mostrar colaboradores","multiple":true,"name":"funcionarioIdsIn","order":"15","sortable":true,"type":"number","valueField":"id"}},"mediaBetween":{"description":"Faixa da media final usada como metrica de ordenacao e destaque no ranking.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"number","format":"decimal","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"number","format":"decimal","nullable":true,"example":null}}],"items":{"type":"number","format":"decimal","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"max":{"type":"number","format":"decimal","nullable":true,"example":null},"min":{"type":"number","format":"decimal","nullable":true,"example":null}},"anyOf":[{"required":["min"],"type":"object","properties":{"min":{"type":"number","format":"decimal","nullable":false,"example":null}}},{"required":["max"],"type":"object","properties":{"max":{"type":"number","format":"decimal","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"rangeSlider","editable":true,"helpText":"Filtrar ranking por faixas de média final.","icon":"analytics","iconPosition":"left","label":"Média Final","mode":"range","name":"mediaBetween","order":"70","sortable":true,"type":"number"}},"nomeCompleto":{"type":"string","description":"Trecho do nome civil exibido na linha de ranking.","x-ui":{"controlType":"input","editable":true,"helpText":"Procurar colaborador no ranking pelo nome.","icon":"badge","iconPosition":"left","label":"Nome Completo","maxLength":"200","maxLengthMessage":"Nome Completo deve ter no máximo 200 caracteres","name":"nomeCompleto","order":"20","sortable":true,"type":"text"}},"posicaoBetween":{"description":"Intervalo ordinal de posicoes para recortar top-N ou faixas especificas do ranking.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int64","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"integer","format":"int64","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int64","nullable":true,"example":null}}],"items":{"type":"integer","format":"int64","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"max":{"type":"integer","format":"int64","nullable":true,"example":null},"min":{"type":"integer","format":"int64","nullable":true,"example":null}},"anyOf":[{"required":["min"],"type":"object","properties":{"min":{"type":"integer","format":"int64","nullable":false,"example":null}}},{"required":["max"],"type":"object","properties":{"max":{"type":"integer","format":"int64","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"rangeSlider","editable":true,"helpText":"Exibir apenas heróis dentro de faixas de posições (ex: Top 10).","icon":"format_list_numbered","iconPosition":"left","label":"Posição no Ranking","mode":"range","name":"posicaoBetween","order":"80","sortable":true,"type":"number"}},"scoreGovernamentalBetween":{"description":"Faixa de score governamental usada para segmentar alinhamento institucional no ranking.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"integer","format":"int32","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null}}],"items":{"type":"integer","format":"int32","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":true,"example":null},"min":{"type":"integer","format":"int32","nullable":true,"example":null}},"anyOf":[{"required":["min"],"type":"object","properties":{"min":{"type":"integer","format":"int32","nullable":false,"example":null}}},{"required":["max"],"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"rangeSlider","editable":true,"helpText":"Restringir ranking pelo alinhamento do governo.","icon":"gavel","iconPosition":"left","label":"Score Governamental","mode":"range","name":"scoreGovernamentalBetween","order":"60","sortable":true,"type":"number"}},"scorePublicoBetween":{"description":"Faixa de score publico usada para segmentar aprovacao ou visibilidade no ranking.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"integer","format":"int32","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int32","nullable":true,"example":null}}],"items":{"type":"integer","format":"int32","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":true,"example":null},"min":{"type":"integer","format":"int32","nullable":true,"example":null}},"anyOf":[{"required":["min"],"type":"object","properties":{"min":{"type":"integer","format":"int32","nullable":false,"example":null}}},{"required":["max"],"type":"object","properties":{"max":{"type":"integer","format":"int32","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"rangeSlider","editable":true,"helpText":"Restringir ranking pela aprovação pública.","icon":"campaign","iconPosition":"left","label":"Score de Mídia","mode":"range","name":"scorePublicoBetween","order":"50","sortable":true,"type":"number"}}},"description":"Criterios de busca sobre a vista VwRankingReputacao (linha de ranking, nao entidade editavel). Filtra score publico, score governamental, media e posicao para leitura de ranking sem alterar a tabela base de reputacao."},"VwResumoMissoeDTO":{"type":"object","properties":{"ameaca":{"type":"string","description":"Ameaca principal associada a missao, projetada como texto de contexto operacional.","x-ui":{"controlType":"input","editable":true,"icon":"warning","iconPosition":"left","label":"Ameaça","name":"ameaca","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"text"}},"local":{"type":"string","description":"Local, setor ou cenario operacional principal da missao.","x-ui":{"controlType":"input","editable":true,"icon":"location_on","iconPosition":"left","label":"Local","name":"local","sortable":true,"type":"text"}},"missaoId":{"type":"integer","description":"Chave da missao de origem usada para relacionar participantes, eventos e demais detalhes operacionais.","format":"int32","example":12},"primeiraAcao":{"type":"string","description":"Instante da primeira acao registrada na linha do tempo da missao.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"label","iconPosition":"left","label":"Primeira Ação","name":"primeiraAcao","sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}},"prioridade":{"type":"string","description":"Nivel de escalacao ou urgencia atribuido a missao.","x-ui":{"controlType":"input","editable":true,"icon":"priority_high","iconPosition":"left","label":"Prioridade","name":"prioridade","sortable":true,"type":"text"}},"prioridadeLabel":{"type":"string","description":"Rotulo humano da prioridade; preserva prioridade como codigo canonico para filtros e ordenacao.","example":"Crítica","x-ui":{"controlType":"input","editable":true,"icon":"priority_high","iconPosition":"left","label":"Prioridade (rótulo)","name":"prioridadeLabel","quickViewOrder":2,"quickViewVisible":true,"readOnly":true,"sortable":true,"type":"text"}},"qtdEventos":{"type":"integer","description":"Quantidade de eventos registrados na linha do tempo da missao, usada como sinal de atividade e complexidade.","format":"int64","example":18,"x-ui":{"controlType":"numericTextBox","editable":true,"icon":"event_note","iconPosition":"left","label":"Qtd. Eventos","name":"qtdEventos","quickViewOrder":5,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"qtdHerois":{"type":"integer","description":"Quantidade de participantes alocados ou escalados para a missao.","format":"int64","example":4,"x-ui":{"controlType":"numericTextBox","editable":true,"icon":"badge","iconPosition":"left","label":"Qtd. Heróis","name":"qtdHerois","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"status":{"type":"string","description":"Estado de workflow da missao projetado na vista de resumo.","x-ui":{"controlType":"input","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status","name":"status","sortable":true,"type":"text"}},"statusLabel":{"type":"string","description":"Rotulo humano do estado de workflow; preserva status como codigo canonico para filtros e interacoes.","example":"Em andamento","x-ui":{"controlType":"input","editable":true,"icon":"toggle_on","iconPosition":"left","label":"Status (rótulo)","name":"statusLabel","quickViewOrder":1,"quickViewVisible":true,"readOnly":true,"sortable":true,"type":"text"}},"titulo":{"type":"string","description":"Titulo operacional da missao exibido em paineis e listagens de resumo.","x-ui":{"controlType":"input","editable":true,"icon":"title","iconPosition":"left","label":"Título","name":"titulo","resourceReference":{"previewSurfaceId":"summary","resourceKey":"operations.missoes","surfaceId":"detail","valueField":"missaoId"},"sortable":true,"type":"text"}},"ultimaAcao":{"type":"string","description":"Instante da atividade mais recente registrada para a missao, usado para avaliar recencia operacional.","format":"date-time","x-ui":{"controlType":"dateTime","editable":true,"icon":"label","iconPosition":"left","label":"Última Ação","name":"ultimaAcao","quickViewOrder":6,"quickViewVisible":true,"sortable":true,"type":"date","valuePresentation":{"type":"datetime"}}}},"description":"Projecao somente leitura que resume missoes por estado operacional, prioridade, local, ameaca, participantes e atividade recente. Serve a paineis de controle, catalogo semantico e assistentes LLM sem substituir o contrato transacional de Missao."},"VwResumoMissoeFilterDTO":{"type":"object","properties":{"ameaca":{"type":"string","description":"Trecho da ameaca principal desnormalizada associada a missao.","x-ui":{"controlType":"input","editable":true,"helpText":"Busca pelo texto da ameaça principal associada à missão.","icon":"warning","iconPosition":"left","label":"Ameaça principal","maxLength":"200","maxLengthMessage":"Ameaça principal deve ter no máximo 200 caracteres","name":"ameaca","order":"60","sortable":true,"type":"text"}},"local":{"type":"string","description":"Trecho do local ou cenario operacional da missao.","x-ui":{"controlType":"input","editable":true,"helpText":"Filtra pelo local ou cenário operacional da missão.","icon":"location_on","iconPosition":"left","label":"Local","maxLength":"200","maxLengthMessage":"Local deve ter no máximo 200 caracteres","name":"local","order":"50","sortable":true,"type":"text"}},"missaoId":{"type":"integer","description":"Missao especifica cujo resumo agregado deve ser localizado.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/operations/missoes/option-sources/mission/options/filter","helpText":"Foca o resumo agregado de uma missão específica.","icon":"flag","iconPosition":"left","label":"Missão","name":"missaoId","order":"10","sortable":true,"type":"number","valueField":"id"}},"missaoIdsIn":{"type":"array","description":"Conjunto de missoes que deve compor o resumo agregado retornado.","items":{"type":"integer","description":"Conjunto de missoes que deve compor o resumo agregado retornado.","format":"int32","x-ui":{"controlType":"inlineMultiSelect","displayField":"label","editable":true,"endpoint":"/api/operations/missoes/option-sources/mission/options/filter","helpText":"Inclui no resumo apenas as missões selecionadas.","icon":"checklist","iconPosition":"left","label":"Mostrar missões","order":"15","sortable":true,"type":"number","valueField":"id"}},"x-ui":{"controlType":"inlineMultiSelect","displayField":"label","editable":true,"endpoint":"/api/operations/missoes/option-sources/mission/options/filter","helpText":"Inclui no resumo apenas as missões selecionadas.","icon":"checklist","iconPosition":"left","label":"Mostrar missões","name":"missaoIdsIn","order":"15","sortable":true,"type":"number","valueField":"id"}},"primeiraAcaoBetween":{"description":"Janela temporal da primeira acao registrada na linha do tempo da missao.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date-time","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null}}],"items":{"type":"string","format":"date-time","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":true},"startDate":{"type":"string","format":"date-time","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date-time","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateTimeRange","editable":true,"helpText":"Filtra pela janela em que a primeira ação da missão ocorreu.","icon":"stacked_bar_chart","iconPosition":"left","label":"Período da primeira ação","name":"primeiraAcaoBetween","order":"90","sortable":true,"type":"date"}},"primeiraAcaoLastDays":{"type":"integer","description":"Janela relativa para localizar missoes cuja primeira acao ocorreu nos ultimos N dias.","format":"int32","x-ui":{"controlType":"input","editable":true,"helpText":"Informe quantos dias recentes devem ser considerados para a primeira ação.","icon":"event","iconPosition":"left","label":"Primeira ação nos últimos dias","name":"primeiraAcaoLastDays","order":"125","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"primeiraAcaoOn":{"type":"string","description":"Dia civil usado para localizar missoes cuja primeira acao ocorreu nessa data.","format":"date","x-ui":{"controlType":"date","editable":true,"helpText":"Mostra missões cuja primeira ação ocorreu em uma data específica.","icon":"event","iconPosition":"left","label":"Primeira ação em","name":"primeiraAcaoOn","order":"110","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"primeiraAcaoPreset":{"type":"string","description":"Atalho de periodo relativo aplicado a data da primeira acao, conforme opcoes publicadas para a UI.","x-ui":{"controlType":"inlineRelativePeriod","editable":true,"helpText":"Aplica atalhos de tempo para a primeira ação, como hoje ou últimos períodos.","icon":"event","iconPosition":"left","label":"Período rápido da primeira ação","name":"primeiraAcaoPreset","order":"120","relativePeriodOptions":[{"icon":"calendar_today","label":"Today","value":"today"},{"icon":"keyboard_double_arrow_left","label":"Yesterday","value":"yesterday"},{"icon":"date_range","label":"Last 7 days","value":"last7"},{"icon":"date_range","label":"Last 30 days","value":"last30"},{"icon":"event","label":"This month","value":"thisMonth"},{"icon":"event","label":"Last month","value":"lastMonth"},{"icon":"bar_chart","label":"This quarter","value":"thisQuarter"},{"icon":"ads_click","label":"This year","value":"thisYear"}],"sortable":true,"type":"text"}},"prioridade":{"type":"string","description":"Trecho da prioridade operacional exibida no resumo.","x-ui":{"controlType":"input","editable":true,"helpText":"Busca pela prioridade textual exibida no resumo.","icon":"priority_high","iconPosition":"left","label":"Prioridade","maxLength":"50","maxLengthMessage":"Prioridade deve ter no máximo 50 caracteres","name":"prioridade","order":"40","sortable":true,"type":"text"}},"qtdEventosBetween":{"description":"Faixa de quantidade de eventos registrados na linha do tempo da missao.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int64","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"integer","format":"int64","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int64","nullable":true,"example":null}}],"items":{"type":"integer","format":"int64","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"max":{"type":"integer","format":"int64","nullable":true,"example":null},"min":{"type":"integer","format":"int64","nullable":true,"example":null}},"anyOf":[{"required":["min"],"type":"object","properties":{"min":{"type":"integer","format":"int64","nullable":false,"example":null}}},{"required":["max"],"type":"object","properties":{"max":{"type":"integer","format":"int64","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"rangeSlider","editable":true,"helpText":"Filtra missões pela quantidade de eventos registrados na linha do tempo.","icon":"event_note","iconPosition":"left","label":"Quantidade de eventos","mode":"range","name":"qtdEventosBetween","order":"80","sortable":true,"type":"number"}},"qtdHeroisBetween":{"description":"Faixa de quantidade de participantes vinculados a missao no resumo.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int64","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"integer","format":"int64","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"integer","format":"int64","nullable":true,"example":null}}],"items":{"type":"integer","format":"int64","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"max":{"type":"integer","format":"int64","nullable":true,"example":null},"min":{"type":"integer","format":"int64","nullable":true,"example":null}},"anyOf":[{"required":["min"],"type":"object","properties":{"min":{"type":"integer","format":"int64","nullable":false,"example":null}}},{"required":["max"],"type":"object","properties":{"max":{"type":"integer","format":"int64","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"rangeSlider","editable":true,"helpText":"Filtra missões pela faixa de participantes no resumo.","icon":"badge","iconPosition":"left","label":"Quantidade de heróis","mode":"range","name":"qtdHeroisBetween","order":"70","sortable":true,"type":"number"}},"status":{"type":"string","description":"Trecho do estado de workflow projetado na linha de resumo.","x-ui":{"controlType":"input","editable":true,"helpText":"Busca pelo status textual projetado na visão resumida.","icon":"toggle_on","iconPosition":"left","label":"Status da missão","maxLength":"50","maxLengthMessage":"Status da missão deve ter no máximo 50 caracteres","name":"status","order":"30","sortable":true,"type":"text"}},"titulo":{"type":"string","description":"Trecho do titulo da missao exibido na vista de resumo.","x-ui":{"controlType":"input","editable":true,"helpText":"Busca por palavras-chave no título exibido no resumo.","icon":"title","iconPosition":"left","label":"Título da missão","maxLength":"200","maxLengthMessage":"Título da missão deve ter no máximo 200 caracteres","name":"titulo","order":"20","sortable":true,"type":"text"}},"ultimaAcaoBetween":{"description":"Janela temporal da atividade mais recente registrada para a missao.","oneOf":[{"maxItems":2,"minItems":1,"type":"array","not":{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null},"enum":[[null,null]]},"anyOf":[{"maxItems":1,"minItems":1,"type":"array","items":{"type":"string","format":"date-time","nullable":false,"example":null}},{"maxItems":2,"minItems":2,"type":"array","items":{"type":"string","format":"date-time","nullable":true,"example":null}}],"items":{"type":"string","format":"date-time","nullable":true,"example":null}},{"minProperties":1,"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":true},"startDate":{"type":"string","format":"date-time","nullable":true}},"anyOf":[{"required":["startDate"],"type":"object","properties":{"startDate":{"type":"string","format":"date-time","nullable":false,"example":null}}},{"required":["endDate"],"type":"object","properties":{"endDate":{"type":"string","format":"date-time","nullable":false,"example":null}}}]}],"x-ui":{"controlType":"dateTimeRange","editable":true,"helpText":"Filtra pela janela em que a atividade mais recente da missão ocorreu.","icon":"stacked_bar_chart","iconPosition":"left","label":"Período da última ação","name":"ultimaAcaoBetween","order":"100","sortable":true,"type":"date"}},"ultimaAcaoLastDays":{"type":"integer","description":"Janela relativa para localizar missoes com atividade registrada nos ultimos N dias.","format":"int32","x-ui":{"controlType":"input","editable":true,"helpText":"Informe quantos dias recentes devem ser considerados para a última ação.","icon":"event","iconPosition":"left","label":"Última ação nos últimos dias","name":"ultimaAcaoLastDays","order":"145","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"ultimaAcaoOn":{"type":"string","description":"Dia civil usado para localizar missoes cuja ultima atividade ocorreu nessa data.","format":"date","x-ui":{"controlType":"date","editable":true,"helpText":"Mostra missões cuja atividade mais recente ocorreu em uma data específica.","icon":"event","iconPosition":"left","label":"Última ação em","name":"ultimaAcaoOn","order":"130","sortable":true,"type":"date","valuePresentation":{"type":"date"}}},"ultimaAcaoPreset":{"type":"string","description":"Atalho de periodo relativo aplicado a data da ultima acao da missao.","x-ui":{"controlType":"inlineRelativePeriod","editable":true,"helpText":"Aplica atalhos de tempo para a última ação, como hoje ou últimos períodos.","icon":"event","iconPosition":"left","label":"Período rápido da última ação","name":"ultimaAcaoPreset","order":"140","relativePeriodOptions":[{"icon":"calendar_today","label":"Today","value":"today"},{"icon":"keyboard_double_arrow_left","label":"Yesterday","value":"yesterday"},{"icon":"date_range","label":"Last 7 days","value":"last7"},{"icon":"date_range","label":"Last 30 days","value":"last30"},{"icon":"event","label":"This month","value":"thisMonth"},{"icon":"event","label":"Last month","value":"lastMonth"},{"icon":"bar_chart","label":"This quarter","value":"thisQuarter"},{"icon":"ads_click","label":"This year","value":"thisYear"}],"sortable":true,"type":"text"}}},"description":"Criterios de busca na vista VwResumoMissoe (resumo agregado; nao e a missao em edicao). Suporta recortes por missoes, estado operacional, ameaca, participantes, volume de eventos e recencia da linha do tempo."},"VwSupplierProcurementFunnelDTO":{"type":"object","properties":{"analyticsId":{"type":"string","description":"Identidade estavel composta pela empresa e pela ordem canonica da etapa.","example":"1:4","x-ui":{"controlType":"input","editable":true,"formHidden":true,"icon":"tag","iconPosition":"left","label":"Identidade Analítica","name":"analyticsId","sortable":true,"type":"text"}},"companyId":{"type":"integer","description":"Empresa compradora que delimita o funil cumulativo.","format":"int32","example":1,"x-ui":{"controlType":"numericTextBox","editable":true,"formHidden":true,"icon":"business","iconPosition":"left","label":"Empresa","name":"companyId","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"companyName":{"type":"string","description":"Razao social usada como rotulo da empresa compradora.","x-ui":{"controlType":"input","editable":true,"icon":"business","iconPosition":"left","label":"Empresa","name":"companyName","resourceReference":{"resourceKey":"procurement.companies","surfaceId":"detail","valueField":"companyId"},"sortable":true,"type":"text"}},"conversionRate":{"type":"number","description":"Razao entre o volume atual e o anterior, entre zero e um; a primeira etapa usa 1.","format":"decimal","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"percent","iconPosition":"left","label":"Conversão","name":"conversionRate","numericFormat":"percent","quickViewOrder":3,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"percentage"}}},"dropOffCount":{"type":"integer","description":"Quantidade de fornecedores que nao avancaram desde a etapa anterior.","format":"int64","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"trending_down","iconPosition":"left","label":"Queda","name":"dropOffCount","quickViewOrder":4,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"dropOffRate":{"type":"number","description":"Razao da queda sobre o volume anterior, entre zero e um; a primeira etapa usa zero.","format":"decimal","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"percent","iconPosition":"left","label":"Taxa de Queda","name":"dropOffRate","numericFormat":"percent","quickViewOrder":5,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"percentage"}}},"previousVolume":{"type":"integer","description":"Volume da etapa imediatamente anterior; nulo somente na primeira etapa.","format":"int64","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"history","iconPosition":"left","label":"Volume Anterior","name":"previousVolume","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"stageKey":{"type":"string","description":"Chave estavel da etapa para identidade analitica e integracoes.","example":"contracted","x-ui":{"controlType":"input","editable":true,"formHidden":true,"icon":"code","iconPosition":"left","label":"Código da Etapa","name":"stageKey","sortable":true,"type":"text"}},"stageLabel":{"type":"string","description":"Rotulo humano da etapa cumulativa.","example":"Contratados","x-ui":{"controlType":"input","editable":true,"icon":"filter_alt","iconPosition":"left","label":"Etapa","name":"stageLabel","sortable":true,"type":"text"}},"stageOrder":{"maximum":6,"minimum":1,"type":"integer","description":"Ordem canonica da etapa, de 1 (identificado) a 6 (recebido).","format":"int32","x-ui":{"controlType":"numericTextBox","editable":true,"icon":"format_list_numbered","iconPosition":"left","label":"Ordem da Etapa","max":"6","min":"1","name":"stageOrder","numericMax":"6","numericMin":"1","quickViewOrder":1,"quickViewVisible":true,"rangeMessage":"Ordem da Etapa deve estar entre 1 e 6","sortable":true,"type":"number","valuePresentation":{"type":"number"}}},"volume":{"type":"integer","description":"Quantidade de fornecedores distintos que alcancaram esta etapa.","format":"int64","example":18,"x-ui":{"controlType":"numericTextBox","editable":true,"icon":"numbers","iconPosition":"left","label":"Volume","name":"volume","quickViewOrder":2,"quickViewVisible":true,"sortable":true,"type":"number","valuePresentation":{"type":"number"}}}},"description":"Etapa cumulativa do percurso de fornecedores por empresa, derivada de homologacao, disponibilidade operacional, contrato e pedidos persistidos. Nao materializa nem substitui policies dinamicas de selecao."},"VwSupplierProcurementFunnelFilterDTO":{"type":"object","properties":{"companyId":{"type":"integer","description":"Empresa compradora usada para isolar um funil cumulativo.","format":"int32","x-ui":{"controlType":"inlineEntityLookup","displayField":"label","editable":true,"endpoint":"/api/procurement/companies/option-sources/company/options/filter","helpText":"Seleciona a empresa compradora sem duplicar o cadastro corporativo.","icon":"business","iconPosition":"left","label":"Empresa","name":"companyId","order":"10","sortable":true,"type":"number","valueField":"id"}},"stageOrdersIn":{"type":"array","description":"Ordens canonicas das etapas que devem permanecer no recorte tabular.","items":{"type":"integer","description":"Ordens canonicas das etapas que devem permanecer no recorte tabular.","format":"int32","x-ui":{"controlType":"inlineMultiSelect","editable":true,"formHidden":true,"helpText":"Seleciona uma ou mais etapas canônicas do funil de compras.","icon":"filter_alt","iconPosition":"left","label":"Etapas","order":"20","sortable":true,"type":"number"}},"x-ui":{"controlType":"inlineMultiSelect","editable":true,"formHidden":true,"helpText":"Seleciona uma ou mais etapas canônicas do funil de compras.","icon":"filter_alt","iconPosition":"left","label":"Etapas","name":"stageOrdersIn","order":"20","sortable":true,"type":"number"}}},"description":"Recorte da visao cumulativa de procurement por empresa e etapa canonica."}}}}