{
  "openapi": "3.0.1",
  "info": {
    "title": "Digiploma",
    "description": "<!--------------------------------------------------------------------------------------------------------------------->\r\n\r\n<h2>Introdução</h2>\r\n\r\n<p>\r\n\tEstá aplicação permite a criação, assinatura e validação de diplomas digitais de acordo com o os requisitos publicados na portaria MEC nº 554/2019.\r\n\tA assinatura do diploma é gerenciada pelo módulo externo de assinaturas (Assinador).\r\n</p>\r\n\r\n<br />\r\n<!--------------------------------------------------------------------------------------------------------------------->\r\n\r\n<h2>Autenticação</h2>\r\n\r\n<p>\r\n\tTodas as chamadas de API exigem uma chave de acesso de API (API Key). Essa chave deve ser colocada no cabeçalho de todas requisições:\r\n</p>\r\n\r\n<br />\r\n<pre>X-Api-Key: your-app|xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</pre>\r\n<br />\r\n\r\n<p>\r\n\tToda chave de API está associada uma Organização previamente cadastrada. Sendo assim, o escopo dessa chave fica restrito àquela organização,\r\n\tisto é, aquela chave só permitirá acessar/criar diplomas naquela organização.\r\n</p>\r\n\r\n<p>\r\n\tEntre em contato com o administrador para obter uma chave de API.\r\n</p>\r\n\r\n<br />\r\n\r\n<!--------------------------------------------------------------------------------------------------------------------->\r\n<h2>Validação de diplomas</h2>\r\n\r\n<p>\r\n\tAs APIs para validação de diplomas são públicas e não exigem autenticação, isto é não necessitam de uma chave de API.\r\n</p>\r\n\r\n<br />\r\n<ul>\r\n\t<li>\r\n\t\t<a href=\"#operations-Degrees-get_api_degrees__code__validation\">Consulta de diploma</a>: informe o código de validação do diploma para validá-lo.\r\n\t\tOs dados públicos do diploma serão retornados caso ele seja válido.\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\t<a href=\"#operations-Degrees-get_api_degrees__code__validation_visual_representation\">Representação visual do diploma</a>: uma vez validado o diploma, a representação visual\r\n\t\tpode ser obtida utilizando o código de validação.\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\t<a href=\"#operations-Degrees-get_api_degrees__code__validation_xml\">XML de dados públicos</a>: uma vez validado o diploma, o arquivo XML de dados públicos do diploma\r\n\t\tpode ser obtido utilizando o código de validação.\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n</ul>\r\n\r\n\r\n<br />\r\n<!--------------------------------------------------------------------------------------------------------------------->\r\n\r\n<h1>Emissão</h1>\r\n\r\n<p>Esta seção descreve o fluxo para a IES que deseja fazer apenas a emissão de diplomas.</p>\r\n\r\n<p>Ao final do fluxo, será gerado também o histórico escolar final do aluno.</p>\r\n\r\n<h2>Criação de emissões</h2>\r\n\r\n<p>Para emitir um ou mais diplomas devem ser seguidos os passos abaixo:</p>\r\n\r\n<ol>\r\n\t<li>\r\n\t\t<a href=\"#set-signer-api-key-emission\">\r\n\t\t\tConfiguração da chave de API do Assinador\r\n\t\t</a>\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\t<a href=\"#create-template-emission\">\r\n\t\t\tCriação de um modelo de diploma (opcional)\r\n\t\t</a>\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\t<a href=\"#create-academic-transcript-template-emission\">\r\n\t\t\tCriação de um modelo de histórico escolar\r\n\t\t</a>\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\t<a href=\"#create-flow-emission\">\r\n\t\t\tCriação de fluxo de assinatura (opcional)\r\n\t\t</a>\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\t<a href=\"#create-batch-emission\">\r\n\t\t\tCriação de um lote\r\n\t\t</a>\r\n\t\tou\r\n\t\t<span>\r\n\t\t\tEmissão unitária de diploma (em breve)\r\n\t\t</span>\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\t<a href=\"#get-academic-doc\">\r\n\t\t\tObtenção do XML de documentação acadêmica\r\n\t\t</a>\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\t<a href=\"#upload-degree-xml\">\r\n\t\t\tEnvio do XML de dados públicos\r\n\t\t</a>\r\n\t</li>\r\n</ol>\r\n\r\n<br />\r\n\r\n<h3 id=\"set-signer-api-key-emission\">Configuração da chave de API do Assinador</h3>\r\n\r\n<p>\r\n\tEste passo deve ser feito no Painel de Configurações da aplicação.\r\n</p>\r\n\r\n<p>\r\n\tEntre em contato com o administrador da instância do Assinador utilizada em conjunto com esta aplicação para obter uma chave de API do assinador que\r\n\tpermitirá o envio e assinatura dos arquivos XML de diploma no assinador.\r\n</p>\r\n\r\n<br />\r\n<h3 id=\"create-template-emission\">Criação de um modelo de diploma</h3>\r\n\r\n<p>\r\n\tOs modelos definem como será a representação visual de cada diploma digital (RVDD). Para emissões, ele não é obrigatório (nesse caso, o diploma, uma vez emitido, não possuirá RVDD).\r\n</p>\r\n\r\n<p>\r\n\tUm modelo é um arquivo PDF Form com campos que serão preenchidos com os dados diploma. Todos os dados especificados na portaria MEC nº 554/2019 estarão\r\n\tdisponíveis para serem aplicados na representação visual. A tela de Criação de Modelo tem mais informações sobre como referenciar campos no modelo.\r\n</p>\r\n\r\n<p>\r\n\tUm exemplo de modelo <a href=\"/assets/files/template_v2.pdf\" target=\"_blank\">pode ser encontrado aqui</a>.\r\n</p>\r\n\r\n<p>\r\n\tPara criar um modelo utilize a <a href=\"#operations-Templates-post_api_templates\">API de criação de modelo</a>.\r\n</p>\r\n\r\n<br />\r\n<h3 id=\"create-academic-transcript-template-emission\">Criação de um modelo de histórico escolar</h3>\r\n\r\n<p>\r\n\tOs modelos de histórico escolar definem como será a representação visual de cada histórico escolar (RVHE).\r\n</p>\r\n\r\n<p>\r\n\tUm modelo de histórico escolar é um arquivo PDF com uma página e orientação em retrato com o cabeçalho contendo informações sobre a IES,\r\n\tcomo nome, endereço, informações sobre ato regulatório e a logo (opcional). A geração da representação visual do histórico escolar\r\n\tsegue o Artigo 17 da portaria MEC nº 1095/2018.\r\n</p>\r\n\r\n<p>\r\n\tUm exemplo de modelo <a href=\"/assets/files/academic_transcript_template.pdf\" target=\"_blank\">pode ser encontrado\r\n\t\taqui</a>.\r\n</p>\r\n\r\n<p>\r\n\tPara criar um modelo utilize a <a href=\"#operations-Templates-post_api_templates\">API de criação de modelo</a>.\r\n</p>\r\n\r\n<br />\r\n<h3 id=\"create-flow-emission\">Criação de fluxo de assinatura de emissão (opcional)</h3>\r\n\r\n<p>\r\n\tOs fluxos de assinatura definem os signatários do XML de documentação acadêmica de cada diploma e do XML do histórico escolar.\r\n</p>\r\n\r\n<p>Seguem as especificações:</p>\r\n\r\n<ul>\r\n\t<li>Toda emissão deve ser assinada por um ou mais representantes da IES emissora (com certificado e-CPF) e pela própria IES emissora através de seu certificado digital institucional (certificado e-CNPJ).</li>\t\r\n\t<li>Todo histórico deve ser assinado pela própria IES emissora através de seu certificado digital institucional (certificado e-CNPJ). É opcional o histórico escolar ser assinado por representante da IES emissora (com certificado e-CPF).</li>\r\n</ul>\r\n\r\n<p>\r\n\tPara criar um fluxo, utilize a <a href=\"#operations-Flows-post_api_flows\">API de criação de fluxo</a> especificando o <span class=\"parameter__type\">type</span> como <span class=\"parameter__type\">Emission</span>.\r\n</p>\r\n\r\n<p>\r\n\tA criação de um fluxo não é obrigatória, é apenas uma facilidade para não ter que preencher todos os signatários no momento da criação de um lote de emissão.\r\n</p>\r\n\r\n<br />\r\n\r\n<h3 id=\"create-batch-emission\">Criação de um lote</h3>\r\n\r\n<p>\r\n\tPara criar um lote, será preciso um arquivo JSON com os dados das emissões. Cada entrada do arquivo corresponderá a um diploma e deve possuir todos os dados\r\n\tespecificados para a documentação acadêmica do Aluno na portaria MEC nº 554/2019.\r\n</p>\r\n\r\n<p>\r\n\tUm exemplo do arquivo JSON <a href=\"/assets/files/emission-json-template3.json\" target=\"_blank\">pode ser encontrado aqui</a>.\r\n</p>\r\n\r\n<ul>\r\n\t<li>\r\n\t\tAntes da criação do lote, o arquivo deve ser enviado utilizando a <a href=\"#operations-Upload-post_api_uploads\">API de Upload</a>.\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\tAntes de criar o lote, recomenda-se utilizar a <a href=\"#operations-Batches-post_api_batches_emissions_file\">API de validação</a> para validar\r\n\t\ta consistência dos dados do arquivo.\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\tUma vez validado o arquivo, utilize a <a href=\"#operations-Batches-post_api_batches\">API de criação de lote</a> para criar diplomas.\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\tAo criar o lote, serão gerados os arquivos XML de documentação acadêmica. Eles serão enviados imediatamente para o Assinador para que recebam as\r\n\t\tassinaturas da IES Emissora.\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\tNa criação, pode ser especificada uma pasta de destino para os documentos gerados no Assinador com o parâmetro <span class=\"parameter__type\">newFolderName</span> caso a pasta ainda\r\n\t\tnão exista ou o parâmetro <span class=\"parameter__type\">signerFolderId</span> caso já exista.\r\n\t</li>\r\n</ul>\r\n\r\n<p>\r\n\tNa criação do lote deve ser especificado como será realizado o registro das emissões no campo <span class=\"parameter__type\">emission.registrationType</span>. As opções estão descritas abaixo:\r\n</p>\r\n\r\n<ol>\r\n\t<li>\r\n\t\tManual (fora do sistema) (<span class=\"parameter__type\">Manual</span>): nessa modalidade, o XML da documentação acadêmica deve ser enviado manualmente para a IES\r\n\t\tRegistradora. Uma vez processado pela registradora, ela enviará à emissora o XML de dados públicos que deve ser anexado à emissão de maneira manual para a\r\n\t\tcriação do diploma digital.\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\tRegistradora credenciada (<span class=\"parameter__type\">Subscription</span>): nessa modalidade, o XML da documentação acadêmica é automaticamente enviado para uma IES Registradora cadastrada no\r\n\t\tsistema. Dessa forma, é possível acompanhar, pela emissão, o status do registro e, uma vez concluído, o diploma digital é gerado automaticamente sem necessidade\r\n\t\tde intervenção da IES Emissora.\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\tIntegração (<span class=\"parameter__type\">Integration</span>): essa modalidade é semelhante à opção anterior, porém permite que as IES Emissora e a Registradora\r\n\t\tutilizem instâncias apartadas (isto é, sejam aplicações separadas). Exemplo: essa configuração permite integração entre a aplicação www.diplomas.emissora.com.br\r\n\t\te a aplicação www.diplomas.registradora.com.br.\r\n\t</li>\r\n</ol>\r\n\r\n<br />\r\n<h3 id=\"get-academic-doc\">Obtenção do XML de documentação acadêmica</h3>\r\n\r\n<p>\r\n\tUtilize a <a href=\"#operations-Emissions-get_api_emissions__id__academic_documentation_ticket\">API de geração de ticket de documentação acadêmica</a> para obter o arquivo XML assinado.\r\n</p>\r\n\r\n<br />\r\n\r\n<h3 id=\"upload-degree-xml\">Envio do XML de dados públicos</h3>\r\n\r\n<p>\r\n\tPara completar a emissão do diploma, na modalidade manual, utilize a <a href=\"#operations-Emissions-post_api_emissions__id__degree_xml\">API de envio de XML de dados públicos</a>.\r\n</p>\r\n\r\n<br />\r\n<!--------------------------------------------------------------------------------------------------------------------->\r\n\r\n<h1>Registro</h1>\r\n\r\n<p>Esta seção descreve o fluxo para a IES que deseja fazer apenas o registro de diplomas.</p>\r\n\r\n<h2>Criação de requisições de registro</h2>\r\n\r\n<p>Para criar uma requisição de registro devem ser seguidos os passos abaixo:</p>\r\n\r\n<ol>\r\n\t<li>\r\n\t\t<a href=\"#set-signer-api-key-reg\">\r\n\t\t\tConfiguração da chave de API do Assinador\r\n\t\t</a>\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\t<a href=\"#create-flow-reg\">\r\n\t\t\tCriação de fluxo de assinatura (opcional)\r\n\t\t</a>\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\t<a href=\"#create-batch-reg\">\r\n\t\t\tCriação de um lote\r\n\t\t</a>\r\n\t\tou\r\n\t\t<span>\r\n\t\t\tCriação de requisição de registro de diploma unitária (em breve)\r\n\t\t</span>\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\t<a href=\"#review-registration\">\r\n\t\t\tRevisão da requisição de registro\r\n\t\t</a>\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\t<a href=\"#register-registration\">\r\n\t\t\tRegistro da requisição de registro\r\n\t\t</a>\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\t<a href=\"#get-degree-xml\">\r\n\t\t\tObtenção do XML de dados públicos do diploma\r\n\t\t</a>\r\n\t</li>\r\n</ol>\r\n\r\n<br />\r\n\r\n<h3 id=\"set-signer-api-key-reg\">Configuração da chave de API do Assinador</h3>\r\n\r\n<p>\r\n\tEste passo deve ser feito no Painel de Configurações da aplicação.\r\n</p>\r\n\r\n<p>\r\n\tEntre em contato com o administrador da instância do Assinador utilizada em conjunto com esta aplicação para obter uma chave de API do assinador que\r\n\tpermitirá o envio e assinatura dos arquivos XML de diploma no assinador.\r\n</p>\r\n\r\n<br />\r\n<h3 id=\"create-flow-reg\">Criação de fluxo de assinatura de registro (opcional)</h3>\r\n\r\n<p>\r\n\tOs fluxos de assinatura definem os signatários do XML de dados públicos de cada diploma.\r\n</p>\r\n\r\n<p>\r\n\tToda emissão deve ser assinada por um ou mais representantes da IES Registradora (com certificado e-CPF) e pela própria IES Registradora através de seu certificado\r\n\tdigital institucional (certificado e-CNPJ).\r\n</p>\r\n\r\n<p>\r\n\tPara criar um fluxo, utilize a <a href=\"#operations-Flows-post_api_flows\">API de criação de fluxo</a> especificando o <span class=\"parameter__type\">type</span> como <span class=\"parameter__type\">Registration</span>.\r\n</p>\r\n\r\n<p>\r\n\tA criação de um fluxo não é obrigatória, é apenas uma facilidade para não ter que preencher todos os signatários no momento da criação de um lote de requisições de registro.\r\n</p>\r\n\r\n<br />\r\n\r\n<h3 id=\"create-batch-reg\">Criação de um lote</h3>\r\n\r\n<p>\r\n\tPara criar um lote, será preciso um conjunto de arquivos XML de documentação acadêmica assinados. Esses arquivos devem ser encaminhados pela IES Emissora e cada arquivo\r\n\tcorresponderá a um diploma.\r\n</p>\r\n\r\n<ul>\r\n\t<li>\r\n\t\tAntes da criação do lote, os arquivos deve ser enviado utilizando a <a href=\"#operations-Upload-post_api_uploads\">API de Upload</a>.\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\tUtilize a <a href=\"#operations-Batches-post_api_batches\">API de criação de lote</a> para criar as requisições de registro.\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\tNa criação, pode ser especificada uma pasta de destino para os documentos gerados no Assinador com o parâmetro <span class=\"parameter__type\">newFolderName</span> caso a pasta ainda\r\n\t\tnão exista ou o parâmetro <span class=\"parameter__type\">signerFolderId</span> caso já exista.\r\n\t</li>\r\n</ul>\r\n\r\n<br />\r\n<h3 id=\"review-registration\">Revisão da requisição de registro</h3>\r\n\r\n<p>\r\n\tUma vez criada a a requisição de registro, ela deve ser validada para verificar se os dados do aluno conferem com a documentação comprobatória.\r\n\tUtilize a <a href=\"#operations-Registrations-get_api_registrations__id__info\">API de informações da requisição de registro</a>\r\n\tpara obter todas informações referentes a essa validação.\r\n</p>\r\n\r\n<p>\r\n\tApós a validação das informações, utilize a <a href=\"#operations-Registrations-post_api_registrations__id__approval\">API de aprovação</a> ou a\r\n\t<a href=\"#operations-Registrations-post_api_registrations__id__rejection\">API de recusa</a> para concluir o processo de revisão.\r\n</p>\r\n\r\n<br />\r\n<h3 id=\"register-registration\">Registro da requisição de registro</h3>\r\n\r\n<p>\r\n\tCaso a requisição seja aprovada, deve ser feito o registro informando os dados de registro na \r\n\t<a href=\"#operations-Registrations-post_api_registrations__id__registration_data\">API de registro de requisição</a>.\r\n</p>\r\n\r\n<p>\r\n\tUma vez informados os dados de registro, o sistema gerará o XML de dados públicos. Ele será enviado ao Assinador para a coleta das assinaturas de registro.\r\n</p>\r\n\r\n<br />\r\n<h3 id=\"get-degree-xml\">Obtenção do XML de dados públicos do diploma</h3>\r\n\r\n<p>\r\n\tUtilize a <a href=\"#operations-Registrations-get_api_registrations__id__xml_ticket\">API de geração de ticket de dados públicos</a> para obter o arquivo XML assinado.\r\n</p>\r\n\r\n<p>\r\n\tEste arquivo deve ser enviado à IES Emissora para possibilitar a criação do diploma digital.\r\n</p>\r\n\r\n<br />\r\n<!--------------------------------------------------------------------------------------------------------------------->\r\n\r\n<h1>Emissão e Registro</h1>\r\n<p>\r\n\tEsta seção descreve o fluxo para a IES que deseja fazer emissão e registro em paralelo. Assume-se que no início do fluxo todas as etapas de emissão e registro já\r\n\tforam realizadas internamente pela IES e ela deseja apenas formalizar o processo de acordo com a regulamentação do MEC.\r\n</p>\r\n\r\n<p>Será gerado também o histórico escolar final do aluno.</p>\r\n\r\n<h2>Criação de diplomas</h2>\r\n\r\n<p>Para criar um ou mais diplomas devem ser seguidos os passos abaixo:</p>\r\n\r\n<ol>\r\n\t<li>\r\n\t\t<a href=\"#set-signer-api-key\">\r\n\t\t\tConfiguração da chave de API do Assinador\r\n\t\t</a>\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\t<a href=\"#create-template\">\r\n\t\t\tCriação de um modelo de diploma\r\n\t\t</a>\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t\t<li>\r\n\t\t\t<a href=\"#create-academic-transcript-template\">\r\n\t\t\t\tCriação de um modelo de histórico escolar\r\n\t\t\t</a>\r\n\t\t\t<br />\r\n\t\t\t<br />\r\n\t\t</li>\r\n\t<li>\r\n\t\t<a href=\"#create-flow\">\r\n\t\t\tCriação de fluxo de assinatura (opcional)\r\n\t\t</a>\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\t<a href=\"#create-batch\">\r\n\t\t\tCriação de um lote\r\n\t\t</a>\r\n\t\tou\r\n\t\t<a href=\"#create-degree\">\r\n\t\t\tCriação unitária de diploma\r\n\t\t</a>\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\t<a href=\"#update-status\">\r\n\t\t\tCancelamento/Recuperação de um diploma\r\n\t\t</a>\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\t<a href=\"#get-history\">\r\n\t\t\tObtenção do histórico de atualizações\r\n\t\t</a>\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n</ol>\r\n\r\n<br />\r\n\r\n<h3 id=\"set-signer-api-key\">Configuração da chave de API do Assinador</h3>\r\n\r\n<p>\r\n\tEste passo deve ser feito no Painel de Configurações da aplicação.\r\n</p>\r\n\r\n<p>\r\n\tEntre em contato com o administrador da instância do Assinador utilizada em conjunto com esta aplicação para obter uma chave de API do assinador que\r\n\tpermitirá o envio e assinatura dos arquivos XML de diploma no assinador.\r\n</p>\r\n\r\n<br />\r\n<h3 id=\"create-template\">Criação de um modelo de diploma</h3>\r\n\r\n<p>\r\n\tOs modelos definem como será a representação visual de cada diploma.\r\n</p>\r\n\r\n<p>\r\n\tUm modelo é um arquivo PDF Form com campos que serão preenchidos com os dados diploma. Todos os dados especificados na portaria MEC nº 554/2019 estarão\r\n\tdisponíveis para serem aplicados na representação visual. A tela de Criação de Modelo tem mais informações sobre como referenciar campos no modelo.\r\n</p>\r\n\r\n<p>\r\n\tUm exemplo de modelo <a href=\"/assets/files/template_v2.pdf\" target=\"_blank\">pode ser encontrado aqui</a>.\r\n</p>\r\n\r\n<p>\r\n\tPara criar um modelo utilize a <a href=\"#operations-Templates-post_api_templates\">API de criação de modelo</a>.\r\n</p>\r\n\r\n<br />\r\n<h3 id=\"create-academic-transcript-template\">Criação de um modelo de histórico escolar</h3>\r\n\r\n<p>\r\n\tOs modelos de histórico escolar definem como será a representação visual de cada histórico escolar (RVHE).\r\n</p>\r\n\r\n<p>\r\n\tUm modelo de histórico escolar é um arquivo PDF com uma página e orientação em retrato com o cabeçalho contendo informações sobre a IES, como nome, endereço, informações sobre ato regulatório e a logo (opcional). A geração da representação visual do histórico escolar segue o Artigo 17 da portaria MEC nº 1095/2018.\r\n</p>\r\n\r\n<p>\r\n\tUm exemplo de modelo <a href=\"/assets/files/academic_transcript_template.pdf\" target=\"_blank\">pode ser encontrado aqui</a>.\r\n</p>\r\n\r\n<p>\r\n\tPara criar um modelo utilize a <a href=\"#operations-Templates-post_api_templates\">API de criação de modelo</a>.\r\n</p>\r\n\r\n<br />\r\n<h3 id=\"create-flow\">Criação de fluxo de assinatura (opcional)</h3>\r\n\r\n<p>\r\n\tOs fluxos de assinatura definem os signatários do XML de dados públicos de cada diploma.\r\n</p>\r\n\r\n<p>\r\n\tTodo diploma passa por 3 estágios de assinatura: Emissão, Registro, Armazenamento e Histórico escolar. Deve ser especificado os signatários de cada um dos estágios.\r\n</p>\r\n\r\n<p>\r\n\tPara criar um fluxo utilize a <a href=\"#operations-Flows-post_api_flows\">API de criação de fluxo</a>.\r\n</p>\r\n\r\n<p>\r\n\tA criação de um fluxo não é obrigatória, é apenas uma facilidade para não ter que preencher todos os signatários no momento da criação de um lote de diplomas.\r\n</p>\r\n\r\n<br />\r\n\r\n<h3 id=\"create-batch\">Criação de um lote</h3>\r\n\r\n<p>\r\n\tAntes de criar um lote é preciso ter cadastrado previamente um modelo que será utilizado para gerar a representação visual dos diplomas.\r\n</p>\r\n\r\n<p>\r\n\tPara criar um lote, será preciso um arquivo JSON ou CSV com os dados dos diplomas. Cada linha do arquivo CSV corresponderá a um diploma e ambos os tipos de arquivos devem possuir todos os dados\r\n\tespecificados na portaria MEC nº 554/2019.\r\n</p>\r\n\r\n<ul>\r\n\t<li>Um exemplo do arquivo JSON <a href=\"/assets/files/json-template5.json\" target=\"_blank\">pode ser encontrado aqui</a>.</li>\r\n\t<li>Um exemplo do arquivo CSV <a href=\"/assets/files/csv-template6.csv\" target=\"_blank\">pode ser encontrado aqui</a>.</li>\r\n</ul>\r\n\r\n<p>\r\n\tOs passos abaixo são para os dois tipos de arquivo, JSON ou CSV.\r\n</p>\r\n\r\n<ol>\r\n\t<li>\r\n\t\tAntes da criação do lote, o arquivo deve ser enviado utilizando a <a href=\"#operations-Upload-post_api_uploads\">API de Upload</a>.\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\tAntes de criar o lote, recomenda-se utilizar a <a href=\"#operations-Batches-post_api_batches_degrees_file\">API de validação</a> para validar\r\n\t\ta consistência dos dados do arquivo.\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\tUma vez validado o arquivo, utilize a <a href=\"#operations-Batches-post_api_batches\">API de criação de lote</a> para criar diplomas.\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\tNesse momento pode ser especificado uma pasta de destino para os documentos gerados no Assinador com o parâmetro <span class=\"parameter__type\">newFolderName</span> caso a pasta ainda\r\n\t\tnão exista ou o parâmetro <span class=\"parameter__type\">signerFolderId</span> caso já exista.\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n</ol>\r\n\r\n<br />\r\n\r\n<h3 id=\"create-degree\">Criação unitária de diploma</h3>\r\n\r\n<p>\r\n\tUma alternativa à criação de lotes é a criação unitária de diplomas com a <a href=\"#operations-Degrees-post_api_degrees\">API de criação de diploma</a>.\r\n</p>\r\n\r\n<br />\r\n\r\n<h3 id=\"update-status\">Cancelamento/Recuperação de um diploma</h3>\r\n\r\n<p>\r\n\tUtilize a <a href=\"#operations-Degrees-post_api_degrees__id__status\">API de atualização de status de diploma</a> para cancelar o restaurar um diploma.\r\n</p>\r\n\r\n<p>\r\n\tDiplomas cancelados antes da conclusão do processo de assinaturas não poderão ser restaurados.\r\n</p>\r\n\r\n<br />\r\n\r\n<h3 id=\"get-history\">Obtenção do Histórico de atualizações de um diploma</h3>\r\n\r\n<p>\r\n\tUtilize a <a href=\"#operations-Degrees-get_api_degrees__id__history\">API de histórico de diploma</a> para visualizar todas as alterações de status de um diploma.\r\n</p>\r\n\r\n<br />\r\n<!--------------------------------------------------------------------------------------------------------------------->\r\n<h1>Histórico Escolar</h1>\r\n<p>\r\n\tEsta seção descreve o fluxo para a IES que deseja realizar a emissão de um histórico escolar.\r\n</p>\r\n\r\n<h2>Criação de históricos escolares</h2>\r\n\r\n<p>Para emitir um ou mais históricos escolares devem ser seguidos os passos abaixo:</p>\r\n\r\n<ol>\r\n\t<li>\r\n\t\t<a href=\"#set-signer-api-key-academic-transcript\">\r\n\t\t\tConfiguração da chave de API do Assinador\r\n\t\t</a>\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\t<a href=\"#create-template-academic-transcript\">\r\n\t\t\tCriação de um modelo\r\n\t\t</a>\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\t<a href=\"#create-flow-academic-transcript\">\r\n\t\t\tCriação de fluxo de assinatura (opcional)\r\n\t\t</a>\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\t<a href=\"#create-batch-academic-transcript\">\r\n\t\t\tCriação de um lote\r\n\t\t</a>\r\n\t\tou\r\n\t\t<a href=\"#create-academic-transcript\">\r\n\t\t\tCriação unitária de histórico escolar\r\n\t\t</a>\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n</ol>\r\n\r\n<br />\r\n\r\n<h3 id=\"set-signer-api-key-academic-transcript\">Configuração da chave de API do Assinador</h3>\r\n\r\n<p>\r\n\tEste passo deve ser feito no Painel de Configurações da aplicação.\r\n</p>\r\n\r\n<p>\r\n\tEntre em contato com o administrador da instância do Assinador utilizada em conjunto com esta aplicação para obter uma chave de API do assinador que permitirá o envio e assinatura dos arquivos XML de histórico escolar no assinador.\r\n</p>\r\n\r\n<br />\r\n\r\n<h3 id=\"create-template-academic-transcript\">Criação de um modelo</h3>\r\n\r\n<p>\r\n\tOs modelos definem como será a representação visual de cada histórico escolar (RVHE).\r\n</p>\r\n\r\n<p>\r\n\tUm modelo é um arquivo PDF com uma página e orientação em retrato com o cabeçalho contendo informações sobre a IES,\r\n\tcomo nome, endereço, informações sobre ato regulatório e a logo (opcional). A geração da representação visual do histórico escolar\r\n\tsegue o Artigo 17 da portaria MEC nº 1095/2018.\r\n</p>\r\n\r\n<p>\r\n\tUm exemplo de modelo <a href=\"/assets/files/academic_transcript_template.pdf\" target=\"_blank\">pode ser encontrado aqui</a>.\r\n</p>\r\n\r\n<p>\r\n\tPara criar um modelo utilize a <a href=\"#operations-Templates-post_api_templates\">API de criação de modelo</a>.\r\n</p>\r\n\r\n<br />\r\n\r\n<h3 id=\"create-flow-academic-transcript\">Criação de fluxo de assinatura de histórico escolar</h3>\r\n\r\n<p>\r\n\tOs fluxos de assinatura definem os signatários do XML do histórico escolar.\r\n</p>\r\n\r\n<p>\r\n\tTodo histórico deve ser assinado pela própria IES emissora através de seu certificado digital institucional (certificado e-CNPJ). É opcional o histórico escolar ser assinado por representante da IES emissora (com certificado e-CPF).\r\n</p>\r\n\r\n<p>\r\n\tPara criar um fluxo, utilize a <a href=\"#operations-Flows-post_api_flows\">API de criação de fluxo</a> especificando o <span class=\"parameter__type\">type</span> como <span class=\"parameter__type\">AcademicTranscript</span>.\r\n</p>\r\n\r\n<p>\r\n\tA criação de um fluxo não é obrigatória, é apenas uma facilidade para não ter que preencher todos os signatários no momento da criação de um lote de emissão.\r\n</p>\r\n\r\n<br />\r\n\r\n<h3 id=\"create-batch-academic-transcript\">Criação de um lote</h3>\r\n\r\n<p>\r\n\tPara criar um lote, será preciso um arquivo JSON com os dados referentes ao histórico escolar. Cada entrada do arquivo corresponderá a um histórico escolar e deve possuir todos os dados\r\n\tespecificados para o histórico escolar do Aluno na portaria MEC nº 1095/2018.\r\n</p>\r\n\r\n<p>\r\n\tUm exemplo do arquivo JSON <a href=\"/assets/files/academic-transcript-template2.json\" target=\"_blank\">pode ser encontrado aqui</a>.\r\n</p>\r\n\r\n<ul>\r\n\t<li>\r\n\t\tAntes da criação do lote, o arquivo deve ser enviado utilizando a <a href=\"#operations-Upload-post_api_uploads\">API de Upload</a>.\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\tAntes de criar o lote, recomenda-se utilizar a <a href=\"#operations-Batches-post_api_batches_academic_transcripts_file\">API de validação</a> para validar\r\n\t\ta consistência dos dados do arquivo.\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\tUma vez validado o arquivo, utilize a <a href=\"#operations-Batches-post_api_batches\">API de criação de lote</a> para criar históricos escolares.\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\tAo criar o lote, serão gerados os arquivos XML do histórico escolar. Eles serão enviados imediatamente para o Assinador para que recebam as\r\n\t\tassinaturas da IES Emissora.\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\tNa criação, pode ser especificada uma pasta de destino para os documentos gerados no Assinador com o parâmetro <span class=\"parameter__type\">newFolderName</span> caso a pasta ainda\r\n\t\tnão exista ou o parâmetro <span class=\"parameter__type\">signerFolderId</span> caso já exista.\r\n\t</li>\r\n</ul>\r\n\r\n<p>\r\n\tNa criação do lote deve ser especificado o tipo dos históricos escolares no campo <span class=\"parameter__type\">academicTranscriptType</span>. As opções estão descritas abaixo:\r\n</p>\r\n\r\n<ol>\r\n\t<li>\r\n\t\tParcial (<span class=\"parameter__type\">Partial</span>): é o histórico emitido a qualquer tempo da relação do discente com a IES com fins de comprovação jurídica do nível de integralização curricular. \r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\tFinal (<span class=\"parameter__type\">Final</span>): é o histórico emitido quando da finalização da relação do discente coma a IES, com validade jurídica, seja para emissão de diploma ou para transferência externa.\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\tSegunda via (<span class=\"parameter__type\">Copy</span>): é o histórico de segunda via emitido em via digital de um histórico escolar emitido de forma física.\r\n\t</li>\r\n</ol>\r\n\r\n<br />\r\n\r\n<h3 id=\"create-academic-transcript\">Criação unitária de histórico escolar</h3>\r\n\r\n<p>\r\n\tUma alternativa à criação de lotes é a criação unitária de histórico escolar com a <a\r\n\t\thref=\"#operations-AcademicTranscripts-post_api_academic_transcripts\">API de criação de histórico escolar</a>.\r\n</p>\r\n\r\n<br />\r\n\r\n<!--------------------------------------------------------------------------------------------------------------------->\r\n<h1>Currículo Escolar</h1>\r\n<p>\r\n\tEsta seção descreve o fluxo para a IES que deseja realizar a emissão de um currículo escolar.\r\n</p>\r\n\r\n<h2>Criação de currículos escolares</h2>\r\n\r\n<p>Para emitir um ou mais currículos escolares devem ser seguidos os passos abaixo:</p>\r\n\r\n<ol>\r\n\t<li>\r\n\t\t<a href=\"#set-signer-api-key-curriculum\">\r\n\t\t\tConfiguração da chave de API do Assinador\r\n\t\t</a>\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\t<a href=\"#create-template-curriculum\">\r\n\t\t\tCriação de um modelo\r\n\t\t</a>\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\t<a href=\"#create-flow-curriculum\">\r\n\t\t\tCriação de fluxo de assinatura (opcional)\r\n\t\t</a>\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\t<a href=\"#create-batch-curriculum\">\r\n\t\t\tCriação de um lote\r\n\t\t</a>\r\n\t\tou\r\n\t\t<a href=\"#create-curriculum\">\r\n\t\t\tCriação unitária de currículo escolar\r\n\t\t</a>\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n</ol>\r\n\r\n<br />\r\n\r\n<h3 id=\"set-signer-api-key-curriculum\">Configuração da chave de API do Assinador</h3>\r\n\r\n<p>\r\n\tEste passo deve ser feito no Painel de Configurações da aplicação.\r\n</p>\r\n\r\n<p>\r\n\tEntre em contato com o administrador da instância do Assinador utilizada em conjunto com esta aplicação para obter uma chave de API do assinador que permitirá o envio e assinatura dos arquivos XML de currículo escolar no assinador.\r\n</p>\r\n\r\n<br />\r\n\r\n<h3 id=\"create-template-curriculum\">Criação de um modelo</h3>\r\n\r\n<p>\r\n\tOs modelos definem como será a representação visual de cada currículo escolar (RVCE).\r\n</p>\r\n\r\n<p>\r\n\tUm exemplo de modelo <a href=\"/assets/files/curriculum_template.pdf\" target=\"_blank\">pode ser encontrado aqui</a>.\r\n</p>\r\n\r\n<p>\r\n\tPara criar um modelo utilize a <a href=\"#operations-Templates-post_api_templates\">API de criação de modelo</a>.\r\n</p>\r\n\r\n<br />\r\n\r\n<h3 id=\"create-flow-curriculum\">Criação de fluxo de assinatura de currículo escolar</h3>\r\n\r\n<p>\r\n\tOs fluxos de assinatura definem os signatários do XML do currículo escolar.\r\n</p>\r\n\r\n<p>\r\n\tTodo currículo deve ser assinado pela própria IES através de seu certificado digital institucional (certificado e-CNPJ). É opcional o currículo escolar ser assinado por coordenador do curso na IES (com certificado e-CPF).\r\n</p>\r\n\r\n<p>\r\n\tPara criar um fluxo, utilize a <a href=\"#operations-Flows-post_api_flows\">API de criação de fluxo</a> especificando o <span class=\"parameter__type\">type</span> como <span class=\"parameter__type\">Curriculum</span>.\r\n</p>\r\n\r\n<p>\r\n\tA criação de um fluxo não é obrigatória, é apenas uma facilidade para não ter que preencher todos os signatários no momento da criação de um lote de emissão.\r\n</p>\r\n\r\n<br />\r\n\r\n<h3 id=\"create-batch-curriculum\">Criação de um lote</h3>\r\n\r\n<p>\r\n\tPara criar um lote, será preciso um arquivo JSON com os dados referentes ao currículo escolar. Cada entrada do arquivo corresponderá a um currículo escolar e deve possuir todos os dados\r\n\tespecificados para o currículo escolar de acordo com a Instrução Normativa SESU nº 2 e versões posteriores.\r\n</p>\r\n\r\n<p>\r\n\tUm exemplo do arquivo JSON <a href=\"/assets/files/curriculum-template.json\" target=\"_blank\">pode ser encontrado aqui</a>.\r\n</p>\r\n\r\n<ul>\r\n\t<li>\r\n\t\tAntes da criação do lote, o arquivo deve ser enviado utilizando a <a href=\"#operations-Upload-post_api_uploads\">API de Upload</a>.\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\tAntes de criar o lote, recomenda-se utilizar a <a href=\"#operations-Batches-post_api_batches_curriculums_file\">API de validação</a> para validar\r\n\t\ta consistência dos dados do arquivo.\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\tUma vez validado o arquivo, utilize a <a href=\"#operations-Batches-post_api_batches\">API de criação de lote</a> para criar currículos escolares.\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\tAo criar o lote, serão gerados os arquivos XML do currículo escolar. Eles serão enviados imediatamente para o Assinador para que recebam as\r\n\t\tassinaturas da IES.\r\n\t\t<br />\r\n\t\t<br />\r\n\t</li>\r\n\t<li>\r\n\t\tNa criação, pode ser especificada uma pasta de destino para os documentos gerados no Assinador com o parâmetro <span class=\"parameter__type\">newFolderName</span> caso a pasta ainda\r\n\t\tnão exista ou o parâmetro <span class=\"parameter__type\">signerFolderId</span> caso já exista.\r\n\t</li>\r\n</ul>\r\n\r\n<br />\r\n\r\n<h3 id=\"create-curriculum\">Criação unitária de currículo escolar</h3>\r\n\r\n<p>\r\n\tUma alternativa à criação de lotes é a criação unitária de currículo escolar com a <a\r\n\t\thref=\"#operations-Curriculums-post_api_curriculums\">API de criação de currículo escolar</a>.\r\n</p>\r\n\r\n<br />\r\n\r\n<!--------------------------------------------------------------------------------------------------------------------->\r\n\r\n<h2>Códigos de status HTTP</h2>\r\n\r\n<p>\r\n\tAs APIs poderão retornar os seguintes códigos de status HTTP:\r\n</p>\r\n\r\n<table>\r\n\t<thead>\r\n\t\t<tr>\r\n\t\t\t<th>Código</th>\r\n\t\t\t<th>Descrição</th>\r\n\t\t</tr>\r\n\t</thead>\r\n\t<tbody>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">200 (OK)</strong></td>\r\n\t\t\t<td>Requisição processada com sucesso. A resposta é diferente para cada API, verifique a documentação específica de cada operação</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">400 (Bad Request)</strong></td>\r\n\t\t\t<td>Erro de sintaxe. Por exemplo, quando um campo obrigatório não for preenchido. O corpo da resposta indicará qual parâmetro está inválido ou não foi preenchido.</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">401 (Unauthorized)</strong></td>\r\n\t\t\t<td>A chave de API não foi fornecida ou é inválida</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">403 (Forbidden)</strong></td>\r\n\t\t\t<td>A chave de API é válida, mas tem privilégios insuficientes para completar a operação solicitada</td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">422 (Unprocessable Entity)</strong></td>\r\n\t\t\t<td>Erro de lógica de négocio. A resposta conterá uma mensagem e um código de erro conforme defindo em <a href=\"#model-ErrorModel\">ErrorModel</a></td>\r\n\t\t</tr>\r\n\t</tbody>\r\n</table>\r\n\r\n<br />\r\n\r\n<h3>Códigos de erro</h3>\r\n\r\n<p>Alguns dos códigos de erro retornados em uma resposta com status 422 podem ser encontrados abaixo*:</p>\r\n\r\n<ul>\r\n\t<li>TemplateNotFound</li>\r\n\t<li>ContentTypeNotSupported</li>\r\n\t<li>SignatureFlowNotFound</li>\r\n\t<li>BatchNotFound</li>\r\n\t<li>TemplateMustHaveTwoPages</li>\r\n\t<li>InvalidVerificationCode</li>\r\n\t<li>AgentIsNotApplication</li>\r\n\t<li>DegreeNotFound</li>\r\n\t<li>DegreeNotSigned</li>\r\n\t<li>SettingNotFound</li>\r\n\t<li>SignerApiKeyNotSet</li>\r\n\t<li>CsvHeadersNotFound</li>\r\n\t<li>SignerApiKeyError</li>\r\n\t<li>DegreesFileIsInvalid</li>\r\n\t<li>BatchLogFileNotFound</li>\r\n\t<li>DocumentFlowNotFound</li>\r\n\t<li>DegreeNotValid</li>\r\n</ul>\r\n\r\n<p style=\"font-size: 0.9em\">\r\n\t*Os códigos mostrados acima são os principais. No entanto esta não é uma lista exaustiva. Novos códigos de erro podem ser adicionados sem aviso prévio.\r\n</p>\r\n\r\n<!--------------------------------------------------------------------------------------------------------------------->\r\n\r\n<br />\r\n\r\n<h2>Webhooks</h2>\r\n\r\n<p>\r\n\tÉ recomendado escutar eventos de Webhook <strong>ao invés</strong> de realizar polling de APIs. Para isso, habilite e registre uma URL que receberá uma requisição POST\r\n\tsempre que um dos eventos descritos abaixo ocorrerem.\r\n</p>\r\n<p>\r\n\tTodas requisições tem o formato descrito em <a href=\"#model-Webhooks.WebhookModel\">Webhooks.WebhookModel</a>.\r\n\tO campo data varia de acordo com o tipo de evento do Webhook:\r\n</p>\r\n\r\n\r\n<table>\r\n\t<thead>\r\n\t\t<tr>\r\n\t\t\t<th>Tipo do Evento</th>\r\n\t\t\t<th>Descrição</th>\r\n\t\t\t<th>Conteúdo</th>\r\n\t\t</tr>\r\n\t</thead>\r\n\t<tbody>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">DegreeConcluded</strong></td>\r\n\t\t\t<td>Disparado quando um diploma é concluído (quando XML do diploma e da documentação acadêmica estiverem assinados).</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.DegreeConcludedModel\">Webhooks.DegreeConcludedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">DegreeCanceledTemporarily</strong></td>\r\n\t\t\t<td>Disparado quando um diploma é anulado temporariamente.</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.DegreeUpdatedModel\">Webhooks.DegreeUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">DegreeCanceled</strong></td>\r\n\t\t\t<td>Disparado quando um diploma é anulado.</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.DegreeUpdatedModel\">Webhooks.DegreeUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">DegreeRestored</strong></td>\r\n\t\t\t<td>Disparado quando um diploma é restaurado.</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.DegreeUpdatedModel\">Webhooks.DegreeUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">EmissionSigned</strong></td>\r\n\t\t\t<td>Disparado quando uma emissão é assinada.</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.EmissionUpdatedModel\">Webhooks.EmissionUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">EmissionSentToRegistry</strong></td>\r\n\t\t\t<td>Disparado quando uma emissão é enviada para registradora.</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.EmissionUpdatedModel\">Webhooks.EmissionUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">EmissionRegistered</strong></td>\r\n\t\t\t<td>Disparado quando uma emissão é registrada.</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.EmissionUpdatedModel\">Webhooks.EmissionUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">EmissionCanceled</strong></td>\r\n\t\t\t<td>Disparado quando uma emissão é cancelada.</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.EmissionUpdatedModel\">Webhooks.EmissionUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">RegistrationCreated</strong></td>\r\n\t\t\t<td>Disparado quando uma requisição de registro é criada.</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.RegistrationUpdatedModel\">Webhooks.RegistrationUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">RegistrationApproved</strong></td>\r\n\t\t\t<td>Disparado quando uma requisição de registro é aprovada.</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.RegistrationUpdatedModel\">Webhooks.RegistrationUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">RegistrationRejected</strong></td>\r\n\t\t\t<td>Disparado quando uma requisição de registro é recusada.</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.RegistrationUpdatedModel\">Webhooks.RegistrationUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">RegistrationRegistered</strong></td>\r\n\t\t\t<td>Disparado quando uma requisição de registro é registrada.</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.RegistrationUpdatedModel\">Webhooks.RegistrationUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">RegistrationSigned</strong></td>\r\n\t\t\t<td>Disparado quando uma requisição de registro é assinada.</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.RegistrationUpdatedModel\">Webhooks.RegistrationUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">RegistrationCanceled</strong></td>\r\n\t\t\t<td>Disparado quando uma requisição de registro é cancelada.</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.RegistrationUpdatedModel\">Webhooks.RegistrationUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">RegistrationSentToIssuer</strong></td>\r\n\t\t\t<td>Disparado quando uma requisição de registro registrada é enviada à emissora.</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.RegistrationUpdatedModel\">Webhooks.RegistrationUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">AcademicTranscriptCreated</strong></td>\r\n\t\t\t<td>Disparado quando uma emissão de histórico escolar é criada.</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.AcademicTranscriptUpdatedModel\">Webhooks.AcademicTranscriptUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">AcademicTranscriptConcluded</strong></td>\r\n\t\t\t<td>Disparado quando uma emissão de histórico escolar é concluída.</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.AcademicTranscriptUpdatedModel\">Webhooks.AcademicTranscriptUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">AcademicTranscriptCanceled</strong></td>\r\n\t\t\t<td>Disparado quando um histórico escolar é cancelado.</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.AcademicTranscriptUpdatedModel\">Webhooks.AcademicTranscriptUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">AcademicTranscriptCanceledTemporarily</strong></td>\r\n\t\t\t<td>Disparado quando um histórico escolar é anulado temporariamente.</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.AcademicTranscriptUpdatedModel\">Webhooks.AcademicTranscriptUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">CancellationListGenerated</strong></td>\r\n\t\t\t<td>Disparado quando uma lista de diplomas anulados é gerada.</td>\r\n\t\t\t<td><a href=\"#model-CancellationList.CancellationListModel\">CancellationList.CancellationListModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">InspectionFileStarted</strong></td>\r\n\t\t\t<td>Disparado quando a geração de um arquivo de fiscalização é iniciada.</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.InspectionFileUpdatedModel\">Webhooks.InspectionFileUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">InspectionFileGenerated</strong></td>\r\n\t\t\t<td>Disparado quando um arquivo de fiscalização é gerado.</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.InspectionFileUpdatedModel\">Webhooks.InspectionFileUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">InspectionFileGenerationError</strong></td>\r\n\t\t\t<td>Disparado quando ocorre um erro durante a geração do arquivo de fiscalização.</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.InspectionFileUpdatedModel\">Webhooks.InspectionFileUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">CurriculumCreated</strong></td>\r\n\t\t\t<td>Disparado quando uma emissão de currículo escolar é criada.</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.CurriculumUpdatedModel\">Webhooks.CurriculumUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">CurriculumConcluded</strong></td>\r\n\t\t\t<td>Disparado quando uma emissão de currículo escolar é concluída.</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.CurriculumUpdatedModel\">Webhooks.CurriculumUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">CurriculumCanceled</strong></td>\r\n\t\t\t<td>Disparado quando um currículo escolar é cancelado.</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.CurriculumUpdatedModel\">Webhooks.CurriculumUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">EmissionRegistrationAccepted</strong></td>\r\n\t\t\t<td>Disparado quando uma emissão é aceita pela instituição registradora.</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.EmissionRegistrationUpdatedModel\">Webhooks.EmissionRegistrationUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">EmissionRegistrationApproved</strong></td>\r\n\t\t\t<td>Disparado quando uma emissão é aprovada pela instituição registradora</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.EmissionRegistrationUpdatedModel\">Webhooks.EmissionRegistrationUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">EmissionRegistrationRejected</strong></td>\r\n\t\t\t<td>Disparado quando uma emissão é rejeitada pela instituição registradora</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.EmissionRegistrationUpdatedModel\">Webhooks.EmissionRegistrationUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">EmissionRegistrationCanceled</strong></td>\r\n\t\t\t<td>Disparado quando uma emissão é cancelada pela instituição registradora</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.EmissionRegistrationUpdatedModel\">Webhooks.EmissionRegistrationUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">EmissionRegistrationRegistered</strong></td>\r\n\t\t\t<td>Disparado quando uma emissão é registrada pela instituição registradora</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.EmissionRegistrationUpdatedModel\">Webhooks.EmissionRegistrationUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">RestampCreated</strong></td>\r\n\t\t\t<td>Disparado quando uma renotarização é criada.</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.RestampUpdatedModel\">Webhooks.RestampUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">RestampUpdated</strong></td>\r\n\t\t\t<td>Disparado quando uma renotarização é atualizada.</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.RestampUpdatedModel\">Webhooks.RestampUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">RestampApplied</strong></td>\r\n\t\t\t<td>Disparado quando a renotarização é aplicada a um documento.</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.RestampUpdatedModel\">Webhooks.RestampUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">RestampApplyingError</strong></td>\r\n\t\t\t<td>Disparado quando ocorre um erro no processo de renotarização de um documento.</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.RestampUpdatedModel\">Webhooks.RestampUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t\t<tr>\r\n\t\t\t<td><strong class=\"model-title\">RestampCreationError</strong></td>\r\n\t\t\t<td>Disparado quando ocorre um erro na criação de uma renotarização.</td>\r\n\t\t\t<td><a href=\"#model-Webhooks.RestampUpdatedModel\">Webhooks.RestampUpdatedModel</a></td>\r\n\t\t</tr>\r\n\t</tbody>\r\n</table>\r\n\r\n<p>\r\n\tPara registrar a URL de sua aplicação e habilitar os Webhooks, acesse a página de configurações de sua organização.\r\n</p>\r\n",
    "version": "3.1.5"
  },
  "paths": {
    "/api/academic-transcripts": {
      "post": {
        "tags": [
          "AcademicTranscripts"
        ],
        "summary": "Cria um histórico escolar",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptCreateRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptCreateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptCreateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptCreateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Degrees.DocumentCreateBaseResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Degrees.DocumentCreateBaseResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Degrees.DocumentCreateBaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "AcademicTranscripts"
        ],
        "summary": "Obtém todos históricos escolares cadastrados paginando a resposta",
        "parameters": [
          {
            "name": "Status",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/AcademicTranscriptStatus"
            }
          },
          {
            "name": "BatchId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "StartDateUtc",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDateUtc",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "IsSigned",
            "in": "query",
            "description": "Filtra os documentos assinados independente do status ser ativo ou cancelado",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Q",
            "in": "query",
            "description": "Query to filter items.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "description": "Number of items to return.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Offset",
            "in": "query",
            "description": "The offset of the searched page (starting with 0).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Order",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/PaginationOrders"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse`1[[AcademicTranscripts.AcademicTranscriptModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse`1[[AcademicTranscripts.AcademicTranscriptModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse`1[[AcademicTranscripts.AcademicTranscriptModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/academic-transcripts/{id}": {
      "get": {
        "tags": [
          "AcademicTranscripts"
        ],
        "summary": "Obtém informações de um histórico escolar",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptDetailsModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptDetailsModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptDetailsModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/academic-transcripts/{id}/xml-ticket": {
      "get": {
        "tags": [
          "AcademicTranscripts"
        ],
        "summary": "Obtém um ticket (URL) para download do histórico escolar em xml",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/academic-transcripts/{id}/xml": {
      "get": {
        "tags": [
          "AcademicTranscripts"
        ],
        "summary": "Obtém o XML assinado do histórico escolar caso esteja válido",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/academic-transcripts/{id}/xml-b64": {
      "get": {
        "tags": [
          "AcademicTranscripts"
        ],
        "summary": "Obtém o XML assinado do histórico escolar codificado no formato Base64",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Documents.DocumentContentModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Documents.DocumentContentModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Documents.DocumentContentModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/academic-transcripts/{id}/history": {
      "get": {
        "tags": [
          "AcademicTranscripts"
        ],
        "summary": "Obtém histórico de atualizações do histórico escolar",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptStatusUpdateModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptStatusUpdateModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptStatusUpdateModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/academic-transcripts/{id}/cancellation": {
      "post": {
        "tags": [
          "AcademicTranscripts"
        ],
        "summary": "Cancela uma emissão",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptCancellationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptCancellationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptCancellationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptCancellationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/academic-transcripts/{id}/status": {
      "post": {
        "tags": [
          "AcademicTranscripts"
        ],
        "summary": "Atualiza o status",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptUpdateStatusRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptUpdateStatusRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptUpdateStatusRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptUpdateStatusRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/academic-transcripts/{id}/visual-representation-ticket": {
      "get": {
        "tags": [
          "AcademicTranscripts"
        ],
        "summary": "Obtém um ticket (URL) para download da representação visual do histórico escolar",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/academic-transcripts/{id}/visual-representation-b64": {
      "get": {
        "tags": [
          "AcademicTranscripts"
        ],
        "summary": "Obtém a representação visual do histórico escolar codificado no formato Base64",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Documents.DocumentContentModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Documents.DocumentContentModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Documents.DocumentContentModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/academic-transcripts/codes/{code}": {
      "get": {
        "tags": [
          "AcademicTranscripts"
        ],
        "summary": "Valida um histórico escolar pelo seu código de validação",
        "description": "<strong>Requer autenticação</strong>",
        "parameters": [
          {
            "name": "code",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptValidationModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptValidationModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptValidationModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/academic-transcripts/{code}/validation": {
      "get": {
        "tags": [
          "AcademicTranscripts"
        ],
        "summary": "Valida um histórico escolar pelo seu código de validação",
        "parameters": [
          {
            "name": "code",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "captcha",
            "in": "query",
            "description": "Token CAPTCHA caso habilitado",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptValidationModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptValidationModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptValidationModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/academic-transcripts/{code}/validation/visual-representation": {
      "get": {
        "tags": [
          "AcademicTranscripts"
        ],
        "summary": "Obtém a representação visual de um histórico escolar caso esteja válido",
        "description": "Utilizar essa operação <strong>somente se o CAPTCHA estiver desabilitado</strong>",
        "parameters": [
          {
            "name": "code",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/academic-transcripts/{code}/validation/xml": {
      "get": {
        "tags": [
          "AcademicTranscripts"
        ],
        "summary": "Obtém o XML de dados públicos de um histórico escolar caso esteja válido",
        "description": "Utilizar essa operação <strong>somente se o CAPTCHA estiver desabilitado</strong>",
        "parameters": [
          {
            "name": "code",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/academic-transcripts/{id}/visual-representation": {
      "post": {
        "tags": [
          "AcademicTranscripts"
        ],
        "summary": "Altera a representação visual do histórico escolar",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/Documents.UpdateDocumentVisualRepresentationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Documents.UpdateDocumentVisualRepresentationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Documents.UpdateDocumentVisualRepresentationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Documents.UpdateDocumentVisualRepresentationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/batches": {
      "get": {
        "tags": [
          "Batches"
        ],
        "summary": "Obtém todos lotes cadastrados paginando a resposta",
        "parameters": [
          {
            "name": "Q",
            "in": "query",
            "description": "Query to filter items.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "description": "Number of items to return.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Offset",
            "in": "query",
            "description": "The offset of the searched page (starting with 0).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Order",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/PaginationOrders"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse[Batches.BatchModel]"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse[Batches.BatchModel]"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse[Batches.BatchModel]"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Batches"
        ],
        "summary": "Cria um lote de diplomas",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/Batches.BatchCreateRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Batches.BatchCreateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Batches.BatchCreateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Batches.BatchCreateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Batches.BatchCreateResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Batches.BatchCreateResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Batches.BatchCreateResponse"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/batches/{id}": {
      "get": {
        "tags": [
          "Batches"
        ],
        "summary": "Obtém informações de um lote",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Batches.BatchModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Batches.BatchModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Batches.BatchModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/batches/{id}/log-ticket": {
      "get": {
        "tags": [
          "Batches"
        ],
        "summary": "Obtém ticket (URL) para baixar arquivo de log do lote",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TicketModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/batches/{id}/degrees": {
      "get": {
        "tags": [
          "Batches"
        ],
        "summary": "Obtém todos diplomas cadastrados no lote paginando a resposta",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Q",
            "in": "query",
            "description": "Query to filter items.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "description": "Number of items to return.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Offset",
            "in": "query",
            "description": "The offset of the searched page (starting with 0).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Order",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/PaginationOrders"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse[Degrees.DegreeModel]"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse[Degrees.DegreeModel]"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse[Degrees.DegreeModel]"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/batches/{id}/emissions": {
      "get": {
        "tags": [
          "Batches"
        ],
        "summary": "Obtém todas emissões cadastradas no lote paginando a resposta",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Q",
            "in": "query",
            "description": "Query to filter items.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "description": "Number of items to return.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Offset",
            "in": "query",
            "description": "The offset of the searched page (starting with 0).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Order",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/PaginationOrders"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse[Emissions.EmissionModel]"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse[Emissions.EmissionModel]"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse[Emissions.EmissionModel]"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/batches/{id}/registrations": {
      "get": {
        "tags": [
          "Batches"
        ],
        "summary": "Obtém todas requisições de registro cadastradas no lote paginando a resposta",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Q",
            "in": "query",
            "description": "Query to filter items.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "description": "Number of items to return.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Offset",
            "in": "query",
            "description": "The offset of the searched page (starting with 0).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Order",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/PaginationOrders"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse[Registrations.RegistrationModel]"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse[Registrations.RegistrationModel]"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse[Registrations.RegistrationModel]"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/batches/{id}/academic-transcripts": {
      "get": {
        "tags": [
          "Batches"
        ],
        "summary": "Obtém todos históricos escolares cadastrados no lote paginando a resposta",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Q",
            "in": "query",
            "description": "Query to filter items.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "description": "Number of items to return.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Offset",
            "in": "query",
            "description": "The offset of the searched page (starting with 0).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Order",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/PaginationOrders"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse`1[[AcademicTranscripts.AcademicTranscriptModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse`1[[AcademicTranscripts.AcademicTranscriptModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse`1[[AcademicTranscripts.AcademicTranscriptModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/batches/{id}/curriculums": {
      "get": {
        "tags": [
          "Batches"
        ],
        "summary": "Obtém todos currículos escolares cadastrados no lote paginando a resposta",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Q",
            "in": "query",
            "description": "Query to filter items.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "description": "Number of items to return.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Offset",
            "in": "query",
            "description": "The offset of the searched page (starting with 0).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Order",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/PaginationOrders"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse`1[[Curriculums.CurriculumModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse`1[[Curriculums.CurriculumModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse`1[[Curriculums.CurriculumModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/batches/degrees-file": {
      "post": {
        "tags": [
          "Batches"
        ],
        "summary": "Valida o arquivo (JSON ou CSV) de criação de lote de diplomas",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/Batches.ValidateBatchFileRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Batches.ValidateBatchFileRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Batches.ValidateBatchFileRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Batches.ValidateBatchFileRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ValidateDegreesFileResponse[Degrees.DegreeFullInformationModel]"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidateDegreesFileResponse[Degrees.DegreeFullInformationModel]"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidateDegreesFileResponse[Degrees.DegreeFullInformationModel]"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/batches/emissions-file": {
      "post": {
        "tags": [
          "Batches"
        ],
        "summary": "Valida o arquivo de criação de lote de emissões",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/Batches.ValidateBatchFileRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Batches.ValidateBatchFileRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Batches.ValidateBatchFileRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Batches.ValidateBatchFileRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ValidateDegreesFileResponse[Degrees.DegreeEmissionRequestModel]"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidateDegreesFileResponse[Degrees.DegreeEmissionRequestModel]"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidateDegreesFileResponse[Degrees.DegreeEmissionRequestModel]"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/batches/academic-transcripts-file": {
      "post": {
        "tags": [
          "Batches"
        ],
        "summary": "Valida o arquivo de criação de lote de históricos escolares",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/Batches.ValidateBatchFileRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Batches.ValidateBatchFileRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Batches.ValidateBatchFileRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Batches.ValidateBatchFileRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Batches.ValidateDegreesFileResponse`1[[AcademicTranscripts.AcademicTranscriptInformationModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Batches.ValidateDegreesFileResponse`1[[AcademicTranscripts.AcademicTranscriptInformationModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Batches.ValidateDegreesFileResponse`1[[AcademicTranscripts.AcademicTranscriptInformationModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/batches/curriculums-file": {
      "post": {
        "tags": [
          "Batches"
        ],
        "summary": "Valida o arquivo de criação de lote de currículos escolares",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/Batches.ValidateBatchFileRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Batches.ValidateBatchFileRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Batches.ValidateBatchFileRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Batches.ValidateBatchFileRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Batches.ValidateDegreesFileResponse`1[[Curriculums.CurriculumInformationModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Batches.ValidateDegreesFileResponse`1[[Curriculums.CurriculumInformationModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Batches.ValidateDegreesFileResponse`1[[Curriculums.CurriculumInformationModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/cancellation-lists/ies-codes/{iesCode}": {
      "get": {
        "tags": [
          "CancellationLists"
        ],
        "summary": "Obtém todas as listas de diplomas anulados geradas filtrando pelo código MEC da IES paginando a resposta",
        "parameters": [
          {
            "name": "iesCode",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Q",
            "in": "query",
            "description": "Query to filter items.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "description": "Number of items to return.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Offset",
            "in": "query",
            "description": "The offset of the searched page (starting with 0).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Order",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/PaginationOrders"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse`1[[CancellationList.CancellationListModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse`1[[CancellationList.CancellationListModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse`1[[CancellationList.CancellationListModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/cancellation-lists/institute/{instituteId}": {
      "get": {
        "tags": [
          "CancellationLists"
        ],
        "summary": "Obtém as listas de diplomas anulados gerados da instituição paginando a resposta",
        "parameters": [
          {
            "name": "instituteId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "Q",
            "in": "query",
            "description": "Query to filter items.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "description": "Number of items to return.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Offset",
            "in": "query",
            "description": "The offset of the searched page (starting with 0).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Order",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/PaginationOrders"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse`1[[CancellationList.CancellationListModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse`1[[CancellationList.CancellationListModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse`1[[CancellationList.CancellationListModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/cancellation-lists/institute/{instituteId}/latest": {
      "get": {
        "tags": [
          "CancellationLists"
        ],
        "summary": "Obtém informações da lista de diplomas anulados mais recente de uma instituição",
        "parameters": [
          {
            "name": "instituteId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CancellationList.CancellationListModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CancellationList.CancellationListModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CancellationList.CancellationListModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/cancellation-lists/institute/{instituteId}/latest/xml": {
      "get": {
        "tags": [
          "CancellationLists"
        ],
        "summary": "Obtém o XML assinado da lista de diplomas anulados mais recente de uma instituição",
        "parameters": [
          {
            "name": "instituteId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/cancellation-lists/institute/{instituteId}/latest/xml-b64": {
      "get": {
        "tags": [
          "CancellationLists"
        ],
        "summary": "Obtém o XML assinado da lista de diplomas anulados mais recente de uma instituição codificado no formato Base64",
        "parameters": [
          {
            "name": "instituteId",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Documents.DocumentContentModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Documents.DocumentContentModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Documents.DocumentContentModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/cancellation-lists/{id}/xml-ticket": {
      "get": {
        "tags": [
          "CancellationLists"
        ],
        "summary": "Obtém um ticket (URL) para download da lista de diplomas anulados em xml",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/cancellation-lists/{id}": {
      "get": {
        "tags": [
          "CancellationLists"
        ],
        "summary": "Obtém informações de uma lista de diplomas anulados",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/CancellationList.CancellationListModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CancellationList.CancellationListModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/CancellationList.CancellationListModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/cancellation-lists/{id}/xml": {
      "get": {
        "tags": [
          "CancellationLists"
        ],
        "summary": "Obtém o XML assinado da lista de diplomas anulados",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/cancellation-lists/{id}/xml-b64": {
      "get": {
        "tags": [
          "CancellationLists"
        ],
        "summary": "Obtém o XML assinado da lista de diplomas anulados codificado no formato Base64",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Documents.DocumentContentModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Documents.DocumentContentModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Documents.DocumentContentModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/curriculums": {
      "post": {
        "tags": [
          "Curriculums"
        ],
        "summary": "Cria um currículo digital",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/Curriculums.CurriculumCreateRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Curriculums.CurriculumCreateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Curriculums.CurriculumCreateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Curriculums.CurriculumCreateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Curriculums.CurriculumCreateResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Curriculums.CurriculumCreateResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Curriculums.CurriculumCreateResponse"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Curriculums"
        ],
        "summary": "Obtém todos currículos escolares cadastrados paginando a resposta",
        "parameters": [
          {
            "name": "BatchId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "StartDateUtc",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDateUtc",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "Status",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/CurriculumStatus"
            }
          },
          {
            "name": "Q",
            "in": "query",
            "description": "Query to filter items.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "description": "Number of items to return.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Offset",
            "in": "query",
            "description": "The offset of the searched page (starting with 0).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Order",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/PaginationOrders"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse`1[[Curriculums.CurriculumModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse`1[[Curriculums.CurriculumModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse`1[[Curriculums.CurriculumModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/curriculums/{id}": {
      "get": {
        "tags": [
          "Curriculums"
        ],
        "summary": "Obtém informações de um currículo escolar",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Curriculums.CurriculumModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Curriculums.CurriculumModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Curriculums.CurriculumModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/curriculums/{id}/history": {
      "get": {
        "tags": [
          "Curriculums"
        ],
        "summary": "Obtém currículo de atualizações do currículo escolar",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Curriculums.CurriculumStatusUpdateModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Curriculums.CurriculumStatusUpdateModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Curriculums.CurriculumStatusUpdateModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/curriculums/{id}/xml-ticket": {
      "get": {
        "tags": [
          "Curriculums"
        ],
        "summary": "Obtém um ticket (URL) para download do currículo escolar em xml",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/curriculums/{id}/xml": {
      "get": {
        "tags": [
          "Curriculums"
        ],
        "summary": "Obtém o XML assinado do currículo escolar caso esteja válido",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/curriculums/{id}/xml-b64": {
      "get": {
        "tags": [
          "Curriculums"
        ],
        "summary": "Obtém o XML assinado do currículo escolar codificado no formato Base64",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Documents.DocumentContentModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Documents.DocumentContentModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Documents.DocumentContentModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/curriculums/codes/{code}": {
      "get": {
        "tags": [
          "Curriculums"
        ],
        "summary": "Valida um currículo escolar pelo seu código de validação",
        "description": "<strong>Requer autenticação</strong>",
        "parameters": [
          {
            "name": "code",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Curriculums.CurriculumValidationModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Curriculums.CurriculumValidationModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Curriculums.CurriculumValidationModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/curriculums/{code}/validation": {
      "get": {
        "tags": [
          "Curriculums"
        ],
        "summary": "Valida um currículo escolar pelo seu código de validação",
        "parameters": [
          {
            "name": "code",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "captcha",
            "in": "query",
            "description": "Token CAPTCHA caso habilitado",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Curriculums.CurriculumValidationModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Curriculums.CurriculumValidationModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Curriculums.CurriculumValidationModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/curriculums/{code}/validation/visual-representation": {
      "get": {
        "tags": [
          "Curriculums"
        ],
        "summary": "Obtém a representação visual de um currículo escolar caso esteja válido",
        "description": "Utilizar essa operação <strong>somente se o CAPTCHA estiver desabilitado</strong>",
        "parameters": [
          {
            "name": "code",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/curriculums/{code}/validation/xml": {
      "get": {
        "tags": [
          "Curriculums"
        ],
        "summary": "Obtém o XML de dados públicos de um currículo escolar caso esteja válido",
        "description": "Utilizar essa operação <strong>somente se o CAPTCHA estiver desabilitado</strong>",
        "parameters": [
          {
            "name": "code",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/curriculums/{id}/visual-representation-ticket": {
      "get": {
        "tags": [
          "Curriculums"
        ],
        "summary": "Obtém um ticket (URL) para download da representação visual do currículo escolar",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/curriculums/{id}/visual-representation-b64": {
      "get": {
        "tags": [
          "Curriculums"
        ],
        "summary": "Obtém a representação visual do currículo escolar codificado no formato Base64",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Documents.DocumentContentModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Documents.DocumentContentModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Documents.DocumentContentModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/curriculums/{id}/cancellation": {
      "post": {
        "tags": [
          "Curriculums"
        ],
        "summary": "Cancela um currículo escolar",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentCancellationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentCancellationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentCancellationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentCancellationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/curriculums/{id}/visual-representation": {
      "post": {
        "tags": [
          "Curriculums"
        ],
        "summary": "Altera a representação visual do currículo escolar",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/Documents.UpdateDocumentVisualRepresentationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Documents.UpdateDocumentVisualRepresentationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Documents.UpdateDocumentVisualRepresentationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Documents.UpdateDocumentVisualRepresentationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/degrees": {
      "post": {
        "tags": [
          "Degrees"
        ],
        "summary": "Cria um diploma",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/Degrees.DegreeCreateRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Degrees.DegreeCreateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Degrees.DegreeCreateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Degrees.DegreeCreateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Degrees.DegreeCreateResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Degrees.DegreeCreateResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Degrees.DegreeCreateResponse"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Degrees"
        ],
        "summary": "Obtém todos diplomas cadastrados paginando a resposta",
        "parameters": [
          {
            "name": "Status",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/DegreeStatus"
            }
          },
          {
            "name": "BatchId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "StartDateUtc",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDateUtc",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "IsSigned",
            "in": "query",
            "description": "Filtra os documentos assinados independente do status ser ativo ou cancelado",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Q",
            "in": "query",
            "description": "Query to filter items.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "description": "Number of items to return.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Offset",
            "in": "query",
            "description": "The offset of the searched page (starting with 0).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Order",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/PaginationOrders"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse[Degrees.DegreeModel]"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse[Degrees.DegreeModel]"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse[Degrees.DegreeModel]"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/degrees/{id}/academic-transcript": {
      "post": {
        "tags": [
          "Degrees"
        ],
        "summary": "Gera um histórico escolar a partir de um diploma já concluídoo",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/Degrees.DocumentCreateBaseRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Degrees.DocumentCreateBaseRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Degrees.DocumentCreateBaseRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Degrees.DocumentCreateBaseRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/degrees/{id}": {
      "get": {
        "tags": [
          "Degrees"
        ],
        "summary": "Obtém informações de um diploma",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Degrees.DegreeModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Degrees.DegreeModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Degrees.DegreeModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/degrees/{id}/information": {
      "get": {
        "tags": [
          "Degrees"
        ],
        "summary": "Obtém informações detalhadas de um diploma",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Degrees.DegreeInformation"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Degrees.DegreeInformation"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Degrees.DegreeInformation"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/degrees/{id}/academic-documentation": {
      "get": {
        "tags": [
          "Degrees"
        ],
        "summary": "Obtém os dados da documentação acadêmica",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Degrees.AcademicDocumentationInformation"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Degrees.AcademicDocumentationInformation"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Degrees.AcademicDocumentationInformation"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/degrees/{id}/academic-documentation-xml": {
      "get": {
        "tags": [
          "Degrees"
        ],
        "summary": "Obtém o XML assinado da documentação acadêmica",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/degrees/{id}/xml": {
      "get": {
        "tags": [
          "Degrees"
        ],
        "summary": "Obtém o XML assinado dos dados públicos de um diploma caso esteja válido",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/degrees/{id}/academic-documentation-xml-b64": {
      "get": {
        "tags": [
          "Degrees"
        ],
        "summary": "Obtém o XML assinado da documentação acadêmica codificado no formato Base64",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Documents.DocumentContentModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Documents.DocumentContentModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Documents.DocumentContentModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/degrees/{id}/xml-b64": {
      "get": {
        "tags": [
          "Degrees"
        ],
        "summary": "Obtém o XML assinado do diploma codificado no formato Base64",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Documents.DocumentContentModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Documents.DocumentContentModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Documents.DocumentContentModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/degrees/{id}/visual-representation-ticket": {
      "get": {
        "tags": [
          "Degrees"
        ],
        "summary": "Obtém um ticket (URL) para download da representação visual do diploma",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/degrees/{id}/visual-representation-b64": {
      "get": {
        "tags": [
          "Degrees"
        ],
        "summary": "Obtém a representação visual do diploma codificado no formato Base64",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Documents.DocumentContentModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Documents.DocumentContentModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Documents.DocumentContentModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/degrees/{id}/letterhead-visual-representation-ticket": {
      "get": {
        "tags": [
          "Degrees"
        ],
        "summary": "Obtém um ticket (URL) para download da representação visual do modelo timbrado do diploma",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/degrees/{id}/xml-ticket": {
      "get": {
        "tags": [
          "Degrees"
        ],
        "summary": "Obtém um ticket (URL) para download do diploma em xml",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/degrees/{id}/academic-documentation-ticket": {
      "get": {
        "tags": [
          "Degrees"
        ],
        "summary": "Obtém um ticket (URL) para download da documentação acadêmica em xml",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/degrees/{id}/history": {
      "get": {
        "tags": [
          "Degrees"
        ],
        "summary": "Obtém histórico de atualizações do diploma",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Degrees.StatusUpdateModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Degrees.StatusUpdateModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Degrees.StatusUpdateModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/degrees/{id}/status": {
      "post": {
        "tags": [
          "Degrees"
        ],
        "summary": "Atualiza o status do diploma",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/Degrees.DegreeUpdateStatusRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Degrees.DegreeUpdateStatusRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Degrees.DegreeUpdateStatusRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Degrees.DegreeUpdateStatusRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/degrees/codes/{code}": {
      "get": {
        "tags": [
          "Degrees"
        ],
        "summary": "Valida um diploma pelo seu código de validação",
        "description": "<strong>Requer autenticação</strong>",
        "parameters": [
          {
            "name": "code",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Degrees.DegreeValidationModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Degrees.DegreeValidationModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Degrees.DegreeValidationModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/degrees/{code}/validation": {
      "get": {
        "tags": [
          "Degrees"
        ],
        "summary": "Valida um diploma pelo seu código de validação",
        "parameters": [
          {
            "name": "code",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "captcha",
            "in": "query",
            "description": "Token CAPTCHA caso habilitado",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Degrees.DegreeValidationModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Degrees.DegreeValidationModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Degrees.DegreeValidationModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/degrees/{code}/validation/visual-representation": {
      "get": {
        "tags": [
          "Degrees"
        ],
        "summary": "Obtém a representação visual de um diploma caso esteja válido",
        "description": "Utilizar essa operação <strong>somente se o CAPTCHA estiver desabilitado</strong>",
        "parameters": [
          {
            "name": "code",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/degrees/{code}/validation/xml": {
      "get": {
        "tags": [
          "Degrees"
        ],
        "summary": "Obtém o XML de dados públicos de um diploma caso esteja válido",
        "description": "Utilizar essa operação <strong>somente se o CAPTCHA estiver desabilitado</strong>",
        "parameters": [
          {
            "name": "code",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/v2/degrees": {
      "get": {
        "tags": [
          "Degrees"
        ],
        "summary": "Obtém todos diplomas cadastrados paginando a resposta. Versão otimizada para retornar grande volume de diplomas",
        "parameters": [
          {
            "name": "Status",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/DegreeStatus"
            }
          },
          {
            "name": "BatchId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "StartDateUtc",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDateUtc",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "IsSigned",
            "in": "query",
            "description": "Filtra os documentos assinados independente do status ser ativo ou cancelado",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Q",
            "in": "query",
            "description": "Query to filter items.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "description": "Number of items to return.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Offset",
            "in": "query",
            "description": "The offset of the searched page (starting with 0).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Order",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/PaginationOrders"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse`1[[Degrees.DegreeListModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse`1[[Degrees.DegreeListModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse`1[[Degrees.DegreeListModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/degrees/{id}/visual-representation": {
      "post": {
        "tags": [
          "Degrees"
        ],
        "summary": "Altera a representação visual do diploma",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/Documents.UpdateDocumentVisualRepresentationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Documents.UpdateDocumentVisualRepresentationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Documents.UpdateDocumentVisualRepresentationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Documents.UpdateDocumentVisualRepresentationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/emissions": {
      "post": {
        "tags": [
          "Emissions"
        ],
        "summary": "Cria uma emissão",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/Emissions.EmissionCreateRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Emissions.EmissionCreateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Emissions.EmissionCreateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Emissions.EmissionCreateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Emissions.EmissionCreateResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Emissions.EmissionCreateResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Emissions.EmissionCreateResponse"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Emissions"
        ],
        "summary": "Obtém todas emissões cadastradas paginando a resposta",
        "parameters": [
          {
            "name": "Status",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/EmissionStatus"
            }
          },
          {
            "name": "BatchId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "StartDateUtc",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDateUtc",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "IsSigned",
            "in": "query",
            "description": "Filtra os documentos assinados independente do status ser ativo ou cancelado",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Q",
            "in": "query",
            "description": "Query to filter items.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "description": "Number of items to return.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Offset",
            "in": "query",
            "description": "The offset of the searched page (starting with 0).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Order",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/PaginationOrders"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse[Emissions.EmissionModel]"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse[Emissions.EmissionModel]"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse[Emissions.EmissionModel]"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/emissions/{id}": {
      "get": {
        "tags": [
          "Emissions"
        ],
        "summary": "Obtém informações de uma emissão",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Emissions.EmissionInfoModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Emissions.EmissionInfoModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Emissions.EmissionInfoModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/emissions/{id}/information": {
      "get": {
        "tags": [
          "Emissions"
        ],
        "summary": "Obtém informações detalhadas de uma emissão",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Degrees.DadosDiploma"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Degrees.DadosDiploma"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Degrees.DadosDiploma"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/emissions/{id}/academic-documentation-ticket": {
      "get": {
        "tags": [
          "Emissions"
        ],
        "summary": "Obtém um ticket (URL) para download da documentação acadêmica em xml",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/emissions/{id}/history": {
      "get": {
        "tags": [
          "Emissions"
        ],
        "summary": "Obtém histórico de atualizações da emissão",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Emissions.EmissionStatusUpdateModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Emissions.EmissionStatusUpdateModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Emissions.EmissionStatusUpdateModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/emissions/{id}/degree-xml": {
      "post": {
        "tags": [
          "Emissions"
        ],
        "summary": "Conclui a emissão enviando o XML de dados públicos",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/Emissions.UploadDegreeXmlRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Emissions.UploadDegreeXmlRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Emissions.UploadDegreeXmlRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Emissions.UploadDegreeXmlRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Emissions.UploadDegreeXmlResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Emissions.UploadDegreeXmlResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Emissions.UploadDegreeXmlResponse"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/emissions/{id}/cancellation": {
      "post": {
        "tags": [
          "Emissions"
        ],
        "summary": "Cancela uma emissão",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentCancellationRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentCancellationRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentCancellationRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentCancellationRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/flows/{id}": {
      "get": {
        "tags": [
          "Flows"
        ],
        "summary": "Obtém informações de um fluxo de assinatura",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentFlows.DocumentFlowDataModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentFlows.DocumentFlowDataModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentFlows.DocumentFlowDataModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Flows"
        ],
        "summary": "Atualiza um fluxo de assinatura",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentFlows.DocumentFlowRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentFlows.DocumentFlowRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentFlows.DocumentFlowRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentFlows.DocumentFlowRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Flows"
        ],
        "summary": "Exclui um fluxo de assinatura",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/flows": {
      "get": {
        "tags": [
          "Flows"
        ],
        "summary": "Obtém todos os fluxos cadastrados paginando a resposta",
        "parameters": [
          {
            "name": "Q",
            "in": "query",
            "description": "Query to filter items.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "description": "Number of items to return.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Offset",
            "in": "query",
            "description": "The offset of the searched page (starting with 0).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Order",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/PaginationOrders"
            }
          },
          {
            "name": "type",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/DocumentFlowTypes"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse[DocumentFlows.DocumentFlowModel]"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse[DocumentFlows.DocumentFlowModel]"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse[DocumentFlows.DocumentFlowModel]"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Flows"
        ],
        "summary": "Cria um fluxo de assinatura",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentFlows.DocumentFlowRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentFlows.DocumentFlowRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentFlows.DocumentFlowRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentFlows.DocumentFlowRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentFlows.DocumentFlowModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentFlows.DocumentFlowModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/DocumentFlows.DocumentFlowModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/flows/validate": {
      "post": {
        "tags": [
          "Flows"
        ],
        "summary": "Valida um fluxo de assinatura",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentFlows.DocumentFlowValidateRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentFlows.DocumentFlowValidateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentFlows.DocumentFlowValidateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/DocumentFlows.DocumentFlowValidateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/inspection-files": {
      "post": {
        "tags": [
          "InspectionFiles"
        ],
        "summary": "Cria um arquivo de fiscalização",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/InspectionFiles.InspectionFileCreateRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/InspectionFiles.InspectionFileCreateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/InspectionFiles.InspectionFileCreateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/InspectionFiles.InspectionFileCreateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InspectionFiles.InspectionFileModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InspectionFiles.InspectionFileModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InspectionFiles.InspectionFileModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "InspectionFiles"
        ],
        "summary": "Obtém todas as listas de diplomas anulados geradas filtrando pelo código MEC da IES ou Id da instituição paginando a resposta",
        "parameters": [
          {
            "name": "InstituteId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "IesCode",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Q",
            "in": "query",
            "description": "Query to filter items.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "description": "Number of items to return.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Offset",
            "in": "query",
            "description": "The offset of the searched page (starting with 0).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Order",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/PaginationOrders"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse`1[[InspectionFiles.InspectionFileModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse`1[[InspectionFiles.InspectionFileModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse`1[[InspectionFiles.InspectionFileModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/inspection-files/{id}": {
      "get": {
        "tags": [
          "InspectionFiles"
        ],
        "summary": "Obtém informações de um arquivo de fiscalização",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/InspectionFiles.InspectionFileModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/InspectionFiles.InspectionFileModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/InspectionFiles.InspectionFileModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/inspection-files/{id}/xml-ticket": {
      "get": {
        "tags": [
          "InspectionFiles"
        ],
        "summary": "Obtém um ticket (URL) para download do arquivo de fiscalização em xml",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/institutes": {
      "post": {
        "tags": [
          "Institutes"
        ],
        "summary": "Cria uma instituição de ensino",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/Institutes.InstituteCreateRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Institutes.InstituteCreateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Institutes.InstituteCreateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Institutes.InstituteCreateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Institutes"
        ],
        "summary": "Obtém todas as instituições cadastradas na organização paginando a resposta",
        "parameters": [
          {
            "name": "Q",
            "in": "query",
            "description": "Query to filter items.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "description": "Number of items to return.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Offset",
            "in": "query",
            "description": "The offset of the searched page (starting with 0).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Order",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/PaginationOrders"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse`1[[Institutes.InstituteListModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse`1[[Institutes.InstituteListModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse`1[[Institutes.InstituteListModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/institutes/{id}": {
      "put": {
        "tags": [
          "Institutes"
        ],
        "summary": "Edita uma instituição de ensino",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/Institutes.InstituteUpdateModel"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Institutes.InstituteUpdateModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Institutes.InstituteUpdateModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Institutes.InstituteUpdateModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "Institutes"
        ],
        "summary": "Obtém informações de uma instituição",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Institutes.InstituteModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Institutes.InstituteModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Institutes.InstituteModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/institutes/{id}/integrations": {
      "post": {
        "tags": [
          "Institutes"
        ],
        "summary": "Atualiza a configuração de webhook da instituição",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/Institutes.InstituteIntegrationsModel"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Institutes.InstituteIntegrationsModel"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Institutes.InstituteIntegrationsModel"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Institutes.InstituteIntegrationsModel"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/institutes/{id}/events": {
      "get": {
        "tags": [
          "Institutes"
        ],
        "summary": "Obtém eventos da instituição",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Institutes.InstituteEventModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Institutes.InstituteEventModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Institutes.InstituteEventModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/registrations/{id}": {
      "get": {
        "tags": [
          "Registrations"
        ],
        "summary": "Obtém as informações de uma requisição de registro",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Registrations.RegistrationModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Registrations.RegistrationModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Registrations.RegistrationModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/registrations/{id}/info": {
      "get": {
        "tags": [
          "Registrations"
        ],
        "summary": "Obtém as informações de uma requisição de registro para fins de revisão",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Registrations.RegistrationInfoModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Registrations.RegistrationInfoModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Registrations.RegistrationInfoModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/registrations/{id}/xml-ticket": {
      "get": {
        "tags": [
          "Registrations"
        ],
        "summary": "Obtém um ticket (URL) para download do diploma em XML",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/registrations/{id}/academic-documentation-ticket": {
      "get": {
        "tags": [
          "Registrations"
        ],
        "summary": "Obtém um ticket (URL) para download da documentação acadêmica em xml",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketFileModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/registrations": {
      "get": {
        "tags": [
          "Registrations"
        ],
        "summary": "Obtém todas requisições de registro cadastradas paginando a resposta",
        "parameters": [
          {
            "name": "Status",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/RegistrationStatus"
            }
          },
          {
            "name": "BatchId",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "StartDateUtc",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDateUtc",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "IsSigned",
            "in": "query",
            "description": "Filtra os documentos assinados independente do status ser ativo ou cancelado",
            "schema": {
              "type": "boolean"
            }
          },
          {
            "name": "Q",
            "in": "query",
            "description": "Query to filter items.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "description": "Number of items to return.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Offset",
            "in": "query",
            "description": "The offset of the searched page (starting with 0).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Order",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/PaginationOrders"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse[Registrations.RegistrationModel]"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse[Registrations.RegistrationModel]"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse[Registrations.RegistrationModel]"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/registrations/{id}/history": {
      "get": {
        "tags": [
          "Registrations"
        ],
        "summary": "Obtém histórico de atualizações da requisição de registro",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Registrations.RegistrationStatusUpdateModel"
                  }
                }
              },
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Registrations.RegistrationStatusUpdateModel"
                  }
                }
              },
              "text/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/Registrations.RegistrationStatusUpdateModel"
                  }
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/registrations/{id}/registration-data": {
      "post": {
        "tags": [
          "Registrations"
        ],
        "summary": "Envia as informações de registro da requisição de registro",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/Registrations.RegistrationRegisterRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Registrations.RegistrationRegisterRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Registrations.RegistrationRegisterRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Registrations.RegistrationRegisterRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/registrations/{id}/acceptance": {
      "post": {
        "tags": [
          "Registrations"
        ],
        "summary": "Aceita uma requisição de registro",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/Registrations.RegistrationApprovalRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Registrations.RegistrationApprovalRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Registrations.RegistrationApprovalRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Registrations.RegistrationApprovalRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/registrations/{id}/approval": {
      "post": {
        "tags": [
          "Registrations"
        ],
        "summary": "Aprova uma requisição de registro",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/Registrations.RegistrationApprovalRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Registrations.RegistrationApprovalRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Registrations.RegistrationApprovalRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Registrations.RegistrationApprovalRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/registrations/{id}/rejection": {
      "post": {
        "tags": [
          "Registrations"
        ],
        "summary": "Recusa uma requisição de registro",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/Registrations.RegistrationUpdateRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Registrations.RegistrationUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Registrations.RegistrationUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Registrations.RegistrationUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/registrations/{id}/cancellation": {
      "post": {
        "tags": [
          "Registrations"
        ],
        "summary": "Cancela uma requisição de registro",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/Registrations.RegistrationUpdateRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Registrations.RegistrationUpdateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Registrations.RegistrationUpdateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Registrations.RegistrationUpdateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/registrations/{id}/responsibility-term-ticket": {
      "get": {
        "tags": [
          "Registrations"
        ],
        "summary": "Obtém um ticket (URL) para download do termo de responsabilidade",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TicketModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/restamps": {
      "get": {
        "tags": [
          "Restamps"
        ],
        "summary": "Obtém todas as recarimbações realizadas ou a serem realizadas paginando a resposta",
        "parameters": [
          {
            "name": "DocumentTypes",
            "in": "query",
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/DocumentTypes"
              }
            }
          },
          {
            "name": "Status",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/RestampStatus"
            }
          },
          {
            "name": "RestampFilterField",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/RestampFilterFields"
            }
          },
          {
            "name": "StartDateUtc",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "EndDateUtc",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time"
            }
          },
          {
            "name": "Q",
            "in": "query",
            "description": "Query to filter items.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "description": "Number of items to return.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Offset",
            "in": "query",
            "description": "The offset of the searched page (starting with 0).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Order",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/PaginationOrders"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse`1[[Restamps.RestampModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse`1[[Restamps.RestampModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse`1[[Restamps.RestampModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/templates/{id}": {
      "get": {
        "tags": [
          "Templates"
        ],
        "summary": "Obtém informações de um modelo",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Templates.TemplateModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Templates.TemplateModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Templates.TemplateModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "put": {
        "tags": [
          "Templates"
        ],
        "summary": "Atualiza um modelo",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/Templates.UpdateTemplateRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Templates.UpdateTemplateRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Templates.UpdateTemplateRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Templates.UpdateTemplateRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Templates.TemplateModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Templates.TemplateModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Templates.TemplateModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "delete": {
        "tags": [
          "Templates"
        ],
        "summary": "Exclui um modelo",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/templates": {
      "get": {
        "tags": [
          "Templates"
        ],
        "summary": "Obtém todos os modelos cadastrados paginando a resposta",
        "parameters": [
          {
            "name": "Type",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/TemplateTypes"
            }
          },
          {
            "name": "Q",
            "in": "query",
            "description": "Query to filter items.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "Limit",
            "in": "query",
            "description": "Number of items to return.",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Offset",
            "in": "query",
            "description": "The offset of the searched page (starting with 0).",
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "Order",
            "in": "query",
            "schema": {
              "$ref": "#/components/schemas/PaginationOrders"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse[Templates.TemplateModel]"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse[Templates.TemplateModel]"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedSearchResponse[Templates.TemplateModel]"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "Templates"
        ],
        "summary": "Cria um modelo",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/Templates.TemplateData"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Templates.TemplateData"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Templates.TemplateData"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Templates.TemplateData"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Templates.TemplateModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Templates.TemplateModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Templates.TemplateModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/templates/preview-ticket": {
      "post": {
        "tags": [
          "Templates"
        ],
        "summary": "Obtém ticket (URL) para baixar arquivo de prévia do modelo utilizando dados de demonstração",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/Templates.TemplatePreviewTicketRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Templates.TemplatePreviewTicketRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Templates.TemplatePreviewTicketRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Templates.TemplatePreviewTicketRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/TicketModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/TicketModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/uploads/bytes": {
      "post": {
        "tags": [
          "Upload"
        ],
        "summary": "Envia um arquivo por meio de uma requisição JSON com os bytes em formato Base 64.",
        "requestBody": {
          "description": "",
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/Uploads.UploadBytesRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Uploads.UploadBytesRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/Uploads.UploadBytesRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/Uploads.UploadBytesRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/Uploads.UploadBytesModel"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Uploads.UploadBytesModel"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/Uploads.UploadBytesModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    },
    "/api/uploads": {
      "post": {
        "tags": [
          "Upload"
        ],
        "summary": "Envia um arquivo por meio de uma requisição multipart/form-data",
        "description": "O id retornado por esta API deve ser utilizado como parâmetro de outras APIs.",
        "requestBody": {
          "content": {
            "multipart/form-data": {
              "schema": {
                "type": "object",
                "properties": {
                  "file": {
                    "type": "file",
                    "description": "Arquivo a ser enviado",
                    "format": "form"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/FileModel"
                }
              }
            }
          },
          "400": {
            "description": "Syntax error, for instance when a required field is not specified"
          },
          "401": {
            "description": "Unauthorized"
          },
          "403": {
            "description": "Forbidden"
          },
          "422": {
            "description": "Semantic error, for instance when a given entity ID is not found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorModel"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AcademicTranscriptStatus": {
        "enum": [
          "Created",
          "Active",
          "Canceled",
          "CanceledTemporarily"
        ],
        "type": "string"
      },
      "AcademicTranscriptTypes": {
        "enum": [
          "Partial",
          "Final",
          "Copy"
        ],
        "type": "string"
      },
      "AcademicTranscripts.AcademicTranscriptCancellationRequest": {
        "required": [
          "reason"
        ],
        "type": "object",
        "properties": {
          "reason": {
            "maxLength": 500,
            "minLength": 1,
            "type": "string",
            "description": "O motivo da alteração do status.\r\nTamanho máximo de 500 caracteres"
          }
        },
        "additionalProperties": false
      },
      "AcademicTranscripts.AcademicTranscriptCreateRequest": {
        "required": [
          "academicTranscript",
          "academicTranscriptTemplateId",
          "type"
        ],
        "type": "object",
        "properties": {
          "academicTranscript": {
            "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptInformationModel"
          },
          "type": {
            "$ref": "#/components/schemas/AcademicTranscriptTypes"
          },
          "academicTranscriptTemplateId": {
            "type": "string",
            "description": "Id do template a ser utilizado para gerar a representação visual do histórico escolar",
            "format": "uuid"
          },
          "documentFlow": {
            "$ref": "#/components/schemas/DocumentFlows.DocumentFlowData"
          },
          "documentFlowId": {
            "type": "string",
            "description": "Id de um fluxo de assinatura previamente cadastrado",
            "format": "uuid",
            "nullable": true
          },
          "signerFolderId": {
            "type": "string",
            "description": "Define a pasta do Assinador, na qual serão colocados os arquivos XML do documento.",
            "format": "uuid",
            "nullable": true
          },
          "newFolderName": {
            "maxLength": 200,
            "type": "string",
            "description": "Caso informado irá criar uma nova pasta no Assinador com o nome informado.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AcademicTranscripts.AcademicTranscriptDetailsModel": {
        "type": "object",
        "properties": {
          "degreeId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "isAcademicTranscriptSigned": {
            "type": "boolean",
            "description": "Indica se o histórico escolar foi assinado"
          },
          "signerDocumentId": {
            "type": "string",
            "description": "Id do histórico escolar (XML) no Assinador",
            "format": "uuid"
          },
          "signerDocumentUrl": {
            "type": "string",
            "description": "URL do histórico escolar (XML) no Assinador",
            "nullable": true
          },
          "hasVisualRepresentation": {
            "type": "boolean"
          },
          "id": {
            "type": "string",
            "description": "ID do histórico escolar",
            "format": "uuid"
          },
          "studentName": {
            "type": "string",
            "description": "Nome do diplomado",
            "nullable": true
          },
          "studentSocialName": {
            "type": "string",
            "description": "Nome social do diplomado",
            "nullable": true
          },
          "studentCpf": {
            "type": "string",
            "description": "CPF do diplomado",
            "nullable": true
          },
          "course": {
            "type": "string",
            "description": "Nome do Curso",
            "nullable": true
          },
          "issuingIes": {
            "type": "string",
            "description": "Nome da IES Emissora",
            "nullable": true
          },
          "creationDate": {
            "type": "string",
            "description": "Data de criação do histórico escolar",
            "format": "date-time"
          },
          "updateDate": {
            "type": "string",
            "description": "Data da última atualização do histórico escolar",
            "format": "date-time"
          },
          "type": {
            "$ref": "#/components/schemas/AcademicTranscriptTypes"
          },
          "status": {
            "$ref": "#/components/schemas/AcademicTranscriptStatus"
          },
          "version": {
            "$ref": "#/components/schemas/DegreeVersions"
          },
          "verificationCode": {
            "type": "string",
            "description": "Código de validação do histórico escolar",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AcademicTranscripts.AcademicTranscriptInformationModel": {
        "type": "object",
        "properties": {
          "isNsf": {
            "type": "boolean"
          },
          "aluno": {
            "$ref": "#/components/schemas/Degrees.DadosDiplomado"
          },
          "dadosCurso": {
            "$ref": "#/components/schemas/Degrees.DadosMinimosCurso"
          },
          "iesEmissora": {
            "$ref": "#/components/schemas/Degrees.DadosIesEmissora"
          },
          "historicoEscolar": {
            "$ref": "#/components/schemas/Degrees.HistoricoEscolar"
          },
          "informacoesAdicionais": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AcademicTranscripts.AcademicTranscriptModel": {
        "type": "object",
        "properties": {
          "isAcademicTranscriptSigned": {
            "type": "boolean",
            "description": "Indica se o histórico escolar foi assinado"
          },
          "signerDocumentId": {
            "type": "string",
            "description": "Id do histórico escolar (XML) no Assinador",
            "format": "uuid"
          },
          "signerDocumentUrl": {
            "type": "string",
            "description": "URL do histórico escolar (XML) no Assinador",
            "nullable": true
          },
          "hasVisualRepresentation": {
            "type": "boolean"
          },
          "id": {
            "type": "string",
            "description": "ID do histórico escolar",
            "format": "uuid"
          },
          "studentName": {
            "type": "string",
            "description": "Nome do diplomado",
            "nullable": true
          },
          "studentSocialName": {
            "type": "string",
            "description": "Nome social do diplomado",
            "nullable": true
          },
          "studentCpf": {
            "type": "string",
            "description": "CPF do diplomado",
            "nullable": true
          },
          "course": {
            "type": "string",
            "description": "Nome do Curso",
            "nullable": true
          },
          "issuingIes": {
            "type": "string",
            "description": "Nome da IES Emissora",
            "nullable": true
          },
          "creationDate": {
            "type": "string",
            "description": "Data de criação do histórico escolar",
            "format": "date-time"
          },
          "updateDate": {
            "type": "string",
            "description": "Data da última atualização do histórico escolar",
            "format": "date-time"
          },
          "type": {
            "$ref": "#/components/schemas/AcademicTranscriptTypes"
          },
          "status": {
            "$ref": "#/components/schemas/AcademicTranscriptStatus"
          },
          "version": {
            "$ref": "#/components/schemas/DegreeVersions"
          },
          "verificationCode": {
            "type": "string",
            "description": "Código de validação do histórico escolar",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AcademicTranscripts.AcademicTranscriptStatusUpdateModel": {
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/AcademicTranscriptStatus"
          },
          "reason": {
            "type": "string",
            "nullable": true
          },
          "date": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "AcademicTranscripts.AcademicTranscriptUpdateStatusRequest": {
        "required": [
          "reason"
        ],
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/AcademicTranscriptStatus"
          },
          "reason": {
            "maxLength": 500,
            "minLength": 1,
            "type": "string",
            "description": "O motivo da alteração do status.\r\nTamanho máximo de 500 caracteres"
          }
        },
        "additionalProperties": false
      },
      "AcademicTranscripts.AcademicTranscriptValidationInformationModel": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/AcademicTranscriptTypes"
          },
          "aluno": {
            "$ref": "#/components/schemas/Degrees.DadosDiplomado"
          },
          "dadosCurso": {
            "$ref": "#/components/schemas/Degrees.DadosMinimosCurso"
          },
          "iesEmissora": {
            "$ref": "#/components/schemas/Degrees.DadosIesEmissora"
          },
          "ingresso": {
            "$ref": "#/components/schemas/Degrees.IngressoCurso"
          },
          "dataEmissaoHistorico": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "horaEmissaoHistorico": {
            "type": "string",
            "nullable": true
          },
          "situacaoAtualDiscente": {
            "$ref": "#/components/schemas/Degrees.SituacaoAtualDiscente"
          },
          "informacoesAdicionais": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AcademicTranscripts.AcademicTranscriptValidationModel": {
        "type": "object",
        "properties": {
          "history": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptStatusUpdateModel"
            },
            "nullable": true
          },
          "information": {
            "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptValidationInformationModel"
          },
          "isValid": {
            "type": "boolean"
          },
          "isCancelled": {
            "type": "boolean"
          },
          "hasVisualRepresentation": {
            "type": "boolean"
          },
          "visualRepresentationTicket": {
            "$ref": "#/components/schemas/TicketFileModel"
          },
          "xmlTicket": {
            "$ref": "#/components/schemas/TicketFileModel"
          },
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "AgentTypes": {
        "enum": [
          "User",
          "Application"
        ],
        "type": "string"
      },
      "Agents.AgentModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "type": {
            "$ref": "#/components/schemas/AgentTypes"
          },
          "name": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "BatchFileTypes": {
        "enum": [
          "Json",
          "Csv"
        ],
        "type": "string"
      },
      "BatchStatus": {
        "enum": [
          "Created",
          "Started",
          "Completed",
          "Canceled"
        ],
        "type": "string"
      },
      "BatchTypes": {
        "enum": [
          "EmissionRegistration",
          "Emission",
          "Registration",
          "AcademicTranscript",
          "Curriculum"
        ],
        "type": "string"
      },
      "Batches.BatchCreateRequest": {
        "required": [
          "fileType"
        ],
        "type": "object",
        "properties": {
          "templateId": {
            "type": "string",
            "description": "Id do template a ser utilizado para gerar a representação visual",
            "format": "uuid",
            "nullable": true
          },
          "academicTranscriptTemplateId": {
            "type": "string",
            "description": "Id do template a ser utilizado para gerar a representação visual do histórico escolar",
            "format": "uuid",
            "nullable": true
          },
          "curriculumTemplateId": {
            "type": "string",
            "description": "Id do template a ser utilizado para gerar a representação visual do currículo escolar",
            "format": "uuid",
            "nullable": true
          },
          "degreesFile": {
            "$ref": "#/components/schemas/UploadModel"
          },
          "batchFile": {
            "$ref": "#/components/schemas/UploadModel"
          },
          "documentFlowId": {
            "type": "string",
            "description": "Id de um fluxo de assinatura previamente cadastrado",
            "format": "uuid",
            "nullable": true
          },
          "documentFlow": {
            "$ref": "#/components/schemas/DocumentFlows.DocumentFlowData"
          },
          "signerFolderId": {
            "type": "string",
            "description": "Id da pasta no Assinador",
            "format": "uuid",
            "nullable": true
          },
          "newFolderName": {
            "maxLength": 200,
            "type": "string",
            "description": "Nome da pasta a ser criada no Assinador",
            "nullable": true
          },
          "fileType": {
            "$ref": "#/components/schemas/BatchFileTypes"
          },
          "type": {
            "$ref": "#/components/schemas/BatchTypes"
          },
          "academicTranscriptType": {
            "$ref": "#/components/schemas/AcademicTranscriptTypes"
          },
          "emission": {
            "$ref": "#/components/schemas/Batches.EmissionData"
          },
          "registration": {
            "$ref": "#/components/schemas/Batches.RegistrationCreateData"
          },
          "degreeVersion": {
            "$ref": "#/components/schemas/DegreeVersions"
          }
        },
        "additionalProperties": false
      },
      "Batches.BatchCreateResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Id do lote criado",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "Batches.BatchModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "totalDegrees": {
            "type": "integer",
            "description": "Total de diplomas do lote",
            "format": "int32"
          },
          "totalDegreesCreated": {
            "type": "integer",
            "description": "Total de diplomas criados",
            "format": "int32"
          },
          "totalDegreesWithError": {
            "type": "integer",
            "description": "Total de diplomas com erro",
            "format": "int32"
          },
          "status": {
            "$ref": "#/components/schemas/BatchStatus"
          },
          "creationDate": {
            "type": "string",
            "description": "Data de criação do lote",
            "format": "date-time"
          },
          "updateDate": {
            "type": "string",
            "description": "Data de atualização do lote",
            "format": "date-time"
          },
          "createdBy": {
            "$ref": "#/components/schemas/Agents.AgentModel"
          },
          "type": {
            "$ref": "#/components/schemas/BatchTypes"
          }
        },
        "additionalProperties": false
      },
      "Batches.DocumentacaoComprobatoriaUploadModel": {
        "required": [
          "tipo"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "contentType": {
            "type": "string",
            "nullable": true
          },
          "tipo": {
            "$ref": "#/components/schemas/Degrees.TipoDocumentacao"
          },
          "observacoes": {
            "maxLength": 255,
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Batches.EmissionData": {
        "type": "object",
        "properties": {
          "registrationType": {
            "$ref": "#/components/schemas/RegistrationTypes"
          },
          "registryId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Batches.EmissionRequestFilesModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Batches.EmissionRequestFilesModel": {
        "required": [
          "degreeType"
        ],
        "type": "object",
        "properties": {
          "index": {
            "type": "integer",
            "format": "int32"
          },
          "degreeType": {
            "$ref": "#/components/schemas/DegreeTypes"
          },
          "documentacaoComprobatoria": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Batches.DocumentacaoComprobatoriaUploadModel"
            },
            "nullable": true
          },
          "atoDesignacao": {
            "$ref": "#/components/schemas/UploadModel"
          }
        },
        "additionalProperties": false
      },
      "Batches.RegistrationCreateData": {
        "type": "object",
        "properties": {
          "skipSignatureValidation": {
            "type": "boolean"
          },
          "academicDocumentationFiles": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/UploadModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Batches.ValidateBatchFileRequest": {
        "required": [
          "contentType"
        ],
        "type": "object",
        "properties": {
          "fileType": {
            "$ref": "#/components/schemas/BatchFileTypes"
          },
          "academicTranscriptType": {
            "$ref": "#/components/schemas/AcademicTranscriptTypes"
          },
          "degreeVersion": {
            "$ref": "#/components/schemas/DegreeVersions"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "contentType": {
            "minLength": 1,
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "Batches.ValidateDegreesFileResponse`1[[AcademicTranscripts.AcademicTranscriptInformationModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]": {
        "type": "object",
        "properties": {
          "isValid": {
            "type": "boolean"
          },
          "totalErrors": {
            "type": "integer",
            "format": "int32"
          },
          "generalError": {
            "$ref": "#/components/schemas/ErrorModel"
          },
          "result": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Degrees.DegreeInformationValidation`1[[AcademicTranscripts.AcademicTranscriptInformationModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Batches.ValidateDegreesFileResponse`1[[Curriculums.CurriculumInformationModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]": {
        "type": "object",
        "properties": {
          "isValid": {
            "type": "boolean"
          },
          "totalErrors": {
            "type": "integer",
            "format": "int32"
          },
          "generalError": {
            "$ref": "#/components/schemas/ErrorModel"
          },
          "result": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Degrees.DegreeInformationValidation`1[[Curriculums.CurriculumInformationModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "CancellationList.CancellationListModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "iesCode": {
            "type": "integer",
            "format": "int32"
          },
          "iesName": {
            "type": "string",
            "nullable": true
          },
          "sequenceNumber": {
            "type": "integer",
            "format": "int32"
          },
          "status": {
            "$ref": "#/components/schemas/CancellationListStatus"
          },
          "signerDocumentId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "signerDocumentUrl": {
            "type": "string",
            "nullable": true
          },
          "version": {
            "$ref": "#/components/schemas/DegreeVersions"
          },
          "creationDate": {
            "type": "string",
            "format": "date-time"
          },
          "maximumNextUpdateDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "CancellationListStatus": {
        "enum": [
          "Created",
          "Signed"
        ],
        "type": "string"
      },
      "CurriculumStatus": {
        "enum": [
          "Created",
          "Active",
          "Canceled"
        ],
        "type": "string"
      },
      "Curriculums.AtividadeComplementarCurriculo": {
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string",
            "description": "Obrigatório.\r\nEspecifica um código que identifica unicamente a Atividade dentro do currículo. \r\nSerá usado para associar os elementos históricos do tipo Atividade Complementar com a Atividade Complementar do Currículo.",
            "nullable": true
          },
          "nome": {
            "type": "string",
            "description": "Obrigatório.\r\nEspecifica um Nome descritivo para a Atividade Complementar, a ser usada no RVCE.",
            "nullable": true
          },
          "descricao": {
            "type": "string",
            "description": "Opcional.\r\nEspecifica um campo aberto descritivo para detalhar o que consiste a Atividade Complementar.",
            "nullable": true
          },
          "limiteCargaHorariaEmHoraRelogio": {
            "type": "number",
            "description": "Obrigatório.\r\nEspecifica a carga horária máxima desta atividade complementar para fins de integralização curricular.",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Curriculums.CategoriaAtividadeComplementar": {
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string",
            "description": "Obrigatório.\r\nCódigo para referencia esta categoria de Atividades Complementares",
            "nullable": true
          },
          "nome": {
            "type": "string",
            "description": "Obrigatório.\r\nNome descritivo para referenciar esta categoria de Atividades Complementares no RVCE.",
            "nullable": true
          },
          "limiteCargaHorariaEmHoraRelogio": {
            "type": "number",
            "description": "Opcional.\r\nQuando informado impõe um limite de horas que as atividades associadas a esta categoria para fins de integralização curricular.",
            "format": "double",
            "nullable": true
          },
          "atividades": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Curriculums.AtividadeComplementarCurriculo"
            },
            "description": "Obrigatório.\r\nDefine a lista de atividades associadas a esta categoria.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Curriculums.CriterioIntegralizacao": {
        "type": "object",
        "properties": {
          "tipo": {
            "$ref": "#/components/schemas/Curriculums.TipoCriterioIntegralizacao"
          },
          "rotulos": {
            "$ref": "#/components/schemas/Curriculums.RotulosIntegralizacao"
          },
          "expressao": {
            "$ref": "#/components/schemas/Curriculums.ExpressaoIntegralizacao"
          }
        },
        "additionalProperties": false
      },
      "Curriculums.CurriculumCreateRequest": {
        "required": [
          "curriculum",
          "templateId"
        ],
        "type": "object",
        "properties": {
          "templateId": {
            "type": "string",
            "description": "Id do template a ser utilizado para gerar a representação visual do currículo escolar",
            "format": "uuid"
          },
          "documentFlow": {
            "$ref": "#/components/schemas/DocumentFlows.DocumentFlowData"
          },
          "documentFlowId": {
            "type": "string",
            "description": "Id de um fluxo de assinatura previamente cadastrado",
            "format": "uuid",
            "nullable": true
          },
          "signerFolderId": {
            "type": "string",
            "description": "Define a pasta do Assinador, na qual serão colocados o arquivo XML do documento.",
            "format": "uuid",
            "nullable": true
          },
          "newFolderName": {
            "maxLength": 200,
            "type": "string",
            "description": "Caso informado irá criar uma nova pasta no Assinador com o nome informado.",
            "nullable": true
          },
          "curriculum": {
            "$ref": "#/components/schemas/Curriculums.CurriculumInformationModel"
          }
        },
        "additionalProperties": false
      },
      "Curriculums.CurriculumCreateResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indica se o currículo escolar foi criado com sucesso",
            "readOnly": true
          },
          "id": {
            "type": "string",
            "description": "Id do currículo escolar criado",
            "format": "uuid",
            "nullable": true
          },
          "errors": {
            "type": "string",
            "description": "Texto com os erros que ocorreram durante a criação do currículo escolar",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Curriculums.CurriculumInformationModel": {
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string",
            "description": "Código único usado pela IES para referenciar o currículo escolar internamente. Será utilizado para associar um Currículo Escolar a um Histórico Escolar.\r\nQuaisquer alterações exigem a criação de um novo Currículo Escolar, com um novo CodigoCurriculo único, a ser publicado pela IES, exceto a inclusção de novas Equivalências em Unidades Curriculares.",
            "nullable": true
          },
          "dataCurriculo": {
            "type": "string",
            "description": "Data em que o currículo escolar foi aprovado e passou a ser aplicado ao curso.\r\nA data será definida no momento da emissão de forma automática. Caso seja informada uma data, sobrescreverá a data gerada automaticamente.",
            "format": "date-time",
            "nullable": true
          },
          "minutosRelogioDaHoraAula": {
            "type": "integer",
            "description": "Indica quantos Minutos-Relógio tem uma Hora Aula neste currículo",
            "format": "int32",
            "nullable": true
          },
          "nomeParaAreas": {
            "type": "string",
            "description": "Opcional.\r\nDeve conter o nome usado pelo Curso para se referir às Áreas de Concentração, Competências, Linhas de Formação, ou equivalentes. Caso omitido, assume-se que o termo ‘Áreas de Concentração’",
            "nullable": true
          },
          "dadosCurso": {
            "$ref": "#/components/schemas/Degrees.DadosMinimosCurso"
          },
          "iesEmissora": {
            "$ref": "#/components/schemas/Degrees.DadosIesEmissora"
          },
          "etiquetas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Curriculums.DadosEtiqueta"
            },
            "description": "Utilizada para classificação das Unidades Curriculares.\r\nTodo currículo escolar possui um conjunto mínimo de Etiquetas, são elas:\r\n\t- Obrigatória (código ob): caracterizam as Unidades Curriculares que devem obrigatoriamente serem cursadas pelos alunos para integralizar o currículo;\r\n\t- Extensao (código ext): caracteriza Unidades Curriculares cuja carga horária, total ou parcialmentet, deve ser usada para cômputo da carga de extensão para curricularização.",
            "nullable": true
          },
          "areas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Curriculums.DadosArea"
            },
            "description": "Conjunto de Áreas usadas para classificação das Unidades Curriculares que compõe uma Áreas de Concentração, Competências, Linhas de Formação, ou equivalentes.\r\nCaso o Projeto Pedagógico do Curso não preveja Áreas, enviar esta lista vazia",
            "nullable": true
          },
          "estruturaCurricular": {
            "$ref": "#/components/schemas/Curriculums.EstruturaCurricular"
          },
          "estruturaAtividadeComplementar": {
            "$ref": "#/components/schemas/Curriculums.EstruturaAtividadeComplementar"
          },
          "criteriosIntegralizacao": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Curriculums.CriterioIntegralizacao"
            },
            "description": "Obrigatório.\r\nLista os Critérios de Integralização Curricular, conforme definidos no PPC do Curso",
            "nullable": true
          },
          "informacoesAdicionais": {
            "type": "string",
            "nullable": true
          },
          "isNsf": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "Curriculums.CurriculumModel": {
        "type": "object",
        "properties": {
          "isSigned": {
            "type": "boolean",
            "description": "Indica se o currículo escolar foi assinado"
          },
          "signerDocumentId": {
            "type": "string",
            "description": "Id do currículo escolar (XML) no Assinador",
            "format": "uuid"
          },
          "signerDocumentUrl": {
            "type": "string",
            "description": "URL do currículo escolar (XML) no Assinador",
            "nullable": true
          },
          "hasVisualRepresentation": {
            "type": "boolean"
          },
          "id": {
            "type": "string",
            "description": "ID do currículo escolar",
            "format": "uuid"
          },
          "code": {
            "type": "string",
            "description": "Código do currículo escolar",
            "nullable": true
          },
          "course": {
            "type": "string",
            "description": "Nome do Curso",
            "nullable": true
          },
          "iesName": {
            "type": "string",
            "description": "Nome da IES Emissora",
            "nullable": true
          },
          "creationDate": {
            "type": "string",
            "description": "Data de criação do currículo escolar",
            "format": "date-time"
          },
          "updateDate": {
            "type": "string",
            "description": "Data da última atualização do currículo escolar",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/CurriculumStatus"
          },
          "version": {
            "$ref": "#/components/schemas/DegreeVersions"
          },
          "validationCode": {
            "type": "string",
            "description": "Código de validação do currículo escolar",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Curriculums.CurriculumStatusUpdateModel": {
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/CurriculumStatus"
          },
          "reason": {
            "type": "string",
            "nullable": true
          },
          "date": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "Curriculums.CurriculumValidationInformationModel": {
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string",
            "nullable": true
          },
          "dataCurriculo": {
            "type": "string",
            "format": "date-time"
          },
          "dadosCurso": {
            "$ref": "#/components/schemas/Degrees.DadosMinimosCurso"
          },
          "iesEmissora": {
            "$ref": "#/components/schemas/Degrees.DadosIesEmissora"
          },
          "informacoesAdicionais": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Curriculums.CurriculumValidationModel": {
        "type": "object",
        "properties": {
          "history": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Curriculums.CurriculumStatusUpdateModel"
            },
            "nullable": true
          },
          "information": {
            "$ref": "#/components/schemas/Curriculums.CurriculumValidationInformationModel"
          },
          "isValid": {
            "type": "boolean"
          },
          "isCancelled": {
            "type": "boolean"
          },
          "hasVisualRepresentation": {
            "type": "boolean"
          },
          "visualRepresentationTicket": {
            "$ref": "#/components/schemas/TicketFileModel"
          },
          "xmlTicket": {
            "$ref": "#/components/schemas/TicketFileModel"
          },
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Curriculums.DadosArea": {
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string",
            "description": "Código a ser usado para referenciar esta área",
            "nullable": true
          },
          "nome": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Curriculums.DadosEtiqueta": {
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string",
            "description": "Código a ser usado para referenciar esta etiqueta",
            "nullable": true
          },
          "nome": {
            "type": "string",
            "description": "Indica nome descritivo associado a uma etiqueta a ser usado no RVCE",
            "nullable": true
          },
          "aplicadoAutomaticamenteUnidadesNaoPertencentesAoCurriculo": {
            "type": "boolean",
            "description": "Elemento opcional e deve ser usado para identificar qual etiqueta deve ser aplicada a Unidades Curriculares constantes no Histórico Escolar de um aluno que não fazem parte do presente currículo, ou seja, disciplinas extracurriculares.\r\nApenas uma etiqueta pode possuir este atributo com valor True.\r\nEnviar com valor nulo caso não queira informar nenhuma informação para este campo.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Curriculums.Ementa": {
        "type": "object",
        "properties": {
          "itens": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Curriculums.ItemEmenta"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Curriculums.EstruturaAtividadeComplementar": {
        "type": "object",
        "properties": {
          "categorias": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Curriculums.CategoriaAtividadeComplementar"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Curriculums.EstruturaCurricular": {
        "type": "object",
        "properties": {
          "unidadesCurriculares": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Curriculums.UnidadeCurricular"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Curriculums.Etiqueta": {
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string",
            "description": "Código da Etiqueta que qualifica a Unidade Curricular para fins de cômputo da integralização curricular",
            "nullable": true
          },
          "cargaHorariaEmHoraAula": {
            "type": "integer",
            "description": "Opcional.\r\nCaso esteja presente, este número de horas será utilizado para fins de contabilização de carga horária. Caso não, será usado a carga horária da Unidade Curricular.",
            "format": "int32",
            "nullable": true
          },
          "cargaHorariaEmHoraRelogio": {
            "type": "number",
            "description": "Obrigatório caso HoraAula seja informado\r\nCaso esteja presente, este número de horas será utilizado para fins de contabilização de carga horária. Caso não, será usado a carga horária da Unidade Curricular.",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Curriculums.ExpressaoIntegralizacao": {
        "type": "object",
        "properties": {
          "somatorioCodigos": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Obrigatório.\r\nDefine a fórmula matemática para computar um somatório de cargas horárias associada a este critério.",
            "nullable": true
          },
          "codigo": {
            "type": "string",
            "description": "Obrigatório.\r\nIdentifica o critério unicamente dentro do Currículo Escolar",
            "nullable": true
          },
          "limitesCargaHoraria": {
            "$ref": "#/components/schemas/Curriculums.LimitesCargaHoraria"
          }
        },
        "additionalProperties": false
      },
      "Curriculums.ItemEmenta": {
        "type": "object",
        "properties": {
          "descricao": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Curriculums.LimitesCargaHoraria": {
        "type": "object",
        "properties": {
          "cargaHorariaMinima": {
            "type": "number",
            "description": "Obrigatório.\r\nDefine o mínimo de horas que o aluno deve cursar, considerando as Unidades Curriculares que atendam ao Critério, para que o critério seja atendido.",
            "format": "double",
            "nullable": true
          },
          "cargaHorariaMaxima": {
            "type": "number",
            "description": "Obrigatório.\r\nDefine o máximo de horas que o aluno deve cursar, considerando as Unidades Curriculares que atendam ao Critério, para fins de integralização curricular.\r\nCaso um histórico possua elementos de histórico com mais horas do que associadas ao Critério, será considerada a Carga Horária Máxima.",
            "format": "double",
            "nullable": true
          },
          "cargaHorariaParaTotal": {
            "type": "number",
            "description": "Opcional.\r\nDeve ser usado para indicar que quanto de carga horária deste Critério contribui para o Total da Carga Horária do Curso.\r\nCaso seja omitida, considera-se que este critério é utilizado exclusivamente para definir critérios de integralização e não contribui com a carga horária total do curso.",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Curriculums.RotulosIntegralizacao": {
        "type": "object",
        "properties": {
          "tipoUnidadeCurricular": {
            "$ref": "#/components/schemas/Curriculums.TipoUnidadeCurricular"
          },
          "etiquetas": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Opcional.\r\nDefine as etiquetas que a Unidade Curricular devem atender para que este Critério se aplique.",
            "nullable": true
          },
          "codigo": {
            "type": "string",
            "description": "Obrigatório.\r\nIdentifica o critério unicamente dentro do Currículo Escolar",
            "nullable": true
          },
          "limitesCargaHoraria": {
            "$ref": "#/components/schemas/Curriculums.LimitesCargaHoraria"
          }
        },
        "additionalProperties": false
      },
      "Curriculums.TipoCriterioIntegralizacao": {
        "enum": [
          "Rotulos",
          "Expressao"
        ],
        "type": "string"
      },
      "Curriculums.TipoUnidadeCurricular": {
        "enum": [
          "Disciplina",
          "Módulo",
          "Atividade",
          "Estágio",
          "Trabalho de Conclusão de Curso",
          "Monografia",
          "Artigo",
          "Projeto",
          "Produto",
          "Atividade Complementar",
          "Atividade de Extensão"
        ],
        "type": "string"
      },
      "Curriculums.UnidadeCurricular": {
        "type": "object",
        "properties": {
          "tipo": {
            "$ref": "#/components/schemas/Curriculums.TipoUnidadeCurricular"
          },
          "codigo": {
            "type": "string",
            "description": "Obrigatório.\r\nEste código deve ser usado no histórico de forma a ssociar um Elemento do Histórico a uma Unidade Curricular",
            "nullable": true
          },
          "nome": {
            "type": "string",
            "description": "Obrigatório.\r\nNome descritivo ser usado no RVCE para referenciar esta unidade curricular.",
            "nullable": true
          },
          "cargaHorariaEmHoraAula": {
            "type": "integer",
            "description": "Opcional.\r\nAssocia a esta unidade curricular uma carga horária expressa em Hora-Aula para fins de cômputo da integralização curricular.",
            "format": "int32",
            "nullable": true
          },
          "cargaHorariaEmHoraRelogio": {
            "type": "number",
            "description": "Obrigatório.\r\nAssocia a esta unidade curricular uma carga horária expressa em Hora-Aula para fins de cômputo da integralização curricular.",
            "format": "double",
            "nullable": true
          },
          "ementa": {
            "$ref": "#/components/schemas/Curriculums.Ementa"
          },
          "fase": {
            "type": "string",
            "description": "Opcional.\r\nEspecifica a fase do curso recomendada para cursar a Unidade Curricular.",
            "nullable": true
          },
          "equivalencias": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Curriculums.UnidadeCurricularEquivalente"
            },
            "description": "Deve ser usado para identificar Unidades Curriculares, ou conjuntos de Unidades Curriculares, que quando cursadas pela aluno implicam na integralização desta Unidade Curricular.",
            "nullable": true
          },
          "preRequisitos": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Deve ser usado para identificar Unidades Curriculares, ou conjuntos de Unidades Curriculares, que quando cursadas pela aluno implicam na integralização desta Unidade Curricular.\r\nDeve ser informado o código da unidade curricular dependente.",
            "nullable": true
          },
          "etiquetas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Curriculums.Etiqueta"
            },
            "description": "Opcional.\r\nDeve ser usado para declarar a lista de etiquetas associadas a esta Unidade Curricular.",
            "nullable": true
          },
          "areas": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Opcional.\r\nUsado para declara a lista de áreas associadas a esta Unidade Curricular.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Curriculums.UnidadeCurricularEquivalente": {
        "type": "object",
        "properties": {
          "codigosUnidadesEquivalentes": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DegreeCancellationReasons": {
        "enum": [
          "ErroDeFato",
          "ErroDeDireito",
          "DecisaoJudicial",
          "ReemissaoParaComplementoDeInformacao",
          "ReemissaoParaInclusaoDeHabilitacao",
          "ReemissaoParaAnotacaoDeRegistro"
        ],
        "type": "string"
      },
      "DegreeInformationValidation[Degrees.DegreeEmissionRequestModel]": {
        "type": "object",
        "properties": {
          "entryNumber": {
            "type": "integer",
            "format": "int32"
          },
          "isValid": {
            "type": "boolean"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "structureErrors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "signatureErrors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "information": {
            "$ref": "#/components/schemas/Degrees.DegreeEmissionRequestModel"
          }
        },
        "additionalProperties": false
      },
      "DegreeInformationValidation[Degrees.DegreeFullInformationModel]": {
        "type": "object",
        "properties": {
          "entryNumber": {
            "type": "integer",
            "format": "int32"
          },
          "isValid": {
            "type": "boolean"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "structureErrors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "signatureErrors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "information": {
            "$ref": "#/components/schemas/Degrees.DegreeFullInformationModel"
          }
        },
        "additionalProperties": false
      },
      "DegreeStatus": {
        "enum": [
          "Created",
          "Active",
          "Canceled",
          "CanceledTemporarily"
        ],
        "type": "string"
      },
      "DegreeTypes": {
        "enum": [
          "Default",
          "Nsf",
          "JudicialDecision"
        ],
        "type": "string"
      },
      "DegreeVersions": {
        "enum": [
          "V100",
          "V101",
          "V102",
          "V103",
          "V1041",
          "V105"
        ],
        "type": "string"
      },
      "Degrees.AcademicDocumentationInformation": {
        "type": "object",
        "properties": {
          "registro": {
            "$ref": "#/components/schemas/Degrees.RegistrationInformation"
          }
        },
        "additionalProperties": false
      },
      "Degrees.AprovacaoDisciplina": {
        "type": "object",
        "properties": {
          "formaIntegralizacao": {
            "$ref": "#/components/schemas/Degrees.FormaIntegralizacao"
          },
          "outraFormaIntegralizacao": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.AreaComNome": {
        "type": "object",
        "properties": {
          "codigo": {
            "type": "string",
            "description": "O elemento Codigo deve remeter ao código especificado no curriculo",
            "nullable": true
          },
          "nome": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.AtividadeComplementar": {
        "type": "object",
        "properties": {
          "dataRegistro": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "tipo": {
            "type": "string",
            "nullable": true
          },
          "codigo": {
            "type": "string",
            "nullable": true
          },
          "dataInicio": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dataFim": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "descricao": {
            "type": "string",
            "nullable": true
          },
          "cargaHorariaEmHoraRelogioComEtiqueta": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Degrees.HoraRelogioComEtiqueta"
            },
            "description": "Pode ser associada a uma etiqueta definida no Currículo Escolar  permitindo identificar a natureza da carga horária dentro do Currículo do Curso",
            "nullable": true
          },
          "docentes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Degrees.Docente"
            },
            "nullable": true
          },
          "cargaHorariaEmHoraRelogio": {
            "type": "number",
            "description": "OBSOLETO. Utilizar <see cref=\"P:Lacuna.Digiploma.Api.Degrees.AtividadeBase.CargaHorariaEmHoraRelogioComEtiqueta\">cargaHorariaEmHoraRelogioComEtiqueta</see>",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.AtoRegulatorio": {
        "type": "object",
        "properties": {
          "tipo": {
            "$ref": "#/components/schemas/Degrees.TipoAto"
          },
          "informacoesTramitacaoEmec": {
            "$ref": "#/components/schemas/Degrees.InformacoesTramitacaoEmec"
          },
          "numero": {
            "type": "string",
            "nullable": true
          },
          "data": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "veiculoPublicacao": {
            "type": "string",
            "nullable": true
          },
          "dataPublicacao": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "secaoPublicacao": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "paginaPublicacao": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numeroDOU": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.AtoRegulatorioBase": {
        "type": "object",
        "properties": {
          "tipo": {
            "$ref": "#/components/schemas/Degrees.TipoAtoBase"
          },
          "numero": {
            "type": "string",
            "nullable": true
          },
          "data": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "veiculoPublicacao": {
            "type": "string",
            "nullable": true
          },
          "dataPublicacao": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "secaoPublicacao": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "paginaPublicacao": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "numeroDOU": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.CargaHoraria": {
        "type": "object",
        "properties": {
          "tipo": {
            "$ref": "#/components/schemas/Degrees.TipoCargaHoraria"
          },
          "horaAula": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "horaRelogio": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.CargaHorariaComEtiqueta": {
        "type": "object",
        "properties": {
          "etiqueta": {
            "type": "string",
            "nullable": true
          },
          "tipo": {
            "$ref": "#/components/schemas/Degrees.TipoCargaHoraria"
          },
          "horaAula": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "horaRelogio": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.CargosAssinantes": {
        "enum": [
          "Reitor",
          "Reitor em Exercício",
          "Responsável pelo registro",
          "Coordenador de Curso",
          "Subcoordenador de Curso",
          "Coordenador de Curso em exercício",
          "Chefe da área de registro de diplomas",
          "Chefe em exercício da área de registro de diplomas"
        ],
        "type": "string"
      },
      "Degrees.ConcedenteEstagio": {
        "type": "object",
        "properties": {
          "tipo": {
            "$ref": "#/components/schemas/Degrees.TipoConcedenteEstagio"
          },
          "razaoSocial": {
            "type": "string",
            "nullable": true
          },
          "nomeFantasia": {
            "type": "string",
            "nullable": true
          },
          "cnpj": {
            "type": "string",
            "nullable": true
          },
          "nome": {
            "type": "string",
            "nullable": true
          },
          "cpf": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.Conceito": {
        "enum": [
          "A",
          "A+",
          "A-",
          "B",
          "B+",
          "B-",
          "C",
          "C+",
          "C-",
          "D",
          "D+",
          "D-",
          "E",
          "E+",
          "E-",
          "F",
          "F+",
          "F-"
        ],
        "type": "string"
      },
      "Degrees.ConceitoRM": {
        "enum": [
          "A",
          "B",
          "C",
          "APD",
          "APP",
          "APR"
        ],
        "type": "string"
      },
      "Degrees.CondicaoEnade": {
        "enum": [
          "Ingressante",
          "Concluinte"
        ],
        "type": "string"
      },
      "Degrees.DadosCurso": {
        "type": "object",
        "properties": {
          "enfases": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Não pode ser definido para NSF.",
            "nullable": true
          },
          "modalidade": {
            "$ref": "#/components/schemas/Degrees.ModalidadeCurso"
          },
          "modalidadeNSF": {
            "$ref": "#/components/schemas/Degrees.ModalidadeCursoNSF"
          },
          "tituloConferido": {
            "$ref": "#/components/schemas/Degrees.TituloConferido"
          },
          "grauConferido": {
            "$ref": "#/components/schemas/Degrees.GrauConferido"
          },
          "enderecoCurso": {
            "$ref": "#/components/schemas/Degrees.Endereco"
          },
          "polo": {
            "$ref": "#/components/schemas/Degrees.Polo"
          },
          "nomeCurso": {
            "type": "string",
            "nullable": true
          },
          "codigoCursoEMEC": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "informacoesTramitacaoEmec": {
            "$ref": "#/components/schemas/Degrees.InformacoesTramitacaoEmec"
          },
          "habilitacoes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Degrees.Habilitacao"
            },
            "nullable": true
          },
          "autorizacao": {
            "$ref": "#/components/schemas/Degrees.AtoRegulatorio"
          },
          "reconhecimento": {
            "$ref": "#/components/schemas/Degrees.AtoRegulatorio"
          },
          "renovacaoReconhecimento": {
            "$ref": "#/components/schemas/Degrees.AtoRegulatorio"
          },
          "nomeHabilitacao": {
            "type": "string",
            "description": "OBSOLETO. A partir da v1.03 é possível especificar mais de uma habilitação. Usar <see cref=\"P:Lacuna.Digiploma.Api.Degrees.DadosMinimosCurso.NomesHabilitacao\">nomesHabilitacao</see>",
            "nullable": true
          },
          "nomesHabilitacao": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "OBSOLETO. A partir da v1.04 foi criado um tipo específico para habilitação. Usar <see cref=\"P:Lacuna.Digiploma.Api.Degrees.DadosMinimosCurso.Habilitacoes\">habilitacoes</see>",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.DadosDiploma": {
        "required": [
          "iesEmissora"
        ],
        "type": "object",
        "properties": {
          "diplomado": {
            "$ref": "#/components/schemas/Degrees.DadosDiplomado"
          },
          "dataConclusao": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dadosCurso": {
            "$ref": "#/components/schemas/Degrees.DadosCurso"
          },
          "assinantes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Degrees.InfoAssinante"
            },
            "nullable": true
          },
          "iesEmissora": {
            "$ref": "#/components/schemas/Degrees.DadosIesEmissora"
          },
          "declaracoesAcercaProcesso": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Utilizada quando o diploma for do tipo Decisão Judicial\r\nPropriedade opcional para o preenchimento de declarações sobre o processo judicial, circunstâncias de emissão, ausência de informações, ou qualquer declaração que julgar pertinente.",
            "nullable": true
          },
          "dadosIesOriginalCursoPTA": {
            "$ref": "#/components/schemas/Degrees.DadosIesOriginalCursoPTA"
          }
        },
        "additionalProperties": false
      },
      "Degrees.DadosDiplomado": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "nome": {
            "type": "string",
            "nullable": true
          },
          "nomeSocial": {
            "type": "string",
            "nullable": true
          },
          "sexo": {
            "$ref": "#/components/schemas/Degrees.Sexo"
          },
          "nacionalidade": {
            "type": "string",
            "nullable": true
          },
          "naturalidade": {
            "$ref": "#/components/schemas/Degrees.Naturalidade"
          },
          "cpf": {
            "type": "string",
            "nullable": true
          },
          "rg": {
            "$ref": "#/components/schemas/Degrees.RG"
          },
          "outroDocumentoIdentificacao": {
            "$ref": "#/components/schemas/Degrees.OutroDocumentoIdentificacao"
          },
          "dataNascimento": {
            "type": "string",
            "description": "Formato ISO 8601",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.DadosIesEmissora": {
        "type": "object",
        "properties": {
          "endereco": {
            "$ref": "#/components/schemas/Degrees.Endereco"
          },
          "mantenedora": {
            "$ref": "#/components/schemas/Degrees.Mantenedora"
          },
          "nome": {
            "type": "string",
            "nullable": true
          },
          "codigoMEC": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "cnpj": {
            "type": "string",
            "nullable": true
          },
          "credenciamento": {
            "$ref": "#/components/schemas/Degrees.AtoRegulatorio"
          },
          "recredenciamento": {
            "$ref": "#/components/schemas/Degrees.AtoRegulatorio"
          },
          "renovacaoDeRecredenciamento": {
            "$ref": "#/components/schemas/Degrees.AtoRegulatorio"
          }
        },
        "additionalProperties": false
      },
      "Degrees.DadosIesOriginalCursoPTA": {
        "type": "object",
        "properties": {
          "nome": {
            "type": "string",
            "nullable": true
          },
          "codigoMEC": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "cnpj": {
            "type": "string",
            "nullable": true
          },
          "endereco": {
            "$ref": "#/components/schemas/Degrees.Endereco"
          },
          "descredenciamento": {
            "$ref": "#/components/schemas/Degrees.AtoRegulatorioBase"
          }
        },
        "additionalProperties": false
      },
      "Degrees.DadosIesRegistradora": {
        "type": "object",
        "properties": {
          "endereco": {
            "$ref": "#/components/schemas/Degrees.Endereco"
          },
          "mantenedora": {
            "$ref": "#/components/schemas/Degrees.Mantenedora"
          },
          "autorizacaoRegistro": {
            "$ref": "#/components/schemas/Degrees.AtoRegulatorioBase"
          },
          "nome": {
            "type": "string",
            "nullable": true
          },
          "codigoMEC": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "cnpj": {
            "type": "string",
            "nullable": true
          },
          "credenciamento": {
            "$ref": "#/components/schemas/Degrees.AtoRegulatorio"
          },
          "recredenciamento": {
            "$ref": "#/components/schemas/Degrees.AtoRegulatorio"
          },
          "renovacaoDeRecredenciamento": {
            "$ref": "#/components/schemas/Degrees.AtoRegulatorio"
          }
        },
        "additionalProperties": false
      },
      "Degrees.DadosLivroRegistro": {
        "type": "object",
        "properties": {
          "livroRegistro": {
            "type": "string",
            "nullable": true
          },
          "numeroFolhaDoDiploma": {
            "type": "string",
            "nullable": true
          },
          "numeroSequenciaDoDiploma": {
            "type": "string",
            "nullable": true
          },
          "numeroRegistro": {
            "type": "string",
            "nullable": true
          },
          "processoDoDiploma": {
            "type": "string",
            "nullable": true
          },
          "dataColacaoGrau": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dataExpedicaoDiploma": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dataRegistroDiploma": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "responsavelRegistro": {
            "$ref": "#/components/schemas/Degrees.ResponsavelRegistro"
          }
        },
        "additionalProperties": false
      },
      "Degrees.DadosMinimosCurso": {
        "type": "object",
        "properties": {
          "nomeCurso": {
            "type": "string",
            "nullable": true
          },
          "codigoCursoEMEC": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "informacoesTramitacaoEmec": {
            "$ref": "#/components/schemas/Degrees.InformacoesTramitacaoEmec"
          },
          "habilitacoes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Degrees.Habilitacao"
            },
            "nullable": true
          },
          "autorizacao": {
            "$ref": "#/components/schemas/Degrees.AtoRegulatorio"
          },
          "reconhecimento": {
            "$ref": "#/components/schemas/Degrees.AtoRegulatorio"
          },
          "renovacaoReconhecimento": {
            "$ref": "#/components/schemas/Degrees.AtoRegulatorio"
          },
          "nomeHabilitacao": {
            "type": "string",
            "description": "OBSOLETO. A partir da v1.03 é possível especificar mais de uma habilitação. Usar <see cref=\"P:Lacuna.Digiploma.Api.Degrees.DadosMinimosCurso.NomesHabilitacao\">nomesHabilitacao</see>",
            "nullable": true
          },
          "nomesHabilitacao": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "OBSOLETO. A partir da v1.04 foi criado um tipo específico para habilitação. Usar <see cref=\"P:Lacuna.Digiploma.Api.Degrees.DadosMinimosCurso.Habilitacoes\">habilitacoes</see>",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.DadosPrivados": {
        "type": "object",
        "properties": {
          "filiacao": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Degrees.Filiacao"
            },
            "nullable": true
          },
          "historico": {
            "$ref": "#/components/schemas/Degrees.HistoricoEscolar"
          },
          "informacoesProcessoJudicial": {
            "$ref": "#/components/schemas/Degrees.InformacoesProcessoJudicial"
          },
          "cargaHorariaCurso": {
            "type": "integer",
            "description": "OBSOLETO. Utilizar <see cref=\"P:Lacuna.Digiploma.Api.Degrees.DadosPrivados.CargaHorariaCursoV2\">cargaHorariaCursoV2</see>",
            "format": "int32",
            "nullable": true
          },
          "cargaHorariaCursoV2": {
            "$ref": "#/components/schemas/Degrees.CargaHoraria"
          },
          "ingresso": {
            "$ref": "#/components/schemas/Degrees.IngressoCurso"
          }
        },
        "additionalProperties": false
      },
      "Degrees.DadosRegistro": {
        "type": "object",
        "properties": {
          "iesRegistradora": {
            "$ref": "#/components/schemas/Degrees.DadosIesRegistradora"
          },
          "livroRegistro": {
            "$ref": "#/components/schemas/Degrees.DadosLivroRegistro"
          },
          "declaracoesAcercaProcesso": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "Utilizada quando o diploma for do tipo Decisão Judicial\r\nPropriedade opcional para o preenchimento de declarações sobre o processo judicial, circunstâncias de emissão, ausência de informações, ou qualquer declaração que julgar pertinente.",
            "nullable": true
          },
          "informacoesAdicionais": {
            "type": "string",
            "nullable": true
          },
          "assinantes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Degrees.InfoAssinante"
            },
            "nullable": true
          },
          "informacoesProcessoJudicial": {
            "$ref": "#/components/schemas/Degrees.InformacoesProcessoJudicial"
          }
        },
        "additionalProperties": false
      },
      "Degrees.DegreeCreateRequest": {
        "required": [
          "academicTranscriptTemplateId",
          "degree",
          "templateId"
        ],
        "type": "object",
        "properties": {
          "templateId": {
            "type": "string",
            "description": "Id do template a ser utilizado para gerar a representação visual dos diplomas",
            "format": "uuid"
          },
          "degree": {
            "$ref": "#/components/schemas/Degrees.DegreeFullInformationModel"
          },
          "academicTranscriptTemplateId": {
            "type": "string",
            "description": "Id do template a ser utilizado para gerar a representação visual do histórico escolar",
            "format": "uuid"
          },
          "documentFlow": {
            "$ref": "#/components/schemas/DocumentFlows.DocumentFlowData"
          },
          "documentFlowId": {
            "type": "string",
            "description": "Id de um fluxo de assinatura previamente cadastrado",
            "format": "uuid",
            "nullable": true
          },
          "signerFolderId": {
            "type": "string",
            "description": "Define a pasta do Assinador, na qual serão colocados os arquivos XML do documento.",
            "format": "uuid",
            "nullable": true
          },
          "newFolderName": {
            "maxLength": 200,
            "type": "string",
            "description": "Caso informado irá criar uma nova pasta no Assinador com o nome informado.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.DegreeCreateResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Id do diploma criado",
            "format": "uuid",
            "nullable": true
          },
          "success": {
            "type": "boolean",
            "description": "Indica se o documento foi criado com sucesso"
          },
          "academicTranscriptId": {
            "type": "string",
            "description": "Id do histórico escolar criado",
            "format": "uuid",
            "nullable": true
          },
          "errors": {
            "type": "string",
            "description": "Texto com os erros que ocorreram durante a criação do documento",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.DegreeEmissionRequestModel": {
        "type": "object",
        "properties": {
          "dadosDiploma": {
            "$ref": "#/components/schemas/Degrees.DadosDiploma"
          },
          "documentacaoAcademica": {
            "$ref": "#/components/schemas/Degrees.AcademicDocumentationInformation"
          },
          "visualRepresentationFieldsContent": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "description": "Opcional.\r\nQuando preenchido, sobrescreverá o texto presente no campo de formulário do modelo do diploma, seguindo o padrão chave-valor, onde a chave é o nome do campo de formulário e o valor é o conteúdo a ser inserido no campo.",
            "nullable": true
          },
          "isNsf": {
            "type": "boolean",
            "description": "OBSOLETO. Utilizar <see cref=\"P:Lacuna.Digiploma.Api.Degrees.DegreeEmissionRequestModel.DegreeType\">type</see>",
            "nullable": true
          },
          "degreeType": {
            "$ref": "#/components/schemas/DegreeTypes"
          }
        },
        "additionalProperties": false
      },
      "Degrees.DegreeFullInformationModel": {
        "type": "object",
        "properties": {
          "diploma": {
            "$ref": "#/components/schemas/Degrees.DegreeInformation"
          },
          "documentacaoAcademica": {
            "$ref": "#/components/schemas/Degrees.AcademicDocumentationInformation"
          },
          "visualRepresentationFieldsContent": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "description": "Opcional.\r\nQuando preenchido, sobrescreverá o texto presente no campo de formulário do modelo do diploma, seguindo o padrão chave-valor, onde a chave é o nome do campo de formulário e o valor é o conteúdo a ser inserido no campo.",
            "nullable": true
          },
          "isNsf": {
            "type": "boolean",
            "description": "OBSOLETO. Utilizar <see cref=\"P:Lacuna.Digiploma.Api.Degrees.DegreeFullInformationModel.DegreeType\">type</see>",
            "nullable": true
          },
          "degreeType": {
            "$ref": "#/components/schemas/DegreeTypes"
          }
        },
        "additionalProperties": false
      },
      "Degrees.DegreeInformation": {
        "type": "object",
        "properties": {
          "dadosDiploma": {
            "$ref": "#/components/schemas/Degrees.DadosDiploma"
          },
          "dadosRegistro": {
            "$ref": "#/components/schemas/Degrees.DadosRegistro"
          }
        },
        "additionalProperties": false
      },
      "Degrees.DegreeInformationValidation`1[[AcademicTranscripts.AcademicTranscriptInformationModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]": {
        "type": "object",
        "properties": {
          "entryNumber": {
            "type": "integer",
            "format": "int32"
          },
          "isValid": {
            "type": "boolean"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "structureErrors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "signatureErrors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "information": {
            "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptInformationModel"
          }
        },
        "additionalProperties": false
      },
      "Degrees.DegreeInformationValidation`1[[Curriculums.CurriculumInformationModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]": {
        "type": "object",
        "properties": {
          "entryNumber": {
            "type": "integer",
            "format": "int32"
          },
          "isValid": {
            "type": "boolean"
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "structureErrors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "signatureErrors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "information": {
            "$ref": "#/components/schemas/Curriculums.CurriculumInformationModel"
          }
        },
        "additionalProperties": false
      },
      "Degrees.DegreeListModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "ID do diploma",
            "format": "uuid"
          },
          "studentName": {
            "type": "string",
            "description": "Nome do diplomado",
            "nullable": true
          },
          "studentSocialName": {
            "type": "string",
            "description": "Nome social do diplomado",
            "nullable": true
          },
          "studentCpf": {
            "type": "string",
            "description": "CPF do diplomado",
            "nullable": true
          },
          "course": {
            "type": "string",
            "description": "Nome do Curso",
            "nullable": true
          },
          "creationDate": {
            "type": "string",
            "description": "Data de criação do diploma",
            "format": "date-time"
          },
          "updateDate": {
            "type": "string",
            "description": "Data da última atualização do diploma",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/DegreeStatus"
          }
        },
        "additionalProperties": false
      },
      "Degrees.DegreeModel": {
        "type": "object",
        "properties": {
          "signerDocumentId": {
            "type": "string",
            "description": "Id do documento (XML) no Assinador",
            "format": "uuid",
            "nullable": true
          },
          "signerDocumentUrl": {
            "type": "string",
            "description": "URL do documento (XML) no Assinador",
            "nullable": true
          },
          "isSigned": {
            "type": "boolean",
            "description": "Indica se o diploma foi assinado"
          },
          "isAcademicDocumentationSigned": {
            "type": "boolean",
            "description": "Indica se a documentação acadêmica do diploma foi assinada"
          },
          "signerAcademicDocumentationId": {
            "type": "string",
            "description": "Id da documentação acadêmica (XML) no Assinador",
            "format": "uuid"
          },
          "signerAcademicDocumentationUrl": {
            "type": "string",
            "description": "URL da documentação acadêmica (XML) no Assinador",
            "nullable": true
          },
          "hasVisualRepresentation": {
            "type": "boolean"
          },
          "hasLetterhead": {
            "type": "boolean"
          },
          "academicTranscript": {
            "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptModel"
          },
          "id": {
            "type": "string",
            "description": "ID do diploma",
            "format": "uuid"
          },
          "studentName": {
            "type": "string",
            "description": "Nome do diplomado",
            "nullable": true
          },
          "studentSocialName": {
            "type": "string",
            "description": "Nome social do diplomado",
            "nullable": true
          },
          "studentCpf": {
            "type": "string",
            "description": "CPF do diplomado",
            "nullable": true
          },
          "course": {
            "type": "string",
            "description": "Nome do Curso",
            "nullable": true
          },
          "issuingIes": {
            "type": "string",
            "description": "Nome da IES Emissora",
            "nullable": true
          },
          "registeringIes": {
            "type": "string",
            "description": "Nome da IES Registradora",
            "nullable": true
          },
          "creationDate": {
            "type": "string",
            "description": "Data de criação do diploma",
            "format": "date-time"
          },
          "updateDate": {
            "type": "string",
            "description": "Data da última atualização do diploma",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/DegreeStatus"
          },
          "verificationCode": {
            "type": "string",
            "description": "Código de validação do diploma",
            "nullable": true
          },
          "version": {
            "$ref": "#/components/schemas/DegreeVersions"
          }
        },
        "additionalProperties": false
      },
      "Degrees.DegreeUpdateStatusRequest": {
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/DegreeStatus"
          },
          "cancellationReason": {
            "$ref": "#/components/schemas/DegreeCancellationReasons"
          },
          "reason": {
            "maxLength": 500,
            "type": "string",
            "description": "O motivo da alteração do status. Opcional quando for anulação.\r\nTamanho máximo de 500 caracteres",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.DegreeValidationModel": {
        "type": "object",
        "properties": {
          "history": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Degrees.StatusUpdateModel"
            },
            "nullable": true
          },
          "dataIngresso": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dataConclusao": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "information": {
            "$ref": "#/components/schemas/Degrees.DadosDiploma"
          },
          "dadosRegistro": {
            "$ref": "#/components/schemas/Degrees.DadosRegistro"
          },
          "isValid": {
            "type": "boolean"
          },
          "isCancelled": {
            "type": "boolean"
          },
          "hasVisualRepresentation": {
            "type": "boolean"
          },
          "visualRepresentationTicket": {
            "$ref": "#/components/schemas/TicketFileModel"
          },
          "xmlTicket": {
            "$ref": "#/components/schemas/TicketFileModel"
          },
          "id": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.DisciplinaCursada": {
        "type": "object",
        "properties": {
          "situacao": {
            "$ref": "#/components/schemas/Degrees.SituacaoDisciplina"
          },
          "disciplina": {
            "type": "string",
            "description": "Nome da Disciplina",
            "nullable": true
          },
          "periodo": {
            "type": "string",
            "nullable": true
          },
          "cargaHorariaComEtiqueta": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Degrees.CargaHorariaComEtiqueta"
            },
            "description": "Pode ser associada a uma etiqueta definida no Currículo Escolar  permitindo identificar a natureza da carga horária dentro do Currículo do Curso",
            "nullable": true
          },
          "tipoAvaliacao": {
            "$ref": "#/components/schemas/Degrees.TipoAvaliacaoDisciplina"
          },
          "conceito": {
            "$ref": "#/components/schemas/Degrees.Conceito"
          },
          "conceitoRM": {
            "$ref": "#/components/schemas/Degrees.ConceitoRM"
          },
          "conceitoEspecificoDoCurso": {
            "type": "string",
            "nullable": true
          },
          "nota": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "notaAteCem": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "docentes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Degrees.Docente"
            },
            "nullable": true
          },
          "cargaHoraria": {
            "type": "integer",
            "description": "OBSOLETO. Utilizar <see cref=\"P:Lacuna.Digiploma.Api.Degrees.DisciplinaBase.CargaHorariaV2\">cargaHorariaV2</see>",
            "format": "int32",
            "nullable": true
          },
          "cargaHorariaV2": {
            "$ref": "#/components/schemas/Degrees.CargaHoraria"
          }
        },
        "additionalProperties": false
      },
      "Degrees.DisciplinaV2": {
        "type": "object",
        "properties": {
          "codigoDisciplina": {
            "type": "string",
            "nullable": true
          },
          "situacao": {
            "$ref": "#/components/schemas/Degrees.SituacaoDisciplinaV2"
          },
          "aprovacao": {
            "$ref": "#/components/schemas/Degrees.AprovacaoDisciplina"
          },
          "disciplina": {
            "type": "string",
            "description": "Nome da Disciplina",
            "nullable": true
          },
          "periodo": {
            "type": "string",
            "nullable": true
          },
          "cargaHorariaComEtiqueta": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Degrees.CargaHorariaComEtiqueta"
            },
            "description": "Pode ser associada a uma etiqueta definida no Currículo Escolar  permitindo identificar a natureza da carga horária dentro do Currículo do Curso",
            "nullable": true
          },
          "tipoAvaliacao": {
            "$ref": "#/components/schemas/Degrees.TipoAvaliacaoDisciplina"
          },
          "conceito": {
            "$ref": "#/components/schemas/Degrees.Conceito"
          },
          "conceitoRM": {
            "$ref": "#/components/schemas/Degrees.ConceitoRM"
          },
          "conceitoEspecificoDoCurso": {
            "type": "string",
            "nullable": true
          },
          "nota": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "notaAteCem": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "docentes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Degrees.Docente"
            },
            "nullable": true
          },
          "cargaHoraria": {
            "type": "integer",
            "description": "OBSOLETO. Utilizar <see cref=\"P:Lacuna.Digiploma.Api.Degrees.DisciplinaBase.CargaHorariaV2\">cargaHorariaV2</see>",
            "format": "int32",
            "nullable": true
          },
          "cargaHorariaV2": {
            "$ref": "#/components/schemas/Degrees.CargaHoraria"
          }
        },
        "additionalProperties": false
      },
      "Degrees.Docente": {
        "type": "object",
        "properties": {
          "nome": {
            "type": "string",
            "nullable": true
          },
          "titulacao": {
            "$ref": "#/components/schemas/Degrees.Titulacao"
          },
          "lattes": {
            "type": "string",
            "nullable": true
          },
          "cpf": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.DocumentCreateBaseRequest": {
        "required": [
          "academicTranscriptTemplateId"
        ],
        "type": "object",
        "properties": {
          "academicTranscriptTemplateId": {
            "type": "string",
            "description": "Id do template a ser utilizado para gerar a representação visual do histórico escolar",
            "format": "uuid"
          },
          "documentFlow": {
            "$ref": "#/components/schemas/DocumentFlows.DocumentFlowData"
          },
          "documentFlowId": {
            "type": "string",
            "description": "Id de um fluxo de assinatura previamente cadastrado",
            "format": "uuid",
            "nullable": true
          },
          "signerFolderId": {
            "type": "string",
            "description": "Define a pasta do Assinador, na qual serão colocados os arquivos XML do documento.",
            "format": "uuid",
            "nullable": true
          },
          "newFolderName": {
            "maxLength": 200,
            "type": "string",
            "description": "Caso informado irá criar uma nova pasta no Assinador com o nome informado.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.DocumentCreateBaseResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indica se o documento foi criado com sucesso"
          },
          "academicTranscriptId": {
            "type": "string",
            "description": "Id do histórico escolar criado",
            "format": "uuid",
            "nullable": true
          },
          "errors": {
            "type": "string",
            "description": "Texto com os erros que ocorreram durante a criação do documento",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.DocumentacaoComprobatoria": {
        "type": "object",
        "properties": {
          "tipo": {
            "$ref": "#/components/schemas/Degrees.TipoDocumentacao"
          },
          "observacoes": {
            "type": "string",
            "nullable": true
          },
          "pdfA": {
            "type": "string",
            "description": "Conteúdo do arquivo PDF em formato Base 64.",
            "format": "byte",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.ElementoHistorico": {
        "type": "object",
        "properties": {
          "tipo": {
            "$ref": "#/components/schemas/Degrees.TipoElementoHistorico"
          },
          "disciplina": {
            "$ref": "#/components/schemas/Degrees.DisciplinaV2"
          },
          "atividadeComplementar": {
            "$ref": "#/components/schemas/Degrees.AtividadeComplementar"
          },
          "estagio": {
            "$ref": "#/components/schemas/Degrees.Estagio"
          },
          "situacaoDiscente": {
            "$ref": "#/components/schemas/Degrees.SituacaoDiscentePeriodoLetivo"
          }
        },
        "additionalProperties": false
      },
      "Degrees.EnadeNaoHabilitado": {
        "type": "object",
        "properties": {
          "motivo": {
            "$ref": "#/components/schemas/Degrees.MotivoNaoHabilitacaoAlunoEnadeHistorico"
          },
          "outroMotivo": {
            "type": "string",
            "nullable": true
          },
          "condicao": {
            "$ref": "#/components/schemas/Degrees.CondicaoEnade"
          },
          "edicao": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.Endereco": {
        "type": "object",
        "properties": {
          "logradouro": {
            "type": "string",
            "nullable": true
          },
          "numero": {
            "type": "string",
            "nullable": true
          },
          "complemento": {
            "type": "string",
            "nullable": true
          },
          "bairro": {
            "type": "string",
            "nullable": true
          },
          "codigoMunicipio": {
            "type": "string",
            "nullable": true
          },
          "nomeMunicipio": {
            "type": "string",
            "nullable": true
          },
          "uf": {
            "$ref": "#/components/schemas/Degrees.UF"
          },
          "nomeMunicipioEstrangeiro": {
            "type": "string",
            "nullable": true
          },
          "cep": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.Estagio": {
        "type": "object",
        "properties": {
          "concedente": {
            "$ref": "#/components/schemas/Degrees.ConcedenteEstagio"
          },
          "codigo": {
            "type": "string",
            "nullable": true
          },
          "dataInicio": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dataFim": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "descricao": {
            "type": "string",
            "nullable": true
          },
          "cargaHorariaEmHoraRelogioComEtiqueta": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Degrees.HoraRelogioComEtiqueta"
            },
            "description": "Pode ser associada a uma etiqueta definida no Currículo Escolar  permitindo identificar a natureza da carga horária dentro do Currículo do Curso",
            "nullable": true
          },
          "docentes": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Degrees.Docente"
            },
            "nullable": true
          },
          "cargaHorariaEmHoraRelogio": {
            "type": "number",
            "description": "OBSOLETO. Utilizar <see cref=\"P:Lacuna.Digiploma.Api.Degrees.AtividadeBase.CargaHorariaEmHoraRelogioComEtiqueta\">cargaHorariaEmHoraRelogioComEtiqueta</see>",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.Filiacao": {
        "type": "object",
        "properties": {
          "nome": {
            "type": "string",
            "nullable": true
          },
          "nomeSocial": {
            "type": "string",
            "nullable": true
          },
          "sexo": {
            "$ref": "#/components/schemas/Degrees.Sexo"
          }
        },
        "additionalProperties": false
      },
      "Degrees.FormaAcessoCurso": {
        "enum": [
          "Enem",
          "Vestibular",
          "Avaliação Seriada",
          "Seleção Simplificada",
          "Egresso BI/LI",
          "PEC-G",
          "Transferência Ex Officio",
          "Decisão judicial",
          "Seleção para Vagas Remanescentes",
          "Seleção para Vagas de Programas Especiais",
          "Prova agendada",
          "Entrevista",
          "Transferencia",
          "Outros",
          "Programas de avaliação seriada ou continuada",
          "Convenios",
          "Histórico escolar",
          "Sisu"
        ],
        "type": "string"
      },
      "Degrees.FormaIntegralizacao": {
        "enum": [
          "Cursado",
          "Validado",
          "Aproveitado"
        ],
        "type": "string"
      },
      "Degrees.GrauConferido": {
        "enum": [
          "Tecnólogo",
          "Bacharelado",
          "Licenciatura",
          "Curso sequencial"
        ],
        "type": "string"
      },
      "Degrees.Habilitacao": {
        "type": "object",
        "properties": {
          "nomeHabilitacao": {
            "type": "string",
            "nullable": true
          },
          "dataHabilitacao": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.HistoricoEscolar": {
        "type": "object",
        "properties": {
          "codigoCurriculo": {
            "type": "string",
            "description": "Propriedade obrigatória para informar o código do currículo ao qual o aluno está vinculado no momento da emissão do Histórico Escolar",
            "nullable": true
          },
          "dataEmissaoHistorico": {
            "type": "string",
            "description": "Data de emissão do histórico escolar. A data de emissão será definida no momento da emissão de forma automática. Caso seja informada uma data, sobrescreverá a data gerada automaticamente.",
            "format": "date-time",
            "nullable": true
          },
          "horaEmissaoHistorico": {
            "type": "string",
            "description": "Hora de emissão do histórico escolar. A hora de emissão será definida no momento da emissão de forma automática. Caso seja informada uma hora, sobrescreverá a hora gerada automaticamente.",
            "nullable": true
          },
          "cargaHorariaCursoIntegralizadaV2": {
            "$ref": "#/components/schemas/Degrees.CargaHoraria"
          },
          "cargaHorariaCurso": {
            "$ref": "#/components/schemas/Degrees.CargaHoraria"
          },
          "situacaoAtualDiscente": {
            "$ref": "#/components/schemas/Degrees.SituacaoAtualDiscente"
          },
          "nomeParaAreas": {
            "type": "string",
            "description": "Propriedade opcional e deve conter o nome usado pelo Curso para se referir às Áreas de Especialização, Linhas de Formação, ou Competências. Caso omitido, assume-se que o termo ‘Área de Especialização’",
            "nullable": true
          },
          "areas": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Degrees.AreaComNome"
            },
            "description": "Propriedade opcional e descreve as Áreas de Especialização integralizada pelo aluno durante o curso, caso o projeto pedagógico do Curso permita",
            "nullable": true
          },
          "participacoesEnade": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Degrees.ParticipacaoEnade"
            },
            "description": "Em caso de segunda via, pode ser utilizado o valor null para informar que informações de Enade não se aplicam ao aluno ou\r\nlista vazia para informar que aquele aluno não tem informações de participação no Enade.",
            "nullable": true
          },
          "elementosHistorico": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Degrees.ElementoHistorico"
            },
            "nullable": true
          },
          "ingresso": {
            "$ref": "#/components/schemas/Degrees.IngressoCurso"
          },
          "informacoesAdicionais": {
            "type": "string",
            "nullable": true
          },
          "dataProvaEnade": {
            "type": "string",
            "description": "OBSOLETO a partir da v1.04.1. Utilizar <see cref=\"P:Lacuna.Digiploma.Api.Degrees.HistoricoEscolar.ParticipacoesEnade\">participacoesEnade</see>",
            "format": "date-time",
            "nullable": true
          },
          "cargaHorariaCursoIntegralizada": {
            "type": "integer",
            "description": "OBSOLETO. Utilizar <see cref=\"P:Lacuna.Digiploma.Api.Degrees.HistoricoEscolar.CargaHorariaCursoIntegralizadaV2\">cargaHorariaCursoIntegralizadaV2</see>",
            "format": "int32",
            "nullable": true
          },
          "situacaoAluno": {
            "$ref": "#/components/schemas/Degrees.SituacaoAlunoHistorico"
          },
          "situacaoENADE": {
            "$ref": "#/components/schemas/Degrees.SituacaoAlunoEnade"
          },
          "matrizCurricular": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Degrees.DisciplinaCursada"
            },
            "description": "OBSOLETO a partir da v1.04.1. Utilizar <see cref=\"P:Lacuna.Digiploma.Api.Degrees.HistoricoEscolar.ElementosHistorico\">elementosHistorico</see>",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.HoraRelogioComEtiqueta": {
        "type": "object",
        "properties": {
          "horaRelogio": {
            "type": "number",
            "format": "double"
          },
          "etiqueta": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.InfoAssinante": {
        "type": "object",
        "properties": {
          "cargo": {
            "$ref": "#/components/schemas/Degrees.CargosAssinantes"
          },
          "cpf": {
            "type": "string",
            "nullable": true
          },
          "outroCargo": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.InformacoesEnade": {
        "type": "object",
        "properties": {
          "condicao": {
            "$ref": "#/components/schemas/Degrees.CondicaoEnade"
          },
          "edicao": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.InformacoesProcessoJudicial": {
        "type": "object",
        "properties": {
          "numeroProcessoJudicial": {
            "type": "string",
            "description": "O número do processo deve estar no formato NNNNNNN-DD.AAAA.J.TR.OOOO, onde:\r\n\t- NNNNNNN: número sequencial do processo por unidade de origem. É reiniciado a cada ano.\r\n\t- DD: dígito verificador.\r\n\t- AAAA: ano do ajuizamento do processo\r\n\t- J: órgão ou segmento do Poder Judiciário\r\n\t- TR: tribunal do respectivo segmento do Poder Judiciário e, na Justiça Militar da União, a Circunscrição Judiciária\r\n\t- OOOO: unidade de origem do processo",
            "nullable": true
          },
          "nomeJuiz": {
            "type": "string",
            "nullable": true
          },
          "decisao": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.InformacoesTramitacaoEmec": {
        "type": "object",
        "properties": {
          "numeroProcesso": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "tipoProcesso": {
            "type": "string",
            "nullable": true
          },
          "dataCadastro": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dataProtocolo": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.IngressoCurso": {
        "type": "object",
        "properties": {
          "data": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "formasAcesso": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Degrees.FormaAcessoCurso"
            },
            "nullable": true
          },
          "anoMesProcessoSeletivo": {
            "type": "string",
            "description": "Ano e mês da realização do processo seletivo no formato AAAA-MM",
            "nullable": true
          },
          "dataConclusao": {
            "type": "string",
            "description": "OBSOLETO a partir da v1.04.1.",
            "format": "date-time",
            "nullable": true
          },
          "formaAcesso": {
            "$ref": "#/components/schemas/Degrees.FormaAcessoCurso"
          }
        },
        "additionalProperties": false
      },
      "Degrees.Mantenedora": {
        "type": "object",
        "properties": {
          "razaoSocial": {
            "type": "string",
            "nullable": true
          },
          "cnpj": {
            "type": "string",
            "nullable": true
          },
          "endereco": {
            "$ref": "#/components/schemas/Degrees.Endereco"
          }
        },
        "additionalProperties": false
      },
      "Degrees.ModalidadeCurso": {
        "enum": [
          "Presencial",
          "EAD"
        ],
        "type": "string"
      },
      "Degrees.ModalidadeCursoNSF": {
        "enum": [
          "Presencial",
          "EAD",
          "Semipresencial"
        ],
        "type": "string"
      },
      "Degrees.MotivoNaoHabilitacaoAlunoEnadeHistorico": {
        "enum": [
          "Estudante não habilitado ao Enade em razão do calendário do ciclo avaliativo",
          "Estudante não habilitado ao Enade em razão da natureza do projeto pedagógico do curso"
        ],
        "type": "string"
      },
      "Degrees.Naturalidade": {
        "type": "object",
        "properties": {
          "codigoMunicipio": {
            "type": "string",
            "nullable": true
          },
          "nomeMunicipio": {
            "type": "string",
            "nullable": true
          },
          "uf": {
            "$ref": "#/components/schemas/Degrees.UF"
          },
          "nomeMunicipioEstrangeiro": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.OutroDocumentoIdentificacao": {
        "type": "object",
        "properties": {
          "tipoDocumento": {
            "type": "string",
            "nullable": true
          },
          "identificador": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.ParticipacaoEnade": {
        "type": "object",
        "properties": {
          "situacao": {
            "$ref": "#/components/schemas/Degrees.SituacaoParticipacaoEnade"
          },
          "informacoes": {
            "$ref": "#/components/schemas/Degrees.InformacoesEnade"
          },
          "naoHabilitado": {
            "$ref": "#/components/schemas/Degrees.EnadeNaoHabilitado"
          }
        },
        "additionalProperties": false
      },
      "Degrees.Polo": {
        "type": "object",
        "properties": {
          "nome": {
            "type": "string",
            "nullable": true
          },
          "endereco": {
            "$ref": "#/components/schemas/Degrees.Endereco"
          },
          "codigoEMEC": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "informacoesTramitacaoEmec": {
            "$ref": "#/components/schemas/Degrees.InformacoesTramitacaoEmec"
          }
        },
        "additionalProperties": false
      },
      "Degrees.RG": {
        "type": "object",
        "properties": {
          "numero": {
            "type": "string",
            "nullable": true
          },
          "uf": {
            "$ref": "#/components/schemas/Degrees.UF"
          },
          "orgaoExpedidor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.RegistrationInformation": {
        "type": "object",
        "properties": {
          "dadosPrivadosDiplomado": {
            "$ref": "#/components/schemas/Degrees.DadosPrivados"
          },
          "termoResponsabilidade": {
            "$ref": "#/components/schemas/Degrees.TermoResponsabilidade"
          },
          "documentacaoComprobatoria": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Degrees.DocumentacaoComprobatoria"
            },
            "nullable": true
          },
          "isSegundaVia": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "Degrees.ResponsavelRegistro": {
        "type": "object",
        "properties": {
          "nome": {
            "type": "string",
            "nullable": true
          },
          "cpf": {
            "type": "string",
            "nullable": true
          },
          "iDouNumeroMatricula": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.Sexo": {
        "enum": [
          "F",
          "M"
        ],
        "type": "string"
      },
      "Degrees.SituacaoAlunoEnade": {
        "type": "object",
        "properties": {
          "situacao": {
            "$ref": "#/components/schemas/Degrees.SituacaoAlunoEnadeHistorico"
          },
          "outraSituacao": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.SituacaoAlunoEnadeHistorico": {
        "enum": [
          "IRREGULAR",
          "Ingressante / Participante",
          "Dispensado, em razão do calendário trienal",
          "Concluinte / Participante",
          "Dispensado pelo MEC",
          "Dispensado, em razão da natureza do curso",
          "Dispensado, por razão de ordem pessoal",
          "Dispensado, por ato da instituição de ensino",
          "Dispensado, em razão de mobilidade acadêmica no exterior",
          "Estudante não habilitado ao ENADE em razão do calendário do ciclo avaliativo"
        ],
        "type": "string"
      },
      "Degrees.SituacaoAlunoHistorico": {
        "enum": [
          "Aprovado"
        ],
        "type": "string"
      },
      "Degrees.SituacaoAtualDiscente": {
        "type": "object",
        "properties": {
          "periodoLetivo": {
            "type": "string",
            "nullable": true
          },
          "tipo": {
            "$ref": "#/components/schemas/Degrees.TipoSituacaoDiscente"
          },
          "intercambio": {
            "$ref": "#/components/schemas/Degrees.SituacaoIntercambio"
          },
          "formado": {
            "$ref": "#/components/schemas/Degrees.SituacaoFormado"
          },
          "outraSituacao": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.SituacaoDiscentePeriodoLetivo": {
        "type": "object",
        "properties": {
          "periodoLetivo": {
            "type": "string",
            "nullable": true
          },
          "tipo": {
            "$ref": "#/components/schemas/Degrees.TipoSituacaoDiscente"
          },
          "intercambio": {
            "$ref": "#/components/schemas/Degrees.SituacaoIntercambio"
          },
          "formado": {
            "$ref": "#/components/schemas/Degrees.SituacaoFormado"
          },
          "outraSituacao": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.SituacaoDisciplina": {
        "enum": [
          "Aprovado",
          "Reprovado",
          "EstudoAproveitado",
          "Trancado"
        ],
        "type": "string"
      },
      "Degrees.SituacaoDisciplinaV2": {
        "enum": [
          "Aprovado",
          "Reprovado",
          "Pendente"
        ],
        "type": "string"
      },
      "Degrees.SituacaoFormado": {
        "type": "object",
        "properties": {
          "dataConclusaoCurso": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dataColacaoGrau": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "dataExpedicaoDiploma": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.SituacaoIntercambio": {
        "type": "object",
        "properties": {
          "instituicao": {
            "type": "string",
            "nullable": true
          },
          "pais": {
            "type": "string",
            "nullable": true
          },
          "nomeProgramaIntercambio": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.SituacaoParticipacaoEnade": {
        "enum": [
          "Habilitado",
          "Irregular",
          "Não habilitado"
        ],
        "type": "string"
      },
      "Degrees.StatusUpdateModel": {
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/DegreeStatus"
          },
          "reason": {
            "type": "string",
            "nullable": true
          },
          "date": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "Degrees.TermoResponsabilidade": {
        "type": "object",
        "properties": {
          "nome": {
            "type": "string",
            "nullable": true
          },
          "cpf": {
            "type": "string",
            "nullable": true
          },
          "cargo": {
            "type": "string",
            "nullable": true
          },
          "atoDesignacao": {
            "type": "string",
            "description": "Conteúdo do arquivo em formato Base 64.",
            "format": "byte",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.TipoAto": {
        "enum": [
          "Parecer",
          "Resolucao",
          "Decreto",
          "Portaria",
          "Deliberação",
          "Lei Federal",
          "Lei Estadual",
          "Lei Municipal",
          "Ato Próprio"
        ],
        "type": "string"
      },
      "Degrees.TipoAtoBase": {
        "enum": [
          "Parecer",
          "Resolucao",
          "Decreto",
          "Portaria",
          "Despacho",
          "Deliberação",
          "Lei Federal",
          "Lei Estadual",
          "Lei Municipal"
        ],
        "type": "string"
      },
      "Degrees.TipoAvaliacaoDisciplina": {
        "enum": [
          "Nota",
          "NotaAteCem",
          "Conceito",
          "ConceitoRM",
          "ConceitoEspecificoDoCurso"
        ],
        "type": "string"
      },
      "Degrees.TipoCargaHoraria": {
        "enum": [
          "HoraAula",
          "HoraRelogio"
        ],
        "type": "string"
      },
      "Degrees.TipoConcedenteEstagio": {
        "enum": [
          "PessoaJuridica",
          "PessoaFisica"
        ],
        "type": "string"
      },
      "Degrees.TipoDocumentacao": {
        "enum": [
          "DocumentoIdentidadeDoAluno",
          "ProvaConclusaoEnsinoMedio",
          "ProvaColacao",
          "ComprovacaoEstagioCurricular",
          "CertidaoNascimento",
          "CertidaoCasamento",
          "TituloEleitor",
          "AtoNaturalizacao",
          "Outros",
          "TermoResponsabilidade",
          "HistoricoEscolar"
        ],
        "type": "string"
      },
      "Degrees.TipoElementoHistorico": {
        "enum": [
          "AtividadeComplementar",
          "Disciplina",
          "Estagio",
          "SituacaoDiscente"
        ],
        "type": "string"
      },
      "Degrees.TipoSituacaoDiscente": {
        "enum": [
          "Abandono",
          "Desistência",
          "Formado",
          "Intercâmbio internacional",
          "Intercâmbio nacional",
          "Jubilado",
          "Licença",
          "Matriculado em disciplina",
          "Outra situação",
          "Trancamento"
        ],
        "type": "string"
      },
      "Degrees.Titulacao": {
        "enum": [
          "Tecnologo",
          "Graduacao",
          "Especializacao",
          "Mestrado",
          "Doutorado"
        ],
        "type": "string"
      },
      "Degrees.Titulo": {
        "enum": [
          "Licenciado",
          "Tecnólogo",
          "Bacharel",
          "Médico",
          "Técnico",
          "Psicólogo"
        ],
        "type": "string"
      },
      "Degrees.TituloConferido": {
        "type": "object",
        "properties": {
          "titulo": {
            "$ref": "#/components/schemas/Degrees.Titulo"
          },
          "outroTitulo": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Degrees.UF": {
        "enum": [
          "AC",
          "AL",
          "AP",
          "AM",
          "BA",
          "CE",
          "DF",
          "ES",
          "GO",
          "MA",
          "MT",
          "MS",
          "MG",
          "PA",
          "PB",
          "PR",
          "PE",
          "PI",
          "RJ",
          "RN",
          "RS",
          "RO",
          "RR",
          "SC",
          "SP",
          "SE",
          "TO"
        ],
        "type": "string"
      },
      "DocumentCancellationRequest": {
        "required": [
          "reason"
        ],
        "type": "object",
        "properties": {
          "reason": {
            "maxLength": 500,
            "minLength": 1,
            "type": "string",
            "description": "O motivo da alteração do status.\r\nTamanho máximo de 500 caracteres"
          }
        },
        "additionalProperties": false
      },
      "DocumentFlowTypes": {
        "enum": [
          "EmissionRegistration",
          "Emission",
          "Registration",
          "AcademicTranscript",
          "Curriculum"
        ],
        "type": "string"
      },
      "DocumentFlows.DocumentFlowData": {
        "type": "object",
        "properties": {
          "issuingFlow": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentFlows.SignRuleModel"
            },
            "nullable": true
          },
          "registrationFlow": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentFlows.SignRuleModel"
            },
            "nullable": true
          },
          "storageFlow": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentFlows.SignRuleModel"
            },
            "nullable": true
          },
          "academicTranscriptFlow": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentFlows.SignRuleModel"
            },
            "nullable": true
          },
          "curriculumFlow": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentFlows.SignRuleModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DocumentFlows.DocumentFlowDataModel": {
        "type": "object",
        "properties": {
          "issuingFlow": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentFlows.SignRuleModel"
            },
            "description": "Fluxo de emissão",
            "nullable": true
          },
          "registrationFlow": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentFlows.SignRuleModel"
            },
            "description": "Fluxo de registro",
            "nullable": true
          },
          "storageFlow": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentFlows.SignRuleModel"
            },
            "description": "Fluxo de armazenamento",
            "nullable": true
          },
          "academicTranscriptFlow": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentFlows.SignRuleModel"
            },
            "description": "Fluxo de histórico escolar",
            "nullable": true
          },
          "curriculumFlow": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentFlows.SignRuleModel"
            },
            "description": "Fluxo do currículo escolar",
            "nullable": true
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "Nome do fluxo",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/DocumentFlowTypes"
          },
          "creationDate": {
            "type": "string",
            "description": "Data de criação do fluxo",
            "format": "date-time"
          },
          "updateDate": {
            "type": "string",
            "description": "Data de atualização do fluxo",
            "format": "date-time"
          },
          "createdBy": {
            "$ref": "#/components/schemas/Agents.AgentModel"
          }
        },
        "additionalProperties": false
      },
      "DocumentFlows.DocumentFlowModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "description": "Nome do fluxo",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/DocumentFlowTypes"
          },
          "creationDate": {
            "type": "string",
            "description": "Data de criação do fluxo",
            "format": "date-time"
          },
          "updateDate": {
            "type": "string",
            "description": "Data de atualização do fluxo",
            "format": "date-time"
          },
          "createdBy": {
            "$ref": "#/components/schemas/Agents.AgentModel"
          }
        },
        "additionalProperties": false
      },
      "DocumentFlows.DocumentFlowRequest": {
        "required": [
          "name",
          "type"
        ],
        "type": "object",
        "properties": {
          "name": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string",
            "description": "Nome do fluxo"
          },
          "type": {
            "$ref": "#/components/schemas/DocumentFlowTypes"
          },
          "issuingFlow": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentFlows.SignRuleModel"
            },
            "nullable": true
          },
          "registrationFlow": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentFlows.SignRuleModel"
            },
            "nullable": true
          },
          "storageFlow": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentFlows.SignRuleModel"
            },
            "nullable": true
          },
          "academicTranscriptFlow": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentFlows.SignRuleModel"
            },
            "nullable": true
          },
          "curriculumFlow": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentFlows.SignRuleModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DocumentFlows.DocumentFlowValidateRequest": {
        "required": [
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/DocumentFlowTypes"
          },
          "issuingFlow": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentFlows.SignRuleModel"
            },
            "nullable": true
          },
          "registrationFlow": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentFlows.SignRuleModel"
            },
            "nullable": true
          },
          "storageFlow": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentFlows.SignRuleModel"
            },
            "nullable": true
          },
          "academicTranscriptFlow": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentFlows.SignRuleModel"
            },
            "nullable": true
          },
          "curriculumFlow": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentFlows.SignRuleModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DocumentFlows.SignRuleModel": {
        "type": "object",
        "properties": {
          "ruleName": {
            "type": "string",
            "nullable": true
          },
          "requiredSignatures": {
            "type": "integer",
            "format": "int32"
          },
          "order": {
            "type": "integer",
            "format": "int32"
          },
          "isCompany": {
            "type": "boolean"
          },
          "companyIdentifier": {
            "type": "string",
            "nullable": true
          },
          "signers": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentFlows.SignerModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "DocumentFlows.SignerModel": {
        "required": [
          "cpf",
          "email",
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "minLength": 1,
            "type": "string"
          },
          "email": {
            "minLength": 1,
            "type": "string"
          },
          "cpf": {
            "minLength": 1,
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "DocumentTypes": {
        "enum": [
          "Degree",
          "AcademicDocumentation",
          "Registration",
          "AcademicTranscript",
          "Curriculum"
        ],
        "type": "string"
      },
      "Documents.DocumentContentModel": {
        "type": "object",
        "properties": {
          "bytes": {
            "type": "string",
            "format": "byte",
            "nullable": true
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "contentType": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Documents.UpdateDocumentVisualRepresentationRequest": {
        "type": "object",
        "properties": {
          "templateId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "uploadId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "fieldsContent": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EmissionStatus": {
        "enum": [
          "Created",
          "Signed",
          "SentToRegistry",
          "Registered",
          "Canceled",
          "AcceptedByRegistry"
        ],
        "type": "string"
      },
      "Emissions.EmissionCreateRequest": {
        "required": [
          "academicTranscriptTemplateId",
          "emission",
          "registrationType"
        ],
        "type": "object",
        "properties": {
          "templateId": {
            "type": "string",
            "description": "Id do template a ser utilizado para gerar a representação visual dos diplomas",
            "format": "uuid",
            "nullable": true
          },
          "registrationType": {
            "$ref": "#/components/schemas/RegistrationTypes"
          },
          "registryId": {
            "type": "string",
            "description": "Id da registradora credenciada",
            "format": "uuid",
            "nullable": true
          },
          "emission": {
            "$ref": "#/components/schemas/Degrees.DegreeEmissionRequestModel"
          },
          "academicTranscriptTemplateId": {
            "type": "string",
            "description": "Id do template a ser utilizado para gerar a representação visual do histórico escolar",
            "format": "uuid"
          },
          "documentFlow": {
            "$ref": "#/components/schemas/DocumentFlows.DocumentFlowData"
          },
          "documentFlowId": {
            "type": "string",
            "description": "Id de um fluxo de assinatura previamente cadastrado",
            "format": "uuid",
            "nullable": true
          },
          "signerFolderId": {
            "type": "string",
            "description": "Define a pasta do Assinador, na qual serão colocados os arquivos XML do documento.",
            "format": "uuid",
            "nullable": true
          },
          "newFolderName": {
            "maxLength": 200,
            "type": "string",
            "description": "Caso informado irá criar uma nova pasta no Assinador com o nome informado.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Emissions.EmissionCreateResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Id da emissão criada",
            "format": "uuid",
            "nullable": true
          },
          "success": {
            "type": "boolean",
            "description": "Indica se o documento foi criado com sucesso"
          },
          "academicTranscriptId": {
            "type": "string",
            "description": "Id do histórico escolar criado",
            "format": "uuid",
            "nullable": true
          },
          "errors": {
            "type": "string",
            "description": "Texto com os erros que ocorreram durante a criação do documento",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Emissions.EmissionInfoModel": {
        "type": "object",
        "properties": {
          "registryId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "registryName": {
            "type": "string",
            "description": "Nome da IES Registradora se o tipo do registro não for manual",
            "nullable": true
          },
          "registrationId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "registrationStatus": {
            "type": "string",
            "nullable": true
          },
          "registrationStatusDescription": {
            "type": "string",
            "nullable": true
          },
          "registrationUpdateDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "degreeId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "degreeVerificationCode": {
            "type": "string",
            "nullable": true
          },
          "hasVisualRepresentation": {
            "type": "boolean"
          },
          "hasAcademicTranscriptVisualRepresentation": {
            "type": "boolean"
          },
          "isAcademicDocumentationSigned": {
            "type": "boolean",
            "description": "Indica se a documentação acadêmica do diploma foi assinada"
          },
          "signerAcademicDocumentationId": {
            "type": "string",
            "description": "Id da documentação acadêmica (XML) no Assinador",
            "format": "uuid"
          },
          "signerAcademicDocumentationUrl": {
            "type": "string",
            "description": "URL da documentação acadêmica (XML) no Assinador",
            "nullable": true
          },
          "registrationType": {
            "$ref": "#/components/schemas/RegistrationTypes"
          },
          "id": {
            "type": "string",
            "description": "ID da emissão",
            "format": "uuid"
          },
          "studentName": {
            "type": "string",
            "description": "Nome do diplomado",
            "nullable": true
          },
          "studentSocialName": {
            "type": "string",
            "description": "Nome social do diplomado",
            "nullable": true
          },
          "studentCpf": {
            "type": "string",
            "description": "CPF do diplomado",
            "nullable": true
          },
          "course": {
            "type": "string",
            "description": "Nome do Curso",
            "nullable": true
          },
          "issuingIes": {
            "type": "string",
            "description": "Nome da IES Emissora",
            "nullable": true
          },
          "creationDate": {
            "type": "string",
            "description": "Data de criação da emissão",
            "format": "date-time"
          },
          "updateDate": {
            "type": "string",
            "description": "Data da última atualização da emissão",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/EmissionStatus"
          },
          "version": {
            "$ref": "#/components/schemas/DegreeVersions"
          }
        },
        "additionalProperties": false
      },
      "Emissions.EmissionModel": {
        "type": "object",
        "properties": {
          "isAcademicDocumentationSigned": {
            "type": "boolean",
            "description": "Indica se a documentação acadêmica do diploma foi assinada"
          },
          "signerAcademicDocumentationId": {
            "type": "string",
            "description": "Id da documentação acadêmica (XML) no Assinador",
            "format": "uuid"
          },
          "signerAcademicDocumentationUrl": {
            "type": "string",
            "description": "URL da documentação acadêmica (XML) no Assinador",
            "nullable": true
          },
          "registrationType": {
            "$ref": "#/components/schemas/RegistrationTypes"
          },
          "id": {
            "type": "string",
            "description": "ID da emissão",
            "format": "uuid"
          },
          "studentName": {
            "type": "string",
            "description": "Nome do diplomado",
            "nullable": true
          },
          "studentSocialName": {
            "type": "string",
            "description": "Nome social do diplomado",
            "nullable": true
          },
          "studentCpf": {
            "type": "string",
            "description": "CPF do diplomado",
            "nullable": true
          },
          "course": {
            "type": "string",
            "description": "Nome do Curso",
            "nullable": true
          },
          "issuingIes": {
            "type": "string",
            "description": "Nome da IES Emissora",
            "nullable": true
          },
          "creationDate": {
            "type": "string",
            "description": "Data de criação da emissão",
            "format": "date-time"
          },
          "updateDate": {
            "type": "string",
            "description": "Data da última atualização da emissão",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/EmissionStatus"
          },
          "version": {
            "$ref": "#/components/schemas/DegreeVersions"
          }
        },
        "additionalProperties": false
      },
      "Emissions.EmissionStatusUpdateModel": {
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/EmissionStatus"
          },
          "reason": {
            "type": "string",
            "nullable": true
          },
          "date": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "Emissions.UploadDegreeXmlRequest": {
        "required": [
          "contentType"
        ],
        "type": "object",
        "properties": {
          "skipSignatureValidation": {
            "type": "boolean"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "contentType": {
            "minLength": 1,
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "Emissions.UploadDegreeXmlResponse": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean",
            "description": "Indica se o XML do Diploma foi enviado com sucesso",
            "readOnly": true
          },
          "errors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "structureErrors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          },
          "signatureErrors": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ErrorModel": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "details": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "EventTypes": {
        "enum": [
          "SubscriptionCreated",
          "SubscriptionUpdated",
          "SubscriptionDeleted",
          "ApplicationKeyCreated",
          "ApplicationKeyDeleted",
          "ApplicationCreated",
          "ApplicationUpdated",
          "ApplicationDeleted",
          "SubscriptionAccessUpdated",
          "UserRegistered",
          "InviteCreated",
          "InviteUpdated",
          "InviteDeleted",
          "InviteFulfilled",
          "UserLocked",
          "ApplicationLocked",
          "UserUnlocked",
          "ApplicationUnlocked",
          "BatchCreated",
          "BatchUpdated",
          "TemplateCreated",
          "TemplateUpdated",
          "TemplateDeleted",
          "DegreeCreated",
          "DegreeUpdated",
          "DegreeActivated",
          "DegreeCancelled",
          "DegreeCanceledTemporarily",
          "DegreeAcademicDocSigned",
          "DegreeRefreshVisualRepresentations",
          "DegreeCreateRegistrationBooks",
          "DegreeRegenerateValidationCodes",
          "SettingUpdated",
          "SignerApiKeyUpdated",
          "SignerApiKeyDeleted",
          "DocumentFlowCreated",
          "DocumentFlowUpdated",
          "DocumentFlowDeleted",
          "SubscriptionIntegrationsUpdated",
          "EmissionCreated",
          "EmissionUpdated",
          "EmissionRegistered",
          "EmissionCancelled",
          "EmissionAcademicDocSigned",
          "EmissionAcceptedByRegistry",
          "RegistrationCreated",
          "RegistrationUpdated",
          "RegistrationCancelled",
          "RegistrationRejected",
          "RegistrationApproved",
          "RegistrationRegistered",
          "RegistrationDegreeSigned",
          "RegistrationRequiringAcceptanceCreated",
          "RegistrationAccepted",
          "IntegrationCreated",
          "IntegrationUpdated",
          "IntegrationDeleted",
          "PartnershipCreated",
          "PartnershipDeleted",
          "AcademicTranscriptCreated",
          "AcademicTranscriptUpdated",
          "AcademicTranscriptCancelled",
          "AcademicTranscriptActivated",
          "AcademicTranscriptCreationError",
          "AcademicTranscriptCancelledTemporarily",
          "InstituteCreated",
          "InstituteUpdated",
          "InstituteCertificateUpdated",
          "InstituteSupportingDocSignatureSettingUpdated",
          "InstituteIntegrationsUpdated",
          "InstituteCancellationListGeneration",
          "InstituteInspectionFileGeneration",
          "CurriculumCreated",
          "CurriculumUpdated",
          "CurriculumCancelled",
          "CurriculumActivated",
          "VisualRepresentationUpdated",
          "RestampCreated",
          "RestampUpdated",
          "RestampApplied",
          "RestampApplyingError",
          "RestampCreationError"
        ],
        "type": "string"
      },
      "FileModel": {
        "required": [
          "contentType"
        ],
        "type": "object",
        "properties": {
          "location": {
            "type": "string",
            "nullable": true
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "contentType": {
            "minLength": 1,
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "InspectionFileStatus": {
        "enum": [
          "Started",
          "Created",
          "Generated",
          "Signed",
          "Error"
        ],
        "type": "string"
      },
      "InspectionFileTypes": {
        "enum": [
          "Issuer",
          "Registry"
        ],
        "type": "string"
      },
      "InspectionFiles.InspectionFileCreateRequest": {
        "required": [
          "endDate",
          "iesCode",
          "startDate",
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/InspectionFileTypes"
          },
          "iesCode": {
            "type": "integer",
            "format": "int32"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "includeAcademicRegistryUrl": {
            "type": "boolean",
            "description": "Para fiscalização do tipo emissora, a adição do URL da documentação acadêmica é opcional e é de acordo com a necessidade da solicitação do MEC"
          }
        },
        "additionalProperties": false
      },
      "InspectionFiles.InspectionFileModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "iesCode": {
            "type": "integer",
            "format": "int32"
          },
          "iesName": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/InspectionFileTypes"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "creationDate": {
            "type": "string",
            "format": "date-time"
          },
          "updateDate": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/InspectionFileStatus"
          },
          "signerDocumentId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "signerDocumentUrl": {
            "type": "string",
            "nullable": true
          },
          "errorReason": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Institutes.CertificateInformationModel": {
        "type": "object",
        "properties": {
          "subjectName": {
            "type": "string",
            "description": "Nome do responsável do certificado",
            "nullable": true
          },
          "companyName": {
            "type": "string",
            "description": "Nome da instituição",
            "nullable": true
          },
          "certificateType": {
            "type": "string",
            "description": "Tipo do certificado",
            "nullable": true
          },
          "isCompany": {
            "type": "boolean",
            "description": "Indica se o certificado é de pessoa jurídica"
          },
          "validityEnd": {
            "type": "string",
            "description": "Data de validade do certificado",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "Institutes.InstituteCreateRequest": {
        "required": [
          "type"
        ],
        "type": "object",
        "properties": {
          "supportingDocSignatureMode": {
            "$ref": "#/components/schemas/SupportingDocSignatureModes"
          },
          "uploadedCertificate": {
            "$ref": "#/components/schemas/Institutes.UploadCertificateRequest"
          },
          "supportingDocSigner": {
            "$ref": "#/components/schemas/DocumentFlows.SignRuleModel"
          },
          "type": {
            "$ref": "#/components/schemas/SubscriptionTypes"
          },
          "issuerData": {
            "$ref": "#/components/schemas/Degrees.DadosIesEmissora"
          },
          "registryData": {
            "$ref": "#/components/schemas/Degrees.DadosIesRegistradora"
          }
        },
        "additionalProperties": false
      },
      "Institutes.InstituteEventModel": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/EventTypes"
          },
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "details": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Institutes.InstituteIntegrationsModel": {
        "type": "object",
        "properties": {
          "shouldUseSubscriptionWebhookSettings": {
            "type": "boolean"
          },
          "webhook": {
            "$ref": "#/components/schemas/Settings.WebhookSettingsModel"
          }
        },
        "additionalProperties": false
      },
      "Institutes.InstituteListModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "iesCode": {
            "type": "integer",
            "format": "int32"
          },
          "iesName": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/SubscriptionTypes"
          },
          "currentCancellationListSequenceNumber": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "nextCancellationListGenerateDate": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "supportingDocSignatureMode": {
            "$ref": "#/components/schemas/SupportingDocSignatureModes"
          },
          "isCertificateExpired": {
            "type": "boolean",
            "nullable": true
          },
          "creationDate": {
            "type": "string",
            "format": "date-time"
          },
          "updateDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "Institutes.InstituteModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "type": {
            "$ref": "#/components/schemas/SubscriptionTypes"
          },
          "registryData": {
            "$ref": "#/components/schemas/Degrees.DadosIesRegistradora"
          },
          "issuerData": {
            "$ref": "#/components/schemas/Degrees.DadosIesEmissora"
          },
          "currentCancellationListSequenceNumber": {
            "type": "integer",
            "description": "Número de sequência atual da lista de anulação",
            "format": "int32",
            "nullable": true
          },
          "nextCancellationListGenerateDate": {
            "type": "string",
            "description": "Data máxina da próxima geração da lista de anulação da instituição",
            "format": "date-time"
          },
          "supportingDocSignatureMode": {
            "$ref": "#/components/schemas/SupportingDocSignatureModes"
          },
          "certificateInformation": {
            "$ref": "#/components/schemas/Institutes.CertificateInformationModel"
          },
          "supportingDocumentSigner": {
            "$ref": "#/components/schemas/DocumentFlows.SignRuleModel"
          },
          "webhookSettings": {
            "$ref": "#/components/schemas/Institutes.InstituteIntegrationsModel"
          },
          "creationDate": {
            "type": "string",
            "description": "Data de criação da instituição",
            "format": "date-time"
          },
          "updateDate": {
            "type": "string",
            "description": "Data de atualização da instituição",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "Institutes.InstituteUpdateModel": {
        "required": [
          "type"
        ],
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/SubscriptionTypes"
          },
          "issuerData": {
            "$ref": "#/components/schemas/Degrees.DadosIesEmissora"
          },
          "registryData": {
            "$ref": "#/components/schemas/Degrees.DadosIesRegistradora"
          }
        },
        "additionalProperties": false
      },
      "Institutes.UploadCertificateRequest": {
        "required": [
          "uploadId"
        ],
        "type": "object",
        "properties": {
          "uploadId": {
            "type": "string",
            "description": "O Id do certificado enviado utilizando a requisição Lacuna.Spa.Api.UploadModel.Id.",
            "format": "uuid"
          },
          "password": {
            "type": "string",
            "description": "A senha do certificado caso possua.",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaginatedSearchResponse[Batches.BatchModel]": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Batches.BatchModel"
            },
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaginatedSearchResponse[Degrees.DegreeModel]": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Degrees.DegreeModel"
            },
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaginatedSearchResponse[DocumentFlows.DocumentFlowModel]": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DocumentFlows.DocumentFlowModel"
            },
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaginatedSearchResponse[Emissions.EmissionModel]": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Emissions.EmissionModel"
            },
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaginatedSearchResponse[Registrations.RegistrationModel]": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Registrations.RegistrationModel"
            },
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaginatedSearchResponse[Templates.TemplateModel]": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Templates.TemplateModel"
            },
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaginatedSearchResponse`1[[AcademicTranscripts.AcademicTranscriptModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/AcademicTranscripts.AcademicTranscriptModel"
            },
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaginatedSearchResponse`1[[CancellationList.CancellationListModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/CancellationList.CancellationListModel"
            },
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaginatedSearchResponse`1[[Curriculums.CurriculumModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Curriculums.CurriculumModel"
            },
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaginatedSearchResponse`1[[Degrees.DegreeListModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Degrees.DegreeListModel"
            },
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaginatedSearchResponse`1[[InspectionFiles.InspectionFileModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/InspectionFiles.InspectionFileModel"
            },
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaginatedSearchResponse`1[[Institutes.InstituteListModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Institutes.InstituteListModel"
            },
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaginatedSearchResponse`1[[Restamps.RestampModel, Lacuna.Digiploma.Api, Version=3.1.0.0, Culture=neutral, PublicKeyToken=3835d68b69925328]]": {
        "type": "object",
        "properties": {
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Restamps.RestampModel"
            },
            "nullable": true
          },
          "totalCount": {
            "type": "integer",
            "format": "int32"
          },
          "nextCursor": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "PaginationOrders": {
        "enum": [
          "Asc",
          "Desc"
        ],
        "type": "string"
      },
      "RegistrationStatus": {
        "enum": [
          "Created",
          "Approved",
          "Rejected",
          "Registered",
          "Signed",
          "Canceled",
          "SentToIssuer",
          "CreatedAwaitingAcceptance",
          "Accepted"
        ],
        "type": "string"
      },
      "RegistrationTypes": {
        "enum": [
          "Manual",
          "Subscription",
          "Integration"
        ],
        "type": "string"
      },
      "Registrations.RegistrationApprovalRequest": {
        "type": "object",
        "properties": {
          "reason": {
            "maxLength": 1000,
            "type": "string",
            "description": "O motivo da alteração do status.\r\nTamanho máximo de 1000 caracteres",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Registrations.RegistrationFileModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "type": {
            "type": "string",
            "nullable": true
          },
          "tipoDocumentacao": {
            "$ref": "#/components/schemas/Degrees.TipoDocumentacao"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "displayName": {
            "type": "string",
            "nullable": true
          },
          "ticketUrl": {
            "type": "string",
            "nullable": true
          },
          "isUnavailable": {
            "type": "boolean"
          }
        },
        "additionalProperties": false
      },
      "Registrations.RegistrationInfoModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "files": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Registrations.RegistrationFileModel"
            },
            "nullable": true
          },
          "batchId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          },
          "dadosDiploma": {
            "$ref": "#/components/schemas/Degrees.DadosDiploma"
          },
          "documentacaoAcademica": {
            "$ref": "#/components/schemas/Degrees.AcademicDocumentationInformation"
          },
          "visualRepresentationFieldsContent": {
            "type": "object",
            "additionalProperties": {
              "type": "string",
              "nullable": true
            },
            "description": "Opcional.\r\nQuando preenchido, sobrescreverá o texto presente no campo de formulário do modelo do diploma, seguindo o padrão chave-valor, onde a chave é o nome do campo de formulário e o valor é o conteúdo a ser inserido no campo.",
            "nullable": true
          },
          "isNsf": {
            "type": "boolean",
            "description": "OBSOLETO. Utilizar <see cref=\"P:Lacuna.Digiploma.Api.Degrees.DegreeEmissionRequestModel.DegreeType\">type</see>",
            "nullable": true
          },
          "degreeType": {
            "$ref": "#/components/schemas/DegreeTypes"
          }
        },
        "additionalProperties": false
      },
      "Registrations.RegistrationModel": {
        "type": "object",
        "properties": {
          "signerDocumentId": {
            "type": "string",
            "description": "Id do documento (XML) no Assinador",
            "format": "uuid",
            "nullable": true
          },
          "signerDocumentUrl": {
            "type": "string",
            "description": "URL do documento (XML) no Assinador",
            "nullable": true
          },
          "isSigned": {
            "type": "boolean",
            "description": "Indica se o diploma foi assinado"
          },
          "isCurrentVersion": {
            "type": "boolean",
            "description": "Indica se a versão do diploma é a versão vigente"
          },
          "id": {
            "type": "string",
            "description": "ID da requisição de registro",
            "format": "uuid"
          },
          "studentName": {
            "type": "string",
            "description": "Nome do diplomado",
            "nullable": true
          },
          "studentSocialName": {
            "type": "string",
            "description": "Nome social do diplomado",
            "nullable": true
          },
          "studentCpf": {
            "type": "string",
            "description": "CPF do diplomado",
            "nullable": true
          },
          "course": {
            "type": "string",
            "description": "Nome do Curso",
            "nullable": true
          },
          "issuingIes": {
            "type": "string",
            "description": "Nome da IES Emissora",
            "nullable": true
          },
          "creationDate": {
            "type": "string",
            "description": "Data de criação da requisição de registro",
            "format": "date-time"
          },
          "updateDate": {
            "type": "string",
            "description": "Data da última atualização da requisição de registro",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/RegistrationStatus"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "version": {
            "$ref": "#/components/schemas/DegreeVersions"
          }
        },
        "additionalProperties": false
      },
      "Registrations.RegistrationRegisterRequest": {
        "required": [
          "dadosRegistro"
        ],
        "type": "object",
        "properties": {
          "dadosRegistro": {
            "$ref": "#/components/schemas/Degrees.DadosRegistro"
          },
          "signerFolderId": {
            "type": "string",
            "description": "Id da pasta no Assinador",
            "format": "uuid",
            "nullable": true
          },
          "newFolderName": {
            "maxLength": 200,
            "type": "string",
            "description": "Caso informado irá criar uma nova pasta no Assinador com o nome informado.",
            "nullable": true
          },
          "documentFlow": {
            "$ref": "#/components/schemas/DocumentFlows.DocumentFlowData"
          },
          "documentFlowId": {
            "type": "string",
            "format": "uuid",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Registrations.RegistrationStatusUpdateModel": {
        "type": "object",
        "properties": {
          "status": {
            "$ref": "#/components/schemas/RegistrationStatus"
          },
          "reason": {
            "type": "string",
            "nullable": true
          },
          "date": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "Registrations.RegistrationUpdateRequest": {
        "type": "object",
        "properties": {
          "cancellationReason": {
            "$ref": "#/components/schemas/DegreeCancellationReasons"
          },
          "reason": {
            "maxLength": 1000,
            "type": "string",
            "description": "O motivo da alteração do status. Opcional quando for anulação.\r\nTamanho máximo de 500 caracteres",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "RestampFilterFields": {
        "enum": [
          "RestampDate",
          "ExpiringDate"
        ],
        "type": "string"
      },
      "RestampStatus": {
        "enum": [
          "Restamped",
          "NonRestamped",
          "WithError"
        ],
        "type": "string"
      },
      "Restamps.RestampModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "identifier": {
            "type": "string",
            "nullable": true
          },
          "documentType": {
            "$ref": "#/components/schemas/DocumentTypes"
          },
          "errorReason": {
            "type": "string",
            "nullable": true
          },
          "date": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "creationDate": {
            "type": "string",
            "format": "date-time"
          },
          "updateDate": {
            "type": "string",
            "format": "date-time"
          },
          "archivingExpiringDate": {
            "type": "string",
            "format": "date-time"
          },
          "documentId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "Settings.WebhookSettingsModel": {
        "type": "object",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "authType": {
            "$ref": "#/components/schemas/WebhookAuthenticationTypes"
          },
          "url": {
            "type": "string",
            "nullable": true
          },
          "token": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "SubscriptionTypes": {
        "enum": [
          "IssuerRegistry",
          "Issuer",
          "Registry"
        ],
        "type": "string"
      },
      "SupportingDocSignatureModes": {
        "enum": [
          "Automatic",
          "Manual"
        ],
        "type": "string"
      },
      "TemplateTypes": {
        "enum": [
          "Degree",
          "AcademicTranscript",
          "Curriculum"
        ],
        "type": "string"
      },
      "Templates.AcademicTranscriptTemplateSettingsModel": {
        "type": "object",
        "properties": {
          "showCourseRecognitionAlongWithFilledRenewal": {
            "type": "boolean"
          },
          "hideIdentificationDocumentForBrazilianStudents": {
            "type": "boolean"
          },
          "studentDataTableTitle": {
            "type": "string",
            "nullable": true
          },
          "courseDataTableTitle": {
            "type": "string",
            "nullable": true
          },
          "disciplineDataTableTitle": {
            "type": "string",
            "nullable": true
          },
          "compActivityAndInternshipDataTableTitle": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Templates.TemplateData": {
        "required": [
          "name",
          "upload"
        ],
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/TemplateTypes"
          },
          "upload": {
            "$ref": "#/components/schemas/UploadModel"
          },
          "letterheadUpload": {
            "$ref": "#/components/schemas/UploadModel"
          },
          "name": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string",
            "description": "Nome do modelo"
          },
          "baseUrl": {
            "maxLength": 200,
            "type": "string",
            "nullable": true
          },
          "validationPath": {
            "maxLength": 200,
            "type": "string",
            "nullable": true
          },
          "marginTopInCentimeters": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "marginBottomInCentimeters": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "marginLeftInCentimeters": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "marginRightInCentimeters": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "settings": {
            "$ref": "#/components/schemas/Templates.TemplateSettingsModel"
          }
        },
        "additionalProperties": false
      },
      "Templates.TemplateModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "subscriptionId": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "baseUrl": {
            "type": "string",
            "nullable": true
          },
          "validationPath": {
            "type": "string",
            "nullable": true
          },
          "type": {
            "$ref": "#/components/schemas/TemplateTypes"
          },
          "creationDate": {
            "type": "string",
            "format": "date-time"
          },
          "file": {
            "$ref": "#/components/schemas/FileModel"
          },
          "letterheadFile": {
            "$ref": "#/components/schemas/FileModel"
          },
          "settings": {
            "$ref": "#/components/schemas/Templates.TemplateSettingsModel"
          },
          "marginTopInCentimeters": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "marginBottomInCentimeters": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "marginLeftInCentimeters": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "marginRightInCentimeters": {
            "type": "number",
            "format": "double",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Templates.TemplatePreviewTicketRequest": {
        "required": [
          "contentType"
        ],
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/TemplateTypes"
          },
          "baseUrl": {
            "type": "string",
            "nullable": true
          },
          "validationPath": {
            "type": "string",
            "nullable": true
          },
          "settings": {
            "$ref": "#/components/schemas/Templates.TemplateSettingsModel"
          },
          "marginTopInCentimeters": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "marginBottomInCentimeters": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "marginLeftInCentimeters": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "marginRightInCentimeters": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "contentType": {
            "minLength": 1,
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "Templates.TemplateSettingsModel": {
        "type": "object",
        "properties": {
          "academicTranscript": {
            "$ref": "#/components/schemas/Templates.AcademicTranscriptTemplateSettingsModel"
          }
        },
        "additionalProperties": false
      },
      "Templates.UpdateTemplateRequest": {
        "required": [
          "name"
        ],
        "type": "object",
        "properties": {
          "name": {
            "maxLength": 200,
            "minLength": 1,
            "type": "string",
            "description": "Nome do modelo"
          },
          "baseUrl": {
            "maxLength": 200,
            "type": "string",
            "nullable": true
          },
          "validationPath": {
            "maxLength": 200,
            "type": "string",
            "nullable": true
          },
          "marginTopInCentimeters": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "marginBottomInCentimeters": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "marginLeftInCentimeters": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "marginRightInCentimeters": {
            "type": "number",
            "format": "double",
            "nullable": true
          },
          "settings": {
            "$ref": "#/components/schemas/Templates.TemplateSettingsModel"
          }
        },
        "additionalProperties": false
      },
      "TicketFileModel": {
        "type": "object",
        "properties": {
          "filename": {
            "type": "string",
            "nullable": true
          },
          "location": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "TicketModel": {
        "type": "object",
        "properties": {
          "location": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "UploadModel": {
        "required": [
          "contentType"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "contentType": {
            "minLength": 1,
            "type": "string"
          }
        },
        "additionalProperties": false
      },
      "Uploads.UploadBytesModel": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "nullable": true
          },
          "size": {
            "type": "integer",
            "format": "int64"
          },
          "digest": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Uploads.UploadBytesRequest": {
        "required": [
          "bytes"
        ],
        "type": "object",
        "properties": {
          "bytes": {
            "minLength": 1,
            "type": "string",
            "format": "byte"
          }
        },
        "additionalProperties": false
      },
      "ValidateDegreesFileResponse[Degrees.DegreeEmissionRequestModel]": {
        "type": "object",
        "properties": {
          "isValid": {
            "type": "boolean"
          },
          "totalErrors": {
            "type": "integer",
            "format": "int32"
          },
          "generalError": {
            "$ref": "#/components/schemas/ErrorModel"
          },
          "result": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DegreeInformationValidation[Degrees.DegreeEmissionRequestModel]"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "ValidateDegreesFileResponse[Degrees.DegreeFullInformationModel]": {
        "type": "object",
        "properties": {
          "isValid": {
            "type": "boolean"
          },
          "totalErrors": {
            "type": "integer",
            "format": "int32"
          },
          "generalError": {
            "$ref": "#/components/schemas/ErrorModel"
          },
          "result": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/DegreeInformationValidation[Degrees.DegreeFullInformationModel]"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "WebhookAuthenticationTypes": {
        "enum": [
          "NoAuth",
          "Basic",
          "Bearer",
          "ApiKey"
        ],
        "type": "string"
      },
      "WebhookTypes": {
        "enum": [
          "DegreeCreated",
          "DegreeConcluded",
          "DegreeCanceled",
          "DegreeRestored",
          "DegreeCanceledTemporarily",
          "EmissionCreated",
          "EmissionSigned",
          "EmissionSentToRegistry",
          "EmissionRegistered",
          "EmissionCanceled",
          "RegistrationCreated",
          "RegistrationApproved",
          "RegistrationRejected",
          "RegistrationRegistered",
          "RegistrationSigned",
          "RegistrationCanceled",
          "RegistrationSentToIssuer",
          "AcademicTranscriptCreated",
          "AcademicTranscriptConcluded",
          "AcademicTranscriptCanceled",
          "RegistrationAccepted",
          "EmissionAcceptedByRegistry",
          "AcademicTranscriptCanceledTemporarily",
          "CancellationListGenerated",
          "InspectionFileStarted",
          "InspectionFileGenerated",
          "InspectionFileGenerationError",
          "CurriculumCreated",
          "CurriculumConcluded",
          "CurriculumCanceled",
          "EmissionRegistrationAccepted",
          "EmissionRegistrationApproved",
          "EmissionRegistrationRejected",
          "EmissionRegistrationCanceled",
          "EmissionRegistrationRegistered",
          "RestampCreated",
          "RestampUpdated",
          "RestampApplied",
          "RestampApplyingError",
          "RestampCreationError",
          "CancellationListCreated",
          "CancellationListSigned",
          "InspectionFileCreated",
          "InspectionFileSigned"
        ],
        "type": "string"
      },
      "Webhooks.AcademicTranscriptUpdatedModel": {
        "type": "object",
        "properties": {
          "reason": {
            "type": "string",
            "description": "Motivo do cancelamento (se for um cancelamento)",
            "nullable": true
          },
          "subscriptionId": {
            "type": "string",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "description": "ID do histórico escolar",
            "format": "uuid"
          },
          "studentName": {
            "type": "string",
            "description": "Nome do diplomado",
            "nullable": true
          },
          "studentSocialName": {
            "type": "string",
            "description": "Nome social do diplomado",
            "nullable": true
          },
          "studentCpf": {
            "type": "string",
            "description": "CPF do diplomado",
            "nullable": true
          },
          "course": {
            "type": "string",
            "description": "Nome do Curso",
            "nullable": true
          },
          "issuingIes": {
            "type": "string",
            "description": "Nome da IES Emissora",
            "nullable": true
          },
          "creationDate": {
            "type": "string",
            "description": "Data de criação do histórico escolar",
            "format": "date-time"
          },
          "updateDate": {
            "type": "string",
            "description": "Data da última atualização do histórico escolar",
            "format": "date-time"
          },
          "type": {
            "$ref": "#/components/schemas/AcademicTranscriptTypes"
          },
          "status": {
            "$ref": "#/components/schemas/AcademicTranscriptStatus"
          },
          "version": {
            "$ref": "#/components/schemas/DegreeVersions"
          },
          "verificationCode": {
            "type": "string",
            "description": "Código de validação do histórico escolar",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Webhooks.CurriculumUpdatedModel": {
        "type": "object",
        "properties": {
          "reason": {
            "type": "string",
            "description": "Motivo do cancelamento (se for um cancelamento)",
            "nullable": true
          },
          "subscriptionId": {
            "type": "string",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "description": "ID do currículo escolar",
            "format": "uuid"
          },
          "code": {
            "type": "string",
            "description": "Código do currículo escolar",
            "nullable": true
          },
          "course": {
            "type": "string",
            "description": "Nome do Curso",
            "nullable": true
          },
          "iesName": {
            "type": "string",
            "description": "Nome da IES Emissora",
            "nullable": true
          },
          "creationDate": {
            "type": "string",
            "description": "Data de criação do currículo escolar",
            "format": "date-time"
          },
          "updateDate": {
            "type": "string",
            "description": "Data da última atualização do currículo escolar",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/CurriculumStatus"
          },
          "version": {
            "$ref": "#/components/schemas/DegreeVersions"
          },
          "validationCode": {
            "type": "string",
            "description": "Código de validação do currículo escolar",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Webhooks.DegreeConcludedModel": {
        "type": "object",
        "properties": {
          "subscriptionId": {
            "type": "string",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "description": "ID do diploma",
            "format": "uuid"
          },
          "studentName": {
            "type": "string",
            "description": "Nome do diplomado",
            "nullable": true
          },
          "studentSocialName": {
            "type": "string",
            "description": "Nome social do diplomado",
            "nullable": true
          },
          "studentCpf": {
            "type": "string",
            "description": "CPF do diplomado",
            "nullable": true
          },
          "course": {
            "type": "string",
            "description": "Nome do Curso",
            "nullable": true
          },
          "issuingIes": {
            "type": "string",
            "description": "Nome da IES Emissora",
            "nullable": true
          },
          "registeringIes": {
            "type": "string",
            "description": "Nome da IES Registradora",
            "nullable": true
          },
          "creationDate": {
            "type": "string",
            "description": "Data de criação do diploma",
            "format": "date-time"
          },
          "updateDate": {
            "type": "string",
            "description": "Data da última atualização do diploma",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/DegreeStatus"
          },
          "verificationCode": {
            "type": "string",
            "description": "Código de validação do diploma",
            "nullable": true
          },
          "version": {
            "$ref": "#/components/schemas/DegreeVersions"
          }
        },
        "additionalProperties": false
      },
      "Webhooks.DegreeUpdatedModel": {
        "type": "object",
        "properties": {
          "reason": {
            "type": "string",
            "description": "Motivo do cancelamento/restauração",
            "nullable": true
          },
          "cancellationReason": {
            "$ref": "#/components/schemas/DegreeCancellationReasons"
          },
          "subscriptionId": {
            "type": "string",
            "format": "uuid"
          },
          "academicTranscriptCreationError": {
            "type": "string",
            "description": "Mensagem de erro indicando que não foi possível criar o histórico escolar final",
            "nullable": true
          },
          "id": {
            "type": "string",
            "description": "ID do diploma",
            "format": "uuid"
          },
          "studentName": {
            "type": "string",
            "description": "Nome do diplomado",
            "nullable": true
          },
          "studentSocialName": {
            "type": "string",
            "description": "Nome social do diplomado",
            "nullable": true
          },
          "studentCpf": {
            "type": "string",
            "description": "CPF do diplomado",
            "nullable": true
          },
          "course": {
            "type": "string",
            "description": "Nome do Curso",
            "nullable": true
          },
          "issuingIes": {
            "type": "string",
            "description": "Nome da IES Emissora",
            "nullable": true
          },
          "registeringIes": {
            "type": "string",
            "description": "Nome da IES Registradora",
            "nullable": true
          },
          "creationDate": {
            "type": "string",
            "description": "Data de criação do diploma",
            "format": "date-time"
          },
          "updateDate": {
            "type": "string",
            "description": "Data da última atualização do diploma",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/DegreeStatus"
          },
          "verificationCode": {
            "type": "string",
            "description": "Código de validação do diploma",
            "nullable": true
          },
          "version": {
            "$ref": "#/components/schemas/DegreeVersions"
          }
        },
        "additionalProperties": false
      },
      "Webhooks.EmissionRegistrationUpdatedModel": {
        "type": "object",
        "properties": {
          "registrationStatus": {
            "$ref": "#/components/schemas/RegistrationStatus"
          },
          "registrationCancellationReason": {
            "$ref": "#/components/schemas/DegreeCancellationReasons"
          },
          "reason": {
            "type": "string",
            "description": "Motivo do cancelamento (se for um cancelamento)",
            "nullable": true
          },
          "subscriptionId": {
            "type": "string",
            "format": "uuid"
          },
          "degreeId": {
            "type": "string",
            "description": "ID do Degree gerado quando concluir a emissão",
            "format": "uuid",
            "nullable": true
          },
          "id": {
            "type": "string",
            "description": "ID da emissão",
            "format": "uuid"
          },
          "studentName": {
            "type": "string",
            "description": "Nome do diplomado",
            "nullable": true
          },
          "studentSocialName": {
            "type": "string",
            "description": "Nome social do diplomado",
            "nullable": true
          },
          "studentCpf": {
            "type": "string",
            "description": "CPF do diplomado",
            "nullable": true
          },
          "course": {
            "type": "string",
            "description": "Nome do Curso",
            "nullable": true
          },
          "issuingIes": {
            "type": "string",
            "description": "Nome da IES Emissora",
            "nullable": true
          },
          "creationDate": {
            "type": "string",
            "description": "Data de criação da emissão",
            "format": "date-time"
          },
          "updateDate": {
            "type": "string",
            "description": "Data da última atualização da emissão",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/EmissionStatus"
          },
          "version": {
            "$ref": "#/components/schemas/DegreeVersions"
          }
        },
        "additionalProperties": false
      },
      "Webhooks.EmissionUpdatedModel": {
        "type": "object",
        "properties": {
          "reason": {
            "type": "string",
            "description": "Motivo do cancelamento (se for um cancelamento)",
            "nullable": true
          },
          "subscriptionId": {
            "type": "string",
            "format": "uuid"
          },
          "degreeId": {
            "type": "string",
            "description": "ID do Degree gerado quando concluir a emissão",
            "format": "uuid",
            "nullable": true
          },
          "id": {
            "type": "string",
            "description": "ID da emissão",
            "format": "uuid"
          },
          "studentName": {
            "type": "string",
            "description": "Nome do diplomado",
            "nullable": true
          },
          "studentSocialName": {
            "type": "string",
            "description": "Nome social do diplomado",
            "nullable": true
          },
          "studentCpf": {
            "type": "string",
            "description": "CPF do diplomado",
            "nullable": true
          },
          "course": {
            "type": "string",
            "description": "Nome do Curso",
            "nullable": true
          },
          "issuingIes": {
            "type": "string",
            "description": "Nome da IES Emissora",
            "nullable": true
          },
          "creationDate": {
            "type": "string",
            "description": "Data de criação da emissão",
            "format": "date-time"
          },
          "updateDate": {
            "type": "string",
            "description": "Data da última atualização da emissão",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/EmissionStatus"
          },
          "version": {
            "$ref": "#/components/schemas/DegreeVersions"
          }
        },
        "additionalProperties": false
      },
      "Webhooks.InspectionFileUpdatedModel": {
        "type": "object",
        "properties": {
          "details": {
            "type": "string",
            "description": "Detalhes do erro, caso o arquivo de fiscalização não tenha sido gerado",
            "nullable": true
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "type": {
            "$ref": "#/components/schemas/InspectionFileTypes"
          },
          "iesCode": {
            "type": "integer",
            "format": "int32"
          },
          "inspectedDegreesNumber": {
            "type": "integer",
            "format": "int32"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/InspectionFileStatus"
          },
          "version": {
            "$ref": "#/components/schemas/DegreeVersions"
          },
          "creationDate": {
            "type": "string",
            "format": "date-time"
          },
          "updateDate": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      },
      "Webhooks.RegistrationUpdatedModel": {
        "type": "object",
        "properties": {
          "reason": {
            "type": "string",
            "description": "Motivo do cancelamento/recusa",
            "nullable": true
          },
          "cancellationReason": {
            "$ref": "#/components/schemas/DegreeCancellationReasons"
          },
          "subscriptionId": {
            "type": "string",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "description": "ID da requisição de registro",
            "format": "uuid"
          },
          "studentName": {
            "type": "string",
            "description": "Nome do diplomado",
            "nullable": true
          },
          "studentSocialName": {
            "type": "string",
            "description": "Nome social do diplomado",
            "nullable": true
          },
          "studentCpf": {
            "type": "string",
            "description": "CPF do diplomado",
            "nullable": true
          },
          "course": {
            "type": "string",
            "description": "Nome do Curso",
            "nullable": true
          },
          "issuingIes": {
            "type": "string",
            "description": "Nome da IES Emissora",
            "nullable": true
          },
          "creationDate": {
            "type": "string",
            "description": "Data de criação da requisição de registro",
            "format": "date-time"
          },
          "updateDate": {
            "type": "string",
            "description": "Data da última atualização da requisição de registro",
            "format": "date-time"
          },
          "status": {
            "$ref": "#/components/schemas/RegistrationStatus"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "version": {
            "$ref": "#/components/schemas/DegreeVersions"
          }
        },
        "additionalProperties": false
      },
      "Webhooks.RestampUpdatedModel": {
        "type": "object",
        "properties": {
          "subscriptionId": {
            "type": "string",
            "format": "uuid"
          },
          "id": {
            "type": "string",
            "format": "uuid"
          },
          "identifier": {
            "type": "string",
            "nullable": true
          },
          "documentType": {
            "$ref": "#/components/schemas/DocumentTypes"
          },
          "errorReason": {
            "type": "string",
            "nullable": true
          },
          "date": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "creationDate": {
            "type": "string",
            "format": "date-time"
          },
          "updateDate": {
            "type": "string",
            "format": "date-time"
          },
          "archivingExpiringDate": {
            "type": "string",
            "format": "date-time"
          },
          "documentId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "Webhooks.WebhookModel": {
        "type": "object",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/WebhookTypes"
          },
          "data": {
            "description": "Os dados específicos do tipo deste evento de webhook. Verifique a documentação para ver o modelo correspondente para um tipo de evento..",
            "nullable": true
          }
        },
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "ApiKey": {
        "type": "apiKey",
        "description": "API key authentication",
        "name": "X-Api-Key",
        "in": "header"
      }
    }
  },
  "security": [
    {
      "ApiKey": [ ]
    }
  ]
}