Skip to content

Commit

Permalink
Show basic metadata fields for generic work (#6321)
Browse files Browse the repository at this point in the history
* Add yaml file designation

gets around `Psych::SyntaxError:                                                                                                                                                                      (<unknown>): control characters are not allowed at line 1 column 1`

which was happening during schema load when running
spec/features/work_show_spec.rb

* Add a work show feature spec that runs in koppie

* Show basic metadata fields for generic work

closes #6276

* Fix for rubocop

Align keys of hash literal
  • Loading branch information
hackartisan authored Sep 15, 2023
1 parent 14a3a34 commit afd9626
Show file tree
Hide file tree
Showing 2 changed files with 210 additions and 132 deletions.
23 changes: 23 additions & 0 deletions config/metadata/basic_metadata.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,26 @@
---
attributes:
abstract:
type: string
multiple: true
form:
primary: false
index_keys:
- "abstract_tesim"
access_right:
type: string
multiple: true
form:
primary: false
index_keys:
- "access_right_tesim"
alternative_title:
type: string
multiple: true
form:
primary: false
index_keys:
- "alternative_title_tesim"
based_near:
type: string
multiple: true
Expand All @@ -30,6 +37,8 @@ attributes:
multiple: true
form:
primary: false
index_keys:
- "contributor_tesim"
creator:
type: string
multiple: true
Expand Down Expand Up @@ -57,6 +66,8 @@ attributes:
multiple: true
form:
primary: false
index_keys:
- "identifier_tesim"
import_url:
type: string
keyword:
Expand All @@ -72,20 +83,28 @@ attributes:
multiple: true
form:
primary: false
index_keys:
- "publisher_tesim"
label:
type: string
form:
primary: false
index_keys:
- "label_tesim"
language:
type: string
multiple: true
form:
primary: false
index_keys:
- "language_tesim"
license:
type: string
multiple: true
form:
primary: false
index_keys:
- "license_tesim"
relative_path:
type: string
related_url:
Expand All @@ -108,6 +127,8 @@ attributes:
multiple: true
form:
primary: false
index_keys:
- "rights_notes_tesim"
rights_statement:
type: string
multiple: true
Expand All @@ -120,6 +141,8 @@ attributes:
multiple: true
form:
primary: false
index_keys:
- "source_tesim"
subject:
type: string
multiple: true
Expand Down
Loading

0 comments on commit afd9626

Please sign in to comment.