{"product":"codeowners-match","free":true,"input":{"codeowners":"# Default owners\n*       @global-owner1 @global-owner2\n*.js    @js-owner #This is an inline comment.\ndocs/*  docs@example.com\n/apps/  @octocat\n/apps/github\n!secret.txt @security\n","paths":"README.md\nsrc/app.js\ndocs/intro.md\ndocs/guide/setup.md\napps/web/main.go\napps/github/hook.rb"},"output":{"ok":true,"result":{"valid":true,"reason":null,"line":null,"line_count":7,"rule_count":5,"skipped_line_count":1,"comment_line_count":1,"path_count":6,"owned_count":5,"unowned_count":0,"explicitly_unowned_count":1,"invalid_path_count":0,"owners":["@global-owner1","@global-owner2","@js-owner","@octocat","docs@example.com"],"owners_total":5,"owners_complete":true,"owner_offset":0,"owners_truncated":false,"next_owner_offset":null,"review_groups":[{"line":2,"pattern":"*","owners":["@global-owner1","@global-owner2"],"path_count":2},{"line":3,"pattern":"*.js","owners":["@js-owner"],"path_count":1},{"line":4,"pattern":"docs/*","owners":["docs@example.com"],"path_count":1},{"line":5,"pattern":"/apps/","owners":["@octocat"],"path_count":1}],"review_groups_total":4,"review_groups_truncated":false,"unowned_paths":[{"path":"apps/github/hook.rb","line":6}],"unowned_paths_total":1,"unowned_paths_truncated":false,"results":[{"path":"README.md","status":"owned","reason":null,"line":2,"owners":["@global-owner1","@global-owner2"]},{"path":"src/app.js","status":"owned","reason":null,"line":3,"owners":["@js-owner"]},{"path":"docs/intro.md","status":"owned","reason":null,"line":4,"owners":["docs@example.com"]},{"path":"docs/guide/setup.md","status":"owned","reason":null,"line":2,"owners":["@global-owner1","@global-owner2"]},{"path":"apps/web/main.go","status":"owned","reason":null,"line":5,"owners":["@octocat"]},{"path":"apps/github/hook.rb","status":"explicitly_unowned","reason":null,"line":6,"owners":[]}],"offset":0,"results_truncated":false,"next_offset":null,"problems":[{"line":6,"column":1,"code":"no_owners","severity":"warning"},{"line":7,"column":1,"code":"negation_not_supported","severity":"error"}],"problem_count":2,"error_count":1,"warning_count":1,"problem_offset":0,"problems_truncated":false,"next_problem_offset":null,"standard":"GitHub Docs, About code owners (CODEOWNERS syntax): gitignore-style patterns without ! negation, [ ] ranges or \\# escapes; last matching line wins; case-sensitive paths"},"warnings":["1 CODEOWNERS line(s) have invalid syntax; GitHub skips such lines, and so does this result (see problems with severity error).","Owners are checked for syntax only; whether each user, team or e-mail exists and has write access to the repository is not known here."]},"paid_url":"https://forge.fizzl.eu/p/codeowners-match"}