Skip to content
Snippets Groups Projects
collections.json 2.04 KiB
{
  "id": "collections",
  "endpoint": {
    "url": "http://ldf.fi/mmm/sparql",
    "useAuth": false,
    "prefixesFile": "SparqlQueriesPrefixes.js"
  },
  "sparqlQueriesFile": "SparqlQueriesPerspective2.js",
  "baseURI": "http://ldf.fi/mmm",
  "URITemplate": "<BASE_URI>/collection/<LOCAL_ID>",
  "resultClasses": {
    "collections": {
      "instanceConfig": {
        "propertiesQueryBlock": "collectionProperties",
        "instancePageResultClasses": {
          "instancePageTable": {
            "tabID": 0,
            "component": "InstancePageTable",
            "tabPath": "table",
            "tabIcon": "CalendarViewDay"
          },
          "instancePageExport": {
            "tabID": 1,
            "component": "Export",
            "tabPath": "export",
            "tabIcon": "CloudDownload",
            "pageType": "instancePage"
          }
        }
      }
    }
  },
  "properties": [
    {
      "id": "uri",
      "valueType": "object",
      "makeLink": true,
      "externalLink": true,
      "sortValues": true,
      "numberedList": false,
      "onlyOnInstancePage": true
    },
    {
      "id": "prefLabel",
      "valueType": "object",
      "makeLink": true,
      "externalLink": false,
      "sortValues": true,
      "numberedList": false,
      "minWidth": 250
    },
    {
      "id": "manuscript",
      "valueType": "object",
      "makeLink": true,
      "externalLink": false,
      "sortValues": true,
      "numberedList": false,
      "minWidth": 250
    },
    {
      "id": "owner",
      "valueType": "object",
      "makeLink": true,
      "externalLink": false,
      "sortValues": true,
      "numberedList": false,
      "minWidth": 250
    },
    {
      "id": "place",
      "valueType": "object",
      "makeLink": true,
      "externalLink": false,
      "sortValues": true,
      "numberedList": false,
      "minWidth": 200
    },
    {
      "id": "source",
      "valueType": "object",
      "makeLink": false,
      "externalLink": false,
      "sortValues": true,
      "numberedList": false,
      "minWidth": 200
    }
  ]
}