Skip to content

Commonly Used Objects

William David Mayo ("Dave") edited this page Aug 7, 2018 · 2 revisions

Examples of JSON Objects in the ASpace API (outdated v.1.5.1)

Repositories

{
  "lock_version": 0,
  "repo_code": "Grenander",
  "name": "M.E. Grenander Department of Special Collections & Archives",
  "url": "http://library.albany.edu/archive",
  "created_by": "admin",
  "last_modified_by": "admin",
  "create_time": "2017-04-05T16:24:43Z",
  "system_mtime": "2017-04-05T16:24:43Z",
  "user_mtime": "2017-04-05T16:24:43Z",
  "jsonmodel_type": "repository",
  "uri": "/repositories/2",
  "display_string": "M.E. Grenander Department of Special Collections & Archives (Grenander)",
  "agent_representation": {
    "ref": "/agents/corporate_entities/1"
  }
}

Resources

{
  "lock_version": 5,
  "title": "Michelle Crone Papers",
  "publish": true,
  "restrictions": false,
  "ead_id": "apap101",
  "ead_location": "http://meg.library.albany.edu:8080/archive/view?docId=apap101.xml",
  "finding_aid_title": "Crone, Michelle; Papers",
  "finding_aid_date": "2014",
  "finding_aid_author": "Gregory Wiedeman",
  "finding_aid_language": "English",
  "finding_aid_sponsor": "This project was made possible by a grant from the Documentary Heritage Program (DHP) of the New York State Archives, a program of the State Education Department.",
  "created_by": "greg",
  "last_modified_by": "greg",
  "create_time": "2017-04-05T19:15:10Z",
  "system_mtime": "2017-08-08T21:11:46Z",
  "user_mtime": "2017-08-08T21:11:46Z",
  "suppressed": false,
  "id_0": "apap101",
  "language": "eng",
  "level": "collection",
  "finding_aid_status": "edited-full-draft",
  "jsonmodel_type": "resource",
  "external_ids": [],
  "subjects": [],
  "linked_events": [],
  "extents": [],
  "dates": [],
  "external_documents": [],
  "rights_statements": [],
  "linked_agents": [],
  "revision_statements": [],
  "instances": [],
  "deaccessions": [],
  "related_accessions": [],
  "classifications": [],
  "notes": [],
  "uri": "/repositories/2/resources/102",
  "repository": {
    "ref": "/repositories/2"
  },
  "tree": {
    "ref": "/repositories/2/resources/102/tree"
  }
}

Archival Objects

{
  "lock_version": 0,
  "position": 91,
  "publish": true,
  "ref_id": "a36c3c4642dd3928c67fc21cd4ff1944",
  "title": "Roz Winter",
  "display_string": "Roz Winter, 1993",
  "restrictions_apply": false,
  "created_by": "greg",
  "last_modified_by": "greg",
  "create_time": "2017-04-05T19:15:27Z",
  "system_mtime": "2017-08-08T21:11:46Z",
  "user_mtime": "2017-04-05T19:15:27Z",
  "suppressed": false,
  "level": "file",
  "jsonmodel_type": "archival_object",
  "external_ids": [],
  "subjects": [],
  "linked_events": [],
  "extents": [],
  "dates": [
    {
      "lock_version": 0,
      "expression": "1993",
      "begin": "1993",
      "created_by": "greg",
      "last_modified_by": "greg",
      "create_time": "2017-04-05T19:15:27Z",
      "system_mtime": "2017-04-05T19:15:27Z",
      "user_mtime": "2017-04-05T19:15:27Z",
      "date_type": "inclusive",
      "label": "creation",
      "era": "ce",
      "calendar": "gregorian",
      "jsonmodel_type": "date"
    }
  ],
  "external_documents": [],
  "rights_statements": [],
  "linked_agents": [],
  "instances": [
    {
      "lock_version": 0,
      "created_by": "greg",
      "last_modified_by": "greg",
      "create_time": "2017-04-05T19:15:27Z",
      "system_mtime": "2017-04-05T19:15:27Z",
      "user_mtime": "2017-04-05T19:15:27Z",
      "instance_type": "mixed_materials",
      "jsonmodel_type": "instance",
      "is_representative": false,
      "sub_container": {
        "lock_version": 0,
        "created_by": "greg",
        "last_modified_by": "greg",
        "create_time": "2017-04-05T19:15:27Z",
        "system_mtime": "2017-04-07T19:39:16Z",
        "user_mtime": "2017-04-05T19:15:27Z",
        "jsonmodel_type": "sub_container",
        "top_container": {
          "ref": "/repositories/2/top_containers/1982"
        }
      },
      "container": {
        "type_1": "VHS",
        "indicator_1": "111",
        "container_locations": [],
        "lock_version": 2
      }
    }
  ],
  "notes": [],
  "uri": "/repositories/2/archival_objects/27558",
  "repository": {
    "ref": "/repositories/2"
  },
  "resource": {
    "ref": "/repositories/2/resources/102"
  },
  "parent": {
    "ref": "/repositories/2/archival_objects/26799"
  },
  "has_unpublished_ancestor": false
}

