Connector service responses must resolve at base_url/services/ (or be redirected to from there).
Example:
http://connector.jangle.org/services/
Methods allowed: GET, HEAD
Content-type required: application/json
JSON Schema:
{
"description":"Services available from this Jangle connector",
"type":"object",
"properties":{
"type":{"type":"string","pattern":"/^services$/"},
"version":{"type":"string","pattern":"/^1\.0$/"},
"title":{"type":"string",},
"request":{"type":"string"},
"entities":{"type":"object",
"properties:{
"Actor:{"optional":true,"type":"object",
"properties":{
"title":{"type":"string"},
"searchable":{"type":["boolean","string"],"format":"uri"},
"path":{"type":"string"},
"categories":{"optional":true,"type":"array"}
},
"Collection:{"optional":true,"type":"object",
"properties":{
"title":{"type":"string"},
"searchable":{"type":["boolean","string"],"format":"uri"},
"path":{"type":"string"},
"categories":{"optional":true,"type":"array"}
},
"Item:{"optional":true,"type":"object",
"properties":{
"title":{"type":"string"},
"searchable":{"type":["boolean","string"],"format":"uri"},
"path":{"type":"string"},
"categories":{"optional":true,"type":"array"}
},
"Resource:{"optional":true,"type":"object",
"properties":{
"title":{"type":"string"},
"searchable":{"type":["boolean","string"],"format":"uri"},
"path":{"type":"string"},
"categories":{"optional":true,"type":"array"}
}
},
"categories":{"optional":true,"type":"object"}
}
Which, in real terms, would return a response that looks something like:
{
"title": "openbiblio",
"version" "1.0",
"type": "services",
"entities":
{
"Resource":
{
"searchable": "/resources/search/description",
"title": "Bibliographic records",
"path": "/resources/",
"categories": ["opac"]
},
"Collection":
{
"searchable": false,
"title": "Categories",
"path": "/collections/"
},
"Item":
{
"searchable": false,
"title": "Holdings records",
"path": "/items/"
},
"Actor":
{
"searchable": false,
"title": "Borrowers",
"path": "/actors/"
}
},
"request": "/services/",
"categories":{
"opac":{
"scheme": "http://jangle.org/vocab/terms#dlf-ilsdi-resource",
"label": "Resources that are available for harvesting in a discovery interface"
}
}
}
The definitions of each field are:
And the definitions of the fields for the entities are:
And the categories are defined like this: