validation

This commit is contained in:
Ed
2025-01-26 19:33:07 +03:00
parent 775f21a18d
commit 3d2f388f47
2 changed files with 2 additions and 4 deletions

View File

@@ -14,8 +14,7 @@ class License(Validator):
"CC-BY-NC-SA-4.0",
"CC0-1.0",
"MIT",
"Custom", # implies that the license is described in the copyright field.
"All right reserved"
"Custom" # implies that the license is described in the copyright field.
]
def _is_valid(self, value):

View File

@@ -83,8 +83,7 @@
"CC-BY-NC-4.0",
"CC-BY-NC-SA-3.0",
"CC-BY-NC-SA-4.0",
"CC0-1.0",
"All right reserved"
"CC0-1.0"
],
"examples": [
"CC-BY-SA-3.0"