Skip to content

Commit

Permalink
add citation to the MCF template. #17
Browse files Browse the repository at this point in the history
  • Loading branch information
davemfish committed Mar 18, 2024
1 parent 4747dce commit cd2735d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/geometamaker/geometamaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ def ignore_aliases(self, data):
# users to use.
MCF_SCHEMA['required'].append('content_info')
MCF_SCHEMA['required'].append('dataquality')
MCF_SCHEMA['properties']['identification']['properties'][
'citation'] = {
'type': 'string',
'description': 'a biobliographic citation for the dataset'
}
MCF_SCHEMA['properties']['identification']['required'].append('citation')
MCF_SCHEMA['properties']['identification']['properties'][
'keywords']['patternProperties']['^.*'][
'required'] = ['keywords', 'keywords_type']
Expand Down
1 change: 1 addition & 0 deletions tests/data/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ distribution:
identification:
abstract: ''
accessconstraints: ''
citation: ''
dates:
creation: ''
publication: ''
Expand Down

0 comments on commit cd2735d

Please sign in to comment.