Which reports? The Metabase reports? Those are validated by the Metabase 
modules themselves (CPAN::Testers::Report). Any further validation for those is 
obsoleted by the new API. The new report format has an OpenAPI schema 
definition (http://api.cpantesters.org/v3 <http://api.cpantesters.org/v3>) with 
associated docs (http://api.cpantesters.org/docs/?url=/v3 
<http://api.cpantesters.org/docs/?url=/v3>).

Doug Bell
d...@preaction.me



> On May 20, 2017, at 2:50 PM, Alceu R. de Freitas Jr. via cpan-testers-discuss 
> <cpan-testers-discuss@perl.org> wrote:
> 
> Hello folks,
> Do we have anything to validate CPAN Testers Reports in JSON format?
> I'm considering using JSON::Validator module on CPAN for that, but I wasn't 
> able to find a JSON Schema definition for it.
> Besides that, the report itself seems to be using "integer" as the type of 
> fields that are clearly "boolean" types. Of course Perl doesn't have a direct 
> corresponding value for JSON boolean valid values. If I try to generate a 
> JSON schema for validation, surely those fields would fail.
> Please let me know if we have anything that I could use for that.
> Thanks,
> Alceu
> 
> 

  • validating CPAN... Alceu R. de Freitas Jr.
    • Re: valida... Doug Bell
      • Re: va... Alceu Rodrigues de Freitas Junior via cpan-testers-discuss
        • Re... Doug Bell
          • ... Alceu Rodrigues de Freitas Junior via cpan-testers-discuss
    • Re: valida... Alceu Rodrigues de Freitas Junior via cpan-testers-discuss
      • Re: va... Doug Bell
        • Re... Alceu Rodrigues de Freitas Junior via cpan-testers-discuss

Reply via email to