diff --git a/SAS/TMSS/frontend/tmss_webapp/src/__mocks__/blueprintsextended.json b/SAS/TMSS/frontend/tmss_webapp/src/__mocks__/blueprintsextended.json new file mode 100644 index 0000000000000000000000000000000000000000..6a846f9d8c520862cdd4396ebcc84e11d71e6db8 --- /dev/null +++ b/SAS/TMSS/frontend/tmss_webapp/src/__mocks__/blueprintsextended.json @@ -0,0 +1,2060 @@ +{ + "name": "Scheduling Unit Blueprint Extended List", + "description": "", + "renders": [ + "application/json", + "text/html" + ], + "parses": [ + "application/json", + "application/x-www-form-urlencoded", + "multipart/form-data" + ], + "actions": { + "POST": { + "id": { + "type": "integer", + "required": false, + "read_only": true, + "label": "ID" + }, + "url": { + "type": "field", + "required": false, + "read_only": true, + "label": "Url" + }, + "actual_on_sky_start_time": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Actual on sky start time", + "help_text": "The earliest on sky start time of all observations of this scheduling unit." + }, + "actual_on_sky_stop_time": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Actual on sky stop time", + "help_text": "The latest on sky stop time of all observations of this scheduling unit." + }, + "actual_process_start_time": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Actual process start time", + "help_text": "The earliest actual process start time of all tasks of this scheduling unit." + }, + "actual_process_stop_time": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Actual process stop time", + "help_text": "The latest actual process stop time of all tasks of this scheduling unit." + }, + "created_at": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Created at", + "help_text": "Moment of object creation." + }, + "description": { + "type": "string", + "required": false, + "read_only": false, + "label": "Description", + "help_text": "A longer description of this object.", + "max_length": 255 + }, + "draft": { + "type": "field", + "required": true, + "read_only": false, + "label": "Draft", + "help_text": "Scheduling Unit Draft which this run instantiates." + }, + "draft_id": { + "type": "field", + "required": false, + "read_only": true, + "label": "Draft id" + }, + "duration": { + "type": "float", + "required": false, + "read_only": true, + "label": "Duration" + }, + "error_reason": { + "type": "field", + "required": false, + "read_only": true, + "label": "Error reason" + }, + "global_identifier": { + "type": "field", + "required": false, + "read_only": true, + "label": "Global identifier", + "help_text": "The global unique identifier for LTA SIP." + }, + "global_identifier_id": { + "type": "field", + "required": false, + "read_only": true, + "label": "Global identifier id" + }, + "ingest_permission_granted_since": { + "type": "datetime", + "required": false, + "read_only": false, + "label": "Ingest permission granted since", + "help_text": "The moment when ingest permission was granted." + }, + "ingest_permission_required": { + "type": "boolean", + "required": false, + "read_only": false, + "label": "Ingest permission required", + "help_text": "Explicit permission is needed before the task." + }, + "interrupts_telescope": { + "type": "boolean", + "required": false, + "read_only": true, + "label": "Interrupts telescope", + "help_text": "boolean (default FALSE), which indicates whether this observation was triggered (responsive telescope)" + }, + "name": { + "type": "string", + "required": true, + "read_only": false, + "label": "Name", + "help_text": "Human-readable name of this object.", + "max_length": 128 + }, + "observed_duration": { + "type": "float", + "required": false, + "read_only": true, + "label": "Observed duration" + }, + "observed_start_time": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Observed start time", + "help_text": "The earliest on_sky_start_time of all the finished/observed observation tasks." + }, + "observed_stop_time": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Observed stop time", + "help_text": "The latest on_sky_stop_time of all the finished/observed observation tasks." + }, + "obsolete_since": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Obsolete since", + "help_text": "When was the first of the subtask(s) marked obsolete, or NULL if not obsolete (NULLable)." + }, + "on_sky_duration": { + "type": "float", + "required": false, + "read_only": true, + "label": "On sky duration" + }, + "on_sky_start_time": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "On sky start time", + "help_text": "The earliest on_sky_start_time of all the observation tasks." + }, + "on_sky_stop_time": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "On sky stop time", + "help_text": "The latest on_sky_stop_time of all the observation tasks." + }, + "output_pinned": { + "type": "boolean", + "required": false, + "read_only": false, + "label": "Output pinned", + "help_text": "tri-state boolean (true/false/null, default false), which blocks deleting unpinned dataproducts. When set to True/False, then all its tasks are set to output_pinned=True/False. When one or more tasks are toggled, the aggregated state for this scheduling_unit.output_pinned can be NULL, indicating that not all tasks have the same value." + }, + "piggyback_allowed_aartfaac": { + "type": "boolean", + "required": false, + "read_only": false, + "label": "Piggyback allowed aartfaac", + "help_text": "Piggyback key for AARTFAAC." + }, + "piggyback_allowed_tbb": { + "type": "boolean", + "required": false, + "read_only": false, + "label": "Piggyback allowed tbb", + "help_text": "Piggyback key for TBB." + }, + "priority_queue": { + "type": "field", + "required": false, + "read_only": false, + "label": "Priority queue", + "help_text": "Priority queue of this scheduling unit. Queues provide a strict ordering between scheduling units." + }, + "priority_queue_value": { + "type": "field", + "required": false, + "read_only": true, + "label": "priority_queue_value" + }, + "process_start_time": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Process start time", + "help_text": "The earliest process_start_time of all the tasks." + }, + "process_stop_time": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Process stop time", + "help_text": "The latest process_stop_time of all the tasks." + }, + "rank": { + "type": "float", + "required": false, + "read_only": false, + "label": "Rank", + "help_text": "Rank of this scheduling unit (lower value is more important when detemining dynamic schedule)." + }, + "results_accepted": { + "type": "boolean", + "required": false, + "read_only": false, + "label": "Results accepted", + "help_text": "boolean (default None) which indicates whether this unit was accepted as successful or not." + }, + "scheduled_central_lst": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Scheduled central lst", + "help_text": "The scheduled central local sidereal time (Computed for CS002 from scheduled_start_time and scheduled_stop_time for the main observation task)" + }, + "scheduled_start_time": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Scheduled start time", + "help_text": "The earliest scheduled start time of all tasks of this scheduling unit." + }, + "scheduled_stop_time": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Scheduled stop time", + "help_text": "The latest scheduled stop time of all tasks of this scheduling unit." + }, + "scheduling_constraints_doc": { + "type": "field", + "required": false, + "read_only": false, + "label": "Scheduling constraints doc" + }, + "scheduling_constraints_template": { + "type": "field", + "required": false, + "read_only": false, + "label": "Scheduling constraints template", + "help_text": "Schema used for scheduling_constraints_doc." + }, + "scheduling_constraints_template_id": { + "type": "field", + "required": false, + "read_only": true, + "label": "Scheduling constraints template id" + }, + "specifications_template": { + "type": "field", + "required": true, + "read_only": false, + "label": "Specifications template", + "help_text": "AbstractSchemaTemplate with JSON schema used for the specifications_doc (IMMUTABLE)." + }, + "specifications_template_id": { + "type": "field", + "required": false, + "read_only": true, + "label": "Specifications template id" + }, + "status": { + "type": "field", + "required": false, + "read_only": true, + "label": "status" + }, + "status_value": { + "type": "field", + "required": false, + "read_only": true, + "label": "status_value" + }, + "tags": { + "type": "list", + "required": false, + "read_only": false, + "label": "Tags", + "help_text": "User-defined search keywords for object.", + "child": { + "type": "string", + "required": true, + "read_only": false, + "label": "Tags", + "max_length": 128 + } + }, + "task_blueprints": { + "type": "field", + "required": true, + "read_only": false, + "label": "Task blueprints", + "child": { + "type": "nested object", + "required": true, + "read_only": false, + "children": { + "id": { + "type": "integer", + "required": false, + "read_only": true, + "label": "ID" + }, + "url": { + "type": "field", + "required": false, + "read_only": true, + "label": "Url" + }, + "actual_on_sky_start_time": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Actual on sky start time", + "help_text": "The time the observation actually started recording (NULLable)." + }, + "actual_on_sky_stop_time": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Actual on sky stop time", + "help_text": "The time the observation actually stopped recording (NULLable)." + }, + "actual_process_start_time": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Actual process start time", + "help_text": "The time the process actually started (NULLable)." + }, + "actual_process_stop_time": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Actual process stop time", + "help_text": "The time the process actually stopped (NULLable)." + }, + "consumed_by": { + "type": "field", + "required": true, + "read_only": false, + "label": "Consumed by" + }, + "consumed_by_ids": { + "type": "field", + "required": false, + "read_only": true, + "label": "consumed_by_ids" + }, + "created_at": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Created at", + "help_text": "Moment of object creation." + }, + "description": { + "type": "string", + "required": false, + "read_only": false, + "label": "Description", + "help_text": "A longer description of this object.", + "max_length": 255 + }, + "draft": { + "type": "field", + "required": true, + "read_only": false, + "label": "Draft", + "help_text": "TaskDraft from which this TaskBlueprint was created. Attention: the draft content itself can be changed in the meantime which is ok because it is a draft/scratchpad. This blueprint is immutable however." + }, + "draft_id": { + "type": "field", + "required": false, + "read_only": true, + "label": "Draft id" + }, + "duration": { + "type": "float", + "required": false, + "read_only": true, + "label": "Duration" + }, + "error_reason": { + "type": "field", + "required": false, + "read_only": true, + "label": "Error reason" + }, + "first_scheduling_relation": { + "type": "field", + "required": true, + "read_only": false, + "label": "First scheduling relation" + }, + "first_scheduling_relation_ids": { + "type": "field", + "required": false, + "read_only": true, + "label": "first_scheduling_relation_ids" + }, + "name": { + "type": "string", + "required": true, + "read_only": false, + "label": "Name", + "help_text": "Human-readable name of this object.", + "max_length": 128 + }, + "obsolete_since": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Obsolete since", + "help_text": "When was the first of the subtask(s) marked obsolete, or NULL if not obsolete (NULLable)." + }, + "on_sky_duration": { + "type": "float", + "required": false, + "read_only": true, + "label": "On sky duration" + }, + "on_sky_start_time": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "On sky start time", + "help_text": "The earliest on_sky_start_time of all the observation subtasks of this task." + }, + "on_sky_stop_time": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "On sky stop time", + "help_text": "The latest on_sky_stop_time of all the observation subtasks of this task.." + }, + "output_pinned": { + "type": "boolean", + "required": false, + "read_only": false, + "label": "Output pinned", + "help_text": "True if the output of this task is pinned to disk, that is, forbidden to be removed." + }, + "process_start_time": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Process start time", + "help_text": "The earliest process_start_time of all the subtasks of this task." + }, + "process_stop_time": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Process stop time", + "help_text": "The latest process_stop_time of all the subtasks of this task." + }, + "produced_by": { + "type": "field", + "required": true, + "read_only": false, + "label": "Produced by" + }, + "produced_by_ids": { + "type": "field", + "required": false, + "read_only": true, + "label": "produced_by_ids" + }, + "relative_start_time": { + "type": "float", + "required": false, + "read_only": true, + "label": "Relative start time" + }, + "relative_stop_time": { + "type": "float", + "required": false, + "read_only": true, + "label": "Relative stop time" + }, + "scheduled_central_lst": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Scheduled central lst", + "help_text": "The scheduled central local sidereal time (Computed for CS002 from scheduled_start_time and scheduled_stop_time for observations)" + }, + "scheduled_start_time": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Scheduled start time", + "help_text": "The time we want the task to start (NULLable). For observations that means: the moment the telescope should be receiving data from the sky. For pipelines/others: the moment the subtask should running." + }, + "scheduled_stop_time": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Scheduled stop time", + "help_text": "The time we want the task to stop (NULLable)." + }, + "scheduling_unit_blueprint": { + "type": "field", + "required": true, + "read_only": false, + "label": "Scheduling unit blueprint", + "help_text": "Scheduling Unit Blueprint to which this task belongs." + }, + "scheduling_unit_blueprint_id": { + "type": "field", + "required": false, + "read_only": true, + "label": "Scheduling unit blueprint id" + }, + "second_scheduling_relation": { + "type": "field", + "required": true, + "read_only": false, + "label": "Second scheduling relation" + }, + "second_scheduling_relation_ids": { + "type": "field", + "required": false, + "read_only": true, + "label": "second_scheduling_relation_ids" + }, + "short_description": { + "type": "string", + "required": false, + "read_only": false, + "label": "Short description", + "help_text": "A short description of this task, usually the name of the target and abbreviated task type.", + "max_length": 64 + }, + "specifications_doc": { + "type": "field", + "required": true, + "read_only": false, + "label": "Specifications doc" + }, + "specifications_template": { + "type": "nested object", + "required": true, + "read_only": false, + "label": "Specifications template", + "children": { + "id": { + "type": "integer", + "required": false, + "read_only": true, + "label": "ID" + }, + "url": { + "type": "field", + "required": false, + "read_only": true, + "label": "Url" + }, + "connector_types": { + "type": "field", + "required": false, + "read_only": true, + "label": "Connector types", + "help_text": "The connector types which define what kind of data this task template consumes/produces.", + "child": { + "type": "nested object", + "required": false, + "read_only": true, + "help_text": "The connector types which define what kind of data this task template consumes/produces.", + "children": { + "id": { + "type": "integer", + "required": false, + "read_only": true, + "label": "ID" + }, + "url": { + "type": "field", + "required": false, + "read_only": true, + "label": "Url" + }, + "dataformat": { + "type": "field", + "required": true, + "read_only": false, + "label": "Dataformat" + }, + "dataformat_value": { + "type": "field", + "required": false, + "read_only": true, + "label": "dataformat_value" + }, + "datatype": { + "type": "field", + "required": true, + "read_only": false, + "label": "Datatype" + }, + "datatype_value": { + "type": "field", + "required": false, + "read_only": true, + "label": "datatype_value" + }, + "iotype": { + "type": "field", + "required": true, + "read_only": false, + "label": "Iotype", + "help_text": "Is this connector an input or output" + }, + "iotype_value": { + "type": "field", + "required": false, + "read_only": true, + "label": "iotype_value" + }, + "role": { + "type": "field", + "required": true, + "read_only": false, + "label": "Role" + }, + "role_value": { + "type": "field", + "required": false, + "read_only": true, + "label": "role_value" + }, + "task_template": { + "type": "field", + "required": true, + "read_only": false, + "label": "Task template" + }, + "task_template_id": { + "type": "field", + "required": false, + "read_only": true, + "label": "Task template id" + } + } + } + }, + "connector_types_ids": { + "type": "field", + "required": false, + "read_only": true, + "label": "connector_types_ids" + }, + "created_at": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Created at", + "help_text": "Moment of object creation." + }, + "description": { + "type": "string", + "required": false, + "read_only": false, + "label": "Description", + "help_text": "A longer description of this object.", + "max_length": 255 + }, + "name": { + "type": "string", + "required": true, + "read_only": false, + "label": "Name", + "help_text": "Human-readable name of this object.", + "max_length": 128 + }, + "purpose": { + "type": "field", + "required": false, + "read_only": false, + "label": "Purpose", + "help_text": "The purpose of this template: Production: offered to the user for cycle and DDT observations. - Scientific Commissioning: scientific/astronomical commissioning. - Technical Commissioning: technical/system commissioning. - System Health: system health monitoring." + }, + "purpose_value": { + "type": "field", + "required": false, + "read_only": true, + "label": "purpose_value" + }, + "ref_resolved_schema": { + "type": "field", + "required": false, + "read_only": true, + "label": "Ref resolved schema", + "help_text": "This is a read-only view on the schema with all references resolved." + }, + "schema": { + "type": "field", + "required": true, + "read_only": false, + "label": "Schema" + }, + "state": { + "type": "field", + "required": false, + "read_only": false, + "label": "State", + "help_text": "The state of this template: Development: Strategy under construction. - Active: Available for observing. - Legacy: not offered, but still working. Obsolete: broken or succeeded by newer definitions." + }, + "state_value": { + "type": "field", + "required": false, + "read_only": true, + "label": "state_value" + }, + "tags": { + "type": "list", + "required": false, + "read_only": false, + "label": "Tags", + "help_text": "User-defined search keywords for object.", + "child": { + "type": "string", + "required": true, + "read_only": false, + "label": "Tags", + "max_length": 128 + } + }, + "type": { + "type": "field", + "required": true, + "read_only": false, + "label": "Type" + }, + "type_value": { + "type": "field", + "required": false, + "read_only": true, + "label": "type_value" + }, + "updated_at": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Updated at", + "help_text": "Moment of last object update." + }, + "version": { + "type": "integer", + "required": false, + "read_only": true, + "label": "Version", + "help_text": "Version of this template (with respect to other templates of the same name)" + } + } + }, + "specifications_template_id": { + "type": "field", + "required": false, + "read_only": true, + "label": "Specifications template id" + }, + "status": { + "type": "field", + "required": false, + "read_only": true, + "label": "status" + }, + "status_value": { + "type": "field", + "required": false, + "read_only": true, + "label": "status_value" + }, + "subtasks": { + "type": "field", + "required": true, + "read_only": false, + "label": "Subtasks", + "child": { + "type": "nested object", + "required": true, + "read_only": false, + "children": { + "id": { + "type": "integer", + "required": false, + "read_only": true, + "label": "ID" + }, + "url": { + "type": "field", + "required": false, + "read_only": true, + "label": "Url" + }, + "actual_on_sky_start_time": { + "type": "datetime", + "required": false, + "read_only": false, + "label": "Actual on sky start time", + "help_text": "The time the observation actually started receiving data from the sky. This should be as close as possible to the scheduled_start_time. Is NULL for non-observations. (NULLable)." + }, + "actual_on_sky_stop_time": { + "type": "datetime", + "required": false, + "read_only": false, + "label": "Actual on sky stop time", + "help_text": "The time the observation actually stopped recording Is NULL for non-observations. (NULLable)." + }, + "actual_process_start_time": { + "type": "datetime", + "required": false, + "read_only": false, + "label": "Actual process start time", + "help_text": "The time the process actually started, which can be a bit in advance of the scheduled_start_time depending on which process picks it up, and how much setup time it needs. (NULLable)." + }, + "actual_process_stop_time": { + "type": "datetime", + "required": false, + "read_only": false, + "label": "Actual process stop time", + "help_text": "The time the process actually stopped (NULLable)." + }, + "cluster": { + "type": "field", + "required": false, + "read_only": false, + "label": "Cluster", + "help_text": "Where the Subtask is scheduled to run (NULLable)." + }, + "cluster_id": { + "type": "field", + "required": false, + "read_only": true, + "label": "Cluster id" + }, + "cluster_name": { + "type": "field", + "required": false, + "read_only": true, + "label": "cluster_name", + "help_text": "The cluster name as defined in the specifications template, provided here to safe an addition lookup." + }, + "created_at": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Created at", + "help_text": "Moment of object creation." + }, + "created_or_updated_by_user": { + "type": "field", + "required": false, + "read_only": true, + "label": "Created or updated by user", + "help_text": "The user who created / updated the subtask." + }, + "created_or_updated_by_user_id": { + "type": "field", + "required": false, + "read_only": true, + "label": "Created or updated by user id" + }, + "duration": { + "type": "float", + "required": false, + "read_only": true, + "label": "Duration" + }, + "error_reason": { + "type": "string", + "required": false, + "read_only": false, + "label": "Error reason", + "help_text": "Reason why the Subtask went to error.", + "max_length": 200 + }, + "global_identifier": { + "type": "field", + "required": false, + "read_only": true, + "label": "Global identifier", + "help_text": "The global unique identifier for LTA SIP." + }, + "global_identifier_id": { + "type": "field", + "required": false, + "read_only": true, + "label": "Global identifier id" + }, + "global_parset_identifier": { + "type": "field", + "required": false, + "read_only": true, + "label": "Global parset identifier", + "help_text": "The global unique identifier of this Subtask's parset for LTA SIP." + }, + "global_parset_identifier_id": { + "type": "field", + "required": false, + "read_only": true, + "label": "Global parset identifier id" + }, + "inputs": { + "type": "field", + "required": false, + "read_only": true, + "label": "Inputs", + "child": { + "type": "nested object", + "required": false, + "read_only": true, + "children": { + "id": { + "type": "integer", + "required": false, + "read_only": true, + "label": "ID" + }, + "url": { + "type": "field", + "required": false, + "read_only": true, + "label": "Url" + }, + "created_at": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Created at", + "help_text": "Moment of object creation." + }, + "dataproducts": { + "type": "field", + "required": true, + "read_only": false, + "label": "Dataproducts", + "help_text": "The Dataproducts resulting from application of the filter at time of scheduling Although the dataproducts are simply the result of applying the filter on immutable data, the filter application could change over time. We thus store the result of this filtering directly to retain which input was specified for the task.." + }, + "dataproducts_ids": { + "type": "field", + "required": false, + "read_only": true, + "label": "dataproducts_ids" + }, + "input_role": { + "type": "nested object", + "required": false, + "read_only": true, + "label": "Input role", + "help_text": "The connector type which defines what kind of data this subtask consumes.", + "children": { + "id": { + "type": "integer", + "required": false, + "read_only": true, + "label": "ID" + }, + "url": { + "type": "field", + "required": false, + "read_only": true, + "label": "Url" + }, + "dataformat": { + "type": "field", + "required": true, + "read_only": false, + "label": "Dataformat" + }, + "dataformat_value": { + "type": "field", + "required": false, + "read_only": true, + "label": "dataformat_value" + }, + "datatype": { + "type": "field", + "required": true, + "read_only": false, + "label": "Datatype" + }, + "datatype_value": { + "type": "field", + "required": false, + "read_only": true, + "label": "datatype_value" + }, + "iotype": { + "type": "field", + "required": true, + "read_only": false, + "label": "Iotype", + "help_text": "Is this connector an input or output" + }, + "iotype_value": { + "type": "field", + "required": false, + "read_only": true, + "label": "iotype_value" + }, + "role": { + "type": "field", + "required": true, + "read_only": false, + "label": "Role" + }, + "role_value": { + "type": "field", + "required": false, + "read_only": true, + "label": "role_value" + }, + "task_template": { + "type": "field", + "required": true, + "read_only": false, + "label": "Task template" + }, + "task_template_id": { + "type": "field", + "required": false, + "read_only": true, + "label": "Task template id" + } + } + }, + "input_role_id": { + "type": "field", + "required": false, + "read_only": true, + "label": "Input role id" + }, + "producer": { + "type": "field", + "required": true, + "read_only": false, + "label": "Producer", + "help_text": "The SubtaskOutput producing the input dataproducts for this SubtaskInput." + }, + "producer_id": { + "type": "field", + "required": false, + "read_only": true, + "label": "Producer id" + }, + "selection_doc": { + "type": "field", + "required": true, + "read_only": false, + "label": "Selection doc" + }, + "selection_template": { + "type": "field", + "required": true, + "read_only": false, + "label": "Selection template", + "help_text": "Schema used for selection_doc." + }, + "selection_template_id": { + "type": "field", + "required": false, + "read_only": true, + "label": "Selection template id" + }, + "subtask": { + "type": "field", + "required": true, + "read_only": false, + "label": "Subtask", + "help_text": "Subtask to which this input specification refers." + }, + "subtask_id": { + "type": "field", + "required": false, + "read_only": true, + "label": "Subtask id" + }, + "tags": { + "type": "list", + "required": false, + "read_only": false, + "label": "Tags", + "help_text": "User-defined search keywords for object.", + "child": { + "type": "string", + "required": true, + "read_only": false, + "label": "Tags", + "max_length": 128 + } + }, + "updated_at": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Updated at", + "help_text": "Moment of last object update." + } + } + } + }, + "inputs_ids": { + "type": "field", + "required": false, + "read_only": true, + "label": "inputs_ids" + }, + "is_using_lofar2_stations": { + "type": "field", + "required": false, + "read_only": true, + "label": "Is using lofar2 stations" + }, + "obsolete_since": { + "type": "datetime", + "required": false, + "read_only": false, + "label": "Obsolete since", + "help_text": "When this subtask was marked obsolete, or NULL if not obsolete (NULLable)." + }, + "on_sky_duration": { + "type": "field", + "required": false, + "read_only": true, + "label": "On sky duration", + "help_text": "The scheduled/actual duration the observation was on sky (NULLable)." + }, + "on_sky_start_time": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "On sky start time", + "help_text": "The time the observation actually started receiving data from the sky when actual_on_sky_start_time is known else the scheduled_start_time. Is NULL for non-observations. (NULLable)." + }, + "on_sky_stop_time": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "On sky stop time", + "help_text": "The time the observation actually stopped receiving data from the sky when actual_on_sky_stop_time is known else the scheduled_stop_time Is NULL for non-observations. (NULLable)." + }, + "outputs": { + "type": "field", + "required": false, + "read_only": true, + "label": "Outputs", + "child": { + "type": "nested object", + "required": false, + "read_only": true, + "children": { + "id": { + "type": "integer", + "required": false, + "read_only": true, + "label": "ID" + }, + "url": { + "type": "field", + "required": false, + "read_only": true, + "label": "Url" + }, + "consumers": { + "type": "field", + "required": false, + "read_only": true, + "label": "Consumers" + }, + "consumers_ids": { + "type": "field", + "required": false, + "read_only": true, + "label": "consumers_ids" + }, + "created_at": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Created at", + "help_text": "Moment of object creation." + }, + "dataproducts": { + "type": "field", + "required": false, + "read_only": true, + "label": "Dataproducts" + }, + "dataproducts_ids": { + "type": "field", + "required": false, + "read_only": true, + "label": "dataproducts_ids" + }, + "filesystem": { + "type": "field", + "required": true, + "read_only": false, + "label": "Filesystem", + "help_text": "The filesystem that all dataproducts that this output produces are written to" + }, + "filesystem_id": { + "type": "field", + "required": false, + "read_only": true, + "label": "Filesystem id" + }, + "output_role": { + "type": "nested object", + "required": false, + "read_only": true, + "label": "Output role", + "help_text": "The connector type which defines what kind of data this subtask produces.", + "children": { + "id": { + "type": "integer", + "required": false, + "read_only": true, + "label": "ID" + }, + "url": { + "type": "field", + "required": false, + "read_only": true, + "label": "Url" + }, + "dataformat": { + "type": "field", + "required": true, + "read_only": false, + "label": "Dataformat" + }, + "dataformat_value": { + "type": "field", + "required": false, + "read_only": true, + "label": "dataformat_value" + }, + "datatype": { + "type": "field", + "required": true, + "read_only": false, + "label": "Datatype" + }, + "datatype_value": { + "type": "field", + "required": false, + "read_only": true, + "label": "datatype_value" + }, + "iotype": { + "type": "field", + "required": true, + "read_only": false, + "label": "Iotype", + "help_text": "Is this connector an input or output" + }, + "iotype_value": { + "type": "field", + "required": false, + "read_only": true, + "label": "iotype_value" + }, + "role": { + "type": "field", + "required": true, + "read_only": false, + "label": "Role" + }, + "role_value": { + "type": "field", + "required": false, + "read_only": true, + "label": "role_value" + }, + "task_template": { + "type": "field", + "required": true, + "read_only": false, + "label": "Task template" + }, + "task_template_id": { + "type": "field", + "required": false, + "read_only": true, + "label": "Task template id" + } + } + }, + "output_role_id": { + "type": "field", + "required": false, + "read_only": true, + "label": "Output role id" + }, + "subtask": { + "type": "field", + "required": true, + "read_only": false, + "label": "Subtask", + "help_text": "Subtask to which this output specification refers." + }, + "subtask_id": { + "type": "field", + "required": false, + "read_only": true, + "label": "Subtask id" + }, + "tags": { + "type": "list", + "required": false, + "read_only": false, + "label": "Tags", + "help_text": "User-defined search keywords for object.", + "child": { + "type": "string", + "required": true, + "read_only": false, + "label": "Tags", + "max_length": 128 + } + }, + "total_nr_of_dataproducts": { + "type": "integer", + "required": false, + "read_only": true, + "label": "Total nr of dataproducts", + "help_text": "Total number of dataproducts in this output." + }, + "total_size_of_dataproducts": { + "type": "integer", + "required": false, + "read_only": true, + "label": "Total size of dataproducts", + "help_text": "Total summed size of all dataproducts in this output, in bytes." + }, + "total_size_of_dataproducts_on_filesysem": { + "type": "integer", + "required": false, + "read_only": true, + "label": "Total size of dataproducts on filesysem", + "help_text": "Total summed size of all non-deleleted dataproducts in this output, in bytes." + }, + "updated_at": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Updated at", + "help_text": "Moment of last object update." + } + } + } + }, + "outputs_ids": { + "type": "field", + "required": false, + "read_only": true, + "label": "outputs_ids" + }, + "primary": { + "type": "boolean", + "required": true, + "read_only": false, + "label": "Primary" + }, + "process_start_time": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Process start time", + "help_text": "The time the process actually started when actual_process_start_time is known else the scheduled_start_time. (NULLable)." + }, + "process_stop_time": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Process stop time", + "help_text": "The time the process actually stopped when actual_process_stop_time is known else the scheduled_stop_time (NULLable)." + }, + "processing_feedback_doc": { + "type": "field", + "required": false, + "read_only": false, + "label": "Processing feedback doc" + }, + "processing_feedback_template": { + "type": "field", + "required": false, + "read_only": false, + "label": "Processing feedback template", + "help_text": "Schema used for processing_feedback_doc." + }, + "processing_feedback_template_id": { + "type": "field", + "required": false, + "read_only": true, + "label": "Processing feedback template id" + }, + "project": { + "type": "field", + "required": false, + "read_only": true, + "label": "project", + "help_text": "The project this subtask belongs to." + }, + "scheduled_central_lst": { + "type": "time", + "required": false, + "read_only": true, + "label": "Scheduled central lst", + "help_text": "The scheduled central local sidereal time (Computed for CS002 from scheduled_start_time and scheduled_stop_time)." + }, + "scheduled_start_time": { + "type": "datetime", + "required": false, + "read_only": false, + "label": "Scheduled start time", + "help_text": "The time we want the subtask to start (NULLable). For observations that means: the moment the telescope should be receiving data from the sky. For pipelines/others: the moment the subtask should running." + }, + "scheduled_stop_time": { + "type": "datetime", + "required": false, + "read_only": false, + "label": "Scheduled stop time", + "help_text": "The time we want the subtask to stop (NULLable)." + }, + "specifications_doc": { + "type": "field", + "required": true, + "read_only": false, + "label": "Specifications doc" + }, + "specifications_template": { + "type": "field", + "required": true, + "read_only": false, + "label": "Specifications template", + "help_text": "Schema used for specifications_doc." + }, + "specifications_template_id": { + "type": "field", + "required": false, + "read_only": true, + "label": "Specifications template id" + }, + "state": { + "type": "field", + "required": true, + "read_only": false, + "label": "State", + "help_text": "Subtask state (see Subtask State Machine)." + }, + "state_value": { + "type": "field", + "required": false, + "read_only": true, + "label": "state_value" + }, + "subtask_type": { + "type": "field", + "required": false, + "read_only": true, + "label": "subtask_type", + "help_text": "The subtask type as defined in the specifications template, provided here to safe an addition lookup." + }, + "tags": { + "type": "list", + "required": false, + "read_only": false, + "label": "Tags", + "help_text": "User-defined search keywords for object.", + "child": { + "type": "string", + "required": true, + "read_only": false, + "label": "Tags", + "max_length": 128 + } + }, + "task_blueprint": { + "type": "field", + "required": true, + "read_only": false, + "label": "Task blueprint", + "help_text": "The parent TaskBlueprint." + }, + "task_blueprint_id": { + "type": "field", + "required": false, + "read_only": true, + "label": "Task blueprint id" + }, + "total_nr_of_dataproducts": { + "type": "integer", + "required": false, + "read_only": true, + "label": "Total nr of dataproducts", + "help_text": "Total number of output dataproducts." + }, + "total_size_of_dataproducts": { + "type": "integer", + "required": false, + "read_only": true, + "label": "Total size of dataproducts", + "help_text": "Total summed size of all output dataproducts, in bytes." + }, + "total_size_of_dataproducts_on_filesysem": { + "type": "integer", + "required": false, + "read_only": true, + "label": "Total size of dataproducts on filesysem", + "help_text": "Total summed size of all non-deleleted output dataproducts, in bytes." + }, + "unschedulable_reason": { + "type": "string", + "required": false, + "read_only": true, + "label": "Unschedulable reason", + "help_text": "Reason why the Subtask is unschedulable. Is automatically reset when status is no longer unschedulable." + }, + "updated_at": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Updated at", + "help_text": "Moment of last object update." + } + } + } + }, + "subtasks_ids": { + "type": "field", + "required": false, + "read_only": true, + "label": "subtasks_ids" + }, + "tags": { + "type": "list", + "required": false, + "read_only": false, + "label": "Tags", + "help_text": "User-defined search keywords for object.", + "child": { + "type": "string", + "required": true, + "read_only": false, + "label": "Tags", + "max_length": 128 + } + }, + "task_type": { + "type": "field", + "required": false, + "read_only": true, + "label": "task_type", + "help_text": "The task type as defined in the specifications template." + }, + "unschedulable_reason": { + "type": "field", + "required": false, + "read_only": true, + "label": "Unschedulable reason" + }, + "updated_at": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Updated at", + "help_text": "Moment of last object update." + } + } + } + }, + "task_blueprints_ids": { + "type": "field", + "required": false, + "read_only": true, + "label": "task_blueprints_ids" + }, + "unschedulable_reason": { + "type": "field", + "required": false, + "read_only": true, + "label": "Unschedulable reason" + }, + "updated_at": { + "type": "datetime", + "required": false, + "read_only": true, + "label": "Updated at", + "help_text": "Moment of last object update." + } + } + }, + "filters": { + "id": { + "type": "NumberInFilter", + "lookup_types": [ + "exact" + ] + }, + "tags": { + "type": "CharFilter", + "lookup_types": [ + "exact" + ] + }, + "created_at": { + "type": "IsoDateTimeFromToRangeFilter", + "lookup_types": [ + "exact" + ] + }, + "updated_at": { + "type": "IsoDateTimeFromToRangeFilter", + "lookup_types": [ + "exact" + ] + }, + "name": { + "type": "CharFilter", + "lookup_types": [ + "exact" + ] + }, + "description": { + "type": "CharFilter", + "lookup_types": [ + "exact" + ] + }, + "scheduled_start_time": { + "type": "IsoDateTimeFromToRangeFilter", + "lookup_types": [ + "exact" + ] + }, + "scheduled_stop_time": { + "type": "IsoDateTimeFromToRangeFilter", + "lookup_types": [ + "exact" + ] + }, + "actual_process_start_time": { + "type": "IsoDateTimeFromToRangeFilter", + "lookup_types": [ + "exact" + ] + }, + "actual_process_stop_time": { + "type": "IsoDateTimeFromToRangeFilter", + "lookup_types": [ + "exact" + ] + }, + "actual_on_sky_start_time": { + "type": "IsoDateTimeFromToRangeFilter", + "lookup_types": [ + "exact" + ] + }, + "actual_on_sky_stop_time": { + "type": "IsoDateTimeFromToRangeFilter", + "lookup_types": [ + "exact" + ] + }, + "process_start_time": { + "type": "IsoDateTimeFromToRangeFilter", + "lookup_types": [ + "exact" + ] + }, + "process_stop_time": { + "type": "IsoDateTimeFromToRangeFilter", + "lookup_types": [ + "exact" + ] + }, + "on_sky_start_time": { + "type": "IsoDateTimeFromToRangeFilter", + "lookup_types": [ + "exact" + ] + }, + "on_sky_stop_time": { + "type": "IsoDateTimeFromToRangeFilter", + "lookup_types": [ + "exact" + ] + }, + "observed_start_time": { + "type": "DateTimeFilter", + "lookup_types": [ + "exact" + ] + }, + "observed_stop_time": { + "type": "DateTimeFilter", + "lookup_types": [ + "exact" + ] + }, + "on_sky_duration": { + "type": "DurationFilter", + "lookup_types": [ + "exact" + ] + }, + "observed_duration": { + "type": "DurationFilter", + "lookup_types": [ + "exact" + ] + }, + "duration": { + "type": "DurationFilter", + "lookup_types": [ + "exact" + ] + }, + "obsolete_since": { + "type": "DateTimeFilter", + "lookup_types": [ + "exact" + ] + }, + "status": { + "type": "MultipleChoiceFilter", + "lookup_types": [ + "exact" + ], + "choices": [ + { + "value": "defined", + "display_name": "defined" + }, + { + "value": "finished", + "display_name": "finished" + }, + { + "value": "cancelled", + "display_name": "cancelled" + }, + { + "value": "error", + "display_name": "error" + }, + { + "value": "observing", + "display_name": "observing" + }, + { + "value": "observed", + "display_name": "observed" + }, + { + "value": "processing", + "display_name": "processing" + }, + { + "value": "processed", + "display_name": "processed" + }, + { + "value": "ingesting", + "display_name": "ingesting" + }, + { + "value": "ingested", + "display_name": "ingested" + }, + { + "value": "scheduled", + "display_name": "scheduled" + }, + { + "value": "schedulable", + "display_name": "schedulable" + }, + { + "value": "unschedulable", + "display_name": "unschedulable" + } + ] + }, + "ingest_permission_required": { + "type": "BooleanFilter", + "lookup_types": [ + "exact" + ] + }, + "ingest_permission_granted_since": { + "type": "DateTimeFilter", + "lookup_types": [ + "exact" + ] + }, + "specifications_template": { + "type": "ModelChoiceFilter", + "lookup_types": [ + "exact" + ] + }, + "draft": { + "type": "ModelChoiceInFilter", + "lookup_types": [ + "exact" + ] + }, + "output_pinned": { + "type": "BooleanFilter", + "lookup_types": [ + "exact" + ] + }, + "piggyback_allowed_tbb": { + "type": "BooleanFilter", + "lookup_types": [ + "exact" + ] + }, + "piggyback_allowed_aartfaac": { + "type": "BooleanFilter", + "lookup_types": [ + "exact" + ] + }, + "rank": { + "type": "RangeFilter", + "lookup_types": [ + "exact" + ] + }, + "priority_queue": { + "type": "ModelChoiceFilter", + "lookup_types": [ + "exact" + ] + }, + "scheduling_constraints_doc": { + "type": "CharFilter", + "lookup_types": [ + "exact" + ] + }, + "scheduling_constraints_template": { + "type": "ModelChoiceFilter", + "lookup_types": [ + "exact" + ] + }, + "interrupts_telescope": { + "type": "BooleanFilter", + "lookup_types": [ + "exact" + ] + }, + "results_accepted": { + "type": "BooleanFilter", + "lookup_types": [ + "exact" + ] + }, + "global_identifier": { + "type": "ModelChoiceFilter", + "lookup_types": [ + "exact" + ] + }, + "project": { + "type": "CharFilter", + "lookup_types": [ + "exact" + ] + }, + "id_min": { + "type": "NumberFilter", + "lookup_types": [ + "exact" + ] + }, + "id_max": { + "type": "NumberFilter", + "lookup_types": [ + "exact" + ] + }, + "duration_min": { + "type": "DurationFilter", + "lookup_types": [ + "exact" + ] + }, + "duration_max": { + "type": "DurationFilter", + "lookup_types": [ + "exact" + ] + }, + "on_sky_duration_min": { + "type": "DurationFilter", + "lookup_types": [ + "exact" + ] + }, + "on_sky_duration_max": { + "type": "DurationFilter", + "lookup_types": [ + "exact" + ] + }, + "observed_duration_min": { + "type": "DurationFilter", + "lookup_types": [ + "exact" + ] + }, + "observed_duration_max": { + "type": "DurationFilter", + "lookup_types": [ + "exact" + ] + }, + "draft_min": { + "type": "NumberFilter", + "lookup_types": [ + "exact" + ] + }, + "draft_max": { + "type": "NumberFilter", + "lookup_types": [ + "exact" + ] + }, + "angle1": { + "type": "TargetObservationSpecificationDocFloatRangeFilter", + "lookup_types": [ + "exact" + ] + }, + "angle2": { + "type": "TargetObservationSpecificationDocFloatRangeFilter", + "lookup_types": [ + "exact" + ] + }, + "direction_type": { + "type": "TargetObservationSpecificationFilterCharFilter", + "lookup_types": [ + "exact" + ] + }, + "scheduling_set": { + "type": "CharFilter", + "lookup_types": [ + "exact" + ] + }, + "observation_strategy_template": { + "type": "ModelChoiceFilter", + "lookup_types": [ + "exact" + ] + }, + "observation_strategy_template_name": { + "type": "CharFilter", + "lookup_types": [ + "exact" + ] + }, + "observation_strategy_template_description": { + "type": "CharFilter", + "lookup_types": [ + "exact" + ] + } + }, + "ordering": [ + "id", + "tags", + "created_at", + "updated_at", + "name", + "description", + "scheduled_start_time", + "scheduled_stop_time", + "actual_process_start_time", + "actual_process_stop_time", + "actual_on_sky_start_time", + "actual_on_sky_stop_time", + "process_start_time", + "process_stop_time", + "on_sky_start_time", + "on_sky_stop_time", + "observed_start_time", + "observed_stop_time", + "on_sky_duration", + "observed_duration", + "duration", + "obsolete_since", + "status", + "ingest_permission_required", + "ingest_permission_granted_since", + "specifications_template", + "draft", + "output_pinned", + "piggyback_allowed_tbb", + "piggyback_allowed_aartfaac", + "rank", + "priority_queue", + "scheduling_constraints_doc", + "scheduling_constraints_template", + "interrupts_telescope", + "results_accepted", + "global_identifier" + ] +} \ No newline at end of file diff --git a/SAS/TMSS/frontend/tmss_webapp/src/__mocks__/reservation.data.json b/SAS/TMSS/frontend/tmss_webapp/src/__mocks__/reservation.data.json new file mode 100644 index 0000000000000000000000000000000000000000..81b4327fa64619ea509bdd94011e15d1aadd9044 --- /dev/null +++ b/SAS/TMSS/frontend/tmss_webapp/src/__mocks__/reservation.data.json @@ -0,0 +1,7101 @@ +{ + "count": 7, + "next": null, + "previous": null, + "results": [ + { + "id": 3, + "url": "https://tmss.lofar.eu/api/reservation_template/3", + "created_at": "2022-03-28T10:53:10.466566", + "description": "This schema defines the parameters to reserve instrument resources, and to annotate the reservation.", + "name": "reservation", + "purpose": "https://tmss.lofar.eu/api/template_purpose/technical_commissioning", + "purpose_value": "technical_commissioning", + "ref_resolved_schema": { + "$id": "https://tmss.lofar.eu/api/schemas/reservationtemplate/reservation/2/ref_resolved", + "type": "object", + "title": "reservation", + "$schema": "http://json-schema.org/draft-06/schema#", + "version": 2, + "required": [ + "activity", + "resources", + "effects" + ], + "properties": { + "effects": { + "type": "object", + "title": "Effect", + "default": {}, + "required": [], + "properties": { + "expert": { + "type": "boolean", + "title": "Expert mode", + "default": true, + "description": "Quality cannot be guaranteed" + }, + "hba_rfi": { + "type": "boolean", + "title": "HBA RFI", + "default": false, + "description": "RFI increases in the HBA spectrum during this maintenance" + }, + "lba_rfi": { + "type": "boolean", + "title": "LBA RFI", + "default": false, + "description": "RFI increases in the LBA spectrum during this maintenance" + } + }, + "description": "Effect the actions have during this reservation", + "additonalProperties": false + }, + "activity": { + "type": "object", + "title": "Activity", + "default": {}, + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "maintenance", + "test", + "upgrade", + "outage", + "pr", + "stand-alone mode", + "test system", + "other", + "mowing", + "stopday", + "software rollout", + "windmill standstill" + ], + "type": "string", + "title": "Type", + "default": "maintenance", + "description": "Reason for this reservation" + }, + "contact": { + "type": "string", + "title": "Contact", + "default": "", + "description": "Who coordinates this maintenance" + }, + "planned": { + "type": "boolean", + "title": "Planned", + "default": true, + "description": "Was this planned?" + }, + "subject": { + "enum": [ + "environment", + "hardware", + "firmware", + "software", + "system", + "network", + "nothing" + ], + "type": "string", + "title": "Subject", + "default": "nothing", + "description": "What will be modified or affected (select 'system' if multiple)" + }, + "description": { + "type": "string", + "title": "Description", + "default": "", + "description": "Free-form explanation of the reason" + } + }, + "description": "Description of the activity during this reservation", + "additonalProperties": false + }, + "resources": { + "type": "object", + "title": "Resources", + "default": {}, + "required": [], + "properties": { + "stations": { + "$ref": "#/definitions/station_list", + "title": "Stations", + "description": "List of stations" + } + }, + "description": "Which resources are affected", + "additonalProperties": false + }, + "schedulability": { + "type": "object", + "title": "Schedulability", + "default": {}, + "properties": { + "dynamic": { + "type": "boolean", + "title": "Dynamic", + "default": false, + "description": "Dynamic scheduling is allowed" + }, + "fixed_time": { + "type": "boolean", + "title": "Fixed time", + "default": true, + "description": "Fixed time scheduling is allowed" + }, + "project_exclusive": { + "type": "boolean", + "title": "Schedule only for this project", + "default": true, + "description": "Only tasks from this project can be scheduled" + } + }, + "description": "Schedulability of the reserved resources", + "additonalProperties": false + } + }, + "description": "This schema defines the parameters to reserve instrument resources, and to annotate the reservation.", + "patternProperties": { + "^[$]schema$": {} + }, + "additionalProperties": false, + "definitions": { + "station_list": { + "additionalItems": false, + "additionalProperties": false, + "default": [], + "items": { + "$ref": "#/definitions/station" + }, + "minItems": 0, + "type": "array", + "uniqueItems": true + }, + "station": { + "description": "These are the LOFAR stations", + "enum": [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "FR606", + "SE607", + "UK608", + "DE609", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ], + "title": "Station", + "type": "string" + }, + "max_number_of_missing_stations": { + "default": 0, + "description": "Maximum number of stations that can be omitted from a group (due to maintenance for example)", + "minimum": 0, + "title": "Maximum number of stations to omit", + "type": "integer" + }, + "pointing": { + "additionalProperties": false, + "properties": { + "angle1": { + "default": 0.6624317181687094, + "description": "First angle (e.g. RA)", + "title": "Angle 1", + "type": "number" + }, + "angle2": { + "default": 1.5579526427549426, + "description": "Second angle (e.g. DEC)", + "title": "Angle 2", + "type": "number" + }, + "direction_type": { + "default": "J2000", + "description": "", + "enum": [ + "J2000", + "AZELGEO", + "LMN", + "SUN", + "MOON", + "MERCURY", + "VENUS", + "MARS", + "JUPITER", + "SATURN", + "URANUS", + "NEPTUNE", + "PLUTO" + ], + "title": "Reference frame", + "type": "string" + }, + "target": { + "default": "_target_name_", + "description": "Description of where this beam points at", + "minLength": 1, + "title": "Target", + "type": "string" + } + }, + "required": [ + "angle1", + "angle2", + "target" + ], + "type": "object" + }, + "station_group": { + "anyOf": [ + { + "additionalProperties": false, + "default": { + "max_nr_missing": 0, + "stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007" + ] + }, + "description": "The group of all stations on the Superterp", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Superterp", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 4, + "stations": [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501" + ] + }, + "description": "The group of all Core stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Core", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 4, + "stations": [ + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509" + ] + }, + "description": "The group of all Dutch remote stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Remote", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 4, + "stations": [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509" + ] + }, + "description": "The group of all Dutch (Core + Remote) stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Dutch", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 2, + "stations": [ + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "SE607", + "UK608", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ] + }, + "description": "The group of all international stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "SE607", + "UK608", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "International", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 1, + "stations": [ + "DE601", + "DE605" + ] + }, + "description": "A subgroup of the international stations which are required when doing observation with international stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "DE601", + "DE605" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "International required", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 6, + "stations": [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "SE607", + "UK608", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ] + }, + "description": "The group of all (Core + Remote + International) stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "SE607", + "UK608", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "All", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 0, + "stations": [ + "CS001" + ] + }, + "description": "A custom group of stations which can be defined by the user", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list" + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Custom", + "type": "object" + } + ], + "default": { + "max_nr_missing": 1, + "stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007" + ] + }, + "description": "A set of predefined list of stations, and a constraint on how many stations are allowed to be missing (due to maintenance for example)", + "title": "Station group", + "type": "object" + }, + "antenna_set": { + "default": "HBA_DUAL", + "description": "Fields & antennas to use", + "enum": [ + "HBA_DUAL", + "HBA_DUAL_INNER", + "HBA_ONE", + "HBA_ONE_INNER", + "HBA_ZERO", + "HBA_ZERO_INNER", + "LBA_INNER", + "LBA_OUTER", + "LBA_SPARSE_EVEN", + "LBA_SPARSE_ODD", + "LBA_ALL" + ], + "title": "Antenna set", + "type": "string" + } + } + }, + "schema": { + "$id": "https://tmss.lofar.eu/api/schemas/reservationtemplate/reservation/2#", + "type": "object", + "title": "reservation", + "$schema": "http://json-schema.org/draft-06/schema#", + "version": 2, + "required": [ + "activity", + "resources", + "effects" + ], + "properties": { + "effects": { + "type": "object", + "title": "Effect", + "default": {}, + "required": [], + "properties": { + "expert": { + "type": "boolean", + "title": "Expert mode", + "default": true, + "description": "Quality cannot be guaranteed" + }, + "hba_rfi": { + "type": "boolean", + "title": "HBA RFI", + "default": false, + "description": "RFI increases in the HBA spectrum during this maintenance" + }, + "lba_rfi": { + "type": "boolean", + "title": "LBA RFI", + "default": false, + "description": "RFI increases in the LBA spectrum during this maintenance" + } + }, + "description": "Effect the actions have during this reservation", + "additonalProperties": false + }, + "activity": { + "type": "object", + "title": "Activity", + "default": {}, + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "maintenance", + "test", + "upgrade", + "outage", + "pr", + "stand-alone mode", + "test system", + "other", + "mowing", + "stopday", + "software rollout", + "windmill standstill" + ], + "type": "string", + "title": "Type", + "default": "maintenance", + "description": "Reason for this reservation" + }, + "contact": { + "type": "string", + "title": "Contact", + "default": "", + "description": "Who coordinates this maintenance" + }, + "planned": { + "type": "boolean", + "title": "Planned", + "default": true, + "description": "Was this planned?" + }, + "subject": { + "enum": [ + "environment", + "hardware", + "firmware", + "software", + "system", + "network", + "nothing" + ], + "type": "string", + "title": "Subject", + "default": "nothing", + "description": "What will be modified or affected (select 'system' if multiple)" + }, + "description": { + "type": "string", + "title": "Description", + "default": "", + "description": "Free-form explanation of the reason" + } + }, + "description": "Description of the activity during this reservation", + "additonalProperties": false + }, + "resources": { + "type": "object", + "title": "Resources", + "default": {}, + "required": [], + "properties": { + "stations": { + "$ref": "https://tmss.lofar.eu/api/schemas/commonschematemplate/stations/2#/definitions/station_list", + "title": "Stations", + "description": "List of stations" + } + }, + "description": "Which resources are affected", + "additonalProperties": false + }, + "schedulability": { + "type": "object", + "title": "Schedulability", + "default": {}, + "properties": { + "dynamic": { + "type": "boolean", + "title": "Dynamic", + "default": false, + "description": "Dynamic scheduling is allowed" + }, + "fixed_time": { + "type": "boolean", + "title": "Fixed time", + "default": true, + "description": "Fixed time scheduling is allowed" + }, + "project_exclusive": { + "type": "boolean", + "title": "Schedule only for this project", + "default": true, + "description": "Only tasks from this project can be scheduled" + } + }, + "description": "Schedulability of the reserved resources", + "additonalProperties": false + } + }, + "description": "This schema defines the parameters to reserve instrument resources, and to annotate the reservation.", + "patternProperties": { + "^[$]schema$": {} + }, + "additionalProperties": false + }, + "state": "https://tmss.lofar.eu/api/template_state/legacy", + "state_value": "legacy", + "tags": [], + "updated_at": "2023-07-05T13:30:41.960225", + "version": 2 + }, + { + "id": 5, + "url": "https://tmss.lofar.eu/api/reservation_template/5", + "created_at": "2022-06-20T13:41:59.089198", + "description": "This schema defines the parameters to reserve instrument resources, and to annotate the reservation.", + "name": "reservation", + "purpose": "https://tmss.lofar.eu/api/template_purpose/technical_commissioning", + "purpose_value": "technical_commissioning", + "ref_resolved_schema": { + "$id": "https://tmss.lofar.eu/api/schemas/reservationtemplate/reservation/4/ref_resolved", + "type": "object", + "title": "reservation", + "$schema": "http://json-schema.org/draft-06/schema#", + "version": 4, + "required": [ + "activity", + "resources", + "effects" + ], + "properties": { + "effects": { + "type": "object", + "title": "Effect", + "default": {}, + "required": [], + "properties": { + "expert": { + "type": "boolean", + "title": "Expert mode", + "default": true, + "description": "Quality cannot be guaranteed" + }, + "hba_rfi": { + "type": "boolean", + "title": "HBA RFI", + "default": false, + "description": "RFI increases in the HBA spectrum during this maintenance" + }, + "lba_rfi": { + "type": "boolean", + "title": "LBA RFI", + "default": false, + "description": "RFI increases in the LBA spectrum during this maintenance" + } + }, + "description": "Effect the actions have during this reservation", + "additonalProperties": false + }, + "activity": { + "type": "object", + "title": "Activity", + "default": {}, + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "maintenance", + "test", + "upgrade", + "outage", + "pr", + "stand-alone mode", + "test system", + "other", + "mowing", + "stopday", + "software rollout", + "windmill standstill" + ], + "type": "string", + "title": "Type", + "default": "maintenance", + "description": "Reason for this reservation" + }, + "contact": { + "type": "string", + "title": "Contact", + "default": "", + "description": "Who coordinates this maintenance" + }, + "planned": { + "type": "boolean", + "title": "Planned", + "default": true, + "description": "Was this planned?" + }, + "subject": { + "enum": [ + "environment", + "hardware", + "firmware", + "software", + "system", + "network", + "nothing" + ], + "type": "string", + "title": "Subject", + "default": "nothing", + "description": "What will be modified or affected (select 'system' if multiple)" + }, + "description": { + "type": "string", + "title": "Description", + "default": "", + "description": "Free-form explanation of the reason" + } + }, + "description": "Description of the activity during this reservation", + "additonalProperties": false + }, + "resources": { + "type": "object", + "title": "Resources", + "default": {}, + "required": [], + "properties": { + "stations": { + "$ref": "#/definitions/station_list", + "title": "Stations", + "description": "List of stations" + } + }, + "description": "Which resources are affected", + "additonalProperties": false + }, + "schedulability": { + "type": "object", + "title": "Schedulability", + "default": {}, + "properties": { + "dynamic": { + "type": "boolean", + "title": "Dynamic", + "default": false, + "description": "Dynamic scheduling is allowed" + }, + "fixed_time": { + "type": "boolean", + "title": "Fixed time", + "default": true, + "description": "Fixed time scheduling is allowed" + }, + "project_exclusive": { + "type": "boolean", + "title": "Schedule only for this project", + "default": true, + "description": "Only tasks from this project can be scheduled" + } + }, + "description": "Schedulability of the reserved resources", + "additonalProperties": false + } + }, + "description": "This schema defines the parameters to reserve instrument resources, and to annotate the reservation.", + "patternProperties": { + "^[$]schema$": {} + }, + "additionalProperties": false, + "definitions": { + "station_list": { + "additionalItems": false, + "additionalProperties": false, + "default": [], + "items": { + "$ref": "#/definitions/station" + }, + "minItems": 0, + "type": "array", + "uniqueItems": true + }, + "max_number_of_missing_stations": { + "default": 0, + "description": "Maximum number of stations that can be omitted from a group (due to maintenance for example)", + "minimum": 0, + "title": "Maximum number of stations to omit", + "type": "integer" + }, + "antenna_type": { + "default": "HBA", + "enum": [ + "LBA", + "HBA" + ], + "title": "Antenna Type", + "type": "string" + }, + "station_group": { + "anyOf": [ + { + "additionalProperties": false, + "default": { + "max_nr_missing": 0, + "stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007" + ] + }, + "description": "The group of all stations on the Superterp", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Superterp", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 4, + "stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501" + ] + }, + "description": "The group of all Core stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Core", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 4, + "stations": [ + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509" + ] + }, + "description": "The group of all Dutch remote stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Remote", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 4, + "stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509" + ] + }, + "description": "The group of all Dutch (Core + Remote) stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Dutch", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 2, + "stations": [ + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "SE607", + "UK608", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ] + }, + "description": "The group of all international stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "SE607", + "UK608", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "International", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 1, + "stations": [ + "DE601", + "DE605" + ] + }, + "description": "A subgroup of the international stations which are required when doing observation with international stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "DE601", + "DE605" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "International required", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 6, + "stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "SE607", + "UK608", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ] + }, + "description": "The group of all (Core + Remote + International) stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "SE607", + "UK608", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "All", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 0, + "stations": [ + "CS002" + ] + }, + "description": "A custom group of stations which can be defined by the user", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list" + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Custom", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 0, + "stations": [ + "CS001" + ] + }, + "description": "All LOFAR2 stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "CS001" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "LOFAR2", + "type": "object" + } + ], + "default": { + "max_nr_missing": 1, + "stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007" + ] + }, + "description": "A set of predefined list of stations, and a constraint on how many stations are allowed to be missing (due to maintenance for example)", + "title": "Station group", + "type": "object" + }, + "antenna_field": { + "default": "HBA", + "enum": [ + "LBA", + "HBA", + "HBA0", + "HBA1" + ], + "title": "Antenna Field", + "type": "string" + }, + "station": { + "description": "These are all LOFAR (1 and 2) stations", + "enum": [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "FR606", + "SE607", + "UK608", + "DE609", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ], + "title": "Station", + "type": "string" + }, + "pointing": { + "additionalProperties": false, + "properties": { + "angle1": { + "default": 0.6624317181687094, + "description": "First angle (e.g. RA)", + "title": "Angle 1", + "type": "number" + }, + "angle2": { + "default": 1.5579526427549426, + "description": "Second angle (e.g. DEC)", + "title": "Angle 2", + "type": "number" + }, + "direction_type": { + "default": "J2000", + "description": "", + "enum": [ + "J2000", + "AZELGEO", + "LMN", + "SUN", + "MOON", + "MERCURY", + "VENUS", + "MARS", + "JUPITER", + "SATURN", + "URANUS", + "NEPTUNE", + "PLUTO" + ], + "title": "Reference frame", + "type": "string" + }, + "target": { + "default": "_target_name_", + "description": "Description of where this beam points at", + "minLength": 1, + "title": "Target", + "type": "string" + } + }, + "required": [ + "angle1", + "angle2", + "target" + ], + "type": "object" + }, + "antenna_set": { + "default": "HBA_DUAL", + "description": "Fields & antennas to use", + "enum": [ + "HBA_DUAL", + "HBA_DUAL_INNER", + "HBA_ONE", + "HBA_ONE_INNER", + "HBA_ZERO", + "HBA_ZERO_INNER", + "LBA_INNER", + "LBA_OUTER", + "LBA_SPARSE_EVEN", + "LBA_SPARSE_ODD", + "LBA_ALL" + ], + "title": "Antenna set", + "type": "string" + } + } + }, + "schema": { + "$id": "https://tmss.lofar.eu/api/schemas/reservationtemplate/reservation/4#", + "type": "object", + "title": "reservation", + "$schema": "http://json-schema.org/draft-06/schema#", + "version": 4, + "required": [ + "activity", + "resources", + "effects" + ], + "properties": { + "effects": { + "type": "object", + "title": "Effect", + "default": {}, + "required": [], + "properties": { + "expert": { + "type": "boolean", + "title": "Expert mode", + "default": true, + "description": "Quality cannot be guaranteed" + }, + "hba_rfi": { + "type": "boolean", + "title": "HBA RFI", + "default": false, + "description": "RFI increases in the HBA spectrum during this maintenance" + }, + "lba_rfi": { + "type": "boolean", + "title": "LBA RFI", + "default": false, + "description": "RFI increases in the LBA spectrum during this maintenance" + } + }, + "description": "Effect the actions have during this reservation", + "additonalProperties": false + }, + "activity": { + "type": "object", + "title": "Activity", + "default": {}, + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "maintenance", + "test", + "upgrade", + "outage", + "pr", + "stand-alone mode", + "test system", + "other", + "mowing", + "stopday", + "software rollout", + "windmill standstill" + ], + "type": "string", + "title": "Type", + "default": "maintenance", + "description": "Reason for this reservation" + }, + "contact": { + "type": "string", + "title": "Contact", + "default": "", + "description": "Who coordinates this maintenance" + }, + "planned": { + "type": "boolean", + "title": "Planned", + "default": true, + "description": "Was this planned?" + }, + "subject": { + "enum": [ + "environment", + "hardware", + "firmware", + "software", + "system", + "network", + "nothing" + ], + "type": "string", + "title": "Subject", + "default": "nothing", + "description": "What will be modified or affected (select 'system' if multiple)" + }, + "description": { + "type": "string", + "title": "Description", + "default": "", + "description": "Free-form explanation of the reason" + } + }, + "description": "Description of the activity during this reservation", + "additonalProperties": false + }, + "resources": { + "type": "object", + "title": "Resources", + "default": {}, + "required": [], + "properties": { + "stations": { + "$ref": "https://tmss.lofar.eu/api/schemas/commonschematemplate/stations/6#/definitions/station_list", + "title": "Stations", + "description": "List of stations" + } + }, + "description": "Which resources are affected", + "additonalProperties": false + }, + "schedulability": { + "type": "object", + "title": "Schedulability", + "default": {}, + "properties": { + "dynamic": { + "type": "boolean", + "title": "Dynamic", + "default": false, + "description": "Dynamic scheduling is allowed" + }, + "fixed_time": { + "type": "boolean", + "title": "Fixed time", + "default": true, + "description": "Fixed time scheduling is allowed" + }, + "project_exclusive": { + "type": "boolean", + "title": "Schedule only for this project", + "default": true, + "description": "Only tasks from this project can be scheduled" + } + }, + "description": "Schedulability of the reserved resources", + "additonalProperties": false + } + }, + "description": "This schema defines the parameters to reserve instrument resources, and to annotate the reservation.", + "patternProperties": { + "^[$]schema$": {} + }, + "additionalProperties": false + }, + "state": "https://tmss.lofar.eu/api/template_state/obsolete", + "state_value": "obsolete", + "tags": [], + "updated_at": "2023-06-30T09:14:58.548353", + "version": 4 + }, + { + "id": 4, + "url": "https://tmss.lofar.eu/api/reservation_template/4", + "created_at": "2022-05-30T12:56:30.571525", + "description": "This schema defines the parameters to reserve instrument resources, and to annotate the reservation.", + "name": "reservation", + "purpose": "https://tmss.lofar.eu/api/template_purpose/technical_commissioning", + "purpose_value": "technical_commissioning", + "ref_resolved_schema": { + "$id": "https://tmss.lofar.eu/api/schemas/reservationtemplate/reservation/3/ref_resolved", + "type": "object", + "title": "reservation", + "$schema": "http://json-schema.org/draft-06/schema#", + "version": 3, + "required": [ + "activity", + "resources", + "effects" + ], + "properties": { + "effects": { + "type": "object", + "title": "Effect", + "default": {}, + "required": [], + "properties": { + "expert": { + "type": "boolean", + "title": "Expert mode", + "default": true, + "description": "Quality cannot be guaranteed" + }, + "hba_rfi": { + "type": "boolean", + "title": "HBA RFI", + "default": false, + "description": "RFI increases in the HBA spectrum during this maintenance" + }, + "lba_rfi": { + "type": "boolean", + "title": "LBA RFI", + "default": false, + "description": "RFI increases in the LBA spectrum during this maintenance" + } + }, + "description": "Effect the actions have during this reservation", + "additonalProperties": false + }, + "activity": { + "type": "object", + "title": "Activity", + "default": {}, + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "maintenance", + "test", + "upgrade", + "outage", + "pr", + "stand-alone mode", + "test system", + "other", + "mowing", + "stopday", + "software rollout", + "windmill standstill" + ], + "type": "string", + "title": "Type", + "default": "maintenance", + "description": "Reason for this reservation" + }, + "contact": { + "type": "string", + "title": "Contact", + "default": "", + "description": "Who coordinates this maintenance" + }, + "planned": { + "type": "boolean", + "title": "Planned", + "default": true, + "description": "Was this planned?" + }, + "subject": { + "enum": [ + "environment", + "hardware", + "firmware", + "software", + "system", + "network", + "nothing" + ], + "type": "string", + "title": "Subject", + "default": "nothing", + "description": "What will be modified or affected (select 'system' if multiple)" + }, + "description": { + "type": "string", + "title": "Description", + "default": "", + "description": "Free-form explanation of the reason" + } + }, + "description": "Description of the activity during this reservation", + "additonalProperties": false + }, + "resources": { + "type": "object", + "title": "Resources", + "default": {}, + "required": [], + "properties": { + "stations": { + "$ref": "#/definitions/station_list", + "title": "Stations", + "description": "List of stations" + } + }, + "description": "Which resources are affected", + "additonalProperties": false + }, + "schedulability": { + "type": "object", + "title": "Schedulability", + "default": {}, + "properties": { + "dynamic": { + "type": "boolean", + "title": "Dynamic", + "default": false, + "description": "Dynamic scheduling is allowed" + }, + "fixed_time": { + "type": "boolean", + "title": "Fixed time", + "default": true, + "description": "Fixed time scheduling is allowed" + }, + "project_exclusive": { + "type": "boolean", + "title": "Schedule only for this project", + "default": true, + "description": "Only tasks from this project can be scheduled" + } + }, + "description": "Schedulability of the reserved resources", + "additonalProperties": false + } + }, + "description": "This schema defines the parameters to reserve instrument resources, and to annotate the reservation.", + "patternProperties": { + "^[$]schema$": {} + }, + "additionalProperties": false, + "definitions": { + "station_list": { + "additionalItems": false, + "additionalProperties": false, + "default": [], + "items": { + "$ref": "#/definitions/station" + }, + "minItems": 0, + "type": "array", + "uniqueItems": true + }, + "station": { + "description": "These are the LOFAR stations", + "enum": [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "FR606", + "SE607", + "UK608", + "DE609", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ], + "title": "Station", + "type": "string" + }, + "max_number_of_missing_stations": { + "default": 0, + "description": "Maximum number of stations that can be omitted from a group (due to maintenance for example)", + "minimum": 0, + "title": "Maximum number of stations to omit", + "type": "integer" + }, + "pointing": { + "additionalProperties": false, + "properties": { + "angle1": { + "default": 0.6624317181687094, + "description": "First angle (e.g. RA)", + "title": "Angle 1", + "type": "number" + }, + "angle2": { + "default": 1.5579526427549426, + "description": "Second angle (e.g. DEC)", + "title": "Angle 2", + "type": "number" + }, + "direction_type": { + "default": "J2000", + "description": "", + "enum": [ + "J2000", + "AZELGEO", + "LMN", + "SUN", + "MOON", + "MERCURY", + "VENUS", + "MARS", + "JUPITER", + "SATURN", + "URANUS", + "NEPTUNE", + "PLUTO" + ], + "title": "Reference frame", + "type": "string" + }, + "target": { + "default": "_target_name_", + "description": "Description of where this beam points at", + "minLength": 1, + "title": "Target", + "type": "string" + } + }, + "required": [ + "angle1", + "angle2", + "target" + ], + "type": "object" + }, + "station_group": { + "anyOf": [ + { + "additionalProperties": false, + "default": { + "max_nr_missing": 0, + "stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007" + ] + }, + "description": "The group of all stations on the Superterp", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Superterp", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 4, + "stations": [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501" + ] + }, + "description": "The group of all Core stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Core", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 4, + "stations": [ + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509" + ] + }, + "description": "The group of all Dutch remote stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Remote", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 4, + "stations": [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509" + ] + }, + "description": "The group of all Dutch (Core + Remote) stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Dutch", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 2, + "stations": [ + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "SE607", + "UK608", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ] + }, + "description": "The group of all international stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "SE607", + "UK608", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "International", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 1, + "stations": [ + "DE601", + "DE605" + ] + }, + "description": "A subgroup of the international stations which are required when doing observation with international stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "DE601", + "DE605" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "International required", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 6, + "stations": [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "SE607", + "UK608", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ] + }, + "description": "The group of all (Core + Remote + International) stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "SE607", + "UK608", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "All", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 0, + "stations": [ + "CS001" + ] + }, + "description": "A custom group of stations which can be defined by the user", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list" + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Custom", + "type": "object" + } + ], + "default": { + "max_nr_missing": 1, + "stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007" + ] + }, + "description": "A set of predefined list of stations, and a constraint on how many stations are allowed to be missing (due to maintenance for example)", + "title": "Station group", + "type": "object" + }, + "antenna_set": { + "default": "HBA_DUAL", + "description": "Fields & antennas to use", + "enum": [ + "HBA_DUAL", + "HBA_DUAL_INNER", + "HBA_ONE", + "HBA_ONE_INNER", + "HBA_ZERO", + "HBA_ZERO_INNER", + "LBA_INNER", + "LBA_OUTER", + "LBA_SPARSE_EVEN", + "LBA_SPARSE_ODD", + "LBA_ALL" + ], + "title": "Antenna set", + "type": "string" + } + } + }, + "schema": { + "$id": "https://tmss.lofar.eu/api/schemas/reservationtemplate/reservation/3#", + "type": "object", + "title": "reservation", + "$schema": "http://json-schema.org/draft-06/schema#", + "version": 3, + "required": [ + "activity", + "resources", + "effects" + ], + "properties": { + "effects": { + "type": "object", + "title": "Effect", + "default": {}, + "required": [], + "properties": { + "expert": { + "type": "boolean", + "title": "Expert mode", + "default": true, + "description": "Quality cannot be guaranteed" + }, + "hba_rfi": { + "type": "boolean", + "title": "HBA RFI", + "default": false, + "description": "RFI increases in the HBA spectrum during this maintenance" + }, + "lba_rfi": { + "type": "boolean", + "title": "LBA RFI", + "default": false, + "description": "RFI increases in the LBA spectrum during this maintenance" + } + }, + "description": "Effect the actions have during this reservation", + "additonalProperties": false + }, + "activity": { + "type": "object", + "title": "Activity", + "default": {}, + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "maintenance", + "test", + "upgrade", + "outage", + "pr", + "stand-alone mode", + "test system", + "other", + "mowing", + "stopday", + "software rollout", + "windmill standstill" + ], + "type": "string", + "title": "Type", + "default": "maintenance", + "description": "Reason for this reservation" + }, + "contact": { + "type": "string", + "title": "Contact", + "default": "", + "description": "Who coordinates this maintenance" + }, + "planned": { + "type": "boolean", + "title": "Planned", + "default": true, + "description": "Was this planned?" + }, + "subject": { + "enum": [ + "environment", + "hardware", + "firmware", + "software", + "system", + "network", + "nothing" + ], + "type": "string", + "title": "Subject", + "default": "nothing", + "description": "What will be modified or affected (select 'system' if multiple)" + }, + "description": { + "type": "string", + "title": "Description", + "default": "", + "description": "Free-form explanation of the reason" + } + }, + "description": "Description of the activity during this reservation", + "additonalProperties": false + }, + "resources": { + "type": "object", + "title": "Resources", + "default": {}, + "required": [], + "properties": { + "stations": { + "$ref": "https://tmss.lofar.eu/api/schemas/commonschematemplate/stations/2#/definitions/station_list", + "title": "Stations", + "description": "List of stations" + } + }, + "description": "Which resources are affected", + "additonalProperties": false + }, + "schedulability": { + "type": "object", + "title": "Schedulability", + "default": {}, + "properties": { + "dynamic": { + "type": "boolean", + "title": "Dynamic", + "default": false, + "description": "Dynamic scheduling is allowed" + }, + "fixed_time": { + "type": "boolean", + "title": "Fixed time", + "default": true, + "description": "Fixed time scheduling is allowed" + }, + "project_exclusive": { + "type": "boolean", + "title": "Schedule only for this project", + "default": true, + "description": "Only tasks from this project can be scheduled" + } + }, + "description": "Schedulability of the reserved resources", + "additonalProperties": false + } + }, + "description": "This schema defines the parameters to reserve instrument resources, and to annotate the reservation.", + "patternProperties": { + "^[$]schema$": {} + }, + "additionalProperties": false + }, + "state": "https://tmss.lofar.eu/api/template_state/obsolete", + "state_value": "obsolete", + "tags": [], + "updated_at": "2023-06-30T09:14:58.489950", + "version": 3 + }, + { + "id": 8, + "url": "https://tmss.lofar.eu/api/reservation_template/8", + "created_at": "2022-10-20T11:00:18.253402", + "description": "This schema defines the parameters to reserve instrument resources, and to annotate the reservation.", + "name": "reservation", + "purpose": "https://tmss.lofar.eu/api/template_purpose/technical_commissioning", + "purpose_value": "technical_commissioning", + "ref_resolved_schema": { + "$id": "https://tmss.lofar.eu/api/schemas/reservationtemplate/reservation/7/ref_resolved", + "type": "object", + "title": "reservation", + "$schema": "http://json-schema.org/draft-06/schema#", + "version": 7, + "required": [ + "activity", + "resources", + "effects" + ], + "properties": { + "effects": { + "type": "object", + "title": "Effect", + "default": {}, + "required": [], + "properties": { + "expert": { + "type": "boolean", + "title": "Expert mode", + "default": true, + "description": "Quality cannot be guaranteed" + }, + "hba_rfi": { + "type": "boolean", + "title": "HBA RFI", + "default": false, + "description": "RFI increases in the HBA spectrum during this maintenance" + }, + "lba_rfi": { + "type": "boolean", + "title": "LBA RFI", + "default": false, + "description": "RFI increases in the LBA spectrum during this maintenance" + } + }, + "description": "Effect the actions have during this reservation", + "additonalProperties": false + }, + "activity": { + "type": "object", + "title": "Activity", + "default": {}, + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "maintenance", + "test", + "upgrade", + "outage", + "pr", + "stand-alone mode", + "test system", + "other", + "mowing", + "stopday", + "software rollout", + "windmill standstill" + ], + "type": "string", + "title": "Type", + "default": "maintenance", + "description": "Reason for this reservation" + }, + "contact": { + "type": "string", + "title": "Contact", + "default": "", + "description": "Who coordinates this maintenance" + }, + "planned": { + "type": "boolean", + "title": "Planned", + "default": true, + "description": "Was this planned?" + }, + "subject": { + "enum": [ + "environment", + "hardware", + "firmware", + "software", + "system", + "network", + "nothing" + ], + "type": "string", + "title": "Subject", + "default": "nothing", + "description": "What will be modified or affected (select 'system' if multiple)" + }, + "description": { + "type": "string", + "title": "Description", + "default": "", + "description": "Free-form explanation of the reason" + } + }, + "description": "Description of the activity during this reservation", + "additonalProperties": false + }, + "resources": { + "type": "object", + "title": "Resources", + "default": {}, + "required": [], + "properties": { + "stations": { + "$ref": "#/definitions/station_list", + "title": "Stations", + "description": "List of stations" + } + }, + "description": "Which resources are affected", + "additonalProperties": false + }, + "schedulability": { + "type": "object", + "title": "Schedulability", + "default": {}, + "properties": { + "dynamic": { + "type": "boolean", + "title": "Dynamic", + "default": false, + "description": "Dynamic scheduling is allowed" + }, + "fixed_time": { + "type": "boolean", + "title": "Fixed time", + "default": true, + "description": "Fixed time scheduling is allowed" + }, + "project_exclusive": { + "type": "boolean", + "title": "Schedule only for this project", + "default": true, + "description": "Only tasks from this project can be scheduled" + } + }, + "description": "Schedulability of the reserved resources", + "additonalProperties": false + } + }, + "description": "This schema defines the parameters to reserve instrument resources, and to annotate the reservation.", + "patternProperties": { + "^[$]schema$": {} + }, + "additionalProperties": false, + "definitions": { + "station_list": { + "additionalItems": false, + "additionalProperties": false, + "default": [], + "items": { + "$ref": "#/definitions/station" + }, + "minItems": 0, + "type": "array", + "uniqueItems": true + }, + "station": { + "description": "These are the LOFAR stations", + "enum": [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "FR606", + "SE607", + "UK608", + "DE609", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ], + "title": "Station", + "type": "string" + }, + "max_number_of_missing_stations": { + "default": 0, + "description": "Maximum number of stations that can be omitted from a group (due to maintenance for example)", + "minimum": 0, + "title": "Maximum number of stations to omit", + "type": "integer" + }, + "pointing": { + "additionalProperties": false, + "properties": { + "angle1": { + "default": 0.6624317181687094, + "description": "First angle (e.g. RA)", + "title": "Angle 1", + "type": "number" + }, + "angle2": { + "default": 1.5579526427549426, + "description": "Second angle (e.g. DEC)", + "title": "Angle 2", + "type": "number" + }, + "direction_type": { + "default": "J2000", + "description": "", + "enum": [ + "J2000", + "AZELGEO", + "LMN", + "SUN", + "MOON", + "MERCURY", + "VENUS", + "MARS", + "JUPITER", + "SATURN", + "URANUS", + "NEPTUNE", + "PLUTO" + ], + "title": "Reference frame", + "type": "string" + }, + "target": { + "default": "_target_name_", + "description": "Description of where this beam points at", + "minLength": 1, + "title": "Target", + "type": "string" + } + }, + "required": [ + "angle1", + "angle2", + "target" + ], + "type": "object" + }, + "station_group": { + "anyOf": [ + { + "additionalProperties": false, + "default": { + "max_nr_missing": 0, + "stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007" + ] + }, + "description": "The group of all stations on the Superterp", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Superterp", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 4, + "stations": [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501" + ] + }, + "description": "The group of all Core stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Core", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 4, + "stations": [ + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509" + ] + }, + "description": "The group of all Dutch remote stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Remote", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 4, + "stations": [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509" + ] + }, + "description": "The group of all Dutch (Core + Remote) stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Dutch", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 2, + "stations": [ + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "SE607", + "UK608", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ] + }, + "description": "The group of all international stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "SE607", + "UK608", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "International", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 1, + "stations": [ + "DE601", + "DE605" + ] + }, + "description": "A subgroup of the international stations which are required when doing observation with international stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "DE601", + "DE605" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "International required", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 6, + "stations": [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "SE607", + "UK608", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ] + }, + "description": "The group of all (Core + Remote + International) stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "SE607", + "UK608", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "All", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 0, + "stations": [ + "CS001" + ] + }, + "description": "A custom group of stations which can be defined by the user", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list" + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Custom", + "type": "object" + } + ], + "default": { + "max_nr_missing": 1, + "stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007" + ] + }, + "description": "A set of predefined list of stations, and a constraint on how many stations are allowed to be missing (due to maintenance for example)", + "title": "Station group", + "type": "object" + }, + "antenna_set": { + "default": "HBA_DUAL", + "description": "Fields & antennas to use", + "enum": [ + "HBA_DUAL", + "HBA_DUAL_INNER", + "HBA_ONE", + "HBA_ONE_INNER", + "HBA_ZERO", + "HBA_ZERO_INNER", + "LBA_INNER", + "LBA_OUTER", + "LBA_SPARSE_EVEN", + "LBA_SPARSE_ODD", + "LBA_ALL" + ], + "title": "Antenna set", + "type": "string" + } + } + }, + "schema": { + "$id": "https://tmss.lofar.eu/api/schemas/reservationtemplate/reservation/7#", + "type": "object", + "title": "reservation", + "$schema": "http://json-schema.org/draft-06/schema#", + "version": 7, + "required": [ + "activity", + "resources", + "effects" + ], + "properties": { + "effects": { + "type": "object", + "title": "Effect", + "default": {}, + "required": [], + "properties": { + "expert": { + "type": "boolean", + "title": "Expert mode", + "default": true, + "description": "Quality cannot be guaranteed" + }, + "hba_rfi": { + "type": "boolean", + "title": "HBA RFI", + "default": false, + "description": "RFI increases in the HBA spectrum during this maintenance" + }, + "lba_rfi": { + "type": "boolean", + "title": "LBA RFI", + "default": false, + "description": "RFI increases in the LBA spectrum during this maintenance" + } + }, + "description": "Effect the actions have during this reservation", + "additonalProperties": false + }, + "activity": { + "type": "object", + "title": "Activity", + "default": {}, + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "maintenance", + "test", + "upgrade", + "outage", + "pr", + "stand-alone mode", + "test system", + "other", + "mowing", + "stopday", + "software rollout", + "windmill standstill" + ], + "type": "string", + "title": "Type", + "default": "maintenance", + "description": "Reason for this reservation" + }, + "contact": { + "type": "string", + "title": "Contact", + "default": "", + "description": "Who coordinates this maintenance" + }, + "planned": { + "type": "boolean", + "title": "Planned", + "default": true, + "description": "Was this planned?" + }, + "subject": { + "enum": [ + "environment", + "hardware", + "firmware", + "software", + "system", + "network", + "nothing" + ], + "type": "string", + "title": "Subject", + "default": "nothing", + "description": "What will be modified or affected (select 'system' if multiple)" + }, + "description": { + "type": "string", + "title": "Description", + "default": "", + "description": "Free-form explanation of the reason" + } + }, + "description": "Description of the activity during this reservation", + "additonalProperties": false + }, + "resources": { + "type": "object", + "title": "Resources", + "default": {}, + "required": [], + "properties": { + "stations": { + "$ref": "https://tmss.lofar.eu/api/schemas/commonschematemplate/stations/9#/definitions/station_list", + "title": "Stations", + "description": "List of stations" + } + }, + "description": "Which resources are affected", + "additonalProperties": false + }, + "schedulability": { + "type": "object", + "title": "Schedulability", + "default": {}, + "properties": { + "dynamic": { + "type": "boolean", + "title": "Dynamic", + "default": false, + "description": "Dynamic scheduling is allowed" + }, + "fixed_time": { + "type": "boolean", + "title": "Fixed time", + "default": true, + "description": "Fixed time scheduling is allowed" + }, + "project_exclusive": { + "type": "boolean", + "title": "Schedule only for this project", + "default": true, + "description": "Only tasks from this project can be scheduled" + } + }, + "description": "Schedulability of the reserved resources", + "additonalProperties": false + } + }, + "description": "This schema defines the parameters to reserve instrument resources, and to annotate the reservation.", + "patternProperties": { + "^[$]schema$": {} + }, + "additionalProperties": false + }, + "state": "https://tmss.lofar.eu/api/template_state/active", + "state_value": "active", + "tags": [], + "updated_at": "2022-10-20T11:00:18.253424", + "version": 7 + }, + { + "id": 7, + "url": "https://tmss.lofar.eu/api/reservation_template/7", + "created_at": "2022-10-03T17:34:43.527064", + "description": "This schema defines the parameters to reserve instrument resources, and to annotate the reservation.", + "name": "reservation", + "purpose": "https://tmss.lofar.eu/api/template_purpose/technical_commissioning", + "purpose_value": "technical_commissioning", + "ref_resolved_schema": { + "$id": "https://tmss.lofar.eu/api/schemas/reservationtemplate/reservation/6/ref_resolved", + "type": "object", + "title": "reservation", + "$schema": "http://json-schema.org/draft-06/schema#", + "version": 6, + "required": [ + "activity", + "resources", + "effects" + ], + "properties": { + "effects": { + "type": "object", + "title": "Effect", + "default": {}, + "required": [], + "properties": { + "expert": { + "type": "boolean", + "title": "Expert mode", + "default": true, + "description": "Quality cannot be guaranteed" + }, + "hba_rfi": { + "type": "boolean", + "title": "HBA RFI", + "default": false, + "description": "RFI increases in the HBA spectrum during this maintenance" + }, + "lba_rfi": { + "type": "boolean", + "title": "LBA RFI", + "default": false, + "description": "RFI increases in the LBA spectrum during this maintenance" + } + }, + "description": "Effect the actions have during this reservation", + "additonalProperties": false + }, + "activity": { + "type": "object", + "title": "Activity", + "default": {}, + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "maintenance", + "test", + "upgrade", + "outage", + "pr", + "stand-alone mode", + "test system", + "other", + "mowing", + "stopday", + "software rollout", + "windmill standstill" + ], + "type": "string", + "title": "Type", + "default": "maintenance", + "description": "Reason for this reservation" + }, + "contact": { + "type": "string", + "title": "Contact", + "default": "", + "description": "Who coordinates this maintenance" + }, + "planned": { + "type": "boolean", + "title": "Planned", + "default": true, + "description": "Was this planned?" + }, + "subject": { + "enum": [ + "environment", + "hardware", + "firmware", + "software", + "system", + "network", + "nothing" + ], + "type": "string", + "title": "Subject", + "default": "nothing", + "description": "What will be modified or affected (select 'system' if multiple)" + }, + "description": { + "type": "string", + "title": "Description", + "default": "", + "description": "Free-form explanation of the reason" + } + }, + "description": "Description of the activity during this reservation", + "additonalProperties": false + }, + "resources": { + "type": "object", + "title": "Resources", + "default": {}, + "required": [], + "properties": { + "stations": { + "$ref": "#/definitions/station_list", + "title": "Stations", + "description": "List of stations" + } + }, + "description": "Which resources are affected", + "additonalProperties": false + }, + "schedulability": { + "type": "object", + "title": "Schedulability", + "default": {}, + "properties": { + "dynamic": { + "type": "boolean", + "title": "Dynamic", + "default": false, + "description": "Dynamic scheduling is allowed" + }, + "fixed_time": { + "type": "boolean", + "title": "Fixed time", + "default": true, + "description": "Fixed time scheduling is allowed" + }, + "project_exclusive": { + "type": "boolean", + "title": "Schedule only for this project", + "default": true, + "description": "Only tasks from this project can be scheduled" + } + }, + "description": "Schedulability of the reserved resources", + "additonalProperties": false + } + }, + "description": "This schema defines the parameters to reserve instrument resources, and to annotate the reservation.", + "patternProperties": { + "^[$]schema$": {} + }, + "additionalProperties": false, + "definitions": { + "station_list": { + "additionalItems": false, + "additionalProperties": false, + "default": [], + "items": { + "$ref": "#/definitions/station" + }, + "minItems": 0, + "type": "array", + "uniqueItems": true + }, + "station": { + "description": "These are the LOFAR stations", + "enum": [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "FR606", + "SE607", + "UK608", + "DE609", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ], + "title": "Station", + "type": "string" + }, + "max_number_of_missing_stations": { + "default": 0, + "description": "Maximum number of stations that can be omitted from a group (due to maintenance for example)", + "minimum": 0, + "title": "Maximum number of stations to omit", + "type": "integer" + }, + "pointing": { + "additionalProperties": false, + "properties": { + "angle1": { + "default": 0.6624317181687094, + "description": "First angle (e.g. RA)", + "title": "Angle 1", + "type": "number" + }, + "angle2": { + "default": 1.5579526427549426, + "description": "Second angle (e.g. DEC)", + "title": "Angle 2", + "type": "number" + }, + "direction_type": { + "default": "J2000", + "description": "", + "enum": [ + "J2000", + "AZELGEO", + "LMN", + "SUN", + "MOON", + "MERCURY", + "VENUS", + "MARS", + "JUPITER", + "SATURN", + "URANUS", + "NEPTUNE", + "PLUTO" + ], + "title": "Reference frame", + "type": "string" + }, + "target": { + "default": "_target_name_", + "description": "Description of where this beam points at", + "minLength": 1, + "title": "Target", + "type": "string" + } + }, + "required": [ + "angle1", + "angle2", + "target" + ], + "type": "object" + }, + "station_group": { + "anyOf": [ + { + "additionalProperties": false, + "default": { + "max_nr_missing": 0, + "stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007" + ] + }, + "description": "The group of all stations on the Superterp", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Superterp", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 4, + "stations": [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501" + ] + }, + "description": "The group of all Core stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Core", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 4, + "stations": [ + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509" + ] + }, + "description": "The group of all Dutch remote stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Remote", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 4, + "stations": [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509" + ] + }, + "description": "The group of all Dutch (Core + Remote) stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Dutch", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 2, + "stations": [ + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "SE607", + "UK608", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ] + }, + "description": "The group of all international stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "SE607", + "UK608", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "International", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 1, + "stations": [ + "DE601", + "DE605" + ] + }, + "description": "A subgroup of the international stations which are required when doing observation with international stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "DE601", + "DE605" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "International required", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 6, + "stations": [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "SE607", + "UK608", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ] + }, + "description": "The group of all (Core + Remote + International) stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "SE607", + "UK608", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "All", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 0, + "stations": [ + "CS001" + ] + }, + "description": "A custom group of stations which can be defined by the user", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list" + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Custom", + "type": "object" + } + ], + "default": { + "max_nr_missing": 1, + "stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007" + ] + }, + "description": "A set of predefined list of stations, and a constraint on how many stations are allowed to be missing (due to maintenance for example)", + "title": "Station group", + "type": "object" + }, + "antenna_set": { + "default": "HBA_DUAL", + "description": "Fields & antennas to use", + "enum": [ + "HBA_DUAL", + "HBA_DUAL_INNER", + "HBA_ONE", + "HBA_ONE_INNER", + "HBA_ZERO", + "HBA_ZERO_INNER", + "LBA_INNER", + "LBA_OUTER", + "LBA_SPARSE_EVEN", + "LBA_SPARSE_ODD", + "LBA_ALL" + ], + "title": "Antenna set", + "type": "string" + } + } + }, + "schema": { + "$id": "https://tmss.lofar.eu/api/schemas/reservationtemplate/reservation/6#", + "type": "object", + "title": "reservation", + "$schema": "http://json-schema.org/draft-06/schema#", + "version": 6, + "required": [ + "activity", + "resources", + "effects" + ], + "properties": { + "effects": { + "type": "object", + "title": "Effect", + "default": {}, + "required": [], + "properties": { + "expert": { + "type": "boolean", + "title": "Expert mode", + "default": true, + "description": "Quality cannot be guaranteed" + }, + "hba_rfi": { + "type": "boolean", + "title": "HBA RFI", + "default": false, + "description": "RFI increases in the HBA spectrum during this maintenance" + }, + "lba_rfi": { + "type": "boolean", + "title": "LBA RFI", + "default": false, + "description": "RFI increases in the LBA spectrum during this maintenance" + } + }, + "description": "Effect the actions have during this reservation", + "additonalProperties": false + }, + "activity": { + "type": "object", + "title": "Activity", + "default": {}, + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "maintenance", + "test", + "upgrade", + "outage", + "pr", + "stand-alone mode", + "test system", + "other", + "mowing", + "stopday", + "software rollout", + "windmill standstill" + ], + "type": "string", + "title": "Type", + "default": "maintenance", + "description": "Reason for this reservation" + }, + "contact": { + "type": "string", + "title": "Contact", + "default": "", + "description": "Who coordinates this maintenance" + }, + "planned": { + "type": "boolean", + "title": "Planned", + "default": true, + "description": "Was this planned?" + }, + "subject": { + "enum": [ + "environment", + "hardware", + "firmware", + "software", + "system", + "network", + "nothing" + ], + "type": "string", + "title": "Subject", + "default": "nothing", + "description": "What will be modified or affected (select 'system' if multiple)" + }, + "description": { + "type": "string", + "title": "Description", + "default": "", + "description": "Free-form explanation of the reason" + } + }, + "description": "Description of the activity during this reservation", + "additonalProperties": false + }, + "resources": { + "type": "object", + "title": "Resources", + "default": {}, + "required": [], + "properties": { + "stations": { + "$ref": "https://tmss.lofar.eu/api/schemas/commonschematemplate/stations/9#/definitions/station_list", + "title": "Stations", + "description": "List of stations" + } + }, + "description": "Which resources are affected", + "additonalProperties": false + }, + "schedulability": { + "type": "object", + "title": "Schedulability", + "default": {}, + "properties": { + "dynamic": { + "type": "boolean", + "title": "Dynamic", + "default": false, + "description": "Dynamic scheduling is allowed" + }, + "fixed_time": { + "type": "boolean", + "title": "Fixed time", + "default": true, + "description": "Fixed time scheduling is allowed" + }, + "project_exclusive": { + "type": "boolean", + "title": "Schedule only for this project", + "default": true, + "description": "Only tasks from this project can be scheduled" + } + }, + "description": "Schedulability of the reserved resources", + "additonalProperties": false + } + }, + "description": "This schema defines the parameters to reserve instrument resources, and to annotate the reservation.", + "patternProperties": { + "^[$]schema$": {} + }, + "additionalProperties": false + }, + "state": "https://tmss.lofar.eu/api/template_state/legacy", + "state_value": "legacy", + "tags": [], + "updated_at": "2023-07-04T13:20:18.791729", + "version": 6 + }, + { + "id": 1, + "url": "https://tmss.lofar.eu/api/reservation_template/1", + "created_at": "2022-01-20T12:08:46.109596", + "description": "This schema defines the parameters to reserve instrument resources, and to annotate the reservation.", + "name": "reservation", + "purpose": "https://tmss.lofar.eu/api/template_purpose/technical_commissioning", + "purpose_value": "technical_commissioning", + "ref_resolved_schema": { + "$id": "https://tmss.lofar.eu/api/schemas/reservationtemplate/reservation/1/ref_resolved", + "type": "object", + "title": "reservation", + "$schema": "http://json-schema.org/draft-06/schema#", + "version": 1, + "required": [ + "activity", + "resources", + "effects" + ], + "properties": { + "effects": { + "type": "object", + "title": "Effect", + "default": {}, + "required": [], + "properties": { + "expert": { + "type": "boolean", + "title": "Expert mode", + "default": true, + "description": "Quality cannot be guaranteed" + }, + "hba_rfi": { + "type": "boolean", + "title": "HBA RFI", + "default": false, + "description": "RFI increases in the HBA spectrum during this maintenance" + }, + "lba_rfi": { + "type": "boolean", + "title": "LBA RFI", + "default": false, + "description": "RFI increases in the LBA spectrum during this maintenance" + } + }, + "description": "Effect the actions have during this reservation", + "additonalProperties": false + }, + "activity": { + "type": "object", + "title": "Activity", + "default": {}, + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "maintenance", + "test", + "upgrade", + "outage", + "pr", + "stand-alone mode", + "test system", + "other", + "mowing" + ], + "type": "string", + "title": "Type", + "default": "maintenance", + "description": "Reason for this reservation" + }, + "contact": { + "type": "string", + "title": "Contact", + "default": "", + "description": "Who coordinates this maintenance" + }, + "planned": { + "type": "boolean", + "title": "Planned", + "default": true, + "description": "Was this planned?" + }, + "subject": { + "enum": [ + "environment", + "hardware", + "firmware", + "software", + "system", + "network", + "nothing" + ], + "type": "string", + "title": "Subject", + "default": "nothing", + "description": "What will be modified or affected (select 'system' if multiple)" + }, + "description": { + "type": "string", + "title": "Description", + "default": "", + "description": "Free-form explanation of the reason" + } + }, + "description": "Description of the activity during this reservation", + "additonalProperties": false + }, + "resources": { + "type": "object", + "title": "Resources", + "default": {}, + "required": [], + "properties": { + "stations": { + "$ref": "#/definitions/station_list", + "title": "Stations", + "description": "List of stations" + } + }, + "description": "Which resources are affected", + "additonalProperties": false + }, + "schedulability": { + "type": "object", + "title": "Schedulability", + "default": {}, + "properties": { + "dynamic": { + "type": "boolean", + "title": "Dynamic", + "default": false, + "description": "Dynamic scheduling is allowed" + }, + "fixed_time": { + "type": "boolean", + "title": "Fixed time", + "default": false, + "description": "Fixed time scheduling is allowed" + }, + "project_exclusive": { + "type": "boolean", + "title": "Schedule only for this project", + "default": true, + "description": "Only tasks from this project can be scheduled" + } + }, + "description": "Schedulability of the reserved resources", + "additonalProperties": false + } + }, + "description": "This schema defines the parameters to reserve instrument resources, and to annotate the reservation.", + "patternProperties": { + "^[$]schema$": {} + }, + "additionalProperties": false, + "definitions": { + "station_list": { + "additionalItems": false, + "additionalProperties": false, + "default": [], + "items": { + "$ref": "#/definitions/station" + }, + "minItems": 0, + "type": "array", + "uniqueItems": true + }, + "max_number_of_missing_stations": { + "default": 0, + "description": "Maximum number of stations that can be omitted from a group (due to maintenance for example)", + "minimum": 0, + "title": "Maximum number of stations to omit", + "type": "integer" + }, + "antenna_type": { + "default": "HBA", + "enum": [ + "LBA", + "HBA" + ], + "title": "Antenna Type", + "type": "string" + }, + "station_group": { + "anyOf": [ + { + "additionalProperties": false, + "default": { + "max_nr_missing": 0, + "stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007" + ] + }, + "description": "The group of all stations on the Superterp", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Superterp", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 4, + "stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501" + ] + }, + "description": "The group of all Core stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Core", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 4, + "stations": [ + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509" + ] + }, + "description": "The group of all Dutch remote stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Remote", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 4, + "stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509" + ] + }, + "description": "The group of all Dutch (Core + Remote) stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Dutch", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 2, + "stations": [ + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "SE607", + "UK608", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ] + }, + "description": "The group of all international stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "SE607", + "UK608", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "International", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 1, + "stations": [ + "DE601", + "DE605" + ] + }, + "description": "A subgroup of the international stations which are required when doing observation with international stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "DE601", + "DE605" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "International required", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 6, + "stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "SE607", + "UK608", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ] + }, + "description": "The group of all (Core + Remote + International) stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "SE607", + "UK608", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "All", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 0, + "stations": [ + "CS002" + ] + }, + "description": "A custom group of stations which can be defined by the user", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list" + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Custom", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 0, + "stations": [ + "CS001" + ] + }, + "description": "All LOFAR2 stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "CS001" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "LOFAR2", + "type": "object" + } + ], + "default": { + "max_nr_missing": 1, + "stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007" + ] + }, + "description": "A set of predefined list of stations, and a constraint on how many stations are allowed to be missing (due to maintenance for example)", + "title": "Station group", + "type": "object" + }, + "antenna_field": { + "default": "HBA", + "enum": [ + "LBA", + "HBA", + "HBA0", + "HBA1" + ], + "title": "Antenna Field", + "type": "string" + }, + "station": { + "description": "These are all LOFAR (1 and 2) stations", + "enum": [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "FR606", + "SE607", + "UK608", + "DE609", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ], + "title": "Station", + "type": "string" + }, + "pointing": { + "additionalProperties": false, + "properties": { + "angle1": { + "default": 0.6624317181687094, + "description": "First angle (e.g. RA)", + "title": "Angle 1", + "type": "number" + }, + "angle2": { + "default": 1.5579526427549426, + "description": "Second angle (e.g. DEC)", + "title": "Angle 2", + "type": "number" + }, + "direction_type": { + "default": "J2000", + "description": "", + "enum": [ + "J2000", + "AZELGEO", + "LMN", + "SUN", + "MOON", + "MERCURY", + "VENUS", + "MARS", + "JUPITER", + "SATURN", + "URANUS", + "NEPTUNE", + "PLUTO" + ], + "title": "Reference frame", + "type": "string" + }, + "target": { + "default": "_target_name_", + "description": "Description of where this beam points at", + "minLength": 1, + "title": "Target", + "type": "string" + } + }, + "required": [ + "angle1", + "angle2", + "target" + ], + "type": "object" + }, + "antenna_set": { + "default": "HBA_DUAL", + "description": "Fields & antennas to use", + "enum": [ + "HBA_DUAL", + "HBA_DUAL_INNER", + "HBA_ONE", + "HBA_ONE_INNER", + "HBA_ZERO", + "HBA_ZERO_INNER", + "LBA_INNER", + "LBA_OUTER", + "LBA_SPARSE_EVEN", + "LBA_SPARSE_ODD", + "LBA_ALL" + ], + "title": "Antenna set", + "type": "string" + } + } + }, + "schema": { + "$id": "https://tmss.lofar.eu/api/schemas/reservationtemplate/reservation/1#", + "type": "object", + "title": "reservation", + "$schema": "http://json-schema.org/draft-06/schema#", + "version": 1, + "required": [ + "activity", + "resources", + "effects" + ], + "properties": { + "effects": { + "type": "object", + "title": "Effect", + "default": {}, + "required": [], + "properties": { + "expert": { + "type": "boolean", + "title": "Expert mode", + "default": true, + "description": "Quality cannot be guaranteed" + }, + "hba_rfi": { + "type": "boolean", + "title": "HBA RFI", + "default": false, + "description": "RFI increases in the HBA spectrum during this maintenance" + }, + "lba_rfi": { + "type": "boolean", + "title": "LBA RFI", + "default": false, + "description": "RFI increases in the LBA spectrum during this maintenance" + } + }, + "description": "Effect the actions have during this reservation", + "additonalProperties": false + }, + "activity": { + "type": "object", + "title": "Activity", + "default": {}, + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "maintenance", + "test", + "upgrade", + "outage", + "pr", + "stand-alone mode", + "test system", + "other", + "mowing" + ], + "type": "string", + "title": "Type", + "default": "maintenance", + "description": "Reason for this reservation" + }, + "contact": { + "type": "string", + "title": "Contact", + "default": "", + "description": "Who coordinates this maintenance" + }, + "planned": { + "type": "boolean", + "title": "Planned", + "default": true, + "description": "Was this planned?" + }, + "subject": { + "enum": [ + "environment", + "hardware", + "firmware", + "software", + "system", + "network", + "nothing" + ], + "type": "string", + "title": "Subject", + "default": "nothing", + "description": "What will be modified or affected (select 'system' if multiple)" + }, + "description": { + "type": "string", + "title": "Description", + "default": "", + "description": "Free-form explanation of the reason" + } + }, + "description": "Description of the activity during this reservation", + "additonalProperties": false + }, + "resources": { + "type": "object", + "title": "Resources", + "default": {}, + "required": [], + "properties": { + "stations": { + "$ref": "https://tmss.lofar.eu/api/schemas/commonschematemplate/stations/1#/definitions/station_list", + "title": "Stations", + "description": "List of stations" + } + }, + "description": "Which resources are affected", + "additonalProperties": false + }, + "schedulability": { + "type": "object", + "title": "Schedulability", + "default": {}, + "properties": { + "dynamic": { + "type": "boolean", + "title": "Dynamic", + "default": false, + "description": "Dynamic scheduling is allowed" + }, + "fixed_time": { + "type": "boolean", + "title": "Fixed time", + "default": false, + "description": "Fixed time scheduling is allowed" + }, + "project_exclusive": { + "type": "boolean", + "title": "Schedule only for this project", + "default": true, + "description": "Only tasks from this project can be scheduled" + } + }, + "description": "Schedulability of the reserved resources", + "additonalProperties": false + } + }, + "description": "This schema defines the parameters to reserve instrument resources, and to annotate the reservation.", + "patternProperties": { + "^[$]schema$": {} + }, + "additionalProperties": false + }, + "state": "https://tmss.lofar.eu/api/template_state/obsolete", + "state_value": "obsolete", + "tags": [], + "updated_at": "2023-07-17T09:53:00.026292", + "version": 1 + }, + { + "id": 6, + "url": "https://tmss.lofar.eu/api/reservation_template/6", + "created_at": "2022-10-03T15:40:48.878424", + "description": "This schema defines the parameters to reserve instrument resources, and to annotate the reservation.", + "name": "reservation", + "purpose": "https://tmss.lofar.eu/api/template_purpose/technical_commissioning", + "purpose_value": "technical_commissioning", + "ref_resolved_schema": { + "$id": "https://tmss.lofar.eu/api/schemas/reservationtemplate/reservation/5/ref_resolved", + "type": "object", + "title": "reservation", + "$schema": "http://json-schema.org/draft-06/schema#", + "version": 5, + "required": [ + "activity", + "resources", + "effects" + ], + "properties": { + "effects": { + "type": "object", + "title": "Effect", + "default": {}, + "required": [], + "properties": { + "expert": { + "type": "boolean", + "title": "Expert mode", + "default": true, + "description": "Quality cannot be guaranteed" + }, + "hba_rfi": { + "type": "boolean", + "title": "HBA RFI", + "default": false, + "description": "RFI increases in the HBA spectrum during this maintenance" + }, + "lba_rfi": { + "type": "boolean", + "title": "LBA RFI", + "default": false, + "description": "RFI increases in the LBA spectrum during this maintenance" + } + }, + "description": "Effect the actions have during this reservation", + "additonalProperties": false + }, + "activity": { + "type": "object", + "title": "Activity", + "default": {}, + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "maintenance", + "test", + "upgrade", + "outage", + "pr", + "stand-alone mode", + "test system", + "other", + "mowing", + "stopday", + "software rollout", + "windmill standstill" + ], + "type": "string", + "title": "Type", + "default": "maintenance", + "description": "Reason for this reservation" + }, + "contact": { + "type": "string", + "title": "Contact", + "default": "", + "description": "Who coordinates this maintenance" + }, + "planned": { + "type": "boolean", + "title": "Planned", + "default": true, + "description": "Was this planned?" + }, + "subject": { + "enum": [ + "environment", + "hardware", + "firmware", + "software", + "system", + "network", + "nothing" + ], + "type": "string", + "title": "Subject", + "default": "nothing", + "description": "What will be modified or affected (select 'system' if multiple)" + }, + "description": { + "type": "string", + "title": "Description", + "default": "", + "description": "Free-form explanation of the reason" + } + }, + "description": "Description of the activity during this reservation", + "additonalProperties": false + }, + "resources": { + "type": "object", + "title": "Resources", + "default": {}, + "required": [], + "properties": { + "stations": { + "$ref": "#/definitions/station_list", + "title": "Stations", + "description": "List of stations" + } + }, + "description": "Which resources are affected", + "additonalProperties": false + }, + "schedulability": { + "type": "object", + "title": "Schedulability", + "default": {}, + "properties": { + "dynamic": { + "type": "boolean", + "title": "Dynamic", + "default": false, + "description": "Dynamic scheduling is allowed" + }, + "fixed_time": { + "type": "boolean", + "title": "Fixed time", + "default": true, + "description": "Fixed time scheduling is allowed" + }, + "project_exclusive": { + "type": "boolean", + "title": "Schedule only for this project", + "default": true, + "description": "Only tasks from this project can be scheduled" + } + }, + "description": "Schedulability of the reserved resources", + "additonalProperties": false + } + }, + "description": "This schema defines the parameters to reserve instrument resources, and to annotate the reservation.", + "patternProperties": { + "^[$]schema$": {} + }, + "additionalProperties": false, + "definitions": { + "station_list": { + "additionalItems": false, + "additionalProperties": false, + "default": [], + "items": { + "$ref": "#/definitions/station" + }, + "minItems": 0, + "type": "array", + "uniqueItems": true + }, + "station": { + "description": "These are the LOFAR stations", + "enum": [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "FR606", + "SE607", + "UK608", + "DE609", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ], + "title": "Station", + "type": "string" + }, + "max_number_of_missing_stations": { + "default": 0, + "description": "Maximum number of stations that can be omitted from a group (due to maintenance for example)", + "minimum": 0, + "title": "Maximum number of stations to omit", + "type": "integer" + }, + "pointing": { + "additionalProperties": false, + "properties": { + "angle1": { + "default": 0.6624317181687094, + "description": "First angle (e.g. RA)", + "title": "Angle 1", + "type": "number" + }, + "angle2": { + "default": 1.5579526427549426, + "description": "Second angle (e.g. DEC)", + "title": "Angle 2", + "type": "number" + }, + "direction_type": { + "default": "J2000", + "description": "", + "enum": [ + "J2000", + "AZELGEO", + "LMN", + "SUN", + "MOON", + "MERCURY", + "VENUS", + "MARS", + "JUPITER", + "SATURN", + "URANUS", + "NEPTUNE", + "PLUTO" + ], + "title": "Reference frame", + "type": "string" + }, + "target": { + "default": "_target_name_", + "description": "Description of where this beam points at", + "minLength": 1, + "title": "Target", + "type": "string" + } + }, + "required": [ + "angle1", + "angle2", + "target" + ], + "type": "object" + }, + "station_group": { + "anyOf": [ + { + "additionalProperties": false, + "default": { + "max_nr_missing": 0, + "stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007" + ] + }, + "description": "The group of all stations on the Superterp", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Superterp", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 4, + "stations": [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501" + ] + }, + "description": "The group of all Core stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Core", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 4, + "stations": [ + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509" + ] + }, + "description": "The group of all Dutch remote stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Remote", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 4, + "stations": [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509" + ] + }, + "description": "The group of all Dutch (Core + Remote) stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Dutch", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 2, + "stations": [ + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "SE607", + "UK608", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ] + }, + "description": "The group of all international stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "SE607", + "UK608", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "International", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 1, + "stations": [ + "DE601", + "DE605" + ] + }, + "description": "A subgroup of the international stations which are required when doing observation with international stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "DE601", + "DE605" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "International required", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 6, + "stations": [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "SE607", + "UK608", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ] + }, + "description": "The group of all (Core + Remote + International) stations", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list", + "enum": [ + [ + "CS001", + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "SE607", + "UK608", + "PL610", + "PL611", + "PL612", + "IE613", + "LV614" + ] + ] + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "All", + "type": "object" + }, + { + "additionalProperties": false, + "default": { + "max_nr_missing": 0, + "stations": [ + "CS001" + ] + }, + "description": "A custom group of stations which can be defined by the user", + "properties": { + "max_nr_missing": { + "$ref": "#/definitions/max_number_of_missing_stations" + }, + "stations": { + "$ref": "#/definitions/station_list" + } + }, + "required": [ + "stations", + "max_nr_missing" + ], + "title": "Custom", + "type": "object" + } + ], + "default": { + "max_nr_missing": 1, + "stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007" + ] + }, + "description": "A set of predefined list of stations, and a constraint on how many stations are allowed to be missing (due to maintenance for example)", + "title": "Station group", + "type": "object" + }, + "antenna_set": { + "default": "HBA_DUAL", + "description": "Fields & antennas to use", + "enum": [ + "HBA_DUAL", + "HBA_DUAL_INNER", + "HBA_ONE", + "HBA_ONE_INNER", + "HBA_ZERO", + "HBA_ZERO_INNER", + "LBA_INNER", + "LBA_OUTER", + "LBA_SPARSE_EVEN", + "LBA_SPARSE_ODD", + "LBA_ALL" + ], + "title": "Antenna set", + "type": "string" + } + } + }, + "schema": { + "$id": "https://tmss.lofar.eu/api/schemas/reservationtemplate/reservation/5#", + "type": "object", + "title": "reservation", + "$schema": "http://json-schema.org/draft-06/schema#", + "version": 5, + "required": [ + "activity", + "resources", + "effects" + ], + "properties": { + "effects": { + "type": "object", + "title": "Effect", + "default": {}, + "required": [], + "properties": { + "expert": { + "type": "boolean", + "title": "Expert mode", + "default": true, + "description": "Quality cannot be guaranteed" + }, + "hba_rfi": { + "type": "boolean", + "title": "HBA RFI", + "default": false, + "description": "RFI increases in the HBA spectrum during this maintenance" + }, + "lba_rfi": { + "type": "boolean", + "title": "LBA RFI", + "default": false, + "description": "RFI increases in the LBA spectrum during this maintenance" + } + }, + "description": "Effect the actions have during this reservation", + "additonalProperties": false + }, + "activity": { + "type": "object", + "title": "Activity", + "default": {}, + "required": [ + "type" + ], + "properties": { + "type": { + "enum": [ + "maintenance", + "test", + "upgrade", + "outage", + "pr", + "stand-alone mode", + "test system", + "other", + "mowing", + "stopday", + "software rollout", + "windmill standstill" + ], + "type": "string", + "title": "Type", + "default": "maintenance", + "description": "Reason for this reservation" + }, + "contact": { + "type": "string", + "title": "Contact", + "default": "", + "description": "Who coordinates this maintenance" + }, + "planned": { + "type": "boolean", + "title": "Planned", + "default": true, + "description": "Was this planned?" + }, + "subject": { + "enum": [ + "environment", + "hardware", + "firmware", + "software", + "system", + "network", + "nothing" + ], + "type": "string", + "title": "Subject", + "default": "nothing", + "description": "What will be modified or affected (select 'system' if multiple)" + }, + "description": { + "type": "string", + "title": "Description", + "default": "", + "description": "Free-form explanation of the reason" + } + }, + "description": "Description of the activity during this reservation", + "additonalProperties": false + }, + "resources": { + "type": "object", + "title": "Resources", + "default": {}, + "required": [], + "properties": { + "stations": { + "$ref": "https://tmss.lofar.eu/api/schemas/commonschematemplate/stations/7#/definitions/station_list", + "title": "Stations", + "description": "List of stations" + } + }, + "description": "Which resources are affected", + "additonalProperties": false + }, + "schedulability": { + "type": "object", + "title": "Schedulability", + "default": {}, + "properties": { + "dynamic": { + "type": "boolean", + "title": "Dynamic", + "default": false, + "description": "Dynamic scheduling is allowed" + }, + "fixed_time": { + "type": "boolean", + "title": "Fixed time", + "default": true, + "description": "Fixed time scheduling is allowed" + }, + "project_exclusive": { + "type": "boolean", + "title": "Schedule only for this project", + "default": true, + "description": "Only tasks from this project can be scheduled" + } + }, + "description": "Schedulability of the reserved resources", + "additonalProperties": false + } + }, + "description": "This schema defines the parameters to reserve instrument resources, and to annotate the reservation.", + "patternProperties": { + "^[$]schema$": {} + }, + "additionalProperties": false + }, + "state": "https://tmss.lofar.eu/api/template_state/obsolete", + "state_value": "obsolete", + "tags": [], + "updated_at": "2023-07-17T09:56:59.832463", + "version": 5 + } + ] +} \ No newline at end of file diff --git a/SAS/TMSS/frontend/tmss_webapp/src/__mocks__/scheduling_unit_blueprint_slim_with_task.json b/SAS/TMSS/frontend/tmss_webapp/src/__mocks__/scheduling_unit_blueprint_slim_with_task.json new file mode 100644 index 0000000000000000000000000000000000000000..db27a9ed1eb9867dfde1adb92e478bc6f1b54ff3 --- /dev/null +++ b/SAS/TMSS/frontend/tmss_webapp/src/__mocks__/scheduling_unit_blueprint_slim_with_task.json @@ -0,0 +1,2131 @@ +{ + "count": 62, + "next": null, + "previous": null, + "results": [ + { + "id": 5124, + "name": "P064+14P067+19_189.3", + "description": "P064+14P067+19_189.3", + "status": "schedulable", + "unschedulable_reason": "", + "error_reason": "", + "scheduler": "dynamic", + "priority_queue": "A", + "scheduling_constraints_template_id": 13, + "process_start_time": "2023-12-07T21:41:00", + "process_stop_time": "2023-12-08T01:41:00", + "on_sky_start_time": "2023-12-07T21:41:00", + "on_sky_stop_time": "2023-12-07T23:52:00", + "duration": 23400.0, + "on_sky_duration": 7800.0, + "project": "LC20_026", + "antenna_set": "HBA_DUAL_INNER", + "specified_stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "IE613", + "LV614", + "PL610", + "PL611", + "PL612", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "SE607", + "UK608" + ], + "used_stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "IE613", + "LV614", + "PL610", + "PL611", + "PL612", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "SE607", + "UK608" + ], + "missing_stations": [], + "task_blueprints": [ + { + "id": 30714, + "name": "Target Observation", + "description": "Target Observation for LoTSS scheduling unit. HBA_DUAL_INNER, 120-168 MHz, 1s, 64ch/sb ", + "scheduling_unit_blueprint": 5124, + "status": "schedulable", + "task_type": "observation", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-07T21:41:00", + "process_stop_time": "2023-12-07T23:41:00", + "on_sky_start_time": "2023-12-07T21:41:00", + "on_sky_stop_time": "2023-12-07T23:41:00", + "duration": 7200.0, + "on_sky_duration": 7200.0 + }, + { + "id": 30715, + "name": "Calibrator Observation", + "description": "Calibrator Observation. After the Target Observation", + "scheduling_unit_blueprint": 5124, + "status": "schedulable", + "task_type": "observation", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-07T23:42:00", + "process_stop_time": "2023-12-07T23:52:00", + "on_sky_start_time": "2023-12-07T23:42:00", + "on_sky_stop_time": "2023-12-07T23:52:00", + "duration": 600.0, + "on_sky_duration": 600.0 + }, + { + "id": 30719, + "name": "Cleanup", + "description": "Clean up all dataproducts from disk after ingest", + "scheduling_unit_blueprint": 5124, + "status": "schedulable", + "task_type": "cleanup", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-07T23:52:00", + "process_stop_time": "2023-12-07T23:57:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 300.0, + "on_sky_duration": null + }, + { + "id": 30720, + "name": "Ingest", + "description": "Ingest all preprocessed dataproducts", + "scheduling_unit_blueprint": 5124, + "status": "schedulable", + "task_type": "ingest", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-08T00:02:00", + "process_stop_time": "2023-12-08T00:07:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 300.0, + "on_sky_duration": null + }, + { + "id": 30716, + "name": "Calibrator Pipeline", + "description": "Preprocessing Pipeline for Calibrator Observation", + "scheduling_unit_blueprint": 5124, + "status": "schedulable", + "task_type": "pipeline", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-07T23:52:00", + "process_stop_time": "2023-12-08T00:02:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 600.0, + "on_sky_duration": null + }, + { + "id": 30717, + "name": "Pipeline target2", + "description": "Preprocessing Pipeline for Target Observation target2, SAP001, 120-168 MHz, 1s, 16ch/sb", + "scheduling_unit_blueprint": 5124, + "status": "schedulable", + "task_type": "pipeline", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-07T23:41:00", + "process_stop_time": "2023-12-08T01:41:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 7200.0, + "on_sky_duration": null + }, + { + "id": 30718, + "name": "Pipeline target1", + "description": "Preprocessing Pipeline for Target Observation target1, SAP000, 120-168 MHz, 1s, 16ch/sb", + "scheduling_unit_blueprint": 5124, + "status": "schedulable", + "task_type": "pipeline", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-07T23:41:00", + "process_stop_time": "2023-12-08T01:41:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 7200.0, + "on_sky_duration": null + } + ] + }, + { + "id": 5097, + "name": "P136+14P137+09_80.3", + "description": "P136+14P137+09_80.3", + "status": "schedulable", + "unschedulable_reason": "", + "error_reason": "", + "scheduler": "dynamic", + "priority_queue": "A", + "scheduling_constraints_template_id": 13, + "process_start_time": "2023-12-08T01:24:00", + "process_stop_time": "2023-12-08T05:35:00", + "on_sky_start_time": "2023-12-08T01:24:00", + "on_sky_stop_time": "2023-12-08T03:46:00", + "duration": 24600.0, + "on_sky_duration": 8400.0, + "project": "LC20_026", + "antenna_set": "HBA_DUAL_INNER", + "specified_stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "IE613", + "LV614", + "PL610", + "PL611", + "PL612", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "SE607", + "UK608" + ], + "used_stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "IE613", + "LV614", + "PL610", + "PL611", + "PL612", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "SE607", + "UK608" + ], + "missing_stations": [], + "task_blueprints": [ + { + "id": 30519, + "name": "Calibrator Observation 1", + "description": "Calibrator Observation 1. Before the Target Observation", + "scheduling_unit_blueprint": 5097, + "status": "schedulable", + "task_type": "observation", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-08T01:24:00", + "process_stop_time": "2023-12-08T01:34:00", + "on_sky_start_time": "2023-12-08T01:24:00", + "on_sky_stop_time": "2023-12-08T01:34:00", + "duration": 600.0, + "on_sky_duration": 600.0 + }, + { + "id": 30521, + "name": "Target Observation", + "description": "Target Observation for LoTSS scheduling unit. HBA_DUAL_INNER, 120-168 MHz, 1s, 64ch/sb ", + "scheduling_unit_blueprint": 5097, + "status": "schedulable", + "task_type": "observation", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-08T01:35:00", + "process_stop_time": "2023-12-08T03:35:00", + "on_sky_start_time": "2023-12-08T01:35:00", + "on_sky_stop_time": "2023-12-08T03:35:00", + "duration": 7200.0, + "on_sky_duration": 7200.0 + }, + { + "id": 30522, + "name": "Calibrator Observation 2", + "description": "Calibrator Observation 2. After the Target Observation", + "scheduling_unit_blueprint": 5097, + "status": "schedulable", + "task_type": "observation", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-08T03:36:00", + "process_stop_time": "2023-12-08T03:46:00", + "on_sky_start_time": "2023-12-08T03:36:00", + "on_sky_stop_time": "2023-12-08T03:46:00", + "duration": 600.0, + "on_sky_duration": 600.0 + }, + { + "id": 30526, + "name": "Cleanup", + "description": "Clean up all dataproducts from disk after ingest", + "scheduling_unit_blueprint": 5097, + "status": "schedulable", + "task_type": "cleanup", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-08T03:46:00", + "process_stop_time": "2023-12-08T03:51:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 300.0, + "on_sky_duration": null + }, + { + "id": 30527, + "name": "Ingest", + "description": "Ingest all preprocessed dataproducts", + "scheduling_unit_blueprint": 5097, + "status": "schedulable", + "task_type": "ingest", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-08T03:56:00", + "process_stop_time": "2023-12-08T04:01:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 300.0, + "on_sky_duration": null + }, + { + "id": 30523, + "name": "Calibrator Pipeline 2", + "description": "Preprocessing Pipeline for Calibrator Observation 2", + "scheduling_unit_blueprint": 5097, + "status": "schedulable", + "task_type": "pipeline", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-08T03:46:00", + "process_stop_time": "2023-12-08T03:56:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 600.0, + "on_sky_duration": null + }, + { + "id": 30524, + "name": "Pipeline target2", + "description": "Preprocessing Pipeline for Target Observation target2, SAP001, 120-168 MHz, 1s, 16ch/sb", + "scheduling_unit_blueprint": 5097, + "status": "schedulable", + "task_type": "pipeline", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-08T03:35:00", + "process_stop_time": "2023-12-08T05:35:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 7200.0, + "on_sky_duration": null + }, + { + "id": 30525, + "name": "Pipeline target1", + "description": "Preprocessing Pipeline for Target Observation target1, SAP000, 120-168 MHz, 1s, 16ch/sb", + "scheduling_unit_blueprint": 5097, + "status": "schedulable", + "task_type": "pipeline", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-08T03:35:00", + "process_stop_time": "2023-12-08T05:35:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 7200.0, + "on_sky_duration": null + }, + { + "id": 30520, + "name": "Calibrator Pipeline 1", + "description": "Preprocessing Pipeline for Calibrator Observation 1", + "scheduling_unit_blueprint": 5097, + "status": "schedulable", + "task_type": "pipeline", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-08T01:34:00", + "process_stop_time": "2023-12-08T01:44:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 600.0, + "on_sky_duration": null + } + ] + }, + { + "id": 4446, + "name": "IDOLS_nighttime_LBA-20231207", + "description": "IDOLS nighttime observation on single station CS032, ingest, cleanup", + "status": "scheduled", + "unschedulable_reason": "", + "error_reason": "", + "scheduler": "fixed_time", + "priority_queue": "A", + "scheduling_constraints_template_id": 13, + "process_start_time": "2023-12-07T13:26:00", + "process_stop_time": "2023-12-08T09:28:00", + "on_sky_start_time": "2023-12-07T13:26:00", + "on_sky_stop_time": "2023-12-08T09:23:00", + "duration": 72420.0, + "on_sky_duration": 71820.0, + "project": "IDOLS", + "antenna_set": "LBA_OUTER", + "specified_stations": [ + "CS032" + ], + "used_stations": [ + "CS032" + ], + "missing_stations": [], + "task_blueprints": [ + { + "id": 28007, + "name": "BF 1 station LBA", + "description": "Beamformed observation with a single station LBA on the Sun with a calibrator beam (default CasA), 5-88 MHz, 16 ch/SB, 0.01s", + "scheduling_unit_blueprint": 4446, + "status": "scheduled", + "task_type": "observation", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-07T13:26:00", + "process_stop_time": "2023-12-08T09:23:00", + "on_sky_start_time": "2023-12-07T13:26:00", + "on_sky_stop_time": "2023-12-08T09:23:00", + "duration": 71820.0, + "on_sky_duration": 71820.0 + }, + { + "id": 28008, + "name": "Cleanup", + "description": "Cleaning up all output dataproducts for this scheduling unit", + "scheduling_unit_blueprint": 4446, + "status": "schedulable", + "task_type": "cleanup", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-08T09:23:00", + "process_stop_time": "2023-12-08T09:28:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 300.0, + "on_sky_duration": null + }, + { + "id": 28009, + "name": "Ingest", + "description": "", + "scheduling_unit_blueprint": 4446, + "status": "schedulable", + "task_type": "ingest", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-08T09:23:00", + "process_stop_time": "2023-12-08T09:28:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 300.0, + "on_sky_duration": null + } + ] + }, + { + "id": 4447, + "name": "Sun_LBA-20231208", + "description": "IDOLS daytime observation on single station CS032, ingest, cleanup", + "status": "scheduled", + "unschedulable_reason": "", + "error_reason": "", + "scheduler": "fixed_time", + "priority_queue": "A", + "scheduling_constraints_template_id": 13, + "process_start_time": "2023-12-08T09:25:00", + "process_stop_time": "2023-12-08T13:28:00", + "on_sky_start_time": "2023-12-08T09:25:00", + "on_sky_stop_time": "2023-12-08T13:23:00", + "duration": 14880.0, + "on_sky_duration": 14280.0, + "project": "IDOLS", + "antenna_set": "LBA_OUTER", + "specified_stations": [ + "CS032" + ], + "used_stations": [ + "CS032" + ], + "missing_stations": [], + "task_blueprints": [ + { + "id": 28010, + "name": "BF 1 station LBA", + "description": "Beamformed observation with a single station LBA on the Sun with a calibrator beam (default CasA), 5-88 MHz, 16 ch/SB, 0.01s", + "scheduling_unit_blueprint": 4447, + "status": "scheduled", + "task_type": "observation", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-08T09:25:00", + "process_stop_time": "2023-12-08T13:23:00", + "on_sky_start_time": "2023-12-08T09:25:00", + "on_sky_stop_time": "2023-12-08T13:23:00", + "duration": 14280.0, + "on_sky_duration": 14280.0 + }, + { + "id": 28011, + "name": "Cleanup", + "description": "Cleaning up all output dataproducts for this scheduling unit", + "scheduling_unit_blueprint": 4447, + "status": "schedulable", + "task_type": "cleanup", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-08T13:23:00", + "process_stop_time": "2023-12-08T13:28:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 300.0, + "on_sky_duration": null + }, + { + "id": 28012, + "name": "Ingest", + "description": "", + "scheduling_unit_blueprint": 4447, + "status": "schedulable", + "task_type": "ingest", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-08T13:23:00", + "process_stop_time": "2023-12-08T13:28:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 300.0, + "on_sky_duration": null + } + ] + }, + { + "id": 4925, + "name": "P042+11P045+06_145.4", + "description": "P042+11P045+06_145.4", + "status": "schedulable", + "unschedulable_reason": "", + "error_reason": "", + "scheduler": "dynamic", + "priority_queue": "A", + "scheduling_constraints_template_id": 13, + "process_start_time": "2023-12-08T19:25:00", + "process_stop_time": "2023-12-08T23:25:00", + "on_sky_start_time": "2023-12-08T19:25:00", + "on_sky_stop_time": "2023-12-08T21:36:00", + "duration": 23400.0, + "on_sky_duration": 7800.0, + "project": "LC20_026", + "antenna_set": "HBA_DUAL_INNER", + "specified_stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "IE613", + "LV614", + "PL610", + "PL611", + "PL612", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "SE607", + "UK608" + ], + "used_stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "IE613", + "LV614", + "PL610", + "PL611", + "PL612", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "SE607", + "UK608" + ], + "missing_stations": [], + "task_blueprints": [ + { + "id": 29707, + "name": "Target Observation", + "description": "Target Observation for LoTSS scheduling unit. HBA_DUAL_INNER, 120-168 MHz, 1s, 64ch/sb ", + "scheduling_unit_blueprint": 4925, + "status": "schedulable", + "task_type": "observation", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-08T19:25:00", + "process_stop_time": "2023-12-08T21:25:00", + "on_sky_start_time": "2023-12-08T19:25:00", + "on_sky_stop_time": "2023-12-08T21:25:00", + "duration": 7200.0, + "on_sky_duration": 7200.0 + }, + { + "id": 29708, + "name": "Calibrator Observation", + "description": "Calibrator Observation. After the Target Observation", + "scheduling_unit_blueprint": 4925, + "status": "schedulable", + "task_type": "observation", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-08T21:26:00", + "process_stop_time": "2023-12-08T21:36:00", + "on_sky_start_time": "2023-12-08T21:26:00", + "on_sky_stop_time": "2023-12-08T21:36:00", + "duration": 600.0, + "on_sky_duration": 600.0 + }, + { + "id": 29712, + "name": "Cleanup", + "description": "Clean up all dataproducts from disk after ingest", + "scheduling_unit_blueprint": 4925, + "status": "schedulable", + "task_type": "cleanup", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-08T21:36:00", + "process_stop_time": "2023-12-08T21:41:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 300.0, + "on_sky_duration": null + }, + { + "id": 29713, + "name": "Ingest", + "description": "Ingest all preprocessed dataproducts", + "scheduling_unit_blueprint": 4925, + "status": "schedulable", + "task_type": "ingest", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-08T21:46:00", + "process_stop_time": "2023-12-08T21:51:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 300.0, + "on_sky_duration": null + }, + { + "id": 29709, + "name": "Calibrator Pipeline", + "description": "Preprocessing Pipeline for Calibrator Observation", + "scheduling_unit_blueprint": 4925, + "status": "schedulable", + "task_type": "pipeline", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-08T21:36:00", + "process_stop_time": "2023-12-08T21:46:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 600.0, + "on_sky_duration": null + }, + { + "id": 29710, + "name": "Pipeline target2", + "description": "Preprocessing Pipeline for Target Observation target2, SAP001, 120-168 MHz, 1s, 16ch/sb", + "scheduling_unit_blueprint": 4925, + "status": "schedulable", + "task_type": "pipeline", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-08T21:25:00", + "process_stop_time": "2023-12-08T23:25:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 7200.0, + "on_sky_duration": null + }, + { + "id": 29711, + "name": "Pipeline target1", + "description": "Preprocessing Pipeline for Target Observation target1, SAP000, 120-168 MHz, 1s, 16ch/sb", + "scheduling_unit_blueprint": 4925, + "status": "schedulable", + "task_type": "pipeline", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-08T21:25:00", + "process_stop_time": "2023-12-08T23:25:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 7200.0, + "on_sky_duration": null + } + ] + }, + { + "id": 5140, + "name": "P069+16P069+11_213.5", + "description": "P069+16P069+11_213.5", + "status": "schedulable", + "unschedulable_reason": "", + "error_reason": "", + "scheduler": "dynamic", + "priority_queue": "A", + "scheduling_constraints_template_id": 13, + "process_start_time": "2023-12-08T21:37:00", + "process_stop_time": "2023-12-09T01:42:00", + "on_sky_start_time": "2023-12-08T21:37:00", + "on_sky_stop_time": "2023-12-08T23:48:00", + "duration": 23400.0, + "on_sky_duration": 7800.0, + "project": "LC20_026", + "antenna_set": "HBA_DUAL_INNER", + "specified_stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "IE613", + "LV614", + "PL610", + "PL611", + "PL612", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "SE607", + "UK608" + ], + "used_stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "IE613", + "LV614", + "PL610", + "PL611", + "PL612", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "SE607", + "UK608" + ], + "missing_stations": [], + "task_blueprints": [ + { + "id": 30827, + "name": "Calibrator Observation", + "description": "Calibrator Observation. After the Target Observation", + "scheduling_unit_blueprint": 5140, + "status": "schedulable", + "task_type": "observation", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-08T23:38:00", + "process_stop_time": "2023-12-08T23:48:00", + "on_sky_start_time": "2023-12-08T23:38:00", + "on_sky_stop_time": "2023-12-08T23:48:00", + "duration": 600.0, + "on_sky_duration": 600.0 + }, + { + "id": 30826, + "name": "Target Observation", + "description": "Target Observation for LoTSS scheduling unit. HBA_DUAL_INNER, 120-168 MHz, 1s, 64ch/sb ", + "scheduling_unit_blueprint": 5140, + "status": "schedulable", + "task_type": "observation", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-08T21:37:00", + "process_stop_time": "2023-12-08T23:37:00", + "on_sky_start_time": "2023-12-08T21:37:00", + "on_sky_stop_time": "2023-12-08T23:37:00", + "duration": 7200.0, + "on_sky_duration": 7200.0 + }, + { + "id": 30831, + "name": "Cleanup", + "description": "Clean up all dataproducts from disk after ingest", + "scheduling_unit_blueprint": 5140, + "status": "schedulable", + "task_type": "cleanup", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-08T23:37:00", + "process_stop_time": "2023-12-08T23:42:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 300.0, + "on_sky_duration": null + }, + { + "id": 30832, + "name": "Ingest", + "description": "Ingest all preprocessed dataproducts", + "scheduling_unit_blueprint": 5140, + "status": "schedulable", + "task_type": "ingest", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-09T01:37:00", + "process_stop_time": "2023-12-09T01:42:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 300.0, + "on_sky_duration": null + }, + { + "id": 30829, + "name": "Pipeline target2", + "description": "Preprocessing Pipeline for Target Observation target2, SAP001, 120-168 MHz, 1s, 16ch/sb", + "scheduling_unit_blueprint": 5140, + "status": "schedulable", + "task_type": "pipeline", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-08T23:37:00", + "process_stop_time": "2023-12-09T01:37:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 7200.0, + "on_sky_duration": null + }, + { + "id": 30830, + "name": "Pipeline target1", + "description": "Preprocessing Pipeline for Target Observation target1, SAP000, 120-168 MHz, 1s, 16ch/sb", + "scheduling_unit_blueprint": 5140, + "status": "schedulable", + "task_type": "pipeline", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-08T23:37:00", + "process_stop_time": "2023-12-09T01:37:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 7200.0, + "on_sky_duration": null + }, + { + "id": 30828, + "name": "Calibrator Pipeline", + "description": "Preprocessing Pipeline for Calibrator Observation", + "scheduling_unit_blueprint": 5140, + "status": "schedulable", + "task_type": "pipeline", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-08T23:48:00", + "process_stop_time": "2023-12-08T23:58:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 600.0, + "on_sky_duration": null + } + ] + }, + { + "id": 5098, + "name": "P136+14P137+09_80.4", + "description": "P136+14P137+09_80.4", + "status": "schedulable", + "unschedulable_reason": "", + "error_reason": "", + "scheduler": "dynamic", + "priority_queue": "A", + "scheduling_constraints_template_id": 13, + "process_start_time": "2023-12-09T01:20:00", + "process_stop_time": "2023-12-09T05:36:00", + "on_sky_start_time": "2023-12-09T01:20:00", + "on_sky_stop_time": "2023-12-09T03:42:00", + "duration": 24600.0, + "on_sky_duration": 8400.0, + "project": "LC20_026", + "antenna_set": "HBA_DUAL_INNER", + "specified_stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "IE613", + "LV614", + "PL610", + "PL611", + "PL612", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "SE607", + "UK608" + ], + "used_stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "IE613", + "LV614", + "PL610", + "PL611", + "PL612", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "SE607", + "UK608" + ], + "missing_stations": [], + "task_blueprints": [ + { + "id": 30531, + "name": "Calibrator Observation 2", + "description": "Calibrator Observation 2. After the Target Observation", + "scheduling_unit_blueprint": 5098, + "status": "schedulable", + "task_type": "observation", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-09T03:32:00", + "process_stop_time": "2023-12-09T03:42:00", + "on_sky_start_time": "2023-12-09T03:32:00", + "on_sky_stop_time": "2023-12-09T03:42:00", + "duration": 600.0, + "on_sky_duration": 600.0 + }, + { + "id": 30528, + "name": "Calibrator Observation 1", + "description": "Calibrator Observation 1. Before the Target Observation", + "scheduling_unit_blueprint": 5098, + "status": "schedulable", + "task_type": "observation", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-09T01:20:00", + "process_stop_time": "2023-12-09T01:30:00", + "on_sky_start_time": "2023-12-09T01:20:00", + "on_sky_stop_time": "2023-12-09T01:30:00", + "duration": 600.0, + "on_sky_duration": 600.0 + }, + { + "id": 30530, + "name": "Target Observation", + "description": "Target Observation for LoTSS scheduling unit. HBA_DUAL_INNER, 120-168 MHz, 1s, 64ch/sb ", + "scheduling_unit_blueprint": 5098, + "status": "schedulable", + "task_type": "observation", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-09T01:31:00", + "process_stop_time": "2023-12-09T03:31:00", + "on_sky_start_time": "2023-12-09T01:31:00", + "on_sky_stop_time": "2023-12-09T03:31:00", + "duration": 7200.0, + "on_sky_duration": 7200.0 + }, + { + "id": 30535, + "name": "Cleanup", + "description": "Clean up all dataproducts from disk after ingest", + "scheduling_unit_blueprint": 5098, + "status": "schedulable", + "task_type": "cleanup", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-09T03:31:00", + "process_stop_time": "2023-12-09T03:36:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 300.0, + "on_sky_duration": null + }, + { + "id": 30536, + "name": "Ingest", + "description": "Ingest all preprocessed dataproducts", + "scheduling_unit_blueprint": 5098, + "status": "schedulable", + "task_type": "ingest", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-09T05:31:00", + "process_stop_time": "2023-12-09T05:36:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 300.0, + "on_sky_duration": null + }, + { + "id": 30533, + "name": "Pipeline target2", + "description": "Preprocessing Pipeline for Target Observation target2, SAP001, 120-168 MHz, 1s, 16ch/sb", + "scheduling_unit_blueprint": 5098, + "status": "schedulable", + "task_type": "pipeline", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-09T03:31:00", + "process_stop_time": "2023-12-09T05:31:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 7200.0, + "on_sky_duration": null + }, + { + "id": 30534, + "name": "Pipeline target1", + "description": "Preprocessing Pipeline for Target Observation target1, SAP000, 120-168 MHz, 1s, 16ch/sb", + "scheduling_unit_blueprint": 5098, + "status": "schedulable", + "task_type": "pipeline", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-09T03:31:00", + "process_stop_time": "2023-12-09T05:31:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 7200.0, + "on_sky_duration": null + }, + { + "id": 30529, + "name": "Calibrator Pipeline 1", + "description": "Preprocessing Pipeline for Calibrator Observation 1", + "scheduling_unit_blueprint": 5098, + "status": "schedulable", + "task_type": "pipeline", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-09T01:30:00", + "process_stop_time": "2023-12-09T01:40:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 600.0, + "on_sky_duration": null + }, + { + "id": 30532, + "name": "Calibrator Pipeline 2", + "description": "Preprocessing Pipeline for Calibrator Observation 2", + "scheduling_unit_blueprint": 5098, + "status": "schedulable", + "task_type": "pipeline", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-09T03:42:00", + "process_stop_time": "2023-12-09T03:52:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 600.0, + "on_sky_duration": null + } + ] + }, + { + "id": 4448, + "name": "IDOLS_nighttime_LBA-20231208", + "description": "IDOLS nighttime observation on single station CS032, ingest, cleanup", + "status": "scheduled", + "unschedulable_reason": "", + "error_reason": "", + "scheduler": "fixed_time", + "priority_queue": "A", + "scheduling_constraints_template_id": 13, + "process_start_time": "2023-12-08T13:25:00", + "process_stop_time": "2023-12-09T09:30:00", + "on_sky_start_time": "2023-12-08T13:25:00", + "on_sky_stop_time": "2023-12-09T09:25:00", + "duration": 72600.0, + "on_sky_duration": 72000.0, + "project": "IDOLS", + "antenna_set": "LBA_OUTER", + "specified_stations": [ + "CS032" + ], + "used_stations": [ + "CS032" + ], + "missing_stations": [], + "task_blueprints": [ + { + "id": 28013, + "name": "BF 1 station LBA", + "description": "Beamformed observation with a single station LBA on the Sun with a calibrator beam (default CasA), 5-88 MHz, 16 ch/SB, 0.01s", + "scheduling_unit_blueprint": 4448, + "status": "scheduled", + "task_type": "observation", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-08T13:25:00", + "process_stop_time": "2023-12-09T09:25:00", + "on_sky_start_time": "2023-12-08T13:25:00", + "on_sky_stop_time": "2023-12-09T09:25:00", + "duration": 72000.0, + "on_sky_duration": 72000.0 + }, + { + "id": 28014, + "name": "Cleanup", + "description": "Cleaning up all output dataproducts for this scheduling unit", + "scheduling_unit_blueprint": 4448, + "status": "schedulable", + "task_type": "cleanup", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-09T09:25:00", + "process_stop_time": "2023-12-09T09:30:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 300.0, + "on_sky_duration": null + }, + { + "id": 28015, + "name": "Ingest", + "description": "", + "scheduling_unit_blueprint": 4448, + "status": "schedulable", + "task_type": "ingest", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-09T09:25:00", + "process_stop_time": "2023-12-09T09:30:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 300.0, + "on_sky_duration": null + } + ] + }, + { + "id": 4449, + "name": "Sun_LBA-20231209", + "description": "IDOLS daytime observation on single station CS032, ingest, cleanup", + "status": "scheduled", + "unschedulable_reason": "", + "error_reason": "", + "scheduler": "fixed_time", + "priority_queue": "A", + "scheduling_constraints_template_id": 13, + "process_start_time": "2023-12-09T09:27:00", + "process_stop_time": "2023-12-09T13:27:00", + "on_sky_start_time": "2023-12-09T09:27:00", + "on_sky_stop_time": "2023-12-09T13:22:00", + "duration": 14700.0, + "on_sky_duration": 14100.0, + "project": "IDOLS", + "antenna_set": "LBA_OUTER", + "specified_stations": [ + "CS032" + ], + "used_stations": [ + "CS032" + ], + "missing_stations": [], + "task_blueprints": [ + { + "id": 28016, + "name": "BF 1 station LBA", + "description": "Beamformed observation with a single station LBA on the Sun with a calibrator beam (default CasA), 5-88 MHz, 16 ch/SB, 0.01s", + "scheduling_unit_blueprint": 4449, + "status": "scheduled", + "task_type": "observation", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-09T09:27:00", + "process_stop_time": "2023-12-09T13:22:00", + "on_sky_start_time": "2023-12-09T09:27:00", + "on_sky_stop_time": "2023-12-09T13:22:00", + "duration": 14100.0, + "on_sky_duration": 14100.0 + }, + { + "id": 28017, + "name": "Cleanup", + "description": "Cleaning up all output dataproducts for this scheduling unit", + "scheduling_unit_blueprint": 4449, + "status": "schedulable", + "task_type": "cleanup", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-09T13:22:00", + "process_stop_time": "2023-12-09T13:27:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 300.0, + "on_sky_duration": null + }, + { + "id": 28018, + "name": "Ingest", + "description": "", + "scheduling_unit_blueprint": 4449, + "status": "schedulable", + "task_type": "ingest", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-09T13:22:00", + "process_stop_time": "2023-12-09T13:27:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 300.0, + "on_sky_duration": null + } + ] + }, + { + "id": 4930, + "name": "P045+11P050+11_146.4", + "description": "P045+11P050+11_146.4", + "status": "schedulable", + "unschedulable_reason": "", + "error_reason": "", + "scheduler": "dynamic", + "priority_queue": "A", + "scheduling_constraints_template_id": 13, + "process_start_time": "2023-12-09T19:42:52", + "process_stop_time": "2023-12-09T23:42:52", + "on_sky_start_time": "2023-12-09T19:42:52", + "on_sky_stop_time": "2023-12-09T21:53:52", + "duration": 23400.0, + "on_sky_duration": 7800.0, + "project": "LC20_026", + "antenna_set": "HBA_DUAL_INNER", + "specified_stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "IE613", + "LV614", + "PL610", + "PL611", + "PL612", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "SE607", + "UK608" + ], + "used_stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "IE613", + "LV614", + "PL610", + "PL611", + "PL612", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "SE607", + "UK608" + ], + "missing_stations": [], + "task_blueprints": [ + { + "id": 29742, + "name": "Target Observation", + "description": "Target Observation for LoTSS scheduling unit. HBA_DUAL_INNER, 120-168 MHz, 1s, 64ch/sb ", + "scheduling_unit_blueprint": 4930, + "status": "schedulable", + "task_type": "observation", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-09T19:42:52", + "process_stop_time": "2023-12-09T21:42:52", + "on_sky_start_time": "2023-12-09T19:42:52", + "on_sky_stop_time": "2023-12-09T21:42:52", + "duration": 7200.0, + "on_sky_duration": 7200.0 + }, + { + "id": 29743, + "name": "Calibrator Observation", + "description": "Calibrator Observation. After the Target Observation", + "scheduling_unit_blueprint": 4930, + "status": "schedulable", + "task_type": "observation", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-09T21:43:52", + "process_stop_time": "2023-12-09T21:53:52", + "on_sky_start_time": "2023-12-09T21:43:52", + "on_sky_stop_time": "2023-12-09T21:53:52", + "duration": 600.0, + "on_sky_duration": 600.0 + }, + { + "id": 29747, + "name": "Cleanup", + "description": "Clean up all dataproducts from disk after ingest", + "scheduling_unit_blueprint": 4930, + "status": "schedulable", + "task_type": "cleanup", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-09T21:53:52", + "process_stop_time": "2023-12-09T21:58:52", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 300.0, + "on_sky_duration": null + }, + { + "id": 29748, + "name": "Ingest", + "description": "Ingest all preprocessed dataproducts", + "scheduling_unit_blueprint": 4930, + "status": "schedulable", + "task_type": "ingest", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-09T22:03:52", + "process_stop_time": "2023-12-09T22:08:52", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 300.0, + "on_sky_duration": null + }, + { + "id": 29744, + "name": "Calibrator Pipeline", + "description": "Preprocessing Pipeline for Calibrator Observation", + "scheduling_unit_blueprint": 4930, + "status": "schedulable", + "task_type": "pipeline", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-09T21:53:52", + "process_stop_time": "2023-12-09T22:03:52", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 600.0, + "on_sky_duration": null + }, + { + "id": 29745, + "name": "Pipeline target2", + "description": "Preprocessing Pipeline for Target Observation target2, SAP001, 120-168 MHz, 1s, 16ch/sb", + "scheduling_unit_blueprint": 4930, + "status": "schedulable", + "task_type": "pipeline", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-09T21:42:52", + "process_stop_time": "2023-12-09T23:42:52", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 7200.0, + "on_sky_duration": null + }, + { + "id": 29746, + "name": "Pipeline target1", + "description": "Preprocessing Pipeline for Target Observation target1, SAP000, 120-168 MHz, 1s, 16ch/sb", + "scheduling_unit_blueprint": 4930, + "status": "schedulable", + "task_type": "pipeline", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-09T21:42:52", + "process_stop_time": "2023-12-09T23:42:52", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 7200.0, + "on_sky_duration": null + } + ] + }, + { + "id": 5139, + "name": "P069+16P069+11_213.4", + "description": "P069+16P069+11_213.4", + "status": "schedulable", + "unschedulable_reason": "", + "error_reason": "", + "scheduler": "dynamic", + "priority_queue": "A", + "scheduling_constraints_template_id": 13, + "process_start_time": "2023-12-09T21:54:52", + "process_stop_time": "2023-12-10T01:59:52", + "on_sky_start_time": "2023-12-09T21:54:52", + "on_sky_stop_time": "2023-12-10T00:05:52", + "duration": 23400.0, + "on_sky_duration": 7800.0, + "project": "LC20_026", + "antenna_set": "HBA_DUAL_INNER", + "specified_stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "IE613", + "LV614", + "PL610", + "PL611", + "PL612", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "SE607", + "UK608" + ], + "used_stations": [ + "CS002", + "CS003", + "CS004", + "CS005", + "CS006", + "CS007", + "CS011", + "CS013", + "CS017", + "CS021", + "CS024", + "CS026", + "CS028", + "CS030", + "CS031", + "CS032", + "CS101", + "CS103", + "CS201", + "CS301", + "CS302", + "CS401", + "CS501", + "DE601", + "DE602", + "DE603", + "DE604", + "DE605", + "DE609", + "FR606", + "IE613", + "LV614", + "PL610", + "PL611", + "PL612", + "RS106", + "RS205", + "RS208", + "RS210", + "RS305", + "RS306", + "RS307", + "RS310", + "RS406", + "RS407", + "RS409", + "RS503", + "RS508", + "RS509", + "SE607", + "UK608" + ], + "missing_stations": [], + "task_blueprints": [ + { + "id": 30820, + "name": "Calibrator Observation", + "description": "Calibrator Observation. After the Target Observation", + "scheduling_unit_blueprint": 5139, + "status": "schedulable", + "task_type": "observation", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-09T23:55:52", + "process_stop_time": "2023-12-10T00:05:52", + "on_sky_start_time": "2023-12-09T23:55:52", + "on_sky_stop_time": "2023-12-10T00:05:52", + "duration": 600.0, + "on_sky_duration": 600.0 + }, + { + "id": 30819, + "name": "Target Observation", + "description": "Target Observation for LoTSS scheduling unit. HBA_DUAL_INNER, 120-168 MHz, 1s, 64ch/sb ", + "scheduling_unit_blueprint": 5139, + "status": "schedulable", + "task_type": "observation", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-09T21:54:52", + "process_stop_time": "2023-12-09T23:54:52", + "on_sky_start_time": "2023-12-09T21:54:52", + "on_sky_stop_time": "2023-12-09T23:54:52", + "duration": 7200.0, + "on_sky_duration": 7200.0 + }, + { + "id": 30824, + "name": "Cleanup", + "description": "Clean up all dataproducts from disk after ingest", + "scheduling_unit_blueprint": 5139, + "status": "schedulable", + "task_type": "cleanup", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-09T23:54:52", + "process_stop_time": "2023-12-09T23:59:52", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 300.0, + "on_sky_duration": null + }, + { + "id": 30825, + "name": "Ingest", + "description": "Ingest all preprocessed dataproducts", + "scheduling_unit_blueprint": 5139, + "status": "schedulable", + "task_type": "ingest", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-10T01:54:52", + "process_stop_time": "2023-12-10T01:59:52", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 300.0, + "on_sky_duration": null + }, + { + "id": 30823, + "name": "Pipeline target1", + "description": "Preprocessing Pipeline for Target Observation target1, SAP000, 120-168 MHz, 1s, 16ch/sb", + "scheduling_unit_blueprint": 5139, + "status": "schedulable", + "task_type": "pipeline", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-09T23:54:52", + "process_stop_time": "2023-12-10T01:54:52", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 7200.0, + "on_sky_duration": null + }, + { + "id": 30822, + "name": "Pipeline target2", + "description": "Preprocessing Pipeline for Target Observation target2, SAP001, 120-168 MHz, 1s, 16ch/sb", + "scheduling_unit_blueprint": 5139, + "status": "schedulable", + "task_type": "pipeline", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-09T23:54:52", + "process_stop_time": "2023-12-10T01:54:52", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 7200.0, + "on_sky_duration": null + }, + { + "id": 30821, + "name": "Calibrator Pipeline", + "description": "Preprocessing Pipeline for Calibrator Observation", + "scheduling_unit_blueprint": 5139, + "status": "schedulable", + "task_type": "pipeline", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-10T00:05:52", + "process_stop_time": "2023-12-10T00:15:52", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 600.0, + "on_sky_duration": null + } + ] + }, + { + "id": 4450, + "name": "IDOLS_nighttime_LBA-20231209", + "description": "IDOLS nighttime observation on single station CS032, ingest, cleanup", + "status": "scheduled", + "unschedulable_reason": "", + "error_reason": "", + "scheduler": "fixed_time", + "priority_queue": "A", + "scheduling_constraints_template_id": 13, + "process_start_time": "2023-12-09T13:24:00", + "process_stop_time": "2023-12-10T09:31:00", + "on_sky_start_time": "2023-12-09T13:24:00", + "on_sky_stop_time": "2023-12-10T09:26:00", + "duration": 72720.0, + "on_sky_duration": 72120.0, + "project": "IDOLS", + "antenna_set": "LBA_OUTER", + "specified_stations": [ + "CS032" + ], + "used_stations": [ + "CS032" + ], + "missing_stations": [], + "task_blueprints": [ + { + "id": 28020, + "name": "Cleanup", + "description": "Cleaning up all output dataproducts for this scheduling unit", + "scheduling_unit_blueprint": 4450, + "status": "schedulable", + "task_type": "cleanup", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-10T09:26:00", + "process_stop_time": "2023-12-10T09:31:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 300.0, + "on_sky_duration": null + }, + { + "id": 28021, + "name": "Ingest", + "description": "", + "scheduling_unit_blueprint": 4450, + "status": "schedulable", + "task_type": "ingest", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-10T09:26:00", + "process_stop_time": "2023-12-10T09:31:00", + "on_sky_start_time": null, + "on_sky_stop_time": null, + "duration": 300.0, + "on_sky_duration": null + }, + { + "id": 28019, + "name": "BF 1 station LBA", + "description": "Beamformed observation with a single station LBA on the Sun with a calibrator beam (default CasA), 5-88 MHz, 16 ch/SB, 0.01s", + "scheduling_unit_blueprint": 4450, + "status": "scheduled", + "task_type": "observation", + "unschedulable_reason": "", + "error_reason": "", + "process_start_time": "2023-12-09T13:24:00", + "process_stop_time": "2023-12-10T09:26:00", + "on_sky_start_time": "2023-12-09T13:24:00", + "on_sky_stop_time": "2023-12-10T09:26:00", + "duration": 72120.0, + "on_sky_duration": 72120.0 + } + ] + } + ] +} \ No newline at end of file diff --git a/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/WeekView.js b/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/WeekView.js index 528c4083571a3e37a0ef77f0a1c7d6e1c16406ce..ca4e793ec28914ac06918aef36c5a64af9920cc0 100644 --- a/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/WeekView.js +++ b/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/WeekView.js @@ -119,7 +119,7 @@ function getTimelineMarkers(setCursorDate) { * @return {JSX.Element} * @constructor */ -export default function WeekView() { +export default function WeekView(props) { const timelineStore = getStore(UIConstants.STORE_KEY_TIMELINE) const location = useLocation() let actionsMenuRef = useRef() @@ -161,8 +161,8 @@ export default function WeekView() { //timeline component const [weekNumbers, setWeekNumbers] = useState(""); - const [startTime, setStartTime] = useState(moment().startOf('day')) - const [endTime, setEndTime] = useState(moment().endOf('day')) + const [startTime, setStartTime] = useState(props.startTime? props.startTime : moment().startOf('day')) + const [endTime, setEndTime] = useState(props.endTime? props.endTime :moment().endOf('day')) const [items, setItems] = useState({ schedulingUnitItems: [], @@ -321,6 +321,15 @@ export default function WeekView() { await fetchSunTimings(startTime, setItems, currentGroups, itemGroupKey); } + + + + useEffect(() => { + // Check if the forceUpdate prop has changed and trigger a re-render + console.log(" Foring refrfeh") + updateGrouping(props.grouping); + }, [props.grouping]); + // when the data update, has updatet the items, we have all the groups in expect station grouping // this is due to the fact that this is a LARGE amount of data function refreshGrouping(grouper = grouping, schedulingUnitItems = items.schedulingUnitItems, reserVationUnitItems = items.reservationItems) { @@ -398,7 +407,7 @@ export default function WeekView() { <div className="p-grid"> - <div className="timeline-panel"> + <div className="timeline-panel"> <div className="timeline-tools" style={{ display: isExpanded ? 'flex' : 'none' }}> @@ -411,21 +420,23 @@ export default function WeekView() { setRefetchToggle={setRefetchToggle} refreshGrouping={refreshGrouping} /> - <DateTimeNavigator timelineStore={timelineStore} - startTime={startTime} - setStartTime={setStartTime} - setEndTime={setEndTime} - /> - <ZoomAndMove timelineStore={timelineStore} + <DateTimeNavigator timelineStore={timelineStore} + startTime={startTime} + setStartTime={setStartTime} + setEndTime={setEndTime} + /> + <ZoomAndMove timelineStore={timelineStore} startTime={startTime} setVisibleTime={setVisibleTime} visibleTime={visibleTime} headerSettings={headerSettings} setHeaderSettings={setHeaderSettings} /> + <Legendbar className={showLegendbar ? undefined : "hide-element"} /> </div> + {Object.values(visibleTime).some(value => value === undefined) ? <ProgressSpinner /> : diff --git a/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/WeekView.test.js b/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/WeekView.test.js new file mode 100644 index 0000000000000000000000000000000000000000..0f304ba0177c349c5806e743bb712610678b6dc2 --- /dev/null +++ b/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/WeekView.test.js @@ -0,0 +1,212 @@ +import { BrowserRouter as Router } from 'react-router-dom'; +import renderer, { act } from 'react-test-renderer'; +import axios from "axios"; +import MockAdapter from 'axios-mock-adapter'; +import WeekView from "./WeekView"; +import Reservation from '../../__mocks__/reservation.data.json' +import SchedulingUnitBlueprintSlimWithTask from '../../__mocks__/scheduling_unit_blueprint_slim_with_task.json' +import BluePrintExtended from '../../__mocks__/blueprintsextended.json' +import moment from "moment"; +import { render, waitFor } from '@testing-library/react'; +const fakeauthanswer = { + data: { + "count": 1, + "next": "null", + "previous": null, + "results": [ + { + "name": "nothing" + } + ] + } +} + + + +const FakeSun = { + data: { + "CS002": { + "sunrise": [ + { + "start": "2023-12-03T06:14:15.958", + "end": "2023-12-03T09:14:01.168" + } + ], + "sunset": [ + { + "start": "2023-12-03T13:30:02.095", + "end": "2023-12-03T16:29:44.625" + } + ], + "day": [ + { + "start": "2023-12-03T09:14:01.168", + "end": "2023-12-03T13:30:02.095" + } + ], + "night": [ + { + "start": "2023-12-02T06:13:01.214", + "end": "2023-12-03T06:14:15.958" + } + ] + } + } +} + +const FakeProjectState = { + data: { + "count": 5, + "next": null, + "previous": null, + "results": [ + { + "value": "opened", + "url": "https://tmss.lofar.eu/api/project_state/opened" + }, + { + "value": "active", + "url": "https://tmss.lofar.eu/api/project_state/active" + }, + { + "value": "finished", + "url": "https://tmss.lofar.eu/api/project_state/finished" + }, + { + "value": "cancelled", + "url": "https://tmss.lofar.eu/api/project_state/cancelled" + }, + { + "value": "suspended", + "url": "https://tmss.lofar.eu/api/project_state/suspended" + } + ] + } +} + +const FakeSchedular = { + data: { + "name": "scheduler", + "url": "https://tmss.lofar.eu/api/subsystem/scheduler", + "created_at": "2022-10-03T08:55:11.449584", + "description": "The scheduler subsystem takes care of scheduling all scheduling_units taking into account all their constraints and station availability", + "status": "https://tmss.lofar.eu/api/subsystem_status/active", + "status_value": "active", + "tags": [], + + "updated_at": "2023-12-03T04:00:33.423663" + } +} + + +const FakeProject = { + data: { + "count": 6, + "next": null, + "previous": null, + "results": [ + { + "name": "Calibration", + "project_state_value": "active" + }, + { + "name": "COM18_001", + "project_state_value": "opened" + }, + { + "name": "COM_COBALT2", + "project_state_value": "active" + }, + { + "name": "DDT18_001", + "project_state_value": "finished" + }, + + { + "name": "high", + "project_state_value": "suspended" + }, + + { + "name": "LC18_019", + "project_state_value": "opened" + } + + ] + } +} + +const FakeFixedTimeScheduler = { + data: { + "url": "https://tmss.lofar.eu/api/setting/fixed_time_scheduling_enabled", + "tags": [], + "created_at": "2022-01-20T12:00:00", + "updated_at": "2023-11-28T09:36:30.783393", + "value": true + } +} + +const FakeDynamicSchedular = { + data: { + "url": "https://tmss.lofar.eu/api/setting/dynamic_scheduling_enabled", + "tags": [], + "created_at": "2021-10-11T10:54:30.647932", + "updated_at": "2023-11-28T09:36:35.081048", + "value": true + } +} +function MakePrimaryMock() { + let mock = new MockAdapter(axios); + + + mock.onGet("/api/util/sun_rise_and_set?stations=CS002×tamps=2023-12-03").reply(200, FakeSun); + mock.onGet("/api/project_state/").reply(200, FakeProjectState); + mock.onGet("/api/subsystem/scheduler").reply(200, FakeSchedular); + mock.onGet("/api/project/?fields=name,project_state_value&limit=150").reply(200, FakeProject); + mock.onGet("/api/setting/fixed_time_scheduling_enabled").reply(200, FakeFixedTimeScheduler); + mock.onGet("/api/reservation_template").reply(200, { data: { Reservation } }); + mock.onGet("/api/setting/dynamic_scheduling_enabled").reply(200, FakeDynamicSchedular); + mock.onGet("/api/scheduling_unit_blueprint_slim_with_tasks/?process_start_time_before=2023-12-03 23:59:59&process_stop_time_after=2023-12-03 00:00:00&id=").reply(200, SchedulingUnitBlueprintSlimWithTask); + mock.onGet("/api/scheduling_unit_blueprint_slim_with_tasks/?id=&limit=12&offset=38&process_start_time_before=2023-12-09+23%3A59%3A59&process_stop_time_after=2023-12-03+00%3A00%3A00").reply(200, SchedulingUnitBlueprintSlimWithTask); + mock.onGet("/api/scheduling_unit_blueprint_slim_with_tasks/?process_start_time_before=2023-12-03 23:59:59&process_stop_time_after=2023-12-03 00:00:00&id=&limit=50&offset=12").reply(200, SchedulingUnitBlueprintSlimWithTask); + mock.onOptions("/api/scheduling_unit_blueprint_extended/").reply(200, BluePrintExtended); + mock.onGet("/api/util/lst?timestamp=2023-12-03T00:00:00&stations=CS002").reply(200, { data: { "UTC": "2023-12-03T00:00:00Z", "LST": { "CS002": "05:13:44" } } }); + + + + +} +describe('WeekView Render Contents', () => { + + it('WeekView renders correctly with data', async () => { + MakePrimaryMock(); + let component + await act(async () => { + component = render( + <Router> + <WeekView endTime={moment("2023-12-03").endOf('day')} startTime={moment("2023-12-03").startOf('day')}></WeekView> + </Router> + ); + }); + + const componentSnapshot = component.asFragment(); + // Now `page` should be defined + expect(componentSnapshot).toMatchSnapshot("DuringLoad"); + + await waitFor(() => { + expect(component.container.querySelector('.p-progressbar-value-animate')).toBeDefined(); + }, { timeout: 5000 }); + + await act(async () => { + component.rerender( + <Router> + <WeekView endTime={moment("2023-12-03").endOf('day')} startTime={moment("2023-12-03").startOf('day')} grouping={"band_group"}></WeekView> + </Router> + ); + }); + expect(componentSnapshot).toMatchSnapshot("Loaded"); + + component.unmount(); + }); +}); + diff --git a/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/__snapshots__/WeekView.test.js.snap b/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/__snapshots__/WeekView.test.js.snap new file mode 100644 index 0000000000000000000000000000000000000000..37ddc5523c0836573e683219638ffe48d376c9ab --- /dev/null +++ b/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/__snapshots__/WeekView.test.js.snap @@ -0,0 +1,3641 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`WeekView Render Contents WeekView renders correctly with data: DuringLoad 1`] = ` +<DocumentFragment> + <div> + <div + class="hide-element" + > + <div + class="p-progressbar p-component p-progressbar-indeterminate hide-element" + data-pc-name="progressbar" + data-pc-section="root" + role="progressbar" + style="height: 0.25rem;" + > + <div + class="p-progressbar-indeterminate-container" + data-pc-section="indeterminatecontainer" + > + <div + class="p-progressbar-value p-progressbar-value-animate" + data-pc-section="value" + /> + </div> + </div> + </div> + <div + class="page-header undefined" + > + <div + class="title" + > + <h2 + class="page-title" + > + Scheduling Units - Week 49 View + </h2> + </div> + <div + class="page-action-menu page-actionsundefined" + > + <div + class="timeline-header-dropdown" + > + + <span + class="dropdown-title" + > + Group By + </span> + <div + class="p-dropdown p-component p-inputwrapper w-full md:w-14rem" + data-pc-name="dropdown" + data-pc-section="root" + > + <div + class="p-hidden-accessible" + data-pc-section="hiddenselectedmessage" + > + <input + aria-haspopup="listbox" + data-pc-section="input" + readonly="" + type="text" + /> + </div> + <div + class="p-hidden-accessible p-dropdown-hidden-select" + data-pc-section="hiddenselectedmessage" + > + <select + aria-hidden="true" + data-pc-section="select" + tabindex="-1" + > + <option + data-pc-section="option" + selected="" + value="" + /> + </select> + </div> + <span + class="p-dropdown-label p-inputtext p-dropdown-label-empty" + data-pc-section="input" + > + empty + </span> + <div + aria-expanded="false" + aria-haspopup="listbox" + class="p-dropdown-trigger" + data-pc-section="trigger" + role="button" + > + <svg + aria-hidden="true" + class="p-icon p-dropdown-trigger-icon p-clickable" + data-pc-section="dropdownicon" + fill="none" + height="14" + viewBox="0 0 14 14" + width="14" + xmlns="http://www.w3.org/2000/svg" + > + <path + d="M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z" + fill="currentColor" + /> + </svg> + </div> + </div> + </div> + <button + class="p-button p-component p-button-icon-only" + data-pc-name="button" + data-pc-section="root" + title="previous 7 days" + > + <span + class="p-button-icon p-c pi pi pi-angle-double-left" + data-pc-section="icon" + /> + <span + class="p-button-label p-c" + > + Â + </span> + </button> + <button + class="p-button p-component p-button-icon-only" + data-pc-name="button" + data-pc-section="root" + title="next 7 days" + > + <span + class="p-button-icon p-c pi pi pi-angle-double-right" + data-pc-section="icon" + /> + <span + class="p-button-label p-c" + > + Â + </span> + </button> + <span + class="action-divider" + /> + <span + class="tag tag--off" + title="Dynamic Scheduling is Off" + > + D + </span> + <span + class="tag tag--off" + title="Fixed time Scheduling is Off" + > + F + </span> + <button + class="p-button p-component p-button-icon-only" + data-pc-name="button" + data-pc-section="root" + title="Dynamic Scheduler is stopped. Click to change the scheduler" + > + <span + class="p-button-icon p-c pi pi-stop" + data-pc-section="icon" + /> + <span + class="p-button-label p-c" + > + Â + </span> + </button> + <button + class="p-button p-component p-button-icon-only" + data-pc-name="button" + data-pc-section="root" + title="Reload the timeline data" + > + <span + class="p-button-icon p-c pi pi-sync" + data-pc-section="icon" + /> + <span + class="p-button-label p-c" + > + Â + </span> + </button> + <button + class="p-button p-component p-button-icon-only" + data-pc-name="button" + data-pc-section="root" + title="Options" + > + <span + class="p-button-icon p-c pi pi-bars" + data-pc-section="icon" + /> + <span + class="p-button-label p-c" + > + Â + </span> + </button> + <button + class="p-button p-component p-button-icon-only" + data-pc-name="button" + data-pc-section="root" + title="Show Legend" + > + <span + class="p-button-icon p-c pi pi-bookmark-fill" + data-pc-section="icon" + /> + <span + class="p-button-label p-c" + > + Â + </span> + </button> + <button + class="p-button p-component p-button-icon-only" + data-pc-name="button" + data-pc-section="root" + title="Hide Filters" + > + <span + class="p-button-icon p-c pi pi-chevron-up" + data-pc-section="icon" + /> + <span + class="p-button-label p-c" + > + Â + </span> + </button> + </div> + </div> + <div + class="p-grid" + > + <div + class="timeline-panel" + > + <div + class="timeline-tools" + style="display: flex;" + > + <div + class="p-grid timeline-view-toolbar" + > + <div + class="p-panel p-component section" + data-pc-name="panel" + data-pc-section="root" + id="pr_id_5" + > + <div + class="p-panel-header" + data-pc-section="header" + > + <span + class="p-panel-title" + data-pc-section="title" + id="pr_id_5_header" + > + Filters + </span> + <div + class="p-panel-icons" + data-pc-section="icons" + /> + </div> + <div + aria-hidden="false" + aria-labelledby="pr_id_5_header" + class="p-toggleable-content" + data-pc-section="toggleablecontent" + id="pr_id_5_content" + role="region" + > + <div + class="p-panel-content" + data-pc-section="content" + > + <div + class="group" + > + <div + class="toggle-container " + > + <label> + On Sky + </label> + <div + aria-checked="true" + class="p-inputswitch p-component p-inputswitch-checked" + data-pc-name="inputswitch" + data-pc-section="root" + role="checkbox" + > + <div + class="p-hidden-accessible" + data-pc-section="hiddeninputwrapper" + > + <input + aria-checked="true" + checked="" + data-pc-section="hiddeninput" + role="switch" + type="checkbox" + /> + </div> + <span + class="p-inputswitch-slider" + data-pc-section="slider" + /> + </div> + </div> + </div> + <div + class="group" + > + <div + class="toggle-container disabled" + > + <label> + Reservations + </label> + <div + aria-checked="false" + class="p-inputswitch p-component" + data-pc-name="inputswitch" + data-pc-section="root" + role="checkbox" + > + <div + class="p-hidden-accessible" + data-pc-section="hiddeninputwrapper" + > + <input + aria-checked="false" + data-pc-section="hiddeninput" + role="switch" + type="checkbox" + /> + </div> + <span + class="p-inputswitch-slider" + data-pc-section="slider" + /> + </div> + </div> + <div + class="multiselect-container relative-position" + > + <span + class="small-label" + > + Reason: + </span> + <div + class="p-multiselect p-component p-inputwrapper p-disabled disabled" + data-pc-name="multiselect" + data-pc-section="root" + > + <div + class="p-hidden-accessible" + data-pc-section="hiddeninputwrapper" + > + <input + aria-expanded="false" + data-pc-section="input" + disabled="" + readonly="" + role="listbox" + tabindex="0" + type="text" + /> + </div> + <div + class="p-multiselect-label-container" + data-pc-section="labelcontainer" + > + <div + class="p-multiselect-label p-placeholder" + data-pc-section="label" + > + Reason + </div> + </div> + <div + class="p-multiselect-trigger" + data-pc-section="trigger" + > + <svg + aria-hidden="true" + class="p-icon p-multiselect-trigger-icon p-c" + data-pc-section="triggericon" + fill="none" + height="14" + viewBox="0 0 14 14" + width="14" + xmlns="http://www.w3.org/2000/svg" + > + <path + d="M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z" + fill="currentColor" + /> + </svg> + </div> + </div> + </div> + </div> + <div + class="group" + > + <label> + Scheduling Units + </label> + <div + class="multiselect-container relative-position" + > + <span + class="small-label" + > + Status: + </span> + <div + class="p-multiselect p-component p-inputwrapper p-inputwrapper-filled" + data-pc-name="multiselect" + data-pc-section="root" + > + <div + class="p-hidden-accessible" + data-pc-section="hiddeninputwrapper" + > + <input + aria-expanded="false" + data-pc-section="input" + readonly="" + role="listbox" + tabindex="0" + type="text" + /> + </div> + <div + class="p-multiselect-label-container" + data-pc-section="labelcontainer" + > + <div + class="p-multiselect-label p-multiselect-items-label" + data-pc-section="label" + > + 13 items selected + </div> + </div> + <div + class="p-multiselect-trigger" + data-pc-section="trigger" + > + <svg + aria-hidden="true" + class="p-icon p-multiselect-trigger-icon p-c" + data-pc-section="triggericon" + fill="none" + height="14" + viewBox="0 0 14 14" + width="14" + xmlns="http://www.w3.org/2000/svg" + > + <path + d="M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z" + fill="currentColor" + /> + </svg> + </div> + </div> + </div> + </div> + <div + class="group" + > + <label> + Projects + </label> + <div + class="multiselect-container relative-position" + > + <span + class="small-label" + > + Status: + </span> + <div + class="p-multiselect p-component p-inputwrapper p-inputwrapper-filled" + data-pc-name="multiselect" + data-pc-section="root" + > + <div + class="p-hidden-accessible" + data-pc-section="hiddeninputwrapper" + > + <input + aria-expanded="false" + data-pc-section="input" + readonly="" + role="listbox" + tabindex="0" + type="text" + /> + </div> + <div + class="p-multiselect-label-container" + data-pc-section="labelcontainer" + > + <div + class="p-multiselect-label" + data-pc-section="label" + > + null + </div> + </div> + <div + class="p-multiselect-trigger" + data-pc-section="trigger" + > + <svg + aria-hidden="true" + class="p-icon p-multiselect-trigger-icon p-c" + data-pc-section="triggericon" + fill="none" + height="14" + viewBox="0 0 14 14" + width="14" + xmlns="http://www.w3.org/2000/svg" + > + <path + d="M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z" + fill="currentColor" + /> + </svg> + </div> + </div> + </div> + <div + class="multiselect-container relative-position" + > + <span + class="small-label" + > + Value: + </span> + <div + class="p-multiselect p-component p-inputwrapper" + data-pc-name="multiselect" + data-pc-section="root" + > + <div + class="p-hidden-accessible" + data-pc-section="hiddeninputwrapper" + > + <input + aria-expanded="false" + data-pc-section="input" + readonly="" + role="listbox" + tabindex="0" + type="text" + /> + </div> + <div + class="p-multiselect-label-container" + data-pc-section="labelcontainer" + > + <div + class="p-multiselect-label p-placeholder" + data-pc-section="label" + > + Project + </div> + </div> + <div + class="p-multiselect-trigger" + data-pc-section="trigger" + > + <svg + aria-hidden="true" + class="p-icon p-multiselect-trigger-icon p-c" + data-pc-section="triggericon" + fill="none" + height="14" + viewBox="0 0 14 14" + width="14" + xmlns="http://www.w3.org/2000/svg" + > + <path + d="M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z" + fill="currentColor" + /> + </svg> + </div> + </div> + </div> + </div> + </div> + </div> + </div> + </div> + <div + class="p-grid timeline-datetime-navigator" + > + <div + class="p-panel p-component" + data-pc-name="panel" + data-pc-section="root" + id="pr_id_2" + > + <div + class="p-panel-header" + data-pc-section="header" + > + <span + class="p-panel-title" + data-pc-section="title" + id="pr_id_2_header" + > + Navigation + </span> + <div + class="p-panel-icons" + data-pc-section="icons" + /> + </div> + <div + aria-hidden="false" + aria-labelledby="pr_id_2_header" + class="p-toggleable-content" + data-pc-section="toggleablecontent" + id="pr_id_2_content" + role="region" + > + <div + class="p-panel-content" + data-pc-section="content" + > + <div + class="group" + > + <div + class="selector-container" + > + <div + data-testid="nav-datetime-selector" + > + <div + class="p-dropdown p-component p-inputwrapper p-inputwrapper-filled DayWeekDropDown" + data-pc-name="dropdown" + data-pc-section="root" + > + <div + class="p-hidden-accessible" + data-pc-section="hiddenselectedmessage" + > + <input + aria-haspopup="listbox" + data-pc-section="input" + readonly="" + type="text" + /> + </div> + <div + class="p-hidden-accessible p-dropdown-hidden-select" + data-pc-section="hiddenselectedmessage" + > + <select + aria-hidden="true" + data-pc-section="select" + tabindex="-1" + > + <option + data-pc-section="option" + selected="" + value="Showing Day At" + > + Showing Day At + </option> + </select> + </div> + <span + class="p-dropdown-label p-inputtext" + data-pc-section="input" + > + Showing Day At + </span> + <div + aria-expanded="false" + aria-haspopup="listbox" + class="p-dropdown-trigger" + data-pc-section="trigger" + role="button" + > + <svg + aria-hidden="true" + class="p-icon p-dropdown-trigger-icon p-clickable" + data-pc-section="dropdownicon" + fill="none" + height="14" + viewBox="0 0 14 14" + width="14" + xmlns="http://www.w3.org/2000/svg" + > + <path + d="M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z" + fill="currentColor" + /> + </svg> + </div> + </div> + <div + data-enable-time="false" + data-input="true" + > + <input + class="p-inputtext p-component calendar-input flatpickr-input" + data-input="true" + type="text" + /> + <button + class="p-button p-component p-button-icon-only calendar-button" + data-pc-name="button" + data-pc-section="root" + data-testid="nav-reset-button" + title="Reset to default" + > + <i + class="fas fa-undo" + /> + </button> + </div> + </div> + <div + class="JumpToSuid" + data-testid="nav-jump-to-suid" + > + <label> + Jump to SU id + </label> + <div> + <span + class="p-inputnumber p-component p-inputwrapper jump-to-input" + data-pc-name="inputnumber" + data-pc-section="root" + > + <input + class="p-inputtext p-component p-inputnumber-input p-inputnumber-input" + data-pc-name="inputtext" + data-pc-section="root" + data-testid="jump-to-input" + inputmode="numeric" + role="spinbutton" + type="text" + value="" + /> + </span> + <button + class="p-button p-component p-button-icon-only calendar-button" + data-pc-name="button" + data-pc-section="root" + data-testid="nav-jump-to-button" + title="Set the week to the scheduling unit's on sky or process start time." + > + <i + class="fas fa-search" + /> + </button> + </div> + </div> + </div> + </div> + </div> + </div> + </div> + </div> + <div + class="p-panel p-component timeline-zoom-and-move section" + data-pc-name="panel" + data-pc-section="root" + id="pr_id_3" + > + <div + class="p-panel-header justify-content-start" + > + <span + class="p-panel-title p-panel-title" + > + Zoom + </span> + <button + class="p-panel-header-icon p-panel-toggler p-link" + data-testid="zoom-reset-button" + title="Reset span to 1 day, time steps to 1 hour and time to now." + > + <span + class="pi pi-undo" + /> + </button> + </div> + <div + aria-hidden="false" + aria-labelledby="pr_id_3_header" + class="p-toggleable-content" + data-pc-section="toggleablecontent" + id="pr_id_3_content" + role="region" + > + <div + class="p-panel-content" + data-pc-section="content" + > + <div + class="group group--row" + > + <div + class="zoom-selector-container" + data-testid="zoom-select" + > + <label + title="Set the amount of time surrounding the current time" + > + Span + </label> + <div> + <div + class="p-dropdown p-component p-inputwrapper p-inputwrapper-filled" + data-pc-name="dropdown" + data-pc-section="root" + > + <div + class="p-hidden-accessible" + data-pc-section="hiddenselectedmessage" + > + <input + aria-haspopup="listbox" + data-pc-section="input" + readonly="" + type="text" + /> + </div> + <div + class="p-hidden-accessible p-dropdown-hidden-select" + data-pc-section="hiddenselectedmessage" + > + <select + aria-hidden="true" + data-pc-section="select" + tabindex="-1" + > + <option + data-pc-section="option" + selected="" + value="1 Day" + > + 1 Day + </option> + </select> + </div> + <span + class="p-dropdown-label p-inputtext" + data-pc-section="input" + > + 1 Day + </span> + <div + aria-expanded="false" + aria-haspopup="listbox" + aria-label="Zoom" + class="p-dropdown-trigger" + data-pc-section="trigger" + role="button" + > + <svg + aria-hidden="true" + class="p-icon p-dropdown-trigger-icon p-clickable" + data-pc-section="dropdownicon" + fill="none" + height="14" + viewBox="0 0 14 14" + width="14" + xmlns="http://www.w3.org/2000/svg" + > + <path + d="M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z" + fill="currentColor" + /> + </svg> + </div> + </div> + </div> + </div> + <div + data-testid="zoom-time-selector" + > + <label> + Set time + </label> + <div + data-enable-time="true" + data-input="true" + placeholder="hi" + > + <input + class="p-inputtext p-component time-input flatpickr-input" + data-input="true" + disabled="" + placeholder="Input time" + type="text" + /> + <button + class="p-button p-component p-button-icon-only calendar-button p-disabled" + data-pc-name="button" + data-pc-section="root" + data-testid="time-reset-button" + disabled="" + title="Reset to the current time and default time steps for span" + > + <i + class="fas fa-undo" + /> + </button> + </div> + </div> + </div> + <div + class="group" + > + <div + class="timesteps-container" + data-testid="time-steps-setter" + > + <label + title="Set the time steps for the header" + > + Time steps + </label> + <div> + <div + class="p-dropdown p-component p-inputwrapper p-inputwrapper-filled" + data-pc-name="dropdown" + data-pc-section="root" + > + <div + class="p-hidden-accessible" + data-pc-section="hiddenselectedmessage" + > + <input + aria-haspopup="listbox" + data-pc-section="input" + readonly="" + type="text" + /> + </div> + <div + class="p-hidden-accessible p-dropdown-hidden-select" + data-pc-section="hiddenselectedmessage" + > + <select + aria-hidden="true" + data-pc-section="select" + tabindex="-1" + > + <option + data-pc-section="option" + selected="" + value="1 Hour" + > + 1 Hour + </option> + </select> + </div> + <span + class="p-dropdown-label p-inputtext" + data-pc-section="input" + > + 1 Hour + </span> + <div + aria-expanded="false" + aria-haspopup="listbox" + aria-label="Time Steps" + class="p-dropdown-trigger" + data-pc-section="trigger" + role="button" + > + <svg + aria-hidden="true" + class="p-icon p-dropdown-trigger-icon p-clickable" + data-pc-section="dropdownicon" + fill="none" + height="14" + viewBox="0 0 14 14" + width="14" + xmlns="http://www.w3.org/2000/svg" + > + <path + d="M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z" + fill="currentColor" + /> + </svg> + </div> + </div> + </div> + </div> + <div + class="move-container" + > + <label> + Move + </label> + <div> + <button + class="p-link" + data-testid="Move Left 1 hour" + disabled="" + title="Maximum reached. Cannot Move Left 1 hour" + > + <i + class="pi pi-angle-left" + /> + </button> + <button + class="p-link" + data-testid="Zoom out" + disabled="" + title="Maximum reached. Cannot Zoom out" + > + <i + class="pi pi-minus-circle" + /> + </button> + <button + class="p-link" + data-testid="Zoom in" + title="Zoom in" + > + <i + class="pi pi-plus-circle" + /> + </button> + <button + class="p-link" + data-testid="Move Right 1 hour" + disabled="" + title="Maximum reached. Cannot Move Right 1 hour" + > + <i + class="pi pi-angle-right" + /> + </button> + </div> + </div> + </div> + </div> + </div> + </div> + <div + class="p-panel p-component hide-element" + data-pc-name="panel" + data-pc-section="root" + id="pr_id_4" + > + <div + class="p-panel-header" + data-pc-section="header" + > + <span + class="p-panel-title" + data-pc-section="title" + id="pr_id_4_header" + > + Legend + </span> + <div + class="p-panel-icons" + data-pc-section="icons" + /> + </div> + <div + aria-hidden="false" + aria-labelledby="pr_id_4_header" + class="p-toggleable-content" + data-pc-section="toggleablecontent" + id="pr_id_4_content" + role="region" + > + <div + class="p-panel-content" + data-pc-section="content" + > + <div + class="p-grid legendbar" + > + <div + class="left" + > + <div + class="section" + > + <label + class="sectiontitle col-2" + title="Status" + > + Status: + </label> + <div + class="su-legend su-defined" + title="Defined" + > + Defined + </div> + <div + class="su-legend su-schedulable" + title="Schedulable" + > + Schedulable + </div> + <div + class="su-legend su-scheduled" + title="Scheduled" + > + Scheduled + </div> + <div + class="su-legend su-queued" + title="Queued" + > + Queued + </div> + </div> + <div + class="section" + > + <label + class="sectiontitle col-2" + title="Active" + > + Active: + </label> + <div + class="su-legend su-started" + title="Started" + > + Started + </div> + <div + class="su-legend su-observing" + title="Observing" + > + Observing + </div> + <div + class="su-legend su-processing" + title="Processing" + > + Processing + </div> + <div + class="su-legend su-ingesting" + title="Ingesting" + > + Ingesting + </div> + </div> + <div + class="section" + > + <label + class="sectiontitle col-2" + title="Success" + > + Success: + </label> + <div + class="su-legend su-processed" + title="Processed" + > + Processed + </div> + <div + class="su-legend su-observed" + title="Observed" + > + Observed + </div> + <div + class="su-legend su-ingested" + title="Ingested" + > + Ingested + </div> + <div + class="su-legend su-finished" + title="Finished" + > + Finished + </div> + </div> + <div + class="section" + > + <label + class="sectiontitle col-2" + title="Fail" + > + Fail: + </label> + <div + class="su-legend su-cancelled" + title="Cancelled" + > + Cancelled + </div> + <div + class="su-legend su-error" + title="Error" + > + Error + </div> + <div + class="su-legend su-unschedulable" + title="Unschedulable" + > + Unschedulable + </div> + </div> + </div> + <div + class="right" + > + <div + class="section" + > + <label + class="sectiontitle col-2" + title="Station Reservation" + > + Station: + </label> + <div + class="su-legend reserve-not-available" + title="Not Available" + > + N/A + </div> + <div + class="su-legend reserve-available" + title="Available" + > + Available + </div> + <div + class="su-legend reserve-fixed_time" + title="Fixed Time" + > + Fixed Time + </div> + <div + class="su-legend reserve-dynamic" + title="Dynamic" + > + Dynamic + </div> + </div> + <div + class="section" + > + <label + class="sectiontitle col-2" + title="Indication about the settings" + > + Indicators: + </label> + <div + class="su-legend su-fixed_time" + title="Fixed Time" + > + Fixed Time + </div> + <div + class="su-legend su-dynamic" + title="Dynamic" + > + Dynamic + </div> + <div + class="su-legend su-unplaced" + title="Unplaced" + > + Unplaced + </div> + </div> + <div + class="section" + > + <label + class="sectiontitle col-2" + title="Sunturn" + > + Sunturn: + </label> + <div + class="su-legend legend-sunrise" + title="Sunrise" + > + Sunrise + </div> + <div + class="su-legend legend-sunset" + title="Sunset" + > + Sunset + </div> + <div + class="su-legend legend-night" + title="Night" + > + Night + </div> + </div> + </div> + </div> + </div> + </div> + </div> + </div> + <div + class="react-calendar-timeline timeline-expanded-filter" + > + <div + class="rct-header-root sticky" + style="display: flex; width: 100%;" + > + <div + class="sidebar-header" + style="width: 150px;" + > + <div + class="sidebar-header-row" + > + UTC + </div> + <div + class="sidebar-header-row" + title="LST@CS002" + > + LST + </div> + </div> + <div + class="rct-calendar-header" + style="overflow: hidden; width: calc(100% - 150px);" + > + <div + style="height: 30px; position: relative; width: -150px;" + > + <div + class="rct-dateHeader " + style="left: 0px; width: -6.2500723388002175px; position: absolute;" + > + <span> + 00:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -6.2500723388002175px; width: -6.2500723388002175px; position: absolute;" + > + <span> + 01:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -12.500144677600435px; width: -6.250072338800216px; position: absolute;" + > + <span> + 02:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -18.75021701640065px; width: -6.250072338800219px; position: absolute;" + > + <span> + 03:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -25.00028935520087px; width: -6.250072338800216px; position: absolute;" + > + <span> + 04:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -31.250361694001086px; width: -6.250072338800216px; position: absolute;" + > + <span> + 05:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -37.5004340328013px; width: -6.250072338800223px; position: absolute;" + > + <span> + 06:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -43.750506371601524px; width: -6.250072338800216px; position: absolute;" + > + <span> + 07:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -50.00057871040174px; width: -6.250072338800216px; position: absolute;" + > + <span> + 08:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -56.250651049201956px; width: -6.250072338800216px; position: absolute;" + > + <span> + 09:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -62.50072338800217px; width: -6.250072338800223px; position: absolute;" + > + <span> + 10:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -68.7507957268024px; width: -6.250072338800209px; position: absolute;" + > + <span> + 11:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -75.0008680656026px; width: -6.250072338800223px; position: absolute;" + > + <span> + 12:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -81.25094040440283px; width: -6.250072338800223px; position: absolute;" + > + <span> + 13:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -87.50101274320305px; width: -6.250072338800209px; position: absolute;" + > + <span> + 14:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -93.75108508200326px; width: -6.250072338800223px; position: absolute;" + > + <span> + 15:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -100.00115742080348px; width: -6.250072338800223px; position: absolute;" + > + <span> + 16:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -106.2512297596037px; width: -6.250072338800209px; position: absolute;" + > + <span> + 17:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -112.50130209840391px; width: -6.250072338800223px; position: absolute;" + > + <span> + 18:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -118.75137443720413px; width: -6.250072338800209px; position: absolute;" + > + <span> + 19:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -125.00144677600434px; width: -6.250072338800237px; position: absolute;" + > + <span> + 20:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -131.25151911480458px; width: -6.250072338800209px; position: absolute;" + > + <span> + 21:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -137.5015914536048px; width: -6.250072338800209px; position: absolute;" + > + <span> + 22:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -143.751663792405px; width: -6.250072338800209px; position: absolute;" + > + <span> + 23:00 + </span> + </div> + </div> + <div + style="height: 30px; position: relative; width: -150px;" + > + <div + class="rct-dateHeader" + data-testid="dateheader-lst-00:00" + style="left: 0px; width: -6.2500723388002175px; position: absolute;" + > + 00:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-01:00" + style="left: -6.2500723388002175px; width: -6.2500723388002175px; position: absolute;" + > + 01:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-02:00" + style="left: -12.500144677600435px; width: -6.250072338800216px; position: absolute;" + > + 02:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-03:00" + style="left: -18.75021701640065px; width: -6.250072338800219px; position: absolute;" + > + 03:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-04:00" + style="left: -25.00028935520087px; width: -6.250072338800216px; position: absolute;" + > + 04:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-05:00" + style="left: -31.250361694001086px; width: -6.250072338800216px; position: absolute;" + > + 05:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-06:00" + style="left: -37.5004340328013px; width: -6.250072338800223px; position: absolute;" + > + 06:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-07:00" + style="left: -43.750506371601524px; width: -6.250072338800216px; position: absolute;" + > + 07:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-08:00" + style="left: -50.00057871040174px; width: -6.250072338800216px; position: absolute;" + > + 08:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-09:00" + style="left: -56.250651049201956px; width: -6.250072338800216px; position: absolute;" + > + 09:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-10:00" + style="left: -62.50072338800217px; width: -6.250072338800223px; position: absolute;" + > + 10:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-11:00" + style="left: -68.7507957268024px; width: -6.250072338800209px; position: absolute;" + > + 11:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-12:00" + style="left: -75.0008680656026px; width: -6.250072338800223px; position: absolute;" + > + 12:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-13:00" + style="left: -81.25094040440283px; width: -6.250072338800223px; position: absolute;" + > + 13:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-14:00" + style="left: -87.50101274320305px; width: -6.250072338800209px; position: absolute;" + > + 14:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-15:00" + style="left: -93.75108508200326px; width: -6.250072338800223px; position: absolute;" + > + 15:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-16:00" + style="left: -100.00115742080348px; width: -6.250072338800223px; position: absolute;" + > + 16:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-17:00" + style="left: -106.2512297596037px; width: -6.250072338800209px; position: absolute;" + > + 17:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-18:00" + style="left: -112.50130209840391px; width: -6.250072338800223px; position: absolute;" + > + 18:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-19:00" + style="left: -118.75137443720413px; width: -6.250072338800209px; position: absolute;" + > + 19:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-20:00" + style="left: -125.00144677600434px; width: -6.250072338800237px; position: absolute;" + > + 20:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-21:00" + style="left: -131.25151911480458px; width: -6.250072338800209px; position: absolute;" + > + 21:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-22:00" + style="left: -137.5015914536048px; width: -6.250072338800209px; position: absolute;" + > + 22:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-23:00" + style="left: -143.751663792405px; width: -6.250072338800209px; position: absolute;" + > + 23:00 + </div> + </div> + </div> + </div> + <div + class="rct-outer" + style="height: 0px;" + > + <div + class="rct-sidebar" + style="width: 150px; height: 0px;" + > + <div + style="width: 150px;" + /> + </div> + <div + class="rct-scroll" + style="width: -150px; height: 20px; cursor: default; position: relative;" + > + <div + style="position: absolute; left: 0px; right: 0px; top: 0px; bottom: 0px;" + > + <div + style="position: absolute; top: 0px; bottom: 0px; width: 2px; pointer-events: none; left: -146.71003136610378px; z-index: 998;" + /> + <div + class="rct-vertical-lines" + > + <div + class="rct-vl " + style="pointer-events: none; top: 0px; left: 50400.58334008495px; width: -54750.6336878899px; height: 0px;" + /> + </div> + <div + class="rct-horizontal-lines" + /> + <div + class="rct-items" + /> + </div> + </div> + </div> + <div + class="erd_scroll_detection_container erd_scroll_detection_container_animation_active" + style="visibility: hidden; display: inline; width: 0px; height: 0px; z-index: -1; overflow: hidden; margin: 0px; padding: 0px;" + > + <div + class="erd_scroll_detection_container" + dir="ltr" + style="position: absolute; flex: 0 0 auto; overflow: hidden; z-index: -1; visibility: hidden; width: 100%; height: 100%; left: 0px; top: 0px;" + > + <div + class="erd_scroll_detection_container" + style="position: absolute; flex: 0 0 auto; overflow: hidden; z-index: -1; visibility: hidden; left: -501px; top: -501px; right: -500px; bottom: -500px;" + > + <div + style="position: absolute; flex: 0 0 auto; overflow: scroll; z-index: -1; visibility: hidden; width: 100%; height: 100%;" + > + <div + style="position: absolute; left: 0px; top: 0px; width: 1011px; height: 1011px;" + /> + </div> + <div + style="position: absolute; flex: 0 0 auto; overflow: scroll; z-index: -1; visibility: hidden; width: 100%; height: 100%;" + > + <div + style="position: absolute; width: 200%; height: 200%;" + /> + </div> + </div> + </div> + </div> + </div> + </div> + </div> + <div + class="p-grid" + data-testid="confirm_dialog" + > + <div + class="custom-dlg p-grid" + data-testid="confirm_dialog" + style="opacity: 1;" + /> + </div> + </div> +</DocumentFragment> +`; + +exports[`WeekView Render Contents WeekView renders correctly with data: Loaded 1`] = ` +<DocumentFragment> + <div> + <div + class="hide-element" + > + <div + class="p-progressbar p-component p-progressbar-indeterminate hide-element" + data-pc-name="progressbar" + data-pc-section="root" + role="progressbar" + style="height: 0.25rem;" + > + <div + class="p-progressbar-indeterminate-container" + data-pc-section="indeterminatecontainer" + > + <div + class="p-progressbar-value p-progressbar-value-animate" + data-pc-section="value" + /> + </div> + </div> + </div> + <div + class="page-header undefined" + > + <div + class="title" + > + <h2 + class="page-title" + > + Scheduling Units - Week 49 View + </h2> + </div> + <div + class="page-action-menu page-actionsundefined" + > + <div + class="timeline-header-dropdown" + > + + <span + class="dropdown-title" + > + Group By + </span> + <div + class="p-dropdown p-component p-inputwrapper w-full md:w-14rem" + data-pc-name="dropdown" + data-pc-section="root" + > + <div + class="p-hidden-accessible" + data-pc-section="hiddenselectedmessage" + > + <input + aria-haspopup="listbox" + data-pc-section="input" + readonly="" + type="text" + /> + </div> + <div + class="p-hidden-accessible p-dropdown-hidden-select" + data-pc-section="hiddenselectedmessage" + > + <select + aria-hidden="true" + data-pc-section="select" + tabindex="-1" + > + <option + data-pc-section="option" + selected="" + value="" + /> + </select> + </div> + <span + class="p-dropdown-label p-inputtext p-dropdown-label-empty" + data-pc-section="input" + > + empty + </span> + <div + aria-expanded="false" + aria-haspopup="listbox" + class="p-dropdown-trigger" + data-pc-section="trigger" + role="button" + > + <svg + aria-hidden="true" + class="p-icon p-dropdown-trigger-icon p-clickable" + data-pc-section="dropdownicon" + fill="none" + height="14" + viewBox="0 0 14 14" + width="14" + xmlns="http://www.w3.org/2000/svg" + > + <path + d="M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z" + fill="currentColor" + /> + </svg> + </div> + </div> + </div> + <button + class="p-button p-component p-button-icon-only" + data-pc-name="button" + data-pc-section="root" + title="previous 7 days" + > + <span + class="p-button-icon p-c pi pi pi-angle-double-left" + data-pc-section="icon" + /> + <span + class="p-button-label p-c" + > + Â + </span> + </button> + <button + class="p-button p-component p-button-icon-only" + data-pc-name="button" + data-pc-section="root" + title="next 7 days" + > + <span + class="p-button-icon p-c pi pi pi-angle-double-right" + data-pc-section="icon" + /> + <span + class="p-button-label p-c" + > + Â + </span> + </button> + <span + class="action-divider" + /> + <span + class="tag tag--off" + title="Dynamic Scheduling is Off" + > + D + </span> + <span + class="tag tag--off" + title="Fixed time Scheduling is Off" + > + F + </span> + <button + class="p-button p-component p-button-icon-only" + data-pc-name="button" + data-pc-section="root" + title="Dynamic Scheduler is stopped. Click to change the scheduler" + > + <span + class="p-button-icon p-c pi pi-stop" + data-pc-section="icon" + /> + <span + class="p-button-label p-c" + > + Â + </span> + </button> + <button + class="p-button p-component p-button-icon-only" + data-pc-name="button" + data-pc-section="root" + title="Reload the timeline data" + > + <span + class="p-button-icon p-c pi pi-sync" + data-pc-section="icon" + /> + <span + class="p-button-label p-c" + > + Â + </span> + </button> + <button + class="p-button p-component p-button-icon-only" + data-pc-name="button" + data-pc-section="root" + title="Options" + > + <span + class="p-button-icon p-c pi pi-bars" + data-pc-section="icon" + /> + <span + class="p-button-label p-c" + > + Â + </span> + </button> + <button + class="p-button p-component p-button-icon-only" + data-pc-name="button" + data-pc-section="root" + title="Show Legend" + > + <span + class="p-button-icon p-c pi pi-bookmark-fill" + data-pc-section="icon" + /> + <span + class="p-button-label p-c" + > + Â + </span> + </button> + <button + class="p-button p-component p-button-icon-only" + data-pc-name="button" + data-pc-section="root" + title="Hide Filters" + > + <span + class="p-button-icon p-c pi pi-chevron-up" + data-pc-section="icon" + /> + <span + class="p-button-label p-c" + > + Â + </span> + </button> + </div> + </div> + <div + class="p-grid" + > + <div + class="timeline-panel" + > + <div + class="timeline-tools" + style="display: flex;" + > + <div + class="p-grid timeline-view-toolbar" + > + <div + class="p-panel p-component section" + data-pc-name="panel" + data-pc-section="root" + id="pr_id_5" + > + <div + class="p-panel-header" + data-pc-section="header" + > + <span + class="p-panel-title" + data-pc-section="title" + id="pr_id_5_header" + > + Filters + </span> + <div + class="p-panel-icons" + data-pc-section="icons" + /> + </div> + <div + aria-hidden="false" + aria-labelledby="pr_id_5_header" + class="p-toggleable-content" + data-pc-section="toggleablecontent" + id="pr_id_5_content" + role="region" + > + <div + class="p-panel-content" + data-pc-section="content" + > + <div + class="group" + > + <div + class="toggle-container " + > + <label> + On Sky + </label> + <div + aria-checked="true" + class="p-inputswitch p-component p-inputswitch-checked" + data-pc-name="inputswitch" + data-pc-section="root" + role="checkbox" + > + <div + class="p-hidden-accessible" + data-pc-section="hiddeninputwrapper" + > + <input + aria-checked="true" + checked="" + data-pc-section="hiddeninput" + role="switch" + type="checkbox" + /> + </div> + <span + class="p-inputswitch-slider" + data-pc-section="slider" + /> + </div> + </div> + </div> + <div + class="group" + > + <div + class="toggle-container disabled" + > + <label> + Reservations + </label> + <div + aria-checked="false" + class="p-inputswitch p-component" + data-pc-name="inputswitch" + data-pc-section="root" + role="checkbox" + > + <div + class="p-hidden-accessible" + data-pc-section="hiddeninputwrapper" + > + <input + aria-checked="false" + data-pc-section="hiddeninput" + role="switch" + type="checkbox" + /> + </div> + <span + class="p-inputswitch-slider" + data-pc-section="slider" + /> + </div> + </div> + <div + class="multiselect-container relative-position" + > + <span + class="small-label" + > + Reason: + </span> + <div + class="p-multiselect p-component p-inputwrapper p-disabled disabled" + data-pc-name="multiselect" + data-pc-section="root" + > + <div + class="p-hidden-accessible" + data-pc-section="hiddeninputwrapper" + > + <input + aria-expanded="false" + data-pc-section="input" + disabled="" + readonly="" + role="listbox" + tabindex="0" + type="text" + /> + </div> + <div + class="p-multiselect-label-container" + data-pc-section="labelcontainer" + > + <div + class="p-multiselect-label p-placeholder" + data-pc-section="label" + > + Reason + </div> + </div> + <div + class="p-multiselect-trigger" + data-pc-section="trigger" + > + <svg + aria-hidden="true" + class="p-icon p-multiselect-trigger-icon p-c" + data-pc-section="triggericon" + fill="none" + height="14" + viewBox="0 0 14 14" + width="14" + xmlns="http://www.w3.org/2000/svg" + > + <path + d="M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z" + fill="currentColor" + /> + </svg> + </div> + </div> + </div> + </div> + <div + class="group" + > + <label> + Scheduling Units + </label> + <div + class="multiselect-container relative-position" + > + <span + class="small-label" + > + Status: + </span> + <div + class="p-multiselect p-component p-inputwrapper p-inputwrapper-filled" + data-pc-name="multiselect" + data-pc-section="root" + > + <div + class="p-hidden-accessible" + data-pc-section="hiddeninputwrapper" + > + <input + aria-expanded="false" + data-pc-section="input" + readonly="" + role="listbox" + tabindex="0" + type="text" + /> + </div> + <div + class="p-multiselect-label-container" + data-pc-section="labelcontainer" + > + <div + class="p-multiselect-label p-multiselect-items-label" + data-pc-section="label" + > + 13 items selected + </div> + </div> + <div + class="p-multiselect-trigger" + data-pc-section="trigger" + > + <svg + aria-hidden="true" + class="p-icon p-multiselect-trigger-icon p-c" + data-pc-section="triggericon" + fill="none" + height="14" + viewBox="0 0 14 14" + width="14" + xmlns="http://www.w3.org/2000/svg" + > + <path + d="M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z" + fill="currentColor" + /> + </svg> + </div> + </div> + </div> + </div> + <div + class="group" + > + <label> + Projects + </label> + <div + class="multiselect-container relative-position" + > + <span + class="small-label" + > + Status: + </span> + <div + class="p-multiselect p-component p-inputwrapper p-inputwrapper-filled" + data-pc-name="multiselect" + data-pc-section="root" + > + <div + class="p-hidden-accessible" + data-pc-section="hiddeninputwrapper" + > + <input + aria-expanded="false" + data-pc-section="input" + readonly="" + role="listbox" + tabindex="0" + type="text" + /> + </div> + <div + class="p-multiselect-label-container" + data-pc-section="labelcontainer" + > + <div + class="p-multiselect-label" + data-pc-section="label" + > + null + </div> + </div> + <div + class="p-multiselect-trigger" + data-pc-section="trigger" + > + <svg + aria-hidden="true" + class="p-icon p-multiselect-trigger-icon p-c" + data-pc-section="triggericon" + fill="none" + height="14" + viewBox="0 0 14 14" + width="14" + xmlns="http://www.w3.org/2000/svg" + > + <path + d="M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z" + fill="currentColor" + /> + </svg> + </div> + </div> + </div> + <div + class="multiselect-container relative-position" + > + <span + class="small-label" + > + Value: + </span> + <div + class="p-multiselect p-component p-inputwrapper" + data-pc-name="multiselect" + data-pc-section="root" + > + <div + class="p-hidden-accessible" + data-pc-section="hiddeninputwrapper" + > + <input + aria-expanded="false" + data-pc-section="input" + readonly="" + role="listbox" + tabindex="0" + type="text" + /> + </div> + <div + class="p-multiselect-label-container" + data-pc-section="labelcontainer" + > + <div + class="p-multiselect-label p-placeholder" + data-pc-section="label" + > + Project + </div> + </div> + <div + class="p-multiselect-trigger" + data-pc-section="trigger" + > + <svg + aria-hidden="true" + class="p-icon p-multiselect-trigger-icon p-c" + data-pc-section="triggericon" + fill="none" + height="14" + viewBox="0 0 14 14" + width="14" + xmlns="http://www.w3.org/2000/svg" + > + <path + d="M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z" + fill="currentColor" + /> + </svg> + </div> + </div> + </div> + </div> + </div> + </div> + </div> + </div> + <div + class="p-grid timeline-datetime-navigator" + > + <div + class="p-panel p-component" + data-pc-name="panel" + data-pc-section="root" + id="pr_id_2" + > + <div + class="p-panel-header" + data-pc-section="header" + > + <span + class="p-panel-title" + data-pc-section="title" + id="pr_id_2_header" + > + Navigation + </span> + <div + class="p-panel-icons" + data-pc-section="icons" + /> + </div> + <div + aria-hidden="false" + aria-labelledby="pr_id_2_header" + class="p-toggleable-content" + data-pc-section="toggleablecontent" + id="pr_id_2_content" + role="region" + > + <div + class="p-panel-content" + data-pc-section="content" + > + <div + class="group" + > + <div + class="selector-container" + > + <div + data-testid="nav-datetime-selector" + > + <div + class="p-dropdown p-component p-inputwrapper p-inputwrapper-filled DayWeekDropDown" + data-pc-name="dropdown" + data-pc-section="root" + > + <div + class="p-hidden-accessible" + data-pc-section="hiddenselectedmessage" + > + <input + aria-haspopup="listbox" + data-pc-section="input" + readonly="" + type="text" + /> + </div> + <div + class="p-hidden-accessible p-dropdown-hidden-select" + data-pc-section="hiddenselectedmessage" + > + <select + aria-hidden="true" + data-pc-section="select" + tabindex="-1" + > + <option + data-pc-section="option" + selected="" + value="Showing Day At" + > + Showing Day At + </option> + </select> + </div> + <span + class="p-dropdown-label p-inputtext" + data-pc-section="input" + > + Showing Day At + </span> + <div + aria-expanded="false" + aria-haspopup="listbox" + class="p-dropdown-trigger" + data-pc-section="trigger" + role="button" + > + <svg + aria-hidden="true" + class="p-icon p-dropdown-trigger-icon p-clickable" + data-pc-section="dropdownicon" + fill="none" + height="14" + viewBox="0 0 14 14" + width="14" + xmlns="http://www.w3.org/2000/svg" + > + <path + d="M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z" + fill="currentColor" + /> + </svg> + </div> + </div> + <div + data-enable-time="false" + data-input="true" + > + <input + class="p-inputtext p-component calendar-input flatpickr-input" + data-input="true" + type="text" + /> + <button + class="p-button p-component p-button-icon-only calendar-button" + data-pc-name="button" + data-pc-section="root" + data-testid="nav-reset-button" + title="Reset to default" + > + <i + class="fas fa-undo" + /> + </button> + </div> + </div> + <div + class="JumpToSuid" + data-testid="nav-jump-to-suid" + > + <label> + Jump to SU id + </label> + <div> + <span + class="p-inputnumber p-component p-inputwrapper jump-to-input" + data-pc-name="inputnumber" + data-pc-section="root" + > + <input + class="p-inputtext p-component p-inputnumber-input p-inputnumber-input" + data-pc-name="inputtext" + data-pc-section="root" + data-testid="jump-to-input" + inputmode="numeric" + role="spinbutton" + type="text" + value="" + /> + </span> + <button + class="p-button p-component p-button-icon-only calendar-button" + data-pc-name="button" + data-pc-section="root" + data-testid="nav-jump-to-button" + title="Set the week to the scheduling unit's on sky or process start time." + > + <i + class="fas fa-search" + /> + </button> + </div> + </div> + </div> + </div> + </div> + </div> + </div> + </div> + <div + class="p-panel p-component timeline-zoom-and-move section" + data-pc-name="panel" + data-pc-section="root" + id="pr_id_3" + > + <div + class="p-panel-header justify-content-start" + > + <span + class="p-panel-title p-panel-title" + > + Zoom + </span> + <button + class="p-panel-header-icon p-panel-toggler p-link" + data-testid="zoom-reset-button" + title="Reset span to 1 day, time steps to 1 hour and time to now." + > + <span + class="pi pi-undo" + /> + </button> + </div> + <div + aria-hidden="false" + aria-labelledby="pr_id_3_header" + class="p-toggleable-content" + data-pc-section="toggleablecontent" + id="pr_id_3_content" + role="region" + > + <div + class="p-panel-content" + data-pc-section="content" + > + <div + class="group group--row" + > + <div + class="zoom-selector-container" + data-testid="zoom-select" + > + <label + title="Set the amount of time surrounding the current time" + > + Span + </label> + <div> + <div + class="p-dropdown p-component p-inputwrapper p-inputwrapper-filled" + data-pc-name="dropdown" + data-pc-section="root" + > + <div + class="p-hidden-accessible" + data-pc-section="hiddenselectedmessage" + > + <input + aria-haspopup="listbox" + data-pc-section="input" + readonly="" + type="text" + /> + </div> + <div + class="p-hidden-accessible p-dropdown-hidden-select" + data-pc-section="hiddenselectedmessage" + > + <select + aria-hidden="true" + data-pc-section="select" + tabindex="-1" + > + <option + data-pc-section="option" + selected="" + value="1 Day" + > + 1 Day + </option> + </select> + </div> + <span + class="p-dropdown-label p-inputtext" + data-pc-section="input" + > + 1 Day + </span> + <div + aria-expanded="false" + aria-haspopup="listbox" + aria-label="Zoom" + class="p-dropdown-trigger" + data-pc-section="trigger" + role="button" + > + <svg + aria-hidden="true" + class="p-icon p-dropdown-trigger-icon p-clickable" + data-pc-section="dropdownicon" + fill="none" + height="14" + viewBox="0 0 14 14" + width="14" + xmlns="http://www.w3.org/2000/svg" + > + <path + d="M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z" + fill="currentColor" + /> + </svg> + </div> + </div> + </div> + </div> + <div + data-testid="zoom-time-selector" + > + <label> + Set time + </label> + <div + data-enable-time="true" + data-input="true" + placeholder="hi" + > + <input + class="p-inputtext p-component time-input flatpickr-input" + data-input="true" + disabled="" + placeholder="Input time" + type="text" + /> + <button + class="p-button p-component p-button-icon-only calendar-button p-disabled" + data-pc-name="button" + data-pc-section="root" + data-testid="time-reset-button" + disabled="" + title="Reset to the current time and default time steps for span" + > + <i + class="fas fa-undo" + /> + </button> + </div> + </div> + </div> + <div + class="group" + > + <div + class="timesteps-container" + data-testid="time-steps-setter" + > + <label + title="Set the time steps for the header" + > + Time steps + </label> + <div> + <div + class="p-dropdown p-component p-inputwrapper p-inputwrapper-filled" + data-pc-name="dropdown" + data-pc-section="root" + > + <div + class="p-hidden-accessible" + data-pc-section="hiddenselectedmessage" + > + <input + aria-haspopup="listbox" + data-pc-section="input" + readonly="" + type="text" + /> + </div> + <div + class="p-hidden-accessible p-dropdown-hidden-select" + data-pc-section="hiddenselectedmessage" + > + <select + aria-hidden="true" + data-pc-section="select" + tabindex="-1" + > + <option + data-pc-section="option" + selected="" + value="1 Hour" + > + 1 Hour + </option> + </select> + </div> + <span + class="p-dropdown-label p-inputtext" + data-pc-section="input" + > + 1 Hour + </span> + <div + aria-expanded="false" + aria-haspopup="listbox" + aria-label="Time Steps" + class="p-dropdown-trigger" + data-pc-section="trigger" + role="button" + > + <svg + aria-hidden="true" + class="p-icon p-dropdown-trigger-icon p-clickable" + data-pc-section="dropdownicon" + fill="none" + height="14" + viewBox="0 0 14 14" + width="14" + xmlns="http://www.w3.org/2000/svg" + > + <path + d="M7.01744 10.398C6.91269 10.3985 6.8089 10.378 6.71215 10.3379C6.61541 10.2977 6.52766 10.2386 6.45405 10.1641L1.13907 4.84913C1.03306 4.69404 0.985221 4.5065 1.00399 4.31958C1.02276 4.13266 1.10693 3.95838 1.24166 3.82747C1.37639 3.69655 1.55301 3.61742 1.74039 3.60402C1.92777 3.59062 2.11386 3.64382 2.26584 3.75424L7.01744 8.47394L11.769 3.75424C11.9189 3.65709 12.097 3.61306 12.2748 3.62921C12.4527 3.64535 12.6199 3.72073 12.7498 3.84328C12.8797 3.96582 12.9647 4.12842 12.9912 4.30502C13.0177 4.48162 12.9841 4.662 12.8958 4.81724L7.58083 10.1322C7.50996 10.2125 7.42344 10.2775 7.32656 10.3232C7.22968 10.3689 7.12449 10.3944 7.01744 10.398Z" + fill="currentColor" + /> + </svg> + </div> + </div> + </div> + </div> + <div + class="move-container" + > + <label> + Move + </label> + <div> + <button + class="p-link" + data-testid="Move Left 1 hour" + disabled="" + title="Maximum reached. Cannot Move Left 1 hour" + > + <i + class="pi pi-angle-left" + /> + </button> + <button + class="p-link" + data-testid="Zoom out" + disabled="" + title="Maximum reached. Cannot Zoom out" + > + <i + class="pi pi-minus-circle" + /> + </button> + <button + class="p-link" + data-testid="Zoom in" + title="Zoom in" + > + <i + class="pi pi-plus-circle" + /> + </button> + <button + class="p-link" + data-testid="Move Right 1 hour" + disabled="" + title="Maximum reached. Cannot Move Right 1 hour" + > + <i + class="pi pi-angle-right" + /> + </button> + </div> + </div> + </div> + </div> + </div> + </div> + <div + class="p-panel p-component hide-element" + data-pc-name="panel" + data-pc-section="root" + id="pr_id_4" + > + <div + class="p-panel-header" + data-pc-section="header" + > + <span + class="p-panel-title" + data-pc-section="title" + id="pr_id_4_header" + > + Legend + </span> + <div + class="p-panel-icons" + data-pc-section="icons" + /> + </div> + <div + aria-hidden="false" + aria-labelledby="pr_id_4_header" + class="p-toggleable-content" + data-pc-section="toggleablecontent" + id="pr_id_4_content" + role="region" + > + <div + class="p-panel-content" + data-pc-section="content" + > + <div + class="p-grid legendbar" + > + <div + class="left" + > + <div + class="section" + > + <label + class="sectiontitle col-2" + title="Status" + > + Status: + </label> + <div + class="su-legend su-defined" + title="Defined" + > + Defined + </div> + <div + class="su-legend su-schedulable" + title="Schedulable" + > + Schedulable + </div> + <div + class="su-legend su-scheduled" + title="Scheduled" + > + Scheduled + </div> + <div + class="su-legend su-queued" + title="Queued" + > + Queued + </div> + </div> + <div + class="section" + > + <label + class="sectiontitle col-2" + title="Active" + > + Active: + </label> + <div + class="su-legend su-started" + title="Started" + > + Started + </div> + <div + class="su-legend su-observing" + title="Observing" + > + Observing + </div> + <div + class="su-legend su-processing" + title="Processing" + > + Processing + </div> + <div + class="su-legend su-ingesting" + title="Ingesting" + > + Ingesting + </div> + </div> + <div + class="section" + > + <label + class="sectiontitle col-2" + title="Success" + > + Success: + </label> + <div + class="su-legend su-processed" + title="Processed" + > + Processed + </div> + <div + class="su-legend su-observed" + title="Observed" + > + Observed + </div> + <div + class="su-legend su-ingested" + title="Ingested" + > + Ingested + </div> + <div + class="su-legend su-finished" + title="Finished" + > + Finished + </div> + </div> + <div + class="section" + > + <label + class="sectiontitle col-2" + title="Fail" + > + Fail: + </label> + <div + class="su-legend su-cancelled" + title="Cancelled" + > + Cancelled + </div> + <div + class="su-legend su-error" + title="Error" + > + Error + </div> + <div + class="su-legend su-unschedulable" + title="Unschedulable" + > + Unschedulable + </div> + </div> + </div> + <div + class="right" + > + <div + class="section" + > + <label + class="sectiontitle col-2" + title="Station Reservation" + > + Station: + </label> + <div + class="su-legend reserve-not-available" + title="Not Available" + > + N/A + </div> + <div + class="su-legend reserve-available" + title="Available" + > + Available + </div> + <div + class="su-legend reserve-fixed_time" + title="Fixed Time" + > + Fixed Time + </div> + <div + class="su-legend reserve-dynamic" + title="Dynamic" + > + Dynamic + </div> + </div> + <div + class="section" + > + <label + class="sectiontitle col-2" + title="Indication about the settings" + > + Indicators: + </label> + <div + class="su-legend su-fixed_time" + title="Fixed Time" + > + Fixed Time + </div> + <div + class="su-legend su-dynamic" + title="Dynamic" + > + Dynamic + </div> + <div + class="su-legend su-unplaced" + title="Unplaced" + > + Unplaced + </div> + </div> + <div + class="section" + > + <label + class="sectiontitle col-2" + title="Sunturn" + > + Sunturn: + </label> + <div + class="su-legend legend-sunrise" + title="Sunrise" + > + Sunrise + </div> + <div + class="su-legend legend-sunset" + title="Sunset" + > + Sunset + </div> + <div + class="su-legend legend-night" + title="Night" + > + Night + </div> + </div> + </div> + </div> + </div> + </div> + </div> + </div> + <div + class="react-calendar-timeline timeline-expanded-filter" + > + <div + class="rct-header-root sticky" + style="display: flex; width: 100%;" + > + <div + class="sidebar-header" + style="width: 150px;" + > + <div + class="sidebar-header-row" + > + UTC + </div> + <div + class="sidebar-header-row" + title="LST@CS002" + > + LST + </div> + </div> + <div + class="rct-calendar-header" + style="overflow: hidden; width: calc(100% - 150px);" + > + <div + style="height: 30px; position: relative; width: -150px;" + > + <div + class="rct-dateHeader " + style="left: 0px; width: -6.2500723388002175px; position: absolute;" + > + <span> + 00:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -6.2500723388002175px; width: -6.2500723388002175px; position: absolute;" + > + <span> + 01:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -12.500144677600435px; width: -6.250072338800216px; position: absolute;" + > + <span> + 02:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -18.75021701640065px; width: -6.250072338800219px; position: absolute;" + > + <span> + 03:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -25.00028935520087px; width: -6.250072338800216px; position: absolute;" + > + <span> + 04:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -31.250361694001086px; width: -6.250072338800216px; position: absolute;" + > + <span> + 05:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -37.5004340328013px; width: -6.250072338800223px; position: absolute;" + > + <span> + 06:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -43.750506371601524px; width: -6.250072338800216px; position: absolute;" + > + <span> + 07:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -50.00057871040174px; width: -6.250072338800216px; position: absolute;" + > + <span> + 08:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -56.250651049201956px; width: -6.250072338800216px; position: absolute;" + > + <span> + 09:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -62.50072338800217px; width: -6.250072338800223px; position: absolute;" + > + <span> + 10:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -68.7507957268024px; width: -6.250072338800209px; position: absolute;" + > + <span> + 11:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -75.0008680656026px; width: -6.250072338800223px; position: absolute;" + > + <span> + 12:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -81.25094040440283px; width: -6.250072338800223px; position: absolute;" + > + <span> + 13:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -87.50101274320305px; width: -6.250072338800209px; position: absolute;" + > + <span> + 14:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -93.75108508200326px; width: -6.250072338800223px; position: absolute;" + > + <span> + 15:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -100.00115742080348px; width: -6.250072338800223px; position: absolute;" + > + <span> + 16:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -106.2512297596037px; width: -6.250072338800209px; position: absolute;" + > + <span> + 17:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -112.50130209840391px; width: -6.250072338800223px; position: absolute;" + > + <span> + 18:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -118.75137443720413px; width: -6.250072338800209px; position: absolute;" + > + <span> + 19:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -125.00144677600434px; width: -6.250072338800237px; position: absolute;" + > + <span> + 20:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -131.25151911480458px; width: -6.250072338800209px; position: absolute;" + > + <span> + 21:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -137.5015914536048px; width: -6.250072338800209px; position: absolute;" + > + <span> + 22:00 + </span> + </div> + <div + class="rct-dateHeader " + style="left: -143.751663792405px; width: -6.250072338800209px; position: absolute;" + > + <span> + 23:00 + </span> + </div> + </div> + <div + style="height: 30px; position: relative; width: -150px;" + > + <div + class="rct-dateHeader" + data-testid="dateheader-lst-00:00" + style="left: 0px; width: -6.2500723388002175px; position: absolute;" + > + 00:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-01:00" + style="left: -6.2500723388002175px; width: -6.2500723388002175px; position: absolute;" + > + 01:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-02:00" + style="left: -12.500144677600435px; width: -6.250072338800216px; position: absolute;" + > + 02:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-03:00" + style="left: -18.75021701640065px; width: -6.250072338800219px; position: absolute;" + > + 03:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-04:00" + style="left: -25.00028935520087px; width: -6.250072338800216px; position: absolute;" + > + 04:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-05:00" + style="left: -31.250361694001086px; width: -6.250072338800216px; position: absolute;" + > + 05:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-06:00" + style="left: -37.5004340328013px; width: -6.250072338800223px; position: absolute;" + > + 06:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-07:00" + style="left: -43.750506371601524px; width: -6.250072338800216px; position: absolute;" + > + 07:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-08:00" + style="left: -50.00057871040174px; width: -6.250072338800216px; position: absolute;" + > + 08:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-09:00" + style="left: -56.250651049201956px; width: -6.250072338800216px; position: absolute;" + > + 09:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-10:00" + style="left: -62.50072338800217px; width: -6.250072338800223px; position: absolute;" + > + 10:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-11:00" + style="left: -68.7507957268024px; width: -6.250072338800209px; position: absolute;" + > + 11:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-12:00" + style="left: -75.0008680656026px; width: -6.250072338800223px; position: absolute;" + > + 12:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-13:00" + style="left: -81.25094040440283px; width: -6.250072338800223px; position: absolute;" + > + 13:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-14:00" + style="left: -87.50101274320305px; width: -6.250072338800209px; position: absolute;" + > + 14:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-15:00" + style="left: -93.75108508200326px; width: -6.250072338800223px; position: absolute;" + > + 15:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-16:00" + style="left: -100.00115742080348px; width: -6.250072338800223px; position: absolute;" + > + 16:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-17:00" + style="left: -106.2512297596037px; width: -6.250072338800209px; position: absolute;" + > + 17:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-18:00" + style="left: -112.50130209840391px; width: -6.250072338800223px; position: absolute;" + > + 18:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-19:00" + style="left: -118.75137443720413px; width: -6.250072338800209px; position: absolute;" + > + 19:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-20:00" + style="left: -125.00144677600434px; width: -6.250072338800237px; position: absolute;" + > + 20:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-21:00" + style="left: -131.25151911480458px; width: -6.250072338800209px; position: absolute;" + > + 21:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-22:00" + style="left: -137.5015914536048px; width: -6.250072338800209px; position: absolute;" + > + 22:00 + </div> + <div + class="rct-dateHeader" + data-testid="dateheader-lst-23:00" + style="left: -143.751663792405px; width: -6.250072338800209px; position: absolute;" + > + 23:00 + </div> + </div> + </div> + </div> + <div + class="rct-outer" + style="height: 0px;" + > + <div + class="rct-sidebar" + style="width: 150px; height: 0px;" + > + <div + style="width: 150px;" + /> + </div> + <div + class="rct-scroll" + style="width: -150px; height: 20px; cursor: default; position: relative;" + > + <div + style="position: absolute; left: 0px; right: 0px; top: 0px; bottom: 0px;" + > + <div + style="position: absolute; top: 0px; bottom: 0px; width: 2px; pointer-events: none; left: -146.71003136610378px; z-index: 998;" + /> + <div + class="rct-vertical-lines" + > + <div + class="rct-vl " + style="pointer-events: none; top: 0px; left: 50400.58334008495px; width: -54750.6336878899px; height: 0px;" + /> + </div> + <div + class="rct-horizontal-lines" + /> + <div + class="rct-items" + /> + </div> + </div> + </div> + <div + class="erd_scroll_detection_container erd_scroll_detection_container_animation_active" + style="visibility: hidden; display: inline; width: 0px; height: 0px; z-index: -1; overflow: hidden; margin: 0px; padding: 0px;" + > + <div + class="erd_scroll_detection_container" + dir="ltr" + style="position: absolute; flex: 0 0 auto; overflow: hidden; z-index: -1; visibility: hidden; width: 100%; height: 100%; left: 0px; top: 0px;" + > + <div + class="erd_scroll_detection_container" + style="position: absolute; flex: 0 0 auto; overflow: hidden; z-index: -1; visibility: hidden; left: -501px; top: -501px; right: -500px; bottom: -500px;" + > + <div + style="position: absolute; flex: 0 0 auto; overflow: scroll; z-index: -1; visibility: hidden; width: 100%; height: 100%;" + > + <div + style="position: absolute; left: 0px; top: 0px; width: 1011px; height: 1011px;" + /> + </div> + <div + style="position: absolute; flex: 0 0 auto; overflow: scroll; z-index: -1; visibility: hidden; width: 100%; height: 100%;" + > + <div + style="position: absolute; width: 200%; height: 200%;" + /> + </div> + </div> + </div> + </div> + </div> + </div> + </div> + <div + class="p-grid" + data-testid="confirm_dialog" + > + <div + class="custom-dlg p-grid" + data-testid="confirm_dialog" + style="opacity: 1;" + /> + </div> + </div> +</DocumentFragment> +`; diff --git a/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/business/timelinegroupingbusiness.js b/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/business/timelinegroupingbusiness.js index f0025e04cd92e846bee41d2d9f6e07387355e8f1..f2be9a085af7cbf666ff33beed25f0dcd125e304 100644 --- a/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/business/timelinegroupingbusiness.js +++ b/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/business/timelinegroupingbusiness.js @@ -17,34 +17,33 @@ export function getTimelineGroups() { { label: "Scheduler Type", value: "scheduler_group", id: 11, title: "Scheduler Type" } ] } -export function getGroups(itemGroupKey, startTime, data,endTime) { +export function getGroups(itemGroupKey, startTime, data, endTime) { let groups - - - if (itemGroupKey =="group") { // then group is the default, date one - let days = moment(endTime).diff(moment(startTime),'days')+1; - console.log(" getGroups NUmber of days",days,startTime,endTime) - groups = createDateGroups('', startTime,days); + + + if (itemGroupKey == "group") { // then group is the default, date one + let days = moment(endTime).diff(moment(startTime), 'days') + 1; + groups = createDateGroups('', startTime, days); } else { - groups = createGroups(data, itemGroupKey,moment(startTime),moment(endTime) ) + groups = createGroups(data, itemGroupKey, moment(startTime), moment(endTime)) } return { groups, itemGroupKey } } -export function createGroups(timeLineRows, property,startTime,endTime ) { +export function createGroups(timeLineRows, property, startTime, endTime) { const groups = []; - if (timeLineRows !== undefined && timeLineRows.length>0) { + if (timeLineRows !== undefined && timeLineRows.length > 0) { let uniquegroupnames = [...new Set(timeLineRows.map(item => item[property]))]; uniquegroupnames = uniquegroupnames.sort((a, b) => a.localeCompare(b)); for (const element of uniquegroupnames) { - if (element==undefined) continue; // no grouping data found for this item. - const splittedElement = element.split('#') + if (element == undefined) continue; // no grouping data found for this item. + const splittedElement = element.split('#') const datepart = splittedElement[1]; - let isSingleStation = false; - if (splittedElement.length>2) { - if (splittedElement[2]=="station") isSingleStation = true; + let isSingleStation = false; + if (splittedElement.length > 2) { + if (splittedElement[2] == "station") isSingleStation = true; } const groupDate = moment(datepart) @@ -52,12 +51,12 @@ export function createGroups(timeLineRows, property,startTime,endTime ) { const weeknr = groupDate.format("w") const weekdate = groupDate.format("MMM DD - ddd") const formatedDate = groupDate.format(UIConstants.CALENDAR_GROUP_FORMAT) - const newgroup = { id: element, title:splittedElement[0], date: groupDate, formatedDate: formatedDate, weeknr: weeknr, weekdate: weekdate, isSingleStation:isSingleStation }; + const newgroup = { id: element, title: splittedElement[0], date: groupDate, formatedDate: formatedDate, weeknr: weeknr, weekdate: weekdate, isSingleStation: isSingleStation }; if (isSingleStation) { - newgroup.designatedStation=splittedElement[0]; + newgroup.designatedStation = splittedElement[0]; } - if (groupDate>=startTime && groupDate<=endTime) groups.push(newgroup); + if (groupDate >= startTime && groupDate <= endTime) groups.push(newgroup); } } diff --git a/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/data/week.view.data.js b/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/data/week.view.data.js index ee38d81841a187a5a69b58cefe95add45aec05ea..318da8f04598db2c7c8bf4b9087239be6ce4f0bc 100644 --- a/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/data/week.view.data.js +++ b/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/data/week.view.data.js @@ -12,7 +12,6 @@ export async function fetchTimelineData(startTime, endTime, setData) { const from = startTime.format(UIConstants.CALENDAR_DATETIME_FORMAT); const until = endTime.format(UIConstants.CALENDAR_DATETIME_FORMAT); - console.log("fetchTimelineData from " + from + "until " +until); const schedulingUnits = await ScheduleService.getTimelineSlimBlueprints(from, until); const reservations = await fetchReservations(from, until) diff --git a/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/helpers/week.view.helper.js b/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/helpers/week.view.helper.js index 7446ea26e08c79135ea1a270db3965c3e705c6cf..dcb6f5eb749a6751dff7d8559ea311b053e5ac0c 100644 --- a/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/helpers/week.view.helper.js +++ b/SAS/TMSS/frontend/tmss_webapp/src/routes/Timeline/helpers/week.view.helper.js @@ -233,7 +233,7 @@ export async function getSunTimingItems(startTime, groups, groupkey) { let timings = allstationtimings?.[group.designatedStation || "CS002"]; let dateindex = uniqueDates.indexOf(groupDaymoment); - if (timings.sunrise.length > dateindex) { + if (timings?.sunrise?.length > dateindex) { const sunriseStart = moment.utc(timings.sunrise[dateindex].start); const sunriseEnd = moment.utc(timings.sunrise[dateindex].end); const sunsetStart = moment.utc(timings.sunset[dateindex].start);