scitran/core

View on GitHub
swagger/schemas/output/resolver.json

Summary

Maintainability
Test Coverage
{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type":"object",
    "allOf": [{ "$ref": "../definitions/resolver.json#/definitions/resolver-output" }],
    "example": {
        "path": [
            {
                "node_type": "group",
                "_id": "scitran",
                "label": "Scitran",
                "permissions": [
                    {
                        "access": "admin",
                        "_id": "coltonlw@flywheel.io"
                    }
                ],
                "created": "2016-08-19T11:41:15.360000+00:00",
                "modified": "2016-08-19T11:41:15.360000+00:00"
            },
            {
                "node_type": "project",
                "_id": "57e452791cff88b85f9f9c97",
                "label": "Neuroscience",
                "group": "scitran",
                "created": "2016-09-22T21:51:53.151000+00:00",
                "modified": "2016-09-22T21:51:53.151000+00:00",
                "public": false,
                "permissions": [{
                    "access": "admin",
                    "_id": "coltonlw@flywheel.io"
                }]                
            }
        ],
        "children": [
            {
                "node_type": "session",
                "_id": "57e01cccb1dc04000fb83f03",
                "label": "control_1",
                "group": "scitran",
                "created": "2016-09-19T17:13:48.164000+00:00",
                "subject": {
                    "code": "ex4784",
                    "_id": "57e01cccb1dc04000fb83f02"
                },
                "modified": "2016-09-19T17:13:48.164000+00:00",
                "project": "57e01cccf6b5d5edbcb4e1cf",
                "public": false,
                "permissions": [{
                    "access": "admin",
                    "_id": "coltonlw@flywheel.io"
                }]
            },
            {
                "node_type": "file",
                "origin": {
                    "method": "importer",
                    "type": "device",
                    "id": "importer_Admin_Import",
                    "name": "Admin Import"
                },
                "mimetype": "application/zip",
                "measurements": [],
                "hash": "v0-sha384-dd3c97bfe0ad1fcba75ae6718c6e81038c59af4f447f5db194d52732efa4f955b28455db02eb64cad3e4e55f11e3679f",
                "name": "4784_1_1_localizer_dicom.zip",
                "tags": [],
                "created": "2016-09-21T14:56:09.943000+00:00",
                "modified": "2016-09-21T14:56:09.943000+00:00",
                "modality": null,
                "info": {},
                "type": "dicom",
                "size": 989933
            }            
        ]
    }
}