diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2014-05-07 18:50:48 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2014-05-07 18:50:48 -0500 |
commit | 6fab7734d6b6817b310865409f260ab87907eaa0 (patch) | |
tree | 866f362cd67ccbff341061229e1d2d0bf78a5fea /mediagoblin/tools/metadata.py | |
parent | e5e2cc2f16f47fb28f5aef256652e2f2e20eb45d (diff) | |
download | mediagoblin-6fab7734d6b6817b310865409f260ab87907eaa0.tar.lz mediagoblin-6fab7734d6b6817b310865409f260ab87907eaa0.tar.xz mediagoblin-6fab7734d6b6817b310865409f260ab87907eaa0.zip |
Updating batchaddmedia to use new metadata tools
Diffstat (limited to 'mediagoblin/tools/metadata.py')
-rw-r--r-- | mediagoblin/tools/metadata.py | 4 |
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. """ |