Skip to content

Commit

Permalink
feat(standard v0.3): add new categories
Browse files Browse the repository at this point in the history
Add educational-content and whistleblowing categories.

publiccodeyml/publiccode.yml#88
publiccodeyml/publiccode.yml#97
  • Loading branch information
bfabio committed Feb 18, 2023
1 parent 4acbcca commit f579a37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions testdata/v0.3/valid/valid.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ categories:
- donor-management
- e-commerce
- e-signature
- educational-content
- email-management
- email-marketing
- employee-management
Expand Down Expand Up @@ -122,6 +123,7 @@ categories:
- warehouse-management
- web-collaboration
- web-conferencing
- whistleblowing
- website-builder
- workflow-management

Expand Down
2 changes: 2 additions & 0 deletions validators/v0.2.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ func isCategory_v0_2(fl validator.FieldLevel) bool {
"donor-management",
"e-commerce",
"e-signature",
"educational-content",
"email-management",
"email-marketing",
"employee-management",
Expand Down Expand Up @@ -104,6 +105,7 @@ func isCategory_v0_2(fl validator.FieldLevel) bool {
"warehouse-management",
"web-collaboration",
"web-conferencing",
"whistleblowing",
"website-builder",
"workflow-management",
}
Expand Down

0 comments on commit f579a37

Please sign in to comment.