moltimate / moltimate-backend

A protein active site alignment tool
GNU General Public License v2.0
10 stars 5 forks source link

Rework the query JSON schema #19

Closed steplica closed 6 years ago

steplica commented 6 years ago

@smcintosh881 Let's figure out a JSON schema that will satisfy our needs for a query for now. We can always rework this in the future. Currently, you're asking for:

{
    names: [],
    ecNumber: int, 
    calculations : [‘rmsd’],
    filters: [‘filter1’, ‘filter3’]
}

Quick questions:

Also, we'll have to work out what a filter will actually look like when we're ready for that functionality.

steplica commented 6 years ago

Changed query JSON structure to:

{
    pdbIds: ['8gch', '4ezi', ...],
    ecNumber: '3.4',
    options: ['rmsd', ...],
    filters: ['filter1', 'filter2', ...],
}