{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.com/all/rijksmuseum/json-schema/rijksmuseum-art-object-schema.json",
  "title": "Rijksmuseum Art Object",
  "description": "Full Rijksmuseum art-object record returned by GET /{culture}/collection/{objectNumber}.",
  "x-schema-source": "documentation",
  "x-source-url": "https://data.rijksmuseum.nl/object-metadata/api/",
  "type": "object",
  "properties": {
    "links": { "$ref": "#/$defs/ArtObjectLinks" },
    "id": { "type": "string", "description": "Globally unique identifier including culture prefix.", "examples": ["nl-SK-C-5"] },
    "priref": { "type": "string", "description": "Persistent record identifier in the museum's collection management system." },
    "objectNumber": { "type": "string", "description": "Rijksmuseum inventory number (case-sensitive)." },
    "language": { "type": "string", "enum": ["nl", "en"] },
    "title": { "type": "string" },
    "copyrightHolder": { "type": ["string", "null"] },
    "webImage": { "$ref": "#/$defs/WebImage" },
    "colors": { "type": "array", "items": { "$ref": "#/$defs/ColorWeight" } },
    "colorsWithNormalization": { "type": "array", "items": { "$ref": "#/$defs/ColorNormalization" } },
    "normalizedColors": { "type": "array", "items": { "$ref": "#/$defs/ColorWeight" } },
    "normalized32Colors": { "type": "array", "items": { "$ref": "#/$defs/ColorWeight" } },
    "titles": { "type": "array", "items": { "type": "string" } },
    "description": { "type": "string" },
    "labelText": { "type": ["string", "null"] },
    "objectTypes": { "type": "array", "items": { "type": "string" } },
    "objectCollection": { "type": "array", "items": { "type": "string" } },
    "makers": { "type": "array", "items": { "$ref": "#/$defs/Maker" } },
    "principalMakers": { "type": "array", "items": { "$ref": "#/$defs/Maker" } },
    "plaqueDescriptionDutch": { "type": "string" },
    "plaqueDescriptionEnglish": { "type": "string" },
    "principalMaker": { "type": "string" },
    "artistRole": { "type": ["string", "null"] },
    "associations": { "type": "array", "items": { "type": "object" } },
    "acquisition": { "$ref": "#/$defs/Acquisition" },
    "exhibitions": { "type": "array", "items": { "type": "object" } },
    "materials": { "type": "array", "items": { "type": "string" } },
    "techniques": { "type": "array", "items": { "type": "string" } },
    "productionPlaces": { "type": "array", "items": { "type": "string" } },
    "dating": { "$ref": "#/$defs/Dating" },
    "classification": { "$ref": "#/$defs/Classification" },
    "hasImage": { "type": "boolean" },
    "historicalPersons": { "type": "array", "items": { "type": "string" } },
    "inscriptions": { "type": "array", "items": { "type": "string" } },
    "documentation": { "type": "array", "items": { "type": "string" } },
    "catRefRPK": { "type": "array", "items": { "type": "string" } },
    "principalOrFirstMaker": { "type": "string" },
    "dimensions": { "type": "array", "items": { "$ref": "#/$defs/Dimension" } },
    "physicalProperties": { "type": "array", "items": { "type": "string" } },
    "physicalMedium": { "type": "string" },
    "longTitle": { "type": "string" },
    "subTitle": { "type": "string" },
    "scLabelLine": { "type": "string" },
    "label": { "$ref": "#/$defs/Label" },
    "showImage": { "type": "boolean" },
    "location": { "type": "string", "description": "Current location code within the museum." }
  },
  "required": ["id", "objectNumber", "title", "hasImage"],
  "$defs": {
    "ArtObjectLinks": {
      "type": "object",
      "properties": {
        "self": { "type": "string", "format": "uri" },
        "web": { "type": "string", "format": "uri" },
        "search": { "type": "string", "format": "uri" }
      }
    },
    "WebImage": {
      "type": "object",
      "properties": {
        "guid": { "type": "string" },
        "offsetPercentageX": { "type": "integer" },
        "offsetPercentageY": { "type": "integer" },
        "width": { "type": "integer" },
        "height": { "type": "integer" },
        "url": { "type": "string", "format": "uri" }
      }
    },
    "Maker": {
      "type": "object",
      "properties": {
        "name": { "type": "string" },
        "unFixedName": { "type": "string" },
        "placeOfBirth": { "type": "string" },
        "dateOfBirth": { "type": "string" },
        "dateOfBirthPrecision": { "type": ["string", "null"] },
        "dateOfDeath": { "type": "string" },
        "dateOfDeathPrecision": { "type": ["string", "null"] },
        "placeOfDeath": { "type": "string" },
        "occupation": { "type": "array", "items": { "type": "string" } },
        "roles": { "type": "array", "items": { "type": "string" } },
        "nationality": { "type": "string" },
        "biography": { "type": ["string", "null"] },
        "productionPlaces": { "type": "array", "items": { "type": "string" } },
        "qualification": { "type": ["string", "null"] }
      }
    },
    "Acquisition": {
      "type": "object",
      "properties": {
        "method": { "type": "string" },
        "date": { "type": "string" },
        "creditLine": { "type": "string" }
      }
    },
    "Dating": {
      "type": "object",
      "properties": {
        "presentingDate": { "type": "string" },
        "sortingDate": { "type": "integer" },
        "period": { "type": "integer", "minimum": 0, "maximum": 21 },
        "yearEarly": { "type": "integer" },
        "yearLate": { "type": "integer" }
      }
    },
    "Classification": {
      "type": "object",
      "properties": {
        "iconClassIdentifier": { "type": "array", "items": { "type": "string" } },
        "iconClassDescription": { "type": "array", "items": { "type": "string" } },
        "motifs": { "type": "array", "items": { "type": "string" } },
        "events": { "type": "array", "items": { "type": "string" } },
        "objectNumbers": { "type": "array", "items": { "type": "string" } }
      }
    },
    "Dimension": {
      "type": "object",
      "properties": {
        "unit": { "type": "string" },
        "type": { "type": "string" },
        "part": { "type": ["string", "null"] },
        "value": { "type": "string" }
      }
    },
    "Label": {
      "type": "object",
      "properties": {
        "title": { "type": "string" },
        "makerLine": { "type": "string" },
        "description": { "type": "string" },
        "notes": { "type": "string" },
        "date": { "type": "string" }
      }
    },
    "ColorWeight": {
      "type": "object",
      "properties": {
        "percentage": { "type": "integer" },
        "hex": { "type": "string" }
      }
    },
    "ColorNormalization": {
      "type": "object",
      "properties": {
        "originalHex": { "type": "string" },
        "normalizedHex": { "type": "string" }
      }
    }
  }
}
