Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General rule reporting schema #1584

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions documentation/draft-example.report.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@

{
"entities": 2,
"errors": 0,
"valid-entities": 2,
"groupable-keys": [
{
"key":"taxon",
"default": "taxon:0"
},
{
"key": "group",
"default": "unknown"
}
],
"group": "rebels",
"messages": {
"gorule-0000001": [
{
"level": "WARNING",
"entity": "I'm\ta\tGAF\tline",
"type": "Violates GO Rule",
"message": "This is an error message",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"message": "This is an error message",
"message": "Violates GO rule",

"rule": 1,
"taxon": "taxon:12345"
}
]
}
}
Loading