{
  "openapi": "3.1.1",
  "info": {
    "title": "Sabio TI API",
    "description": "Gestão de TI, impressoras e fornecimento da revenda (Sabio TI e FloraPrint). Autenticação por sessão: cookie (painel web) ou `Authorization: Bearer sbs_…` (obtido em POST /api/v1/sessoes com modo \"token\").",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://api.sabioti.com.br/"
    }
  ],
  "paths": {
    "/api/v1/saude": {
      "get": {
        "tags": [
          "Operação"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Saude"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/sessoes": {
      "post": {
        "tags": [
          "Sessões"
        ],
        "summary": "Entrar. Modo \"navegador\" grava cookie; modo \"token\" devolve o token no corpo. Com a verificação em duas etapas ligada, a sessão volta aguardando o código (POST /sessoes/atual/segundo-fator).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PedidoDeEntrada"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/sessoes/atual/segundo-fator": {
      "post": {
        "tags": [
          "Sessões"
        ],
        "summary": "O código do autenticador (ou um de recuperação), depois da senha. Cinco erros encerram a sessão.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PedidoDeSegundoFator"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/sessoes/atual": {
      "get": {
        "tags": [
          "Sessões"
        ],
        "summary": "Quem está na sessão. Responde 200 com usuario nulo quando não há sessão.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessaoAtual"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Sessões"
        ],
        "summary": "Sair: encerra a sessão no servidor (vale para cookie e token).",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/sessoes/atual/orgaos": {
      "get": {
        "tags": [
          "Sessões"
        ],
        "summary": "Os órgãos em que esta pessoa pode trabalhar.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OrgaoResumo"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/sessoes/atual/orgao": {
      "put": {
        "tags": [
          "Sessões"
        ],
        "summary": "Troca o órgão ativo da sessão (só quem não pertence a um órgão).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PedidoDeTrocaDeOrgao"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SessaoAtual"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/orgaos": {
      "get": {
        "tags": [
          "Órgãos"
        ],
        "summary": "Órgãos visíveis a quem pergunta (o administrador global vê todos; o do tenant, os do tenant dele).",
        "parameters": [
          {
            "name": "ativos",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "busca",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "tenant",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "pagina",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "tamanho",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginaOfOrgaoResumo"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Órgãos"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FormularioDeOrgao"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/orgaos/{codigo}": {
      "get": {
        "tags": [
          "Órgãos"
        ],
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrgaoDetalhe"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Órgãos"
        ],
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FormularioDeOrgao"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrgaoDetalhe"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/orgaos/{codigo}/situacao": {
      "put": {
        "tags": [
          "Órgãos"
        ],
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PedidoDeSituacao"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrgaoDetalhe"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/orgaos/{codigo}/tenant": {
      "put": {
        "tags": [
          "Órgãos"
        ],
        "summary": "Passa o órgão para outro tenant (só o administrador global). Não move dado; muda quem o administra.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PedidoDeTenantDoOrgao"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrgaoDetalhe"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/orgaos/{codigo}/modulos": {
      "get": {
        "tags": [
          "Órgãos"
        ],
        "summary": "O catálogo, marcando o que este órgão contratou.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ModuloDoOrgao"
                  }
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Órgãos"
        ],
        "summary": "Define a lista inteira do que fica contratado (o administrador global; o do tenant só muda os do Sábio TI). Desligar não apaga dado.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PedidoDeModulos"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ModuloDoOrgao"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/orgaos/{codigo}/modulos/{modulo}": {
      "put": {
        "tags": [
          "Órgãos"
        ],
        "summary": "Liga UM módulo, sem mexer nos outros (o administrador global; o do tenant, só os do Sábio TI).",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "modulo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ModuloDoOrgao"
                  }
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Órgãos"
        ],
        "summary": "Desliga UM módulo, sem mexer nos outros. Desligar não apaga dado.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "modulo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ModuloDoOrgao"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/orgaos/{codigo}/brasao": {
      "get": {
        "tags": [
          "Órgãos"
        ],
        "summary": "O brasão do órgão (PNG, JPEG ou WebP). 404 quando não há.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      },
      "put": {
        "tags": [
          "Órgãos"
        ],
        "summary": "Envia (ou troca) o brasão: multipart, campo \"arquivo\". PNG, JPEG ou WebP, até 2 MB.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "arquivo": {
                    "$ref": "#/components/schemas/IFormFile"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrgaoDetalhe"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Órgãos"
        ],
        "summary": "Remove o brasão.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/OrgaoDetalhe"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/tenants": {
      "get": {
        "tags": [
          "Tenants"
        ],
        "summary": "Os tenants, com quantos clientes cada um tem (o administrador global vê todos; o do tenant, só o dele).",
        "parameters": [
          {
            "name": "ativos",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "busca",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pagina",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "tamanho",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginaOfTenantDetalhe"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Tenants"
        ],
        "summary": "Cadastra um tenant (só o administrador global).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FormularioDeTenant"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/tenants/{codigo}": {
      "get": {
        "tags": [
          "Tenants"
        ],
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantDetalhe"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Tenants"
        ],
        "summary": "Edita nome e CNPJ do tenant (só o administrador global).",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FormularioDeTenant"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantDetalhe"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/tenants/{codigo}/situacao": {
      "put": {
        "tags": [
          "Tenants"
        ],
        "summary": "Ativa ou desativa (só o administrador global). Desativado, as contas de administração do tenant saem na requisição seguinte.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PedidoDeSituacao"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantDetalhe"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/tenants/{codigo}/administradores": {
      "get": {
        "tags": [
          "Tenants"
        ],
        "summary": "Os administradores do tenant (só o administrador global). Senha e situação mudam por /usuarios/{codigo}/senha e /situacao.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AdministradorDoTenantResumo"
                  }
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Tenants"
        ],
        "summary": "Cria um administrador do tenant direto no tenant (só o administrador global; o papel do formulário é ignorado). É o caminho do PRIMEIRO administrador de um tenant novo, que ainda não tem cliente. Senha provisória; entra só no Sábio TI.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FormularioDeUsuario"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/usuarios": {
      "get": {
        "tags": [
          "Usuários"
        ],
        "summary": "As contas do órgão ativo da sessão (e, para o administrador global, os outros administradores).",
        "parameters": [
          {
            "name": "busca",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "papel",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ativos",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "pagina",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "tamanho",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginaOfUsuarioResumo"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Usuários"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FormularioDeUsuario"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/usuarios/papeis": {
      "get": {
        "tags": [
          "Usuários"
        ],
        "summary": "Os papéis que quem pergunta pode atribuir.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PapelAtribuivel"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/usuarios/paineis": {
      "get": {
        "tags": [
          "Usuários"
        ],
        "summary": "Os sistemas (painéis) que quem pergunta pode liberar para uma conta.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PainelAtribuivel"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/usuarios/{codigo}": {
      "get": {
        "tags": [
          "Usuários"
        ],
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UsuarioResumo"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Usuários"
        ],
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FormularioDeUsuario"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UsuarioResumo"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/usuarios/{codigo}/situacao": {
      "put": {
        "tags": [
          "Usuários"
        ],
        "summary": "Ativa ou desativa. Desativar encerra as sessões da conta; conta não se exclui.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PedidoDeSituacao"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/UsuarioResumo"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/usuarios/{codigo}/senha": {
      "put": {
        "tags": [
          "Usuários"
        ],
        "summary": "Redefine a senha de outra conta e encerra todas as sessões dela. Quem imprime (com pessoa ligada): só números, 6 a 8 (422 senha_nao_e_codigo / codigo_em_uso), e o PIN passa a ser ela.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PedidoDeSenha"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/perfil": {
      "get": {
        "tags": [
          "Perfil"
        ],
        "summary": "A própria conta: nome, e-mail e celular (só dígitos, DDD + número; nulo quando não cadastrado).",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PerfilDaConta"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Perfil"
        ],
        "summary": "Grava o próprio celular (com ou sem máscara; vazio apaga). É por ele que sai o código do WhatsApp.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FormularioDoPerfil"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PerfilDaConta"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/perfil/senha": {
      "put": {
        "tags": [
          "Perfil"
        ],
        "summary": "Troca a própria senha (exige a atual). Encerra as outras sessões e desmarca a senha provisória. Quem imprime (com pessoa ligada): só números, 6 a 8 (422 senha_nao_e_codigo / codigo_em_uso), e o PIN passa a ser ela.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PedidoDeTrocaDeSenha"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/ufs": {
      "get": {
        "tags": [
          "Base pública"
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/UfResposta"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/usuarios/{codigo}/pin-de-instalacao": {
      "delete": {
        "tags": [
          "Usuários"
        ],
        "summary": "Quem administra a conta apaga o PIN de instalação dela (o funcionário saiu). Sem PIN: 204 do mesmo jeito.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/modulos": {
      "get": {
        "tags": [
          "Módulos"
        ],
        "summary": "O catálogo: os módulos que um órgão pode contratar.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ModuloDoCatalogo"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/perfil/segundo-fator": {
      "get": {
        "tags": [
          "Perfil"
        ],
        "summary": "Se a verificação em duas etapas está ligada, desde quando, e quantos códigos de recuperação restam.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SegundoFatorDaConta"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Perfil"
        ],
        "summary": "Gera o segredo do autenticador (para o QR). Só liga depois de um código certo.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SegredoDoAutenticador"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/perfil/segundo-fator/ativacao": {
      "post": {
        "tags": [
          "Perfil"
        ],
        "summary": "Liga com o código do autenticador e devolve os códigos de recuperação (a única vez que aparecem). Encerra as outras sessões.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PedidoDeCodigo"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CodigosDeRecuperacaoGerados"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/perfil/segundo-fator/desativacao": {
      "post": {
        "tags": [
          "Perfil"
        ],
        "summary": "Desliga — exige o código atual do autenticador: quem pegou a sessão aberta não desliga a proteção.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PedidoDeCodigo"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/perfil/segundo-fator/codigos": {
      "post": {
        "tags": [
          "Perfil"
        ],
        "summary": "Códigos de recuperação novos (exige o código do autenticador); os anteriores não usados deixam de valer.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PedidoDeCodigo"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CodigosDeRecuperacaoGerados"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/senha/recuperacao": {
      "post": {
        "tags": [
          "Senha"
        ],
        "summary": "Esqueci minha senha: com e-mail, um link (30 minutos, uso único) para o endereço do painel; com celular, um código de 6 dígitos pelo WhatsApp (10 minutos, 5 tentativas), quando o canal está ligado. A resposta é sempre a mesma.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PedidoDeRecuperacaoDeSenha"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/senha/redefinicao": {
      "post": {
        "tags": [
          "Senha"
        ],
        "summary": "O link do e-mail ({token, senhaNova}) ou o código do WhatsApp ({celular, codigo, senhaNova, painel}): grava a senha nova e encerra todas as sessões da conta. O segundo fator continua. Quem imprime (com pessoa ligada): a senha é o código da impressora — só números, 6 a 8 (422 senha_nao_e_codigo / codigo_em_uso), e o PIN passa a ser ela.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PedidoDeRedefinicaoDeSenha"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/paineis": {
      "get": {
        "tags": [
          "Painéis"
        ],
        "summary": "Os painéis clientes da API (Sabio TI, FloraPrint) e o que cada um mostra no menu.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/PainelCliente"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/paineis/{codigo}": {
      "get": {
        "tags": [
          "Painéis"
        ],
        "summary": "Um painel: os módulos que ele põe no menu. O menu mostra o que o painel lista E o órgão contratou.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PainelCliente"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Painéis"
        ],
        "summary": "Define a lista INTEIRA de módulos que o painel mostra (só o administrador global). Não mexe em contrato.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PedidoDeMenuDoPainel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PainelCliente"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/municipios": {
      "get": {
        "tags": [
          "Base pública"
        ],
        "parameters": [
          {
            "name": "uf",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "busca",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "monitorados",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "pagina",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "tamanho",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginaOfMunicipioResposta"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/municipios/{ibge}": {
      "get": {
        "tags": [
          "Base pública"
        ],
        "parameters": [
          {
            "name": "ibge",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MunicipioResposta"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/perfil/pin-de-instalacao": {
      "get": {
        "tags": [
          "Perfil"
        ],
        "summary": "Se a conta tem o PIN de instalação e desde quando (o PIN nunca volta).",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PinDeInstalacao"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Perfil"
        ],
        "summary": "Define ou troca o próprio PIN (só números, 6 a 8; exige a senha atual). 409 pin_em_uso; 429 depois de 10 pedidos na hora.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PedidoDePinDeInstalacao"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PinDeInstalacao"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Perfil"
        ],
        "summary": "Remove o próprio PIN (a sessão aberta na página cai no próximo pedido).",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/ti/stenv/identidades": {
      "post": {
        "tags": [
          "Gestão de TI · Stenv"
        ],
        "summary": "Administrador global: importa do Stenv o SHA-256 do token de cada máquina e os códigos de instalação — a identidade continua a mesma na virada.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IdentidadesDoStenv"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/IdentidadesImportadas"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/stenv/parque": {
      "post": {
        "tags": [
          "Gestão de TI · Stenv"
        ],
        "summary": "Administrador global: traz o parque de impressoras do Stenv (setores, impressoras e leituras), para os clientes já ligados a um órgão. As do parque do Stenv chegam JÁ ADOTADAS; repetível; nunca sobrescreve o que se decidiu no Sábio.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ParqueDoStenv"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ParqueImportado"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/stenv/clientes": {
      "get": {
        "tags": [
          "Gestão de TI · Stenv"
        ],
        "summary": "Administrador global: os clientes do Stenv e o órgão de cada um aqui (o de-para), com exemplos de nomes de máquina.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClienteDoStenvNoDePara"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/stenv/clientes/{id}/orgao": {
      "put": {
        "tags": [
          "Gestão de TI · Stenv"
        ],
        "summary": "Administrador global: liga o cliente do Stenv a um órgão e leva para lá as máquinas dele que estavam sem órgão.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrgaoDoClienteEnviado"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DeParaDefinido"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/stenv/importar": {
      "post": {
        "tags": [
          "Gestão de TI · Stenv"
        ],
        "summary": "Administrador global: lê do Stenv a lista máquina → cliente e aplica o de-para já decidido.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImportacaoDoStenv"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/stenv/sem-orgao": {
      "get": {
        "tags": [
          "Gestão de TI · Stenv"
        ],
        "summary": "Administrador global: os computadores que pulsaram e ainda não têm órgão.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ComputadorSemOrgao"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/maquinas-aguardando": {
      "get": {
        "tags": [
          "Gestão de TI · Máquinas aguardando cliente"
        ],
        "summary": "Administrador: as máquinas recusadas por falta de código de instalação válido, com o órgão sugerido. situacao: abertas (padrão), adotadas, descartadas.",
        "parameters": [
          {
            "name": "situacao",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pagina",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "tamanho",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MaquinasAguardando"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/maquinas-aguardando/orgaos": {
      "get": {
        "tags": [
          "Gestão de TI · Máquinas aguardando cliente"
        ],
        "summary": "Administrador: os clientes em que se pode adotar (ativos, com algum módulo do Sábio TI, no alcance de quem pede).",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OrgaoDaAdocao"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/maquinas-aguardando/{id}/adotar": {
      "post": {
        "tags": [
          "Gestão de TI · Máquinas aguardando cliente"
        ],
        "summary": "Administrador: adota a máquina no cliente — ela nasce lá (ou volta, se já era dele) e o próximo pulso recebe o token (vale 7 dias, uma vez).",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AdocaoPedida"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MaquinaAguardandoNaLista"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/maquinas-aguardando/{id}/descartar": {
      "post": {
        "tags": [
          "Gestão de TI · Máquinas aguardando cliente"
        ],
        "summary": "Administrador: tira a máquina da lista (continua recusada).",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MaquinaAguardandoNaLista"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/fornecimento/clientes": {
      "get": {
        "tags": [
          "Fornecimento"
        ],
        "summary": "Quem compra do tenant (prefeituras, hospitais…), com quantas atas cada um tem.",
        "parameters": [
          {
            "name": "busca",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pagina",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "tamanho",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginaOfClienteDoFornecedorResumo"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Fornecimento"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClienteDoFornecedorEnviado"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/fornecimento/clientes/{codigo}": {
      "put": {
        "tags": [
          "Fornecimento"
        ],
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ClienteDoFornecedorEnviado"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ClienteDoFornecedorResumo"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/fornecimento/produtos": {
      "get": {
        "tags": [
          "Fornecimento"
        ],
        "summary": "O depósito: cada produto com o saldo e o que os pedidos em aberto ainda pedem dele.",
        "parameters": [
          {
            "name": "busca",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "abaixoDoMinimo",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "pagina",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "tamanho",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginaOfProdutoDoFornecedorResumo"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Fornecimento"
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProdutoDoFornecedorEnviado"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/fornecimento/produtos/{id}": {
      "put": {
        "tags": [
          "Fornecimento"
        ],
        "summary": "Edita o produto. O código não muda.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProdutoDoFornecedorEnviado"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProdutoDoFornecedorResumo"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/fornecimento/produtos/{id}/movimentos": {
      "get": {
        "tags": [
          "Fornecimento"
        ],
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "pagina",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "tamanho",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginaOfMovimentoDoFornecedorResumo"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Fornecimento"
        ],
        "summary": "Entrada ou saída avulsa (compra, devolução, perda, ajuste). Devolve o saldo novo; nada fica negativo.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MovimentoDoFornecedorEnviado"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnonymousTypeOfdecimal"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/fornecimento/atas": {
      "get": {
        "tags": [
          "Fornecimento"
        ],
        "summary": "As atas do tenant, com o registrado, o pedido e o entregue de cada uma.",
        "parameters": [
          {
            "name": "cliente",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "vigentes",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "busca",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pagina",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "tamanho",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginaOfAtaResumo"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Fornecimento"
        ],
        "summary": "Cadastra a ata digitada (outros formatos que não o termo do AMM Licita).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AtaEnviada"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/fornecimento/atas/termo/previa": {
      "post": {
        "tags": [
          "Fornecimento"
        ],
        "summary": "Lê o Termo de Homologação do AMM Licita (PDF, multipart \"arquivo\") e mostra o que seria importado, sem gravar. Sem IA: a soma confere com o Resumo do próprio termo.",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "arquivo": {
                    "$ref": "#/components/schemas/IFormFile"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PreviaDoTermo"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/fornecimento/atas/termo": {
      "post": {
        "tags": [
          "Fornecimento"
        ],
        "summary": "Importa as linhas do tenant (pelo CNPJ dele) como ata, de uma vez ou nada. Recusa se a soma não bater com o Resumo.",
        "parameters": [
          {
            "name": "cliente",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "vigenciaAte",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "arquivo": {
                    "$ref": "#/components/schemas/IFormFile"
                  }
                }
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/fornecimento/atas/{codigo}": {
      "get": {
        "tags": [
          "Fornecimento"
        ],
        "summary": "A ata com cada item: registrado, pedido, entregue, saldo a pedir e a entregar.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AtaDetalhe"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/fornecimento/atas/{codigo}/vigencia": {
      "put": {
        "tags": [
          "Fornecimento"
        ],
        "summary": "A vigência da ata (o termo não traz). Ata vencida não aceita pedido novo.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/VigenciaEnviada"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AtaDetalhe"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/fornecimento/atas/{codigo}/itens/{item}/produto": {
      "put": {
        "tags": [
          "Fornecimento"
        ],
        "summary": "Liga o item a um produto do depósito (ou cria pelo modelo do item).",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "item",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ProdutoDoItemEnviado"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AtaDetalhe"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/fornecimento/atas/{codigo}/produtos": {
      "post": {
        "tags": [
          "Fornecimento"
        ],
        "summary": "Liga todos os itens soltos pelo modelo: ao produto que já existe ou a um criado agora.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AtaDetalhe"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/fornecimento/atas/{codigo}/pedidos": {
      "post": {
        "tags": [
          "Fornecimento"
        ],
        "summary": "Registra o pedido do cliente (AF, empenho): só com a ata vigente e até o saldo a pedir de cada item.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PedidoEnviado"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/fornecimento/pedidos": {
      "get": {
        "tags": [
          "Fornecimento"
        ],
        "summary": "Os pedidos; emAberto=true dá só o que ainda falta entregar.",
        "parameters": [
          {
            "name": "ata",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "emAberto",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "pagina",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "tamanho",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginaOfPedidoResumo"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/fornecimento/pedidos/{codigo}": {
      "get": {
        "tags": [
          "Fornecimento"
        ],
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PedidoResumo"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/fornecimento/pedidos/{codigo}/cancelamento": {
      "post": {
        "tags": [
          "Fornecimento"
        ],
        "summary": "Cancela o pedido sem entrega: o saldo volta para a ata.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PedidoResumo"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/fornecimento/pedidos/{codigo}/entregas": {
      "post": {
        "tags": [
          "Fornecimento"
        ],
        "summary": "Registra a entrega (pode ser parcial): até o que o pedido deve; os itens ligados a produto saem do depósito.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/EntregaEnviada"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PedidoResumo"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/computadores": {
      "get": {
        "tags": [
          "Gestão de TI"
        ],
        "summary": "Os computadores do órgão, com os números dos chips (do órgão inteiro). Filtros: Todas, Online, Offline, SemSinal, Aguardando, NomeRepetido, PedemAtencao; a busca olha nome, sistema, IP, MAC, versão do agente e antivírus.",
        "parameters": [
          {
            "name": "busca",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filtro",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pagina",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "tamanho",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListaDeComputadores"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/computadores/{uid}": {
      "get": {
        "tags": [
          "Gestão de TI"
        ],
        "summary": "A ficha de um computador: identidade, sistema, hardware, proteção, Defender, atualizações, discos e placas de rede.",
        "parameters": [
          {
            "name": "uid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ComputadorDetalhe"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Gestão de TI e de Impressoras"
        ],
        "summary": "Técnico de TI: REMOVE o computador do painel e do banco (confirmacao = o nome do computador). Recusa (409) o que deu sinal há menos de 10 min. Saem ordens, inventário, filas, backup e anexos; a impressora fica no parque e as impressões nos relatórios. Reinstalar o agente traz a máquina de volta como NOVA.",
        "parameters": [
          {
            "name": "uid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "confirmacao",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/ti/computadores/{uid}/programas": {
      "get": {
        "tags": [
          "Gestão de TI"
        ],
        "summary": "Os programas instalados no computador (a lista completa do ciclo lento do agente), com busca por nome ou fabricante.",
        "parameters": [
          {
            "name": "uid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "busca",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pagina",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "tamanho",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProgramasDoComputador"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/computadores/{uid}/contas": {
      "get": {
        "tags": [
          "Gestão de TI"
        ],
        "summary": "As contas LOCAIS do Windows no computador, administradores primeiro. Nada aqui é senha.",
        "parameters": [
          {
            "name": "uid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pagina",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "tamanho",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContasDoComputador"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/computadores/{uid}/ordens": {
      "get": {
        "tags": [
          "Gestão de TI"
        ],
        "summary": "As ordens do computador, a mais recente primeiro: na fila, entregue, concluída, falhou ou expirada — com o resultado que a máquina devolveu.",
        "parameters": [
          {
            "name": "uid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pagina",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "tamanho",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginaOfOrdemDaFicha"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Gestão de TI"
        ],
        "summary": "Manda uma ordem ao computador (a máquina busca no próximo pulso, até 12 s). Lista fechada: sincronizar, reiniciar_agente, instalar_updates, antivirus_varredura {tipo}, antivirus_assinaturas, antivirus_modulo {modulo, ligar}, antivirus_ameaca.",
        "parameters": [
          {
            "name": "uid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/OrdemEnviada"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/ti/computadores/{uid}/aviso-offline": {
      "put": {
        "tags": [
          "Gestão de TI"
        ],
        "summary": "Liga ou desliga o \"avisar por e-mail quando ficar offline\" desta máquina (12 h de silêncio, só em horário comercial).",
        "parameters": [
          {
            "name": "uid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AvisoDeOfflineEnviado"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnonymousTypeOfboolean"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/configuracao": {
      "get": {
        "tags": [
          "Gestão de TI"
        ],
        "summary": "As configurações de TI do órgão: o endereço que recebe os avisos de computador offline.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConfiguracaoDoOrgaoDeTi"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Gestão de TI"
        ],
        "summary": "Define quem recebe os avisos (até 5 endereços, separados por vírgula; vazio = ninguém).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfiguracaoDeTiEnviada"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConfiguracaoDoOrgaoDeTi"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/configuracao/teste": {
      "post": {
        "tags": [
          "Gestão de TI"
        ],
        "summary": "Manda um e-mail de teste para o endereço dos avisos.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ResultadoDoTesteDeEmail"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/computadores/{uid}/impressoras": {
      "get": {
        "tags": [
          "Gestão de TI"
        ],
        "summary": "As impressoras instaladas no computador (as filas) e as da rede que dá para instalar nele — só as que a varredura viu nos últimos 3 dias.",
        "parameters": [
          {
            "name": "uid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImpressorasDoComputador"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/backup/politica": {
      "get": {
        "tags": [
          "Gestão de TI"
        ],
        "summary": "A política de backup do órgão: ligado, pastas, tipos de arquivo permitidos, tamanho máximo, dia e janela, espaço por computador. Sem política, devolve o padrão sugerido (desligado).",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PoliticaDeBackupDaTela"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Gestão de TI"
        ],
        "summary": "Técnico de TI: define a política de backup do órgão. Vale para as máquinas que falam direto com o Sábio TI, no próximo pulso.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PoliticaDeBackupEnviada"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PoliticaDeBackupDaTela"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/computadores/{uid}/backup": {
      "get": {
        "tags": [
          "Gestão de TI"
        ],
        "summary": "O backup do computador: situação (rodou ≠ deu certo), o que está no cofre e as últimas execuções.",
        "parameters": [
          {
            "name": "uid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BackupDoComputador"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/computadores/{uid}/backup/arquivos": {
      "get": {
        "tags": [
          "Gestão de TI"
        ],
        "summary": "Os arquivos do computador no cofre (paginado, com busca). O que a máquina apagou continua aqui: é o ponto de restauração.",
        "parameters": [
          {
            "name": "uid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "busca",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pagina",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "tamanho",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginaOfArquivoDoCofre"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/backup/arquivos/{id}/link": {
      "get": {
        "tags": [
          "Gestão de TI"
        ],
        "summary": "Técnico de TI: o link (15 min) para baixar um arquivo do backup. Fica registrado quem baixou.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LinkDoArquivo"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/computadores/{uid}/anexos": {
      "get": {
        "tags": [
          "Gestão de TI"
        ],
        "summary": "Os arquivos anexados ao computador (a foto da etiqueta, a nota fiscal, o print do erro), o mais novo primeiro.",
        "parameters": [
          {
            "name": "uid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pagina",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "tamanho",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginaOfAnexoDaFicha"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Gestão de TI"
        ],
        "summary": "Técnico de TI: anexa um arquivo ao computador (multipart: \"arquivo\" e \"descricao\" opcional), até 25 MB.",
        "parameters": [
          {
            "name": "uid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "allOf": [
                  {
                    "type": "object",
                    "properties": {
                      "arquivo": {
                        "$ref": "#/components/schemas/IFormFile"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "properties": {
                      "descricao": {
                        "type": "string"
                      }
                    }
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/ti/anexos/{id}/arquivo": {
      "get": {
        "tags": [
          "Gestão de TI"
        ],
        "summary": "Baixa o arquivo anexado (sempre como download).",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/ti/anexos/{id}": {
      "delete": {
        "tags": [
          "Gestão de TI"
        ],
        "summary": "Técnico de TI: remove o anexo (e o arquivo).",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/ti/computadores/{uid}/setor": {
      "put": {
        "tags": [
          "Gestão de TI"
        ],
        "summary": "Técnico de TI: põe o computador num setor (o mesmo cadastro das impressoras); nulo tira.",
        "parameters": [
          {
            "name": "uid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetorDoComputadorEnviado"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/ti/antivirus": {
      "get": {
        "tags": [
          "Gestão de TI"
        ],
        "summary": "A tela Antivírus: as camadas de defesa da frota (tempo real, comportamento, anti-ransomware, firewall, tamper) como as máquinas reportam, as ameaças, os pendrives e a tabela por máquina.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AntivirusDaFrota"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/impressoras": {
      "get": {
        "tags": [
          "Gestão de TI"
        ],
        "summary": "As impressoras do órgão (as que a varredura da rede achou): toner, contador e páginas do mês. Filtros: Todas, Vivas, Sumidas, TonerBaixo.",
        "parameters": [
          {
            "name": "busca",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filtro",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pagina",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "tamanho",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListaDeImpressoras"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/computadores.xlsx": {
      "get": {
        "tags": [
          "Gestão de TI"
        ],
        "summary": "Excel da lista no filtro inteiro (sem página), com filtro e cabeçalho congelado.",
        "parameters": [
          {
            "name": "busca",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "filtro",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/ti/relatorios/inventario": {
      "get": {
        "tags": [
          "Gestão de TI"
        ],
        "summary": "Relatório: o inventário dos computadores hoje (sistema, processador, memória, disco, fabricante, série, rede, agente), com as contagens por sistema e por setor.",
        "parameters": [
          {
            "name": "setor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InventarioDeComputadores"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/relatorios/antivirus": {
      "get": {
        "tags": [
          "Gestão de TI"
        ],
        "summary": "Relatório: a proteção de cada computador hoje e as ameaças DETECTADAS no período (padrão: o mês até hoje).",
        "parameters": [
          {
            "name": "de",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "ate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "setor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RelatorioDeAntivirus"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/relatorios/backup": {
      "get": {
        "tags": [
          "Gestão de TI"
        ],
        "summary": "Relatório: a situação do backup de cada computador e as execuções do período (completas, parciais, com falha, volume).",
        "parameters": [
          {
            "name": "de",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "ate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "setor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RelatorioDeBackup"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/relatorios/offline": {
      "get": {
        "tags": [
          "Gestão de TI"
        ],
        "summary": "Relatório: os computadores sem dar notícia há mais de N dias (0 = os que não estão online agora).",
        "parameters": [
          {
            "name": "dias",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "setor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RelatorioDeOffline"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "O parque: uma linha por APARELHO. Abas: parque (adotadas), descobertas (encontradas na rede), todas; filtros setor (id|sem), situacao, toner (10|25|50) e busca. As contagens das abas respeitam os filtros.",
        "parameters": [
          {
            "name": "aba",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "busca",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "setor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "situacao",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "toner",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "conexao",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pin",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pagina",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "tamanho",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListaDoParque"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/relatorio": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Todas as que casam aba e filtros, sem página (é o relatório impresso), até 2.000.",
        "parameters": [
          {
            "name": "aba",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "busca",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "setor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "situacao",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "toner",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "conexao",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ImpressoraDoParque"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/computadores": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Os computadores do órgão com agente, em lista simples: nome, sistema, rede /24, endereço, online ou desligado e o último contato. Online primeiro; a busca olha nome, rede e IP. No topo, o total de computadores e de redes distintas.",
        "parameters": [
          {
            "name": "busca",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pagina",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "tamanho",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ComputadoresDoParque"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/{id}": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "A página da impressora: as máquinas que a enxergam e as últimas 15 leituras do contador, com a origem de cada uma.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ImpressoraDetalhe"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/{id}/adotar": {
      "post": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico de TI: põe no parque (só as do parque contam e faturam), com o contador inicial opcional da folha de status.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AdocaoEnviada"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/impressoras/{id}/soltar": {
      "post": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico de TI: tira do parque — volta para Encontradas na rede, sem apagar nada.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/impressoras/{id}/identificacao": {
      "put": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico de TI: apelido, setor e observação.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/IdentificacaoDaImpressora"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/impressoras/{id}/arquivar": {
      "post": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico de TI: arquiva (sai do parque e das encontradas; se o aparelho reaparecer na rede, volta pela mesma linha).",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/impressoras/lote": {
      "post": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico de TI: situação, adotar, soltar ou arquivar várias de uma vez.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoteDeImpressoras"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoteFeito"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/varrer": {
      "post": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico de TI: pede a varredura da rede agora, à máquina eleita de cada rede (não empilha em 2 min).",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/VarreduraPedida"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/{id}/ler-contador": {
      "post": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico de TI: lê o contador AGORA, pela máquina ligada que enxerga a impressora (só do parque).",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeituraPedida"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/{id}/ler-contador/{comandoId}": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Como está a leitura pedida: esperando, pronto (com o contador) ou falhou.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "comandoId",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeituraDoContador"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/{id}/acesso-remoto": {
      "post": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico de TI: abre o painel da impressora pelo túnel do agente — sessão de 15 min, uma impressora, pelo computador que a enxerga. Abra a url numa aba nova.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcessoRemotoAberto"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/{id}/computadores": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "A engrenagem: os computadores do órgão, com a fila desta impressora em cada um (instalada ou não).",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ComputadorParaImpressora"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/{id}/configurar": {
      "post": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico de TI: instalar, remover ou testar esta impressora nos computadores marcados — uma ordem por máquina.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfigurarImpressoraEnviado"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/OrdemNaMaquina"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/ordens": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Como estão as ordens pedidas pela engrenagem (ids separados por vírgula).",
        "parameters": [
          {
            "name": "ids",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/SituacaoDaOrdem"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/{id}/pin": {
      "put": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico de TI: liga ou desliga o PIN nesta impressora (os computadores começam a segurar os documentos no próximo pulso).",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PinDaImpressoraEnviado"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/impressoras/nuvem": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "As impressões (nuvem e liberadas por PIN). Abas: andando, impressos, nao_sairam, todos.",
        "parameters": [
          {
            "name": "aba",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "busca",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pessoa",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            }
          },
          {
            "name": "pagina",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "tamanho",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListaDeTrabalhosDeImpressao"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Manda um documento (até 25 MB) para uma impressora do parque. PDF vai como veio; Word (doc, docx, odt, rtf), Excel (xls, xlsx, ods), PowerPoint (ppt, pptx, odp), texto (txt, xml, csv — impresso como texto) e imagem (jpg, jpeg, png — uma página por imagem) são CONVERTIDOS para PDF no servidor, antes do recorte. O formato sai dos bytes, nunca só do nome: 422 formato_nao_aceito (campo arquivo); 422 conversao_falhou / conversao_indisponivel; 503 conversao_ocupada (uma conversão por vez, espera de até 2 min) — o computador ligado que a enxerga imprime. O Técnico de TI manda em nome de qualquer pessoa (pessoaId); paginas (opcional, \"1-3, 5\"; vazio = todas) recorta o PDF no servidor, e a cota conta só as escolhidas × cópias; frenteEVerso (opcional, \"true\"/\"false\"; padrão false) pede os dois lados — a impressora que não faz imprime de um lado, e as páginas contadas não mudam; quem imprime (ou conta ligada a uma pessoa), só em nome próprio: a pessoa sai da conta e a cota dela pesa.",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "required": [
                  "impressoraId"
                ],
                "type": "object",
                "allOf": [
                  {
                    "type": "object",
                    "properties": {
                      "arquivo": {
                        "$ref": "#/components/schemas/IFormFile"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "properties": {
                      "impressoraId": {
                        "pattern": "^-?(?:0|[1-9]\\d*)$",
                        "type": [
                          "integer",
                          "string"
                        ],
                        "format": "int64"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "properties": {
                      "copias": {
                        "pattern": "^-?(?:0|[1-9]\\d*)$",
                        "type": [
                          "integer",
                          "string"
                        ],
                        "format": "int32"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "properties": {
                      "pessoaId": {
                        "pattern": "^-?(?:0|[1-9]\\d*)$",
                        "type": [
                          "integer",
                          "string"
                        ],
                        "format": "int64"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "properties": {
                      "paginas": {
                        "type": "string"
                      }
                    }
                  },
                  {
                    "type": "object",
                    "properties": {
                      "frenteEVerso": {
                        "type": "string"
                      }
                    }
                  }
                ]
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/impressoras/relatorios/quem-imprimiu": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Quem imprimiu no período, por pessoa (PIN e nuvem em nome dela), com as páginas e a cota.",
        "parameters": [
          {
            "name": "de",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "ate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/QuemImprimiu"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/relatorios/consumo": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Consumo do parque no período (padrão: o mês até hoje) contra o anterior (padrão: a janela de mesma duração logo antes): a leitura do fim menos a do início, na régua de cada impressora. Informativo — não é a fatura.",
        "parameters": [
          {
            "name": "de",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "ate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "antDe",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "antAte",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "setor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConsumoDoParque"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/relatorios/compras": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "O que entrou e saiu de suprimentos no período (padrão: o mês até hoje), por peça, com o gasto das compras que têm preço.",
        "parameters": [
          {
            "name": "de",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          },
          {
            "name": "ate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ComprasDeSuprimentos"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/ler-contadores": {
      "post": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico de TI: pede a leitura na hora de todas as do parque (ou das ids), cada uma pela máquina que a enxerga.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoteDeImpressoras"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LeiturasPedidas"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/pessoas": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "As pessoas que imprimem (servidores do órgão), com a cota do mês. Situação: ativas (padrão), inativas, todas.",
        "parameters": [
          {
            "name": "busca",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "situacao",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pagina",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "tamanho",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListaDePessoasQueImprimem"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico de TI: cadastra a pessoa e sorteia o PIN de 4 dígitos — ele aparece SÓ nesta resposta.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PessoaQueImprimeEnviada"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PinGerado"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/pessoas/{id}": {
      "put": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico de TI: edita nome, e-mail, setor e cota mensal.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PessoaQueImprimeEnviada"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/impressoras/pessoas/{id}/pin": {
      "post": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico de TI: sorteia um PIN novo (o antigo deixa de valer na hora) — aparece SÓ nesta resposta.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PinGerado"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/pessoas/{id}/ativar": {
      "post": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico de TI: reativa. Se o PIN antigo ficou com outra pessoa, sorteia outro e o devolve (200, só aqui); senão 204.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/impressoras/pessoas/{id}/conta": {
      "put": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico de TI: liga a conta (código, do mesmo órgão) à pessoa — ela passa a ver o próprio código, a cota e as impressões; nulo desliga.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContaDaPessoaEnviada"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/impressoras/pessoas/{id}/desativar": {
      "post": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico de TI: desativa (o PIN para de valer; o histórico fica).",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/impressoras/minha": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Meu painel: a pessoa que imprime ligada à sua conta — o código (PIN), a cota do mês, o usado e as últimas 10 impressões. 404 sem_pessoa_que_imprime se a conta não está ligada.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MinhaImpressao"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/minha/pin": {
      "post": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Meu código: sorteia um PIN novo para você (o antigo deixa de valer na hora). Quem imprime (o papel): 409 pin_segue_a_senha — o código é a senha (só números, 6 a 8), e muda quando a senha muda.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PinGerado"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/minha/nuvem": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "As SUAS impressões (nuvem e liberadas por PIN), paginadas. Abas: andando, impressos, nao_sairam, todos.",
        "parameters": [
          {
            "name": "aba",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "busca",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pagina",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "tamanho",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListaDeTrabalhosDeImpressao"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/minha/impressoras": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "As impressoras que recebem pela nuvem (do parque, de rede): id, nome, setor e modelo — para escolher onde imprimir.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ImpressoraDaNuvem"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/suprimentos": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Suprimentos: o que comprar (quantos e por quê) e as impressoras do parque sem peça cadastrada.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SuprimentosDoParque"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/suprimentos/pecas": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "O catálogo de peças (por modelo), com estoque, mínimo, quantas impressoras usam e quantas estão acabando.",
        "parameters": [
          {
            "name": "busca",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pagina",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "tamanho",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginaOfPecaDoCatalogo"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico de TI: cadastra uma peça (código do fabricante, modelo, tipo, preço, mínimo).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PecaEnviada"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/impressoras/suprimentos/pecas/{id}": {
      "put": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico de TI: edita a peça (o código não muda).",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PecaEnviada"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/impressoras/suprimentos/pecas/{id}/movimento": {
      "post": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico de TI: registra entrada ou saída (compra, troca, ajuste, devolução, perda — o sinal vem do motivo).",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MovimentoDePecaEnviado"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnonymousTypeOfint"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/suprimentos/pecas/{id}/movimentos": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "O histórico de entradas e saídas da peça.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "pagina",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "tamanho",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginaOfMovimentoDaPeca"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/setores": {
      "get": {
        "tags": [
          "Gestão de TI e de Impressoras"
        ],
        "summary": "Os setores do órgão (onde os equipamentos ficam — impressora e computador), com quantos equipamentos cada um tem.",
        "parameters": [
          {
            "name": "arquivados",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "pagina",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "name": "tamanho",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListaDeSetores"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Gestão de TI e de Impressoras"
        ],
        "summary": "Técnico de TI: cria um setor (maiúsculas não criam outro; o que já existe arquivado volta).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetorEnviado"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/ti/setores/{id}": {
      "put": {
        "tags": [
          "Gestão de TI e de Impressoras"
        ],
        "summary": "Técnico de TI: renomeia o setor (seguro: os equipamentos apontam para o cadastro).",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SetorEnviado"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/ti/setores/{id}/arquivar": {
      "post": {
        "tags": [
          "Gestão de TI e de Impressoras"
        ],
        "summary": "Técnico de TI: arquiva o setor (recusa se tem equipamento dentro; nada é apagado).",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/ti/setores/{id}/desarquivar": {
      "post": {
        "tags": [
          "Gestão de TI e de Impressoras"
        ],
        "summary": "Técnico de TI: devolve o setor arquivado.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/ti/computadores/{uid}/descricao": {
      "put": {
        "tags": [
          "Gestão de TI e de Impressoras"
        ],
        "summary": "Técnico de TI: a descrição curta do computador (até 60; vazio apaga). Vale até o Windows mandar uma diferente da que mandava — a ficha diz de onde veio.",
        "parameters": [
          {
            "name": "uid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DescricaoEnviada"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DescricaoDoComputador"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/filtro-de-rede": {
      "get": {
        "tags": [
          "Filtro de rede"
        ],
        "summary": "A tela: os grupos (Padrão, Trabalho, Leve) com as categorias, o YouTube, quantos sites e quantos computadores, os servidores de cada um, e o catálogo de categorias.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TelaDoFiltro"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/filtro-de-rede/categorias/{chave}/sites": {
      "get": {
        "tags": [
          "Filtro de rede"
        ],
        "summary": "Os sites de uma categoria (o que ela bloqueia).",
        "parameters": [
          {
            "name": "chave",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/filtro-de-rede/computadores": {
      "get": {
        "tags": [
          "Filtro de rede"
        ],
        "summary": "Os computadores do órgão com o grupo de cada um e em que pé está o filtro na máquina (esperando, aplicado, falhou, expirou), e por que não pode entrar, se for o caso.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ComputadorDoFiltro"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/filtro-de-rede/grupos/{id}/computadores": {
      "put": {
        "tags": [
          "Filtro de rede"
        ],
        "summary": "Técnico de TI: os computadores do grupo — a lista COMPLETA. Quem entra ganha a ordem de apontar o DNS para o servidor do grupo; quem sai volta ao DNS da rede.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ComputadoresDoGrupoEnviados"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/MudancaNoFiltro"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/filtro-de-rede/computadores/{uid}/reaplicar": {
      "post": {
        "tags": [
          "Filtro de rede"
        ],
        "summary": "Técnico de TI: manda de novo a ordem do grupo em que o computador já está (o filtro saiu, falhou ou venceu).",
        "parameters": [
          {
            "name": "uid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MudancaNoFiltro"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/filtro-de-rede/computadores/{uid}/soltar": {
      "post": {
        "tags": [
          "Filtro de rede"
        ],
        "summary": "Técnico de TI: tira um computador do filtro (volta ao DNS da rede).",
        "parameters": [
          {
            "name": "uid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MudancaNoFiltro"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AcessoRemotoAberto": {
        "required": [
          "url",
          "expiraEm",
          "minutos",
          "via"
        ],
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          },
          "expiraEm": {
            "type": "string",
            "format": "date-time"
          },
          "minutos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "via": {
            "type": "string"
          }
        }
      },
      "AdministradorDoTenantResumo": {
        "required": [
          "codigo",
          "nome",
          "email",
          "ativo",
          "senhaProvisoria",
          "ultimoAcessoEm"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string",
            "format": "uuid"
          },
          "nome": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "ativo": {
            "type": "boolean"
          },
          "senhaProvisoria": {
            "type": "boolean"
          },
          "ultimoAcessoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "AdocaoEnviada": {
        "required": [
          "contadorInicial"
        ],
        "type": "object",
        "properties": {
          "contadorInicial": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          }
        }
      },
      "AdocaoPedida": {
        "required": [
          "orgao"
        ],
        "type": "object",
        "properties": {
          "orgao": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          }
        }
      },
      "AmeacaDaFrota": {
        "required": [
          "uid",
          "hostname",
          "nome",
          "gravidade",
          "estado",
          "categoria",
          "detectadaEm"
        ],
        "type": "object",
        "properties": {
          "uid": {
            "type": "string"
          },
          "hostname": {
            "type": "string"
          },
          "nome": {
            "type": "string"
          },
          "gravidade": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "estado": {
            "type": [
              "null",
              "string"
            ]
          },
          "categoria": {
            "type": [
              "null",
              "string"
            ]
          },
          "detectadaEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "AmeacaDefender": {
        "required": [
          "nome"
        ],
        "type": "object",
        "properties": {
          "nome": {
            "type": "string"
          },
          "gravidade": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "estado": {
            "type": [
              "null",
              "string"
            ]
          },
          "recurso": {
            "type": [
              "null",
              "string"
            ]
          },
          "categoria": {
            "type": [
              "null",
              "string"
            ]
          },
          "detectadaEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "AnexoDaFicha": {
        "required": [
          "id",
          "nome",
          "descricao",
          "tipo",
          "tamanho",
          "enviadoEm",
          "enviadoPor"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "nome": {
            "type": "string"
          },
          "descricao": {
            "type": [
              "null",
              "string"
            ]
          },
          "tipo": {
            "type": "string"
          },
          "tamanho": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "enviadoEm": {
            "type": "string",
            "format": "date-time"
          },
          "enviadoPor": {
            "type": "string"
          }
        }
      },
      "AnonymousTypeOfboolean": {
        "required": [
          "avisarOffline"
        ],
        "type": "object",
        "properties": {
          "avisarOffline": {
            "type": "boolean"
          }
        }
      },
      "AnonymousTypeOfdecimal": {
        "required": [
          "saldo"
        ],
        "type": "object",
        "properties": {
          "saldo": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          }
        }
      },
      "AnonymousTypeOfint": {
        "required": [
          "saldo"
        ],
        "type": "object",
        "properties": {
          "saldo": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "AntivirusDaFrota": {
        "required": [
          "agora",
          "maquinas",
          "comDefender",
          "tempoRealLigadas",
          "tempoRealComDado",
          "ameacasAtivas",
          "pendrives",
          "nuncaVarreram",
          "camadas",
          "ameacas",
          "pendrivesNaFrota",
          "tabela"
        ],
        "type": "object",
        "properties": {
          "agora": {
            "type": "string",
            "format": "date-time"
          },
          "maquinas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "comDefender": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tempoRealLigadas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tempoRealComDado": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "ameacasAtivas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pendrives": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "nuncaVarreram": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "camadas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CamadaDaFrota"
            }
          },
          "ameacas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AmeacaDaFrota"
            }
          },
          "pendrivesNaFrota": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PendriveDaFrota"
            }
          },
          "tabela": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MaquinaNoAntivirus"
            }
          }
        }
      },
      "AntivirusDaMaquina": {
        "required": [
          "uid",
          "hostname",
          "setor",
          "comDefender",
          "tempoReal",
          "comportamento",
          "antiRansomware",
          "tamper",
          "firewall",
          "assinaturaIdadeDias",
          "ultimaVarredura",
          "ameacasAtivas",
          "ameacasNoPeriodo"
        ],
        "type": "object",
        "properties": {
          "uid": {
            "type": "string"
          },
          "hostname": {
            "type": "string"
          },
          "setor": {
            "type": [
              "null",
              "string"
            ]
          },
          "comDefender": {
            "type": "boolean"
          },
          "tempoReal": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "comportamento": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "antiRansomware": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "tamper": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "firewall": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "assinaturaIdadeDias": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "ultimaVarredura": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "ameacasAtivas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "ameacasNoPeriodo": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ArquivoDoCofre": {
        "required": [
          "id",
          "caminho",
          "tamanho",
          "modificadoEm",
          "guardadoEm",
          "vistoEm"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "caminho": {
            "type": "string"
          },
          "tamanho": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "modificadoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "guardadoEm": {
            "type": "string",
            "format": "date-time"
          },
          "vistoEm": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "AtaDetalhe": {
        "required": [
          "ata",
          "objeto",
          "itens"
        ],
        "type": "object",
        "properties": {
          "ata": {
            "$ref": "#/components/schemas/AtaResumo"
          },
          "objeto": {
            "type": [
              "null",
              "string"
            ]
          },
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ItemDaAtaResumo"
            }
          }
        }
      },
      "AtaEnviada": {
        "required": [
          "cliente",
          "pregao",
          "processo",
          "objeto",
          "homologadaEm",
          "vigenciaAte",
          "itens"
        ],
        "type": "object",
        "properties": {
          "cliente": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "pregao": {
            "type": [
              "null",
              "string"
            ]
          },
          "processo": {
            "type": [
              "null",
              "string"
            ]
          },
          "objeto": {
            "type": [
              "null",
              "string"
            ]
          },
          "homologadaEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "vigenciaAte": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "itens": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/ItemDaAtaEnviado"
            }
          }
        }
      },
      "AtaResumo": {
        "required": [
          "codigo",
          "cliente",
          "pregao",
          "processo",
          "homologadaEm",
          "vigenciaAte",
          "vencida",
          "itens",
          "registrado",
          "pedido",
          "entregue",
          "origem"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string",
            "format": "uuid"
          },
          "cliente": {
            "$ref": "#/components/schemas/ClienteDoFornecedorResumo"
          },
          "pregao": {
            "type": "string"
          },
          "processo": {
            "type": [
              "null",
              "string"
            ]
          },
          "homologadaEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "vigenciaAte": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "vencida": {
            "type": "boolean"
          },
          "itens": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "registrado": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "pedido": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "entregue": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "origem": {
            "type": "string"
          }
        }
      },
      "AtualizacoesDoComputador": {
        "required": [
          "pendentes",
          "seguranca",
          "criticas",
          "urgentes",
          "consultadoEm",
          "urgentesDesde"
        ],
        "type": "object",
        "properties": {
          "pendentes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "seguranca": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "criticas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "urgentes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "consultadoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "urgentesDesde": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "AvisoDeOfflineEnviado": {
        "required": [
          "ligado"
        ],
        "type": "object",
        "properties": {
          "ligado": {
            "type": "boolean"
          }
        }
      },
      "BackupDaMaquina": {
        "required": [
          "uid",
          "hostname",
          "setor",
          "situacao",
          "ultimoSucesso",
          "ultimaTentativa",
          "protegidos",
          "ocupado",
          "ok",
          "parciais",
          "falhas",
          "bytesNoPeriodo",
          "ultimoErro"
        ],
        "type": "object",
        "properties": {
          "uid": {
            "type": "string"
          },
          "hostname": {
            "type": "string"
          },
          "setor": {
            "type": [
              "null",
              "string"
            ]
          },
          "situacao": {
            "type": "string"
          },
          "ultimoSucesso": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "ultimaTentativa": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "protegidos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "ocupado": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "ok": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "parciais": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "falhas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "bytesNoPeriodo": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "ultimoErro": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "BackupDoComputador": {
        "required": [
          "agora",
          "politicaAtiva",
          "cofreLigado",
          "falaDireto",
          "pastas",
          "cota",
          "estado",
          "protegidos",
          "ocupado",
          "execucoes"
        ],
        "type": "object",
        "properties": {
          "agora": {
            "type": "string",
            "format": "date-time"
          },
          "politicaAtiva": {
            "type": "boolean"
          },
          "cofreLigado": {
            "type": "boolean"
          },
          "falaDireto": {
            "type": "boolean"
          },
          "pastas": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "cota": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "estado": {
            "$ref": "#/components/schemas/EstadoDoBackupDaFicha"
          },
          "protegidos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "ocupado": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "execucoes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ExecucaoDeBackupDaFicha"
            }
          }
        }
      },
      "CamadaDaFrota": {
        "required": [
          "chave",
          "nome",
          "ligadas",
          "comDado",
          "semDado",
          "fora"
        ],
        "type": "object",
        "properties": {
          "chave": {
            "type": "string"
          },
          "nome": {
            "type": "string"
          },
          "ligadas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "comDado": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "semDado": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "fora": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "CategoriaDoFiltro": {
        "required": [
          "chave",
          "nome",
          "descricao",
          "sites",
          "exemplos"
        ],
        "type": "object",
        "properties": {
          "chave": {
            "type": "string"
          },
          "nome": {
            "type": "string"
          },
          "descricao": {
            "type": "string"
          },
          "sites": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "exemplos": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "ClienteDoFornecedorEnviado": {
        "required": [
          "nome",
          "cnpj"
        ],
        "type": "object",
        "properties": {
          "nome": {
            "type": [
              "null",
              "string"
            ]
          },
          "cnpj": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ClienteDoFornecedorResumo": {
        "required": [
          "codigo",
          "nome",
          "cnpj",
          "atas"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string",
            "format": "uuid"
          },
          "nome": {
            "type": "string"
          },
          "cnpj": {
            "type": [
              "null",
              "string"
            ]
          },
          "atas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ClienteDoStenvNoDePara": {
        "required": [
          "stenvClienteId",
          "orgao",
          "maquinasNoStenv",
          "semOrgao",
          "exemplos"
        ],
        "type": "object",
        "properties": {
          "stenvClienteId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "orgao": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OrgaoDoDePara"
              }
            ]
          },
          "maquinasNoStenv": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "semOrgao": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "exemplos": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "revenda": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CodigoDoStenv": {
        "required": [
          "codigoHash",
          "clienteId",
          "ativo",
          "expiraEm"
        ],
        "type": "object",
        "properties": {
          "codigoHash": {
            "type": "string"
          },
          "clienteId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "ativo": {
            "type": "boolean"
          },
          "expiraEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "CodigosDeRecuperacaoGerados": {
        "required": [
          "codigos"
        ],
        "type": "object",
        "properties": {
          "codigos": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "CompraPorPeca": {
        "required": [
          "codigo",
          "nome",
          "compradas",
          "trocadas",
          "gasto"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string"
          },
          "nome": {
            "type": [
              "null",
              "string"
            ]
          },
          "compradas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "trocadas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "gasto": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          }
        }
      },
      "ComprasDeSuprimentos": {
        "required": [
          "de",
          "ate",
          "compradas",
          "trocadas",
          "gasto",
          "comprasSemPreco",
          "porPeca",
          "movimentos"
        ],
        "type": "object",
        "properties": {
          "de": {
            "type": "string",
            "format": "date"
          },
          "ate": {
            "type": "string",
            "format": "date"
          },
          "compradas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "trocadas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "gasto": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "comprasSemPreco": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "porPeca": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CompraPorPeca"
            }
          },
          "movimentos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MovimentoNoRelatorio"
            }
          }
        }
      },
      "ComputadorDaLista": {
        "required": [
          "uid",
          "hostname",
          "situacao",
          "so",
          "sistemaCurto",
          "versaoDoAgente",
          "ipLocal",
          "mac",
          "ramMb",
          "discoLivre",
          "protecao",
          "protecaoTexto",
          "updatesUrgentes",
          "nomeRepetido",
          "semSinal",
          "pedeAtencao",
          "anydeskId",
          "ultimoContatoEm",
          "semContatoHaSegundos"
        ],
        "type": "object",
        "properties": {
          "uid": {
            "type": "string"
          },
          "hostname": {
            "type": "string"
          },
          "situacao": {
            "type": "string"
          },
          "so": {
            "type": [
              "null",
              "string"
            ]
          },
          "sistemaCurto": {
            "type": [
              "null",
              "string"
            ]
          },
          "versaoDoAgente": {
            "type": [
              "null",
              "string"
            ]
          },
          "ipLocal": {
            "type": [
              "null",
              "string"
            ]
          },
          "mac": {
            "type": [
              "null",
              "string"
            ]
          },
          "ramMb": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "discoLivre": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "protecao": {
            "type": "string"
          },
          "protecaoTexto": {
            "type": "string"
          },
          "updatesUrgentes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "nomeRepetido": {
            "type": "boolean"
          },
          "semSinal": {
            "type": "boolean"
          },
          "pedeAtencao": {
            "type": "boolean"
          },
          "anydeskId": {
            "type": [
              "null",
              "string"
            ]
          },
          "ultimoContatoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "semContatoHaSegundos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "descricao": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ComputadorDetalhe": {
        "required": [
          "uid",
          "hostname",
          "situacao",
          "semContatoHaSegundos",
          "ultimoContatoEm",
          "primeiroContatoEm",
          "orgao",
          "nomeRepetido",
          "pedeAtencao",
          "ipLocal",
          "ipPublico",
          "mac",
          "versaoDoAgente",
          "usuarioWindows",
          "dominio",
          "fuso",
          "ultimoBoot",
          "anydeskId",
          "anydeskAlias",
          "sistema",
          "hardware",
          "protecao",
          "atualizacoes",
          "defender",
          "discos",
          "placas",
          "programas",
          "contasLocais",
          "administradoresAtivos",
          "diretoDesde",
          "avisarOffline"
        ],
        "type": "object",
        "properties": {
          "uid": {
            "type": "string"
          },
          "hostname": {
            "type": "string"
          },
          "situacao": {
            "type": "string"
          },
          "semContatoHaSegundos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "ultimoContatoEm": {
            "type": "string",
            "format": "date-time"
          },
          "primeiroContatoEm": {
            "type": "string",
            "format": "date-time"
          },
          "orgao": {
            "type": [
              "null",
              "string"
            ]
          },
          "nomeRepetido": {
            "type": "boolean"
          },
          "pedeAtencao": {
            "type": "boolean"
          },
          "ipLocal": {
            "type": [
              "null",
              "string"
            ]
          },
          "ipPublico": {
            "type": [
              "null",
              "string"
            ]
          },
          "mac": {
            "type": [
              "null",
              "string"
            ]
          },
          "versaoDoAgente": {
            "type": "string"
          },
          "usuarioWindows": {
            "type": [
              "null",
              "string"
            ]
          },
          "dominio": {
            "type": [
              "null",
              "string"
            ]
          },
          "fuso": {
            "type": [
              "null",
              "string"
            ]
          },
          "ultimoBoot": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "anydeskId": {
            "type": [
              "null",
              "string"
            ]
          },
          "anydeskAlias": {
            "type": [
              "null",
              "string"
            ]
          },
          "sistema": {
            "$ref": "#/components/schemas/SistemaDoComputador"
          },
          "hardware": {
            "$ref": "#/components/schemas/HardwareDoComputador"
          },
          "protecao": {
            "$ref": "#/components/schemas/ProtecaoDoComputador"
          },
          "atualizacoes": {
            "$ref": "#/components/schemas/AtualizacoesDoComputador"
          },
          "defender": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/Defender"
              }
            ]
          },
          "discos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DiscoDaFicha"
            }
          },
          "placas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PlacaDeRedeDaFicha"
            }
          },
          "programas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "contasLocais": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "administradoresAtivos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "diretoDesde": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "avisarOffline": {
            "type": "boolean"
          },
          "nomeNovo": {
            "type": [
              "null",
              "string"
            ]
          },
          "setorId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "setor": {
            "type": [
              "null",
              "string"
            ]
          },
          "descricao": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/DescricaoDoComputador"
              }
            ]
          },
          "instaladoPor": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ComputadorDoFiltro": {
        "required": [
          "uid",
          "hostname",
          "ip",
          "setor",
          "grupoId",
          "grupo",
          "online",
          "direto",
          "naFaixa",
          "estado",
          "mensagem",
          "pedidoEm",
          "podeEntrar"
        ],
        "type": "object",
        "properties": {
          "uid": {
            "type": "string"
          },
          "hostname": {
            "type": "string"
          },
          "ip": {
            "type": [
              "null",
              "string"
            ]
          },
          "setor": {
            "type": [
              "null",
              "string"
            ]
          },
          "grupoId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "grupo": {
            "type": [
              "null",
              "string"
            ]
          },
          "online": {
            "type": "boolean"
          },
          "direto": {
            "type": "boolean"
          },
          "naFaixa": {
            "type": "boolean"
          },
          "estado": {
            "type": "string"
          },
          "mensagem": {
            "type": [
              "null",
              "string"
            ]
          },
          "pedidoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "podeEntrar": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ComputadorDoParque": {
        "required": [
          "codigo",
          "nome",
          "sistema",
          "rede",
          "endereco",
          "situacao",
          "ultimoContato"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string"
          },
          "nome": {
            "type": "string"
          },
          "sistema": {
            "type": [
              "null",
              "string"
            ]
          },
          "rede": {
            "type": [
              "null",
              "string"
            ]
          },
          "endereco": {
            "type": [
              "null",
              "string"
            ]
          },
          "situacao": {
            "type": "string"
          },
          "ultimoContato": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "ComputadoresDoGrupoEnviados": {
        "required": [
          "uids"
        ],
        "type": "object",
        "properties": {
          "uids": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          }
        }
      },
      "ComputadoresDoParque": {
        "required": [
          "computadores",
          "redes",
          "pagina"
        ],
        "type": "object",
        "properties": {
          "computadores": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "redes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pagina": {
            "$ref": "#/components/schemas/PaginaOfComputadorDoParque"
          }
        }
      },
      "ComputadorNoInventario": {
        "required": [
          "uid",
          "hostname",
          "setor",
          "usuario",
          "sistema",
          "sistemaCompleto",
          "processador",
          "nucleos",
          "ramMb",
          "discoTotalBytes",
          "discoLivreBytes",
          "fabricante",
          "modelo",
          "serie",
          "ip",
          "mac",
          "versaoDoAgente",
          "online",
          "ultimoContatoEm",
          "falaDireto"
        ],
        "type": "object",
        "properties": {
          "uid": {
            "type": "string"
          },
          "hostname": {
            "type": "string"
          },
          "setor": {
            "type": [
              "null",
              "string"
            ]
          },
          "usuario": {
            "type": [
              "null",
              "string"
            ]
          },
          "sistema": {
            "type": [
              "null",
              "string"
            ]
          },
          "sistemaCompleto": {
            "type": [
              "null",
              "string"
            ]
          },
          "processador": {
            "type": [
              "null",
              "string"
            ]
          },
          "nucleos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "ramMb": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "discoTotalBytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "discoLivreBytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "fabricante": {
            "type": [
              "null",
              "string"
            ]
          },
          "modelo": {
            "type": [
              "null",
              "string"
            ]
          },
          "serie": {
            "type": [
              "null",
              "string"
            ]
          },
          "ip": {
            "type": [
              "null",
              "string"
            ]
          },
          "mac": {
            "type": [
              "null",
              "string"
            ]
          },
          "versaoDoAgente": {
            "type": "string"
          },
          "online": {
            "type": "boolean"
          },
          "ultimoContatoEm": {
            "type": "string",
            "format": "date-time"
          },
          "falaDireto": {
            "type": "boolean"
          }
        }
      },
      "ComputadorOffline": {
        "required": [
          "uid",
          "hostname",
          "setor",
          "usuario",
          "ip",
          "ultimoContatoEm",
          "semContatoHaSegundos",
          "avisoLigado",
          "falaDireto"
        ],
        "type": "object",
        "properties": {
          "uid": {
            "type": "string"
          },
          "hostname": {
            "type": "string"
          },
          "setor": {
            "type": [
              "null",
              "string"
            ]
          },
          "usuario": {
            "type": [
              "null",
              "string"
            ]
          },
          "ip": {
            "type": [
              "null",
              "string"
            ]
          },
          "ultimoContatoEm": {
            "type": "string",
            "format": "date-time"
          },
          "semContatoHaSegundos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "avisoLigado": {
            "type": "boolean"
          },
          "falaDireto": {
            "type": "boolean"
          }
        }
      },
      "ComputadorParaImpressora": {
        "required": [
          "uid",
          "hostname",
          "usuario",
          "ip",
          "online",
          "falaDireto",
          "fila",
          "driver"
        ],
        "type": "object",
        "properties": {
          "uid": {
            "type": "string"
          },
          "hostname": {
            "type": "string"
          },
          "usuario": {
            "type": [
              "null",
              "string"
            ]
          },
          "ip": {
            "type": [
              "null",
              "string"
            ]
          },
          "online": {
            "type": "boolean"
          },
          "falaDireto": {
            "type": "boolean"
          },
          "fila": {
            "type": [
              "null",
              "string"
            ]
          },
          "driver": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ComputadorSemOrgao": {
        "required": [
          "uid",
          "hostname",
          "stenvClienteId",
          "ipLocal",
          "ultimoContatoEm"
        ],
        "type": "object",
        "properties": {
          "uid": {
            "type": "string"
          },
          "hostname": {
            "type": "string"
          },
          "stenvClienteId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "ipLocal": {
            "type": [
              "null",
              "string"
            ]
          },
          "ultimoContatoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "revenda": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ConfiguracaoDeTiEnviada": {
        "required": [
          "emailAlertas"
        ],
        "type": "object",
        "properties": {
          "emailAlertas": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ConfiguracaoDoOrgaoDeTi": {
        "required": [
          "emailAlertas",
          "emailLigado",
          "atualizadoEm",
          "atualizadoPor"
        ],
        "type": "object",
        "properties": {
          "emailAlertas": {
            "type": [
              "null",
              "string"
            ]
          },
          "emailLigado": {
            "type": "boolean"
          },
          "atualizadoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "atualizadoPor": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ConfigurarImpressoraEnviado": {
        "required": [
          "maquinas",
          "acao",
          "padrao"
        ],
        "type": "object",
        "properties": {
          "maquinas": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "acao": {
            "type": [
              "null",
              "string"
            ]
          },
          "padrao": {
            "type": [
              "null",
              "boolean"
            ]
          }
        }
      },
      "ConsumoDaImpressora": {
        "required": [
          "id",
          "nome",
          "setorId",
          "setor",
          "conexao",
          "regua",
          "contadorInicio",
          "contadorFim",
          "consumo",
          "consumoAnterior",
          "variacaoPct",
          "situacao",
          "medidoDesde"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "nome": {
            "type": "string"
          },
          "setorId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "setor": {
            "type": [
              "null",
              "string"
            ]
          },
          "conexao": {
            "type": "string"
          },
          "regua": {
            "type": [
              "null",
              "string"
            ]
          },
          "contadorInicio": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "contadorFim": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "consumo": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "consumoAnterior": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "variacaoPct": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "situacao": {
            "type": "string"
          },
          "medidoDesde": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "fabricante": {
            "type": [
              "null",
              "string"
            ]
          },
          "modelo": {
            "type": [
              "null",
              "string"
            ]
          },
          "serie": {
            "type": [
              "null",
              "string"
            ]
          },
          "ip": {
            "type": [
              "null",
              "string"
            ]
          },
          "mac": {
            "type": [
              "null",
              "string"
            ]
          },
          "computador": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ConsumoDoParque": {
        "required": [
          "de",
          "ate",
          "antDe",
          "antAte",
          "total",
          "porSetor",
          "impressoras"
        ],
        "type": "object",
        "properties": {
          "de": {
            "type": "string",
            "format": "date"
          },
          "ate": {
            "type": "string",
            "format": "date"
          },
          "antDe": {
            "type": "string",
            "format": "date"
          },
          "antAte": {
            "type": "string",
            "format": "date"
          },
          "total": {
            "$ref": "#/components/schemas/TotalDoConsumo"
          },
          "porSetor": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConsumoDoSetor"
            }
          },
          "impressoras": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConsumoDaImpressora"
            }
          }
        }
      },
      "ConsumoDoSetor": {
        "required": [
          "setorId",
          "setor",
          "impressoras",
          "consumo",
          "consumoAnterior",
          "variacaoPct"
        ],
        "type": "object",
        "properties": {
          "setorId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "setor": {
            "type": [
              "null",
              "string"
            ]
          },
          "impressoras": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "consumo": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "consumoAnterior": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "variacaoPct": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          }
        }
      },
      "ContaDaPessoaEnviada": {
        "required": [
          "conta"
        ],
        "type": "object",
        "properties": {
          "conta": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          }
        }
      },
      "ContagemDeComputadores": {
        "required": [
          "total",
          "online",
          "offline",
          "semSinal",
          "aguardando",
          "nomeRepetido",
          "pedemAtencao"
        ],
        "type": "object",
        "properties": {
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "online": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "offline": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "semSinal": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "aguardando": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "nomeRepetido": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pedemAtencao": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ContagemDeImpressoras": {
        "required": [
          "total",
          "vivas",
          "sumidas",
          "tonerBaixo"
        ],
        "type": "object",
        "properties": {
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "vivas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "sumidas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tonerBaixo": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ContagemPorNome": {
        "required": [
          "nome",
          "quantidade"
        ],
        "type": "object",
        "properties": {
          "nome": {
            "type": "string"
          },
          "quantidade": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ContaLocalDaFicha": {
        "required": [
          "nome",
          "nomeCompleto",
          "descricao",
          "administrador",
          "ativa",
          "senhaNuncaExpira",
          "precisaTrocarSenha",
          "ultimoLogon",
          "senhaAlteradaEm",
          "embutida"
        ],
        "type": "object",
        "properties": {
          "nome": {
            "type": "string"
          },
          "nomeCompleto": {
            "type": [
              "null",
              "string"
            ]
          },
          "descricao": {
            "type": [
              "null",
              "string"
            ]
          },
          "administrador": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "ativa": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "senhaNuncaExpira": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "precisaTrocarSenha": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "ultimoLogon": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "senhaAlteradaEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "embutida": {
            "type": [
              "null",
              "boolean"
            ]
          }
        }
      },
      "ContasDoComputador": {
        "required": [
          "lidoEm",
          "pagina"
        ],
        "type": "object",
        "properties": {
          "lidoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "pagina": {
            "$ref": "#/components/schemas/PaginaOfContaLocalDaFicha"
          }
        }
      },
      "Defender": {
        "type": "object",
        "properties": {
          "presente": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "tamper": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "tempoReal": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "comportamento": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "acesso": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "protecaoRede": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "nuvem": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "varreRemoviveis": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "antiRansomware": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "pua": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "antivirusLigado": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "envioAmostra": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "assinaturaIdadeDias": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "assinaturasEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "versaoMotor": {
            "type": [
              "null",
              "string"
            ]
          },
          "versaoAssinatura": {
            "type": [
              "null",
              "string"
            ]
          },
          "ultimaVarreduraRapida": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "ultimaVarreduraCompleta": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "ameacas": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/AmeacaDefender"
            }
          },
          "removiveis": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/MidiaRemovivel"
            }
          }
        }
      },
      "DeParaDefinido": {
        "required": [
          "cliente",
          "movidos"
        ],
        "type": "object",
        "properties": {
          "cliente": {
            "$ref": "#/components/schemas/ClienteDoStenvNoDePara"
          },
          "movidos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "DescricaoDoComputador": {
        "required": [
          "texto",
          "origem",
          "em",
          "por"
        ],
        "type": "object",
        "properties": {
          "texto": {
            "type": [
              "null",
              "string"
            ]
          },
          "origem": {
            "type": [
              "null",
              "string"
            ]
          },
          "em": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "por": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "DescricaoEnviada": {
        "required": [
          "descricao"
        ],
        "type": "object",
        "properties": {
          "descricao": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "DiscoDaFicha": {
        "required": [
          "unidade",
          "totalBytes",
          "livreBytes",
          "bitlocker",
          "discoIndice",
          "discoTipo",
          "discoModelo",
          "discoSerie",
          "atualizadoEm"
        ],
        "type": "object",
        "properties": {
          "unidade": {
            "type": "string"
          },
          "totalBytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "livreBytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "bitlocker": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "discoIndice": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "discoTipo": {
            "type": [
              "null",
              "string"
            ]
          },
          "discoModelo": {
            "type": [
              "null",
              "string"
            ]
          },
          "discoSerie": {
            "type": [
              "null",
              "string"
            ]
          },
          "atualizadoEm": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "EntregaEnviada": {
        "required": [
          "notaFiscal",
          "entregueEm",
          "itens"
        ],
        "type": "object",
        "properties": {
          "notaFiscal": {
            "type": [
              "null",
              "string"
            ]
          },
          "entregueEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "itens": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/QuantidadeDoItem"
            }
          }
        }
      },
      "EntregaResumo": {
        "required": [
          "codigo",
          "notaFiscal",
          "entregueEm",
          "quem",
          "itens"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string",
            "format": "uuid"
          },
          "notaFiscal": {
            "type": [
              "null",
              "string"
            ]
          },
          "entregueEm": {
            "type": "string",
            "format": "date"
          },
          "quem": {
            "type": "string"
          },
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QuantidadeDoItem"
            }
          }
        }
      },
      "EstadoDoBackupDaFicha": {
        "required": [
          "ultimoRun",
          "ultimoSucesso",
          "ultimoResultado",
          "configurado",
          "pastas",
          "arquivos",
          "bytes",
          "relatadoEm"
        ],
        "type": "object",
        "properties": {
          "ultimoRun": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "ultimoSucesso": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "ultimoResultado": {
            "type": [
              "null",
              "string"
            ]
          },
          "configurado": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "pastas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "arquivos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "bytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "relatadoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "ExecucaoDeBackupDaFicha": {
        "required": [
          "id",
          "comecouEm",
          "terminouEm",
          "status",
          "enviados",
          "inalterados",
          "erros",
          "bytes",
          "erro"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "comecouEm": {
            "type": "string",
            "format": "date-time"
          },
          "terminouEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "status": {
            "type": [
              "null",
              "string"
            ]
          },
          "enviados": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "inalterados": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "erros": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "bytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "erro": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "FilaDaFicha": {
        "required": [
          "nome",
          "conexao",
          "ip",
          "porta",
          "driver",
          "padrao",
          "offline",
          "compartilhada",
          "gerivel"
        ],
        "type": "object",
        "properties": {
          "nome": {
            "type": "string"
          },
          "conexao": {
            "type": "string"
          },
          "ip": {
            "type": [
              "null",
              "string"
            ]
          },
          "porta": {
            "type": [
              "null",
              "string"
            ]
          },
          "driver": {
            "type": [
              "null",
              "string"
            ]
          },
          "padrao": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "offline": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "compartilhada": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "gerivel": {
            "type": "boolean"
          }
        }
      },
      "FormularioDeOrgao": {
        "required": [
          "tipo",
          "nome",
          "municipioIbge",
          "cnpj",
          "cnpjFms"
        ],
        "type": "object",
        "properties": {
          "tipo": {
            "type": [
              "null",
              "string"
            ]
          },
          "nome": {
            "type": [
              "null",
              "string"
            ]
          },
          "municipioIbge": {
            "type": [
              "null",
              "string"
            ]
          },
          "cnpj": {
            "type": [
              "null",
              "string"
            ]
          },
          "cnpjFms": {
            "type": [
              "null",
              "string"
            ]
          },
          "tenant": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "cpf": {
            "type": [
              "null",
              "string"
            ]
          },
          "plano": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "FormularioDeTenant": {
        "required": [
          "nome",
          "cnpj"
        ],
        "type": "object",
        "properties": {
          "nome": {
            "type": [
              "null",
              "string"
            ]
          },
          "cnpj": {
            "type": [
              "null",
              "string"
            ]
          },
          "administrador": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/FormularioDeUsuario"
              }
            ]
          }
        }
      },
      "FormularioDeUsuario": {
        "required": [
          "nome",
          "email",
          "papel",
          "senha"
        ],
        "type": "object",
        "properties": {
          "nome": {
            "type": [
              "null",
              "string"
            ]
          },
          "email": {
            "type": [
              "null",
              "string"
            ]
          },
          "papel": {
            "type": [
              "null",
              "string"
            ]
          },
          "senha": {
            "type": [
              "null",
              "string"
            ]
          },
          "paineis": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "celular": {
            "type": [
              "null",
              "string"
            ]
          },
          "microarea": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "FormularioDoPerfil": {
        "required": [
          "celular"
        ],
        "type": "object",
        "properties": {
          "celular": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "FornecedorDoTermo": {
        "required": [
          "nome",
          "cnpj",
          "estimado",
          "homologadoNoResumo",
          "somaDosItens",
          "confere",
          "itens"
        ],
        "type": "object",
        "properties": {
          "nome": {
            "type": "string"
          },
          "cnpj": {
            "type": "string"
          },
          "estimado": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "homologadoNoResumo": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "somaDosItens": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "confere": {
            "type": "boolean"
          },
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ItemDoTermo"
            }
          }
        }
      },
      "GrupoDoFiltro": {
        "required": [
          "id",
          "chave",
          "nome",
          "descricao",
          "deFabrica",
          "categorias",
          "nomesDasCategorias",
          "sitesAMais",
          "liberados",
          "youtube",
          "youtubeTexto",
          "sites",
          "computadores",
          "bloqueiaFerramentas",
          "servidores"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "chave": {
            "type": "string"
          },
          "nome": {
            "type": "string"
          },
          "descricao": {
            "type": "string"
          },
          "deFabrica": {
            "type": "boolean"
          },
          "categorias": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "nomesDasCategorias": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "sitesAMais": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "liberados": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "youtube": {
            "type": "string"
          },
          "youtubeTexto": {
            "type": "string"
          },
          "sites": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "computadores": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "bloqueiaFerramentas": {
            "type": "boolean"
          },
          "servidores": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ServidorDoFiltro"
            }
          }
        }
      },
      "HardwareDoComputador": {
        "required": [
          "ramMb",
          "nucleos",
          "processador",
          "placaDeVideo",
          "unidadeDoSistema",
          "fabricante",
          "modelo",
          "numeroDeSerie",
          "placaMae",
          "biosFabricante",
          "biosVersao",
          "biosData",
          "macs",
          "hardwareEm"
        ],
        "type": "object",
        "properties": {
          "ramMb": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "nucleos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "processador": {
            "type": [
              "null",
              "string"
            ]
          },
          "placaDeVideo": {
            "type": [
              "null",
              "string"
            ]
          },
          "unidadeDoSistema": {
            "type": [
              "null",
              "string"
            ]
          },
          "fabricante": {
            "type": [
              "null",
              "string"
            ]
          },
          "modelo": {
            "type": [
              "null",
              "string"
            ]
          },
          "numeroDeSerie": {
            "type": [
              "null",
              "string"
            ]
          },
          "placaMae": {
            "type": [
              "null",
              "string"
            ]
          },
          "biosFabricante": {
            "type": [
              "null",
              "string"
            ]
          },
          "biosVersao": {
            "type": [
              "null",
              "string"
            ]
          },
          "biosData": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "macs": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "hardwareEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "IdentidadeDeMaquinaDoStenv": {
        "required": [
          "machineUid",
          "hostname",
          "clienteId",
          "tokenHash"
        ],
        "type": "object",
        "properties": {
          "machineUid": {
            "type": "string"
          },
          "hostname": {
            "type": [
              "null",
              "string"
            ]
          },
          "clienteId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "tokenHash": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "IdentidadesDoStenv": {
        "required": [
          "maquinas",
          "codigos"
        ],
        "type": "object",
        "properties": {
          "maquinas": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IdentidadeDeMaquinaDoStenv"
            }
          },
          "codigos": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/CodigoDoStenv"
            }
          }
        }
      },
      "IdentidadesImportadas": {
        "required": [
          "maquinas",
          "tokensGravados",
          "codigos",
          "codigosSemOrgao"
        ],
        "type": "object",
        "properties": {
          "maquinas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tokensGravados": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "codigos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "codigosSemOrgao": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "IdentificacaoDaImpressora": {
        "required": [
          "apelido",
          "setorId",
          "observacao"
        ],
        "type": "object",
        "properties": {
          "apelido": {
            "type": [
              "null",
              "string"
            ]
          },
          "setorId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "observacao": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "IFormFile": {
        "type": "string",
        "format": "binary"
      },
      "IgnoradaDoStenv": {
        "required": [
          "id",
          "clienteId",
          "motivo"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "clienteId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "motivo": {
            "type": "string"
          }
        }
      },
      "ImportacaoDoStenv": {
        "required": [
          "maquinas",
          "clientesNovos",
          "movidos"
        ],
        "type": "object",
        "properties": {
          "maquinas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "clientesNovos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "movidos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "revendas": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/RevendaDoStenvLida"
            }
          }
        }
      },
      "ImpressoraDaNuvem": {
        "required": [
          "id",
          "nome",
          "setor",
          "modelo"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "nome": {
            "type": "string"
          },
          "setor": {
            "type": [
              "null",
              "string"
            ]
          },
          "modelo": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ImpressoraDetalhe": {
        "required": [
          "impressora",
          "prova",
          "primeiroVistoEm",
          "ultimoVistoEm",
          "monitoradaEm",
          "monitoradaPor",
          "vistaPor",
          "leituras",
          "paginasNoMes"
        ],
        "type": "object",
        "properties": {
          "impressora": {
            "$ref": "#/components/schemas/ImpressoraDoParque"
          },
          "prova": {
            "type": "string"
          },
          "primeiroVistoEm": {
            "type": "string",
            "format": "date-time"
          },
          "ultimoVistoEm": {
            "type": "string",
            "format": "date-time"
          },
          "monitoradaEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "monitoradaPor": {
            "type": [
              "null",
              "string"
            ]
          },
          "vistaPor": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MaquinaQueVe"
            }
          },
          "leituras": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LeituraDaFicha"
            }
          },
          "paginasNoMes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          }
        }
      },
      "ImpressoraDisponivel": {
        "required": [
          "id",
          "nome",
          "ip",
          "modelo",
          "fabricante",
          "ultimoVistoEm",
          "vistaHaSegundos"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "nome": {
            "type": "string"
          },
          "ip": {
            "type": "string"
          },
          "modelo": {
            "type": [
              "null",
              "string"
            ]
          },
          "fabricante": {
            "type": [
              "null",
              "string"
            ]
          },
          "ultimoVistoEm": {
            "type": "string",
            "format": "date-time"
          },
          "vistaHaSegundos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          }
        }
      },
      "ImpressoraDoOrgao": {
        "required": [
          "id",
          "nome",
          "ip",
          "mac",
          "serie",
          "modelo",
          "fabricante",
          "viva",
          "ultimoVistoEm",
          "vistaHaSegundos",
          "contador",
          "contadorEm",
          "contadorHaSegundos",
          "paginasNoMes",
          "menorToner",
          "tonerBaixo",
          "suprimentos",
          "computadores"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "nome": {
            "type": "string"
          },
          "ip": {
            "type": "string"
          },
          "mac": {
            "type": [
              "null",
              "string"
            ]
          },
          "serie": {
            "type": [
              "null",
              "string"
            ]
          },
          "modelo": {
            "type": [
              "null",
              "string"
            ]
          },
          "fabricante": {
            "type": [
              "null",
              "string"
            ]
          },
          "viva": {
            "type": "boolean"
          },
          "ultimoVistoEm": {
            "type": "string",
            "format": "date-time"
          },
          "vistaHaSegundos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "contador": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "contadorEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "contadorHaSegundos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "paginasNoMes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "menorToner": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tonerBaixo": {
            "type": "boolean"
          },
          "suprimentos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SuprimentoDaFicha"
            }
          },
          "computadores": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ImpressoraDoParque": {
        "required": [
          "id",
          "nome",
          "apelido",
          "nomeDoAparelho",
          "ip",
          "mac",
          "serie",
          "etiqueta",
          "fabricante",
          "modelo",
          "descricao",
          "observacao",
          "contador",
          "contadorEm",
          "contadorHaSegundos",
          "contadorRegua",
          "paginasNoMes",
          "setorId",
          "setor",
          "conexao",
          "monitorada",
          "situacao",
          "viva",
          "vistaHaSegundos",
          "maquinas",
          "ancora",
          "suprimentos",
          "menorToner",
          "computadores"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "nome": {
            "type": "string"
          },
          "apelido": {
            "type": [
              "null",
              "string"
            ]
          },
          "nomeDoAparelho": {
            "type": [
              "null",
              "string"
            ]
          },
          "ip": {
            "type": [
              "null",
              "string"
            ]
          },
          "mac": {
            "type": [
              "null",
              "string"
            ]
          },
          "serie": {
            "type": [
              "null",
              "string"
            ]
          },
          "etiqueta": {
            "type": [
              "null",
              "string"
            ]
          },
          "fabricante": {
            "type": [
              "null",
              "string"
            ]
          },
          "modelo": {
            "type": [
              "null",
              "string"
            ]
          },
          "descricao": {
            "type": [
              "null",
              "string"
            ]
          },
          "observacao": {
            "type": [
              "null",
              "string"
            ]
          },
          "contador": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "contadorEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "contadorHaSegundos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "contadorRegua": {
            "type": [
              "null",
              "string"
            ]
          },
          "paginasNoMes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "setorId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "setor": {
            "type": [
              "null",
              "string"
            ]
          },
          "conexao": {
            "type": "string"
          },
          "monitorada": {
            "type": "boolean"
          },
          "situacao": {
            "type": "string"
          },
          "viva": {
            "type": "boolean"
          },
          "vistaHaSegundos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "maquinas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "ancora": {
            "type": "string"
          },
          "suprimentos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SuprimentoDaFicha"
            }
          },
          "menorToner": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "computadores": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "fila": {
            "type": [
              "null",
              "string"
            ]
          },
          "computador": {
            "type": [
              "null",
              "string"
            ]
          },
          "computadorUid": {
            "type": [
              "null",
              "string"
            ]
          },
          "exigePin": {
            "type": "boolean",
            "default": false
          }
        }
      },
      "ImpressoraDoStenv": {
        "required": [
          "id",
          "clienteId",
          "serie",
          "etiqueta",
          "mac",
          "ip",
          "nomeDoAparelho",
          "apelido",
          "modelo",
          "fabricante",
          "descricao",
          "observacao",
          "situacao",
          "conexao",
          "fila",
          "machineUid",
          "setorId",
          "monitorada",
          "monitoradaEm",
          "arquivada",
          "contadorRegua",
          "contador",
          "contadorEm",
          "primeiroVistoEm",
          "ultimoVistoEm"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "clienteId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "serie": {
            "type": [
              "null",
              "string"
            ]
          },
          "etiqueta": {
            "type": [
              "null",
              "string"
            ]
          },
          "mac": {
            "type": [
              "null",
              "string"
            ]
          },
          "ip": {
            "type": [
              "null",
              "string"
            ]
          },
          "nomeDoAparelho": {
            "type": [
              "null",
              "string"
            ]
          },
          "apelido": {
            "type": [
              "null",
              "string"
            ]
          },
          "modelo": {
            "type": [
              "null",
              "string"
            ]
          },
          "fabricante": {
            "type": [
              "null",
              "string"
            ]
          },
          "descricao": {
            "type": [
              "null",
              "string"
            ]
          },
          "observacao": {
            "type": [
              "null",
              "string"
            ]
          },
          "situacao": {
            "type": [
              "null",
              "string"
            ]
          },
          "conexao": {
            "type": [
              "null",
              "string"
            ]
          },
          "fila": {
            "type": [
              "null",
              "string"
            ]
          },
          "machineUid": {
            "type": [
              "null",
              "string"
            ]
          },
          "setorId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "monitorada": {
            "type": "boolean"
          },
          "monitoradaEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "arquivada": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "contadorRegua": {
            "type": [
              "null",
              "string"
            ]
          },
          "contador": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "contadorEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "primeiroVistoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "ultimoVistoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "ImpressorasDoComputador": {
        "required": [
          "filas",
          "filasLidasEm",
          "disponiveis"
        ],
        "type": "object",
        "properties": {
          "filas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FilaDaFicha"
            }
          },
          "filasLidasEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "disponiveis": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ImpressoraDisponivel"
            }
          }
        }
      },
      "ImpressoraSemPeca": {
        "required": [
          "id",
          "nome",
          "modelo",
          "suprimentos"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "nome": {
            "type": "string"
          },
          "modelo": {
            "type": [
              "null",
              "string"
            ]
          },
          "suprimentos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SuprimentoDaFicha"
            }
          }
        }
      },
      "InventarioDeComputadores": {
        "required": [
          "agora",
          "total",
          "online",
          "memoriaTotalMb",
          "porSistema",
          "porSetor",
          "computadores"
        ],
        "type": "object",
        "properties": {
          "agora": {
            "type": "string",
            "format": "date-time"
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "online": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "memoriaTotalMb": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "porSistema": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContagemPorNome"
            }
          },
          "porSetor": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContagemPorNome"
            }
          },
          "computadores": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ComputadorNoInventario"
            }
          }
        }
      },
      "ItemDaAtaEnviado": {
        "required": [
          "lote",
          "descricao",
          "marca",
          "fabricante",
          "modelo",
          "unidade",
          "quantidade",
          "precoUnitario"
        ],
        "type": "object",
        "properties": {
          "lote": {
            "type": [
              "null",
              "string"
            ]
          },
          "descricao": {
            "type": [
              "null",
              "string"
            ]
          },
          "marca": {
            "type": [
              "null",
              "string"
            ]
          },
          "fabricante": {
            "type": [
              "null",
              "string"
            ]
          },
          "modelo": {
            "type": [
              "null",
              "string"
            ]
          },
          "unidade": {
            "type": [
              "null",
              "string"
            ]
          },
          "quantidade": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "precoUnitario": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          }
        }
      },
      "ItemDaAtaResumo": {
        "required": [
          "id",
          "ordem",
          "lote",
          "descricao",
          "marca",
          "fabricante",
          "modelo",
          "unidade",
          "quantidade",
          "precoUnitario",
          "valorTotal",
          "pedido",
          "entregue",
          "saldoAPedir",
          "aEntregar",
          "produtoId",
          "produtoCodigo"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "ordem": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "lote": {
            "type": [
              "null",
              "string"
            ]
          },
          "descricao": {
            "type": "string"
          },
          "marca": {
            "type": [
              "null",
              "string"
            ]
          },
          "fabricante": {
            "type": [
              "null",
              "string"
            ]
          },
          "modelo": {
            "type": [
              "null",
              "string"
            ]
          },
          "unidade": {
            "type": [
              "null",
              "string"
            ]
          },
          "quantidade": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "precoUnitario": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "valorTotal": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "pedido": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "entregue": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "saldoAPedir": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "aEntregar": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "produtoId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "produtoCodigo": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ItemDoPedidoResumo": {
        "required": [
          "id",
          "itemDaAta",
          "ordem",
          "descricao",
          "unidade",
          "quantidade",
          "entregue",
          "aEntregar",
          "precoUnitario"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "itemDaAta": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "ordem": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "descricao": {
            "type": "string"
          },
          "unidade": {
            "type": [
              "null",
              "string"
            ]
          },
          "quantidade": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "entregue": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "aEntregar": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "precoUnitario": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          }
        }
      },
      "ItemDoTermo": {
        "required": [
          "ordem",
          "lote",
          "descricao",
          "marca",
          "fabricante",
          "modelo",
          "unidade",
          "quantidade",
          "precoUnitario",
          "valorTotal",
          "textoCorrigido"
        ],
        "type": "object",
        "properties": {
          "ordem": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "lote": {
            "type": "string"
          },
          "descricao": {
            "type": "string"
          },
          "marca": {
            "type": [
              "null",
              "string"
            ]
          },
          "fabricante": {
            "type": [
              "null",
              "string"
            ]
          },
          "modelo": {
            "type": [
              "null",
              "string"
            ]
          },
          "unidade": {
            "type": [
              "null",
              "string"
            ]
          },
          "quantidade": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "precoUnitario": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "valorTotal": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "textoCorrigido": {
            "type": "boolean"
          }
        }
      },
      "ItemParaComprar": {
        "required": [
          "id",
          "codigo",
          "nome",
          "tipo",
          "motivo",
          "impressoras",
          "saldo",
          "sugestao",
          "preco"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "codigo": {
            "type": "string"
          },
          "nome": {
            "type": [
              "null",
              "string"
            ]
          },
          "tipo": {
            "type": [
              "null",
              "string"
            ]
          },
          "motivo": {
            "type": "string"
          },
          "impressoras": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "saldo": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "sugestao": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "preco": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          }
        }
      },
      "JsonElement": { },
      "LeituraDaFicha": {
        "required": [
          "contador",
          "origem",
          "lidoEm"
        ],
        "type": "object",
        "properties": {
          "contador": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "origem": {
            "type": "string"
          },
          "lidoEm": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "LeituraDoContador": {
        "required": [
          "estado",
          "contador",
          "contadorEm",
          "erro"
        ],
        "type": "object",
        "properties": {
          "estado": {
            "type": "string"
          },
          "contador": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "contadorEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "erro": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "LeituraDoStenv": {
        "required": [
          "impressoraId",
          "contador",
          "origem",
          "lidoEm"
        ],
        "type": "object",
        "properties": {
          "impressoraId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "contador": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "origem": {
            "type": [
              "null",
              "string"
            ]
          },
          "lidoEm": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "LeituraPedida": {
        "required": [
          "comandoId",
          "maquina"
        ],
        "type": "object",
        "properties": {
          "comandoId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "maquina": {
            "type": "string"
          }
        }
      },
      "LeiturasPedidas": {
        "required": [
          "pedidas",
          "semMaquina"
        ],
        "type": "object",
        "properties": {
          "pedidas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "semMaquina": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "LinkDoArquivo": {
        "required": [
          "url",
          "nome",
          "expiraEm"
        ],
        "type": "object",
        "properties": {
          "url": {
            "type": "string"
          },
          "nome": {
            "type": "string"
          },
          "expiraEm": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "ListaDeComputadores": {
        "required": [
          "agora",
          "contagem",
          "pagina"
        ],
        "type": "object",
        "properties": {
          "agora": {
            "type": "string",
            "format": "date-time"
          },
          "contagem": {
            "$ref": "#/components/schemas/ContagemDeComputadores"
          },
          "pagina": {
            "$ref": "#/components/schemas/PaginaOfComputadorDaLista"
          }
        }
      },
      "ListaDeImpressoras": {
        "required": [
          "agora",
          "contagem",
          "pagina"
        ],
        "type": "object",
        "properties": {
          "agora": {
            "type": "string",
            "format": "date-time"
          },
          "contagem": {
            "$ref": "#/components/schemas/ContagemDeImpressoras"
          },
          "pagina": {
            "$ref": "#/components/schemas/PaginaOfImpressoraDoOrgao"
          }
        }
      },
      "ListaDePessoasQueImprimem": {
        "required": [
          "ativas",
          "inativas",
          "pinLigado",
          "pagina"
        ],
        "type": "object",
        "properties": {
          "ativas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "inativas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pinLigado": {
            "type": "boolean"
          },
          "pagina": {
            "$ref": "#/components/schemas/PaginaOfPessoaQueImprimeDaLista"
          }
        }
      },
      "ListaDeSetores": {
        "required": [
          "ativos",
          "comEquipamento",
          "pagina"
        ],
        "type": "object",
        "properties": {
          "ativos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "comEquipamento": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pagina": {
            "$ref": "#/components/schemas/PaginaOfSetorDaLista"
          }
        }
      },
      "ListaDeTrabalhosDeImpressao": {
        "required": [
          "resumo",
          "pagina"
        ],
        "type": "object",
        "properties": {
          "resumo": {
            "$ref": "#/components/schemas/ResumoDosTrabalhos"
          },
          "pagina": {
            "$ref": "#/components/schemas/PaginaOfTrabalhoDeImpressaoDaLista"
          }
        }
      },
      "ListaDoParque": {
        "required": [
          "agora",
          "noParque",
          "naRede",
          "semSerie",
          "pagina"
        ],
        "type": "object",
        "properties": {
          "agora": {
            "type": "string",
            "format": "date-time"
          },
          "noParque": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "naRede": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "semSerie": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pagina": {
            "$ref": "#/components/schemas/PaginaOfImpressoraDoParque"
          }
        }
      },
      "LoteDeImpressoras": {
        "required": [
          "ids",
          "acao",
          "valor"
        ],
        "type": "object",
        "properties": {
          "ids": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            }
          },
          "acao": {
            "type": [
              "null",
              "string"
            ]
          },
          "valor": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "LoteFeito": {
        "required": [
          "afetadas"
        ],
        "type": "object",
        "properties": {
          "afetadas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "MaquinaAguardandoNaLista": {
        "required": [
          "id",
          "uid",
          "hostname",
          "versao",
          "mac",
          "ip",
          "motivo",
          "conhecida",
          "sugerido",
          "sugestaoPor",
          "stenvCliente",
          "primeiroEm",
          "ultimoEm",
          "vezes",
          "adotadaEm",
          "adotadaPor",
          "adotadaNo",
          "descartadaEm",
          "descartadaPor"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "uid": {
            "type": "string"
          },
          "hostname": {
            "type": "string"
          },
          "versao": {
            "type": [
              "null",
              "string"
            ]
          },
          "mac": {
            "type": [
              "null",
              "string"
            ]
          },
          "ip": {
            "type": [
              "null",
              "string"
            ]
          },
          "motivo": {
            "type": "string"
          },
          "conhecida": {
            "type": "boolean"
          },
          "sugerido": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OrgaoDaAdocao"
              }
            ]
          },
          "sugestaoPor": {
            "type": [
              "null",
              "string"
            ]
          },
          "stenvCliente": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "primeiroEm": {
            "type": "string",
            "format": "date-time"
          },
          "ultimoEm": {
            "type": "string",
            "format": "date-time"
          },
          "vezes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "adotadaEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "adotadaPor": {
            "type": [
              "null",
              "string"
            ]
          },
          "adotadaNo": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OrgaoDaAdocao"
              }
            ]
          },
          "descartadaEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "descartadaPor": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "MaquinaNoAntivirus": {
        "required": [
          "uid",
          "hostname",
          "online",
          "comDefender",
          "tempoReal",
          "assinaturasEm",
          "assinaturaIdadeDias",
          "ultimaVarredura",
          "ameacasAtivas",
          "tamper"
        ],
        "type": "object",
        "properties": {
          "uid": {
            "type": "string"
          },
          "hostname": {
            "type": "string"
          },
          "online": {
            "type": "boolean"
          },
          "comDefender": {
            "type": "boolean"
          },
          "tempoReal": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "assinaturasEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "assinaturaIdadeDias": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "ultimaVarredura": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "ameacasAtivas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tamper": {
            "type": [
              "null",
              "boolean"
            ]
          }
        }
      },
      "MaquinaQueVe": {
        "required": [
          "uid",
          "hostname",
          "ip",
          "online",
          "ultimoVistoEm"
        ],
        "type": "object",
        "properties": {
          "uid": {
            "type": "string"
          },
          "hostname": {
            "type": "string"
          },
          "ip": {
            "type": "string"
          },
          "online": {
            "type": "boolean"
          },
          "ultimoVistoEm": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "MaquinasAguardando": {
        "required": [
          "abertas",
          "adotadas",
          "descartadas",
          "pagina"
        ],
        "type": "object",
        "properties": {
          "abertas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "adotadas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "descartadas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pagina": {
            "$ref": "#/components/schemas/PaginaOfMaquinaAguardandoNaLista"
          }
        }
      },
      "MidiaRemovivel": {
        "type": "object",
        "properties": {
          "modelo": {
            "type": [
              "null",
              "string"
            ]
          },
          "serie": {
            "type": [
              "null",
              "string"
            ]
          },
          "bytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "letra": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "MinhaImpressao": {
        "required": [
          "nome",
          "email",
          "setor",
          "ativa",
          "pin",
          "pinTrocadoEm",
          "cotaMensal",
          "periodo",
          "periodoDe",
          "periodoAte",
          "usadoNoPeriodo",
          "saldo",
          "ultimasImpressoes"
        ],
        "type": "object",
        "properties": {
          "nome": {
            "type": "string"
          },
          "email": {
            "type": [
              "null",
              "string"
            ]
          },
          "setor": {
            "type": [
              "null",
              "string"
            ]
          },
          "ativa": {
            "type": "boolean"
          },
          "pin": {
            "type": [
              "null",
              "string"
            ]
          },
          "pinTrocadoEm": {
            "type": "string",
            "format": "date-time"
          },
          "cotaMensal": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "periodo": {
            "type": "string"
          },
          "periodoDe": {
            "type": "string",
            "format": "date"
          },
          "periodoAte": {
            "type": "string",
            "format": "date"
          },
          "usadoNoPeriodo": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "saldo": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "ultimasImpressoes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MinhaImpressaoRecente"
            }
          }
        }
      },
      "MinhaImpressaoRecente": {
        "required": [
          "id",
          "origem",
          "estado",
          "documento",
          "impressora",
          "paginas",
          "copias",
          "criadoEm",
          "impressoEm"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "origem": {
            "type": "string"
          },
          "estado": {
            "type": "string"
          },
          "documento": {
            "type": [
              "null",
              "string"
            ]
          },
          "impressora": {
            "type": "string"
          },
          "paginas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "copias": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "criadoEm": {
            "type": "string",
            "format": "date-time"
          },
          "impressoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "ModuloDoCatalogo": {
        "required": [
          "codigo",
          "nome",
          "resumo",
          "telas"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string"
          },
          "nome": {
            "type": "string"
          },
          "resumo": {
            "type": "string"
          },
          "telas": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "ModuloDoOrgao": {
        "required": [
          "codigo",
          "nome",
          "resumo",
          "telas",
          "contratado",
          "contratadoEm"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string"
          },
          "nome": {
            "type": "string"
          },
          "resumo": {
            "type": "string"
          },
          "telas": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "contratado": {
            "type": "boolean"
          },
          "contratadoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "ModuloDoPainel": {
        "required": [
          "codigo",
          "nome",
          "resumo",
          "noMenu"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string"
          },
          "nome": {
            "type": "string"
          },
          "resumo": {
            "type": "string"
          },
          "noMenu": {
            "type": "boolean"
          }
        }
      },
      "MovimentoDaPeca": {
        "required": [
          "id",
          "quantidade",
          "motivo",
          "impressora",
          "precoUnitario",
          "nota",
          "quem",
          "em"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "quantidade": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "motivo": {
            "type": "string"
          },
          "impressora": {
            "type": [
              "null",
              "string"
            ]
          },
          "precoUnitario": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "nota": {
            "type": [
              "null",
              "string"
            ]
          },
          "quem": {
            "type": "string"
          },
          "em": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "MovimentoDePecaEnviado": {
        "required": [
          "quantidade",
          "motivo",
          "precoUnitario",
          "nota",
          "impressoraId"
        ],
        "type": "object",
        "properties": {
          "quantidade": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "motivo": {
            "type": [
              "null",
              "string"
            ]
          },
          "precoUnitario": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "nota": {
            "type": [
              "null",
              "string"
            ]
          },
          "impressoraId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          }
        }
      },
      "MovimentoDoFornecedorEnviado": {
        "required": [
          "motivo",
          "quantidade",
          "precoUnitario",
          "nota"
        ],
        "type": "object",
        "properties": {
          "motivo": {
            "type": [
              "null",
              "string"
            ]
          },
          "quantidade": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "precoUnitario": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "nota": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "MovimentoDoFornecedorResumo": {
        "required": [
          "id",
          "quantidade",
          "motivo",
          "precoUnitario",
          "nota",
          "cliente",
          "pedido",
          "quem",
          "em"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "quantidade": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "motivo": {
            "type": "string"
          },
          "precoUnitario": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "nota": {
            "type": [
              "null",
              "string"
            ]
          },
          "cliente": {
            "type": [
              "null",
              "string"
            ]
          },
          "pedido": {
            "type": [
              "null",
              "string"
            ]
          },
          "quem": {
            "type": "string"
          },
          "em": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "MovimentoNoRelatorio": {
        "required": [
          "em",
          "codigo",
          "motivo",
          "quantidade",
          "precoUnitario",
          "impressora",
          "nota",
          "quem"
        ],
        "type": "object",
        "properties": {
          "em": {
            "type": "string",
            "format": "date-time"
          },
          "codigo": {
            "type": "string"
          },
          "motivo": {
            "type": "string"
          },
          "quantidade": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "precoUnitario": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "impressora": {
            "type": [
              "null",
              "string"
            ]
          },
          "nota": {
            "type": [
              "null",
              "string"
            ]
          },
          "quem": {
            "type": "string"
          }
        }
      },
      "MudancaNoFiltro": {
        "required": [
          "uid",
          "hostname",
          "mudou",
          "ordemId",
          "erro"
        ],
        "type": "object",
        "properties": {
          "uid": {
            "type": "string"
          },
          "hostname": {
            "type": "string"
          },
          "mudou": {
            "type": "string"
          },
          "ordemId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "erro": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "MunicipioResposta": {
        "required": [
          "ibge",
          "nome",
          "uf",
          "ufNome",
          "microrregiao",
          "mesorregiao",
          "regiaoImediata",
          "regiaoIntermediaria",
          "monitorado"
        ],
        "type": "object",
        "properties": {
          "ibge": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "nome": {
            "type": "string"
          },
          "uf": {
            "type": "string"
          },
          "ufNome": {
            "type": "string"
          },
          "microrregiao": {
            "type": [
              "null",
              "string"
            ]
          },
          "mesorregiao": {
            "type": [
              "null",
              "string"
            ]
          },
          "regiaoImediata": {
            "type": [
              "null",
              "string"
            ]
          },
          "regiaoIntermediaria": {
            "type": [
              "null",
              "string"
            ]
          },
          "monitorado": {
            "type": "boolean"
          }
        }
      },
      "OrdemDaFicha": {
        "required": [
          "id",
          "tipo",
          "rotulo",
          "payload",
          "pedidoPor",
          "criadoEm",
          "entregueEm",
          "concluidoEm",
          "situacao",
          "ok",
          "mensagem"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "tipo": {
            "type": "string"
          },
          "rotulo": {
            "type": "string"
          },
          "payload": {
            "type": [
              "null",
              "string"
            ]
          },
          "pedidoPor": {
            "type": "string"
          },
          "criadoEm": {
            "type": "string",
            "format": "date-time"
          },
          "entregueEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "concluidoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "situacao": {
            "type": "string"
          },
          "ok": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "mensagem": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "OrdemEnviada": {
        "required": [
          "tipo",
          "payload"
        ],
        "type": "object",
        "properties": {
          "tipo": {
            "type": [
              "null",
              "string"
            ]
          },
          "payload": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/JsonElement"
              }
            ]
          }
        }
      },
      "OrdemNaMaquina": {
        "required": [
          "uid",
          "hostname",
          "ordemId",
          "erro"
        ],
        "type": "object",
        "properties": {
          "uid": {
            "type": "string"
          },
          "hostname": {
            "type": "string"
          },
          "ordemId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "erro": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "OrgaoDaAdocao": {
        "required": [
          "codigo",
          "nome",
          "municipio",
          "uf"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string",
            "format": "uuid"
          },
          "nome": {
            "type": "string"
          },
          "municipio": {
            "type": [
              "null",
              "string"
            ]
          },
          "uf": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "OrgaoDetalhe": {
        "required": [
          "codigo",
          "nome",
          "tipo",
          "municipioIbge",
          "municipio",
          "uf",
          "cnpj",
          "cnpjFms",
          "ativo",
          "criadoEm",
          "brasaoAtualizadoEm"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string",
            "format": "uuid"
          },
          "nome": {
            "type": "string"
          },
          "tipo": {
            "type": "string"
          },
          "municipioIbge": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "municipio": {
            "type": "string"
          },
          "uf": {
            "type": "string"
          },
          "cnpj": {
            "type": [
              "null",
              "string"
            ]
          },
          "cnpjFms": {
            "type": [
              "null",
              "string"
            ]
          },
          "ativo": {
            "type": "boolean"
          },
          "criadoEm": {
            "type": "string",
            "format": "date-time"
          },
          "brasaoAtualizadoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "tenant": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TenantResumo"
              }
            ]
          },
          "cpf": {
            "type": [
              "null",
              "string"
            ]
          },
          "plano": {
            "type": [
              "null",
              "string"
            ]
          },
          "logoPrefeituraAtualizadoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "logoSaudeAtualizadoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "OrgaoDoClienteEnviado": {
        "required": [
          "orgao"
        ],
        "type": "object",
        "properties": {
          "orgao": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          }
        }
      },
      "OrgaoDoDePara": {
        "required": [
          "codigo",
          "nome"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string",
            "format": "uuid"
          },
          "nome": {
            "type": "string"
          }
        }
      },
      "OrgaoResumo": {
        "required": [
          "codigo",
          "nome",
          "tipo",
          "municipioIbge",
          "municipio",
          "uf",
          "ativo",
          "brasaoAtualizadoEm",
          "modulos"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string",
            "format": "uuid"
          },
          "nome": {
            "type": "string"
          },
          "tipo": {
            "type": "string"
          },
          "municipioIbge": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "municipio": {
            "type": "string"
          },
          "uf": {
            "type": "string"
          },
          "ativo": {
            "type": "boolean"
          },
          "brasaoAtualizadoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "modulos": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "tenant": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TenantResumo"
              }
            ]
          },
          "logoPrefeituraAtualizadoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "logoSaudeAtualizadoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "subdominio": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PaginaOfAnexoDaFicha": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AnexoDaFicha"
            }
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "numero": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tamanho": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PaginaOfArquivoDoCofre": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ArquivoDoCofre"
            }
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "numero": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tamanho": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PaginaOfAtaResumo": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AtaResumo"
            }
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "numero": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tamanho": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PaginaOfClienteDoFornecedorResumo": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClienteDoFornecedorResumo"
            }
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "numero": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tamanho": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PaginaOfComputadorDaLista": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ComputadorDaLista"
            }
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "numero": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tamanho": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PaginaOfComputadorDoParque": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ComputadorDoParque"
            }
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "numero": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tamanho": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PaginaOfContaLocalDaFicha": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContaLocalDaFicha"
            }
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "numero": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tamanho": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PaginaOfImpressoraDoOrgao": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ImpressoraDoOrgao"
            }
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "numero": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tamanho": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PaginaOfImpressoraDoParque": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ImpressoraDoParque"
            }
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "numero": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tamanho": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PaginaOfMaquinaAguardandoNaLista": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MaquinaAguardandoNaLista"
            }
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "numero": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tamanho": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PaginaOfMovimentoDaPeca": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MovimentoDaPeca"
            }
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "numero": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tamanho": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PaginaOfMovimentoDoFornecedorResumo": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MovimentoDoFornecedorResumo"
            }
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "numero": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tamanho": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PaginaOfMunicipioResposta": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MunicipioResposta"
            }
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "numero": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tamanho": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PaginaOfOrdemDaFicha": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrdemDaFicha"
            }
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "numero": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tamanho": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PaginaOfOrgaoResumo": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/OrgaoResumo"
            }
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "numero": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tamanho": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PaginaOfPecaDoCatalogo": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PecaDoCatalogo"
            }
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "numero": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tamanho": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PaginaOfPedidoResumo": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PedidoResumo"
            }
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "numero": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tamanho": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PaginaOfPessoaQueImprimeDaLista": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PessoaQueImprimeDaLista"
            }
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "numero": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tamanho": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PaginaOfProdutoDoFornecedorResumo": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProdutoDoFornecedorResumo"
            }
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "numero": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tamanho": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PaginaOfProgramaDaFicha": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ProgramaDaFicha"
            }
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "numero": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tamanho": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PaginaOfSetorDaLista": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SetorDaLista"
            }
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "numero": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tamanho": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PaginaOfTenantDetalhe": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TenantDetalhe"
            }
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "numero": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tamanho": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PaginaOfTrabalhoDeImpressaoDaLista": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TrabalhoDeImpressaoDaLista"
            }
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "numero": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tamanho": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PaginaOfUsuarioResumo": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UsuarioResumo"
            }
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "numero": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tamanho": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PainelAtribuivel": {
        "required": [
          "codigo",
          "nome"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string"
          },
          "nome": {
            "type": "string"
          }
        }
      },
      "PainelCliente": {
        "required": [
          "codigo",
          "nome",
          "modulos",
          "atualizadoEm"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string"
          },
          "nome": {
            "type": "string"
          },
          "modulos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModuloDoPainel"
            }
          },
          "atualizadoEm": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "PapelAtribuivel": {
        "required": [
          "valor",
          "rotulo",
          "descricao",
          "pertenceAOrgao"
        ],
        "type": "object",
        "properties": {
          "valor": {
            "type": "string"
          },
          "rotulo": {
            "type": "string"
          },
          "descricao": {
            "type": "string"
          },
          "pertenceAOrgao": {
            "type": "boolean"
          }
        }
      },
      "ParqueDoStenv": {
        "required": [
          "setores",
          "impressoras",
          "leituras"
        ],
        "type": "object",
        "properties": {
          "setores": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/SetorDoStenv"
            }
          },
          "impressoras": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/ImpressoraDoStenv"
            }
          },
          "leituras": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/LeituraDoStenv"
            }
          }
        }
      },
      "ParqueImportado": {
        "required": [
          "impressoras",
          "criadas",
          "casadas",
          "adotadas",
          "semOrgao",
          "ignoradas",
          "setores",
          "leituras",
          "leiturasRepetidas"
        ],
        "type": "object",
        "properties": {
          "impressoras": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "criadas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "casadas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "adotadas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "semOrgao": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "ignoradas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "setores": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "leituras": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "leiturasRepetidas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "detalhes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/IgnoradaDoStenv"
            }
          }
        }
      },
      "PecaDoCatalogo": {
        "required": [
          "id",
          "codigo",
          "nome",
          "tipo",
          "modelo",
          "preco",
          "estoqueMinimo",
          "notas",
          "saldo",
          "abaixoDoMinimo",
          "acabando",
          "impressoras"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "codigo": {
            "type": "string"
          },
          "nome": {
            "type": [
              "null",
              "string"
            ]
          },
          "tipo": {
            "type": [
              "null",
              "string"
            ]
          },
          "modelo": {
            "type": "string"
          },
          "preco": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "estoqueMinimo": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "notas": {
            "type": [
              "null",
              "string"
            ]
          },
          "saldo": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "abaixoDoMinimo": {
            "type": "boolean"
          },
          "acabando": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "impressoras": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "PecaEnviada": {
        "required": [
          "codigo",
          "nome",
          "tipo",
          "modelo",
          "preco",
          "estoqueMinimo",
          "notas"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": [
              "null",
              "string"
            ]
          },
          "nome": {
            "type": [
              "null",
              "string"
            ]
          },
          "tipo": {
            "type": [
              "null",
              "string"
            ]
          },
          "modelo": {
            "type": [
              "null",
              "string"
            ]
          },
          "preco": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "estoqueMinimo": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "notas": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PedidoDeCodigo": {
        "required": [
          "codigo"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PedidoDeEntrada": {
        "required": [
          "email",
          "senha",
          "modo",
          "cliente"
        ],
        "type": "object",
        "properties": {
          "email": {
            "type": [
              "null",
              "string"
            ]
          },
          "senha": {
            "type": [
              "null",
              "string"
            ]
          },
          "modo": {
            "type": [
              "null",
              "string"
            ]
          },
          "cliente": {
            "type": [
              "null",
              "string"
            ]
          },
          "painel": {
            "type": [
              "null",
              "string"
            ]
          },
          "subdominio": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PedidoDeMenuDoPainel": {
        "required": [
          "modulos"
        ],
        "type": "object",
        "properties": {
          "modulos": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          }
        }
      },
      "PedidoDeModulos": {
        "required": [
          "modulos"
        ],
        "type": "object",
        "properties": {
          "modulos": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          }
        }
      },
      "PedidoDePinDeInstalacao": {
        "required": [
          "pin",
          "senhaAtual"
        ],
        "type": "object",
        "properties": {
          "pin": {
            "type": [
              "null",
              "string"
            ]
          },
          "senhaAtual": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PedidoDeRecuperacaoDeSenha": {
        "required": [
          "email",
          "painel"
        ],
        "type": "object",
        "properties": {
          "email": {
            "type": [
              "null",
              "string"
            ]
          },
          "painel": {
            "type": [
              "null",
              "string"
            ]
          },
          "celular": {
            "type": [
              "null",
              "string"
            ]
          },
          "canal": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PedidoDeRedefinicaoDeSenha": {
        "required": [
          "token",
          "senhaNova"
        ],
        "type": "object",
        "properties": {
          "token": {
            "type": [
              "null",
              "string"
            ]
          },
          "senhaNova": {
            "type": [
              "null",
              "string"
            ]
          },
          "celular": {
            "type": [
              "null",
              "string"
            ]
          },
          "codigo": {
            "type": [
              "null",
              "string"
            ]
          },
          "painel": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PedidoDeSegundoFator": {
        "required": [
          "codigo"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PedidoDeSenha": {
        "required": [
          "senha"
        ],
        "type": "object",
        "properties": {
          "senha": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PedidoDeSituacao": {
        "required": [
          "ativo"
        ],
        "type": "object",
        "properties": {
          "ativo": {
            "type": "boolean"
          }
        }
      },
      "PedidoDeTenantDoOrgao": {
        "required": [
          "tenant"
        ],
        "type": "object",
        "properties": {
          "tenant": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          }
        }
      },
      "PedidoDeTrocaDeOrgao": {
        "required": [
          "codigo"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          }
        }
      },
      "PedidoDeTrocaDeSenha": {
        "required": [
          "senhaAtual",
          "senhaNova"
        ],
        "type": "object",
        "properties": {
          "senhaAtual": {
            "type": [
              "null",
              "string"
            ]
          },
          "senhaNova": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PedidoEnviado": {
        "required": [
          "numero",
          "recebidoEm",
          "nota",
          "itens"
        ],
        "type": "object",
        "properties": {
          "numero": {
            "type": [
              "null",
              "string"
            ]
          },
          "recebidoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "nota": {
            "type": [
              "null",
              "string"
            ]
          },
          "itens": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/QuantidadeDoItem"
            }
          }
        }
      },
      "PedidoResumo": {
        "required": [
          "codigo",
          "ata",
          "cliente",
          "numero",
          "recebidoEm",
          "nota",
          "cancelado",
          "entregue",
          "valor",
          "itens",
          "entregas"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string",
            "format": "uuid"
          },
          "ata": {
            "type": "string",
            "format": "uuid"
          },
          "cliente": {
            "type": "string"
          },
          "numero": {
            "type": "string"
          },
          "recebidoEm": {
            "type": "string",
            "format": "date"
          },
          "nota": {
            "type": [
              "null",
              "string"
            ]
          },
          "cancelado": {
            "type": "boolean"
          },
          "entregue": {
            "type": "boolean"
          },
          "valor": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ItemDoPedidoResumo"
            }
          },
          "entregas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/EntregaResumo"
            }
          }
        }
      },
      "PendriveDaFrota": {
        "required": [
          "uid",
          "hostname",
          "modelo",
          "serie",
          "bytes",
          "letra"
        ],
        "type": "object",
        "properties": {
          "uid": {
            "type": "string"
          },
          "hostname": {
            "type": "string"
          },
          "modelo": {
            "type": [
              "null",
              "string"
            ]
          },
          "serie": {
            "type": [
              "null",
              "string"
            ]
          },
          "bytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "letra": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PerfilDaConta": {
        "required": [
          "codigo",
          "nome",
          "email",
          "celular"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string",
            "format": "uuid"
          },
          "nome": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "celular": {
            "type": [
              "null",
              "string"
            ]
          },
          "foto": {
            "type": [
              "null",
              "string"
            ]
          },
          "capa": {
            "type": [
              "null",
              "string"
            ]
          },
          "capaPosicaoY": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PessoaQueImprimeDaLista": {
        "required": [
          "id",
          "nome",
          "email",
          "setorId",
          "setor",
          "cotaMensal",
          "usadoNoMes",
          "ativa",
          "criadaEm",
          "pinTrocadoEm"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "nome": {
            "type": "string"
          },
          "email": {
            "type": [
              "null",
              "string"
            ]
          },
          "setorId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "setor": {
            "type": [
              "null",
              "string"
            ]
          },
          "cotaMensal": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "usadoNoMes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "ativa": {
            "type": "boolean"
          },
          "criadaEm": {
            "type": "string",
            "format": "date-time"
          },
          "pinTrocadoEm": {
            "type": "string",
            "format": "date-time"
          },
          "conta": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PessoaQueImprimeEnviada": {
        "required": [
          "nome",
          "email",
          "setorId",
          "cotaMensal"
        ],
        "type": "object",
        "properties": {
          "nome": {
            "type": [
              "null",
              "string"
            ]
          },
          "email": {
            "type": [
              "null",
              "string"
            ]
          },
          "setorId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "cotaMensal": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PinDaImpressoraEnviado": {
        "required": [
          "exige"
        ],
        "type": "object",
        "properties": {
          "exige": {
            "type": "boolean"
          }
        }
      },
      "PinDeInstalacao": {
        "required": [
          "podeTer",
          "tem",
          "desdeEm",
          "ultimoUsoEm",
          "pagina"
        ],
        "type": "object",
        "properties": {
          "podeTer": {
            "type": "boolean"
          },
          "tem": {
            "type": "boolean"
          },
          "desdeEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "ultimoUsoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "pagina": {
            "type": "string"
          }
        }
      },
      "PinGerado": {
        "required": [
          "id",
          "nome",
          "pin"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "nome": {
            "type": "string"
          },
          "pin": {
            "type": "string"
          }
        }
      },
      "PlacaDeRedeDaFicha": {
        "required": [
          "nome",
          "descricao",
          "mac",
          "tipo",
          "ativa",
          "dhcp",
          "ipv4",
          "ipv6",
          "gateway",
          "dns",
          "dnsAutomatico",
          "atualizadoEm"
        ],
        "type": "object",
        "properties": {
          "nome": {
            "type": "string"
          },
          "descricao": {
            "type": [
              "null",
              "string"
            ]
          },
          "mac": {
            "type": [
              "null",
              "string"
            ]
          },
          "tipo": {
            "type": [
              "null",
              "string"
            ]
          },
          "ativa": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "dhcp": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "ipv4": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "ipv6": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "gateway": {
            "type": [
              "null",
              "string"
            ]
          },
          "dns": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "dnsAutomatico": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "atualizadoEm": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "PoliticaDeBackupDaTela": {
        "required": [
          "existe",
          "ativo",
          "pastas",
          "extensoes",
          "maxArquivoBytes",
          "diaSemana",
          "horaInicio",
          "horaFim",
          "cotaPorComputadorBytes",
          "cofreLigado",
          "atualizadoEm",
          "atualizadoPor"
        ],
        "type": "object",
        "properties": {
          "existe": {
            "type": "boolean"
          },
          "ativo": {
            "type": "boolean"
          },
          "pastas": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "extensoes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "maxArquivoBytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "diaSemana": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "horaInicio": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "horaFim": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "cotaPorComputadorBytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "cofreLigado": {
            "type": "boolean"
          },
          "atualizadoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "atualizadoPor": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PoliticaDeBackupEnviada": {
        "required": [
          "ativo",
          "pastas",
          "extensoes",
          "maxArquivoBytes",
          "diaSemana",
          "horaInicio",
          "horaFim",
          "cotaPorComputadorBytes"
        ],
        "type": "object",
        "properties": {
          "ativo": {
            "type": "boolean"
          },
          "pastas": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "extensoes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "maxArquivoBytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "diaSemana": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "horaInicio": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "horaFim": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "cotaPorComputadorBytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          }
        }
      },
      "PreviaDoTermo": {
        "required": [
          "termo",
          "fornecedor",
          "clienteExistente",
          "ataExistente",
          "podeImportar",
          "motivo"
        ],
        "type": "object",
        "properties": {
          "termo": {
            "$ref": "#/components/schemas/TermoDeHomologacao"
          },
          "fornecedor": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/FornecedorDoTermo"
              }
            ]
          },
          "clienteExistente": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ClienteDoFornecedorResumo"
              }
            ]
          },
          "ataExistente": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "podeImportar": {
            "type": "boolean"
          },
          "motivo": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ProdutoDoFornecedorEnviado": {
        "required": [
          "codigo",
          "descricao",
          "unidade",
          "marca",
          "fabricante",
          "estoqueMinimo"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": [
              "null",
              "string"
            ]
          },
          "descricao": {
            "type": [
              "null",
              "string"
            ]
          },
          "unidade": {
            "type": [
              "null",
              "string"
            ]
          },
          "marca": {
            "type": [
              "null",
              "string"
            ]
          },
          "fabricante": {
            "type": [
              "null",
              "string"
            ]
          },
          "estoqueMinimo": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          }
        }
      },
      "ProdutoDoFornecedorResumo": {
        "required": [
          "id",
          "codigo",
          "descricao",
          "unidade",
          "marca",
          "fabricante",
          "estoqueMinimo",
          "saldo",
          "aEntregar",
          "abaixoDoMinimo"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "codigo": {
            "type": "string"
          },
          "descricao": {
            "type": "string"
          },
          "unidade": {
            "type": [
              "null",
              "string"
            ]
          },
          "marca": {
            "type": [
              "null",
              "string"
            ]
          },
          "fabricante": {
            "type": [
              "null",
              "string"
            ]
          },
          "estoqueMinimo": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "saldo": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "aEntregar": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "abaixoDoMinimo": {
            "type": "boolean"
          }
        }
      },
      "ProdutoDoItemEnviado": {
        "required": [
          "produto",
          "criar"
        ],
        "type": "object",
        "properties": {
          "produto": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "criar": {
            "type": "boolean"
          }
        }
      },
      "ProgramaDaFicha": {
        "required": [
          "nome",
          "versao",
          "fabricante"
        ],
        "type": "object",
        "properties": {
          "nome": {
            "type": "string"
          },
          "versao": {
            "type": [
              "null",
              "string"
            ]
          },
          "fabricante": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ProgramasDoComputador": {
        "required": [
          "vistoEm",
          "total",
          "pagina"
        ],
        "type": "object",
        "properties": {
          "vistoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pagina": {
            "$ref": "#/components/schemas/PaginaOfProgramaDaFicha"
          }
        }
      },
      "ProtecaoDoComputador": {
        "required": [
          "nivel",
          "texto",
          "antivirusNome",
          "antivirusAtivo",
          "antivirusAtualizado",
          "firewallDominio",
          "firewallPrivado",
          "firewallPublico"
        ],
        "type": "object",
        "properties": {
          "nivel": {
            "type": "string"
          },
          "texto": {
            "type": "string"
          },
          "antivirusNome": {
            "type": [
              "null",
              "string"
            ]
          },
          "antivirusAtivo": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "antivirusAtualizado": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "firewallDominio": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "firewallPrivado": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "firewallPublico": {
            "type": [
              "null",
              "boolean"
            ]
          }
        }
      },
      "QuantidadeDoItem": {
        "required": [
          "item",
          "quantidade"
        ],
        "type": "object",
        "properties": {
          "item": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "quantidade": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          }
        }
      },
      "QuemImprimiu": {
        "required": [
          "de",
          "ate",
          "totalPaginas",
          "totalImpressoes",
          "totalPessoas",
          "pessoas"
        ],
        "type": "object",
        "properties": {
          "de": {
            "type": "string",
            "format": "date"
          },
          "ate": {
            "type": "string",
            "format": "date"
          },
          "totalPaginas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalImpressoes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "totalPessoas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pessoas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/QuemImprimiuPessoa"
            }
          }
        }
      },
      "QuemImprimiuPessoa": {
        "required": [
          "pessoaId",
          "nome",
          "setor",
          "impressoes",
          "paginas",
          "semContagem",
          "cotaMensal"
        ],
        "type": "object",
        "properties": {
          "pessoaId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "nome": {
            "type": "string"
          },
          "setor": {
            "type": [
              "null",
              "string"
            ]
          },
          "impressoes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "paginas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "semContagem": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "cotaMensal": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "RelatorioDeAntivirus": {
        "required": [
          "de",
          "ate",
          "maquinas",
          "comDefender",
          "tempoRealLigado",
          "tamperLigado",
          "assinaturaVelha",
          "nuncaVarreram",
          "ameacasNoPeriodo",
          "ameacasAtivas",
          "maquinas_",
          "ameacas"
        ],
        "type": "object",
        "properties": {
          "de": {
            "type": "string",
            "format": "date"
          },
          "ate": {
            "type": "string",
            "format": "date"
          },
          "maquinas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "comDefender": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tempoRealLigado": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tamperLigado": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "assinaturaVelha": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "nuncaVarreram": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "ameacasNoPeriodo": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "ameacasAtivas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "maquinas_": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AntivirusDaMaquina"
            }
          },
          "ameacas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AmeacaDaFrota"
            }
          }
        }
      },
      "RelatorioDeBackup": {
        "required": [
          "de",
          "ate",
          "politicaAtiva",
          "maquinas",
          "protegidas",
          "comProblema",
          "nuncaConseguiram",
          "execucoesOk",
          "execucoesParciais",
          "execucoesComFalha",
          "bytesEnviados",
          "ocupadoNoCofre",
          "computadores"
        ],
        "type": "object",
        "properties": {
          "de": {
            "type": "string",
            "format": "date"
          },
          "ate": {
            "type": "string",
            "format": "date"
          },
          "politicaAtiva": {
            "type": "boolean"
          },
          "maquinas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "protegidas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "comProblema": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "nuncaConseguiram": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "execucoesOk": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "execucoesParciais": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "execucoesComFalha": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "bytesEnviados": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "ocupadoNoCofre": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "computadores": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/BackupDaMaquina"
            }
          }
        }
      },
      "RelatorioDeOffline": {
        "required": [
          "agora",
          "dias",
          "total",
          "offline",
          "computadores"
        ],
        "type": "object",
        "properties": {
          "agora": {
            "type": "string",
            "format": "date-time"
          },
          "dias": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "offline": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "computadores": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ComputadorOffline"
            }
          }
        }
      },
      "ResultadoDoTesteDeEmail": {
        "required": [
          "enviado",
          "mensagem"
        ],
        "type": "object",
        "properties": {
          "enviado": {
            "type": "boolean"
          },
          "mensagem": {
            "type": "string"
          }
        }
      },
      "ResumoDosTrabalhos": {
        "required": [
          "andando",
          "impressos",
          "naoSairam",
          "todos"
        ],
        "type": "object",
        "properties": {
          "andando": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "impressos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "naoSairam": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "todos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "RevendaDoStenvLida": {
        "required": [
          "nome",
          "maquinas",
          "erro"
        ],
        "type": "object",
        "properties": {
          "nome": {
            "type": "string"
          },
          "maquinas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "erro": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "Saude": {
        "required": [
          "situacao",
          "versao",
          "versaoDoEsquema"
        ],
        "type": "object",
        "properties": {
          "situacao": {
            "type": "string"
          },
          "versao": {
            "type": "string"
          },
          "versaoDoEsquema": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "SegredoDoAutenticador": {
        "required": [
          "segredo",
          "uri"
        ],
        "type": "object",
        "properties": {
          "segredo": {
            "type": "string"
          },
          "uri": {
            "type": "string"
          }
        }
      },
      "SegundoFatorDaConta": {
        "required": [
          "ligado",
          "ligadoEm",
          "codigosDeRecuperacaoDisponiveis"
        ],
        "type": "object",
        "properties": {
          "ligado": {
            "type": "boolean"
          },
          "ligadoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "codigosDeRecuperacaoDisponiveis": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ServidorDoFiltro": {
        "required": [
          "nome",
          "papel",
          "local",
          "ipv4",
          "ipv6"
        ],
        "type": "object",
        "properties": {
          "nome": {
            "type": "string"
          },
          "papel": {
            "type": "string"
          },
          "local": {
            "type": "string"
          },
          "ipv4": {
            "type": "string"
          },
          "ipv6": {
            "type": "string"
          }
        }
      },
      "SessaoAtual": {
        "required": [
          "usuario",
          "orgaoAtivo",
          "expiraEm",
          "token"
        ],
        "type": "object",
        "properties": {
          "usuario": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/UsuarioDaSessao"
              }
            ]
          },
          "orgaoAtivo": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OrgaoResumo"
              }
            ]
          },
          "expiraEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "token": {
            "type": [
              "null",
              "string"
            ]
          },
          "aguardandoSegundoFator": {
            "type": "boolean",
            "default": false
          }
        }
      },
      "SetorDaLista": {
        "required": [
          "id",
          "nome",
          "impressoras",
          "computadores",
          "criadoEm",
          "arquivado"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "nome": {
            "type": "string"
          },
          "impressoras": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "computadores": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "criadoEm": {
            "type": "string",
            "format": "date-time"
          },
          "arquivado": {
            "type": "boolean"
          }
        }
      },
      "SetorDoComputadorEnviado": {
        "required": [
          "setorId"
        ],
        "type": "object",
        "properties": {
          "setorId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          }
        }
      },
      "SetorDoStenv": {
        "required": [
          "id",
          "nome",
          "clienteId",
          "arquivado"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "nome": {
            "type": "string"
          },
          "clienteId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "arquivado": {
            "type": [
              "null",
              "boolean"
            ]
          }
        }
      },
      "SetorEnviado": {
        "required": [
          "nome"
        ],
        "type": "object",
        "properties": {
          "nome": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "SistemaDoComputador": {
        "required": [
          "so",
          "sistemaCurto",
          "versao",
          "compilacao",
          "office",
          "arquitetura"
        ],
        "type": "object",
        "properties": {
          "so": {
            "type": [
              "null",
              "string"
            ]
          },
          "sistemaCurto": {
            "type": [
              "null",
              "string"
            ]
          },
          "versao": {
            "type": [
              "null",
              "string"
            ]
          },
          "compilacao": {
            "type": [
              "null",
              "string"
            ]
          },
          "office": {
            "type": [
              "null",
              "string"
            ]
          },
          "arquitetura": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "SituacaoDaOrdem": {
        "required": [
          "id",
          "situacao",
          "ok",
          "mensagem"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "situacao": {
            "type": "string"
          },
          "ok": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "mensagem": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "SuprimentoDaFicha": {
        "required": [
          "nome",
          "percentual",
          "tipo"
        ],
        "type": "object",
        "properties": {
          "nome": {
            "type": "string"
          },
          "percentual": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tipo": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "SuprimentosDoParque": {
        "required": [
          "comprar",
          "semPeca",
          "pecas"
        ],
        "type": "object",
        "properties": {
          "comprar": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ItemParaComprar"
            }
          },
          "semPeca": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ImpressoraSemPeca"
            }
          },
          "pecas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "TelaDoFiltro": {
        "required": [
          "grupos",
          "catalogo",
          "emGrupo",
          "redeAtendida",
          "soLeitura"
        ],
        "type": "object",
        "properties": {
          "grupos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/GrupoDoFiltro"
            }
          },
          "catalogo": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CategoriaDoFiltro"
            }
          },
          "emGrupo": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "redeAtendida": {
            "type": "boolean"
          },
          "soLeitura": {
            "type": "boolean"
          }
        }
      },
      "TenantDetalhe": {
        "required": [
          "codigo",
          "nome",
          "cnpj",
          "ativo",
          "criadoEm",
          "clientes"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string",
            "format": "uuid"
          },
          "nome": {
            "type": "string"
          },
          "cnpj": {
            "type": [
              "null",
              "string"
            ]
          },
          "ativo": {
            "type": "boolean"
          },
          "criadoEm": {
            "type": "string",
            "format": "date-time"
          },
          "clientes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "TenantResumo": {
        "required": [
          "codigo",
          "nome"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string",
            "format": "uuid"
          },
          "nome": {
            "type": "string"
          }
        }
      },
      "TermoDeHomologacao": {
        "required": [
          "comprador",
          "pregao",
          "processo",
          "objeto",
          "homologadoEm",
          "fornecedores",
          "avisos"
        ],
        "type": "object",
        "properties": {
          "comprador": {
            "type": [
              "null",
              "string"
            ]
          },
          "pregao": {
            "type": [
              "null",
              "string"
            ]
          },
          "processo": {
            "type": [
              "null",
              "string"
            ]
          },
          "objeto": {
            "type": [
              "null",
              "string"
            ]
          },
          "homologadoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "fornecedores": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FornecedorDoTermo"
            }
          },
          "avisos": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "TotalDoConsumo": {
        "required": [
          "consumo",
          "consumoAnterior",
          "variacaoPct",
          "impressoras",
          "comConsumo",
          "semBase",
          "reinicios",
          "semLeitura",
          "usb"
        ],
        "type": "object",
        "properties": {
          "consumo": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "consumoAnterior": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "variacaoPct": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "impressoras": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "comConsumo": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "semBase": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "reinicios": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "semLeitura": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "usb": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "TrabalhoDeImpressaoDaLista": {
        "required": [
          "id",
          "origem",
          "estado",
          "documento",
          "impressoraId",
          "impressora",
          "pessoaId",
          "pessoa",
          "paginas",
          "copias",
          "criadoEm",
          "impressoEm",
          "erro",
          "pedidoPor",
          "computador",
          "arquivoApagado",
          "faixaDePaginas",
          "frenteEVerso",
          "formatoOriginal"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "origem": {
            "type": "string"
          },
          "estado": {
            "type": "string"
          },
          "documento": {
            "type": [
              "null",
              "string"
            ]
          },
          "impressoraId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "impressora": {
            "type": "string"
          },
          "pessoaId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "pessoa": {
            "type": [
              "null",
              "string"
            ]
          },
          "paginas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "copias": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "criadoEm": {
            "type": "string",
            "format": "date-time"
          },
          "impressoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "erro": {
            "type": [
              "null",
              "string"
            ]
          },
          "pedidoPor": {
            "type": [
              "null",
              "string"
            ]
          },
          "computador": {
            "type": [
              "null",
              "string"
            ]
          },
          "arquivoApagado": {
            "type": "boolean"
          },
          "faixaDePaginas": {
            "type": [
              "null",
              "string"
            ]
          },
          "frenteEVerso": {
            "type": "boolean"
          },
          "formatoOriginal": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UfResposta": {
        "required": [
          "codigo",
          "sigla",
          "nome",
          "regiao"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "sigla": {
            "type": "string"
          },
          "nome": {
            "type": "string"
          },
          "regiao": {
            "type": "string"
          }
        }
      },
      "UsuarioDaSessao": {
        "required": [
          "codigo",
          "nome",
          "email",
          "papel",
          "papelRotulo",
          "podeEscrever",
          "podeAdministrarUsuarios",
          "podeAdministrarOrgaos",
          "podeTrocarDeOrgao",
          "podeGerirTransporte",
          "modulosDoPapel",
          "painel",
          "paineis",
          "podeMandarOrdemAoComputador",
          "podeGerirAgenda"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string",
            "format": "uuid"
          },
          "nome": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "papel": {
            "type": "string"
          },
          "papelRotulo": {
            "type": "string"
          },
          "podeEscrever": {
            "type": "boolean"
          },
          "podeAdministrarUsuarios": {
            "type": "boolean"
          },
          "podeAdministrarOrgaos": {
            "type": "boolean"
          },
          "podeTrocarDeOrgao": {
            "type": "boolean"
          },
          "podeGerirTransporte": {
            "type": "boolean"
          },
          "modulosDoPapel": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "painel": {
            "type": [
              "null",
              "string"
            ]
          },
          "paineis": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "podeMandarOrdemAoComputador": {
            "type": "boolean"
          },
          "podeGerirAgenda": {
            "type": "boolean"
          },
          "tenant": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TenantResumo"
              }
            ]
          },
          "podeAdministrarClientes": {
            "type": "boolean",
            "default": false
          },
          "senhaProvisoria": {
            "type": "boolean",
            "default": false
          },
          "temSegundoFator": {
            "type": "boolean",
            "default": false
          },
          "soAPropriaAgenda": {
            "type": "boolean",
            "default": false
          },
          "soAPropriaMicroarea": {
            "type": "boolean",
            "default": false
          },
          "microarea": {
            "type": [
              "null",
              "string"
            ]
          },
          "soAFarmacia": {
            "type": "boolean",
            "default": false
          },
          "soARecepcao": {
            "type": "boolean",
            "default": false
          },
          "foto": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "UsuarioResumo": {
        "required": [
          "codigo",
          "nome",
          "email",
          "papel",
          "papelRotulo",
          "orgaoCodigo",
          "orgaoNome",
          "ativo",
          "criadoEm",
          "ultimoAcessoEm",
          "paineis"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string",
            "format": "uuid"
          },
          "nome": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "papel": {
            "type": "string"
          },
          "papelRotulo": {
            "type": "string"
          },
          "orgaoCodigo": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "orgaoNome": {
            "type": [
              "null",
              "string"
            ]
          },
          "ativo": {
            "type": "boolean"
          },
          "criadoEm": {
            "type": "string",
            "format": "date-time"
          },
          "ultimoAcessoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "paineis": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "tenant": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TenantResumo"
              }
            ]
          },
          "senhaProvisoria": {
            "type": "boolean",
            "default": false
          },
          "celular": {
            "type": [
              "null",
              "string"
            ]
          },
          "microarea": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "VarreduraPedida": {
        "required": [
          "redes",
          "recado"
        ],
        "type": "object",
        "properties": {
          "redes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "recado": {
            "type": "string"
          }
        }
      },
      "VigenciaEnviada": {
        "required": [
          "vigenciaAte"
        ],
        "type": "object",
        "properties": {
          "vigenciaAte": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          }
        }
      }
    }
  },
  "tags": [
    {
      "name": "Operação"
    },
    {
      "name": "Sessões"
    },
    {
      "name": "Órgãos"
    },
    {
      "name": "Tenants"
    },
    {
      "name": "Usuários"
    },
    {
      "name": "Perfil"
    },
    {
      "name": "Base pública"
    },
    {
      "name": "Módulos"
    },
    {
      "name": "Senha"
    },
    {
      "name": "Painéis"
    },
    {
      "name": "Gestão de TI · Stenv"
    },
    {
      "name": "Gestão de TI · Máquinas aguardando cliente"
    },
    {
      "name": "Fornecimento"
    },
    {
      "name": "Gestão de TI"
    },
    {
      "name": "Gestão de TI e de Impressoras"
    },
    {
      "name": "Gestão de Impressoras"
    },
    {
      "name": "Filtro de rede"
    }
  ]
}