UNPKG

eslint-plugin-json-schema-validator

Version:
1 lines 5.06 kB
{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://json.schemastore.org/codecov","title":"JSON schema for Codecov configuration files","type":"object","definitions":{"flag":{"type":"object","properties":{"joined":{"type":"boolean"},"required":{"type":"boolean"},"ignore":{"type":"array","items":{"type":"string"}},"paths":{"type":"array","items":{"type":"string"}},"assume":{"type":["boolean","array"],"items":{"type":"string"}}}},"layout":{"anyOf":[{},{"enum":["header","footer","diff","file","files","flag","flags","reach","sunburst","uncovered"]}]},"notification":{"type":"object","properties":{"url":{"type":"string"},"branches":{"type":"string"},"threshold":{"type":"string"},"message":{"type":"string"},"flags":{"type":"string"},"base":{"enum":["parent","pr","auto"]},"only_pulls":{"type":"boolean"},"paths":{"type":"array","items":{"type":"string"}}}}},"properties":{"codecov":{"type":"object","properties":{"url":{"type":"string"},"slug":{"type":"string"},"bot":{"type":"string"},"branch":{"type":"string"},"ci":{"type":"array","items":{"type":"string"}},"assume_all_flags":{"type":"boolean"},"strict_yaml_branch":{"type":"string"},"max_report_age":{"type":["string","integer","boolean"]},"disable_default_path_fixes":{"type":"boolean"},"require_ci_to_pass":{"type":"boolean"},"allow_pseudo_compare":{"type":"boolean"},"archive":{"type":"object","properties":{"uploads":{"type":"boolean"}}},"notify":{"type":"object","properties":{"after_n_builds":{"type":"integer"},"countdown":{"type":"integer"},"delay":{"type":"integer"},"wait_for_ci":{"type":"boolean"}}},"ui":{"type":"object","properties":{"hide_density":{"type":["boolean","array"],"items":{"type":"string"}},"hide_complexity":{"type":["boolean","array"],"items":{"type":"string"}},"hide_contextual":{"type":"boolean"},"hide_sunburst":{"type":"boolean"},"hide_search":{"type":"boolean"}}}}},"coverage":{"type":"object","properties":{"precision":{"type":"integer","minimum":0,"maximum":5},"round":{"enum":["down","up","nearest"]},"range":{"type":"string"},"notify":{"type":"object","properties":{"irc":{"type":"object","properties":{"url":{"type":"string"},"branches":{"type":"string"},"threshold":{"type":"string"},"message":{"type":"string"},"flags":{"type":"string"},"base":{"enum":["parent","pr","auto"]},"only_pulls":{"type":"boolean"},"paths":{"type":"array","items":{"type":"string"}},"channel":{"type":"string"},"password":{"type":"string"},"nickserv_password":{"type":"string"},"notice":{"type":"boolean"}}},"slack":{"type":"object","properties":{"url":{"type":"string"},"branches":{"type":"string"},"threshold":{"type":"string"},"message":{"type":"string"},"flags":{"type":"string"},"base":{"enum":["parent","pr","auto"]},"only_pulls":{"type":"boolean"},"paths":{"type":"array","items":{"type":"string"}},"attachments":{"$ref":"#/definitions/layout"}}},"gitter":{"type":"object","properties":{"url":{"type":"string"},"branches":{"type":"string"},"threshold":{"type":"string"},"message":{"type":"string"},"flags":{"type":"string"},"base":{"enum":["parent","pr","auto"]},"only_pulls":{"type":"boolean"},"paths":{"type":"array","items":{"type":"string"}}}},"hipchat":{"type":"object","properties":{"url":{"type":"string"},"branches":{"type":"string"},"threshold":{"type":"string"},"message":{"type":"string"},"flags":{"type":"string"},"base":{"enum":["parent","pr","auto"]},"only_pulls":{"type":"boolean"},"paths":{"type":"array","items":{"type":"string"}},"card":{"type":"boolean"},"notify":{"type":"boolean"}}},"webhook":{"type":"object","properties":{"url":{"type":"string"},"branches":{"type":"string"},"threshold":{"type":"string"},"message":{"type":"string"},"flags":{"type":"string"},"base":{"enum":["parent","pr","auto"]},"only_pulls":{"type":"boolean"},"paths":{"type":"array","items":{"type":"string"}}}},"email":{"type":"object","properties":{"url":{"type":"string"},"branches":{"type":"string"},"threshold":{"type":"string"},"message":{"type":"string"},"flags":{"type":"string"},"base":{"enum":["parent","pr","auto"]},"only_pulls":{"type":"boolean"},"paths":{"type":"array","items":{"type":"string"}},"layout":{"$ref":"#/definitions/layout"},"+to":{"type":"array","items":{"type":"string"}}}}}},"status":{"type":["boolean","object"],"properties":{"project":{"type":["boolean","object"]}},"patch":{"type":["boolean","object"]},"changes":{"type":["boolean","object"]}}}},"ignore":{"type":"array","items":{"type":"string"}},"fixes":{"type":"array","items":{"type":"string"}},"flags":{"oneOf":[{"type":"array","items":{"$ref":"#/definitions/flag"}},{"type":"object","additionalProperties":{"$ref":"#/definitions/flag"}}]},"comment":{"oneOf":[{"type":"object","properties":{"layout":{"$ref":"#/definitions/layout"},"require_changes":{"type":"boolean"},"require_base":{"type":"boolean"},"require_head":{"type":"boolean"},"branches":{"type":"array","items":{"type":"string"}},"behavior":{"enum":["default","once","new","spammy"]},"flags":{"type":"array","items":{"$ref":"#/definitions/flag"}},"paths":{"type":"array","items":{"type":"string"}}}},{"const":false}]}}}