{
  "openapi": "3.1.1",
  "info": {
    "title": "FloraPrint API",
    "description": "Gestão de impressoras, impressão com PIN, fornecimento e financeiro da revenda (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.floraprint.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": "tecnico",
            "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/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/tecnicos": {
      "get": {
        "tags": [
          "Órgãos"
        ],
        "summary": "Os técnicos que podem tomar conta dos clientes visíveis (o filtro por técnico da lista de clientes).",
        "parameters": [
          {
            "name": "tenant",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/TecnicoDoTenant"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/orgaos/tecnico-responsavel": {
      "put": {
        "tags": [
          "Órgãos"
        ],
        "summary": "Quem administra clientes: o mesmo técnico responsável (ou nenhum) em vários clientes de uma vez.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PedidoDeTecnicoEmMassa"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TecnicoEmMassa"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/orgaos/{codigo}/tecnico-responsavel": {
      "get": {
        "tags": [
          "Órgãos"
        ],
        "summary": "O técnico de campo que toma conta do cliente (os avisos do parque vão para o celular dele) e quem pode ser escolhido.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TecnicoResponsavelDoOrgao"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Órgãos"
        ],
        "summary": "Quem administra clientes: escolhe (ou tira, com nulo) o técnico responsável e, se vier, grava o celular dele.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PedidoDeTecnicoResponsavel"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TecnicoResponsavelDoOrgao"
                }
              }
            }
          }
        }
      }
    },
    "/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 FloraPrint). 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 FloraPrint).",
        "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}/emitente": {
      "put": {
        "tags": [
          "Tenants"
        ],
        "summary": "Os dados do cabeçalho dos relatórios: razão social, endereço, telefone e e-mail (o administrador global e o do próprio tenant). Vazio apaga.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FormularioDoEmitente"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantDetalhe"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/tenants/{codigo}/logo": {
      "get": {
        "tags": [
          "Tenants"
        ],
        "summary": "A logo do tenant (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": [
          "Tenants"
        ],
        "summary": "Envia (ou troca) a logo: multipart, campo \"arquivo\". PNG, JPEG ou WebP, até 2 MB (o administrador global e o do próprio tenant).",
        "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/TenantDetalhe"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Tenants"
        ],
        "summary": "Remove a logo.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TenantDetalhe"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/tenants/{codigo}/compartilhamento-usb": {
      "get": {
        "tags": [
          "Tenants"
        ],
        "summary": "(V0017) O compartilhamento das impressoras USB do tenant: ligado, e se a senha do userprint está definida (ela nunca volta).",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompartilhamentoUsbDoTenant"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Tenants"
        ],
        "summary": "(V0017) Liga/desliga o compartilhamento das USB e/ou troca a senha do userprint (o administrador global e o do próprio tenant). Ligar exige senha. Cada máquina 1.0.9+ do tenant recebe a conta no próximo pulso.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FormularioDoCompartilhamentoUsb"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CompartilhamentoUsbDoTenant"
                }
              }
            }
          }
        }
      }
    },
    "/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 FloraPrint.",
        "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/resumo/administrador": {
      "get": {
        "tags": [
          "Resumo"
        ],
        "summary": "Só o administrador global: as impressoras no parque de todos os clientes (rede e USB), por revenda e por cliente, e o valor do mês (Resumo:ValorPorImpressora, padrão R$ 3). Os totais contam só cliente ativo; a busca olha cliente e revenda.",
        "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/PainelDoAdministrador"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/resumo/conferencia": {
      "get": {
        "tags": [
          "Resumo"
        ],
        "summary": "Só o administrador global: a conferência do parque (V0016) — contador que desceu, impressora do parque sem leitura há 48 h, série repetida, nuvem parada há 10 min, dois computadores com o mesmo nome e agente antigo do Stenv. A gravidade alta (mexe na cobrança) primeiro; `tipo` filtra.",
        "parameters": [
          {
            "name": "tipo",
            "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/ConferenciaDoParque"
                }
              }
            }
          }
        }
      }
    },
    "/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 (FloraPrint, 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/treinamentos": {
      "get": {
        "tags": [
          "Treinamentos"
        ],
        "summary": "Os vídeos de treinamento que esta conta vê (o público dela, neste painel); o administrador global vê todos.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ListaDeTreinamentos"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Treinamentos"
        ],
        "summary": "Administrador global: cadastra um vídeo (link do YouTube, ou o uid do Cloudflare que o envio devolveu).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/TreinamentoEnviado"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/treinamentos/{id}": {
      "put": {
        "tags": [
          "Treinamentos"
        ],
        "summary": "Administrador global: edita título, descrição, público, onde aparece, ordem e se está no ar.",
        "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/TreinamentoEnviado"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TreinamentoDaLista"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Treinamentos"
        ],
        "summary": "Administrador global: tira do catálogo (o vídeo no Cloudflare fica).",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/treinamentos/{id}/assistir": {
      "get": {
        "tags": [
          "Treinamentos"
        ],
        "summary": "O endereço do player: YouTube sem cookies, ou o Cloudflare com link assinado de 2 horas.",
        "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/PlayerDoTreinamento"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/treinamentos/envio": {
      "post": {
        "tags": [
          "Treinamentos"
        ],
        "summary": "Administrador global: abre o envio direto do arquivo ao Cloudflare Stream (vídeo privado, uma vez, 30 min).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PedidoDeEnvioDeVideo"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvioDeVideo"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/drivers": {
      "get": {
        "tags": [
          "Drivers de impressora"
        ],
        "summary": "Técnico ou administrador: os pacotes do acervo e os modelos do parque, com o pacote que atende cada um (nulo = falta).",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcervoDeDriversDaTela"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Drivers de impressora"
        ],
        "summary": "Técnico ou administrador: cadastra o pacote enviado (nome, marca, o .inf e os modelos com o nome exato do driver).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DriverEnviado"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/drivers/envios": {
      "post": {
        "tags": [
          "Drivers de impressora"
        ],
        "summary": "Técnico ou administrador: abre o envio de um zip, que chega em partes de 8 MB, em ordem.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PedidoDeEnvioDeDriver"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvioDeDriverAberto"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/drivers/envios/{envio}/partes/{numero}": {
      "put": {
        "tags": [
          "Drivers de impressora"
        ],
        "summary": "Uma parte do zip (corpo cru, application/octet-stream).",
        "parameters": [
          {
            "name": "envio",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "numero",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int32"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/drivers/envios/{envio}/concluir": {
      "post": {
        "tags": [
          "Drivers de impressora"
        ],
        "summary": "Fecha o envio: confere, lê os .inf de impressora, guarda no R2 e sugere os modelos do parque que o pacote atende.",
        "parameters": [
          {
            "name": "envio",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AnaliseDoDriver"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/drivers/{id}": {
      "put": {
        "tags": [
          "Drivers de impressora"
        ],
        "summary": "Técnico ou administrador: edita nome, marca, .inf, modelos e se está no catálogo (o arquivo 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/DriverEnviado"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DriverDaLista"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Drivers de impressora"
        ],
        "summary": "Técnico ou administrador: tira o pacote do acervo.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/drivers/filas": {
      "get": {
        "tags": [
          "Drivers de impressora"
        ],
        "summary": "Técnico ou administrador: as filas de impressão (USB, rede, compartilhada) com driver genérico em todos os clientes, e o original que serve.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/FilaComDriverGenerico"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/drivers/automatico": {
      "get": {
        "tags": [
          "Drivers de impressora"
        ],
        "summary": "Técnico ou administrador: os clientes dele e se a troca automática de driver está ligada em cada um.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ClienteDaTrocaAutomatica"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/drivers/automatico/{codigo}": {
      "put": {
        "tags": [
          "Drivers de impressora"
        ],
        "summary": "Técnico ou administrador: liga ou desliga a troca automática do driver genérico pelo original no cliente.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PedidoDeTrocaAutomatica"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/drivers/filas/{fila}/trocar": {
      "post": {
        "tags": [
          "Drivers de impressora"
        ],
        "summary": "Técnico ou administrador: manda a máquina trocar o driver da fila pelo original do acervo (a porta fica a mesma).",
        "parameters": [
          {
            "name": "fila",
            "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/TrocaDaFila"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/drivers/catalogo.json": {
      "get": {
        "tags": [
          "Drivers de impressora"
        ],
        "summary": "O catálogo de drivers do agente (anônimo; o Nginx serve em /gestaoti/drivers/catalogo.json).",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/drivers/arquivos/{arquivo}": {
      "get": {
        "tags": [
          "Drivers de impressora"
        ],
        "summary": "O zip de um pacote: redireciona ao R2 (endereço assinado de 30 min).",
        "parameters": [
          {
            "name": "arquivo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "direto",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/financeiro/clientes": {
      "get": {
        "tags": [
          "Financeiro"
        ],
        "summary": "Administrador global: todos os clientes (cadastrados e ainda sem cadastro), o que contratam, o valor e a fatura do mês; e o resumo do mês.",
        "parameters": [
          {
            "name": "competencia",
            "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/PainelDoFinanceiro"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/financeiro/pagadores": {
      "get": {
        "tags": [
          "Financeiro"
        ],
        "summary": "Administrador global: quem paga, com as faturas em aberto e atrasadas.",
        "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/PaginaOfPagadorDaLista"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Financeiro"
        ],
        "summary": "Administrador global: o cadastro financeiro de uma revenda, de um cliente do sistema ou de um cliente de fora.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PagadorEnviado"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/financeiro/pagadores/{id}": {
      "put": {
        "tags": [
          "Financeiro"
        ],
        "summary": "Administrador global: edita o cadastro financeiro (quem é o dono 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/PagadorEnviado"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PagadorDaLista"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Financeiro"
        ],
        "summary": "Administrador global: a ficha do cliente (cadastro, o que contrata e o 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/FichaFinanceira"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/financeiro/pagadores/{id}/fatura-do-mes": {
      "post": {
        "tags": [
          "Financeiro"
        ],
        "summary": "Administrador global: a fatura do mês do cliente (a que existe, ou nasce agora com os itens fixos).",
        "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/PedidoDeGerarFaturas"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FaturaCompleta"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/financeiro/contratos": {
      "get": {
        "tags": [
          "Financeiro"
        ],
        "summary": "Administrador global: os itens fixos do mês (o que cada cliente contrata).",
        "parameters": [
          {
            "name": "pagador",
            "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/PaginaOfContratoDeCobrancaDaLista"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Financeiro"
        ],
        "summary": "Administrador global: um item fixo novo (quantidade × valor, ou por impressora ativa no parque).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ContratoDeCobrancaEnviado"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/financeiro/contratos/{id}": {
      "put": {
        "tags": [
          "Financeiro"
        ],
        "summary": "Administrador global: muda o item fixo (vale para as próximas faturas).",
        "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/ContratoDeCobrancaEnviado"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ContratoDeCobrancaDaLista"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/financeiro/faturas": {
      "get": {
        "tags": [
          "Financeiro"
        ],
        "summary": "Administrador global: as faturas (abertas, atrasadas, pagas, canceladas; por cliente e mês do vencimento) e o resumo.",
        "parameters": [
          {
            "name": "situacao",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "pagador",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            }
          },
          {
            "name": "mes",
            "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/ListaDeFaturas"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Financeiro"
        ],
        "summary": "Administrador global: uma fatura avulsa (a implantação, um serviço fora do mês).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/FaturaAvulsaEnviada"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/financeiro/faturas/gerar": {
      "post": {
        "tags": [
          "Financeiro"
        ],
        "summary": "Administrador global: gera as faturas do mês de todos os clientes com item fixo (repetir não duplica).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PedidoDeGerarFaturas"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FaturasGeradas"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/financeiro/faturas/{id}": {
      "get": {
        "tags": [
          "Financeiro"
        ],
        "summary": "Administrador global: a fatura com os itens.",
        "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/FaturaCompleta"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Financeiro"
        ],
        "summary": "Administrador global: muda o vencimento da fatura aberta.",
        "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/FaturaEditada"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FaturaCompleta"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/financeiro/faturas/{id}/itens": {
      "post": {
        "tags": [
          "Financeiro"
        ],
        "summary": "Administrador global: acrescenta um item à fatura aberta (o que o cliente comprou, o serviço feito).",
        "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/ItemEnviado"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FaturaCompleta"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/financeiro/faturas/{id}/itens/{item}": {
      "delete": {
        "tags": [
          "Financeiro"
        ],
        "summary": "Administrador global: tira um item da fatura aberta.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "item",
            "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/FaturaCompleta"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/financeiro/faturas/{id}/atualizar-fixos": {
      "post": {
        "tags": [
          "Financeiro"
        ],
        "summary": "Administrador global: refaz os itens fixos da fatura aberta (preço novo, parque de hoje); os acrescentados ficam.",
        "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/FaturaCompleta"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/financeiro/faturas/{id}/baixa": {
      "post": {
        "tags": [
          "Financeiro"
        ],
        "summary": "Administrador global: dá baixa manual (valor diferente do cobrado exige o 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/BaixaDeFatura"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FaturaDaLista"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/financeiro/faturas/{id}/cancelar": {
      "post": {
        "tags": [
          "Financeiro"
        ],
        "summary": "Administrador global: cancela uma fatura em aberto, com o 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/CancelamentoDeFatura"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FaturaDaLista"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/financeiro/faturas/{id}/nota": {
      "get": {
        "tags": [
          "Financeiro"
        ],
        "summary": "Administrador global: os dados da nota fiscal (tomador e discriminação) prontos para o emissor.",
        "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/DadosDaNota"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Financeiro"
        ],
        "summary": "Administrador global: lança a nota fiscal emitida (número, data, chave); número vazio apaga.",
        "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/NotaEnviada"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FaturaDaLista"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/financeiro/faturas/{id}/whatsapp": {
      "get": {
        "tags": [
          "Financeiro"
        ],
        "summary": "Administrador global: a mensagem de cobrança pronta (com o PIX copia e cola) e o link do WhatsApp do cliente.",
        "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/CobrancaPeloWhatsApp"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/financeiro/faturas/{id}/pdf": {
      "get": {
        "tags": [
          "Financeiro"
        ],
        "summary": "Administrador global: o PDF da cobrança (com o PIX) ou, com ?relatorio=true, o relatório detalhado.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "relatorio",
            "in": "query",
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/ti/pareamentos/{codigo}": {
      "get": {
        "tags": [
          "Gestão de TI · Liberar pelo QR Code"
        ],
        "summary": "O computador que pede a liberação (navegador e IP) e os clientes em que a conta pode liberar. 404 pareamento_vencido.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PareamentoParaLiberar"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/pareamentos/{codigo}/liberacao": {
      "post": {
        "tags": [
          "Gestão de TI · Liberar pelo QR Code"
        ],
        "summary": "Libera: a página entra com esta conta, aberta no cliente escolhido (opcional). Vale uma vez, até o QR vencer.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "type": "null"
                  },
                  {
                    "$ref": "#/components/schemas/PedidoDeLiberacao"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/ti/pareamentos/{codigo}/recusa": {
      "post": {
        "tags": [
          "Gestão de TI · Liberar pelo QR Code"
        ],
        "summary": "\"Não fui eu\": a página ouve que foi recusado.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/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 FloraPrint, 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: 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}/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). No FloraPrint, só sincronizar, reiniciar_agente e as ordens de impressora (o resto da Gestão de TI do PC ficou no FloraPrint).",
        "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}/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/computadores/{uid}/setor": {
      "put": {
        "tags": [
          "Gestão de TI"
        ],
        "summary": "Técnico: 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/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/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, o último contato, quem está logado, a versão do agente e as filas de impressão. Online primeiro; a busca olha nome, rede, IP e usuário. 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/computadores/{codigo}": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "A ficha de UM computador para quem cuida de impressora: fabricante, modelo e série; Windows e arquitetura; processador, núcleos, memória e o disco do sistema (total e livre); IP, MAC e rede /24; o agente (versão, primeiro e último contato, último boot, online); a proteção numa linha; e as filas do Windows com a impressora do parque e o hodômetro de páginas da fila. Nulo = não informou. 404 computador_nao_encontrado (de outro órgão, pendente ou arquivado).",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FichaDoComputadorDoParque"
                }
              }
            }
          }
        }
      }
    },
    "/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: 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: 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: 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: 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: 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: 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: 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: 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: 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}/controle-de-trabalho": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "O Controle de trabalho no painel da copiadora (V0045): ligado, a situação da última sincronização e quantas contas.",
        "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/ControleDeTrabalhoDaImpressora"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Liga/desliga o código no painel da copiadora (Kyocera de rede). Ligar pede a senha de administrador dela na 1ª vez. A copiadora é acertada pelo túnel em segundos (ou quando um computador que a enxerga ligar).",
        "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/PedidoDeControleDeTrabalho"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ControleDeTrabalhoDaImpressora"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/{id}/controle-de-trabalho/sincronizar": {
      "post": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Vai à copiadora agora e confere as contas (mesmo sem mudança).",
        "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/ControleDeTrabalhoDaImpressora"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/controle-de-trabalho/lote": {
      "post": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Liga/desliga o Controle de trabalho em várias copiadoras; as que não cabem (não Kyocera, USB, sem senha) ficam de fora.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoteDeControleDeTrabalho"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoteFeito"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/controle-de-trabalho/sincronizar": {
      "post": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "\"Sincronizar agora\" em várias copiadoras; só as que estão com o Controle de trabalho ligado contam.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/SincronizarControleDeTrabalho"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoteFeito"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/{id}/qr": {
      "post": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "A etiqueta de QR Code da impressora (V0042): devolve o código, criando na primeira vez. O painel desenha {app}/q/{codigo}.",
        "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/QrDaImpressora"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/{id}/qr/novo": {
      "post": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Troca o QR Code da impressora: a etiqueta antiga para de valer na hora (vazou, ou a impressora mudou de lugar).",
        "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/QrDaImpressora"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/qr": {
      "post": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "As etiquetas de várias impressoras (ids; vazio = todas do parque), criando o que falta. Até 500.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "type": "null"
                  },
                  {
                    "$ref": "#/components/schemas/PedidoDeQrs"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/QrDaImpressora"
                  }
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/{id}/pin": {
      "put": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico: 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/{id}/rede": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico: a impressora USB na rede pelo agente (V0036): se está ligada, a porta, o que o hospedeiro e cada computador relatam, e o driver que vai.",
        "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/ImpressoraEmRedeDaTela"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico: liga ou desliga a USB na rede e escolhe os computadores que a usam (agente 1.3.0+; vale 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/ImpressoraEmRedeEnviada"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/impressoras/{id}/rede/computadores": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico: os computadores do órgão que podem usar esta USB pela rede (menos o dela), com busca pelo nome ou IP; paginado.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "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/PaginaOfComputadorDaImpressoraEmRede"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/{id}/quem-imprime": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico: quem pode imprimir nesta impressora — setores e pessoas liberados; restrita=false = todos do órgã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": {
                  "$ref": "#/components/schemas/QuemImprimeNaImpressoraDaTela"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico: troca a lista de quem pode imprimir (setores e pessoas; as duas vazias = todos). Vale no PIN (a janela recusa quem não está) e na nuvem (a lista de quem imprime só mostra as liberadas, e o envio recusa com 409 sem_permissao_na_impressora). Só impressora de rede do parque (409 so_rede_no_parque).",
        "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/QuemImprimeNaImpressoraEnviado"
              }
            }
          },
          "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 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/avisos": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Os avisos do parque (WhatsApp do técnico responsável): a configuração da revenda, quem recebe neste cliente e os últimos 50 avisos dele.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AvisosDoParqueDaTela"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Quem administra clientes: o que a revenda recebe (impressora parada no expediente há N minutos, toner abaixo de N%).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfiguracaoDeAvisosEnviada"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AvisosDoParqueDaTela"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/avisos/teste": {
      "post": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico: manda um aviso de teste ao WhatsApp do técnico responsável deste cliente.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AvisoDeTesteEnviado"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/relatorios/capacidades": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico: o que o sistema faz (texto da API, sem tecnologia) e o que está em uso no órgão — o documento que o órgão público pede.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CapacidadesDoSistema"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/relatorios/capacidades/email": {
      "post": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico: manda o documento de capacidades por e-mail (um destinatário, recado opcional; resposta vai a quem mandou). Até 20 por órgão por dia (409 limite_de_envios).",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/CapacidadesPorEmail"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CapacidadesEnviadas"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/relatorios/cabecalho": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "O cabeçalho do relatório impresso: o cliente (nome, CNPJ, município, UF, versão do brasão) e o emitente (o tenant: nome, razão social, CNPJ, endereço, telefone, e-mail, versão da logo).",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CabecalhoDoRelatorio"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/relatorios/cabecalho/brasao": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "O brasão do órgão ativo, para o cabeçalho. 404 quando não há.",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/api/v1/impressoras/relatorios/cabecalho/logo": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "A logo do emitente (o tenant do órgão ativo), para o cabeçalho. 404 quando não há.",
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/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: 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/assistente/serie": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Assistente: procura a série da etiqueta (normalizada como no servidor; a Epson USB decodificada) neste cliente. Estado: achada (livre para pôr no parque), no_parque (com o setor), em_outro_cliente (BLOQUEIO: a mesma série ou MAC em outro órgão — o nome só se for do mesmo tenant), nao_vista. 422 serie_invalida.",
        "parameters": [
          {
            "name": "serie",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SerieNoAssistente"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/assistente/recentes": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Assistente: \"apareceram agora\" — as impressoras vistas pelos computadores DESTE cliente nos últimos minutos (padrão 30, de 5 a 240), as que apareceram por último primeiro, cada uma com o estado. Sem duplicata nem arquivada. Paginada.",
        "parameters": [
          {
            "name": "minutos",
            "in": "query",
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          {
            "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/ApareceramAgora"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/assistente/{id}": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Assistente: o cartão de confirmar — modelo, série, IP, o computador que a vê, o contador e o estado.",
        "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/ImpressoraNoAssistente"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/assistente/{id}/ler-contador": {
      "post": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Assistente: lê o contador AGORA, antes de adotar (o marco zero). O resultado: GET /impressoras/{id}/ler-contador/{comandoId}.",
        "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/assistente/{id}/adotar": {
      "post": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Assistente: põe no parque numa transação — setor (obrigatório), contador inicial (marco zero; nulo = o último lido) e quem/quando. Confere de novo os bloqueios: 409 em_outro_cliente, no_parque, nao_vista, duplicata.",
        "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/AdocaoPeloAssistente"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AdotadaPeloAssistente"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/assistente/{id}/pagina-de-identificacao": {
      "post": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Assistente: a prova no papel, pelo caminho mais seguro — caminho fila (a página de teste do Windows, pela fila de um computador deste cliente que aponta para o IP dela; o vivo que a viu por último), pdf (a página de identificação, SEMPRE em PJL ENTER LANGUAGE=PDF, só para laser conhecida por aceitar: Kyocera, HP LaserJet, Samsung, Pantum, Lexmark, Ricoh, Brother menos a DCP-L5652DN) ou folha_de_status (Epson, Canon, desconhecida, USB: a frase com o marco zero, sem papel). Com o contador antes/depois quando há.",
        "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/ProvaDaIdentificacao"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/assistente/{id}/ordens/{ordemId}": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Assistente: como está a página de teste do Windows (caminho fila), com o contador antes e o depois (a leitura depois de concluída).",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "ordemId",
            "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/ProvaDaIdentificacao"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/assistente/{id}/trabalhos/{trabalhoId}": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Assistente: como está a página de identificação em PDF (caminho pdf), com o contador antes/depois que o agente leu.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "trabalhoId",
            "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/ProvaDaIdentificacao"
                }
              }
            }
          }
        }
      }
    },
    "/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. Setor: o id ou \"sem\".",
        "parameters": [
          {
            "name": "busca",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "situacao",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "setor",
            "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: 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/liberacoes": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico: o que cada pessoa pode — cota, conta no painel e as impressoras de rede do parque em que imprime (relatório, sem paginação). Mesmos filtros da lista.",
        "parameters": [
          {
            "name": "busca",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "situacao",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "setor",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LiberacoesDasPessoas"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/pessoas/{id}": {
      "put": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Técnico: 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: 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: 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: 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: 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). Aparece só nesta resposta e em \"Meu código\".",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PinGerado"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "Meu código: você ESCOLHE o seu PIN (só números, de 6 a 8; nada de iguais ou em sequência; diferente da senha do painel e do código de qualquer outra pessoa do órgão — \"não está disponível\", sem dizer de quem). O mesmo código vale no computador e no painel da copiadora. Limite de tentativas por hora.",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PinEscolhido"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PinGerado"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/impressoras/minha/qr/{codigo}": {
      "get": {
        "tags": [
          "Gestão de Impressoras"
        ],
        "summary": "A pessoa leu com o celular o QR Code colado na impressora (V0042): a impressora e o código (PIN) DELA para digitar ali. 404 qr_desconhecido (de outro cliente ou trocado); 404 sem_pessoa_que_imprime.",
        "parameters": [
          {
            "name": "codigo",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/MeuCodigoNaImpressora"
                }
              }
            }
          }
        }
      }
    },
    "/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: 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: 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: 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: 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: 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: 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: 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}/chave": {
      "get": {
        "tags": [
          "Gestão de TI e de Impressoras"
        ],
        "summary": "A chave do agente desta máquina: normal, pedida, esperando o agente subir (< 1.2.10) ou emitida (falta o agente confirmar). Nunca traz o token.",
        "parameters": [
          {
            "name": "uid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChaveDoComputador"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/computadores/{uid}/chave/trocar": {
      "post": {
        "tags": [
          "Gestão de TI e de Impressoras"
        ],
        "summary": "Técnico: troca a chave do agente (token vazado ou suspeito). A nova sai no próximo pulso de um agente >= 1.2.10; a atual vale até ele provar que gravou, e o túnel reconecta com a nova.",
        "parameters": [
          {
            "name": "uid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChaveDoComputador"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/computadores/chaves/trocar": {
      "post": {
        "tags": [
          "Gestão de TI e de Impressoras"
        ],
        "summary": "Técnico: pede a troca da chave de TODOS os computadores do órgão. Os de agente < 1.2.10 trocam quando subirem.",
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TrocaDeChavesDoOrgao"
                }
              }
            }
          }
        }
      }
    },
    "/api/v1/ti/computadores/{uid}/descricao": {
      "put": {
        "tags": [
          "Gestão de TI e de Impressoras"
        ],
        "summary": "Técnico: 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"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AcervoDeDriversDaTela": {
        "required": [
          "drivers",
          "parque"
        ],
        "type": "object",
        "properties": {
          "drivers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DriverDaLista"
            }
          },
          "parque": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModeloDoParque"
            }
          }
        }
      },
      "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"
          }
        }
      },
      "AchadoDaConferencia": {
        "required": [
          "tipo",
          "gravidade",
          "orgaoId",
          "cliente",
          "alvo",
          "detalhe",
          "impressoraId",
          "computadorId"
        ],
        "type": "object",
        "properties": {
          "tipo": {
            "type": "string"
          },
          "gravidade": {
            "type": "string"
          },
          "orgaoId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "cliente": {
            "type": "string"
          },
          "alvo": {
            "type": "string"
          },
          "detalhe": {
            "type": "string"
          },
          "impressoraId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "computadorId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          }
        }
      },
      "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"
          }
        }
      },
      "AdocaoPeloAssistente": {
        "required": [
          "setorId",
          "contadorInicial"
        ],
        "type": "object",
        "properties": {
          "setorId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "contadorInicial": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          }
        }
      },
      "AdotadaPeloAssistente": {
        "required": [
          "id",
          "nome",
          "setorId",
          "setor",
          "contadorInicial",
          "adotadaPor",
          "adotadaEm",
          "cliente"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "nome": {
            "type": "string"
          },
          "setorId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "setor": {
            "type": "string"
          },
          "contadorInicial": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "adotadaPor": {
            "type": "string"
          },
          "adotadaEm": {
            "type": "string",
            "format": "date-time"
          },
          "cliente": {
            "type": "string"
          }
        }
      },
      "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"
          }
        }
      },
      "AnaliseDoDriver": {
        "required": [
          "envio",
          "nome",
          "tamanho",
          "sha256",
          "infs",
          "fabricante",
          "infSugerido",
          "tituloSugerido",
          "sugestoes",
          "jaCadastrado"
        ],
        "type": "object",
        "properties": {
          "envio": {
            "type": "string",
            "format": "uuid"
          },
          "nome": {
            "type": "string"
          },
          "tamanho": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "sha256": {
            "type": "string"
          },
          "infs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InfDoZip"
            }
          },
          "fabricante": {
            "type": [
              "null",
              "string"
            ]
          },
          "infSugerido": {
            "type": [
              "null",
              "string"
            ]
          },
          "tituloSugerido": {
            "type": [
              "null",
              "string"
            ]
          },
          "sugestoes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SugestaoDeModelo"
            }
          },
          "jaCadastrado": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "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"
          }
        }
      },
      "ApareceramAgora": {
        "required": [
          "agora",
          "minutos",
          "pagina"
        ],
        "type": "object",
        "properties": {
          "agora": {
            "type": "string",
            "format": "date-time"
          },
          "minutos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pagina": {
            "$ref": "#/components/schemas/PaginaOfImpressoraNoAssistente"
          }
        }
      },
      "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"
          }
        }
      },
      "AvisoDaLista": {
        "required": [
          "id",
          "tipo",
          "impressora",
          "setor",
          "texto",
          "abertoEm",
          "fechadoEm",
          "situacao",
          "enviadoEm",
          "erro"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "tipo": {
            "type": "string"
          },
          "impressora": {
            "type": "string"
          },
          "setor": {
            "type": [
              "null",
              "string"
            ]
          },
          "texto": {
            "type": "string"
          },
          "abertoEm": {
            "type": "string",
            "format": "date-time"
          },
          "fechadoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "situacao": {
            "type": "string"
          },
          "enviadoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "erro": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "AvisoDeTesteEnviado": {
        "required": [
          "para"
        ],
        "type": "object",
        "properties": {
          "para": {
            "type": "string"
          }
        }
      },
      "AvisosDoParqueDaTela": {
        "required": [
          "configuracao",
          "podeConfigurar",
          "whatsAppLigado",
          "destino",
          "recentes"
        ],
        "type": "object",
        "properties": {
          "configuracao": {
            "$ref": "#/components/schemas/ConfiguracaoDeAvisosDaTela"
          },
          "podeConfigurar": {
            "type": "boolean"
          },
          "whatsAppLigado": {
            "type": "boolean"
          },
          "destino": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/DestinoDoAviso"
              }
            ]
          },
          "recentes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AvisoDaLista"
            }
          }
        }
      },
      "BaixaDeFatura": {
        "required": [
          "pagoEm",
          "valorPagoCentavos",
          "forma",
          "observacao"
        ],
        "type": "object",
        "properties": {
          "pagoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "valorPagoCentavos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "forma": {
            "type": [
              "null",
              "string"
            ]
          },
          "observacao": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CabecalhoDoRelatorio": {
        "required": [
          "cliente",
          "emitente"
        ],
        "type": "object",
        "properties": {
          "cliente": {
            "$ref": "#/components/schemas/ClienteDoRelatorio"
          },
          "emitente": {
            "$ref": "#/components/schemas/EmitenteDoRelatorio"
          }
        }
      },
      "CancelamentoDeFatura": {
        "required": [
          "motivo"
        ],
        "type": "object",
        "properties": {
          "motivo": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "CapacidadesDoSistema": {
        "required": [
          "produto",
          "geradoEm",
          "numeros",
          "secoes"
        ],
        "type": "object",
        "properties": {
          "produto": {
            "type": "string"
          },
          "geradoEm": {
            "type": "string",
            "format": "date-time"
          },
          "numeros": {
            "$ref": "#/components/schemas/NumerosDoCliente"
          },
          "secoes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SecaoDeCapacidades"
            }
          }
        }
      },
      "CapacidadesEnviadas": {
        "required": [
          "para"
        ],
        "type": "object",
        "properties": {
          "para": {
            "type": "string"
          }
        }
      },
      "CapacidadesPorEmail": {
        "required": [
          "para",
          "mensagem"
        ],
        "type": "object",
        "properties": {
          "para": {
            "type": [
              "null",
              "string"
            ]
          },
          "mensagem": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ChaveDoComputador": {
        "required": [
          "situacao",
          "versaoDoAgente",
          "agenteSabeTrocar",
          "pedidaEm",
          "pedidaPor",
          "emitidaEm",
          "trocadaEm"
        ],
        "type": "object",
        "properties": {
          "situacao": {
            "type": "string"
          },
          "versaoDoAgente": {
            "type": "string"
          },
          "agenteSabeTrocar": {
            "type": "boolean"
          },
          "pedidaEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "pedidaPor": {
            "type": [
              "null",
              "string"
            ]
          },
          "emitidaEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "trocadaEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "ClienteDaTrocaAutomatica": {
        "required": [
          "codigo",
          "cliente",
          "ligado",
          "ligadoEm",
          "ligadoPor",
          "filasGenericas",
          "comOriginal"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string",
            "format": "uuid"
          },
          "cliente": {
            "type": "string"
          },
          "ligado": {
            "type": "boolean"
          },
          "ligadoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "ligadoPor": {
            "type": [
              "null",
              "string"
            ]
          },
          "filasGenericas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "comOriginal": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ClienteDoFinanceiro": {
        "required": [
          "pagador",
          "tipo",
          "tenant",
          "cliente",
          "nome",
          "documento",
          "publico",
          "whatsapp",
          "contrata",
          "impressoras",
          "valorMensalCentavos",
          "faturaDoMes",
          "atrasadoCentavos",
          "ativo"
        ],
        "type": "object",
        "properties": {
          "pagador": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "tipo": {
            "type": "string"
          },
          "tenant": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "cliente": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "nome": {
            "type": "string"
          },
          "documento": {
            "type": [
              "null",
              "string"
            ]
          },
          "publico": {
            "type": "boolean"
          },
          "whatsapp": {
            "type": [
              "null",
              "string"
            ]
          },
          "contrata": {
            "type": "string"
          },
          "impressoras": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "valorMensalCentavos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "faturaDoMes": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/FaturaDaLista"
              }
            ]
          },
          "atrasadoCentavos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "ativo": {
            "type": "boolean"
          }
        }
      },
      "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"
          }
        }
      },
      "ClienteDoRelatorio": {
        "required": [
          "nome",
          "cnpj",
          "municipio",
          "uf",
          "brasaoAtualizadoEm"
        ],
        "type": "object",
        "properties": {
          "nome": {
            "type": "string"
          },
          "cnpj": {
            "type": [
              "null",
              "string"
            ]
          },
          "municipio": {
            "type": "string"
          },
          "uf": {
            "type": "string"
          },
          "brasaoAtualizadoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "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"
            ]
          }
        }
      },
      "ClienteNoInstalador": {
        "required": [
          "codigo",
          "nome",
          "municipio",
          "uf"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string",
            "format": "uuid"
          },
          "nome": {
            "type": "string"
          },
          "municipio": {
            "type": "string"
          },
          "uf": {
            "type": "string"
          }
        }
      },
      "ClienteNoPainel": {
        "required": [
          "id",
          "nome",
          "revenda",
          "ativo",
          "rede",
          "usb",
          "impressoras",
          "valor",
          "suspeitas"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "nome": {
            "type": "string"
          },
          "revenda": {
            "type": [
              "null",
              "string"
            ]
          },
          "ativo": {
            "type": "boolean"
          },
          "rede": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "usb": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "impressoras": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "valor": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "suspeitas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "CobrancaPeloWhatsApp": {
        "required": [
          "mensagem",
          "link"
        ],
        "type": "object",
        "properties": {
          "mensagem": {
            "type": "string"
          },
          "link": {
            "type": [
              "null",
              "string"
            ]
          },
          "pix": {
            "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"
            }
          }
        }
      },
      "CompartilhamentoUsbDoTenant": {
        "required": [
          "ligado",
          "senhaDefinida",
          "versaoDaSenha",
          "senhaTrocadaEm",
          "senhaTrocadaPor",
          "conta",
          "versaoMinimaDoAgente"
        ],
        "type": "object",
        "properties": {
          "ligado": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "senhaDefinida": {
            "type": "boolean"
          },
          "versaoDaSenha": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "senhaTrocadaEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "senhaTrocadaPor": {
            "type": [
              "null",
              "string"
            ]
          },
          "conta": {
            "type": "string"
          },
          "versaoMinimaDoAgente": {
            "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"
            }
          }
        }
      },
      "ComputadorDaImpressoraEmRede": {
        "required": [
          "id",
          "hostname",
          "ip",
          "versao",
          "agenteAceita",
          "ligado",
          "estado",
          "detalhe",
          "relatadoEm"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "hostname": {
            "type": "string"
          },
          "ip": {
            "type": [
              "null",
              "string"
            ]
          },
          "versao": {
            "type": [
              "null",
              "string"
            ]
          },
          "agenteAceita": {
            "type": "boolean"
          },
          "ligado": {
            "type": "boolean"
          },
          "estado": {
            "type": [
              "null",
              "string"
            ]
          },
          "detalhe": {
            "type": [
              "null",
              "string"
            ]
          },
          "relatadoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "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"
            ]
          }
        }
      },
      "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"
          },
          "usuario": {
            "type": [
              "null",
              "string"
            ]
          },
          "versaoDoAgente": {
            "type": [
              "null",
              "string"
            ]
          },
          "impressoras": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "filas": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/FilaNoComputador"
            }
          },
          "mac": {
            "type": [
              "null",
              "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"
          }
        }
      },
      "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"
            ]
          }
        }
      },
      "ConferenciaDoParque": {
        "required": [
          "agora",
          "total",
          "altas",
          "porTipo",
          "pagina"
        ],
        "type": "object",
        "properties": {
          "agora": {
            "type": "string",
            "format": "date-time"
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "altas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "porTipo": {
            "type": "object",
            "additionalProperties": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int32"
            }
          },
          "pagina": {
            "$ref": "#/components/schemas/PaginaOfAchadoDaConferencia"
          }
        }
      },
      "ConfiguracaoDeAvisosDaTela": {
        "required": [
          "impressoraParada",
          "minutosParada",
          "tonerBaixo",
          "tonerPercentual",
          "papel",
          "atualizadoEm",
          "atualizadoPor"
        ],
        "type": "object",
        "properties": {
          "impressoraParada": {
            "type": "boolean"
          },
          "minutosParada": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tonerBaixo": {
            "type": "boolean"
          },
          "tonerPercentual": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "papel": {
            "type": "boolean"
          },
          "atualizadoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "atualizadoPor": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ConfiguracaoDeAvisosEnviada": {
        "required": [
          "impressoraParada",
          "minutosParada",
          "tonerBaixo",
          "tonerPercentual"
        ],
        "type": "object",
        "properties": {
          "impressoraParada": {
            "type": "boolean"
          },
          "minutosParada": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tonerBaixo": {
            "type": "boolean"
          },
          "tonerPercentual": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "papel": {
            "type": [
              "null",
              "boolean"
            ]
          }
        }
      },
      "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"
            ]
          },
          "consumoPb": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "consumoCor": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "contadorPbFim": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "contadorCorFim": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          }
        }
      },
      "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"
          }
        }
      },
      "ContratoDeCobrancaDaLista": {
        "required": [
          "id",
          "pagador",
          "nomeDoPagador",
          "descricao",
          "quantidade",
          "valorUnitarioCentavos",
          "porImpressora",
          "impressoras",
          "valorDoMesCentavos",
          "inicio",
          "fim",
          "ativo"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "pagador": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "nomeDoPagador": {
            "type": "string"
          },
          "descricao": {
            "type": "string"
          },
          "quantidade": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "valorUnitarioCentavos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "porImpressora": {
            "type": "boolean"
          },
          "impressoras": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "valorDoMesCentavos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "inicio": {
            "type": "string",
            "format": "date"
          },
          "fim": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "ativo": {
            "type": "boolean"
          }
        }
      },
      "ContratoDeCobrancaEnviado": {
        "required": [
          "pagador",
          "descricao",
          "quantidade",
          "valorUnitarioCentavos",
          "porImpressora",
          "inicio",
          "fim",
          "ativo"
        ],
        "type": "object",
        "properties": {
          "pagador": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "descricao": {
            "type": [
              "null",
              "string"
            ]
          },
          "quantidade": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "valorUnitarioCentavos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "porImpressora": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "inicio": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "fim": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "ativo": {
            "type": [
              "null",
              "boolean"
            ]
          }
        }
      },
      "ControleDeTrabalhoDaImpressora": {
        "required": [
          "suportada",
          "ligado",
          "usuario",
          "temSenha",
          "situacao",
          "erro",
          "sincronizadoEm",
          "contas"
        ],
        "type": "object",
        "properties": {
          "suportada": {
            "type": "boolean"
          },
          "ligado": {
            "type": "boolean"
          },
          "usuario": {
            "type": [
              "null",
              "string"
            ]
          },
          "temSenha": {
            "type": "boolean"
          },
          "situacao": {
            "type": [
              "null",
              "string"
            ]
          },
          "erro": {
            "type": [
              "null",
              "string"
            ]
          },
          "sincronizadoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "contas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "DadosDaNota": {
        "required": [
          "tomador",
          "documento",
          "inscricaoMunicipal",
          "endereco",
          "email",
          "discriminacao",
          "valorCentavos",
          "competencia",
          "empenho",
          "emissorLigado"
        ],
        "type": "object",
        "properties": {
          "tomador": {
            "type": "string"
          },
          "documento": {
            "type": "string"
          },
          "inscricaoMunicipal": {
            "type": [
              "null",
              "string"
            ]
          },
          "endereco": {
            "type": [
              "null",
              "string"
            ]
          },
          "email": {
            "type": [
              "null",
              "string"
            ]
          },
          "discriminacao": {
            "type": "string"
          },
          "valorCentavos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "competencia": {
            "type": [
              "null",
              "string"
            ]
          },
          "empenho": {
            "type": [
              "null",
              "string"
            ]
          },
          "emissorLigado": {
            "type": "boolean"
          }
        }
      },
      "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"
            ]
          }
        }
      },
      "DestinoDoAviso": {
        "required": [
          "nome",
          "celular"
        ],
        "type": "object",
        "properties": {
          "nome": {
            "type": "string"
          },
          "celular": {
            "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"
          }
        }
      },
      "DriverDaLista": {
        "required": [
          "id",
          "codigo",
          "titulo",
          "fabricante",
          "arquivoNome",
          "tamanho",
          "sha256",
          "inf",
          "arquitetura",
          "origem",
          "publicado",
          "modelos",
          "infs",
          "criadoEm",
          "criadoPor",
          "atualizadoEm"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "codigo": {
            "type": "string"
          },
          "titulo": {
            "type": "string"
          },
          "fabricante": {
            "type": "string"
          },
          "arquivoNome": {
            "type": "string"
          },
          "tamanho": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "sha256": {
            "type": "string"
          },
          "inf": {
            "type": "string"
          },
          "arquitetura": {
            "type": [
              "null",
              "string"
            ]
          },
          "origem": {
            "type": "string"
          },
          "publicado": {
            "type": "boolean"
          },
          "modelos": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ModeloDoDriverDaLista"
            }
          },
          "infs": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InfDoZip"
            }
          },
          "criadoEm": {
            "type": "string",
            "format": "date-time"
          },
          "criadoPor": {
            "type": "string"
          },
          "atualizadoEm": {
            "type": "string",
            "format": "date-time"
          },
          "podeMexer": {
            "type": "boolean",
            "default": false
          }
        }
      },
      "DriverEnviado": {
        "required": [
          "envio",
          "titulo",
          "fabricante",
          "inf",
          "arquitetura",
          "origem",
          "publicado",
          "modelos"
        ],
        "type": "object",
        "properties": {
          "envio": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "titulo": {
            "type": [
              "null",
              "string"
            ]
          },
          "fabricante": {
            "type": [
              "null",
              "string"
            ]
          },
          "inf": {
            "type": [
              "null",
              "string"
            ]
          },
          "arquitetura": {
            "type": [
              "null",
              "string"
            ]
          },
          "origem": {
            "type": [
              "null",
              "string"
            ]
          },
          "publicado": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "modelos": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "$ref": "#/components/schemas/ModeloDoDriverEnviado"
            }
          }
        }
      },
      "EmitenteDoRelatorio": {
        "required": [
          "nome",
          "razaoSocial",
          "cnpj",
          "endereco",
          "telefone",
          "email",
          "logoAtualizadoEm"
        ],
        "type": "object",
        "properties": {
          "nome": {
            "type": "string"
          },
          "razaoSocial": {
            "type": [
              "null",
              "string"
            ]
          },
          "cnpj": {
            "type": [
              "null",
              "string"
            ]
          },
          "endereco": {
            "type": [
              "null",
              "string"
            ]
          },
          "telefone": {
            "type": [
              "null",
              "string"
            ]
          },
          "email": {
            "type": [
              "null",
              "string"
            ]
          },
          "logoAtualizadoEm": {
            "type": [
              "null",
              "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"
            }
          }
        }
      },
      "EnvioDeDriverAberto": {
        "required": [
          "envio",
          "tamanhoDaParte"
        ],
        "type": "object",
        "properties": {
          "envio": {
            "type": "string",
            "format": "uuid"
          },
          "tamanhoDaParte": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "EnvioDeVideo": {
        "required": [
          "uid",
          "url"
        ],
        "type": "object",
        "properties": {
          "uid": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      },
      "FaturaAvulsaEnviada": {
        "required": [
          "pagador",
          "descricao",
          "valorCentavos",
          "vencimento"
        ],
        "type": "object",
        "properties": {
          "pagador": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "descricao": {
            "type": [
              "null",
              "string"
            ]
          },
          "valorCentavos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "vencimento": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "empenho": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "FaturaCompleta": {
        "required": [
          "fatura",
          "itens"
        ],
        "type": "object",
        "properties": {
          "fatura": {
            "$ref": "#/components/schemas/FaturaDaLista"
          },
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ItemDaFaturaDaLista"
            }
          }
        }
      },
      "FaturaDaLista": {
        "required": [
          "id",
          "numero",
          "tipo",
          "pagador",
          "nomeDoPagador",
          "publico",
          "competencia",
          "descricao",
          "valorCentavos",
          "vencimento",
          "empenho",
          "estado",
          "atrasada",
          "pagoEm",
          "valorPagoCentavos",
          "formaDePagamento",
          "observacao",
          "baixadaPor",
          "motivoDoCancelamento",
          "canceladaPor",
          "notaNumero",
          "notaChave",
          "notaEmitidaEm",
          "criadoEm",
          "criadoPor"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "numero": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "tipo": {
            "type": "string"
          },
          "pagador": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "nomeDoPagador": {
            "type": "string"
          },
          "publico": {
            "type": "boolean"
          },
          "competencia": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "descricao": {
            "type": "string"
          },
          "valorCentavos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "vencimento": {
            "type": "string",
            "format": "date"
          },
          "empenho": {
            "type": [
              "null",
              "string"
            ]
          },
          "estado": {
            "type": "string"
          },
          "atrasada": {
            "type": "boolean"
          },
          "pagoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "valorPagoCentavos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "formaDePagamento": {
            "type": [
              "null",
              "string"
            ]
          },
          "observacao": {
            "type": [
              "null",
              "string"
            ]
          },
          "baixadaPor": {
            "type": [
              "null",
              "string"
            ]
          },
          "motivoDoCancelamento": {
            "type": [
              "null",
              "string"
            ]
          },
          "canceladaPor": {
            "type": [
              "null",
              "string"
            ]
          },
          "notaNumero": {
            "type": [
              "null",
              "string"
            ]
          },
          "notaChave": {
            "type": [
              "null",
              "string"
            ]
          },
          "notaEmitidaEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "criadoEm": {
            "type": "string",
            "format": "date-time"
          },
          "criadoPor": {
            "type": "string"
          }
        }
      },
      "FaturaEditada": {
        "required": [
          "vencimento"
        ],
        "type": "object",
        "properties": {
          "vencimento": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          }
        }
      },
      "FaturasGeradas": {
        "required": [
          "geradas",
          "jaExistiam"
        ],
        "type": "object",
        "properties": {
          "geradas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FaturaDaLista"
            }
          },
          "jaExistiam": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "semItem": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32",
            "default": 0
          }
        }
      },
      "FichaDoComputadorDoParque": {
        "required": [
          "codigo",
          "nome",
          "situacao",
          "ultimoContato",
          "primeiroContato",
          "ultimoBoot",
          "versaoDoAgente",
          "fabricante",
          "modelo",
          "serie",
          "sistema",
          "sistemaCompleto",
          "arquitetura",
          "processador",
          "nucleos",
          "ramMb",
          "disco",
          "discoTotalBytes",
          "discoLivreBytes",
          "rede",
          "endereco",
          "mac",
          "protecao",
          "protecaoNivel",
          "filas"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string"
          },
          "nome": {
            "type": "string"
          },
          "situacao": {
            "type": "string"
          },
          "ultimoContato": {
            "type": "string",
            "format": "date-time"
          },
          "primeiroContato": {
            "type": "string",
            "format": "date-time"
          },
          "ultimoBoot": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "versaoDoAgente": {
            "type": [
              "null",
              "string"
            ]
          },
          "fabricante": {
            "type": [
              "null",
              "string"
            ]
          },
          "modelo": {
            "type": [
              "null",
              "string"
            ]
          },
          "serie": {
            "type": [
              "null",
              "string"
            ]
          },
          "sistema": {
            "type": [
              "null",
              "string"
            ]
          },
          "sistemaCompleto": {
            "type": [
              "null",
              "string"
            ]
          },
          "arquitetura": {
            "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"
          },
          "disco": {
            "type": [
              "null",
              "string"
            ]
          },
          "discoTotalBytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "discoLivreBytes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "rede": {
            "type": [
              "null",
              "string"
            ]
          },
          "endereco": {
            "type": [
              "null",
              "string"
            ]
          },
          "mac": {
            "type": [
              "null",
              "string"
            ]
          },
          "protecao": {
            "type": [
              "null",
              "string"
            ]
          },
          "protecaoNivel": {
            "type": [
              "null",
              "string"
            ]
          },
          "filas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FilaNaFichaDoComputador"
            }
          }
        }
      },
      "FichaFinanceira": {
        "required": [
          "cadastro",
          "itens",
          "parque",
          "valorMensalCentavos"
        ],
        "type": "object",
        "properties": {
          "cadastro": {
            "$ref": "#/components/schemas/PagadorDaLista"
          },
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContratoDeCobrancaDaLista"
            }
          },
          "parque": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ParqueDoCliente"
            }
          },
          "valorMensalCentavos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "FilaComDriverGenerico": {
        "required": [
          "fila",
          "cliente",
          "computador",
          "hostname",
          "ultimoContatoEm",
          "nome",
          "porta",
          "conexao",
          "driverAtual",
          "modelo",
          "pacote",
          "nomeDoDriver",
          "troca"
        ],
        "type": "object",
        "properties": {
          "fila": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "cliente": {
            "type": "string"
          },
          "computador": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "hostname": {
            "type": "string"
          },
          "ultimoContatoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "nome": {
            "type": "string"
          },
          "porta": {
            "type": [
              "null",
              "string"
            ]
          },
          "conexao": {
            "type": "string"
          },
          "driverAtual": {
            "type": [
              "null",
              "string"
            ]
          },
          "modelo": {
            "type": [
              "null",
              "string"
            ]
          },
          "pacote": {
            "type": [
              "null",
              "string"
            ]
          },
          "nomeDoDriver": {
            "type": [
              "null",
              "string"
            ]
          },
          "troca": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TrocaDaFila"
              }
            ]
          }
        }
      },
      "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"
          }
        }
      },
      "FilaNaFichaDoComputador": {
        "required": [
          "nome",
          "impressoraId",
          "impressora",
          "conexao",
          "driver",
          "padrao",
          "paginas",
          "paginasEm"
        ],
        "type": "object",
        "properties": {
          "nome": {
            "type": "string"
          },
          "impressoraId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "impressora": {
            "type": [
              "null",
              "string"
            ]
          },
          "conexao": {
            "type": "string"
          },
          "driver": {
            "type": [
              "null",
              "string"
            ]
          },
          "padrao": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "paginas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "paginasEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "FilaNoComputador": {
        "required": [
          "nome",
          "impressoraId",
          "impressora"
        ],
        "type": "object",
        "properties": {
          "nome": {
            "type": "string"
          },
          "impressoraId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "impressora": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "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"
            ]
          },
          "todosOsClientes": {
            "type": [
              "null",
              "boolean"
            ]
          }
        }
      },
      "FormularioDoCompartilhamentoUsb": {
        "required": [
          "ligado",
          "senha"
        ],
        "type": "object",
        "properties": {
          "ligado": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "senha": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "FormularioDoEmitente": {
        "required": [
          "razaoSocial",
          "endereco",
          "telefone",
          "email"
        ],
        "type": "object",
        "properties": {
          "razaoSocial": {
            "type": [
              "null",
              "string"
            ]
          },
          "endereco": {
            "type": [
              "null",
              "string"
            ]
          },
          "telefone": {
            "type": [
              "null",
              "string"
            ]
          },
          "email": {
            "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"
            }
          }
        }
      },
      "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"
            }
          }
        }
      },
      "ImpressoraDaFatura": {
        "required": [
          "cliente",
          "modelo",
          "serie",
          "local"
        ],
        "type": "object",
        "properties": {
          "cliente": {
            "type": "string"
          },
          "modelo": {
            "type": "string"
          },
          "serie": {
            "type": [
              "null",
              "string"
            ]
          },
          "local": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ImpressoraDaLiberacao": {
        "required": [
          "id",
          "nome",
          "setor",
          "modelo",
          "restrita",
          "exigePin",
          "setoresLiberados",
          "pessoasLiberadas"
        ],
        "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"
            ]
          },
          "restrita": {
            "type": "boolean"
          },
          "exigePin": {
            "type": "boolean"
          },
          "setoresLiberados": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "pessoasLiberadas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "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"
          },
          "ritmo": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/RitmoDaImpressora"
              }
            ]
          }
        }
      },
      "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
          },
          "usbEm": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "contadorPb": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "contadorCor": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "contadorCorEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "controleDeTrabalho": {
            "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"
          }
        }
      },
      "ImpressoraEmRedeDaTela": {
        "required": [
          "ligada",
          "porta",
          "bloqueio",
          "hospedeiro",
          "trabalhos",
          "ultimoTrabalhoEm",
          "driver",
          "driverNoAcervo",
          "clientes"
        ],
        "type": "object",
        "properties": {
          "ligada": {
            "type": "boolean"
          },
          "porta": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "bloqueio": {
            "type": [
              "null",
              "string"
            ]
          },
          "hospedeiro": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ComputadorDaImpressoraEmRede"
              }
            ]
          },
          "trabalhos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "ultimoTrabalhoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "driver": {
            "type": [
              "null",
              "string"
            ]
          },
          "driverNoAcervo": {
            "type": "boolean"
          },
          "clientes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ComputadorDaImpressoraEmRede"
            }
          }
        }
      },
      "ImpressoraEmRedeEnviada": {
        "required": [
          "ligada",
          "computadores"
        ],
        "type": "object",
        "properties": {
          "ligada": {
            "type": "boolean"
          },
          "computadores": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            }
          }
        }
      },
      "ImpressoraNoAssistente": {
        "required": [
          "id",
          "nome",
          "fabricante",
          "modelo",
          "serie",
          "ip",
          "mac",
          "conexao",
          "contador",
          "contadorEm",
          "contadorRegua",
          "vistaPor",
          "vistaPorLigado",
          "primeiroVistoEm",
          "ultimoVistoEm",
          "vistaHaSegundos",
          "nova",
          "setorId",
          "setor",
          "estado",
          "frase"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "nome": {
            "type": "string"
          },
          "fabricante": {
            "type": [
              "null",
              "string"
            ]
          },
          "modelo": {
            "type": [
              "null",
              "string"
            ]
          },
          "serie": {
            "type": [
              "null",
              "string"
            ]
          },
          "ip": {
            "type": [
              "null",
              "string"
            ]
          },
          "mac": {
            "type": [
              "null",
              "string"
            ]
          },
          "conexao": {
            "type": "string"
          },
          "contador": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "contadorEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "contadorRegua": {
            "type": [
              "null",
              "string"
            ]
          },
          "vistaPor": {
            "type": [
              "null",
              "string"
            ]
          },
          "vistaPorLigado": {
            "type": "boolean"
          },
          "primeiroVistoEm": {
            "type": "string",
            "format": "date-time"
          },
          "ultimoVistoEm": {
            "type": "string",
            "format": "date-time"
          },
          "vistaHaSegundos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "nova": {
            "type": "boolean"
          },
          "setorId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "setor": {
            "type": [
              "null",
              "string"
            ]
          },
          "estado": {
            "type": "string"
          },
          "frase": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "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"
            }
          }
        }
      },
      "InfDoZip": {
        "required": [
          "caminho",
          "arquitetura",
          "fabricante",
          "drivers"
        ],
        "type": "object",
        "properties": {
          "caminho": {
            "type": "string"
          },
          "arquitetura": {
            "type": [
              "null",
              "string"
            ]
          },
          "fabricante": {
            "type": [
              "null",
              "string"
            ]
          },
          "drivers": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "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"
            ]
          }
        }
      },
      "ItemDaFaturaDaLista": {
        "required": [
          "id",
          "contrato",
          "descricao",
          "quantidade",
          "valorUnitarioCentavos",
          "valorCentavos",
          "impressoras"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "contrato": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "descricao": {
            "type": "string"
          },
          "quantidade": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "valorUnitarioCentavos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "valorCentavos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "impressoras": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ImpressoraDaFatura"
            }
          }
        }
      },
      "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"
          }
        }
      },
      "ItemEnviado": {
        "required": [
          "descricao",
          "quantidade",
          "valorUnitarioCentavos"
        ],
        "type": "object",
        "properties": {
          "descricao": {
            "type": [
              "null",
              "string"
            ]
          },
          "quantidade": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "valorUnitarioCentavos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "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"
          }
        }
      },
      "LiberacaoDaPessoa": {
        "required": [
          "id",
          "nome",
          "email",
          "setor",
          "ativa",
          "cotaMensal",
          "usadoNoMes",
          "temConta",
          "impressoras"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "nome": {
            "type": "string"
          },
          "email": {
            "type": [
              "null",
              "string"
            ]
          },
          "setor": {
            "type": [
              "null",
              "string"
            ]
          },
          "ativa": {
            "type": "boolean"
          },
          "cotaMensal": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "usadoNoMes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "temConta": {
            "type": "boolean"
          },
          "impressoras": {
            "type": "array",
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            }
          }
        }
      },
      "LiberacoesDasPessoas": {
        "required": [
          "impressoras",
          "pessoas"
        ],
        "type": "object",
        "properties": {
          "impressoras": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ImpressoraDaLiberacao"
            }
          },
          "pessoas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/LiberacaoDaPessoa"
            }
          }
        }
      },
      "ListaDeComputadores": {
        "required": [
          "agora",
          "contagem",
          "pagina"
        ],
        "type": "object",
        "properties": {
          "agora": {
            "type": "string",
            "format": "date-time"
          },
          "contagem": {
            "$ref": "#/components/schemas/ContagemDeComputadores"
          },
          "pagina": {
            "$ref": "#/components/schemas/PaginaOfComputadorDaLista"
          }
        }
      },
      "ListaDeFaturas": {
        "required": [
          "faturas",
          "resumo"
        ],
        "type": "object",
        "properties": {
          "faturas": {
            "$ref": "#/components/schemas/PaginaOfFaturaDaLista"
          },
          "resumo": {
            "$ref": "#/components/schemas/ResumoDasFaturas"
          }
        }
      },
      "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"
          }
        }
      },
      "ListaDeTreinamentos": {
        "required": [
          "podeGerir",
          "envioLigado",
          "itens"
        ],
        "type": "object",
        "properties": {
          "podeGerir": {
            "type": "boolean"
          },
          "envioLigado": {
            "type": "boolean"
          },
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TreinamentoDaLista"
            }
          }
        }
      },
      "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"
          },
          "semLeitura": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32",
            "default": 0
          }
        }
      },
      "LoteDeControleDeTrabalho": {
        "required": [
          "ids",
          "ligar"
        ],
        "type": "object",
        "properties": {
          "ids": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            }
          },
          "ligar": {
            "type": "boolean"
          },
          "usuario": {
            "type": [
              "null",
              "string"
            ]
          },
          "senha": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "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"
            ]
          }
        }
      },
      "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"
          }
        }
      },
      "MeuCodigoNaImpressora": {
        "required": [
          "impressoraId",
          "impressora",
          "setor",
          "modelo",
          "conexao",
          "exigePin",
          "podeImprimir",
          "ativa",
          "pin",
          "cotaMensal",
          "saldo"
        ],
        "type": "object",
        "properties": {
          "impressoraId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "impressora": {
            "type": "string"
          },
          "setor": {
            "type": [
              "null",
              "string"
            ]
          },
          "modelo": {
            "type": [
              "null",
              "string"
            ]
          },
          "conexao": {
            "type": "string"
          },
          "exigePin": {
            "type": "boolean"
          },
          "podeImprimir": {
            "type": "boolean"
          },
          "ativa": {
            "type": "boolean"
          },
          "pin": {
            "type": [
              "null",
              "string"
            ]
          },
          "cotaMensal": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "saldo": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "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"
            }
          },
          "senhaEOCodigo": {
            "type": "boolean",
            "default": false
          }
        }
      },
      "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"
          }
        }
      },
      "ModeloDoDriverDaLista": {
        "required": [
          "pedaco",
          "nomeDoDriver"
        ],
        "type": "object",
        "properties": {
          "pedaco": {
            "type": "string"
          },
          "nomeDoDriver": {
            "type": "string"
          }
        }
      },
      "ModeloDoDriverEnviado": {
        "required": [
          "pedaco",
          "nomeDoDriver"
        ],
        "type": "object",
        "properties": {
          "pedaco": {
            "type": [
              "null",
              "string"
            ]
          },
          "nomeDoDriver": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "ModeloDoParque": {
        "required": [
          "marca",
          "modelo",
          "pedaco",
          "impressoras",
          "clientes",
          "driver",
          "nomeDoDriver"
        ],
        "type": "object",
        "properties": {
          "marca": {
            "type": "string"
          },
          "modelo": {
            "type": "string"
          },
          "pedaco": {
            "type": [
              "null",
              "string"
            ]
          },
          "impressoras": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "clientes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "driver": {
            "type": [
              "null",
              "string"
            ]
          },
          "nomeDoDriver": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "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"
          }
        }
      },
      "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"
          }
        }
      },
      "NotaEnviada": {
        "required": [
          "numero",
          "emitidaEm",
          "chave"
        ],
        "type": "object",
        "properties": {
          "numero": {
            "type": [
              "null",
              "string"
            ]
          },
          "emitidaEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date"
          },
          "chave": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "NumerosDoCliente": {
        "required": [
          "impressorasNoParque",
          "impressorasDeRede",
          "computadores",
          "pessoasAtivas",
          "setores"
        ],
        "type": "object",
        "properties": {
          "impressorasNoParque": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "impressorasDeRede": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "computadores": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "pessoasAtivas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "setores": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "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"
            ]
          }
        }
      },
      "OrdemDaProva": {
        "required": [
          "id",
          "computador",
          "fila",
          "situacao",
          "ok",
          "mensagem"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "computador": {
            "type": "string"
          },
          "fila": {
            "type": "string"
          },
          "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"
            ]
          },
          "tecnicoResponsavel": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TecnicoResponsavelResumo"
              }
            ]
          },
          "senhaEOCodigo": {
            "type": "boolean",
            "default": false
          }
        }
      },
      "PagadorDaLista": {
        "required": [
          "id",
          "tipo",
          "tenant",
          "cliente",
          "nome",
          "documento",
          "publico",
          "email",
          "whatsapp",
          "cep",
          "logradouro",
          "numero",
          "complemento",
          "bairro",
          "municipioIbge",
          "municipio",
          "diaVencimento",
          "empenho",
          "inscricaoMunicipal",
          "observacao",
          "ativo",
          "emAberto",
          "atrasadas"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "tipo": {
            "type": "string"
          },
          "tenant": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "cliente": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "nome": {
            "type": "string"
          },
          "documento": {
            "type": "string"
          },
          "publico": {
            "type": "boolean"
          },
          "email": {
            "type": [
              "null",
              "string"
            ]
          },
          "whatsapp": {
            "type": [
              "null",
              "string"
            ]
          },
          "cep": {
            "type": [
              "null",
              "string"
            ]
          },
          "logradouro": {
            "type": [
              "null",
              "string"
            ]
          },
          "numero": {
            "type": [
              "null",
              "string"
            ]
          },
          "complemento": {
            "type": [
              "null",
              "string"
            ]
          },
          "bairro": {
            "type": [
              "null",
              "string"
            ]
          },
          "municipioIbge": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "municipio": {
            "type": [
              "null",
              "string"
            ]
          },
          "diaVencimento": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "empenho": {
            "type": [
              "null",
              "string"
            ]
          },
          "inscricaoMunicipal": {
            "type": [
              "null",
              "string"
            ]
          },
          "observacao": {
            "type": [
              "null",
              "string"
            ]
          },
          "ativo": {
            "type": "boolean"
          },
          "emAberto": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "atrasadas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "PagadorEnviado": {
        "required": [
          "tenant",
          "cliente",
          "nome",
          "documento",
          "publico",
          "email",
          "whatsapp",
          "cep",
          "logradouro",
          "numero",
          "complemento",
          "bairro",
          "municipioIbge",
          "ativo"
        ],
        "type": "object",
        "properties": {
          "tenant": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "cliente": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "nome": {
            "type": [
              "null",
              "string"
            ]
          },
          "documento": {
            "type": [
              "null",
              "string"
            ]
          },
          "publico": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "email": {
            "type": [
              "null",
              "string"
            ]
          },
          "whatsapp": {
            "type": [
              "null",
              "string"
            ]
          },
          "cep": {
            "type": [
              "null",
              "string"
            ]
          },
          "logradouro": {
            "type": [
              "null",
              "string"
            ]
          },
          "numero": {
            "type": [
              "null",
              "string"
            ]
          },
          "complemento": {
            "type": [
              "null",
              "string"
            ]
          },
          "bairro": {
            "type": [
              "null",
              "string"
            ]
          },
          "municipioIbge": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "ativo": {
            "type": [
              "null",
              "boolean"
            ]
          },
          "diaVencimento": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int16"
          },
          "empenho": {
            "type": [
              "null",
              "string"
            ]
          },
          "inscricaoMunicipal": {
            "type": [
              "null",
              "string"
            ]
          },
          "observacao": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PaginaOfAchadoDaConferencia": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AchadoDaConferencia"
            }
          },
          "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"
          }
        }
      },
      "PaginaOfClienteDoFinanceiro": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClienteDoFinanceiro"
            }
          },
          "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"
          }
        }
      },
      "PaginaOfClienteNoPainel": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClienteNoPainel"
            }
          },
          "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"
          }
        }
      },
      "PaginaOfComputadorDaImpressoraEmRede": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ComputadorDaImpressoraEmRede"
            }
          },
          "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"
          }
        }
      },
      "PaginaOfContratoDeCobrancaDaLista": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ContratoDeCobrancaDaLista"
            }
          },
          "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"
          }
        }
      },
      "PaginaOfFaturaDaLista": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/FaturaDaLista"
            }
          },
          "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"
          }
        }
      },
      "PaginaOfImpressoraNoAssistente": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ImpressoraNoAssistente"
            }
          },
          "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"
          }
        }
      },
      "PaginaOfPagadorDaLista": {
        "required": [
          "itens",
          "total",
          "numero",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PagadorDaLista"
            }
          },
          "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"
          }
        }
      },
      "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"
          }
        }
      },
      "PaginasNoDia": {
        "required": [
          "dia",
          "paginas"
        ],
        "type": "object",
        "properties": {
          "dia": {
            "type": "string",
            "format": "date"
          },
          "paginas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          }
        }
      },
      "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"
          }
        }
      },
      "PainelDoAdministrador": {
        "required": [
          "valorPorImpressora",
          "impressoras",
          "rede",
          "usb",
          "total",
          "clientes",
          "clientesSemImpressora",
          "suspeitas",
          "revendas",
          "pagina"
        ],
        "type": "object",
        "properties": {
          "valorPorImpressora": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "impressoras": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "rede": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "usb": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "total": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          },
          "clientes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "clientesSemImpressora": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "suspeitas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "revendas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/RevendaNoPainel"
            }
          },
          "pagina": {
            "$ref": "#/components/schemas/PaginaOfClienteNoPainel"
          }
        }
      },
      "PainelDoFinanceiro": {
        "required": [
          "clientes",
          "resumo"
        ],
        "type": "object",
        "properties": {
          "clientes": {
            "$ref": "#/components/schemas/PaginaOfClienteDoFinanceiro"
          },
          "resumo": {
            "$ref": "#/components/schemas/ResumoDoMes"
          }
        }
      },
      "PapelAtribuivel": {
        "required": [
          "valor",
          "rotulo",
          "descricao",
          "pertenceAOrgao"
        ],
        "type": "object",
        "properties": {
          "valor": {
            "type": "string"
          },
          "rotulo": {
            "type": "string"
          },
          "descricao": {
            "type": "string"
          },
          "pertenceAOrgao": {
            "type": "boolean"
          },
          "podeSerDoTenantInteiro": {
            "type": "boolean",
            "default": false
          }
        }
      },
      "PareamentoParaLiberar": {
        "required": [
          "navegador",
          "ip",
          "criadoEm",
          "expiraEm",
          "segundos",
          "clientes"
        ],
        "type": "object",
        "properties": {
          "navegador": {
            "type": "string"
          },
          "ip": {
            "type": [
              "null",
              "string"
            ]
          },
          "criadoEm": {
            "type": "string",
            "format": "date-time"
          },
          "expiraEm": {
            "type": "string",
            "format": "date-time"
          },
          "segundos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "clientes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ClienteNoInstalador"
            }
          }
        }
      },
      "ParqueDoCliente": {
        "required": [
          "cliente",
          "impressoras"
        ],
        "type": "object",
        "properties": {
          "cliente": {
            "type": "string"
          },
          "impressoras": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "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"
            ]
          }
        }
      },
      "PedidoDeControleDeTrabalho": {
        "required": [
          "ligar"
        ],
        "type": "object",
        "properties": {
          "ligar": {
            "type": "boolean"
          },
          "usuario": {
            "type": [
              "null",
              "string"
            ]
          },
          "senha": {
            "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"
            ]
          },
          "lembrar": {
            "type": "boolean",
            "default": false
          }
        }
      },
      "PedidoDeEnvioDeDriver": {
        "required": [
          "nome",
          "tamanho"
        ],
        "type": "object",
        "properties": {
          "nome": {
            "type": [
              "null",
              "string"
            ]
          },
          "tamanho": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          }
        }
      },
      "PedidoDeEnvioDeVideo": {
        "required": [
          "nome"
        ],
        "type": "object",
        "properties": {
          "nome": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PedidoDeGerarFaturas": {
        "required": [
          "competencia"
        ],
        "type": "object",
        "properties": {
          "competencia": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PedidoDeLiberacao": {
        "required": [
          "orgao"
        ],
        "type": "object",
        "properties": {
          "orgao": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          }
        }
      },
      "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"
            ]
          }
        }
      },
      "PedidoDeQrs": {
        "required": [
          "ids"
        ],
        "type": "object",
        "properties": {
          "ids": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            }
          }
        }
      },
      "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"
          }
        }
      },
      "PedidoDeTecnicoEmMassa": {
        "required": [
          "clientes",
          "tecnico"
        ],
        "type": "object",
        "properties": {
          "clientes": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string",
              "format": "uuid"
            }
          },
          "tecnico": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          }
        }
      },
      "PedidoDeTecnicoResponsavel": {
        "required": [
          "tecnico"
        ],
        "type": "object",
        "properties": {
          "tecnico": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          },
          "celular": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "PedidoDeTenantDoOrgao": {
        "required": [
          "tenant"
        ],
        "type": "object",
        "properties": {
          "tenant": {
            "type": [
              "null",
              "string"
            ],
            "format": "uuid"
          }
        }
      },
      "PedidoDeTrocaAutomatica": {
        "required": [
          "ligado"
        ],
        "type": "object",
        "properties": {
          "ligado": {
            "type": "boolean"
          }
        }
      },
      "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"
            }
          }
        }
      },
      "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"
          }
        }
      },
      "PessoaLiberadaNaImpressora": {
        "required": [
          "id",
          "nome",
          "setor",
          "ativa"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "nome": {
            "type": "string"
          },
          "setor": {
            "type": [
              "null",
              "string"
            ]
          },
          "ativa": {
            "type": "boolean"
          }
        }
      },
      "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"
          }
        }
      },
      "PinEscolhido": {
        "required": [
          "pin"
        ],
        "type": "object",
        "properties": {
          "pin": {
            "type": [
              "null",
              "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"
          }
        }
      },
      "PlayerDoTreinamento": {
        "required": [
          "fonte",
          "url"
        ],
        "type": "object",
        "properties": {
          "fonte": {
            "type": "string"
          },
          "url": {
            "type": "string"
          }
        }
      },
      "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"
          }
        }
      },
      "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"
            ]
          }
        }
      },
      "ProvaDaIdentificacao": {
        "required": [
          "caminho",
          "frase",
          "contadorInicial",
          "contadorAntes",
          "contadorDepois",
          "trabalho",
          "ordem"
        ],
        "type": "object",
        "properties": {
          "caminho": {
            "type": "string"
          },
          "frase": {
            "type": "string"
          },
          "contadorInicial": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "contadorAntes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "contadorDepois": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "trabalho": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TrabalhoDeImpressaoDaLista"
              }
            ]
          },
          "ordem": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/OrdemDaProva"
              }
            ]
          }
        }
      },
      "QrDaImpressora": {
        "required": [
          "impressoraId",
          "nome",
          "setor",
          "modelo",
          "codigo",
          "criadoEm"
        ],
        "type": "object",
        "properties": {
          "impressoraId": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "nome": {
            "type": "string"
          },
          "setor": {
            "type": [
              "null",
              "string"
            ]
          },
          "modelo": {
            "type": [
              "null",
              "string"
            ]
          },
          "codigo": {
            "type": "string"
          },
          "criadoEm": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "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"
          }
        }
      },
      "QuemImprimeNaImpressoraDaTela": {
        "required": [
          "restrita",
          "exigePin",
          "setores",
          "pessoas"
        ],
        "type": "object",
        "properties": {
          "restrita": {
            "type": "boolean"
          },
          "exigePin": {
            "type": "boolean"
          },
          "setores": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/SetorQueImprime"
            }
          },
          "pessoas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PessoaLiberadaNaImpressora"
            }
          }
        }
      },
      "QuemImprimeNaImpressoraEnviado": {
        "required": [
          "setores",
          "pessoas"
        ],
        "type": "object",
        "properties": {
          "setores": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            }
          },
          "pessoas": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            }
          }
        }
      },
      "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"
          }
        }
      },
      "ResumoDasFaturas": {
        "required": [
          "abertasCentavos",
          "atrasadasCentavos",
          "recebidasNoMesCentavos"
        ],
        "type": "object",
        "properties": {
          "abertasCentavos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "atrasadasCentavos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "recebidasNoMesCentavos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "ResumoDoMes": {
        "required": [
          "competencia",
          "previstoCentavos",
          "faturadoCentavos",
          "recebidoCentavos",
          "emAbertoCentavos",
          "atrasadoCentavos",
          "clientes",
          "semFatura"
        ],
        "type": "object",
        "properties": {
          "competencia": {
            "type": "string"
          },
          "previstoCentavos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "faturadoCentavos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "recebidoCentavos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "emAbertoCentavos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "atrasadoCentavos": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "clientes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "semFatura": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "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"
            ]
          }
        }
      },
      "RevendaNoPainel": {
        "required": [
          "nome",
          "clientes",
          "impressoras",
          "valor"
        ],
        "type": "object",
        "properties": {
          "nome": {
            "type": "string"
          },
          "clientes": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "impressoras": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "valor": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "number",
              "string"
            ],
            "format": "double"
          }
        }
      },
      "RitmoDaImpressora": {
        "required": [
          "dias",
          "mediaPorDia",
          "leituras",
          "primeiraLeituraEm"
        ],
        "type": "object",
        "properties": {
          "dias": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PaginasNoDia"
            }
          },
          "mediaPorDia": {
            "pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?$",
            "type": [
              "null",
              "number",
              "string"
            ],
            "format": "double"
          },
          "leituras": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "primeiraLeituraEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "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"
          }
        }
      },
      "SecaoDeCapacidades": {
        "required": [
          "titulo",
          "resumo",
          "itens"
        ],
        "type": "object",
        "properties": {
          "titulo": {
            "type": "string"
          },
          "resumo": {
            "type": "string"
          },
          "itens": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "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"
          }
        }
      },
      "SerieNoAssistente": {
        "required": [
          "serie",
          "estado",
          "frase",
          "impressora"
        ],
        "type": "object",
        "properties": {
          "serie": {
            "type": [
              "null",
              "string"
            ]
          },
          "estado": {
            "type": "string"
          },
          "frase": {
            "type": "string"
          },
          "impressora": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/ImpressoraNoAssistente"
              }
            ]
          }
        }
      },
      "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"
            ]
          }
        }
      },
      "SetorQueImprime": {
        "required": [
          "id",
          "nome",
          "pessoas"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "nome": {
            "type": "string"
          },
          "pessoas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "SincronizarControleDeTrabalho": {
        "required": [
          "ids"
        ],
        "type": "object",
        "properties": {
          "ids": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "pattern": "^-?(?:0|[1-9]\\d*)$",
              "type": [
                "integer",
                "string"
              ],
              "format": "int64"
            }
          }
        }
      },
      "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"
            ]
          }
        }
      },
      "SugestaoDeModelo": {
        "required": [
          "pedaco",
          "nomeDoDriver",
          "modeloNoParque",
          "impressoras"
        ],
        "type": "object",
        "properties": {
          "pedaco": {
            "type": "string"
          },
          "nomeDoDriver": {
            "type": "string"
          },
          "modeloNoParque": {
            "type": "string"
          },
          "impressoras": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          }
        }
      },
      "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"
          }
        }
      },
      "TecnicoDoTenant": {
        "required": [
          "codigo",
          "nome",
          "email",
          "papel",
          "celular"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string",
            "format": "uuid"
          },
          "nome": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "papel": {
            "type": "string"
          },
          "celular": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "TecnicoEmMassa": {
        "required": [
          "alterados"
        ],
        "type": "object",
        "properties": {
          "alterados": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "TecnicoResponsavelDoOrgao": {
        "required": [
          "atual",
          "opcoes"
        ],
        "type": "object",
        "properties": {
          "atual": {
            "oneOf": [
              {
                "type": "null"
              },
              {
                "$ref": "#/components/schemas/TecnicoDoTenant"
              }
            ]
          },
          "opcoes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/TecnicoDoTenant"
            }
          }
        }
      },
      "TecnicoResponsavelResumo": {
        "required": [
          "codigo",
          "nome"
        ],
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string",
            "format": "uuid"
          },
          "nome": {
            "type": "string"
          }
        }
      },
      "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"
          },
          "razaoSocial": {
            "type": [
              "null",
              "string"
            ]
          },
          "endereco": {
            "type": [
              "null",
              "string"
            ]
          },
          "telefone": {
            "type": [
              "null",
              "string"
            ]
          },
          "email": {
            "type": [
              "null",
              "string"
            ]
          },
          "logoAtualizadoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          }
        }
      },
      "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"
          },
          "consumoPb": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "consumoCor": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int64"
          }
        }
      },
      "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"
            ]
          }
        }
      },
      "TreinamentoDaLista": {
        "required": [
          "id",
          "titulo",
          "descricao",
          "publico",
          "fonte",
          "video",
          "paineis",
          "orientacao",
          "ordem",
          "publicado",
          "miniatura",
          "atualizadoEm"
        ],
        "type": "object",
        "properties": {
          "id": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "titulo": {
            "type": "string"
          },
          "descricao": {
            "type": "string"
          },
          "publico": {
            "type": "string"
          },
          "fonte": {
            "type": "string"
          },
          "video": {
            "type": "string"
          },
          "paineis": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "orientacao": {
            "type": "string"
          },
          "ordem": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "publicado": {
            "type": "boolean"
          },
          "miniatura": {
            "type": [
              "null",
              "string"
            ]
          },
          "atualizadoEm": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "TreinamentoEnviado": {
        "required": [
          "titulo",
          "descricao",
          "publico",
          "fonte",
          "video",
          "paineis",
          "orientacao",
          "ordem",
          "publicado"
        ],
        "type": "object",
        "properties": {
          "titulo": {
            "type": [
              "null",
              "string"
            ]
          },
          "descricao": {
            "type": [
              "null",
              "string"
            ]
          },
          "publico": {
            "type": [
              "null",
              "string"
            ]
          },
          "fonte": {
            "type": [
              "null",
              "string"
            ]
          },
          "video": {
            "type": [
              "null",
              "string"
            ]
          },
          "paineis": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "orientacao": {
            "type": [
              "null",
              "string"
            ]
          },
          "ordem": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "null",
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "publicado": {
            "type": [
              "null",
              "boolean"
            ]
          }
        }
      },
      "TrocaDaFila": {
        "required": [
          "comando",
          "estado",
          "pedidoEm",
          "concluidoEm",
          "mensagem"
        ],
        "type": "object",
        "properties": {
          "comando": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int64"
          },
          "estado": {
            "type": "string"
          },
          "pedidoEm": {
            "type": "string",
            "format": "date-time"
          },
          "concluidoEm": {
            "type": [
              "null",
              "string"
            ],
            "format": "date-time"
          },
          "mensagem": {
            "type": [
              "null",
              "string"
            ]
          }
        }
      },
      "TrocaDeChavesDoOrgao": {
        "required": [
          "pedidas",
          "esperandoAgente"
        ],
        "type": "object",
        "properties": {
          "pedidas": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          },
          "esperandoAgente": {
            "pattern": "^-?(?:0|[1-9]\\d*)$",
            "type": [
              "integer",
              "string"
            ],
            "format": "int32"
          }
        }
      },
      "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"
            ]
          },
          "podeCadastrarClientes": {
            "type": "boolean",
            "default": false
          },
          "podeInstalarOAgente": {
            "type": "boolean",
            "default": false
          }
        }
      },
      "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"
            ]
          },
          "todosOsClientes": {
            "type": "boolean",
            "default": false
          }
        }
      },
      "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": "Resumo"
    },
    {
      "name": "Usuários"
    },
    {
      "name": "Perfil"
    },
    {
      "name": "Base pública"
    },
    {
      "name": "Módulos"
    },
    {
      "name": "Senha"
    },
    {
      "name": "Painéis"
    },
    {
      "name": "Treinamentos"
    },
    {
      "name": "Drivers de impressora"
    },
    {
      "name": "Financeiro"
    },
    {
      "name": "Gestão de TI · Liberar pelo QR Code"
    },
    {
      "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"
    }
  ]
}