Skip to content

Commit

Permalink
constants: omeka additions to type map and format map
Browse files Browse the repository at this point in the history
  • Loading branch information
amywieliczka committed Jan 23, 2024
1 parent 2d802fa commit af34c9a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion metadata_mapper/mappers/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,10 @@
"application/pdf": "text",
"application/msword": "text",
"book": "text",
"booklet": "text",
"document": "text",
"documents": "text",
"articles (documents)": "text",
"label, product": "image",
"specimen": "image",
"electronic resource": "interactive resource",
Expand All @@ -110,6 +112,7 @@
"frame": "image",
"costume": "image",
"object": "physical object",
"physical object": "physical object",
"statue": "image",
"sculpture": "image",
"container": "image",
Expand All @@ -121,6 +124,8 @@
"image": "image",
"images": "image",
"stillimage": "image",
"still image": "image",
"stil image": "image", # fix for 26725
"negative": "image",
"slide": "image",
"drawing": "image",
Expand All @@ -141,6 +146,7 @@
"essay": "text",
"transcript": "text",
"program": "text",
"program notes": "text",
"music, sheet": "text",
"schedule": "text",
"postcard": "image",
Expand Down Expand Up @@ -178,7 +184,8 @@
"christmas card": "image",
"mail art": "image",
"postcard": "image",
"image": "image"
"image": "image",
"still image": "image"
}
imt_types = ['application', 'audio', 'image', 'message', 'model',
'multipart', 'text', 'video']

0 comments on commit af34c9a

Please sign in to comment.