Accessions

{
  "lock_version": 5,
  "suppressed": false,
  "title": "City of Newburgh Urban Renewal Collection",
  "display_string": "City of Newburgh Urban Renewal Collection",
  "publish": false,
  "content_description": "Contains City of Newburgh engineering and Newburgh Urban Renewal Agency records.  This includes correspondence, appraisals, deeds, meeting minutes, financials, demolition contracts, and brochures.  ",
  "provenance": "Mary McTamaney\r\nCity of Newburgh Historian\r\nOld Courthouse, First Floor\r\n123 Grand Street\r\nNewburgh, NY 12550\r\n(845) 569-8090 ",
  "accession_date": "2018-06-28",
  "restrictions_apply": false,
  "access_restrictions": false,
  "use_restrictions": false,
  "created_by": "jodi",
  "last_modified_by": "jodi",
  "create_time": "2018-07-06T14:33:27Z",
  "system_mtime": "2018-07-06T20:48:33Z",
  "user_mtime": "2018-07-06T17:40:50Z",
  "id_0": "2018",
  "id_1": "065",
  "acquisition_type": "gift",
  "resource_type": "collection",
  "jsonmodel_type": "accession",
  "external_ids": [],
  "related_accessions": [],
  "classifications": [],
  "subjects": [],
  "linked_events": [],
  "extents": [
    {
      "lock_version": 0,
      "number": "100",
      "created_by": "jodi",
      "last_modified_by": "jodi",
      "create_time": "2018-07-06T17:40:50Z",
      "system_mtime": "2018-07-06T17:40:50Z",
      "user_mtime": "2018-07-06T17:40:50Z",
      "portion": "whole",
      "extent_type": "cubic ft.",
      "jsonmodel_type": "extent"
    }
  ],
  "dates": [
    {
      "lock_version": 0,
      "expression": "1957-1994",
      "begin": "1957",
      "end": "1994",
      "created_by": "jodi",
      "last_modified_by": "jodi",
      "create_time": "2018-07-06T17:40:50Z",
      "system_mtime": "2018-07-06T17:40:50Z",
      "user_mtime": "2018-07-06T17:40:50Z",
      "date_type": "inclusive",
      "label": "creation",
      "era": "ce",
      "calendar": "gregorian",
      "jsonmodel_type": "date"
    }
  ],
  "external_documents": [],
  "rights_statements": [],
  "deaccessions": [],
  "related_resources": [
    {
      "ref": "/repositories/2/resources/958"
    }
  ],
  "linked_agents": [],
  "instances": [],
  "uri": "/repositories/2/accessions/1820",
  "repository": {
    "ref": "/repositories/2"
  }
}

Tree Nodes

{
  "title": "Roz Winter, 1993",
  "id": 27558,
  "record_uri": "/repositories/2/archival_objects/27558",
  "publish": true,
  "suppressed": false,
  "node_type": "archival_object",
  "level": "file",
  "instance_types": [
    "mixed_materials"
  ],
  "containers": [
    {
      "type_1": "VHS",
      "indicator_1": "111",
      "type_2": null,
      "indicator_2": null,
      "type_3": null,
      "indicator_3": null
    }
  ],
  "has_children": false,
  "children": []
}

Singlepart Notes

{
  "jsonmodel_type": "note_singlepart",
  "persistent_id": "ec9e58a73212a0b4782e512339a3fa83",
  "type": "abstract",
  "content": [
    "The Michelle Crone Papers document her experience as a feminist and lesbian activist from the early 1980s until the mid-1990s."
  ],
  "publish": true
}

Multipart Notes

{
  "jsonmodel_type": "note_multipart",
  "persistent_id": "d08e4b20fceb371af437d3e2a23dda6f",
  "label": "Access",
  "type": "accessrestrict",
  "rights_restriction": {
    "local_access_restriction_type": []
  },
  "subnotes": [
    {
      "jsonmodel_type": "note_text",
      "content": "Access to this collection is unrestricted.",
      "publish": true
    }
  ],
  "publish": true
}

Dates

{
  "lock_version": 0,
  "expression": "1927-2000",
  "begin": "1927",
  "end": "2000",
  "created_by": "greg",
  "last_modified_by": "greg",
  "create_time": "2017-08-08T21:11:46Z",
  "system_mtime": "2017-08-08T21:11:46Z",
  "user_mtime": "2017-08-08T21:11:46Z",
  "date_type": "inclusive",
  "label": "creation",
  "jsonmodel_type": "date"
}

Extents

{
  "lock_version": 0,
  "number": "44.4",
  "created_by": "greg",
  "last_modified_by": "greg",
  "create_time": "2017-08-08T21:11:46Z",
  "system_mtime": "2017-08-08T21:11:46Z",
  "user_mtime": "2017-08-08T21:11:46Z",
  "portion": "whole",
  "extent_type": "cubic ft.",
  "jsonmodel_type": "extent"
}