addedInput schema / examples
Added value: +[
+ {
+ "ref": {
+ "image": "https://openaccess-cdn.clevelandart.org/1958.5/1958.5_print.jpg",
+ "object": "135510",
+ "observationId": 16697,
+ "source": "cma"
+ },
+ "view": "evidence"
+ }
+]
changedInput schema / properties / ref / description
Previous value: -"Use sourceKey, museumObjectId, normalized.imageId.value, and evidenceReceipt.observationId from a Finder result. Never invent identifiers."New value: +"Copy the identifiers from a Finder result."
addedInput schema / properties / ref / properties / image / description
Added value: +"Exact normalized.imageId.value."
addedInput schema / properties / ref / properties / object / description
Added value: +"Exact museumObjectId."
addedInput schema / properties / ref / properties / observationId / description
Added value: +"Saved evidenceReceipt.observationId."
addedInput schema / properties / ref / properties / source / description
Added value: +"Finder sourceKey."
addedInput schema / properties / view
Added value: +{
+ "default": "record",
+ "description": "Record with evidence, or just the receipt and source provenance.",
+ "enum": [
+ "record",
+ "evidence"
+ ],
+ "type": "string"
+}
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": {},
+ "properties": {
+ "artwork": {
+ "additionalProperties": {},
+ "properties": {
+ "museumObjectId": {
+ "type": "string"
+ },
+ "sourceKey": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "sourceKey",
+ "museumObjectId"
+ ],
+ "type": "object"
+ },
+ "evidence": {
+ "additionalProperties": {},
+ "properties": {
+ "provenance": {
+ "additionalProperties": {},
+ "properties": {},
+ "type": "object"
+ },
+ "receipt": {
+ "additionalProperties": {},
+ "properties": {
+ "observationId": {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "path": {
+ "type": "string"
+ },
+ "sourceReceivedAt": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "observationId",
+ "sourceReceivedAt",
+ "path"
+ ],
+ "type": "object"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "receipt",
+ "url",
+ "provenance"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "evidence"
+ ],
+ "type": "object"
+}