Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Update Science Museum ingester with API changes (#4105)

Staci Mullinsb5a1ae069250
diff --git a/catalog/dags/providers/provider_api_scripts/science_museum.py b/catalog/dags/providers/provider_api_scripts/science_museum.py
index cd4253370..b3e87f1bf 100644
--- a/catalog/dags/providers/provider_api_scripts/science_museum.py
+++ b/catalog/dags/providers/provider_api_scripts/science_museum.py
@@ -115,14 +115,14 @@ class ScienceMuseumDataIngester(ProviderDataIngester):
):
return None
- title = attributes.get("summary_title")
+ title = ScienceMuseumDataIngester._get_first_list_value("title", attributes)
creator = self._get_creator_info(attributes)
metadata = self._get_metadata(attributes)
images = []
for image_data in multimedia:
- if not (foreign_identifier := image_data.get("admin", {}).get("uid")):
+ if not (foreign_identifier := image_data.get("@admin", {}).get("uid")):
continue
- processed = image_data.get("processed")
+ processed = image_data.get("@processed")
if not isinstance(processed, dict):
continue
(
@@ -130,6 +130,7 @@ class ScienceMuseumDataIngester(ProviderDataIngester):
height,
width,
filetype,
+ filesize,
) = self._get_image_info(processed)
if not url:
continue
@@ -144,6 +145,7 @@ class ScienceMuseumDataIngester(ProviderDataIngester):
"height": height,
"width": width,
"filetype": filetype,
+ "filesize": filesize,
"license_info": license_info,
"creator": creator,
"title": title,
@@ -154,14 +156,10 @@ class ScienceMuseumDataIngester(ProviderDataIngester):
@staticmethod
def _get_creator_info(attributes):
- creator_info = None
- if (life_cycle := attributes.get("lifecycle")) is not None:
- creation = life_cycle.get("creation")
- if isinstance(creation, list):
- maker = creation[0].get("maker")
- if isinstance(maker, list):
- creator_info = maker[0].get("summary_title")
- return creator_info
+ if not (maker := attributes.get("creation", {}).get("maker", [])):
+ return None
+
+ return maker[0].get("summary", {}).get("title", None)
@staticmethod
def check_url(url: str | None) -> str | None:
@@ -169,7 +167,7 @@ class ScienceMuseumDataIngester(ProviderDataIngester):
return None
if url.startswith("http"):
return url
- return f"https://coimages.sciencemuseumgroup.org.uk/images/{url}"
+ return f"https://coimages.sciencemuseumgroup.org.uk/{url}"
@staticmethod
def _get_dimensions(image_data: dict) -> tuple[int | None, int | None]:
@@ -191,15 +189,25 @@ class ScienceMuseumDataIngester(ProviderDataIngester):
@staticmethod
def _get_image_info(
processed: dict,
- ) -> tuple[str | None, int | None, int | None, str | None]:
- height, width, filetype = None, None, None
+ ) -> tuple[str | None, int | None, int | None, str | None, int | None]:
+ height, width, filetype, filesize = None, None, None, None
image_data = processed.get("large") or processed.get("medium", {})
url = ScienceMuseumDataIngester.check_url(image_data.get("location"))
if url:
filetype = image_data.get("format")
height, width = ScienceMuseumDataIngester._get_dimensions(image_data)
- return url, height, width, filetype
+
+ if not (
+ filesize := int(
+ image_data.get("measurements", {})
+ .get("filesize", {})
+ .get("value", 0)
+ )
+ ):
+ filesize = None
+
+ return url, height, width, filetype, filesize
@staticmethod
def _get_first_list_value(key: str, attributes: dict) -> str | None:
@@ -214,7 +222,7 @@ class ScienceMuseumDataIngester(ProviderDataIngester):
for attr_key, metadata_key in [
("identifier", "accession number"),
("name", "name"),
- ("categories", "category"),
+ ("category", "category"),
("description", "description"),
]:
val = ScienceMuseumDataIngester._get_first_list_value(attr_key, attributes)
@@ -223,7 +231,7 @@ class ScienceMuseumDataIngester(ProviderDataIngester):
creditline = attributes.get("legal")
if isinstance(creditline, dict):
- line = creditline.get("credit_line")
+ line = creditline.get("credit")
if line is not None:
metadata["creditline"] = line
@@ -233,9 +241,9 @@ class ScienceMuseumDataIngester(ProviderDataIngester):
def _get_license_info(image_data) -> LicenseInfo | None:
# some items do not return license anywhere, but in the UI
# they look like CC
- rights = image_data.get("source", {}).get("legal", {}).get("rights")
+ rights = image_data.get("legal", {}).get("rights")
if isinstance(rights, list):
- license_name = rights[0].get("usage_terms")
+ license_name = rights[0].get("licence")
if not license_name:
return None
license_name = license_name.lower()
diff --git a/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/large_image.json b/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/large_image.json
index 1ae54c800..77941c20f 100644
--- a/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/large_image.json
+++ b/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/large_image.json
@@ -1,9 +1,16 @@
{
"large": {
+ "resizable": true,
+ "@type": "image",
"format": "jpeg",
+ "modified": 1472014477000,
"location": "3/563/large_1999_0299_0001__0002_.jpg",
"location_is_relative": true,
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 58772
+ },
"dimensions": [
{
"dimension": "height",
@@ -16,9 +23,6 @@
"value": 1536
}
]
- },
- "modified": 1472014477000,
- "resizable": true,
- "type": "image"
+ }
}
}
diff --git a/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/measurements.json b/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/measurements.json
index 5a67bd8e3..4f9153acf 100644
--- a/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/measurements.json
+++ b/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/measurements.json
@@ -1,5 +1,9 @@
{
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 58772
+ },
"dimensions": [
{
"dimension": "height",
diff --git a/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/medium_image.json b/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/medium_image.json
index 6d589100c..8a4dbf9f7 100644
--- a/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/medium_image.json
+++ b/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/medium_image.json
@@ -1,6 +1,9 @@
{
"medium": {
+ "resizable": true,
+ "@type": "image",
"format": "jpeg",
+ "modified": 1472014477000,
"location": "3/563/medium_1999_0299_0001__0002_.jpg",
"location_is_relative": true,
"measurements": {
@@ -16,9 +19,6 @@
"value": 866
}
]
- },
- "modified": 1472014477000,
- "resizable": true,
- "type": "image"
+ }
}
}
diff --git a/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/metadata.json b/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/metadata.json
index d9cb90b6b..1eae72643 100644
--- a/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/metadata.json
+++ b/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/metadata.json
@@ -1,7 +1,7 @@
{
- "accession number": "1999-299/1",
- "category": "SCM - Smoking",
- "creditline": "McPhail, Mary",
- "description": "Packet of 10 'Gold Flake' cigarettes by W D & HO Wills, England, 1920-1950",
- "name": "cigarette packet"
+ "accession number": "A67864",
+ "category": "SCM - Classical & Medieval Medicine",
+ "description": "Small bronze amulet, possibly phallic, or stomach, probably Roman, from Italy, 200BC-200AD",
+ "name": "amulet",
+ "creditline": "Arte Antica e Moderna"
}
diff --git a/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/object_attr.json b/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/object_attr.json
index 174d7f992..406bb6c60 100644
--- a/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/object_attr.json
+++ b/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/object_attr.json
@@ -1,664 +1,330 @@
{
- "admin": {
- "added": 1495050770000,
- "analytics": {
- "count": {
- "last": 535,
- "total": 2832
- }
- },
- "created": 1227519646000,
- "id": "object-8102855",
- "language": "eng",
- "modified": 1573567086000,
- "previous_status": "valid and published",
- "processed": 1589926045539,
- "source": "smgc",
- "stream": "smg-online",
- "uid": "co8102855",
- "uuid": "3eca0f77-363c-3cc5-8774-5d9f47b89fd1",
- "version": 59
+ "@admin": {
+ "processed": 1712780277089,
+ "sequence": 14504859,
+ "uid": "co82669",
+ "added": 1699636365980,
+ "stream": "collections-online",
+ "id": "object-82669",
+ "source": "Mimsy XG",
+ "uuid": "8ea951d4-6057-3f09-a5b6-3018e9d19010"
},
- "categories": [
+ "category": [
{
"museum": "SCM",
- "name": "Smoking",
- "value": "SCM - Smoking"
+ "name": "Classical & Medieval Medicine",
+ "type": "category1",
+ "value": "SCM - Classical & Medieval Medicine"
}
],
- "dates": {
- "DATE1": "2010-03-31"
+ "creation": {
+ "date": [
+ {
+ "source": "catalogue",
+ "value": "200 BCE-200 CE",
+ "primary": true
+ },
+ {
+ "role": [
+ {
+ "value": "made"
+ }
+ ],
+ "from": "-200",
+ "to": "200",
+ "value": "200 BCE-200 CE"
+ }
+ ],
+ "@entity": "lifecycle"
+ },
+ "cumulation": {
+ "collector": [
+ {
+ "summary": {
+ "title": "Sir Henry Wellcome's Museum Collection"
+ },
+ "@link": {
+ "source": "catalogue"
+ },
+ "name": [
+ {
+ "value": "Sir Henry Wellcome's Museum Collection"
+ }
+ ],
+ "@entity": "literal"
+ }
+ ],
+ "@entity": "lifecycle"
},
"description": [
+ {
+ "type": "catalogue description",
+ "value": "Small bronze amulet, possibly phallic, or stomach, probably Roman, from Italy, 200BC-200AD",
+ "primary": true
+ },
+ {
+ "type": "accession register",
+ "value": "Small bronze amulet, possibly phallic, or stomach, in display box with others, probably Roman, from Italy, 200BC-200"
+ },
{
"date": [
{
- "earliest": 2018,
- "latest": 2018,
- "primary": true,
- "value": "2018-06-15"
+ "from": "2017",
+ "to": "2017",
+ "value": "2017-03-01",
+ "primary": true
}
],
- "primary": true,
"type": "description",
- "value": "Packet of 10 'Gold Flake' cigarettes by W D & HO Wills, England, 1920-1950"
+ "value": "Small bronze amulet, possibly phallic, or stomach, in display box with others, probably Roman, from Italy, 200BC-200AD"
},
{
- "type": "web description",
- "value": "W D & H O Willis were one of a large number of cigarette and tobacco manufacturers based in England. This is a packet for ten 'Gold Flake' cigarettes, which were popular during the First World War with British soldiers in the trenches. Today, these cigarettes are only available in India."
+ "type": "description",
+ "value": "Small bronze amulet, possibly phallic, or stomach, probably Roman, from Italy, 200BC-200AD"
}
],
"identifier": [
{
- "primary": true,
"type": "accession number",
- "value": "1999-299/1"
+ "value": "A67864",
+ "primary": true
}
],
- "inscription": [
- {
- "details": [
- {
- "transcription": "\"GOLD FLAKE\"/CIGARETTES/ W D & H O WILLIS"
- }
- ],
- "location": "front",
- "method": "printed",
- "type": "inscription"
- },
- {
- "details": [
- {
- "transcription": "\"GOLD FLAKE\"/HONEY DEW/ W D & HO WILLIS/BRISTOL & LONDON"
- }
- ],
- "location": "front",
- "method": "printed",
- "type": "inscription"
- },
+ "language": [
{
- "details": [
- {
- "transcription": "17 PRIZE MEDALS/Every genuine/\"Gold"
- }
- ],
- "type": "inscription"
+ "value": "eng"
}
],
- "language": ["eng"],
"legal": {
- "credit_line": "McPhail, Mary",
- "legal_status": "permanent collection"
- },
- "lifecycle": {
- "creation": [
- {
- "date": [
- {
- "earliest": 1920,
- "latest": 1950,
- "primary": true,
- "value": "1920-1950"
- }
- ],
- "maker": [
- {
- "@link": {
- "role": [
- {
- "value": "maker"
- }
- ],
- "type": "reference"
- },
- "admin": {
- "id": "agent-34354",
- "uid": "cp34354",
- "uuid": "20bb6a7c-865d-378d-8811-35a10e96cb31"
- },
- "summary_title": "W D and H O Wills Limited"
- }
- ],
- "places": [
- {
- "@link": {
- "role": [
- {
- "value": "made"
- }
- ],
- "type": "reference"
- },
- "admin": {
- "id": "place-139",
- "uid": "cd139",
- "uuid": "9660ec71-ab89-3a8d-a4fa-31b90d197dc0"
- },
- "summary_title": "England"
- }
- ]
- }
- ]
+ "credit": "Arte Antica e Moderna"
},
- "locations": [
- {
- "@link": {
- "type": "literal"
- },
- "admin": {
- "id": "location-2239646",
- "uuid": "56974fcc-9fc6-357b-8a5c-a60506065952"
- },
- "facilities": [
- {
- "@link": {
- "type": "reference"
- },
- "admin": {
- "id": "facility-62029",
- "uid": "cf62029",
- "uuid": "c805d997-7510-3365-80fd-1329304c7aca"
- },
- "summary_title": "Science Museum, Medicine: The Wellcome Galleries"
- }
- ],
- "level1": "S",
- "level2": "G29",
- "level3": "G2.2",
- "level4": "G2WN2",
- "name": [
- {
- "primary": true,
- "value": "Science Museum, Medicine: The Wellcome Galleries"
- },
- {
- "type": "gallery",
- "value": "Medicine: The Wellcome Galleries"
- },
- {
- "type": "museum",
- "value": "Science Museum"
- }
- ],
- "purpose": "on display",
- "summary_title": "Science Museum, Medicine: The Wellcome Galleries",
- "value": "Science Museum, Medicine: The Wellcome Galleries"
- }
- ],
"measurements": {
+ "count": "1",
"dimensions": [
{
- "dimension": "depth",
- "units": "in",
- "value": "1 9/16"
+ "type": "catalogue dimensions",
+ "value": "height 23 mm; base: diameter 13 mm",
+ "primary": true
},
{
- "dimension": "depth",
"units": "mm",
- "value": "40"
- },
- {
- "dimension": "height",
- "units": "in",
- "value": "13/16"
- },
- {
- "dimension": "height",
- "units": "mm",
- "value": "20"
- },
- {
- "dimension": "width",
- "units": "in",
- "value": "3 1/4"
- },
- {
- "dimension": "width",
- "units": "mm",
- "value": "82"
+ "value": "23"
}
- ],
- "display": "overall: 20 mm x 82 mm x 40 mm,"
+ ]
},
"multimedia": [
{
- "@link": {
- "type": "reference"
- },
- "admin": {
- "id": "media-3562",
+ "@admin": {
+ "uid": "i375945",
+ "id": "media-375945",
"source": "smgi",
- "uid": "i3562",
- "uuid": "cdce893d-6d92-30b4-b130-087b8401ff8f"
- },
- "credit": "Science Museum Group Collection",
- "enhancement": {
- "rekognition": [
- {
- "labels": [
- {
- "details": {
- "confidence": 98.589714
- },
- "value": "Text"
- },
- {
- "details": {
- "confidence": 86.31364,
- "instances": [
- {
- "confidence": "86.31364",
- "region": {
- "height": 0.90775996,
- "left": 0.042312764,
- "top": 0.04608006,
- "type": "bounding box",
- "width": 0.8924173
- }
- }
- ]
- },
- "value": "Box"
- },
- {
- "details": {
- "confidence": 85.58592
- },
- "value": "Paper"
- }
- ],
- "source": "amazon rekognition"
- }
- ]
+ "uuid": "8f17b63a-a5dc-3d9a-b903-542c0fb0e6d7"
},
- "for_sale": "0",
- "identifier": [
- {
- "type": "iBase id",
- "value": "3562"
- }
- ],
- "priority": "0.5",
- "processed": {
+ "@processed": {
"large": {
- "format": "jpeg",
- "location": "3/562/large_1999_0299_0001__0001_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 1022
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 1536
- }
- ]
- },
- "modified": 1472014358000,
"resizable": true,
- "type": "image"
- },
- "large_thumbnail": {
+ "@type": "image",
"format": "jpeg",
- "location": "https://coimages.sciencemuseumgroup.org.uk/images/3/562/large_thumbnail_1999_0299_0001__0001_.jpg",
- "location_is_relative": true,
+ "modified": 1697179492000,
+ "location": "375/945/large_smg00241807.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 40488
+ },
"dimensions": [
{
- "dimension": "height",
- "units": "pixels",
- "value": 240
- },
- {
- "dimension": "width",
"units": "pixels",
- "value": 361
- }
- ]
- },
- "modified": 1472014358000,
- "resizable": true,
- "type": "image"
- },
- "medium": {
- "format": "jpeg",
- "location": "3/562/medium_1999_0299_0001__0001_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
"dimension": "height",
- "units": "pixels",
- "value": 576
+ "value": 1536
},
{
- "dimension": "width",
"units": "pixels",
- "value": 866
- }
- ]
- },
- "modified": 1472014358000,
- "resizable": true,
- "type": "image"
- },
- "medium_thumbnail": {
- "format": "jpeg",
- "location": "3/562/medium_thumbnail_1999_0299_0001__0001_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 144
- },
- {
"dimension": "width",
- "units": "pixels",
- "value": 216
+ "value": 1527
}
]
- },
- "modified": 1472014358000,
- "resizable": true,
- "type": "image"
+ }
},
"small_thumbnail": {
+ "resizable": true,
+ "@type": "image",
"format": "jpeg",
- "location": "3/562/small_thumbnail_1999_0299_0001__0001_.jpg",
- "location_is_relative": true,
+ "modified": 1697179492000,
+ "location": "375/945/small_thumbnail_smg00241807.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 6917
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
+ "dimension": "height",
"value": 48
},
{
- "dimension": "width",
"units": "pixels",
- "value": 72
+ "dimension": "width",
+ "value": 48
}
]
- },
- "modified": 1472014358000,
- "resizable": true,
- "type": "image"
+ }
},
"zoom": {
+ "resizable": true,
+ "@type": "image",
"format": "pyramid tiff",
- "location": "3/562/1999_0299_0001__0001_.ptif",
- "location_is_relative": true,
+ "modified": 1697179492000,
+ "location": "375/945/Small_bronze_amulet__possibly_phallic__or_stomach.ptif",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 16783656
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 2832
+ "dimension": "height",
+ "value": 3530
},
{
- "dimension": "width",
"units": "pixels",
- "value": 4256
+ "dimension": "width",
+ "value": 3509
}
]
- },
- "modified": 1472014358000,
- "resizable": true,
- "type": "image"
- }
- },
- "public_view": "1",
- "publish": "1",
- "sort": "2015-06-06 02:25:55.0",
- "source": {
- "legal": {
- "rights": [
- {
- "details": "\u00a9 The Board of Trustees of the Science Museum",
- "usage_terms": "CC-BY-NC-SA 4.0"
- }
- ]
- },
- "title": [
- {
- "type": "caption",
- "value": "Packet of 10 'Gold Flake' cigarettes by W D & HO Willis"
- },
- {
- "type": "main title",
- "value": "Packet of 10 'Gold Flake' cigarettes by W D & HO Willis, England, 1920-1950. Three quarter side view, grey background"
}
- ]
- },
- "traffic_light": "Green",
- "type": {
- "base": "media",
- "type": "image"
- }
- },
- {
- "@link": {
- "type": "reference"
- },
- "admin": {
- "id": "media-3563",
- "source": "smgi",
- "uid": "i3563",
- "uuid": "465e1b57-cfd3-3b29-8d33-8a5726d53143"
- },
- "credit": "Science Museum Group Collection",
- "enhancement": {
- "rekognition": [
- {
- "labels": [
- {
- "details": {
- "confidence": 93.55691
- },
- "value": "Text"
- }
- ],
- "source": "amazon rekognition"
- }
- ]
- },
- "for_sale": "0",
- "identifier": [
- {
- "type": "iBase id",
- "value": "3563"
- }
- ],
- "priority": "0.5",
- "processed": {
- "large": {
+ },
+ "medium": {
+ "resizable": true,
+ "@type": "image",
"format": "jpeg",
- "location": "3/563/large_1999_0299_0001__0002_.jpg",
- "location_is_relative": true,
+ "modified": 1697179492000,
+ "location": "375/945/medium_smg00241807.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 12269
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 1022
+ "dimension": "height",
+ "value": 579
},
{
- "dimension": "width",
"units": "pixels",
- "value": 1536
+ "dimension": "width",
+ "value": 576
}
]
- },
- "modified": 1472014477000,
- "resizable": true,
- "type": "image"
+ }
},
"large_thumbnail": {
- "format": "jpeg",
- "location": "3/563/large_thumbnail_1999_0299_0001__0002_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 240
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 361
- }
- ]
- },
- "modified": 1472014477000,
"resizable": true,
- "type": "image"
- },
- "medium": {
+ "@type": "image",
"format": "jpeg",
- "location": "3/563/medium_1999_0299_0001__0002_.jpg",
- "location_is_relative": true,
+ "modified": 1697179492000,
+ "location": "https://coimages.sciencemuseumgroup.org.uk/375/945/large_thumbnail_smg00241807.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 8777
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 576
+ "dimension": "height",
+ "value": 322
},
{
- "dimension": "width",
"units": "pixels",
- "value": 866
+ "dimension": "width",
+ "value": 320
}
]
- },
- "modified": 1472014477000,
- "resizable": true,
- "type": "image"
+ }
},
"medium_thumbnail": {
- "format": "jpeg",
- "location": "3/563/medium_thumbnail_1999_0299_0001__0002_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 144
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 216
- }
- ]
- },
- "modified": 1472014477000,
"resizable": true,
- "type": "image"
- },
- "small_thumbnail": {
+ "@type": "image",
"format": "jpeg",
- "location": "3/563/small_thumbnail_1999_0299_0001__0002_.jpg",
- "location_is_relative": true,
+ "modified": 1697179492000,
+ "location": "375/945/medium_thumbnail_smg00241807.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 7694
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 48
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 72
- }
- ]
- },
- "modified": 1472014477000,
- "resizable": true,
- "type": "image"
- },
- "zoom": {
- "format": "pyramid tiff",
- "location": "3/563/1999_0299_0001__0002_.ptif",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
"dimension": "height",
- "units": "pixels",
- "value": 2832
+ "value": 193
},
{
- "dimension": "width",
"units": "pixels",
- "value": 4256
+ "dimension": "width",
+ "value": 192
}
]
- },
- "modified": 1472014477000,
- "resizable": true,
- "type": "image"
+ }
}
},
- "public_view": "1",
- "publish": "1",
- "sort": "2015-06-06 02:26:07.0",
- "source": {
- "legal": {
- "rights": [
- {
- "details": "\u00a9 The Board of Trustees of the Science Museum",
- "usage_terms": "CC-BY-NC-SA 4.0"
- }
- ]
- },
- "title": [
- {
- "type": "caption",
- "value": "Packet of 10 'Gold Flake' cigarettes by W D & HO Willis"
- },
+ "@type": "image",
+ "upload_sort": "25/05/2019",
+ "legal": {
+ "rights": [
{
- "type": "main title",
- "value": "Packet of 10 'Gold Flake' cigarettes by W D & HO Willis, England, 1920-1950. Three quarter side view of back of packet."
+ "licence": "CC BY-NC-SA 4.0",
+ "copyright": "© The Board of Trustees of the Science Museum"
}
]
},
- "traffic_light": "Green",
- "type": {
- "base": "media",
- "type": "image"
- }
+ "credit": {
+ "value": "Science Museum Group"
+ },
+ "title": [
+ {
+ "type": "caption",
+ "value": "Small bronze amulet, possibly phallic, or stomach"
+ }
+ ],
+ "@entity": "reference"
}
],
"name": [
{
- "primary": true,
- "value": "cigarette packet"
+ "type": "catalogue name",
+ "value": "amulet",
+ "primary": true
+ },
+ {
+ "type": "object name",
+ "value": "amulet"
}
],
- "numbers": {
- "NUMBER1": "117"
- },
- "options": {
- "option1": "W D & H O Willis were one of a large number of cigarette and tobacco manufacturers based in England. This is a packet for ten 'Gold Flake' cigarettes, which were popular during the First World War with British soldiers in the trenches. Today, these cigarettes are only available in India.",
- "option2": "Brought to Life project",
- "option3": "Emmens, Stewart"
+ "summary": {
+ "title": "Small bronze amulet (amulet)"
},
- "summary_title": "Packet of 10 'Gold Flake' cigarettes (cigarette packet)",
"title": [
{
- "primary": true,
- "value": "Packet of 10 'Gold Flake' cigarettes"
+ "type": "catalogue title",
+ "value": "Small bronze amulet",
+ "primary": true
+ },
+ {
+ "type": "display title",
+ "value": "Small bronze amulet, possibly phallic, or stomach,"
+ },
+ {
+ "type": "display title",
+ "value": "Small bronze amulet, possibly phallic, or stomach"
+ },
+ {
+ "type": "display title",
+ "value": "Small bronze amulet"
}
]
}
diff --git a/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/object_data.json b/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/object_data.json
index cffaf8baa..945f15dd6 100644
--- a/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/object_data.json
+++ b/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/object_data.json
@@ -1,3099 +1,795 @@
{
+ "type": "objects",
+ "id": "co84905",
"attributes": {
- "admin": {
- "added": 1494271883000,
- "analytics": {
- "count": {
- "last": 103,
- "total": 5135
- }
- },
- "created": 826588800000,
- "id": "object-56202",
- "language": "eng",
- "modified": 1649770859000,
- "previous_status": "valid and published",
- "processed": 1656635149087,
- "source": "smgc",
- "stream": "smg-online",
- "uid": "co56202",
- "uuid": "4729926e-eeae-3576-b719-12e53ceb0e97",
- "version": 108
+ "@admin": {
+ "processed": 1712780277089,
+ "sequence": 14551455,
+ "uid": "co84905",
+ "added": 1699635037320,
+ "stream": "collections-online",
+ "id": "object-84905",
+ "source": "Mimsy XG",
+ "uuid": "77141d34-8389-35c9-a2aa-d4bedd67c9b5"
},
- "categories": [
+ "category": [
{
"museum": "SCM",
- "name": "Astronomy",
- "value": "SCM - Astronomy"
+ "name": "Classical & Medieval Medicine",
+ "type": "category1",
+ "value": "SCM - Classical & Medieval Medicine"
}
],
- "dates": {
- "DATE1": "2003"
+ "creation": {
+ "date": [
+ {
+ "source": "catalogue",
+ "value": "200BCE-200CE",
+ "primary": true
+ },
+ {
+ "role": [
+ {
+ "value": "made"
+ }
+ ],
+ "from": "-200",
+ "to": "200",
+ "value": "200BCE-200CE"
+ }
+ ],
+ "maker": [
+ {
+ "summary": {
+ "title": "Unknown maker"
+ },
+ "@link": {
+ "source": "catalogue"
+ },
+ "name": [
+ {
+ "value": "Unknown maker"
+ }
+ ],
+ "@entity": "literal"
+ }
+ ],
+ "place": [
+ {
+ "summary": {
+ "title": "Italy"
+ },
+ "@link": {
+ "source": "catalogue"
+ },
+ "name": [
+ {
+ "value": "Italy"
+ }
+ ],
+ "@entity": "literal"
+ },
+ {
+ "summary": {
+ "title": "Italy"
+ },
+ "@link": {
+ "attribution": {
+ "date": [
+ {
+ "from": "2019",
+ "to": "2019",
+ "value": "2019-04-17",
+ "primary": true
+ }
+ ],
+ "attributor": "ANNE_SHARMAN"
+ }
+ },
+ "@admin": {
+ "uid": "cd159",
+ "id": "place-159",
+ "uuid": "381c3c27-5c3a-317f-8db3-5af8513ed871"
+ },
+ "@entity": "reference"
+ }
+ ],
+ "@entity": "lifecycle"
+ },
+ "cumulation": {
+ "collector": [
+ {
+ "summary": {
+ "title": "Sir Henry Wellcome's Museum Collection"
+ },
+ "@link": {
+ "source": "catalogue"
+ },
+ "name": [
+ {
+ "value": "Sir Henry Wellcome's Museum Collection"
+ }
+ ],
+ "@entity": "literal"
+ }
+ ],
+ "@entity": "lifecycle"
},
"description": [
{
- "primary": true,
- "value": "Facsimile of telescope by Galileo with main tube measuring 2-foot, 8 1/2-inches and magnification of 21 times. Made by Cipriani and purchased from the Museo di Fisica e Storia Naturale, Florence, Italy in 1923."
+ "type": "catalogue description",
+ "value": "Small votive organ of unknown type, built up from coiled strips of terracotta, probably Roman, 200BCE-200BC",
+ "primary": true
+ },
+ {
+ "type": "accession register",
+ "value": "Small votive organ of unknown type, built up from coiled strips of terraccotta, probably Roman, 200BC-200"
+ },
+ {
+ "type": "description",
+ "value": "Small votive organ of unknown type, built up from coiled strips of terracotta, probably Roman, 200BC-200"
},
{
- "type": "web description",
- "value": "Replica of one of the telescopes made by Galileo Galilei after he learnt of the invention of the telescope in 1608. The refracting telescope magnifies only 21 times yet gives a very restricted field of view. As a result Galileo was only able to view about a third of the Moon through his telescopes. Despite these limitations, Galileo published, 'Sidereus Nuncius' in 1610, which describes the new celestial sights he saw with his new telescope. These included craters on the Moon, the phases of Venus and the moons of Jupiter. This facsimile was made in 1923 at the Museo di Fisica e Storia Naturale, in Florence, Italy where the original still resides."
+ "type": "description",
+ "value": "Small votive organ of unknown type, built up from coiled strips of terracotta, probably Roman, 200BCE-200BC"
}
],
"identifier": [
{
- "primary": true,
"type": "accession number",
- "value": "1923-668"
+ "value": "A659676",
+ "primary": true
+ },
+ {
+ "value": "37567"
+ }
+ ],
+ "language": [
+ {
+ "value": "eng"
}
],
- "language": ["eng"],
"legal": {
- "legal_status": "permanent collection"
- },
- "lifecycle": {
- "creation": [
- {
- "date": [
- {
- "earliest": 1610,
- "latest": 1610,
- "primary": true,
- "value": "1610; 1923"
- }
- ],
- "maker": [
- {
- "@link": {
- "role": [
- {
- "value": "designer"
- }
- ],
- "type": "reference"
- },
- "admin": {
- "id": "agent-37297",
- "uid": "cp37297",
- "uuid": "3a4bc387-e933-358f-8c86-8e1eaa2168b0"
- },
- "summary_title": "Galileo Galilei"
- },
- {
- "@link": {
- "role": [
- {
- "value": "maker (original)"
- }
- ],
- "type": "reference"
- },
- "admin": {
- "id": "agent-37297",
- "uid": "cp37297",
- "uuid": "3a4bc387-e933-358f-8c86-8e1eaa2168b0"
- },
- "summary_title": "Galileo Galilei"
- }
- ],
- "places": [
- {
- "@link": {
- "role": [
- {
- "value": "made (original & replica)"
- }
- ],
- "type": "reference"
- },
- "admin": {
- "id": "place-381",
- "uid": "cd381",
- "uuid": "e22589d5-cafb-378f-8ddf-9214a3a2300c"
- },
- "sort": 1,
- "summary_title": "Florence"
- }
- ]
- }
- ]
+ "credit": "Loan, Wellcome Trust"
},
- "materials": ["card", "complete", "glass", "leather"],
"measurements": {
+ "display": "overall: 41 mm x 40 mm x 38 mm, .04 kg",
+ "count": "1",
"dimensions": [
{
- "dimension": "diameter",
+ "type": "catalogue dimensions",
+ "value": "overall: 41 mm x 40 mm x 38 mm, 0.04 kg",
+ "primary": true
+ },
+ {
"units": "in",
- "value": "2 3/8"
+ "dimension": "depth",
+ "value": "1 1/2"
},
{
- "dimension": "diameter",
"units": "mm",
- "value": "60"
+ "dimension": "depth",
+ "value": "38"
},
{
- "dimension": "width",
"units": "in",
- "value": "38 3/16"
+ "dimension": "height",
+ "value": "1 5/8"
},
{
- "dimension": "width",
"units": "mm",
- "value": "970"
+ "dimension": "height",
+ "value": "41"
},
{
"units": "kg",
- "value": "0.345"
+ "dimension": "weight",
+ "value": "0.04"
},
{
"units": "lbs",
- "value": "0.7606"
+ "dimension": "weight",
+ "value": "0.08819"
+ },
+ {
+ "units": "in",
+ "dimension": "width",
+ "value": "1 9/16"
+ },
+ {
+ "units": "mm",
+ "dimension": "width",
+ "value": "40"
+ },
+ {
+ "units": "mm",
+ "value": "43"
}
- ],
- "display": "overall: 970 mm 60 mm, .345kg"
+ ]
},
"multimedia": [
{
- "@link": {
- "type": "reference"
- },
- "admin": {
- "id": "media-4453",
+ "@admin": {
+ "uid": "i458349",
+ "id": "media-458349",
"source": "smgi",
- "uid": "i4453",
- "uuid": "ca31c40e-65a9-3f44-88b2-347d496e0292"
- },
- "credit": "Science Museum Group Collection",
- "enhancement": {
- "rekognition": [
- {
- "labels": [
- {
- "details": {
- "confidence": 77.732155
- },
- "value": "Weapon"
- },
- {
- "details": {
- "confidence": 77.732155
- },
- "value": "Weaponry"
- }
- ],
- "source": "amazon rekognition"
- }
- ]
+ "uuid": "24b84b80-47a7-376d-aabf-07b838240715"
},
- "for_sale": "0",
- "identifier": [
- {
- "type": "iBase id",
- "value": "4453"
- }
- ],
- "priority": "0.5",
- "processed": {
+ "@processed": {
"large": {
- "format": "jpeg",
- "location": "4/453/large_1923_0668__0002_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 1151
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 1536
- }
- ]
- },
- "modified": 1472028891000,
"resizable": true,
- "type": "image"
- },
- "large_thumbnail": {
+ "@type": "image",
"format": "jpeg",
- "location": "https://coimages.sciencemuseumgroup.org.uk/images/4/452/large_thumbnail_1923_0668__0001_.jpg",
- "location_is_relative": true,
+ "modified": 1697087683000,
+ "location": "458/349/large_a659676__0001_.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 134947
+ },
"dimensions": [
{
- "dimension": "height",
- "units": "pixels",
- "value": 240
- },
- {
- "dimension": "width",
"units": "pixels",
- "value": 320
- }
- ]
- },
- "modified": 1472028891000,
- "resizable": true,
- "type": "image"
- },
- "medium": {
- "format": "jpeg",
- "location": "4/453/medium_1923_0668__0002_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
"dimension": "height",
- "units": "pixels",
- "value": 576
+ "value": 1150
},
{
- "dimension": "width",
- "units": "pixels",
- "value": 768
- }
- ]
- },
- "modified": 1472028891000,
- "resizable": true,
- "type": "image"
- },
- "medium_thumbnail": {
- "format": "jpeg",
- "location": "4/453/medium_thumbnail_1923_0668__0002_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
"units": "pixels",
- "value": 144
- },
- {
"dimension": "width",
- "units": "pixels",
- "value": 192
+ "value": 1536
}
]
- },
- "modified": 1472028891000,
- "resizable": true,
- "type": "image"
+ }
},
"small_thumbnail": {
+ "resizable": true,
+ "@type": "image",
"format": "jpeg",
- "location": "4/453/small_thumbnail_1923_0668__0002_.jpg",
- "location_is_relative": true,
+ "modified": 1697087683000,
+ "location": "458/349/small_thumbnail_a659676__0001_.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 18125
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
+ "dimension": "height",
"value": 48
},
{
- "dimension": "width",
"units": "pixels",
+ "dimension": "width",
"value": 64
}
]
- },
- "modified": 1472028891000,
- "resizable": true,
- "type": "image"
+ }
},
"zoom": {
+ "resizable": true,
+ "@type": "image",
"format": "pyramid tiff",
- "location": "4/453/1923_0668__0002_.ptif",
- "location_is_relative": true,
+ "modified": 1697087683000,
+ "location": "458/349/Small_votive_organ_of_unknown_type.ptif",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 120104992
+ },
"dimensions": [
{
- "dimension": "height",
- "units": "pixels",
- "value": 4000
- },
- {
- "dimension": "width",
"units": "pixels",
- "value": 5336
- }
- ]
- },
- "modified": 1472028891000,
- "resizable": true,
- "type": "image"
- }
- },
- "public_view": "1",
- "publish": "1",
- "sort": "2015-06-06 05:40:37.0",
- "source": {
- "legal": {
- "rights": [
- {
- "details": "\u00a9 The Board of Trustees of the Science Museum",
- "usage_terms": "CC BY-SA 4.0"
- }
- ]
- },
- "title": [
- {
- "type": "caption",
- "value": "Facsimile of telescope by Galileo with main tube measuring"
- },
- {
- "type": "main title",
- "value": "Facsimile of telescope by Galileo with main tube measuring 2-foot, 8 1/2-inches and magnification of 21 times. Detail"
- }
- ]
- },
- "traffic_light": "Green",
- "type": {
- "base": "media",
- "type": "image"
- }
- },
- {
- "@link": {
- "type": "reference"
- },
- "admin": {
- "id": "media-29406",
- "source": "smgi",
- "uid": "i29406",
- "uuid": "f6f674fb-3eb3-386f-87f1-06931ccb2d95"
- },
- "credit": "Science Museum Group Collection",
- "enhancement": {
- "rekognition": [
- {
- "labels": [
- {
- "details": {
- "confidence": 96.3729,
- "instances": [
- {
- "confidence": "83.33213",
- "region": {
- "height": 0.83952594,
- "left": 0.217989,
- "top": 0.05400679,
- "type": "bounding box",
- "width": 0.7341616
- }
- }
- ]
- },
- "value": "Person"
- },
- {
- "details": {
- "confidence": 96.3729,
- "parents": [
- {
- "value": "Person"
- },
- {
- "value": "People"
- }
- ]
- },
- "value": "Team"
- },
- {
- "details": {
- "confidence": 96.3729,
- "parents": [
- {
- "value": "Person"
- }
- ]
- },
- "value": "Sports"
- },
- {
- "details": {
- "confidence": 96.3729
- },
- "value": "Human"
- },
- {
- "details": {
- "confidence": 96.3729,
- "parents": [
- {
- "value": "Person"
- },
- {
- "value": "Team"
- },
- {
- "value": "Sport"
- },
- {
- "value": "People"
- }
- ]
- },
- "value": "Team Sport"
- },
- {
- "details": {
- "confidence": 96.3729,
- "instances": [
- {
- "confidence": "96.3729",
- "region": {
- "height": 0.6712718,
- "left": 0.04924745,
- "top": 0.26445633,
- "type": "bounding box",
- "width": 0.81754345
- }
- }
- ],
- "parents": [
- {
- "value": "Person"
- },
- {
- "value": "Baseball"
- },
- {
- "value": "Team"
- },
- {
- "value": "Team Sport"
- },
- {
- "value": "Sport"
- },
- {
- "value": "People"
- }
- ]
- },
- "value": "Baseball Bat"
- },
- {
- "details": {
- "confidence": 96.3729,
- "parents": [
- {
- "value": "Person"
- }
- ]
- },
- "value": "Sport"
- },
- {
- "details": {
- "confidence": 96.3729,
- "parents": [
- {
- "value": "Person"
- }
- ]
- },
- "value": "People"
- },
- {
- "details": {
- "confidence": 96.3729,
- "parents": [
- {
- "value": "Team Sport"
- },
- {
- "value": "Team"
- },
- {
- "value": "Person"
- },
- {
- "value": "Sport"
- },
- {
- "value": "People"
- }
- ]
- },
- "value": "Baseball"
- },
- {
- "details": {
- "confidence": 96.3729,
- "parents": [
- {
- "value": "Team Sport"
- },
- {
- "value": "Team"
- },
- {
- "value": "Person"
- },
- {
- "value": "Sport"
- },
- {
- "value": "People"
- }
- ]
- },
- "value": "Softball"
- }
- ],
- "source": "amazon rekognition"
- }
- ]
- },
- "for_sale": "0",
- "identifier": [
- {
- "type": "iBase id",
- "value": "29406"
- }
- ],
- "priority": "0.5",
- "processed": {
- "large": {
- "format": "jpeg",
- "location": "29/406/large_1931_0797__0002_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
"dimension": "height",
- "units": "pixels",
- "value": 1536
+ "value": 5474
},
{
- "dimension": "width",
- "units": "pixels",
- "value": 1151
- }
- ]
- },
- "modified": 1472029772000,
- "resizable": true,
- "type": "image"
- },
- "large_thumbnail": {
- "format": "jpeg",
- "location": "29/406/large_thumbnail_1931_0797__0002_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
"units": "pixels",
- "value": 427
- },
- {
"dimension": "width",
- "units": "pixels",
- "value": 320
+ "value": 7312
}
]
- },
- "modified": 1472029772000,
- "resizable": true,
- "type": "image"
+ }
},
"medium": {
+ "resizable": true,
+ "@type": "image",
"format": "jpeg",
- "location": "29/406/medium_1931_0797__0002_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 769
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 576
- }
- ]
- },
- "modified": 1472029772000,
- "resizable": true,
- "type": "image"
- },
- "medium_thumbnail": {
- "format": "jpeg",
- "location": "29/406/medium_thumbnail_1931_0797__0002_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 256
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 192
- }
- ]
- },
- "modified": 1472029772000,
- "resizable": true,
- "type": "image"
- },
- "small_thumbnail": {
- "format": "jpeg",
- "location": "29/406/small_thumbnail_1931_0797__0002_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 64
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 48
- }
- ]
- },
- "modified": 1472029772000,
- "resizable": true,
- "type": "image"
- },
- "zoom": {
- "format": "pyramid tiff",
- "location": "29/406/1931_0797__0002_.ptif",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 4854
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 3636
- }
- ]
- },
- "modified": 1472029772000,
- "resizable": true,
- "type": "image"
- }
- },
- "public_view": "1",
- "publish": "1",
- "sort": "2015-06-09 11:13:13.0",
- "source": {
- "legal": {
- "rights": [
- {
- "details": "\u00a9 The Board of Trustees of the Science Museum",
- "usage_terms": "CC BY-SA 4.0"
- }
- ]
- },
- "title": [
- {
- "type": "caption",
- "value": "Painting. [Galileo Galilei] / by A. Susan Zileri (fl"
- },
- {
- "type": "main title",
- "value": "Painting. [Galileo Galilei] / by A. Susan Zileri (fl. 1884-1934), 1884. Oil on canvas; 61.5x51cm in curly wood and gilt"
- }
- ]
- },
- "traffic_light": "Green",
- "type": {
- "base": "media",
- "type": "image"
- }
- },
- {
- "@link": {
- "type": "reference"
- },
- "admin": {
- "id": "media-70617",
- "source": "smgi",
- "uid": "i70617",
- "uuid": "dc2b6823-07b3-3f3d-ad5f-7381e1df831e"
- },
- "credit": "Science Museum Group Collection",
- "enhancement": {
- "rekognition": [
- {
- "labels": [
- {
- "details": {
- "confidence": 97.66413,
- "instances": [
- {
- "confidence": "97.66413",
- "region": {
- "height": 0.7730075,
- "left": 0.04662897,
- "top": 0.1517991,
- "type": "bounding box",
- "width": 0.80697453
- }
- }
- ],
- "parents": [
- {
- "value": "Tool"
- }
- ]
- },
- "value": "Hammer"
- },
- {
- "details": {
- "confidence": 97.66413
- },
- "value": "Tool"
- }
- ],
- "source": "amazon rekognition"
- }
- ]
- },
- "for_sale": "0",
- "identifier": [
- {
- "type": "iBase id",
- "value": "70617"
- }
- ],
- "priority": "0.5",
- "processed": {
- "large": {
- "format": "jpeg",
- "location": "70/617/large_1924_0209__0004_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 1073
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 1536
- }
- ]
- },
- "modified": 1472028752000,
- "resizable": true,
- "type": "image"
- },
- "large_thumbnail": {
- "format": "jpeg",
- "location": "70/617/large_thumbnail_1924_0209__0004_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 240
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 343
- }
- ]
- },
- "modified": 1472028752000,
- "resizable": true,
- "type": "image"
- },
- "medium": {
- "format": "jpeg",
- "location": "70/617/medium_1924_0209__0004_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 576
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 824
- }
- ]
- },
- "modified": 1472028752000,
- "resizable": true,
- "type": "image"
- },
- "medium_thumbnail": {
- "format": "jpeg",
- "location": "70/617/medium_thumbnail_1924_0209__0004_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 144
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 206
- }
- ]
- },
- "modified": 1472028752000,
- "resizable": true,
- "type": "image"
- },
- "small_thumbnail": {
- "format": "jpeg",
- "location": "70/617/small_thumbnail_1924_0209__0004_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 48
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 69
- }
- ]
- },
- "modified": 1472028752000,
- "resizable": true,
- "type": "image"
- },
- "zoom": {
- "format": "pyramid tiff",
- "location": "70/617/1924_0209__0004_.ptif",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 3508
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 5020
- }
- ]
- },
- "modified": 1472028752000,
- "resizable": true,
- "type": "image"
- }
- },
- "public_view": "1",
- "publish": "1",
- "sort": "2015-06-11 23:57:26.0",
- "source": {
- "legal": {
- "rights": [
- {
- "details": "\u00a9 The Board of Trustees of the Science Museum",
- "usage_terms": "CC BY-SA 4.0"
- }
- ]
- },
- "title": [
- {
- "type": "caption",
- "value": "(Left) Facsimile of telescope by Galileo with main tube"
- },
- {
- "type": "main title",
- "value": "(Left) Facsimile of telescope by Galileo with main tube measuring 2-foot, 8 1/2-inches and magnification of 21 times."
- }
- ]
- },
- "traffic_light": "Green",
- "type": {
- "base": "media",
- "type": "image"
- }
- },
- {
- "@link": {
- "type": "reference"
- },
- "admin": {
- "id": "media-272868",
- "source": "smgi",
- "uid": "i272868",
- "uuid": "1bf5b959-f7ba-3c73-be80-b86261bbaeee"
- },
- "credit": "Science Museum Group Collection",
- "enhancement": {
- "rekognition": [
- {
- "labels": [
- {
- "details": {
- "confidence": 89.21109,
- "parents": [
- {
- "value": "Symbol"
- }
- ]
- },
- "value": "Arrow"
- },
- {
- "details": {
- "confidence": 89.21109
- },
- "value": "Symbol"
- },
- {
- "details": {
- "confidence": 80.42816
- },
- "value": "Leisure Activities"
- },
- {
- "details": {
- "confidence": 80.06794
- },
- "value": "Tool"
- },
- {
- "details": {
- "confidence": 80.06794,
- "instances": [
- {
- "confidence": "80.06794",
- "region": {
- "height": 0.7146384,
- "left": 0.04211183,
- "top": 0.16666844,
- "type": "bounding box",
- "width": 0.92374575
- }
- }
- ],
- "parents": [
- {
- "value": "Tool"
- }
- ]
- },
- "value": "Hammer"
- }
- ],
- "source": "amazon rekognition"
- }
- ]
- },
- "for_sale": "0",
- "identifier": [
- {
- "type": "iBase id",
- "value": "272868"
- }
- ],
- "priority": "0.5",
- "processed": {
- "large": {
- "format": "jpeg",
- "location": "272/868/large_1923_0668__0003_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 1257
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 1536
- }
- ]
- },
- "modified": 1496851109000,
- "resizable": true,
- "type": "image"
- },
- "large_thumbnail": {
- "format": "jpeg",
- "location": "272/868/large_thumbnail_1923_0668__0003_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 262
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 320
- }
- ]
- },
- "modified": 1496851109000,
- "resizable": true,
- "type": "image"
- },
- "medium": {
- "format": "jpeg",
- "location": "272/868/medium_1923_0668__0003_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 576
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 704
- }
- ]
- },
- "modified": 1496851109000,
- "resizable": true,
- "type": "image"
- },
- "medium_thumbnail": {
- "format": "jpeg",
- "location": "272/868/medium_thumbnail_1923_0668__0003_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 157
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 192
- }
- ]
- },
- "modified": 1496851109000,
- "resizable": true,
- "type": "image"
- },
- "small_thumbnail": {
- "format": "jpeg",
- "location": "272/868/small_thumbnail_1923_0668__0003_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 48
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 59
- }
- ]
- },
- "modified": 1496851109000,
- "resizable": true,
- "type": "image"
- },
- "zoom": {
- "format": "pyramid tiff",
- "location": "272/868/1923_0668__0003_.ptif",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 3806
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 4650
- }
- ]
- },
- "modified": 1496851109000,
- "resizable": true,
- "type": "image"
- }
- },
- "public_view": "1",
- "publish": "1",
- "sort": "2017-06-07 16:58:21.0",
- "source": {
- "legal": {
- "rights": [
- {
- "details": "\u00a9 The Board of Trustees of the Science Museum, London",
- "usage_terms": "CC BY-SA 4.0"
- }
- ]
- },
- "title": [
- {
- "type": "caption",
- "value": "Facsimile of telescope by Galileo with main tube measuring"
- },
- {
- "type": "main title",
- "value": "Facsimile of telescope by Galileo with main tube measuring 2-foot, 8 1/2-inches and magnification of 21 times. Made"
- }
- ]
- },
- "type": {
- "base": "media",
- "type": "image"
- }
- },
- {
- "@link": {
- "type": "reference"
- },
- "admin": {
- "id": "media-272869",
- "source": "smgi",
- "uid": "i272869",
- "uuid": "f3c8263f-e896-3e06-963d-95e4a49977c5"
- },
- "credit": "Science Museum Group Collection",
- "enhancement": {
- "rekognition": [
- {
- "labels": [
- {
- "details": {
- "confidence": 97.417496,
- "instances": [
- {
- "confidence": "97.417496",
- "region": {
- "height": 0.83902305,
- "left": 0.07827001,
- "top": 0.06480961,
- "type": "bounding box",
- "width": 0.8931307
- }
- }
- ]
- },
- "value": "Smoke Pipe"
- },
- {
- "details": {
- "confidence": 86.97954
- },
- "value": "Leisure Activities"
- }
- ],
- "source": "amazon rekognition"
- }
- ]
- },
- "for_sale": "0",
- "identifier": [
- {
- "type": "iBase id",
- "value": "272869"
- }
- ],
- "priority": "0.5",
- "processed": {
- "large": {
- "format": "jpeg",
- "location": "272/869/large_1923_0668__0004_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 1255
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 1536
- }
- ]
- },
- "modified": 1496851122000,
- "resizable": true,
- "type": "image"
- },
- "large_thumbnail": {
- "format": "jpeg",
- "location": "272/869/large_thumbnail_1923_0668__0004_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 261
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 320
- }
- ]
- },
- "modified": 1496851122000,
- "resizable": true,
- "type": "image"
- },
- "medium": {
- "format": "jpeg",
- "location": "272/869/medium_1923_0668__0004_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 576
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 705
- }
- ]
- },
- "modified": 1496851122000,
- "resizable": true,
- "type": "image"
- },
- "medium_thumbnail": {
- "format": "jpeg",
- "location": "272/869/medium_thumbnail_1923_0668__0004_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 157
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 192
- }
- ]
- },
- "modified": 1496851122000,
- "resizable": true,
- "type": "image"
- },
- "small_thumbnail": {
- "format": "jpeg",
- "location": "272/869/small_thumbnail_1923_0668__0004_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 48
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 59
- }
- ]
- },
- "modified": 1496851122000,
- "resizable": true,
- "type": "image"
- },
- "zoom": {
- "format": "pyramid tiff",
- "location": "272/869/1923_0668__0004_.ptif",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 3784
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 4632
- }
- ]
- },
- "modified": 1496851122000,
- "resizable": true,
- "type": "image"
- }
- },
- "public_view": "1",
- "publish": "1",
- "sort": "2017-06-07 16:58:34.0",
- "source": {
- "legal": {
- "rights": [
- {
- "details": "\u00a9 The Board of Trustees of the Science Museum, London",
- "usage_terms": "CC BY-SA 4.0"
- }
- ]
- },
- "title": [
- {
- "type": "caption",
- "value": "Facsimile of telescope by Galileo with main tube measuring"
- },
- {
- "type": "main title",
- "value": "Facsimile of telescope by Galileo with main tube measuring 2-foot, 8 1/2-inches and magnification of 21 times. Made"
- }
- ]
- },
- "type": {
- "base": "media",
- "type": "image"
- }
- },
- {
- "@link": {
- "type": "reference"
- },
- "admin": {
- "id": "media-272918",
- "source": "smgi",
- "uid": "i272918",
- "uuid": "0b98cd45-d760-3988-8c6b-edbb269d8352"
- },
- "credit": "Science Museum Group Collection",
- "enhancement": {
- "rekognition": [
- {
- "labels": [
- {
- "details": {
- "confidence": 93.350716
- },
- "value": "Human"
- },
- {
- "details": {
- "confidence": 93.350716,
- "instances": [
- {
- "confidence": "93.350716",
- "region": {
- "height": 0.8814689,
- "left": 0.13251683,
- "top": 0.038410023,
- "type": "bounding box",
- "width": 0.8445756
- }
- }
- ]
- },
- "value": "Person"
- },
- {
- "details": {
- "confidence": 78.483116
- },
- "value": "Art"
- },
- {
- "details": {
- "confidence": 75.07677,
- "parents": [
- {
- "value": "People"
- },
- {
- "value": "Person"
- }
- ]
- },
- "value": "Team"
- },
- {
- "details": {
- "confidence": 75.07677,
- "parents": [
- {
- "value": "Person"
- }
- ]
- },
- "value": "People"
- },
- {
- "details": {
- "confidence": 75.07677,
- "instances": [
- {
- "confidence": "75.07677",
- "region": {
- "height": 0.6637023,
- "left": 0.035249896,
- "top": 0.27812898,
- "type": "bounding box",
- "width": 0.84739864
- }
- }
- ],
- "parents": [
- {
- "value": "People"
- },
- {
- "value": "Sport"
- },
- {
- "value": "Team"
- },
- {
- "value": "Team Sport"
- },
- {
- "value": "Person"
- },
- {
- "value": "Baseball"
- }
- ]
- },
- "value": "Baseball Bat"
- },
- {
- "details": {
- "confidence": 75.07677,
- "parents": [
- {
- "value": "Team"
- },
- {
- "value": "Team Sport"
- },
- {
- "value": "Person"
- },
- {
- "value": "Sport"
- },
- {
- "value": "People"
- }
- ]
- },
- "value": "Baseball"
- },
- {
- "details": {
- "confidence": 75.07677,
- "parents": [
- {
- "value": "Team"
- },
- {
- "value": "People"
- },
- {
- "value": "Person"
- },
- {
- "value": "Sport"
- }
- ]
- },
- "value": "Team Sport"
- },
- {
- "details": {
- "confidence": 75.07677,
- "parents": [
- {
- "value": "Person"
- }
- ]
- },
- "value": "Sport"
- },
- {
- "details": {
- "confidence": 75.07677,
- "parents": [
- {
- "value": "Person"
- }
- ]
- },
- "value": "Sports"
- }
- ],
- "source": "amazon rekognition"
- }
- ]
- },
- "for_sale": "0",
- "identifier": [
- {
- "type": "iBase id",
- "value": "272918"
- }
- ],
- "priority": "0.5",
- "processed": {
- "large": {
- "format": "jpeg",
- "location": "272/918/large_B700707.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 1536
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 1177
- }
- ]
- },
- "modified": 1496851737000,
- "resizable": true,
- "type": "image"
- },
- "large_thumbnail": {
- "format": "jpeg",
- "location": "272/918/large_thumbnail_B700707.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 418
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 320
- }
- ]
- },
- "modified": 1496851737000,
- "resizable": true,
- "type": "image"
- },
- "medium": {
- "format": "jpeg",
- "location": "272/918/medium_B700707.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 752
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 576
- }
- ]
- },
- "modified": 1496851737000,
- "resizable": true,
- "type": "image"
- },
- "medium_thumbnail": {
- "format": "jpeg",
- "location": "272/918/medium_thumbnail_B700707.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 251
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 192
- }
- ]
- },
- "modified": 1496851737000,
- "resizable": true,
- "type": "image"
- },
- "small_thumbnail": {
- "format": "jpeg",
- "location": "272/918/small_thumbnail_B700707.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 63
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 48
- }
- ]
- },
- "modified": 1496851737000,
- "resizable": true,
- "type": "image"
- },
- "zoom": {
- "format": "pyramid tiff",
- "location": "272/918/B700707.ptif",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 4800
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 3678
- }
- ]
- },
- "modified": 1496851737000,
- "resizable": true,
- "type": "image"
- }
- },
- "public_view": "1",
- "publish": "1",
- "sort": "2017-06-07 17:08:49.0",
- "source": {
- "legal": {
- "rights": [
- {
- "details": "\u00a9 The Board of Trustees of the Science Museum, London",
- "usage_terms": "CC BY-SA 4.0"
- }
- ]
- },
- "title": [
- {
- "type": "caption",
- "value": "Painting. [Galileo Galilei] / by A. Susan Zileri (fl"
- },
- {
- "type": "main title",
- "value": "Painting. [Galileo Galilei] / by A. Susan Zileri (fl. 1884-1934), 1884. Oil on canvas; 61.5x51cm in curly wood and gilt"
- }
- ]
- },
- "traffic_light": "Green",
- "type": {
- "base": "media",
- "type": "image"
- }
- },
- {
- "@link": {
- "type": "reference"
- },
- "admin": {
- "id": "media-4452",
- "source": "smgi",
- "uid": "i4452",
- "uuid": "424d0042-01dd-3d27-8416-f65179c26640"
- },
- "credit": "Science Museum Group Collection",
- "enhancement": {
- "rekognition": [
- {
- "labels": [
- {
- "details": {
- "confidence": 86.64699,
- "parents": [
- {
- "value": "Symbol"
- }
- ]
- },
- "value": "Arrow"
- },
- {
- "details": {
- "confidence": 86.64699
- },
- "value": "Symbol"
- },
- {
- "details": {
- "confidence": 84.71997
- },
- "value": "Weaponry"
- },
- {
- "details": {
- "confidence": 84.71997
- },
- "value": "Weapon"
- }
- ],
- "source": "amazon rekognition"
- }
- ]
- },
- "for_sale": "0",
- "identifier": [
- {
- "type": "iBase id",
- "value": "4452"
- }
- ],
- "priority": "0.5",
- "processed": {
- "large": {
- "format": "jpeg",
- "location": "4/452/large_1923_0668__0001_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 1151
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 1536
- }
- ]
- },
- "modified": 1472028927000,
- "resizable": true,
- "type": "image"
- },
- "large_thumbnail": {
- "format": "jpeg",
- "location": "4/452/large_thumbnail_1923_0668__0001_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 240
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 320
- }
- ]
- },
- "modified": 1472028927000,
- "resizable": true,
- "type": "image"
- },
- "medium": {
- "format": "jpeg",
- "location": "4/452/medium_1923_0668__0001_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 576
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 768
- }
- ]
- },
- "modified": 1472028927000,
- "resizable": true,
- "type": "image"
- },
- "medium_thumbnail": {
- "format": "jpeg",
- "location": "4/452/medium_thumbnail_1923_0668__0001_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 144
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 192
- }
- ]
- },
- "modified": 1472028927000,
- "resizable": true,
- "type": "image"
- },
- "small_thumbnail": {
- "format": "jpeg",
- "location": "4/452/small_thumbnail_1923_0668__0001_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 48
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 64
- }
- ]
- },
- "modified": 1472028927000,
- "resizable": true,
- "type": "image"
- },
- "zoom": {
- "format": "pyramid tiff",
- "location": "4/452/1923_0668__0001_.ptif",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 4000
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 5336
- }
- ]
- },
- "modified": 1472028927000,
- "resizable": true,
- "type": "image"
- }
- },
- "public_view": "1",
- "publish": "1",
- "sort": "2015-06-06 05:40:20.0",
- "source": {
- "legal": {
- "rights": [
- {
- "details": "\u00a9 The Board of Trustees of the Science Museum",
- "usage_terms": "CC BY-SA 4.0"
- }
- ]
- },
- "title": [
- {
- "type": "caption",
- "value": "Facsimile of telescope by Galileo with main tube measuring"
- },
- {
- "type": "main title",
- "value": "Facsimile of telescope by Galileo with main tube measuring 2-foot, 8 1/2-inches and magnification of 21 times. Full"
- }
- ]
- },
- "traffic_light": "Green",
- "type": {
- "base": "media",
- "type": "image"
- }
- },
- {
- "@link": {
- "type": "reference"
- },
- "admin": {
- "id": "media-294444",
- "source": "smgi",
- "uid": "i294444",
- "uuid": "e80138a8-6510-3792-9d39-6ee67f0a898e"
- },
- "credit": "Science Museum Group Collection",
- "enhancement": {
- "rekognition": [
- {
- "labels": [
- {
- "details": {
- "confidence": 84.457695
- },
- "value": "Sports"
- },
- {
- "details": {
- "confidence": 84.457695,
- "parents": [
- {
- "value": "Team"
- },
- {
- "value": "Sport"
- }
- ]
- },
- "value": "Team Sport"
- },
- {
- "details": {
- "confidence": 84.457695,
- "parents": [
- {
- "value": "Team"
- },
- {
- "value": "Sport"
- },
- {
- "value": "Team Sport"
- }
- ]
- },
- "value": "Baseball"
- },
- {
- "details": {
- "confidence": 84.457695,
- "parents": [
- {
- "value": "Team"
- },
- {
- "value": "Sport"
- },
- {
- "value": "Team Sport"
- }
- ]
- },
- "value": "Softball"
- },
- {
- "details": {
- "confidence": 84.457695
- },
- "value": "Team"
- },
- {
- "details": {
- "confidence": 84.457695
- },
- "value": "Sport"
- },
- {
- "details": {
- "confidence": 84.457695,
- "instances": [
- {
- "confidence": "84.457695",
- "region": {
- "height": 0.7185915,
- "left": 0.048474047,
- "top": 0.19960986,
- "type": "bounding box",
- "width": 0.8919881
- }
- }
- ],
- "parents": [
- {
- "value": "Team Sport"
- },
- {
- "value": "Baseball"
- },
- {
- "value": "Team"
- },
- {
- "value": "Sport"
- }
- ]
- },
- "value": "Baseball Bat"
- }
- ],
- "source": "amazon rekognition"
- }
- ]
- },
- "for_sale": "0",
- "identifier": [
- {
- "type": "iBase id",
- "value": "294444"
- }
- ],
- "priority": "0.5",
- "processed": {
- "large": {
- "format": "jpeg",
- "location": "294/444/large_1923_0668__0001_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 1536
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 1322
- }
- ]
- },
- "modified": 1525953866000,
- "resizable": true,
- "type": "image"
- },
- "large_thumbnail": {
- "format": "jpeg",
- "location": "294/444/large_thumbnail_1923_0668__0001_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 372
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 320
- }
- ]
- },
- "modified": 1525953866000,
- "resizable": true,
- "type": "image"
- },
- "medium": {
- "format": "jpeg",
- "location": "294/444/medium_1923_0668__0001_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 669
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 576
- }
- ]
- },
- "modified": 1525953866000,
- "resizable": true,
- "type": "image"
- },
- "medium_thumbnail": {
- "format": "jpeg",
- "location": "294/444/medium_thumbnail_1923_0668__0001_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 223
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 192
- }
- ]
- },
- "modified": 1525953866000,
- "resizable": true,
- "type": "image"
- },
- "small_thumbnail": {
- "format": "jpeg",
- "location": "294/444/small_thumbnail_1923_0668__0001_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 56
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 48
- }
- ]
- },
- "modified": 1525953866000,
- "resizable": true,
- "type": "image"
- },
- "zoom": {
- "format": "pyramid tiff",
- "location": "294/444/1923_0668__0001_.ptif",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 5631
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 4848
- }
- ]
- },
- "modified": 1525953866000,
- "resizable": true,
- "type": "image"
- }
- },
- "public_view": "1",
- "publish": "1",
- "sort": "2018-05-10 13:04:20.0",
- "source": {
- "legal": {
- "rights": [
- {
- "details": "\u00a9 The Board of Trustees of the Science Museum, London",
- "usage_terms": "CC BY-SA 4.0"
- }
- ]
- },
- "title": [
- {
- "type": "caption",
- "value": "Replica of one of the telescopes made by Galileo Galilei after"
- },
- {
- "type": "main title",
- "value": "Replica of one of the telescopes made by Galileo Galilei after he learnt of the invention of the telescope in 1608."
- }
- ]
- },
- "type": {
- "base": "media",
- "type": "image"
- }
- },
- {
- "@link": {
- "type": "reference"
- },
- "admin": {
- "id": "media-294445",
- "source": "smgi",
- "uid": "i294445",
- "uuid": "7f288b5d-6687-3881-8d13-9725d693c7f9"
- },
- "credit": "Science Museum Group Collection",
- "enhancement": {
- "rekognition": [
- {
- "labels": [
- {
- "details": {
- "confidence": 96.40169
- },
- "value": "Weapon"
- },
- {
- "details": {
- "confidence": 96.40169
- },
- "value": "Weaponry"
- }
- ],
- "source": "amazon rekognition"
- }
- ]
- },
- "for_sale": "0",
- "identifier": [
- {
- "type": "iBase id",
- "value": "294445"
- }
- ],
- "priority": "0.5",
- "processed": {
- "large": {
- "format": "jpeg",
- "location": "294/445/large_1923_0668__0003_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 1536
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 1087
- }
- ]
- },
- "modified": 1525953880000,
- "resizable": true,
- "type": "image"
- },
- "large_thumbnail": {
- "format": "jpeg",
- "location": "294/445/large_thumbnail_1923_0668__0003_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 452
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 320
- }
- ]
- },
- "modified": 1525953880000,
- "resizable": true,
- "type": "image"
- },
- "medium": {
- "format": "jpeg",
- "location": "294/445/medium_1923_0668__0003_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 814
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 576
- }
- ]
- },
- "modified": 1525953880000,
- "resizable": true,
- "type": "image"
- },
- "medium_thumbnail": {
- "format": "jpeg",
- "location": "294/445/medium_thumbnail_1923_0668__0003_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 271
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 192
- }
- ]
- },
- "modified": 1525953880000,
- "resizable": true,
- "type": "image"
- },
- "small_thumbnail": {
- "format": "jpeg",
- "location": "294/445/small_thumbnail_1923_0668__0003_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 68
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 48
- }
- ]
- },
- "modified": 1525953880000,
- "resizable": true,
- "type": "image"
- },
- "zoom": {
- "format": "pyramid tiff",
- "location": "294/445/1923_0668__0003_.ptif",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 6182
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 4374
- }
- ]
- },
- "modified": 1525953880000,
- "resizable": true,
- "type": "image"
- }
- },
- "public_view": "1",
- "publish": "1",
- "sort": "2018-05-10 13:04:32.0",
- "source": {
- "legal": {
- "rights": [
- {
- "details": "\u00a9 The Board of Trustees of the Science Museum, London",
- "usage_terms": "CC BY-SA 4.0"
- }
- ]
- },
- "title": [
- {
- "type": "caption",
- "value": "Replica of one of the telescopes made by Galileo Galilei after"
- },
- {
- "type": "main title",
- "value": "Replica of one of the telescopes made by Galileo Galilei after he learnt of the invention of the telescope in 1608."
- }
- ]
- },
- "type": {
- "base": "media",
- "type": "image"
- }
- },
- {
- "@link": {
- "type": "reference"
- },
- "admin": {
- "id": "media-294446",
- "source": "smgi",
- "uid": "i294446",
- "uuid": "a7a99a43-402e-3db2-a2a5-924e1d21237e"
- },
- "credit": "Science Museum Group Collection",
- "enhancement": {
- "rekognition": [
- {
- "labels": [
- {
- "details": {
- "confidence": 99.78297
- },
- "value": "Bronze"
- }
- ],
- "source": "amazon rekognition"
- }
- ]
- },
- "for_sale": "0",
- "identifier": [
- {
- "type": "iBase id",
- "value": "294446"
- }
- ],
- "priority": "0.5",
- "processed": {
- "large": {
- "format": "jpeg",
- "location": "294/446/large_1923_0668__0002_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 1143
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 1536
- }
- ]
- },
- "modified": 1525953895000,
- "resizable": true,
- "type": "image"
- },
- "large_thumbnail": {
- "format": "jpeg",
- "location": "294/446/large_thumbnail_1923_0668__0002_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 240
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 323
- }
- ]
- },
- "modified": 1525953895000,
- "resizable": true,
- "type": "image"
- },
- "medium": {
- "format": "jpeg",
- "location": "294/446/medium_1923_0668__0002_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 576
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 774
- }
- ]
- },
- "modified": 1525953895000,
- "resizable": true,
- "type": "image"
- },
- "medium_thumbnail": {
- "format": "jpeg",
- "location": "294/446/medium_thumbnail_1923_0668__0002_.jpg",
- "location_is_relative": true,
+ "modified": 1697087683000,
+ "location": "458/349/medium_a659676__0001_.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 48013
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 144
+ "dimension": "height",
+ "value": 576
},
{
- "dimension": "width",
"units": "pixels",
- "value": 194
+ "dimension": "width",
+ "value": 769
}
]
- },
- "modified": 1525953895000,
- "resizable": true,
- "type": "image"
+ }
},
- "small_thumbnail": {
+ "large_thumbnail": {
+ "resizable": true,
+ "@type": "image",
"format": "jpeg",
- "location": "294/446/small_thumbnail_1923_0668__0002_.jpg",
- "location_is_relative": true,
+ "modified": 1697087683000,
+ "location": "https://coimages.sciencemuseumgroup.org.uk/458/352/large_thumbnail_a659676__0003_.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 23438
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 48
+ "dimension": "height",
+ "value": 240
},
{
- "dimension": "width",
"units": "pixels",
- "value": 65
+ "dimension": "width",
+ "value": 321
}
]
- },
- "modified": 1525953895000,
- "resizable": true,
- "type": "image"
+ }
},
- "zoom": {
- "format": "pyramid tiff",
- "location": "294/446/1923_0668__0002_.ptif",
- "location_is_relative": true,
+ "medium_thumbnail": {
+ "resizable": true,
+ "@type": "image",
+ "format": "jpeg",
+ "modified": 1697087683000,
+ "location": "458/349/medium_thumbnail_a659676__0001_.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 19924
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 4902
+ "dimension": "height",
+ "value": 144
},
{
- "dimension": "width",
"units": "pixels",
- "value": 6590
+ "dimension": "width",
+ "value": 192
}
]
- },
- "modified": 1525953895000,
- "resizable": true,
- "type": "image"
+ }
}
},
- "public_view": "1",
- "publish": "1",
- "sort": "2018-05-10 13:04:45.0",
- "source": {
- "legal": {
- "rights": [
- {
- "details": "\u00a9 The Board of Trustees of the Science Museum, London",
- "usage_terms": "CC BY-SA 4.0"
- }
- ]
- },
- "title": [
- {
- "type": "caption",
- "value": "Replica of one of the telescopes made by Galileo Galilei after"
- },
+ "@type": "image",
+ "upload_sort": "24/04/2020",
+ "legal": {
+ "rights": [
{
- "type": "main title",
- "value": "Replica of one of the telescopes made by Galileo Galilei after he learnt of the invention of the telescope in 1608."
+ "licence": "CC BY-SA 4.0",
+ "copyright": "© The Board of Trustees of the Science Museum, London"
}
]
},
- "type": {
- "base": "media",
- "type": "image"
- }
- },
- {
- "@link": {
- "type": "reference"
- },
- "admin": {
- "id": "media-294447",
- "source": "smgi",
- "uid": "i294447",
- "uuid": "e14a4b88-65f9-36c7-a88e-28137c89e555"
- },
- "credit": "Science Museum Group Collection",
- "enhancement": {
- "rekognition": [
- {
- "report": "no enhancements available",
- "source": "amazon rekognition"
- }
- ]
+ "credit": {
+ "value": "Science Museum Group Collections"
},
- "for_sale": "0",
- "identifier": [
+ "title": [
{
- "type": "iBase id",
- "value": "294447"
+ "type": "caption",
+ "value": "Small votive organ of unknown type"
}
],
- "priority": "0.5",
- "processed": {
+ "@entity": "reference"
+ },
+ {
+ "@admin": {
+ "uid": "i458351",
+ "id": "media-458351",
+ "source": "smgi",
+ "uuid": "afdc103f-10a2-31ee-a870-a004a94053df"
+ },
+ "@processed": {
"large": {
+ "resizable": true,
+ "@type": "image",
"format": "jpeg",
- "location": "294/447/large_1923_0668__0005_.jpg",
- "location_is_relative": true,
+ "modified": 1697087687000,
+ "location": "458/351/large_a659676__0002_.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 131124
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 1144
+ "dimension": "height",
+ "value": 1150
},
{
- "dimension": "width",
"units": "pixels",
+ "dimension": "width",
"value": 1536
}
]
- },
- "modified": 1525953913000,
- "resizable": true,
- "type": "image"
+ }
},
- "large_thumbnail": {
+ "small_thumbnail": {
+ "resizable": true,
+ "@type": "image",
"format": "jpeg",
- "location": "294/447/large_thumbnail_1923_0668__0005_.jpg",
- "location_is_relative": true,
+ "modified": 1697087687000,
+ "location": "458/351/small_thumbnail_a659676__0002_.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 18114
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 240
+ "dimension": "height",
+ "value": 48
},
{
- "dimension": "width",
"units": "pixels",
- "value": 322
+ "dimension": "width",
+ "value": 64
}
]
- },
- "modified": 1525953913000,
- "resizable": true,
- "type": "image"
+ }
},
- "medium": {
- "format": "jpeg",
- "location": "294/447/medium_1923_0668__0005_.jpg",
- "location_is_relative": true,
+ "zoom": {
+ "resizable": true,
+ "@type": "image",
+ "format": "pyramid tiff",
+ "modified": 1697087687000,
+ "location": "458/351/Small_votive_organ_of_unknown_type.ptif",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 120105572
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 576
+ "dimension": "height",
+ "value": 5474
},
{
- "dimension": "width",
"units": "pixels",
- "value": 773
+ "dimension": "width",
+ "value": 7312
}
]
- },
- "modified": 1525953913000,
- "resizable": true,
- "type": "image"
+ }
},
- "medium_thumbnail": {
+ "medium": {
+ "resizable": true,
+ "@type": "image",
"format": "jpeg",
- "location": "294/447/medium_thumbnail_1923_0668__0005_.jpg",
- "location_is_relative": true,
+ "modified": 1697087687000,
+ "location": "458/351/medium_a659676__0002_.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 46593
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 144
+ "dimension": "height",
+ "value": 576
},
{
- "dimension": "width",
"units": "pixels",
- "value": 193
+ "dimension": "width",
+ "value": 769
}
]
- },
- "modified": 1525953913000,
- "resizable": true,
- "type": "image"
+ }
},
- "small_thumbnail": {
+ "large_thumbnail": {
+ "resizable": true,
+ "@type": "image",
"format": "jpeg",
- "location": "294/447/small_thumbnail_1923_0668__0005_.jpg",
- "location_is_relative": true,
+ "modified": 1697087687000,
+ "location": "458/351/large_thumbnail_a659676__0002_.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 22983
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 48
+ "dimension": "height",
+ "value": 240
},
{
- "dimension": "width",
"units": "pixels",
- "value": 64
+ "dimension": "width",
+ "value": 321
}
]
- },
- "modified": 1525953913000,
- "resizable": true,
- "type": "image"
+ }
},
- "zoom": {
- "format": "pyramid tiff",
- "location": "294/447/1923_0668__0005_.ptif",
- "location_is_relative": true,
+ "medium_thumbnail": {
+ "resizable": true,
+ "@type": "image",
+ "format": "jpeg",
+ "modified": 1697087687000,
+ "location": "458/351/medium_thumbnail_a659676__0002_.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 19791
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 5225
+ "dimension": "height",
+ "value": 144
},
{
- "dimension": "width",
"units": "pixels",
- "value": 7015
+ "dimension": "width",
+ "value": 192
}
]
- },
- "modified": 1525953913000,
- "resizable": true,
- "type": "image"
+ }
}
},
- "public_view": "1",
- "publish": "1",
- "sort": "2018-05-10 13:05:01.0",
- "source": {
- "legal": {
- "rights": [
- {
- "details": "\u00a9 The Board of Trustees of the Science Museum, London",
- "usage_terms": "CC BY-SA 4.0"
- }
- ]
- },
- "title": [
+ "@type": "image",
+ "upload_sort": "24/04/2020",
+ "legal": {
+ "rights": [
{
- "type": "caption",
- "value": "Replica of one of the telescopes made by Galileo Galilei after"
- },
- {
- "type": "main title",
- "value": "Replica of one of the telescopes made by Galileo Galilei after he learnt of the invention of the telescope in 1608."
+ "licence": "CC BY-SA 4.0",
+ "copyright": "© The Board of Trustees of the Science Museum, London"
}
]
},
- "type": {
- "base": "media",
- "type": "image"
- }
- },
- {
- "@link": {
- "type": "reference"
- },
- "admin": {
- "id": "media-294448",
- "source": "smgi",
- "uid": "i294448",
- "uuid": "c8626953-8de2-3fc7-b09d-1b1c9158f562"
- },
- "credit": "Science Museum Group Collection",
- "enhancement": {
- "rekognition": [
- {
- "report": "no enhancements available",
- "source": "amazon rekognition"
- }
- ]
+ "credit": {
+ "value": "Science Museum Group Collections"
},
- "for_sale": "0",
- "identifier": [
+ "title": [
{
- "type": "iBase id",
- "value": "294448"
+ "type": "caption",
+ "value": "Small votive organ of unknown type"
}
],
- "priority": "0.5",
- "processed": {
+ "@entity": "reference"
+ },
+ {
+ "@admin": {
+ "uid": "i458352",
+ "id": "media-458352",
+ "source": "smgi",
+ "uuid": "674f884d-b51b-31f8-860a-4b167f337c67"
+ },
+ "@processed": {
"large": {
+ "resizable": true,
+ "@type": "image",
"format": "jpeg",
- "location": "294/448/large_1923_0668__0004_.jpg",
- "location_is_relative": true,
+ "modified": 1697087687000,
+ "location": "458/352/large_a659676__0003_.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 128214
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
+ "dimension": "height",
"value": 1150
},
{
- "dimension": "width",
"units": "pixels",
+ "dimension": "width",
"value": 1536
}
]
- },
- "modified": 1525953936000,
- "resizable": true,
- "type": "image"
+ }
},
- "large_thumbnail": {
+ "small_thumbnail": {
+ "resizable": true,
+ "@type": "image",
"format": "jpeg",
- "location": "294/448/large_thumbnail_1923_0668__0004_.jpg",
- "location_is_relative": true,
+ "modified": 1697087687000,
+ "location": "458/352/small_thumbnail_a659676__0003_.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 18124
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 240
+ "dimension": "height",
+ "value": 48
},
{
- "dimension": "width",
"units": "pixels",
- "value": 321
+ "dimension": "width",
+ "value": 64
}
]
- },
- "modified": 1525953936000,
- "resizable": true,
- "type": "image"
+ }
},
- "medium": {
- "format": "jpeg",
- "location": "294/448/medium_1923_0668__0004_.jpg",
- "location_is_relative": true,
+ "zoom": {
+ "resizable": true,
+ "@type": "image",
+ "format": "pyramid tiff",
+ "modified": 1697087687000,
+ "location": "458/352/Small_votive_organ_of_unknown_type.ptif",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 120105504
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 576
+ "dimension": "height",
+ "value": 5474
},
{
- "dimension": "width",
"units": "pixels",
- "value": 769
+ "dimension": "width",
+ "value": 7312
}
]
- },
- "modified": 1525953936000,
- "resizable": true,
- "type": "image"
+ }
},
- "medium_thumbnail": {
+ "medium": {
+ "resizable": true,
+ "@type": "image",
"format": "jpeg",
- "location": "294/448/medium_thumbnail_1923_0668__0004_.jpg",
- "location_is_relative": true,
+ "modified": 1697087687000,
+ "location": "458/352/medium_a659676__0003_.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 46746
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 144
+ "dimension": "height",
+ "value": 576
},
{
- "dimension": "width",
"units": "pixels",
- "value": 192
+ "dimension": "width",
+ "value": 769
}
]
- },
- "modified": 1525953936000,
- "resizable": true,
- "type": "image"
+ }
},
- "small_thumbnail": {
+ "large_thumbnail": {
+ "resizable": true,
+ "@type": "image",
"format": "jpeg",
- "location": "294/448/small_thumbnail_1923_0668__0004_.jpg",
- "location_is_relative": true,
+ "modified": 1697087687000,
+ "location": "458/352/large_thumbnail_a659676__0003_.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 23172
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 48
+ "dimension": "height",
+ "value": 240
},
{
- "dimension": "width",
"units": "pixels",
- "value": 64
+ "dimension": "width",
+ "value": 321
}
]
- },
- "modified": 1525953936000,
- "resizable": true,
- "type": "image"
+ }
},
- "zoom": {
- "format": "pyramid tiff",
- "location": "294/448/1923_0668__0004_.ptif",
- "location_is_relative": true,
+ "medium_thumbnail": {
+ "resizable": true,
+ "@type": "image",
+ "format": "jpeg",
+ "modified": 1697087687000,
+ "location": "458/352/medium_thumbnail_a659676__0003_.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 19840
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 5474
+ "dimension": "height",
+ "value": 144
},
{
- "dimension": "width",
"units": "pixels",
- "value": 7312
+ "dimension": "width",
+ "value": 192
}
]
- },
- "modified": 1525953936000,
- "resizable": true,
- "type": "image"
+ }
}
},
- "public_view": "1",
- "publish": "1",
- "sort": "2018-05-10 13:05:20.0",
- "source": {
- "legal": {
- "rights": [
- {
- "details": "\u00a9 The Board of Trustees of the Science Museum, London",
- "usage_terms": "CC BY-SA 4.0"
- }
- ]
- },
- "title": [
- {
- "type": "caption",
- "value": "Replica of one of the telescopes made by Galileo Galilei after"
- },
+ "@type": "image",
+ "upload_sort": "24/04/2020",
+ "legal": {
+ "rights": [
{
- "type": "main title",
- "value": "Replica of one of the telescopes made by Galileo Galilei after he learnt of the invention of the telescope in 1608."
+ "licence": "CC BY-SA 4.0",
+ "copyright": "© The Board of Trustees of the Science Museum, London"
}
]
},
- "type": {
- "base": "media",
- "type": "image"
- }
+ "credit": {
+ "value": "Science Museum Group Collections"
+ },
+ "title": [
+ {
+ "type": "caption",
+ "value": "Small votive organ of unknown type"
+ }
+ ],
+ "@entity": "reference"
}
],
"name": [
{
- "type": "name",
- "value": "telescope - refracting"
- }
- ],
- "note": [
+ "type": "catalogue name",
+ "value": "votive viscera",
+ "primary": true
+ },
{
- "primary": true,
- "value": "C&C - DW&S"
+ "type": "object name",
+ "value": "votive viscera"
}
],
- "numbers": {
- "NUMBER1": "62",
- "NUMBER2": "20100224"
+ "summary": {
+ "title": "Small votive organ of unknown type (votive viscera)"
},
- "summary_title": "Telescope by Galileo (replica) (telescope - Galilean; telescope - refracting; replica)",
"title": [
{
- "primary": true,
- "type": "Cosmos Culture_TITLE",
- "value": "Telescope by Galileo (replica)"
+ "type": "catalogue title",
+ "value": "Small votive organ of unknown type",
+ "primary": true
+ },
+ {
+ "type": "display title",
+ "value": "Small votive organ of unknown type, built up from"
+ },
+ {
+ "type": "display title",
+ "value": "Small votive organ of unknown type"
}
]
},
- "id": "co56202",
- "links": {
- "self": "https://collection.sciencemuseumgroup.org.uk/objects/co56202/telescope-by-galileo-replica-telescope-galilean-telescope-refracting-replica"
- },
"relationships": {
- "people": {
- "data": [
- {
- "id": "cp37297",
- "type": "people"
- }
- ]
- },
- "terms": {
+ "place": {
"data": [
{
- "id": "ct54534",
- "type": "terms"
- },
- {
- "id": "ct262081",
- "type": "terms"
- },
- {
- "id": "ct262401",
- "type": "terms"
- },
- {
- "id": "ct265959",
- "type": "terms"
- },
- {
- "id": "ct262388",
- "type": "terms"
+ "type": "place",
+ "id": "undefined"
}
]
}
},
- "type": "objects"
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/objects/co84905/small-votive-organ-of-unknown-type-votive-viscera"
+ }
}
diff --git a/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/response_success.json b/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/response_success.json
index 8b1e98d2e..4d8d482fe 100644
--- a/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/response_success.json
+++ b/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/response_success.json
@@ -1,1262 +1,2172 @@
{
"data": [
{
+ "type": "objects",
+ "id": "co84905",
"attributes": {
- "admin": {
- "added": 1494269229000,
- "analytics": {
- "count": {
- "last": 9,
- "total": 92
- }
- },
- "created": 826588800000,
- "id": "object-85803",
- "language": "eng",
- "modified": 1573567088000,
- "previous_status": "valid and published",
- "processed": 1589839680667,
- "source": "smgc",
- "stream": "smg-online",
- "uid": "co85803",
- "uuid": "136fcdaf-5409-32ba-8b7d-88de71be0c69",
- "version": 43
- },
- "categories": [
+ "@admin": {
+ "processed": 1712780277089,
+ "sequence": 14551455,
+ "uid": "co84905",
+ "added": 1699635037320,
+ "stream": "collections-online",
+ "id": "object-84905",
+ "source": "Mimsy XG",
+ "uuid": "77141d34-8389-35c9-a2aa-d4bedd67c9b5"
+ },
+ "category": [
{
"museum": "SCM",
"name": "Classical & Medieval Medicine",
+ "type": "category1",
"value": "SCM - Classical & Medieval Medicine"
}
],
+ "creation": {
+ "date": [
+ {
+ "source": "catalogue",
+ "value": "200BCE-200CE",
+ "primary": true
+ },
+ {
+ "role": [
+ {
+ "value": "made"
+ }
+ ],
+ "from": "-200",
+ "to": "200",
+ "value": "200BCE-200CE"
+ }
+ ],
+ "maker": [
+ {
+ "summary": {
+ "title": "Unknown maker"
+ },
+ "@link": {
+ "source": "catalogue"
+ },
+ "name": [
+ {
+ "value": "Unknown maker"
+ }
+ ],
+ "@entity": "literal"
+ }
+ ],
+ "place": [
+ {
+ "summary": {
+ "title": "Italy"
+ },
+ "@link": {
+ "source": "catalogue"
+ },
+ "name": [
+ {
+ "value": "Italy"
+ }
+ ],
+ "@entity": "literal"
+ },
+ {
+ "summary": {
+ "title": "Italy"
+ },
+ "@link": {
+ "attribution": {
+ "date": [
+ {
+ "from": "2019",
+ "to": "2019",
+ "value": "2019-04-17",
+ "primary": true
+ }
+ ],
+ "attributor": "ANNE_SHARMAN"
+ }
+ },
+ "@admin": {
+ "uid": "cd159",
+ "id": "place-159",
+ "uuid": "381c3c27-5c3a-317f-8db3-5af8513ed871"
+ },
+ "@entity": "reference"
+ }
+ ],
+ "@entity": "lifecycle"
+ },
+ "cumulation": {
+ "collector": [
+ {
+ "summary": {
+ "title": "Sir Henry Wellcome's Museum Collection"
+ },
+ "@link": {
+ "source": "catalogue"
+ },
+ "name": [
+ {
+ "value": "Sir Henry Wellcome's Museum Collection"
+ }
+ ],
+ "@entity": "literal"
+ }
+ ],
+ "@entity": "lifecycle"
+ },
"description": [
{
- "primary": true,
+ "type": "catalogue description",
+ "value": "Small votive organ of unknown type, built up from coiled strips of terracotta, probably Roman, 200BCE-200BC",
+ "primary": true
+ },
+ {
"type": "accession register",
- "value": "Pair of votive breasts, marble, on inscribed slab, Greek, 600BC-200BC"
+ "value": "Small votive organ of unknown type, built up from coiled strips of terraccotta, probably Roman, 200BC-200"
+ },
+ {
+ "type": "description",
+ "value": "Small votive organ of unknown type, built up from coiled strips of terracotta, probably Roman, 200BC-200"
},
{
- "date": [
- {
- "earliest": 2010,
- "latest": 2010,
- "primary": true,
- "value": "2010-05-19"
- }
- ],
"type": "description",
- "value": "Pair of votive breasts, marble, on inscribed slab, Greek, 600BC-200BC (see note)"
+ "value": "Small votive organ of unknown type, built up from coiled strips of terracotta, probably Roman, 200BCE-200BC"
}
],
"identifier": [
{
- "primary": true,
"type": "accession number",
- "value": "A163983"
+ "value": "A659676",
+ "primary": true
+ },
+ {
+ "value": "37567"
}
],
- "inscription": [
+ "language": [
{
- "location": "front",
- "method": "carved",
- "note": [
- {
- "value": "SB = Short inscription in Greek, translated as \"Epikratea ( dedicated this) to Eilythnia as a votive offering\""
- }
- ],
- "type": "inscription"
+ "value": "eng"
}
],
- "language": ["eng"],
"legal": {
- "legal_status": "loan: wellcome trust"
- },
- "lifecycle": {
- "creation": [
- {
- "date": [
- {
- "earliest": 600,
- "latest": 583,
- "primary": true,
- "value": "600-200"
- }
- ],
- "maker": [
- {
- "@link": {
- "role": [
- {
- "value": "maker"
- }
- ],
- "type": "reference"
- },
- "admin": {
- "id": "agent-21665",
- "uid": "cp21665",
- "uuid": "2b819f5a-2e1d-3432-8d8a-a01bf2ab3f86"
- },
- "summary_title": "Unknown maker"
- }
- ],
- "places": [
- {
- "@link": {
- "type": "reference"
- },
- "admin": {
- "id": "place-168",
- "uid": "cd168",
- "uuid": "930dae73-d63e-38e5-9440-59f6d55e1276"
- },
- "summary_title": "Greece"
- }
- ]
- }
- ]
+ "credit": "Loan, Wellcome Trust"
},
- "locations": [
- {
- "@link": {
- "type": "literal"
- },
- "admin": {
- "id": "location-2276070",
- "uuid": "04eb4ff1-b7e9-37a4-8908-25cc9c530874"
- },
- "facilities": [
- {
- "@link": {
- "type": "reference"
- },
- "admin": {
- "id": "facility-62029",
- "uid": "cf62029",
- "uuid": "c805d997-7510-3365-80fd-1329304c7aca"
- },
- "summary_title": "Science Museum, Medicine: The Wellcome Galleries"
- }
- ],
- "level1": "S",
- "level2": "G30",
- "level3": "WW05",
- "level4": "South Side",
- "name": [
- {
- "primary": true,
- "value": "Science Museum, Medicine: The Wellcome Galleries"
- },
- {
- "type": "gallery",
- "value": "Medicine: The Wellcome Galleries"
- },
- {
- "type": "museum",
- "value": "Science Museum"
- }
- ],
- "purpose": "on display",
- "summary_title": "Science Museum, Medicine: The Wellcome Galleries",
- "value": "Science Museum, Medicine: The Wellcome Galleries"
- }
- ],
"measurements": {
+ "display": "overall: 41 mm x 40 mm x 38 mm, .04 kg",
+ "count": "1",
"dimensions": [
{
- "dimension": "depth",
- "units": "in",
- "value": "3 1/16"
- },
- {
- "dimension": "depth",
- "units": "mm",
- "value": "78"
+ "type": "catalogue dimensions",
+ "value": "overall: 41 mm x 40 mm x 38 mm, 0.04 kg",
+ "primary": true
},
{
- "dimension": "height",
"units": "in",
- "value": "6 1/8"
+ "dimension": "depth",
+ "value": "1 1/2"
},
{
- "dimension": "height",
"units": "mm",
- "value": "155"
+ "dimension": "depth",
+ "value": "38"
},
{
- "dimension": "width",
"units": "in",
- "value": "10 5/8"
+ "dimension": "height",
+ "value": "1 5/8"
},
{
- "dimension": "width",
"units": "mm",
- "value": "270"
+ "dimension": "height",
+ "value": "41"
},
{
"units": "kg",
- "value": "3.72"
+ "dimension": "weight",
+ "value": "0.04"
},
{
"units": "lbs",
- "value": "8.20124"
+ "dimension": "weight",
+ "value": "0.08819"
},
{
- "units": "mm",
- "value": "150"
+ "units": "in",
+ "dimension": "width",
+ "value": "1 9/16"
},
{
"units": "mm",
- "value": "258"
+ "dimension": "width",
+ "value": "40"
},
{
"units": "mm",
- "value": "67"
+ "value": "43"
}
- ],
- "display": "overall: 155 mm x 270 mm x 78 mm, 3.72 kg"
+ ]
},
"multimedia": [
{
- "@link": {
- "type": "reference"
- },
- "admin": {
- "id": "media-57370",
+ "@admin": {
+ "uid": "i458349",
+ "id": "media-458349",
"source": "smgi",
- "uid": "i57370",
- "uuid": "fb8feef7-7854-3ce4-966e-77b175a919dd"
+ "uuid": "24b84b80-47a7-376d-aabf-07b838240715"
},
- "credit": "Science Museum Group Collection",
- "enhancement": {
- "rekognition": [
- {
- "labels": [
- {
- "details": {
- "confidence": 83.735596
- },
- "value": "Fossil"
- }
- ],
- "source": "amazon rekognition"
- }
- ]
- },
- "for_sale": "0",
- "identifier": [
- {
- "type": "iBase id",
- "value": "57370"
- }
- ],
- "priority": "0.5",
- "processed": {
+ "@processed": {
"large": {
+ "resizable": true,
+ "@type": "image",
"format": "jpeg",
- "location": "57/370/large_A163983__0001_.jpg",
- "location_is_relative": true,
+ "modified": 1697087683000,
+ "location": "458/349/large_a659676__0001_.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 134947
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
+ "dimension": "height",
"value": 1150
},
{
- "dimension": "width",
"units": "pixels",
+ "dimension": "width",
"value": 1536
}
]
- },
- "modified": 1472030806000,
- "resizable": true,
- "type": "image"
+ }
},
- "large_thumbnail": {
+ "small_thumbnail": {
+ "resizable": true,
+ "@type": "image",
"format": "jpeg",
- "location": "https://coimages.sciencemuseumgroup.org.uk/images/57/370/large_thumbnail_A163983__0001_.jpg",
- "location_is_relative": true,
+ "modified": 1697087683000,
+ "location": "458/349/small_thumbnail_a659676__0001_.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 18125
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 240
+ "dimension": "height",
+ "value": 48
},
{
- "dimension": "width",
"units": "pixels",
- "value": 321
+ "dimension": "width",
+ "value": 64
}
]
- },
- "modified": 1472030806000,
- "resizable": true,
- "type": "image"
+ }
},
- "medium": {
- "format": "jpeg",
- "location": "57/370/medium_A163983__0001_.jpg",
- "location_is_relative": true,
+ "zoom": {
+ "resizable": true,
+ "@type": "image",
+ "format": "pyramid tiff",
+ "modified": 1697087683000,
+ "location": "458/349/Small_votive_organ_of_unknown_type.ptif",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 120104992
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 576
+ "dimension": "height",
+ "value": 5474
},
{
- "dimension": "width",
"units": "pixels",
- "value": 769
+ "dimension": "width",
+ "value": 7312
}
]
- },
- "modified": 1472030806000,
- "resizable": true,
- "type": "image"
+ }
},
- "medium_thumbnail": {
+ "medium": {
+ "resizable": true,
+ "@type": "image",
"format": "jpeg",
- "location": "57/370/medium_thumbnail_A163983__0001_.jpg",
- "location_is_relative": true,
+ "modified": 1697087683000,
+ "location": "458/349/medium_a659676__0001_.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 48013
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 144
+ "dimension": "height",
+ "value": 576
},
{
- "dimension": "width",
"units": "pixels",
- "value": 192
+ "dimension": "width",
+ "value": 769
}
]
- },
- "modified": 1472030806000,
- "resizable": true,
- "type": "image"
+ }
},
- "small_thumbnail": {
+ "large_thumbnail": {
+ "resizable": true,
+ "@type": "image",
"format": "jpeg",
- "location": "57/370/small_thumbnail_A163983__0001_.jpg",
- "location_is_relative": true,
+ "modified": 1697087683000,
+ "location": "https://coimages.sciencemuseumgroup.org.uk/458/352/large_thumbnail_a659676__0003_.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 23438
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 48
+ "dimension": "height",
+ "value": 240
},
{
- "dimension": "width",
"units": "pixels",
- "value": 64
+ "dimension": "width",
+ "value": 321
}
]
- },
- "modified": 1472030806000,
- "resizable": true,
- "type": "image"
+ }
},
- "zoom": {
- "format": "pyramid tiff",
- "location": "57/370/A163983__0001_.ptif",
- "location_is_relative": true,
+ "medium_thumbnail": {
+ "resizable": true,
+ "@type": "image",
+ "format": "jpeg",
+ "modified": 1697087683000,
+ "location": "458/349/medium_thumbnail_a659676__0001_.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 19924
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 5474
+ "dimension": "height",
+ "value": 144
},
{
- "dimension": "width",
"units": "pixels",
- "value": 7312
+ "dimension": "width",
+ "value": 192
}
]
- },
- "modified": 1472030806000,
- "resizable": true,
- "type": "image"
+ }
}
},
- "public_view": "1",
- "publish": "1",
- "sort": "2015-06-09 09:02:04.0",
- "source": {
- "legal": {
- "rights": [
- {
- "details": "\u00a9 The Board of Trustees of the Science Museum",
- "usage_terms": "CC-BY-NC-SA 4.0"
- }
- ]
- },
- "title": [
- {
- "type": "caption",
- "value": "Pair of votive breasts, marble, on inscribed slab, Greek"
- },
+ "@type": "image",
+ "upload_sort": "24/04/2020",
+ "legal": {
+ "rights": [
{
- "type": "main title",
- "value": "Pair of votive breasts, marble, on inscribed slab, Greek, 600BC-200BC (see note). marble. SCM - Classical & Medieval"
+ "licence": "CC BY-SA 4.0",
+ "copyright": "© The Board of Trustees of the Science Museum, London"
}
]
},
- "traffic_light": "Green",
- "type": {
- "base": "media",
- "type": "image"
- }
- },
- {
- "@link": {
- "type": "reference"
- },
- "admin": {
- "id": "media-57371",
- "source": "smgi",
- "uid": "i57371",
- "uuid": "775a0381-43d6-3415-9b96-c2e842862942"
- },
- "credit": "Science Museum Group Collection",
- "enhancement": {
- "rekognition": [
- {
- "labels": [
- {
- "details": {
- "confidence": 96.52095
- },
- "value": "Fossil"
- },
- {
- "details": {
- "confidence": 91.183174
- },
- "value": "Soil"
- },
- {
- "details": {
- "confidence": 80.030785
- },
- "value": "Archaeology"
- },
- {
- "details": {
- "confidence": 78.09733
- },
- "value": "Food"
- }
- ],
- "source": "amazon rekognition"
- }
- ]
+ "credit": {
+ "value": "Science Museum Group Collections"
},
- "for_sale": "0",
- "identifier": [
+ "title": [
{
- "type": "iBase id",
- "value": "57371"
+ "type": "caption",
+ "value": "Small votive organ of unknown type"
}
],
- "priority": "0.5",
- "processed": {
+ "@entity": "reference"
+ },
+ {
+ "@admin": {
+ "uid": "i458351",
+ "id": "media-458351",
+ "source": "smgi",
+ "uuid": "afdc103f-10a2-31ee-a870-a004a94053df"
+ },
+ "@processed": {
"large": {
+ "resizable": true,
+ "@type": "image",
"format": "jpeg",
- "location": "57/371/large_A163983__0002_.jpg",
- "location_is_relative": true,
+ "modified": 1697087687000,
+ "location": "458/351/large_a659676__0002_.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 131124
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
+ "dimension": "height",
"value": 1150
},
{
- "dimension": "width",
"units": "pixels",
+ "dimension": "width",
"value": 1536
}
]
- },
- "modified": 1472030810000,
- "resizable": true,
- "type": "image"
+ }
},
- "large_thumbnail": {
+ "small_thumbnail": {
+ "resizable": true,
+ "@type": "image",
"format": "jpeg",
- "location": "57/371/large_thumbnail_A163983__0002_.jpg",
- "location_is_relative": true,
+ "modified": 1697087687000,
+ "location": "458/351/small_thumbnail_a659676__0002_.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 18114
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 240
+ "dimension": "height",
+ "value": 48
},
{
- "dimension": "width",
"units": "pixels",
- "value": 321
+ "dimension": "width",
+ "value": 64
}
]
- },
- "modified": 1472030810000,
- "resizable": true,
- "type": "image"
+ }
},
- "medium": {
- "format": "jpeg",
- "location": "57/371/medium_A163983__0002_.jpg",
- "location_is_relative": true,
+ "zoom": {
+ "resizable": true,
+ "@type": "image",
+ "format": "pyramid tiff",
+ "modified": 1697087687000,
+ "location": "458/351/Small_votive_organ_of_unknown_type.ptif",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 120105572
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 576
+ "dimension": "height",
+ "value": 5474
},
{
- "dimension": "width",
"units": "pixels",
- "value": 769
+ "dimension": "width",
+ "value": 7312
}
]
- },
- "modified": 1472030810000,
- "resizable": true,
- "type": "image"
+ }
},
- "medium_thumbnail": {
+ "medium": {
+ "resizable": true,
+ "@type": "image",
"format": "jpeg",
- "location": "57/371/medium_thumbnail_A163983__0002_.jpg",
- "location_is_relative": true,
+ "modified": 1697087687000,
+ "location": "458/351/medium_a659676__0002_.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 46593
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 144
+ "dimension": "height",
+ "value": 576
},
{
- "dimension": "width",
"units": "pixels",
- "value": 192
+ "dimension": "width",
+ "value": 769
}
]
- },
- "modified": 1472030810000,
- "resizable": true,
- "type": "image"
+ }
},
- "small_thumbnail": {
+ "large_thumbnail": {
+ "resizable": true,
+ "@type": "image",
"format": "jpeg",
- "location": "57/371/small_thumbnail_A163983__0002_.jpg",
- "location_is_relative": true,
+ "modified": 1697087687000,
+ "location": "458/351/large_thumbnail_a659676__0002_.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 22983
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 48
+ "dimension": "height",
+ "value": 240
},
{
- "dimension": "width",
"units": "pixels",
- "value": 64
+ "dimension": "width",
+ "value": 321
}
]
- },
- "modified": 1472030810000,
- "resizable": true,
- "type": "image"
+ }
},
- "zoom": {
- "format": "pyramid tiff",
- "location": "57/371/A163983__0002_.ptif",
- "location_is_relative": true,
+ "medium_thumbnail": {
+ "resizable": true,
+ "@type": "image",
+ "format": "jpeg",
+ "modified": 1697087687000,
+ "location": "458/351/medium_thumbnail_a659676__0002_.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 19791
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 5474
+ "dimension": "height",
+ "value": 144
},
{
- "dimension": "width",
"units": "pixels",
- "value": 7312
+ "dimension": "width",
+ "value": 192
}
]
- },
- "modified": 1472030810000,
- "resizable": true,
- "type": "image"
+ }
}
},
- "public_view": "1",
- "publish": "1",
- "sort": "2015-06-09 09:02:30.0",
- "source": {
- "legal": {
- "rights": [
- {
- "details": "\u00a9 The Board of Trustees of the Science Museum",
- "usage_terms": "CC-BY-NC-SA 4.0"
- }
- ]
- },
- "title": [
- {
- "type": "caption",
- "value": "Pair of votive breasts, marble, on inscribed slab, Greek"
- },
+ "@type": "image",
+ "upload_sort": "24/04/2020",
+ "legal": {
+ "rights": [
{
- "type": "main title",
- "value": "Pair of votive breasts, marble, on inscribed slab, Greek, 600BC-200BC (see note). marble. SCM - Classical & Medieval"
+ "licence": "CC BY-SA 4.0",
+ "copyright": "© The Board of Trustees of the Science Museum, London"
}
]
},
- "traffic_light": "Green",
- "type": {
- "base": "media",
- "type": "image"
- }
- },
- {
- "@link": {
- "type": "reference"
- },
- "admin": {
- "id": "media-57372",
- "source": "smgi",
- "uid": "i57372",
- "uuid": "dd367412-2a40-3c42-8f95-989848af9d5d"
- },
- "credit": "Science Museum Group Collection",
- "enhancement": {
- "rekognition": [
- {
- "labels": [
- {
- "details": {
- "confidence": 99.101166
- },
- "value": "Rock"
- },
- {
- "details": {
- "confidence": 97.47944
- },
- "value": "Food"
- },
- {
- "details": {
- "confidence": 97.47944,
- "instances": [
- {
- "confidence": "94.7952",
- "region": {
- "height": 0.57440174,
- "left": 0.13222317,
- "top": 0.15846065,
- "type": "bounding box",
- "width": 0.70958084
- }
- }
- ],
- "parents": [
- {
- "value": "Food"
- }
- ]
- },
- "value": "Bread"
- },
- {
- "details": {
- "confidence": 94.86801,
- "parents": [
- {
- "value": "Bread"
- },
- {
- "value": "Food"
- }
- ]
- },
- "value": "Cracker"
- }
- ],
- "source": "amazon rekognition"
- }
- ]
+ "credit": {
+ "value": "Science Museum Group Collections"
},
- "for_sale": "0",
- "identifier": [
+ "title": [
{
- "type": "iBase id",
- "value": "57372"
+ "type": "caption",
+ "value": "Small votive organ of unknown type"
}
],
- "priority": "0.5",
- "processed": {
+ "@entity": "reference"
+ },
+ {
+ "@admin": {
+ "uid": "i458352",
+ "id": "media-458352",
+ "source": "smgi",
+ "uuid": "674f884d-b51b-31f8-860a-4b167f337c67"
+ },
+ "@processed": {
"large": {
+ "resizable": true,
+ "@type": "image",
"format": "jpeg",
- "location": "57/372/large_A163983__0003_.jpg",
- "location_is_relative": true,
+ "modified": 1697087687000,
+ "location": "458/352/large_a659676__0003_.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 128214
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
+ "dimension": "height",
"value": 1150
},
{
- "dimension": "width",
"units": "pixels",
+ "dimension": "width",
"value": 1536
}
]
- },
- "modified": 1472030813000,
- "resizable": true,
- "type": "image"
+ }
},
- "large_thumbnail": {
+ "small_thumbnail": {
+ "resizable": true,
+ "@type": "image",
"format": "jpeg",
- "location": "57/372/large_thumbnail_A163983__0003_.jpg",
- "location_is_relative": true,
+ "modified": 1697087687000,
+ "location": "458/352/small_thumbnail_a659676__0003_.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 18124
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 240
+ "dimension": "height",
+ "value": 48
},
{
- "dimension": "width",
"units": "pixels",
- "value": 321
+ "dimension": "width",
+ "value": 64
}
]
- },
- "modified": 1472030813000,
- "resizable": true,
- "type": "image"
+ }
},
- "medium": {
- "format": "jpeg",
- "location": "57/372/medium_A163983__0003_.jpg",
- "location_is_relative": true,
+ "zoom": {
+ "resizable": true,
+ "@type": "image",
+ "format": "pyramid tiff",
+ "modified": 1697087687000,
+ "location": "458/352/Small_votive_organ_of_unknown_type.ptif",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 120105504
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 576
+ "dimension": "height",
+ "value": 5474
},
{
- "dimension": "width",
"units": "pixels",
- "value": 769
+ "dimension": "width",
+ "value": 7312
}
]
- },
- "modified": 1472030813000,
- "resizable": true,
- "type": "image"
+ }
},
- "medium_thumbnail": {
+ "medium": {
+ "resizable": true,
+ "@type": "image",
"format": "jpeg",
- "location": "57/372/medium_thumbnail_A163983__0003_.jpg",
- "location_is_relative": true,
+ "modified": 1697087687000,
+ "location": "458/352/medium_a659676__0003_.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 46746
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 144
+ "dimension": "height",
+ "value": 576
},
{
- "dimension": "width",
"units": "pixels",
- "value": 192
+ "dimension": "width",
+ "value": 769
}
]
- },
- "modified": 1472030813000,
- "resizable": true,
- "type": "image"
+ }
},
- "small_thumbnail": {
+ "large_thumbnail": {
+ "resizable": true,
+ "@type": "image",
"format": "jpeg",
- "location": "57/372/small_thumbnail_A163983__0003_.jpg",
- "location_is_relative": true,
+ "modified": 1697087687000,
+ "location": "458/352/large_thumbnail_a659676__0003_.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 23172
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 48
+ "dimension": "height",
+ "value": 240
},
{
- "dimension": "width",
"units": "pixels",
- "value": 64
+ "dimension": "width",
+ "value": 321
}
]
- },
- "modified": 1472030813000,
- "resizable": true,
- "type": "image"
+ }
},
- "zoom": {
- "format": "pyramid tiff",
- "location": "57/372/A163983__0003_.ptif",
- "location_is_relative": true,
+ "medium_thumbnail": {
+ "resizable": true,
+ "@type": "image",
+ "format": "jpeg",
+ "modified": 1697087687000,
+ "location": "458/352/medium_thumbnail_a659676__0003_.jpg",
"measurements": {
+ "filesize": {
+ "units": "bytes",
+ "value": 19840
+ },
"dimensions": [
{
- "dimension": "height",
"units": "pixels",
- "value": 5474
+ "dimension": "height",
+ "value": 144
},
{
- "dimension": "width",
"units": "pixels",
- "value": 7312
+ "dimension": "width",
+ "value": 192
}
]
- },
- "modified": 1472030813000,
- "resizable": true,
- "type": "image"
+ }
}
},
- "public_view": "1",
- "publish": "1",
- "sort": "2015-06-09 09:02:54.0",
- "source": {
- "legal": {
- "rights": [
- {
- "details": "\u00a9 The Board of Trustees of the Science Museum",
- "usage_terms": "CC-BY-NC-SA 4.0"
- }
- ]
- },
- "title": [
- {
- "type": "caption",
- "value": "Pair of votive breasts, marble, on inscribed slab, Greek"
- },
+ "@type": "image",
+ "upload_sort": "24/04/2020",
+ "legal": {
+ "rights": [
{
- "type": "main title",
- "value": "Pair of votive breasts, marble, on inscribed slab, Greek, 600BC-200BC (see note). marble. SCM - Classical & Medieval"
+ "licence": "CC BY-SA 4.0",
+ "copyright": "© The Board of Trustees of the Science Museum, London"
}
]
},
- "traffic_light": "Green",
- "type": {
- "base": "media",
- "type": "image"
- }
+ "credit": {
+ "value": "Science Museum Group Collections"
+ },
+ "title": [
+ {
+ "type": "caption",
+ "value": "Small votive organ of unknown type"
+ }
+ ],
+ "@entity": "reference"
}
],
"name": [
{
- "primary": true,
- "value": "votive breast"
- }
- ],
- "note": [
+ "type": "catalogue name",
+ "value": "votive viscera",
+ "primary": true
+ },
{
- "primary": true,
- "value": "See replica (A636033) of this object [Nick Molteno 19th May 2010]"
+ "type": "object name",
+ "value": "votive viscera"
}
],
- "numbers": {
- "NUMBER1": "90"
+ "summary": {
+ "title": "Small votive organ of unknown type (votive viscera)"
},
- "options": {
- "option3": "Bond, Sarah"
- },
- "summary_title": "Pair of votive breasts (votive breast)",
"title": [
{
- "primary": true,
- "value": "Pair of votive breasts"
+ "type": "catalogue title",
+ "value": "Small votive organ of unknown type",
+ "primary": true
+ },
+ {
+ "type": "display title",
+ "value": "Small votive organ of unknown type, built up from"
+ },
+ {
+ "type": "display title",
+ "value": "Small votive organ of unknown type"
}
]
},
- "id": "co85803",
+ "relationships": {
+ "place": {
+ "data": [
+ {
+ "type": "place",
+ "id": "undefined"
+ }
+ ]
+ }
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/objects/co84905/small-votive-organ-of-unknown-type-votive-viscera"
+ }
+ }
+ ],
+ "included": [
+ {
+ "type": "place",
+ "id": "cd",
+ "attributes": {
+ "summary_title": "Unattributed place"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd1323",
+ "attributes": {
+ "summary_title": "Cyprus"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd1323"
+ }
+ },
+ {
+ "type": "people",
+ "id": "cp46600",
+ "attributes": {
+ "summary_title": "Evangelista Gorga"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/people/cp46600"
+ }
+ },
+ {
+ "type": "people",
+ "id": "cp1037",
+ "attributes": {
+ "summary_title": "Wellcome Institute"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/people/cp1037"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd159",
+ "attributes": {
+ "summary_title": "Italy"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd159"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd113",
+ "attributes": {
+ "summary_title": "London"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd113"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd159",
+ "attributes": {
+ "summary_title": "Italy"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd159"
+ }
+ },
+ {
+ "type": "people",
+ "id": "cp1037",
+ "attributes": {
+ "summary_title": "Wellcome Institute"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/people/cp1037"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd159",
+ "attributes": {
+ "summary_title": "Italy"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd159"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd113",
+ "attributes": {
+ "summary_title": "London"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd113"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd1323",
+ "attributes": {
+ "summary_title": "Cyprus"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd1323"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd159",
+ "attributes": {
+ "summary_title": "Italy"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd159"
+ }
+ },
+ {
+ "type": "people",
+ "id": "cp65452",
+ "attributes": {
+ "summary_title": "Hamonic Collection"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/people/cp65452"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd4191",
+ "attributes": {
+ "summary_title": "Ephesus"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd4191"
+ }
+ },
+ {
+ "type": "people",
+ "id": "cp1037",
+ "attributes": {
+ "summary_title": "Wellcome Institute"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/people/cp1037"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd159",
+ "attributes": {
+ "summary_title": "Italy"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd159"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd113",
+ "attributes": {
+ "summary_title": "London"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd113"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd159",
+ "attributes": {
+ "summary_title": "Italy"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd159"
+ }
+ },
+ {
+ "type": "people",
+ "id": "cp1037",
+ "attributes": {
+ "summary_title": "Wellcome Institute"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/people/cp1037"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd159",
+ "attributes": {
+ "summary_title": "Italy"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd159"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd113",
+ "attributes": {
+ "summary_title": "London"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd113"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd159",
+ "attributes": {
+ "summary_title": "Italy"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd159"
+ }
+ },
+ {
+ "type": "people",
+ "id": "cp1037",
+ "attributes": {
+ "summary_title": "Wellcome Institute"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/people/cp1037"
+ }
+ },
+ {
+ "type": "people",
+ "id": "cp68995",
+ "attributes": {
+ "summary_title": "Imsety"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/people/cp68995"
+ }
+ },
+ {
+ "type": "people",
+ "id": "cp67949",
+ "attributes": {
+ "summary_title": "Isis"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/people/cp67949"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd139",
+ "attributes": {
+ "summary_title": "England"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd139"
+ }
+ },
+ {
+ "type": "people",
+ "id": "cp1037",
+ "attributes": {
+ "summary_title": "Wellcome Institute"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/people/cp1037"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd159",
+ "attributes": {
+ "summary_title": "Italy"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd159"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd113",
+ "attributes": {
+ "summary_title": "London"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd113"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd3951",
+ "attributes": {
+ "summary_title": "Syracuse"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd3951"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd159",
+ "attributes": {
+ "summary_title": "Italy"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd159"
+ }
+ },
+ {
+ "type": "people",
+ "id": "cp1037",
+ "attributes": {
+ "summary_title": "Wellcome Institute"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/people/cp1037"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd159",
+ "attributes": {
+ "summary_title": "Italy"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd159"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd113",
+ "attributes": {
+ "summary_title": "London"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd113"
+ }
+ },
+ {
+ "type": "people",
+ "id": "cp92996",
+ "attributes": {
+ "summary_title": "Shalamaneser II"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/people/cp92996"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd1068",
+ "attributes": {
+ "summary_title": "Assyria"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd1068"
+ }
+ },
+ {
+ "type": "people",
+ "id": "cp1037",
+ "attributes": {
+ "summary_title": "Wellcome Institute"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/people/cp1037"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd1326",
+ "attributes": {
+ "summary_title": "Pompeii"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd1326"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd159",
+ "attributes": {
+ "summary_title": "Italy"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd159"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd",
+ "attributes": {
+ "summary_title": "Unattributed place"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd159",
+ "attributes": {
+ "summary_title": "Italy"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd159"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd",
+ "attributes": {
+ "summary_title": "Unattributed place"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd",
+ "attributes": {
+ "summary_title": "Unattributed place"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd",
+ "attributes": {
+ "summary_title": "Unattributed place"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd",
+ "attributes": {
+ "summary_title": "Unattributed place"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd159",
+ "attributes": {
+ "summary_title": "Italy"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd159"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd159",
+ "attributes": {
+ "summary_title": "Italy"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd159"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd159",
+ "attributes": {
+ "summary_title": "Italy"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd159"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd159",
+ "attributes": {
+ "summary_title": "Italy"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd159"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd159",
+ "attributes": {
+ "summary_title": "Italy"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd159"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd159",
+ "attributes": {
+ "summary_title": "Italy"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd159"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd159",
+ "attributes": {
+ "summary_title": "Italy"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd159"
+ }
+ },
+ {
+ "type": "people",
+ "id": "cp97864",
+ "attributes": {
+ "summary_title": "Hygeia"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/people/cp97864"
+ }
+ },
+ {
+ "type": "people",
+ "id": "cp1037",
+ "attributes": {
+ "summary_title": "Wellcome Institute"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/people/cp1037"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd159",
+ "attributes": {
+ "summary_title": "Italy"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd159"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd1138",
+ "attributes": {
+ "summary_title": "Ostia Antica"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd1138"
+ }
+ },
+ {
+ "type": "people",
+ "id": "cp1037",
+ "attributes": {
+ "summary_title": "Wellcome Institute"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/people/cp1037"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd159",
+ "attributes": {
+ "summary_title": "Italy"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd159"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd113",
+ "attributes": {
+ "summary_title": "London"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd113"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd159",
+ "attributes": {
+ "summary_title": "Italy"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd159"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd159",
+ "attributes": {
+ "summary_title": "Italy"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd159"
+ }
+ },
+ {
+ "type": "people",
+ "id": "cp1037",
+ "attributes": {
+ "summary_title": "Wellcome Institute"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/people/cp1037"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd159",
+ "attributes": {
+ "summary_title": "Italy"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd159"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd113",
+ "attributes": {
+ "summary_title": "London"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd113"
+ }
+ },
+ {
+ "type": "people",
+ "id": "cp1037",
+ "attributes": {
+ "summary_title": "Wellcome Institute"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/people/cp1037"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd159",
+ "attributes": {
+ "summary_title": "Italy"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd159"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd113",
+ "attributes": {
+ "summary_title": "London"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd113"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd168",
+ "attributes": {
+ "summary_title": "Greece"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd168"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd",
+ "attributes": {
+ "summary_title": "Unattributed place"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd512",
+ "attributes": {
+ "summary_title": "Europe"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd512"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd409",
+ "attributes": {
+ "summary_title": "China"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd409"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd",
+ "attributes": {
+ "summary_title": "Unattributed place"
+ },
"links": {
- "self": "https://collection.sciencemuseumgroup.org.uk/objects/co85803/pair-of-votive-breasts-votive-breast"
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd184",
+ "attributes": {
+ "summary_title": "France"
},
- "relationships": {
- "places": {
- "data": [
- {
- "id": "cd",
- "type": "places"
- },
- {
- "id": "cd168",
- "type": "places"
- }
- ]
- },
- "terms": {
- "data": [
- {
- "id": "ct267502",
- "type": "terms"
- }
- ]
- }
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd184"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd",
+ "attributes": {
+ "summary_title": "Unattributed place"
},
- "type": "objects"
- }
- ],
- "inProduction": true,
- "included": [
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd"
+ }
+ },
{
+ "type": "people",
+ "id": "cp74631",
+ "attributes": {
+ "summary_title": "Asklepios"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/people/cp74631"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd",
"attributes": {
"summary_title": "Unattributed place"
},
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd"
+ }
+ },
+ {
+ "type": "place",
"id": "cd",
+ "attributes": {
+ "summary_title": "Unattributed place"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd159",
+ "attributes": {
+ "summary_title": "Italy"
+ },
"links": {
- "self": "https://collection.sciencemuseumgroup.org.uk/places/cd"
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd159"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd",
+ "attributes": {
+ "summary_title": "Unattributed place"
},
- "type": "places"
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd"
+ }
},
{
+ "type": "place",
+ "id": "cd139",
"attributes": {
- "summary_title": "Greece"
+ "summary_title": "England"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd139"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd",
+ "attributes": {
+ "summary_title": "Unattributed place"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd921",
+ "attributes": {
+ "summary_title": "Syria"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd921"
+ }
+ },
+ {
+ "type": "people",
+ "id": "cp65452",
+ "attributes": {
+ "summary_title": "Hamonic Collection"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/people/cp65452"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd",
+ "attributes": {
+ "summary_title": "Unattributed place"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd185",
+ "attributes": {
+ "summary_title": "Egypt"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd185"
+ }
+ },
+ {
+ "type": "people",
+ "id": "cp1037",
+ "attributes": {
+ "summary_title": "Wellcome Institute"
},
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/people/cp1037"
+ }
+ },
+ {
+ "type": "place",
"id": "cd168",
+ "attributes": {
+ "summary_title": "Greece"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd168"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd113",
+ "attributes": {
+ "summary_title": "London"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd113"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd159",
+ "attributes": {
+ "summary_title": "Italy"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd159"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd",
+ "attributes": {
+ "summary_title": "Unattributed place"
+ },
"links": {
- "self": "https://collection.sciencemuseumgroup.org.uk/places/cd168"
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd1323",
+ "attributes": {
+ "summary_title": "Cyprus"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd1323"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd185",
+ "attributes": {
+ "summary_title": "Egypt"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd185"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd",
+ "attributes": {
+ "summary_title": "Unattributed place"
+ },
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd"
+ }
+ },
+ {
+ "type": "people",
+ "id": "cp70807",
+ "attributes": {
+ "summary_title": "Tuamutef"
},
- "type": "places"
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/people/cp70807"
+ }
},
{
+ "type": "place",
+ "id": "cd",
"attributes": {
- "summary_title": "votive breast"
+ "summary_title": "Unattributed place"
},
- "id": "ct267502",
"links": {
- "self": "https://collection.sciencemuseumgroup.org.uk/terms/ct267502"
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd"
+ }
+ },
+ {
+ "type": "place",
+ "id": "cd159",
+ "attributes": {
+ "summary_title": "Italy"
},
- "type": "terms"
+ "links": {
+ "self": "https://collection.sciencemuseumgroup.org.uk/place/cd159"
+ }
}
],
"links": {
- "first": "https://collection.sciencemuseumgroup.org.uk/search/date[from]/0/date[to]/1500/images/image_license?page[size]=1",
- "last": "https://collection.sciencemuseumgroup.org.uk/search/date[from]/0/date[to]/1500/images/image_license?page[size]=1&page[number]=3037",
- "next": "https://collection.sciencemuseumgroup.org.uk/search/date[from]/0/date[to]/1500/images/image_license?page[size]=1&page[number]=2",
- "prev": "https://collection.sciencemuseumgroup.org.uk/search/date[from]/0/date[to]/1500/images/image_license?page[size]=1",
- "self": "https://collection.sciencemuseumgroup.org.uk/search/date[from]/0/date[to]/1500/images/image_license?page[size]=1&page[number]=1"
+ "self": "https://collection.sciencemuseumgroup.org.uk/search/date[from]/0/date[to]/200/images/image_license?page[size]=100",
+ "first": "https://collection.sciencemuseumgroup.org.uk/search/date[from]/0/date[to]/200/images/image_license?page[size]=100",
+ "last": "https://collection.sciencemuseumgroup.org.uk/search/date[from]/0/date[to]/200/images/image_license?page[size]=100&page[number]=42",
+ "prev": "None",
+ "next": "https://collection.sciencemuseumgroup.org.uk/search/date[from]/0/date[to]/200/images/image_license?page[size]=100&page[number]=1"
},
"meta": {
+ "total_pages": 43,
"count": {
"type": {
- "all": 3038,
+ "all": 4269,
+ "people": 0,
+ "objects": 4269,
"documents": 0,
- "objects": 3038,
- "people": 0
+ "group": 0
}
},
"filters": {
- "archive": [],
"category": [
{
- "count": 2847,
- "value": "Classical & Medieval Medicine"
+ "value": "Classical & Medieval Medicine",
+ "count": 3876
},
{
- "count": 65,
- "value": "Weighing & Measuring"
+ "value": "Weighing & Measuring",
+ "count": 175
},
{
- "count": 27,
- "value": "Ethnography and Folk Medicine"
+ "value": "Hand and Machine Tools",
+ "count": 46
},
{
- "count": 15,
- "value": "Asian Medicine"
+ "value": "Ethnography and Folk Medicine",
+ "count": 23
},
{
- "count": 10,
- "value": "Glass Technology"
+ "value": "Wellcome Medals",
+ "count": 23
},
{
- "count": 6,
- "value": "Astronomy"
+ "value": "Asian Medicine",
+ "count": 20
},
{
- "count": 6,
- "value": "Lighting"
+ "value": "Pharmacy-ware",
+ "count": 16
},
{
- "count": 6,
- "value": "Pharmacy-ware"
+ "value": "Lighting",
+ "count": 12
},
{
- "count": 5,
- "value": "Building Construction"
+ "value": "Metallurgy",
+ "count": 12
},
{
- "count": 4,
- "value": "Surgery"
- }
- ],
- "has_image": [
+ "value": "Glass Technology",
+ "count": 11
+ },
+ {
+ "value": "Domestic Appliances",
+ "count": 10
+ },
+ {
+ "value": "Textiles Machinery",
+ "count": 10
+ },
+ {
+ "value": "Surgery",
+ "count": 8
+ },
+ {
+ "value": "Water Transport",
+ "count": 6
+ },
+ {
+ "value": "Agricultural Engineering",
+ "count": 4
+ },
+ {
+ "value": "Building Construction",
+ "count": 4
+ },
+ {
+ "value": "Printing & Writing",
+ "count": 4
+ },
+ {
+ "value": "Ceramics",
+ "count": 3
+ },
+ {
+ "value": "Psychology, Psychiatry & Anthropometry",
+ "count": 3
+ },
{
- "count": 3038,
- "value": "Has Image"
+ "value": "Time Measurement",
+ "count": 3
}
],
- "image_license": [
+ "collection": [
+ {
+ "value": "Sir Henry Wellcome's Museum Collection",
+ "count": 4005
+ },
{
- "count": 3043,
- "value": "Non-Commercial Use"
+ "value": "collector, Unknown",
+ "count": 1
}
],
"maker": [
{
- "count": 2,
- "value": "Ancient Egyptian people"
+ "value": "Roman",
+ "count": 15
},
{
- "count": 2,
- "value": "Copt"
+ "value": "Ancient Egyptian people",
+ "count": 6
},
{
- "count": 1,
- "value": ".Unattributed"
+ "value": "Greek",
+ "count": 5
},
{
- "count": 1,
- "value": "Elkington and Company"
+ "value": "Cowper Coles, Sherard",
+ "count": 4
},
{
- "count": 1,
- "value": "Ibrahim ibn Said Al-Wazzan"
+ "value": "Sherard Osborn Cowper-Coles",
+ "count": 4
},
{
- "count": 1,
- "value": "Inca people"
+ "value": "British Museum",
+ "count": 3
},
{
- "count": 1,
- "value": "Ismail ibn al-Razzaz al-Jazari"
+ "value": "Egyptian National Museum",
+ "count": 3
},
{
- "count": 1,
- "value": "Knights Templar"
+ "value": ".Unattributed",
+ "count": 2
},
{
- "count": 1,
- "value": "Maya"
+ "value": "Brucciani, Domenico",
+ "count": 2
},
{
- "count": 1,
- "value": "Persian"
+ "value": "Domenico Brucciani",
+ "count": 2
}
],
- "material": [
+ "subgroup": [],
+ "object_type": [
{
- "count": 117,
- "value": "complete"
+ "value": "unguent bottle",
+ "count": 740
},
{
- "count": 35,
- "value": "bronze"
+ "value": "probe - medical",
+ "count": 334
},
{
- "count": 20,
- "value": "limestone"
+ "value": "scoop",
+ "count": 266
},
{
- "count": 13,
- "value": "basalt"
+ "value": "needle - piercing tool",
+ "count": 205
},
{
- "count": 12,
- "value": "earthenware"
+ "value": "statue",
+ "count": 158
},
{
- "count": 10,
- "value": "glass"
+ "value": "votive foot",
+ "count": 138
},
{
- "count": 10,
- "value": "pottery"
+ "value": "spatula - medical",
+ "count": 122
},
{
- "count": 9,
- "value": "head, terracotta"
+ "value": "flask - bottle",
+ "count": 115
},
{
- "count": 9,
- "value": "iron"
+ "value": "ear cleaner",
+ "count": 109
},
{
- "count": 8,
- "value": "base, wood"
+ "value": "probe - medical; scoop",
+ "count": 105
}
],
- "museum": [
+ "mphc": [
{
- "count": 30,
- "displayValue": "Science Museum",
- "galleries": [
- {
- "doc_count": 30,
- "key": "Medicine: The Wellcome Galleries"
- }
- ],
- "value": "Science Museum"
+ "value": "co18948",
+ "count": 6
+ },
+ {
+ "value": "co42820",
+ "count": 6
+ },
+ {
+ "value": "co84924",
+ "count": 3
+ },
+ {
+ "value": "co57423",
+ "count": 2
+ },
+ {
+ "value": "co81932",
+ "count": 2
+ },
+ {
+ "value": "co84070",
+ "count": 2
+ },
+ {
+ "value": "co85137",
+ "count": 2
+ },
+ {
+ "value": "co130713",
+ "count": 1
+ },
+ {
+ "value": "co88939",
+ "count": 1
+ },
+ {
+ "value": "co89396",
+ "count": 1
}
],
- "object_type": [
+ "place": [
{
- "count": 450,
- "value": "unguent bottle"
+ "value": "Roman Empire",
+ "count": 327
},
{
- "count": 201,
- "value": "flask - bottle"
+ "value": "Egypt",
+ "count": 92
},
{
- "count": 148,
- "value": "archaeology (roman)"
+ "value": "Gaza Strip",
+ "count": 69
},
{
- "count": 139,
- "value": "probe - medical"
+ "value": "Europe",
+ "count": 68
},
{
- "count": 121,
- "value": "scoop"
+ "value": "Italy",
+ "count": 63
},
{
- "count": 118,
- "value": "spatula - medical"
+ "value": "Roman Republic and Empire",
+ "count": 41
},
{
- "count": 113,
- "value": "needle - piercing tool"
+ "value": "Greece",
+ "count": 36
},
{
- "count": 110,
- "value": "statue"
+ "value": "China",
+ "count": 24
},
{
- "count": 105,
- "value": "pin - fastener"
+ "value": "England",
+ "count": 20
},
{
- "count": 89,
- "value": "votive foot"
+ "value": "England, United Kingdom",
+ "count": 20
}
],
- "occupation": [],
- "organisation": [],
- "place": [
+ "user": [
{
- "count": 38,
- "value": "Roman Empire"
+ "value": "Hamonic Collection",
+ "count": 217
},
{
- "count": 29,
- "value": "Europe"
+ "value": "Evangelista Gorga",
+ "count": 99
},
{
- "count": 28,
- "value": "Italy"
+ "value": "Wellcome Institute",
+ "count": 89
},
{
- "count": 23,
- "value": "Egypt"
+ "value": "Asklepios",
+ "count": 28
},
{
- "count": 17,
- "value": "Gaza Strip"
+ "value": "British School of Archaeology in Egypt",
+ "count": 7
},
{
- "count": 14,
- "value": "China"
+ "value": "British Museum",
+ "count": 6
},
{
- "count": 10,
- "value": "Carthage"
+ "value": "Henry William Peek",
+ "count": 4
},
{
- "count": 7,
- "value": "Amarna"
+ "value": "Horus",
+ "count": 4
},
{
- "count": 7,
- "value": "Cyprus"
+ "value": "Hygeia",
+ "count": 4
},
{
- "count": 7,
- "value": "England"
+ "value": "Telesphorus",
+ "count": 4
}
],
+ "archive": [],
+ "occupation": [],
"place_born": [],
- "user": [
+ "organisation": [],
+ "material": [
{
- "count": 186,
- "value": "Hamonic Collection"
+ "value": "bronze",
+ "count": 1409
},
{
- "count": 69,
- "value": "Evangelista Gorga"
+ "value": "glass",
+ "count": 1113
},
{
- "count": 32,
- "value": "Wellcome Institute"
+ "value": "terracotta",
+ "count": 668
},
{
- "count": 7,
- "value": "Asklepios"
+ "value": "complete",
+ "count": 295
},
{
- "count": 4,
- "value": "Henry William Peek"
+ "value": "bronze (copper, tin alloy)",
+ "count": 161
},
{
- "count": 3,
- "value": "Christ's Hospital School"
+ "value": "bone",
+ "count": 101
},
{
- "count": 3,
- "value": "Heinrich Schliemann"
+ "value": "earthenware",
+ "count": 83
},
{
- "count": 2,
- "value": "British Medical Association"
+ "value": "pottery",
+ "count": 74
},
{
- "count": 2,
- "value": "Henry Solomon Wellcome"
+ "value": "iron",
+ "count": 66
+ },
+ {
+ "value": "stone",
+ "count": 46
+ }
+ ],
+ "museum": [
+ {
+ "value": "Science Museum",
+ "displayValue": "Science Museum",
+ "count": 43,
+ "galleries": [
+ {
+ "key": "Medicine: The Wellcome Galleries",
+ "doc_count": 41
+ },
+ {
+ "key": "Energy Revolution Gallery",
+ "doc_count": 1
+ },
+ {
+ "key": "Making the Modern World Gallery",
+ "doc_count": 1
+ }
+ ]
},
{
+ "value": "Science and Industry Museum",
+ "displayValue": "Science and Industry Museum",
"count": 2,
- "value": "Henry VII Tudor"
+ "galleries": []
+ }
+ ],
+ "image_license": [
+ {
+ "value": "Non-Commercial Use",
+ "count": 4305
+ }
+ ],
+ "has_image": [
+ {
+ "value": "Has Image",
+ "count": 4297
}
]
- },
- "total_pages": 3038
- }
+ }
+ },
+ "inProduction": true,
+ "mphcParent": "None"
}
diff --git a/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/thumbnail_large.json b/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/thumbnail_large.json
deleted file mode 100644
index eafadd70a..000000000
--- a/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/thumbnail_large.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "large_thumbnail": {
- "format": "jpeg",
- "location": "3/563/large_thumbnail_1999_0299_0001__0002_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 240
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 361
- }
- ]
- },
- "modified": 1472014477000,
- "resizable": true,
- "type": "image"
- }
-}
diff --git a/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/thumbnail_medium.json b/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/thumbnail_medium.json
deleted file mode 100644
index 710309f33..000000000
--- a/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/thumbnail_medium.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "medium_thumbnail": {
- "format": "jpeg",
- "location": "3/563/medium_thumbnail_1999_0299_0001__0002_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 144
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 216
- }
- ]
- },
- "modified": 1472014477000,
- "resizable": true,
- "type": "image"
- }
-}
diff --git a/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/thumbnail_small.json b/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/thumbnail_small.json
deleted file mode 100644
index 9c62a151f..000000000
--- a/catalog/tests/dags/providers/provider_api_scripts/resources/sciencemuseum/thumbnail_small.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "small_thumbnail": {
- "format": "jpeg",
- "location": "3/563/small_thumbnail_1999_0299_0001__0002_.jpg",
- "location_is_relative": true,
- "measurements": {
- "dimensions": [
- {
- "dimension": "height",
- "units": "pixels",
- "value": 48
- },
- {
- "dimension": "width",
- "units": "pixels",
- "value": 72
- }
- ]
- },
- "modified": 1472014477000,
- "resizable": true,
- "type": "image"
- }
-}
diff --git a/catalog/tests/dags/providers/provider_api_scripts/test_science_museum.py b/catalog/tests/dags/providers/provider_api_scripts/test_science_museum.py
index 772da32fd..b4aef9735 100644
--- a/catalog/tests/dags/providers/provider_api_scripts/test_science_museum.py
+++ b/catalog/tests/dags/providers/provider_api_scripts/test_science_museum.py
@@ -167,25 +167,25 @@ def test_get_record_data_returns_empty_list_for_falsy_image_required_values(reco
def test_get_record_data_success(object_data):
actual_record_data = sm.get_record_data(object_data)
actual_image_data = actual_record_data[0]
- assert len(actual_record_data) == 12
+ assert len(actual_record_data) == 3
expected_image_data = {
- "foreign_identifier": "i4453",
- "foreign_landing_url": "https://collection.sciencemuseumgroup.org.uk/objects/co56202/telescope-by-galileo-replica-telescope-galilean-telescope-refracting-replica",
- "url": "https://coimages.sciencemuseumgroup.org.uk/images/4/453/large_1923_0668__0002_.jpg",
- "height": 1151,
+ "foreign_identifier": "i458349",
+ "foreign_landing_url": "https://collection.sciencemuseumgroup.org.uk/objects/co84905/small-votive-organ-of-unknown-type-votive-viscera",
+ "url": "https://coimages.sciencemuseumgroup.org.uk/458/349/large_a659676__0001_.jpg",
+ "height": 1150,
"width": 1536,
"filetype": "jpeg",
+ "filesize": 134947,
"license_info": BY_SA_4_0,
- "creator": "Galileo Galilei",
- "title": "Telescope by Galileo (replica) (telescope - Galilean; telescope - refracting; replica)",
+ "creator": "Unknown maker",
+ "title": "Small votive organ of unknown type",
"meta_data": {
- "accession number": "1923-668",
- "category": "SCM - Astronomy",
- "description": "Facsimile of telescope by Galileo with main tube measuring 2-foot, 8 1/2-inches "
- "and magnification of 21 times. Made by Cipriani and purchased from the Museo di "
- "Fisica e Storia Naturale, Florence, Italy in 1923.",
- "name": "telescope - refracting",
+ "accession number": "A659676",
+ "category": "SCM - Classical & Medieval Medicine",
+ "description": "Small votive organ of unknown type, built up from coiled strips of terracotta, probably Roman, 200BCE-200BC",
+ "name": "votive viscera",
+ "creditline": "Loan, Wellcome Trust",
},
}
for key, value in expected_image_data.items():
@@ -204,12 +204,12 @@ def test_creator_info_success(object_data):
attributes = object_data["attributes"]
actual_creator = sm._get_creator_info(attributes)
- assert actual_creator == "Galileo Galilei"
+ assert actual_creator == "Unknown maker"
def test_creator_info_fail(object_data):
attributes = object_data["attributes"]
- attributes["lifecycle"]["creation"][0].pop("maker", None)
+ attributes["creation"].pop("maker", None)
actual_creator = sm._get_creator_info(attributes)
assert actual_creator is None
@@ -217,31 +217,33 @@ def test_creator_info_fail(object_data):
def test_image_info_large():
large_image = _get_resource_json("large_image.json")
- actual_image, actual_height, actual_width, actual_filetype = sm._get_image_info(
- large_image
+ actual_image, actual_height, actual_width, actual_filetype, actual_filesize = (
+ sm._get_image_info(large_image)
)
expected_image = (
- "https://coimages.sciencemuseumgroup.org.uk/images/3/563/"
+ "https://coimages.sciencemuseumgroup.org.uk/3/563/"
"large_1999_0299_0001__0002_.jpg"
)
expected_height = 1022
expected_width = 1536
expected_filetype = "jpeg"
+ expected_filesize = 58772
assert actual_image == expected_image
assert actual_height == expected_height
assert actual_width == expected_width
assert actual_filetype == expected_filetype
+ assert actual_filesize == expected_filesize
def test_image_info_medium():
medium_image = _get_resource_json("medium_image.json")
- actual_url, actual_height, actual_width, actual_filetype = sm._get_image_info(
- medium_image
+ actual_url, actual_height, actual_width, actual_filetype, actual_filesize = (
+ sm._get_image_info(medium_image)
)
expected_image = (
- "https://coimages.sciencemuseumgroup.org.uk/images/3/563/"
+ "https://coimages.sciencemuseumgroup.org.uk/3/563/"
"medium_1999_0299_0001__0002_.jpg"
)
expected_height = 576
@@ -251,22 +253,26 @@ def test_image_info_medium():
assert actual_height == expected_height
assert actual_width == expected_width
assert actual_filetype == "jpeg"
+ assert actual_filesize is None
def test_image_info_failure():
- actual_url, actual_height, actual_width, actual_filetype = sm._get_image_info({})
+ actual_url, actual_height, actual_width, actual_filetype, actual_filesize = (
+ sm._get_image_info({})
+ )
assert actual_url is None
assert actual_height is None
assert actual_width is None
assert actual_filetype is None
+ assert actual_filesize is None
def test_check_relative_url():
rel_url = "3/563/large_thumbnail_1999_0299_0001__0002_.jpg"
actual_url = sm.check_url(rel_url)
expected_url = (
- "https://coimages.sciencemuseumgroup.org.uk/images/3/563/"
+ "https://coimages.sciencemuseumgroup.org.uk/3/563/"
"large_thumbnail_1999_0299_0001__0002_.jpg"
)
@@ -275,7 +281,7 @@ def test_check_relative_url():
def test_check_complete_url():
url = (
- "https://coimages.sciencemuseumgroup.org.uk/images/3/563/"
+ "https://coimages.sciencemuseumgroup.org.uk/3/563/"
"large_thumbnail_1999_0299_0001__0002_.jpg"
)
actual_url = sm.check_url(url)
@@ -313,30 +319,30 @@ def test_get_dimensions_none():
[
# Typical license with dash
(
- {"source": {"legal": {"rights": [{"usage_terms": "CC-BY-NC-SA 4.0"}]}}},
+ {"legal": {"rights": [{"licence": "CC-BY-NC-SA 4.0"}]}},
BY_NC_SA_4_0,
),
(
- {"source": {"legal": {"rights": [{"usage_terms": "CC-BY-NC-ND 4.0"}]}}},
+ {"legal": {"rights": [{"licence": "CC-BY-NC-ND 4.0"}]}},
BY_NC_ND_4_0,
),
# Typical license with space
(
- {"source": {"legal": {"rights": [{"usage_terms": "CC BY-NC-SA 4.0"}]}}},
+ {"legal": {"rights": [{"licence": "CC BY-NC-SA 4.0"}]}},
BY_NC_SA_4_0,
),
(
- {"source": {"legal": {"rights": [{"usage_terms": "CC BY-SA 4.0"}]}}},
+ {"legal": {"rights": [{"licence": "CC BY-SA 4.0"}]}},
BY_SA_4_0,
),
# No legal section
(
- {"source": {}},
+ {},
None,
),
# No usage terms
(
- {"source": {"legal": {"rights": [{"details": "Details!"}]}}},
+ {"legal": {"rights": [{"details": "Details!"}]}},
None,
),
# Invalid usage terms