Terms Search Results Schema - Annotopia/AtConnectors GitHub Wiki

The results of the terms search is displayed in the standard Annotopia response format.

{
    "status": "results",
    "result": {
        "duration": "740ms",

        "total": "unknown", // 'unknown' if the service does not return the total
        "max": "50",
        "offset": 0,

        "currentPage": 1, 
        "totalPages": 2,
        "nextPage": 2,      // 'none' when last page is selected
        "prevPage": "none", // 'none' when first page is selected

        "items": [
            {
                "label": "Amyloid Precursor Protein",
                "isDefinedBy": {
                    "@id": "http://data.bioontology.org/ontologies/NIFSTD",
                    "label": "Neuroscience Information Framework (NIF) Standard Ontology"
                },
                "@id": "http://ontology.neuinfo.org/NIF/BiomaterialEntities/NIF-Molecule.owl#sao1143333050",
                "description": "A membrane protein expressed in many tissues and concentrated in the synapses of neurons. It is implicated as a regulator of synapse formation and neural plasticity.  Its proteolysis generates amyloid beta."
            },
            {
                "label": "amyloid beta A4 protein",
                "isDefinedBy": {
                    "@id": "http://data.bioontology.org/ontologies/PR",
                    "label": "PR - Protein Ontology"
                },
                "@id": "http://purl.obolibrary.org/obo/PR_000004168",
                "description": "Category=gene. Requested by=Alzforum."
            },
            ...
        ]
    }
}