diff --git a/content/pages/publish.json b/content/pages/publish.json index 484846398..e50d1a4d1 100644 --- a/content/pages/publish.json +++ b/content/pages/publish.json @@ -54,40 +54,12 @@ "help": "Give proper attribution for your data set.", "required": true }, - { - "name": "copyrightHolder", - "label": "Copyright Holder", - "placeholder": "e.g. Marine Institute of Jellyfish", - "help": "Add this if the holder of the copyright is different from the author." - }, { "name": "tags", "label": "Tags", "placeholder": "e.g. logistics, ai", "help": "Separate tags with comma." }, - { - "name": "license", - "label": "License", - "type": "select", - "options": [ - "Public Domain", - "PDDL: Public Domain Dedication and License", - "ODC-By: Attribution License", - "ODC-ODbL: Open Database License", - "CDLA-Sharing: Community Data License Agreement", - "CDLA-Permissive: Community Data License Agreement", - "CC0: Public Domain Dedication", - "CC BY: Attribution 4.0 International", - "CC BY-SA: Attribution-ShareAlike 4.0 International", - "CC BY-ND: Attribution-NoDerivatives 4.0 International", - "CC BY-NC: Attribution-NonCommercial 4.0 International", - "CC BY-NC-SA: Attribution-NonCommercial-ShareAlike 4.0 International", - "CC BY-NC-ND: Attribution-NonCommercial-NoDerivatives 4.0 International", - "No License Specified" - ], - "required": true - }, { "name": "termsAndConditions", "label": "Terms & Conditions", diff --git a/src/@types/MetaData.d.ts b/src/@types/MetaData.d.ts index 16109a8de..1b4718bfd 100644 --- a/src/@types/MetaData.d.ts +++ b/src/@types/MetaData.d.ts @@ -30,12 +30,10 @@ export interface MetadataPublishForm { description: string files: string | File[] author: string - license: string dataTokenOptions: DataTokenOptions access: 'Download' | 'Compute' | string termsAndConditions: boolean // ---- optional fields ---- - copyrightHolder?: string tags?: string links?: string | File[] } diff --git a/src/components/organisms/AssetContent/MetaFull.tsx b/src/components/organisms/AssetContent/MetaFull.tsx index be00a6e06..d7f9c93cd 100644 --- a/src/components/organisms/AssetContent/MetaFull.tsx +++ b/src/components/organisms/AssetContent/MetaFull.tsx @@ -13,19 +13,11 @@ export default function MetaFull({ metadata: MetadataMarket }): ReactElement { const { id } = ddo - const { dateCreated, datePublished, license } = metadata.main + const { dateCreated, datePublished } = metadata.main return (