Created
October 8, 2012 09:26
-
-
Save stefankeidel/3851618 to your computer and use it in GitHub Desktop.
CollectiveAccess providence web service example response for generic record summary
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"ok":true, | |
"preferred_labels":{ | |
"en_US":[ | |
"My new test object" | |
] | |
}, | |
"nonpreferred_labels":{ | |
"en_US":[ | |
"Some cool alternate label!" | |
] | |
}, | |
"object_id":{ | |
"value":"1" | |
}, | |
"hier_object_id":{ | |
"value":"1" | |
}, | |
"type_id":{ | |
"value":"22", | |
"display_text":{ | |
"en_US":"Image" | |
} | |
}, | |
"idno":{ | |
"value":"ABC-123" | |
}, | |
"idno_sort":{ | |
"value":"ABC 123 " | |
}, | |
"hier_left":{ | |
"value":"1.00000000000000000000" | |
}, | |
"hier_right":{ | |
"value":"4294967296.00000000000000000000" | |
}, | |
"extent":{ | |
"value":"0" | |
}, | |
"extent_units":{ | |
"value":"" | |
}, | |
"access":{ | |
"value":"0", | |
"display_text":{ | |
"en_US":"not accessible to public" | |
} | |
}, | |
"status":{ | |
"value":"0", | |
"display_text":{ | |
"en_US":"new" | |
} | |
}, | |
"deleted":{ | |
"value":"0" | |
}, | |
"rank":{ | |
"value":"0" | |
}, | |
"ca_objects.description":[ | |
{ | |
"en_US":{ | |
"description":"This object is pretty." | |
} | |
} | |
], | |
"ca_objects.coverage":[ | |
{ | |
"en_US":{ | |
"coverage":null | |
} | |
} | |
], | |
"ca_objects.date":[ | |
{ | |
"en_US":{ | |
"dates_value":"January 1 1970", | |
"dc_dates_types":"Date created" | |
} | |
} | |
], | |
"ca_objects.relation":[ | |
{ | |
"en_US":{ | |
"relation":null | |
} | |
} | |
], | |
"ca_objects.language":[ | |
{ | |
"none":{ | |
"language":"English" | |
} | |
} | |
], | |
"ca_objects.dc_type":[ | |
{ | |
"none":{ | |
"dc_type":"-NONE-" | |
} | |
} | |
], | |
"ca_objects.format_text":[ | |
{ | |
"en_US":{ | |
"format_text":null | |
} | |
} | |
], | |
"ca_objects.rights":[ | |
{ | |
"en_US":{ | |
"rights":"We have all the rights!" | |
} | |
} | |
], | |
"ca_objects.source":[ | |
{ | |
"en_US":{ | |
"source":null | |
} | |
} | |
], | |
"related":{ | |
"ca_objects":[ | |
{ | |
"item_type_id":"22", | |
"object_id":"1", | |
"sdatetime":null, | |
"edatetime":null, | |
"relationship_type_id":"104", | |
"idno":"ABC-123", | |
"idno_sort":"ABC 123 ", | |
"relation_id":"1", | |
"name":"My new test object", | |
"locale_id":"1", | |
"row_id":"1", | |
"rank":"1", | |
"_key":"relation_id", | |
"effective_date":"", | |
"labels":[ | |
"My new test object" | |
], | |
"direction":"ltor", | |
"relationship_typename":"is duplicate of", | |
"relationship_type_code":"duplicate", | |
"label":"My new test object" | |
} | |
], | |
"ca_entities":[ | |
{ | |
"item_type_id":"79", | |
"entity_id":"1", | |
"sdatetime":null, | |
"edatetime":null, | |
"relationship_type_id":"94", | |
"idno":"ww", | |
"idno_sort":"ww ", | |
"relation_id":"1", | |
"displayname":"Walter White", | |
"locale_id":"1", | |
"surname":"White", | |
"forename":"Walter", | |
"source_info":"", | |
"row_id":"1", | |
"_key":"relation_id", | |
"effective_date":"", | |
"labels":[ | |
"Walter White" | |
], | |
"direction":"ltor", | |
"relationship_typename":"contributor", | |
"relationship_type_code":"contributor", | |
"label":"Walter White" | |
}, | |
{ | |
"item_type_id":"79", | |
"entity_id":"2", | |
"sdatetime":null, | |
"edatetime":null, | |
"relationship_type_id":"92", | |
"idno":"hs", | |
"idno_sort":"hs ", | |
"relation_id":"2", | |
"displayname":"Homer Simpson", | |
"locale_id":"1", | |
"surname":"Simpson", | |
"forename":"Homer", | |
"source_info":"", | |
"row_id":"1", | |
"_key":"relation_id", | |
"effective_date":"", | |
"labels":[ | |
"Homer Simpson" | |
], | |
"direction":"ltor", | |
"relationship_typename":"creator", | |
"relationship_type_code":"creator", | |
"label":"Homer Simpson" | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment