Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide metadata from forms #854

Merged
merged 1 commit into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 8 additions & 11 deletions config/metadata/adl_metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ attributes:
multiple: true
form:
primary: false
display: false
index_keys:
- managing_organisation_tesim
- managing_organisation_sim
Expand All @@ -67,6 +68,7 @@ attributes:
form:
primary: false
multiple: false
display: false
index_keys:
- preflabel_tesi
- preflabel_si
Expand All @@ -76,6 +78,7 @@ attributes:
multiple: true
form:
primary: false
display: false
index_keys:
- altlabel_tesim
predicate: http://www.w3.org/2004/02/skos/core#altLabel
Expand All @@ -85,20 +88,10 @@ attributes:
form:
primary: false
multiple: false
display: false
index_keys:
- rdfs_label_tesi
predicate: http://www.w3.org/2000/01/rdf-schema#label
# seems to be just a composite field?
date:
type: string
multiple: true
form:
primary: false
multiple: false
index_keys:
- date_tesim
- date_sim
predicate: http://purl.org/dc/terms/date
rights_description:
type: string
multiple: true
Expand All @@ -121,6 +114,7 @@ attributes:
multiple: true
form:
primary: false
display: false
index_keys:
- language_code_tesim
predicate: http://purl.org/dc/terms/language
Expand Down Expand Up @@ -256,6 +250,7 @@ attributes:
form:
primary: false
multiple: false
display: false
index_keys:
- "label_sim"
- "label_tesim"
Expand Down Expand Up @@ -368,13 +363,15 @@ attributes:
form:
primary: false
multiple: false
display: false
predicate: http://opaquenamespace.org/ns/hydra/owner
on_behalf_of:
type: string
multiple: false
form:
primary: false
multiple: false
display: false
index_keys:
- on_behalf_of_ssi
predicate: http://scholarsphere.psu.edu/ns#onBehalfOf
Expand Down
15 changes: 15 additions & 0 deletions config/metadata/collection_resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ attributes:
form:
primary: false
multiple: false
display: false
index_keys:
- date_available_tesim
- date_available_sim
Expand All @@ -46,6 +47,7 @@ attributes:
form:
primary: false
multiple: false
display: false
index_keys:
- date_submitted_tesim
- date_submitted_sim
Expand All @@ -56,6 +58,7 @@ attributes:
form:
primary: false
multiple: false
display: false
index_keys:
- date_accepted_tesim
- date_accepted_sim
Expand Down Expand Up @@ -100,6 +103,7 @@ attributes:
multiple: true
form:
primary: false
display: false
index_keys:
- funder_tesim
- funder_sim
Expand All @@ -110,6 +114,7 @@ attributes:
form:
primary: false
multiple: false
display: false
index_keys:
- issue_number_tesim
predicate: http://schema.org/issueNumber
Expand All @@ -127,6 +132,7 @@ attributes:
multiple: true
form:
primary: false
display: false
index_keys:
- managing_organisation_tesim
- managing_organisation_sim
Expand All @@ -152,6 +158,7 @@ attributes:
multiple: true
form:
primary: false
display: false
index_keys:
- orcid_tesim
predicate: http://id.loc.gov/vocabulary/identifiers/orcid
Expand All @@ -160,6 +167,7 @@ attributes:
multiple: true
form:
primary: false
display: false
index_keys:
- output_of_tesim
- output_of_sim
Expand All @@ -170,6 +178,7 @@ attributes:
form:
primary: false
multiple: false
display: false
index_keys:
- pagination_tesim
predicate: http://schema.org/pagination
Expand Down Expand Up @@ -239,6 +248,7 @@ attributes:
form:
primary: false
multiple: false
display: false
index_keys:
- preflabel_tesi
- preflabel_si
Expand All @@ -248,6 +258,7 @@ attributes:
multiple: true
form:
primary: false
display: false
index_keys:
- altlabel_tesim
predicate: http://www.w3.org/2004/02/skos/core#altLabel
Expand Down Expand Up @@ -379,6 +390,7 @@ attributes:
type: string
form:
primary: false
display: false
index_keys:
- "label_sim"
- "label_tesim"
Expand Down Expand Up @@ -491,13 +503,15 @@ attributes:
form:
primary: false
multiple: false
display: false
predicate: http://opaquenamespace.org/ns/hydra/owner
on_behalf_of:
type: string
multiple: false
form:
primary: false
multiple: false
display: false
index_keys:
- on_behalf_of_ssi
predicate: http://scholarsphere.psu.edu/ns#onBehalfOf
Expand All @@ -507,6 +521,7 @@ attributes:
form:
primary: false
multiple: false
display: false
index_keys:
- proxy_depositor_ssi
predicate: http://scholarsphere.psu.edu/ns#proxyDepositor
10 changes: 10 additions & 0 deletions config/metadata/conference_item_resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,16 @@ attributes:
- keyword_tesim
- keyword_sim
predicate: http://schema.org/keywords
date:
type: string
multiple: true
form:
primary: false
multiple: false
index_keys:
- date_tesim
- date_sim
predicate: http://purl.org/dc/terms/date
date_available:
type: date_time
multiple: true
Expand Down
10 changes: 10 additions & 0 deletions config/metadata/dataset_resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@ attributes:
index_keys:
- resource_type_general_tesim
predicate: http://purl.org/spar/datacite/hasGeneralResourceType
date:
type: string
multiple: true
form:
primary: false
multiple: false
index_keys:
- date_tesim
- date_sim
predicate: http://purl.org/dc/terms/date
date_collected:
type: date_time
multiple: true
Expand Down
10 changes: 10 additions & 0 deletions config/metadata/exam_paper_resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,16 @@ attributes:
- keyword_tesim
- keyword_sim
predicate: http://schema.org/keywords
date:
type: string
multiple: true
form:
primary: false
multiple: false
index_keys:
- date_tesim
- date_sim
predicate: http://purl.org/dc/terms/date
module_code:
type: string
multiple: true
Expand Down
3 changes: 3 additions & 0 deletions config/metadata/generic_work_resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ attributes:
form:
primary: false
multiple: false
display: false
index_keys:
- "label_sim"
- "label_tesim"
Expand Down Expand Up @@ -300,13 +301,15 @@ attributes:
form:
primary: false
multiple: false
display: false
predicate: http://opaquenamespace.org/ns/hydra/owner
on_behalf_of:
type: string
multiple: false
form:
primary: false
multiple: false
display: false
index_keys:
- on_behalf_of_ssi
predicate: http://scholarsphere.psu.edu/ns#onBehalfOf
Expand Down
3 changes: 3 additions & 0 deletions config/metadata/image_resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ attributes:
form:
primary: false
multiple: false
display: false
index_keys:
- "label_sim"
- "label_tesim"
Expand Down Expand Up @@ -308,13 +309,15 @@ attributes:
form:
primary: false
multiple: false
display: false
predicate: http://opaquenamespace.org/ns/hydra/owner
on_behalf_of:
type: string
multiple: false
form:
primary: false
multiple: false
display: false
index_keys:
- on_behalf_of_ssi
predicate: http://scholarsphere.psu.edu/ns#onBehalfOf
Expand Down
10 changes: 10 additions & 0 deletions config/metadata/published_work_resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,16 @@ attributes:
- date_published_tesim
- date_published_sim
predicate: http://schema.org/datePublished
date:
type: string
multiple: true
form:
primary: false
multiple: false
index_keys:
- date_tesim
- date_sim
predicate: http://purl.org/dc/terms/date
date_issued:
type: date_time
multiple: true
Expand Down
10 changes: 10 additions & 0 deletions config/metadata/thesis_resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,16 @@ attributes:
- date_issued_tesim
- date_issued_sim
predicate: http://purl.org/dc/terms/issued
date:
type: string
multiple: true
form:
primary: false
multiple: false
index_keys:
- date_tesim
- date_sim
predicate: http://purl.org/dc/terms/date
keyword:
type: string
multiple: true
Expand Down
Loading