From ad962a7417a81535d54eccfc0caabceed2caf438 Mon Sep 17 00:00:00 2001 From: rly Date: Tue, 1 Jul 2025 23:20:41 -0700 Subject: [PATCH] First pass of adding MedPC Interface --- src/supported_interfaces.json | 3 +- .../interface_schemas/MedPCInterface.json | 57 +++++++++++++++++++ 2 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 stories/inputs/interface_schemas/MedPCInterface.json diff --git a/src/supported_interfaces.json b/src/supported_interfaces.json index db1023f39c..eda5fa0a87 100644 --- a/src/supported_interfaces.json +++ b/src/supported_interfaces.json @@ -44,5 +44,6 @@ "BrukerTiffSinglePlaneConverter", "BrukerTiffMultiPlaneConverter", "MiniscopeConverter", - "CellExplorerRecordingInterface" + "CellExplorerRecordingInterface", + "MedPCInterface" ] diff --git a/stories/inputs/interface_schemas/MedPCInterface.json b/stories/inputs/interface_schemas/MedPCInterface.json new file mode 100644 index 0000000000..7aaa8956d2 --- /dev/null +++ b/stories/inputs/interface_schemas/MedPCInterface.json @@ -0,0 +1,57 @@ +{ + "required": [], + "properties": { + "MedPCInterface": { + "properties": { + "file_path": { + "format": "file-path", + "type": "string" + }, + "session_conditions": { + "additionalProperties": true, + "type": "object" + }, + "start_variable": { + "type": "string" + }, + "metadata_medpc_name_to_info_dict": { + "additionalProperties": true, + "type": "object" + }, + "aligned_timestamp_names": { + "anyOf": [ + { + "items": { + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ], + "default": null + }, + "verbose": { + "default": true, + "type": "boolean" + } + }, + "required": [ + "file_path", + "session_conditions", + "start_variable", + "metadata_medpc_name_to_info_dict" + ], + "type": "object", + "additionalProperties": false + } + }, + "type": "object", + "additionalProperties": false, + "$schema": "http://json-schema.org/draft-07/schema#", + "$id": "source.schema.json", + "title": "Source data schema", + "description": "Schema for the source data, files and directories", + "version": "0.1.0" +}