aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tools
diff options
context:
space:
mode:
Diffstat (limited to 'mediagoblin/tools')
-rw-r--r--mediagoblin/tools/metadata.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mediagoblin/tools/metadata.py b/mediagoblin/tools/metadata.py
index 428e425c..c49bcaaf 100644
--- a/mediagoblin/tools/metadata.py
+++ b/mediagoblin/tools/metadata.py
@@ -78,7 +78,7 @@ DEFAULT_SCHEMA = {
"type": "object",
"properties": {
- "dcterms:rights": {
+ "license": {
"format": "uri",
"type": "string",
},
@@ -96,7 +96,7 @@ def compact_and_validate(metadata, context=MEDIAGOBLIN_CONTEXT,
compact json with supplied context, check against schema for errors
raises an exception (jsonschema.exceptions.ValidationError) if
- there's an error.
+ there's an error.9
You may wish to do this validation yourself... this is just for convenience.
"""