-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Milestone
Description
The ResourceBase model at the moment handles the two date fields (related to data, not to metadata):
datedate_type(creation|revision|publication)
Since CSW ISO AP defines "CreationDate", "RevisionDate", "PublicationDate" as queriables, we may replace the fields date and date_type with:
csw_data_creation_datecsw_data_revision_datecsw_data_publication_date
where
cswbecause they are only used in CSW outputdatabecause they refer to data, and not to the metadata document (there are other fields for that purpose)
The migration should populate the new fields using the date and date_type fields:
- if
date_type=='creation'--> setcsw_data_creation_date=date - if
date_type=='revision'--> setcsw_data_revision_date=date - if
date_type=='publication'--> setcsw_data_publication_date=date
Once the migrations are done,
- change the pyCSW mappings to point to the new fields
- change the ISO XML template to use the new fields
Metadata
Metadata
Assignees
Labels
No labels