{
  "meta": null,
  "nextCursor": null,
  "tools": [
    {
      "name": "session_create",
      "title": null,
      "description": "Create a durable workspace with an explicit session identifier.",
      "inputSchema": {
        "$defs": {
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "description": "A durable workspace identity, independent of any client connection.",
        "properties": {
          "session_id": {
            "$ref": "#/$defs/SessionId"
          },
          "name": {
            "$ref": "#/$defs/Text"
          }
        },
        "required": [
          "session_id",
          "name"
        ],
        "title": "Session",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "Session": {
            "additionalProperties": false,
            "description": "A durable workspace identity, independent of any client connection.",
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "name": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "session_id",
              "name"
            ],
            "title": "Session",
            "type": "object"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_Session_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/Session"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[Session]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_Session_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_Session_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[Session]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "session_list",
      "title": null,
      "description": "List durable engineering sessions without selecting a mutation target.",
      "inputSchema": {
        "additionalProperties": false,
        "description": "This operation takes no arguments.",
        "properties": {},
        "title": "EmptyRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "Session": {
            "additionalProperties": false,
            "description": "A durable workspace identity, independent of any client connection.",
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "name": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "session_id",
              "name"
            ],
            "title": "Session",
            "type": "object"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_tuple_Session__________": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "items": {
                  "$ref": "#/$defs/Session"
                },
                "title": "Value",
                "type": "array"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[tuple[Session, ...]]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_tuple_Session__________"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_tuple_Session__________"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[tuple[Session, ...]]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "session_get",
      "title": null,
      "description": "Read one durable session by its explicit identifier.",
      "inputSchema": {
        "$defs": {
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "session_id": {
            "$ref": "#/$defs/SessionId",
            "description": "The explicit durable engineering session identifier."
          }
        },
        "required": [
          "session_id"
        ],
        "title": "SessionRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "Session": {
            "additionalProperties": false,
            "description": "A durable workspace identity, independent of any client connection.",
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "name": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "session_id",
              "name"
            ],
            "title": "Session",
            "type": "object"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_Session_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/Session"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[Session]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_Session_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_Session_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[Session]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "observation_get",
      "title": null,
      "description": "Read a saved observation with native image content. This does not render a new frame.",
      "inputSchema": {
        "$defs": {
          "ObservationId": {
            "title": "ObservationId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "session_id": {
            "$ref": "#/$defs/SessionId",
            "description": "The explicit durable engineering session identifier."
          },
          "observation_id": {
            "$ref": "#/$defs/ObservationId",
            "description": "The saved observation to read in this session."
          }
        },
        "required": [
          "session_id",
          "observation_id"
        ],
        "title": "ObservationRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "Camera": {
            "additionalProperties": false,
            "description": "Camera positions use native display coordinates; parallel scale is half the view height.",
            "properties": {
              "position": {
                "$ref": "#/$defs/Vector3"
              },
              "target": {
                "$ref": "#/$defs/Vector3"
              },
              "up": {
                "$ref": "#/$defs/Vector3"
              },
              "projection": {
                "$ref": "#/$defs/Projection"
              },
              "field_of_view_degrees": {
                "anyOf": [
                  {
                    "exclusiveMaximum": 180,
                    "exclusiveMinimum": 0,
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Field Of View Degrees"
              },
              "parallel_scale": {
                "anyOf": [
                  {
                    "exclusiveMinimum": 0,
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Parallel Scale"
              }
            },
            "required": [
              "position",
              "target",
              "up",
              "projection"
            ],
            "title": "Camera",
            "type": "object"
          },
          "CellIndex": {
            "additionalProperties": false,
            "description": "I, J, and K are zero-based structured-grid indices.",
            "properties": {
              "i": {
                "minimum": 0,
                "title": "I",
                "type": "integer"
              },
              "j": {
                "minimum": 0,
                "title": "J",
                "type": "integer"
              },
              "k": {
                "minimum": 0,
                "title": "K",
                "type": "integer"
              }
            },
            "required": [
              "i",
              "j",
              "k"
            ],
            "title": "CellIndex",
            "type": "object"
          },
          "CellRangeFilter": {
            "additionalProperties": false,
            "properties": {
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "minimum": {
                "$ref": "#/$defs/CellIndex"
              },
              "maximum": {
                "$ref": "#/$defs/CellIndex"
              },
              "include": {
                "title": "Include",
                "type": "boolean"
              }
            },
            "required": [
              "grid_id",
              "minimum",
              "maximum",
              "include"
            ],
            "title": "CellRangeFilter",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "CoordinateFrame": {
            "additionalProperties": false,
            "description": "Coordinates use a named local datum and an explicit Z direction.",
            "properties": {
              "length_unit": {
                "$ref": "#/$defs/Unit"
              },
              "depth_direction": {
                "$ref": "#/$defs/DepthDirection"
              },
              "datum": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "length_unit",
              "depth_direction",
              "datum"
            ],
            "title": "CoordinateFrame",
            "type": "object"
          },
          "DepthDirection": {
            "enum": [
              "positive_up",
              "positive_down"
            ],
            "title": "DepthDirection",
            "type": "string"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "GridId": {
            "title": "GridId",
            "type": "string"
          },
          "ImageArtifact": {
            "additionalProperties": false,
            "description": "Declared saved-image metadata; the renderer must decode the actual image.",
            "properties": {
              "artifact": {
                "$ref": "#/$defs/ArtifactRef"
              },
              "media_type": {
                "const": "image/png",
                "default": "image/png",
                "title": "Media Type",
                "type": "string"
              },
              "width": {
                "exclusiveMinimum": 0,
                "title": "Width",
                "type": "integer"
              },
              "height": {
                "exclusiveMinimum": 0,
                "title": "Height",
                "type": "integer"
              }
            },
            "required": [
              "artifact",
              "width",
              "height"
            ],
            "title": "ImageArtifact",
            "type": "object"
          },
          "Legend": {
            "additionalProperties": false,
            "description": "Legend bounds use the selected property's unit.",
            "properties": {
              "minimum": {
                "title": "Minimum",
                "type": "number"
              },
              "maximum": {
                "title": "Maximum",
                "type": "number"
              }
            },
            "required": [
              "minimum",
              "maximum"
            ],
            "title": "Legend",
            "type": "object"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "ObjectKind": {
            "enum": [
              "case",
              "view",
              "well"
            ],
            "title": "ObjectKind",
            "type": "string"
          },
          "ObjectRef": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "kind": {
                "$ref": "#/$defs/ObjectKind"
              },
              "object_id": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "context",
              "kind",
              "object_id"
            ],
            "title": "ObjectRef",
            "type": "object"
          },
          "Observation": {
            "additionalProperties": false,
            "properties": {
              "observation_id": {
                "$ref": "#/$defs/ObservationId"
              },
              "context": {
                "$ref": "#/$defs/ViewContext"
              },
              "image": {
                "$ref": "#/$defs/ImageArtifact"
              },
              "captured_at": {
                "format": "date-time",
                "title": "Captured At",
                "type": "string"
              }
            },
            "required": [
              "observation_id",
              "context",
              "image",
              "captured_at"
            ],
            "title": "Observation",
            "type": "object"
          },
          "ObservationId": {
            "title": "ObservationId",
            "type": "string"
          },
          "Projection": {
            "enum": [
              "perspective",
              "orthographic"
            ],
            "title": "Projection",
            "type": "string"
          },
          "Property": {
            "additionalProperties": false,
            "properties": {
              "name": {
                "$ref": "#/$defs/Text"
              },
              "unit": {
                "$ref": "#/$defs/Unit"
              }
            },
            "required": [
              "name",
              "unit"
            ],
            "title": "Property",
            "type": "object"
          },
          "ReportTime": {
            "additionalProperties": false,
            "description": "Simulator calendar dates have no implied timezone.",
            "properties": {
              "index": {
                "minimum": 0,
                "title": "Index",
                "type": "integer"
              },
              "elapsed_days": {
                "minimum": 0,
                "title": "Elapsed Days",
                "type": "number"
              },
              "calendar_date": {
                "format": "date",
                "title": "Calendar Date",
                "type": "string"
              }
            },
            "required": [
              "index",
              "elapsed_days",
              "calendar_date"
            ],
            "title": "ReportTime",
            "type": "object"
          },
          "ResultId": {
            "title": "ResultId",
            "type": "string"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_Observation_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/Observation"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[Observation]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "Unit": {
            "enum": [
              "m",
              "ft",
              "Pa",
              "bar",
              "psi",
              "s",
              "day",
              "1",
              "stb/day"
            ],
            "title": "Unit",
            "type": "string"
          },
          "Vector3": {
            "maxItems": 3,
            "minItems": 3,
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "type": "array"
          },
          "ViewContext": {
            "additionalProperties": false,
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "result_id": {
                "$ref": "#/$defs/ResultId"
              },
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "case": {
                "$ref": "#/$defs/ObjectRef"
              },
              "view": {
                "$ref": "#/$defs/ObjectRef"
              },
              "scene_version": {
                "minimum": 0,
                "title": "Scene Version",
                "type": "integer"
              },
              "property": {
                "$ref": "#/$defs/Property"
              },
              "report_time": {
                "$ref": "#/$defs/ReportTime"
              },
              "coordinates": {
                "$ref": "#/$defs/CoordinateFrame"
              },
              "camera": {
                "$ref": "#/$defs/Camera"
              },
              "vertical_exaggeration": {
                "exclusiveMinimum": 0,
                "title": "Vertical Exaggeration",
                "type": "number"
              },
              "legend": {
                "$ref": "#/$defs/Legend"
              },
              "filters": {
                "items": {
                  "$ref": "#/$defs/CellRangeFilter"
                },
                "title": "Filters",
                "type": "array"
              },
              "selected_wells": {
                "default": [],
                "items": {
                  "$ref": "#/$defs/ObjectRef"
                },
                "title": "Selected Wells",
                "type": "array"
              }
            },
            "required": [
              "model",
              "result_id",
              "grid_id",
              "case",
              "view",
              "scene_version",
              "property",
              "report_time",
              "coordinates",
              "camera",
              "vertical_exaggeration",
              "legend",
              "filters"
            ],
            "title": "ViewContext",
            "type": "object"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_Observation_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_Observation_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[Observation]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "view_render",
      "title": null,
      "description": "Render the session view from its stored result with native image content.",
      "inputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "Camera": {
            "additionalProperties": false,
            "description": "Camera positions use native display coordinates; parallel scale is half the view height.",
            "properties": {
              "position": {
                "$ref": "#/$defs/Vector3"
              },
              "target": {
                "$ref": "#/$defs/Vector3"
              },
              "up": {
                "$ref": "#/$defs/Vector3"
              },
              "projection": {
                "$ref": "#/$defs/Projection"
              },
              "field_of_view_degrees": {
                "anyOf": [
                  {
                    "exclusiveMaximum": 180,
                    "exclusiveMinimum": 0,
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Field Of View Degrees"
              },
              "parallel_scale": {
                "anyOf": [
                  {
                    "exclusiveMinimum": 0,
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Parallel Scale"
              }
            },
            "required": [
              "position",
              "target",
              "up",
              "projection"
            ],
            "title": "Camera",
            "type": "object"
          },
          "CellIndex": {
            "additionalProperties": false,
            "description": "I, J, and K are zero-based structured-grid indices.",
            "properties": {
              "i": {
                "minimum": 0,
                "title": "I",
                "type": "integer"
              },
              "j": {
                "minimum": 0,
                "title": "J",
                "type": "integer"
              },
              "k": {
                "minimum": 0,
                "title": "K",
                "type": "integer"
              }
            },
            "required": [
              "i",
              "j",
              "k"
            ],
            "title": "CellIndex",
            "type": "object"
          },
          "CellRangeFilter": {
            "additionalProperties": false,
            "properties": {
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "minimum": {
                "$ref": "#/$defs/CellIndex"
              },
              "maximum": {
                "$ref": "#/$defs/CellIndex"
              },
              "include": {
                "title": "Include",
                "type": "boolean"
              }
            },
            "required": [
              "grid_id",
              "minimum",
              "maximum",
              "include"
            ],
            "title": "CellRangeFilter",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "CoordinateFrame": {
            "additionalProperties": false,
            "description": "Coordinates use a named local datum and an explicit Z direction.",
            "properties": {
              "length_unit": {
                "$ref": "#/$defs/Unit"
              },
              "depth_direction": {
                "$ref": "#/$defs/DepthDirection"
              },
              "datum": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "length_unit",
              "depth_direction",
              "datum"
            ],
            "title": "CoordinateFrame",
            "type": "object"
          },
          "DepthDirection": {
            "enum": [
              "positive_up",
              "positive_down"
            ],
            "title": "DepthDirection",
            "type": "string"
          },
          "GridId": {
            "title": "GridId",
            "type": "string"
          },
          "Legend": {
            "additionalProperties": false,
            "description": "Legend bounds use the selected property's unit.",
            "properties": {
              "minimum": {
                "title": "Minimum",
                "type": "number"
              },
              "maximum": {
                "title": "Maximum",
                "type": "number"
              }
            },
            "required": [
              "minimum",
              "maximum"
            ],
            "title": "Legend",
            "type": "object"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "ObjectKind": {
            "enum": [
              "case",
              "view",
              "well"
            ],
            "title": "ObjectKind",
            "type": "string"
          },
          "ObjectRef": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "kind": {
                "$ref": "#/$defs/ObjectKind"
              },
              "object_id": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "context",
              "kind",
              "object_id"
            ],
            "title": "ObjectRef",
            "type": "object"
          },
          "Projection": {
            "enum": [
              "perspective",
              "orthographic"
            ],
            "title": "Projection",
            "type": "string"
          },
          "Property": {
            "additionalProperties": false,
            "properties": {
              "name": {
                "$ref": "#/$defs/Text"
              },
              "unit": {
                "$ref": "#/$defs/Unit"
              }
            },
            "required": [
              "name",
              "unit"
            ],
            "title": "Property",
            "type": "object"
          },
          "ReportTime": {
            "additionalProperties": false,
            "description": "Simulator calendar dates have no implied timezone.",
            "properties": {
              "index": {
                "minimum": 0,
                "title": "Index",
                "type": "integer"
              },
              "elapsed_days": {
                "minimum": 0,
                "title": "Elapsed Days",
                "type": "number"
              },
              "calendar_date": {
                "format": "date",
                "title": "Calendar Date",
                "type": "string"
              }
            },
            "required": [
              "index",
              "elapsed_days",
              "calendar_date"
            ],
            "title": "ReportTime",
            "type": "object"
          },
          "ResultId": {
            "title": "ResultId",
            "type": "string"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "Unit": {
            "enum": [
              "m",
              "ft",
              "Pa",
              "bar",
              "psi",
              "s",
              "day",
              "1",
              "stb/day"
            ],
            "title": "Unit",
            "type": "string"
          },
          "Vector3": {
            "maxItems": 3,
            "minItems": 3,
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "type": "array"
          },
          "ViewContext": {
            "additionalProperties": false,
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "result_id": {
                "$ref": "#/$defs/ResultId"
              },
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "case": {
                "$ref": "#/$defs/ObjectRef"
              },
              "view": {
                "$ref": "#/$defs/ObjectRef"
              },
              "scene_version": {
                "minimum": 0,
                "title": "Scene Version",
                "type": "integer"
              },
              "property": {
                "$ref": "#/$defs/Property"
              },
              "report_time": {
                "$ref": "#/$defs/ReportTime"
              },
              "coordinates": {
                "$ref": "#/$defs/CoordinateFrame"
              },
              "camera": {
                "$ref": "#/$defs/Camera"
              },
              "vertical_exaggeration": {
                "exclusiveMinimum": 0,
                "title": "Vertical Exaggeration",
                "type": "number"
              },
              "legend": {
                "$ref": "#/$defs/Legend"
              },
              "filters": {
                "items": {
                  "$ref": "#/$defs/CellRangeFilter"
                },
                "title": "Filters",
                "type": "array"
              },
              "selected_wells": {
                "default": [],
                "items": {
                  "$ref": "#/$defs/ObjectRef"
                },
                "title": "Selected Wells",
                "type": "array"
              }
            },
            "required": [
              "model",
              "result_id",
              "grid_id",
              "case",
              "view",
              "scene_version",
              "property",
              "report_time",
              "coordinates",
              "camera",
              "vertical_exaggeration",
              "legend",
              "filters"
            ],
            "title": "ViewContext",
            "type": "object"
          }
        },
        "additionalProperties": false,
        "properties": {
          "session_id": {
            "$ref": "#/$defs/SessionId",
            "description": "The explicit durable engineering session identifier."
          },
          "context": {
            "$ref": "#/$defs/ViewContext",
            "description": "The requested view and its exact stored result context."
          },
          "width": {
            "description": "Requested image width in pixels.",
            "exclusiveMinimum": 0,
            "title": "Width",
            "type": "integer"
          },
          "height": {
            "description": "Requested image height in pixels.",
            "exclusiveMinimum": 0,
            "title": "Height",
            "type": "integer"
          }
        },
        "required": [
          "session_id",
          "context",
          "width",
          "height"
        ],
        "title": "ViewRenderRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "Camera": {
            "additionalProperties": false,
            "description": "Camera positions use native display coordinates; parallel scale is half the view height.",
            "properties": {
              "position": {
                "$ref": "#/$defs/Vector3"
              },
              "target": {
                "$ref": "#/$defs/Vector3"
              },
              "up": {
                "$ref": "#/$defs/Vector3"
              },
              "projection": {
                "$ref": "#/$defs/Projection"
              },
              "field_of_view_degrees": {
                "anyOf": [
                  {
                    "exclusiveMaximum": 180,
                    "exclusiveMinimum": 0,
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Field Of View Degrees"
              },
              "parallel_scale": {
                "anyOf": [
                  {
                    "exclusiveMinimum": 0,
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Parallel Scale"
              }
            },
            "required": [
              "position",
              "target",
              "up",
              "projection"
            ],
            "title": "Camera",
            "type": "object"
          },
          "CellIndex": {
            "additionalProperties": false,
            "description": "I, J, and K are zero-based structured-grid indices.",
            "properties": {
              "i": {
                "minimum": 0,
                "title": "I",
                "type": "integer"
              },
              "j": {
                "minimum": 0,
                "title": "J",
                "type": "integer"
              },
              "k": {
                "minimum": 0,
                "title": "K",
                "type": "integer"
              }
            },
            "required": [
              "i",
              "j",
              "k"
            ],
            "title": "CellIndex",
            "type": "object"
          },
          "CellRangeFilter": {
            "additionalProperties": false,
            "properties": {
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "minimum": {
                "$ref": "#/$defs/CellIndex"
              },
              "maximum": {
                "$ref": "#/$defs/CellIndex"
              },
              "include": {
                "title": "Include",
                "type": "boolean"
              }
            },
            "required": [
              "grid_id",
              "minimum",
              "maximum",
              "include"
            ],
            "title": "CellRangeFilter",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "CoordinateFrame": {
            "additionalProperties": false,
            "description": "Coordinates use a named local datum and an explicit Z direction.",
            "properties": {
              "length_unit": {
                "$ref": "#/$defs/Unit"
              },
              "depth_direction": {
                "$ref": "#/$defs/DepthDirection"
              },
              "datum": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "length_unit",
              "depth_direction",
              "datum"
            ],
            "title": "CoordinateFrame",
            "type": "object"
          },
          "DepthDirection": {
            "enum": [
              "positive_up",
              "positive_down"
            ],
            "title": "DepthDirection",
            "type": "string"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "GridId": {
            "title": "GridId",
            "type": "string"
          },
          "ImageArtifact": {
            "additionalProperties": false,
            "description": "Declared saved-image metadata; the renderer must decode the actual image.",
            "properties": {
              "artifact": {
                "$ref": "#/$defs/ArtifactRef"
              },
              "media_type": {
                "const": "image/png",
                "default": "image/png",
                "title": "Media Type",
                "type": "string"
              },
              "width": {
                "exclusiveMinimum": 0,
                "title": "Width",
                "type": "integer"
              },
              "height": {
                "exclusiveMinimum": 0,
                "title": "Height",
                "type": "integer"
              }
            },
            "required": [
              "artifact",
              "width",
              "height"
            ],
            "title": "ImageArtifact",
            "type": "object"
          },
          "Legend": {
            "additionalProperties": false,
            "description": "Legend bounds use the selected property's unit.",
            "properties": {
              "minimum": {
                "title": "Minimum",
                "type": "number"
              },
              "maximum": {
                "title": "Maximum",
                "type": "number"
              }
            },
            "required": [
              "minimum",
              "maximum"
            ],
            "title": "Legend",
            "type": "object"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "ObjectKind": {
            "enum": [
              "case",
              "view",
              "well"
            ],
            "title": "ObjectKind",
            "type": "string"
          },
          "ObjectRef": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "kind": {
                "$ref": "#/$defs/ObjectKind"
              },
              "object_id": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "context",
              "kind",
              "object_id"
            ],
            "title": "ObjectRef",
            "type": "object"
          },
          "Observation": {
            "additionalProperties": false,
            "properties": {
              "observation_id": {
                "$ref": "#/$defs/ObservationId"
              },
              "context": {
                "$ref": "#/$defs/ViewContext"
              },
              "image": {
                "$ref": "#/$defs/ImageArtifact"
              },
              "captured_at": {
                "format": "date-time",
                "title": "Captured At",
                "type": "string"
              }
            },
            "required": [
              "observation_id",
              "context",
              "image",
              "captured_at"
            ],
            "title": "Observation",
            "type": "object"
          },
          "ObservationId": {
            "title": "ObservationId",
            "type": "string"
          },
          "Projection": {
            "enum": [
              "perspective",
              "orthographic"
            ],
            "title": "Projection",
            "type": "string"
          },
          "Property": {
            "additionalProperties": false,
            "properties": {
              "name": {
                "$ref": "#/$defs/Text"
              },
              "unit": {
                "$ref": "#/$defs/Unit"
              }
            },
            "required": [
              "name",
              "unit"
            ],
            "title": "Property",
            "type": "object"
          },
          "ReportTime": {
            "additionalProperties": false,
            "description": "Simulator calendar dates have no implied timezone.",
            "properties": {
              "index": {
                "minimum": 0,
                "title": "Index",
                "type": "integer"
              },
              "elapsed_days": {
                "minimum": 0,
                "title": "Elapsed Days",
                "type": "number"
              },
              "calendar_date": {
                "format": "date",
                "title": "Calendar Date",
                "type": "string"
              }
            },
            "required": [
              "index",
              "elapsed_days",
              "calendar_date"
            ],
            "title": "ReportTime",
            "type": "object"
          },
          "ResultId": {
            "title": "ResultId",
            "type": "string"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_Observation_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/Observation"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[Observation]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "Unit": {
            "enum": [
              "m",
              "ft",
              "Pa",
              "bar",
              "psi",
              "s",
              "day",
              "1",
              "stb/day"
            ],
            "title": "Unit",
            "type": "string"
          },
          "Vector3": {
            "maxItems": 3,
            "minItems": 3,
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "type": "array"
          },
          "ViewContext": {
            "additionalProperties": false,
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "result_id": {
                "$ref": "#/$defs/ResultId"
              },
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "case": {
                "$ref": "#/$defs/ObjectRef"
              },
              "view": {
                "$ref": "#/$defs/ObjectRef"
              },
              "scene_version": {
                "minimum": 0,
                "title": "Scene Version",
                "type": "integer"
              },
              "property": {
                "$ref": "#/$defs/Property"
              },
              "report_time": {
                "$ref": "#/$defs/ReportTime"
              },
              "coordinates": {
                "$ref": "#/$defs/CoordinateFrame"
              },
              "camera": {
                "$ref": "#/$defs/Camera"
              },
              "vertical_exaggeration": {
                "exclusiveMinimum": 0,
                "title": "Vertical Exaggeration",
                "type": "number"
              },
              "legend": {
                "$ref": "#/$defs/Legend"
              },
              "filters": {
                "items": {
                  "$ref": "#/$defs/CellRangeFilter"
                },
                "title": "Filters",
                "type": "array"
              },
              "selected_wells": {
                "default": [],
                "items": {
                  "$ref": "#/$defs/ObjectRef"
                },
                "title": "Selected Wells",
                "type": "array"
              }
            },
            "required": [
              "model",
              "result_id",
              "grid_id",
              "case",
              "view",
              "scene_version",
              "property",
              "report_time",
              "coordinates",
              "camera",
              "vertical_exaggeration",
              "legend",
              "filters"
            ],
            "title": "ViewContext",
            "type": "object"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_Observation_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_Observation_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[Observation]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "view_list",
      "title": null,
      "description": "Read current views and native cameras for an exact trusted loaded result.",
      "inputSchema": {
        "$defs": {
          "ActiveCellMap": {
            "additionalProperties": false,
            "description": "Tuple order defines the zero-based active-array index.",
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "dimensions": {
                "maxItems": 3,
                "minItems": 3,
                "prefixItems": [
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  }
                ],
                "title": "Dimensions",
                "type": "array"
              },
              "cells": {
                "items": {
                  "$ref": "#/$defs/CellIndex"
                },
                "title": "Cells",
                "type": "array"
              }
            },
            "required": [
              "model",
              "grid_id",
              "dimensions",
              "cells"
            ],
            "title": "ActiveCellMap",
            "type": "object"
          },
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "CellIndex": {
            "additionalProperties": false,
            "description": "I, J, and K are zero-based structured-grid indices.",
            "properties": {
              "i": {
                "minimum": 0,
                "title": "I",
                "type": "integer"
              },
              "j": {
                "minimum": 0,
                "title": "J",
                "type": "integer"
              },
              "k": {
                "minimum": 0,
                "title": "K",
                "type": "integer"
              }
            },
            "required": [
              "i",
              "j",
              "k"
            ],
            "title": "CellIndex",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "GridId": {
            "title": "GridId",
            "type": "string"
          },
          "JobId": {
            "title": "JobId",
            "type": "string"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "NumericalAssessment": {
            "enum": [
              "not_assessed",
              "accepted",
              "rejected"
            ],
            "title": "NumericalAssessment",
            "type": "string"
          },
          "ObjectKind": {
            "enum": [
              "case",
              "view",
              "well"
            ],
            "title": "ObjectKind",
            "type": "string"
          },
          "ObjectRef": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "kind": {
                "$ref": "#/$defs/ObjectKind"
              },
              "object_id": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "context",
              "kind",
              "object_id"
            ],
            "title": "ObjectRef",
            "type": "object"
          },
          "ReportSeries": {
            "additionalProperties": false,
            "properties": {
              "reports": {
                "items": {
                  "$ref": "#/$defs/ReportTime"
                },
                "minItems": 1,
                "title": "Reports",
                "type": "array"
              }
            },
            "required": [
              "reports"
            ],
            "title": "ReportSeries",
            "type": "object"
          },
          "ReportTime": {
            "additionalProperties": false,
            "description": "Simulator calendar dates have no implied timezone.",
            "properties": {
              "index": {
                "minimum": 0,
                "title": "Index",
                "type": "integer"
              },
              "elapsed_days": {
                "minimum": 0,
                "title": "Elapsed Days",
                "type": "number"
              },
              "calendar_date": {
                "format": "date",
                "title": "Calendar Date",
                "type": "string"
              }
            },
            "required": [
              "index",
              "elapsed_days",
              "calendar_date"
            ],
            "title": "ReportTime",
            "type": "object"
          },
          "Result": {
            "additionalProperties": false,
            "properties": {
              "result_id": {
                "$ref": "#/$defs/ResultId"
              },
              "job_id": {
                "$ref": "#/$defs/JobId"
              },
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "report_series": {
                "$ref": "#/$defs/ReportSeries"
              },
              "assessment": {
                "$ref": "#/$defs/NumericalAssessment",
                "default": "not_assessed"
              },
              "manifest": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ResultManifest"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "result_id",
              "job_id",
              "model",
              "grid_id",
              "report_series"
            ],
            "title": "Result",
            "type": "object"
          },
          "ResultId": {
            "title": "ResultId",
            "type": "string"
          },
          "ResultManifest": {
            "additionalProperties": false,
            "description": "Artifact names remain in the workspace artifact records.",
            "properties": {
              "outputs": {
                "items": {
                  "$ref": "#/$defs/ResultOutput"
                },
                "title": "Outputs",
                "type": "array"
              },
              "active_cells": {
                "$ref": "#/$defs/ActiveCellMap"
              },
              "restart_report_steps": {
                "items": {
                  "minimum": 0,
                  "type": "integer"
                },
                "title": "Restart Report Steps",
                "type": "array"
              },
              "numerical_data": {
                "$ref": "#/$defs/ArtifactRef"
              },
              "assessment_evidence": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "outputs",
              "active_cells",
              "restart_report_steps",
              "numerical_data",
              "assessment_evidence"
            ],
            "title": "ResultManifest",
            "type": "object"
          },
          "ResultOutput": {
            "additionalProperties": false,
            "properties": {
              "role": {
                "$ref": "#/$defs/ResultOutputRole"
              },
              "artifact": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "role",
              "artifact"
            ],
            "title": "ResultOutput",
            "type": "object"
          },
          "ResultOutputRole": {
            "enum": [
              "EGRID",
              "INIT",
              "UNRST",
              "SMSPEC",
              "UNSMRY"
            ],
            "title": "ResultOutputRole",
            "type": "string"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "case": {
            "$ref": "#/$defs/ObjectRef"
          },
          "result": {
            "$ref": "#/$defs/Result"
          }
        },
        "required": [
          "case",
          "result"
        ],
        "title": "LoadedResult",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ActiveCellMap": {
            "additionalProperties": false,
            "description": "Tuple order defines the zero-based active-array index.",
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "dimensions": {
                "maxItems": 3,
                "minItems": 3,
                "prefixItems": [
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  }
                ],
                "title": "Dimensions",
                "type": "array"
              },
              "cells": {
                "items": {
                  "$ref": "#/$defs/CellIndex"
                },
                "title": "Cells",
                "type": "array"
              }
            },
            "required": [
              "model",
              "grid_id",
              "dimensions",
              "cells"
            ],
            "title": "ActiveCellMap",
            "type": "object"
          },
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "Camera": {
            "additionalProperties": false,
            "description": "Camera positions use native display coordinates; parallel scale is half the view height.",
            "properties": {
              "position": {
                "$ref": "#/$defs/Vector3"
              },
              "target": {
                "$ref": "#/$defs/Vector3"
              },
              "up": {
                "$ref": "#/$defs/Vector3"
              },
              "projection": {
                "$ref": "#/$defs/Projection"
              },
              "field_of_view_degrees": {
                "anyOf": [
                  {
                    "exclusiveMaximum": 180,
                    "exclusiveMinimum": 0,
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Field Of View Degrees"
              },
              "parallel_scale": {
                "anyOf": [
                  {
                    "exclusiveMinimum": 0,
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Parallel Scale"
              }
            },
            "required": [
              "position",
              "target",
              "up",
              "projection"
            ],
            "title": "Camera",
            "type": "object"
          },
          "CellIndex": {
            "additionalProperties": false,
            "description": "I, J, and K are zero-based structured-grid indices.",
            "properties": {
              "i": {
                "minimum": 0,
                "title": "I",
                "type": "integer"
              },
              "j": {
                "minimum": 0,
                "title": "J",
                "type": "integer"
              },
              "k": {
                "minimum": 0,
                "title": "K",
                "type": "integer"
              }
            },
            "required": [
              "i",
              "j",
              "k"
            ],
            "title": "CellIndex",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "GridId": {
            "title": "GridId",
            "type": "string"
          },
          "JobId": {
            "title": "JobId",
            "type": "string"
          },
          "LoadedResult": {
            "additionalProperties": false,
            "properties": {
              "case": {
                "$ref": "#/$defs/ObjectRef"
              },
              "result": {
                "$ref": "#/$defs/Result"
              }
            },
            "required": [
              "case",
              "result"
            ],
            "title": "LoadedResult",
            "type": "object"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "NumericalAssessment": {
            "enum": [
              "not_assessed",
              "accepted",
              "rejected"
            ],
            "title": "NumericalAssessment",
            "type": "string"
          },
          "ObjectKind": {
            "enum": [
              "case",
              "view",
              "well"
            ],
            "title": "ObjectKind",
            "type": "string"
          },
          "ObjectRef": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "kind": {
                "$ref": "#/$defs/ObjectKind"
              },
              "object_id": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "context",
              "kind",
              "object_id"
            ],
            "title": "ObjectRef",
            "type": "object"
          },
          "Projection": {
            "enum": [
              "perspective",
              "orthographic"
            ],
            "title": "Projection",
            "type": "string"
          },
          "ReportSeries": {
            "additionalProperties": false,
            "properties": {
              "reports": {
                "items": {
                  "$ref": "#/$defs/ReportTime"
                },
                "minItems": 1,
                "title": "Reports",
                "type": "array"
              }
            },
            "required": [
              "reports"
            ],
            "title": "ReportSeries",
            "type": "object"
          },
          "ReportTime": {
            "additionalProperties": false,
            "description": "Simulator calendar dates have no implied timezone.",
            "properties": {
              "index": {
                "minimum": 0,
                "title": "Index",
                "type": "integer"
              },
              "elapsed_days": {
                "minimum": 0,
                "title": "Elapsed Days",
                "type": "number"
              },
              "calendar_date": {
                "format": "date",
                "title": "Calendar Date",
                "type": "string"
              }
            },
            "required": [
              "index",
              "elapsed_days",
              "calendar_date"
            ],
            "title": "ReportTime",
            "type": "object"
          },
          "Result": {
            "additionalProperties": false,
            "properties": {
              "result_id": {
                "$ref": "#/$defs/ResultId"
              },
              "job_id": {
                "$ref": "#/$defs/JobId"
              },
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "report_series": {
                "$ref": "#/$defs/ReportSeries"
              },
              "assessment": {
                "$ref": "#/$defs/NumericalAssessment",
                "default": "not_assessed"
              },
              "manifest": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ResultManifest"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "result_id",
              "job_id",
              "model",
              "grid_id",
              "report_series"
            ],
            "title": "Result",
            "type": "object"
          },
          "ResultId": {
            "title": "ResultId",
            "type": "string"
          },
          "ResultManifest": {
            "additionalProperties": false,
            "description": "Artifact names remain in the workspace artifact records.",
            "properties": {
              "outputs": {
                "items": {
                  "$ref": "#/$defs/ResultOutput"
                },
                "title": "Outputs",
                "type": "array"
              },
              "active_cells": {
                "$ref": "#/$defs/ActiveCellMap"
              },
              "restart_report_steps": {
                "items": {
                  "minimum": 0,
                  "type": "integer"
                },
                "title": "Restart Report Steps",
                "type": "array"
              },
              "numerical_data": {
                "$ref": "#/$defs/ArtifactRef"
              },
              "assessment_evidence": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "outputs",
              "active_cells",
              "restart_report_steps",
              "numerical_data",
              "assessment_evidence"
            ],
            "title": "ResultManifest",
            "type": "object"
          },
          "ResultOutput": {
            "additionalProperties": false,
            "properties": {
              "role": {
                "$ref": "#/$defs/ResultOutputRole"
              },
              "artifact": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "role",
              "artifact"
            ],
            "title": "ResultOutput",
            "type": "object"
          },
          "ResultOutputRole": {
            "enum": [
              "EGRID",
              "INIT",
              "UNRST",
              "SMSPEC",
              "UNSMRY"
            ],
            "title": "ResultOutputRole",
            "type": "string"
          },
          "ResultViewState": {
            "additionalProperties": false,
            "description": "Observed camera settings identify a view of one trusted loaded result.",
            "properties": {
              "loaded": {
                "$ref": "#/$defs/LoadedResult"
              },
              "view": {
                "$ref": "#/$defs/ObjectRef"
              },
              "camera": {
                "$ref": "#/$defs/Camera"
              },
              "vertical_exaggeration": {
                "exclusiveMinimum": 0,
                "title": "Vertical Exaggeration",
                "type": "number"
              },
              "scene_version": {
                "minimum": 0,
                "title": "Scene Version",
                "type": "integer"
              }
            },
            "required": [
              "loaded",
              "view",
              "camera",
              "vertical_exaggeration",
              "scene_version"
            ],
            "title": "ResultViewState",
            "type": "object"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_tuple_ResultViewState__________": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "items": {
                  "$ref": "#/$defs/ResultViewState"
                },
                "title": "Value",
                "type": "array"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[tuple[ResultViewState, ...]]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "Vector3": {
            "maxItems": 3,
            "minItems": 3,
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "type": "array"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_tuple_ResultViewState__________"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_tuple_ResultViewState__________"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[tuple[ResultViewState, ...]]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "view_apply",
      "title": null,
      "description": "Apply explicit view settings and return the edit receipt with a native image.",
      "inputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "Camera": {
            "additionalProperties": false,
            "description": "Camera positions use native display coordinates; parallel scale is half the view height.",
            "properties": {
              "position": {
                "$ref": "#/$defs/Vector3"
              },
              "target": {
                "$ref": "#/$defs/Vector3"
              },
              "up": {
                "$ref": "#/$defs/Vector3"
              },
              "projection": {
                "$ref": "#/$defs/Projection"
              },
              "field_of_view_degrees": {
                "anyOf": [
                  {
                    "exclusiveMaximum": 180,
                    "exclusiveMinimum": 0,
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Field Of View Degrees"
              },
              "parallel_scale": {
                "anyOf": [
                  {
                    "exclusiveMinimum": 0,
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Parallel Scale"
              }
            },
            "required": [
              "position",
              "target",
              "up",
              "projection"
            ],
            "title": "Camera",
            "type": "object"
          },
          "CellIndex": {
            "additionalProperties": false,
            "description": "I, J, and K are zero-based structured-grid indices.",
            "properties": {
              "i": {
                "minimum": 0,
                "title": "I",
                "type": "integer"
              },
              "j": {
                "minimum": 0,
                "title": "J",
                "type": "integer"
              },
              "k": {
                "minimum": 0,
                "title": "K",
                "type": "integer"
              }
            },
            "required": [
              "i",
              "j",
              "k"
            ],
            "title": "CellIndex",
            "type": "object"
          },
          "CellRangeFilter": {
            "additionalProperties": false,
            "properties": {
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "minimum": {
                "$ref": "#/$defs/CellIndex"
              },
              "maximum": {
                "$ref": "#/$defs/CellIndex"
              },
              "include": {
                "title": "Include",
                "type": "boolean"
              }
            },
            "required": [
              "grid_id",
              "minimum",
              "maximum",
              "include"
            ],
            "title": "CellRangeFilter",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "CoordinateFrame": {
            "additionalProperties": false,
            "description": "Coordinates use a named local datum and an explicit Z direction.",
            "properties": {
              "length_unit": {
                "$ref": "#/$defs/Unit"
              },
              "depth_direction": {
                "$ref": "#/$defs/DepthDirection"
              },
              "datum": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "length_unit",
              "depth_direction",
              "datum"
            ],
            "title": "CoordinateFrame",
            "type": "object"
          },
          "DepthDirection": {
            "enum": [
              "positive_up",
              "positive_down"
            ],
            "title": "DepthDirection",
            "type": "string"
          },
          "GridId": {
            "title": "GridId",
            "type": "string"
          },
          "Legend": {
            "additionalProperties": false,
            "description": "Legend bounds use the selected property's unit.",
            "properties": {
              "minimum": {
                "title": "Minimum",
                "type": "number"
              },
              "maximum": {
                "title": "Maximum",
                "type": "number"
              }
            },
            "required": [
              "minimum",
              "maximum"
            ],
            "title": "Legend",
            "type": "object"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "ObjectKind": {
            "enum": [
              "case",
              "view",
              "well"
            ],
            "title": "ObjectKind",
            "type": "string"
          },
          "ObjectRef": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "kind": {
                "$ref": "#/$defs/ObjectKind"
              },
              "object_id": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "context",
              "kind",
              "object_id"
            ],
            "title": "ObjectRef",
            "type": "object"
          },
          "ObservationId": {
            "title": "ObservationId",
            "type": "string"
          },
          "Projection": {
            "enum": [
              "perspective",
              "orthographic"
            ],
            "title": "Projection",
            "type": "string"
          },
          "Property": {
            "additionalProperties": false,
            "properties": {
              "name": {
                "$ref": "#/$defs/Text"
              },
              "unit": {
                "$ref": "#/$defs/Unit"
              }
            },
            "required": [
              "name",
              "unit"
            ],
            "title": "Property",
            "type": "object"
          },
          "ReportTime": {
            "additionalProperties": false,
            "description": "Simulator calendar dates have no implied timezone.",
            "properties": {
              "index": {
                "minimum": 0,
                "title": "Index",
                "type": "integer"
              },
              "elapsed_days": {
                "minimum": 0,
                "title": "Elapsed Days",
                "type": "number"
              },
              "calendar_date": {
                "format": "date",
                "title": "Calendar Date",
                "type": "string"
              }
            },
            "required": [
              "index",
              "elapsed_days",
              "calendar_date"
            ],
            "title": "ReportTime",
            "type": "object"
          },
          "ResultId": {
            "title": "ResultId",
            "type": "string"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "Unit": {
            "enum": [
              "m",
              "ft",
              "Pa",
              "bar",
              "psi",
              "s",
              "day",
              "1",
              "stb/day"
            ],
            "title": "Unit",
            "type": "string"
          },
          "Vector3": {
            "maxItems": 3,
            "minItems": 3,
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "type": "array"
          },
          "ViewContext": {
            "additionalProperties": false,
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "result_id": {
                "$ref": "#/$defs/ResultId"
              },
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "case": {
                "$ref": "#/$defs/ObjectRef"
              },
              "view": {
                "$ref": "#/$defs/ObjectRef"
              },
              "scene_version": {
                "minimum": 0,
                "title": "Scene Version",
                "type": "integer"
              },
              "property": {
                "$ref": "#/$defs/Property"
              },
              "report_time": {
                "$ref": "#/$defs/ReportTime"
              },
              "coordinates": {
                "$ref": "#/$defs/CoordinateFrame"
              },
              "camera": {
                "$ref": "#/$defs/Camera"
              },
              "vertical_exaggeration": {
                "exclusiveMinimum": 0,
                "title": "Vertical Exaggeration",
                "type": "number"
              },
              "legend": {
                "$ref": "#/$defs/Legend"
              },
              "filters": {
                "items": {
                  "$ref": "#/$defs/CellRangeFilter"
                },
                "title": "Filters",
                "type": "array"
              },
              "selected_wells": {
                "default": [],
                "items": {
                  "$ref": "#/$defs/ObjectRef"
                },
                "title": "Selected Wells",
                "type": "array"
              }
            },
            "required": [
              "model",
              "result_id",
              "grid_id",
              "case",
              "view",
              "scene_version",
              "property",
              "report_time",
              "coordinates",
              "camera",
              "vertical_exaggeration",
              "legend",
              "filters"
            ],
            "title": "ViewContext",
            "type": "object"
          }
        },
        "additionalProperties": false,
        "properties": {
          "context": {
            "$ref": "#/$defs/ViewContext"
          },
          "width": {
            "exclusiveMinimum": 0,
            "title": "Width",
            "type": "integer"
          },
          "height": {
            "exclusiveMinimum": 0,
            "title": "Height",
            "type": "integer"
          },
          "expected_observation_id": {
            "anyOf": [
              {
                "$ref": "#/$defs/ObservationId"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "required": [
          "context",
          "width",
          "height"
        ],
        "title": "ViewUpdateRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "Camera": {
            "additionalProperties": false,
            "description": "Camera positions use native display coordinates; parallel scale is half the view height.",
            "properties": {
              "position": {
                "$ref": "#/$defs/Vector3"
              },
              "target": {
                "$ref": "#/$defs/Vector3"
              },
              "up": {
                "$ref": "#/$defs/Vector3"
              },
              "projection": {
                "$ref": "#/$defs/Projection"
              },
              "field_of_view_degrees": {
                "anyOf": [
                  {
                    "exclusiveMaximum": 180,
                    "exclusiveMinimum": 0,
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Field Of View Degrees"
              },
              "parallel_scale": {
                "anyOf": [
                  {
                    "exclusiveMinimum": 0,
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Parallel Scale"
              }
            },
            "required": [
              "position",
              "target",
              "up",
              "projection"
            ],
            "title": "Camera",
            "type": "object"
          },
          "CellIndex": {
            "additionalProperties": false,
            "description": "I, J, and K are zero-based structured-grid indices.",
            "properties": {
              "i": {
                "minimum": 0,
                "title": "I",
                "type": "integer"
              },
              "j": {
                "minimum": 0,
                "title": "J",
                "type": "integer"
              },
              "k": {
                "minimum": 0,
                "title": "K",
                "type": "integer"
              }
            },
            "required": [
              "i",
              "j",
              "k"
            ],
            "title": "CellIndex",
            "type": "object"
          },
          "CellRangeFilter": {
            "additionalProperties": false,
            "properties": {
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "minimum": {
                "$ref": "#/$defs/CellIndex"
              },
              "maximum": {
                "$ref": "#/$defs/CellIndex"
              },
              "include": {
                "title": "Include",
                "type": "boolean"
              }
            },
            "required": [
              "grid_id",
              "minimum",
              "maximum",
              "include"
            ],
            "title": "CellRangeFilter",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "CoordinateFrame": {
            "additionalProperties": false,
            "description": "Coordinates use a named local datum and an explicit Z direction.",
            "properties": {
              "length_unit": {
                "$ref": "#/$defs/Unit"
              },
              "depth_direction": {
                "$ref": "#/$defs/DepthDirection"
              },
              "datum": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "length_unit",
              "depth_direction",
              "datum"
            ],
            "title": "CoordinateFrame",
            "type": "object"
          },
          "DepthDirection": {
            "enum": [
              "positive_up",
              "positive_down"
            ],
            "title": "DepthDirection",
            "type": "string"
          },
          "EditId": {
            "title": "EditId",
            "type": "string"
          },
          "EditReceipt": {
            "additionalProperties": false,
            "properties": {
              "effect": {
                "const": "applied",
                "default": "applied",
                "title": "Effect",
                "type": "string"
              },
              "edit_id": {
                "$ref": "#/$defs/EditId"
              },
              "request": {
                "$ref": "#/$defs/PerforationEditRequest"
              },
              "scene_version": {
                "minimum": 0,
                "title": "Scene Version",
                "type": "integer"
              }
            },
            "required": [
              "edit_id",
              "request",
              "scene_version"
            ],
            "title": "EditReceipt",
            "type": "object"
          },
          "EditedView": {
            "additionalProperties": false,
            "description": "An image failure preserves the applied edit receipt without an old image.",
            "properties": {
              "edit": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/EditReceipt"
                  },
                  {
                    "$ref": "#/$defs/ViewEditReceipt"
                  }
                ],
                "title": "Edit"
              },
              "observation": {
                "$ref": "#/$defs/OperationResult_Observation_"
              }
            },
            "required": [
              "edit",
              "observation"
            ],
            "title": "EditedView",
            "type": "object"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "GridId": {
            "title": "GridId",
            "type": "string"
          },
          "ImageArtifact": {
            "additionalProperties": false,
            "description": "Declared saved-image metadata; the renderer must decode the actual image.",
            "properties": {
              "artifact": {
                "$ref": "#/$defs/ArtifactRef"
              },
              "media_type": {
                "const": "image/png",
                "default": "image/png",
                "title": "Media Type",
                "type": "string"
              },
              "width": {
                "exclusiveMinimum": 0,
                "title": "Width",
                "type": "integer"
              },
              "height": {
                "exclusiveMinimum": 0,
                "title": "Height",
                "type": "integer"
              }
            },
            "required": [
              "artifact",
              "width",
              "height"
            ],
            "title": "ImageArtifact",
            "type": "object"
          },
          "Legend": {
            "additionalProperties": false,
            "description": "Legend bounds use the selected property's unit.",
            "properties": {
              "minimum": {
                "title": "Minimum",
                "type": "number"
              },
              "maximum": {
                "title": "Maximum",
                "type": "number"
              }
            },
            "required": [
              "minimum",
              "maximum"
            ],
            "title": "Legend",
            "type": "object"
          },
          "MeasuredDepthInterval": {
            "additionalProperties": false,
            "description": "Distance along a well increases from its measured-depth origin.",
            "properties": {
              "start": {
                "minimum": 0,
                "title": "Start",
                "type": "number"
              },
              "end": {
                "minimum": 0,
                "title": "End",
                "type": "number"
              },
              "unit": {
                "$ref": "#/$defs/Unit"
              }
            },
            "required": [
              "start",
              "end",
              "unit"
            ],
            "title": "MeasuredDepthInterval",
            "type": "object"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "ObjectKind": {
            "enum": [
              "case",
              "view",
              "well"
            ],
            "title": "ObjectKind",
            "type": "string"
          },
          "ObjectRef": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "kind": {
                "$ref": "#/$defs/ObjectKind"
              },
              "object_id": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "context",
              "kind",
              "object_id"
            ],
            "title": "ObjectRef",
            "type": "object"
          },
          "Observation": {
            "additionalProperties": false,
            "properties": {
              "observation_id": {
                "$ref": "#/$defs/ObservationId"
              },
              "context": {
                "$ref": "#/$defs/ViewContext"
              },
              "image": {
                "$ref": "#/$defs/ImageArtifact"
              },
              "captured_at": {
                "format": "date-time",
                "title": "Captured At",
                "type": "string"
              }
            },
            "required": [
              "observation_id",
              "context",
              "image",
              "captured_at"
            ],
            "title": "Observation",
            "type": "object"
          },
          "ObservationId": {
            "title": "ObservationId",
            "type": "string"
          },
          "OperationResult_Observation_": {
            "additionalProperties": false,
            "properties": {
              "outcome": {
                "discriminator": {
                  "mapping": {
                    "failure": "#/$defs/Failure",
                    "success": "#/$defs/Success_Observation_"
                  },
                  "propertyName": "status"
                },
                "oneOf": [
                  {
                    "$ref": "#/$defs/Success_Observation_"
                  },
                  {
                    "$ref": "#/$defs/Failure"
                  }
                ],
                "title": "Outcome"
              }
            },
            "required": [
              "outcome"
            ],
            "title": "OperationResult[Observation]",
            "type": "object"
          },
          "PerforationEditRequest": {
            "additionalProperties": false,
            "description": "A visual well edit does not create or change a simulator revision.",
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "well": {
                "$ref": "#/$defs/ObjectRef"
              },
              "interval": {
                "$ref": "#/$defs/MeasuredDepthInterval"
              },
              "expected_scene_version": {
                "minimum": 0,
                "title": "Expected Scene Version",
                "type": "integer"
              }
            },
            "required": [
              "model",
              "well",
              "interval",
              "expected_scene_version"
            ],
            "title": "PerforationEditRequest",
            "type": "object"
          },
          "Projection": {
            "enum": [
              "perspective",
              "orthographic"
            ],
            "title": "Projection",
            "type": "string"
          },
          "Property": {
            "additionalProperties": false,
            "properties": {
              "name": {
                "$ref": "#/$defs/Text"
              },
              "unit": {
                "$ref": "#/$defs/Unit"
              }
            },
            "required": [
              "name",
              "unit"
            ],
            "title": "Property",
            "type": "object"
          },
          "ReportTime": {
            "additionalProperties": false,
            "description": "Simulator calendar dates have no implied timezone.",
            "properties": {
              "index": {
                "minimum": 0,
                "title": "Index",
                "type": "integer"
              },
              "elapsed_days": {
                "minimum": 0,
                "title": "Elapsed Days",
                "type": "number"
              },
              "calendar_date": {
                "format": "date",
                "title": "Calendar Date",
                "type": "string"
              }
            },
            "required": [
              "index",
              "elapsed_days",
              "calendar_date"
            ],
            "title": "ReportTime",
            "type": "object"
          },
          "ResultId": {
            "title": "ResultId",
            "type": "string"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_EditedView_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/EditedView"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[EditedView]",
            "type": "object"
          },
          "Success_Observation_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/Observation"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[Observation]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "Unit": {
            "enum": [
              "m",
              "ft",
              "Pa",
              "bar",
              "psi",
              "s",
              "day",
              "1",
              "stb/day"
            ],
            "title": "Unit",
            "type": "string"
          },
          "Vector3": {
            "maxItems": 3,
            "minItems": 3,
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "type": "array"
          },
          "ViewContext": {
            "additionalProperties": false,
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "result_id": {
                "$ref": "#/$defs/ResultId"
              },
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "case": {
                "$ref": "#/$defs/ObjectRef"
              },
              "view": {
                "$ref": "#/$defs/ObjectRef"
              },
              "scene_version": {
                "minimum": 0,
                "title": "Scene Version",
                "type": "integer"
              },
              "property": {
                "$ref": "#/$defs/Property"
              },
              "report_time": {
                "$ref": "#/$defs/ReportTime"
              },
              "coordinates": {
                "$ref": "#/$defs/CoordinateFrame"
              },
              "camera": {
                "$ref": "#/$defs/Camera"
              },
              "vertical_exaggeration": {
                "exclusiveMinimum": 0,
                "title": "Vertical Exaggeration",
                "type": "number"
              },
              "legend": {
                "$ref": "#/$defs/Legend"
              },
              "filters": {
                "items": {
                  "$ref": "#/$defs/CellRangeFilter"
                },
                "title": "Filters",
                "type": "array"
              },
              "selected_wells": {
                "default": [],
                "items": {
                  "$ref": "#/$defs/ObjectRef"
                },
                "title": "Selected Wells",
                "type": "array"
              }
            },
            "required": [
              "model",
              "result_id",
              "grid_id",
              "case",
              "view",
              "scene_version",
              "property",
              "report_time",
              "coordinates",
              "camera",
              "vertical_exaggeration",
              "legend",
              "filters"
            ],
            "title": "ViewContext",
            "type": "object"
          },
          "ViewEditReceipt": {
            "additionalProperties": false,
            "properties": {
              "effect": {
                "const": "applied",
                "default": "applied",
                "title": "Effect",
                "type": "string"
              },
              "edit_id": {
                "$ref": "#/$defs/EditId"
              },
              "previous_scene_version": {
                "minimum": 0,
                "title": "Previous Scene Version",
                "type": "integer"
              },
              "context": {
                "$ref": "#/$defs/ViewContext"
              }
            },
            "required": [
              "edit_id",
              "previous_scene_version",
              "context"
            ],
            "title": "ViewEditReceipt",
            "type": "object"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_EditedView_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_EditedView_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[EditedView]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "session_select",
      "title": null,
      "description": "Resolve a session without choosing a default for later requests.",
      "inputSchema": {
        "$defs": {
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "session_id": {
            "$ref": "#/$defs/SessionId",
            "description": "The explicit durable engineering session identifier."
          }
        },
        "required": [
          "session_id"
        ],
        "title": "SessionRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "Session": {
            "additionalProperties": false,
            "description": "A durable workspace identity, independent of any client connection.",
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "name": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "session_id",
              "name"
            ],
            "title": "Session",
            "type": "object"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_Session_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/Session"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[Session]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_Session_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_Session_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[Session]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "connection_list",
      "title": null,
      "description": "List live application connection records.",
      "inputSchema": {
        "additionalProperties": false,
        "description": "This operation takes no arguments.",
        "properties": {},
        "title": "EmptyRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "Connection": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "endpoint": {
                "$ref": "#/$defs/Endpoint"
              },
              "ownership": {
                "$ref": "#/$defs/ProcessOwnership"
              },
              "state": {
                "$ref": "#/$defs/ConnectionState"
              },
              "process": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ProcessIdentity"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "context",
              "endpoint",
              "ownership",
              "state"
            ],
            "title": "Connection",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "ConnectionState": {
            "enum": [
              "ready",
              "busy",
              "lost",
              "detached"
            ],
            "title": "ConnectionState",
            "type": "string"
          },
          "Endpoint": {
            "additionalProperties": false,
            "properties": {
              "host": {
                "const": "127.0.0.1",
                "default": "127.0.0.1",
                "title": "Host",
                "type": "string"
              },
              "port": {
                "maximum": 65535,
                "minimum": 1,
                "title": "Port",
                "type": "integer"
              }
            },
            "required": [
              "port"
            ],
            "title": "Endpoint",
            "type": "object"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "ProcessIdentity": {
            "additionalProperties": false,
            "description": "A PID and a host-derived start marker identify one process lifetime.",
            "properties": {
              "pid": {
                "exclusiveMinimum": 0,
                "title": "Pid",
                "type": "integer"
              },
              "start_marker": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "pid",
              "start_marker"
            ],
            "title": "ProcessIdentity",
            "type": "object"
          },
          "ProcessOwnership": {
            "enum": [
              "owned",
              "attached"
            ],
            "title": "ProcessOwnership",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_tuple_Connection__________": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "items": {
                  "$ref": "#/$defs/Connection"
                },
                "title": "Value",
                "type": "array"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[tuple[Connection, ...]]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_tuple_Connection__________"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_tuple_Connection__________"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[tuple[Connection, ...]]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "connection_get",
      "title": null,
      "description": "Read the application connection for an explicit session.",
      "inputSchema": {
        "$defs": {
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "session_id": {
            "$ref": "#/$defs/SessionId",
            "description": "The explicit durable engineering session identifier."
          }
        },
        "required": [
          "session_id"
        ],
        "title": "SessionRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "Connection": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "endpoint": {
                "$ref": "#/$defs/Endpoint"
              },
              "ownership": {
                "$ref": "#/$defs/ProcessOwnership"
              },
              "state": {
                "$ref": "#/$defs/ConnectionState"
              },
              "process": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ProcessIdentity"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "context",
              "endpoint",
              "ownership",
              "state"
            ],
            "title": "Connection",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "ConnectionState": {
            "enum": [
              "ready",
              "busy",
              "lost",
              "detached"
            ],
            "title": "ConnectionState",
            "type": "string"
          },
          "Endpoint": {
            "additionalProperties": false,
            "properties": {
              "host": {
                "const": "127.0.0.1",
                "default": "127.0.0.1",
                "title": "Host",
                "type": "string"
              },
              "port": {
                "maximum": 65535,
                "minimum": 1,
                "title": "Port",
                "type": "integer"
              }
            },
            "required": [
              "port"
            ],
            "title": "Endpoint",
            "type": "object"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "ProcessIdentity": {
            "additionalProperties": false,
            "description": "A PID and a host-derived start marker identify one process lifetime.",
            "properties": {
              "pid": {
                "exclusiveMinimum": 0,
                "title": "Pid",
                "type": "integer"
              },
              "start_marker": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "pid",
              "start_marker"
            ],
            "title": "ProcessIdentity",
            "type": "object"
          },
          "ProcessOwnership": {
            "enum": [
              "owned",
              "attached"
            ],
            "title": "ProcessOwnership",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_Connection_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/Connection"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[Connection]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_Connection_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_Connection_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[Connection]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "application_launch",
      "title": null,
      "description": "Launch an owned application for an existing session.",
      "inputSchema": {
        "$defs": {
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "session_id": {
            "$ref": "#/$defs/SessionId"
          },
          "executable": {
            "format": "path",
            "title": "Executable",
            "type": "string"
          }
        },
        "required": [
          "session_id",
          "executable"
        ],
        "title": "LaunchRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "Connection": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "endpoint": {
                "$ref": "#/$defs/Endpoint"
              },
              "ownership": {
                "$ref": "#/$defs/ProcessOwnership"
              },
              "state": {
                "$ref": "#/$defs/ConnectionState"
              },
              "process": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ProcessIdentity"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "context",
              "endpoint",
              "ownership",
              "state"
            ],
            "title": "Connection",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "ConnectionState": {
            "enum": [
              "ready",
              "busy",
              "lost",
              "detached"
            ],
            "title": "ConnectionState",
            "type": "string"
          },
          "Endpoint": {
            "additionalProperties": false,
            "properties": {
              "host": {
                "const": "127.0.0.1",
                "default": "127.0.0.1",
                "title": "Host",
                "type": "string"
              },
              "port": {
                "maximum": 65535,
                "minimum": 1,
                "title": "Port",
                "type": "integer"
              }
            },
            "required": [
              "port"
            ],
            "title": "Endpoint",
            "type": "object"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "ProcessIdentity": {
            "additionalProperties": false,
            "description": "A PID and a host-derived start marker identify one process lifetime.",
            "properties": {
              "pid": {
                "exclusiveMinimum": 0,
                "title": "Pid",
                "type": "integer"
              },
              "start_marker": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "pid",
              "start_marker"
            ],
            "title": "ProcessIdentity",
            "type": "object"
          },
          "ProcessOwnership": {
            "enum": [
              "owned",
              "attached"
            ],
            "title": "ProcessOwnership",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_Connection_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/Connection"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[Connection]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_Connection_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_Connection_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[Connection]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "application_attach",
      "title": null,
      "description": "Attach an explicit session to a local application endpoint.",
      "inputSchema": {
        "$defs": {
          "Endpoint": {
            "additionalProperties": false,
            "properties": {
              "host": {
                "const": "127.0.0.1",
                "default": "127.0.0.1",
                "title": "Host",
                "type": "string"
              },
              "port": {
                "maximum": 65535,
                "minimum": 1,
                "title": "Port",
                "type": "integer"
              }
            },
            "required": [
              "port"
            ],
            "title": "Endpoint",
            "type": "object"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "session_id": {
            "$ref": "#/$defs/SessionId"
          },
          "endpoint": {
            "$ref": "#/$defs/Endpoint"
          }
        },
        "required": [
          "session_id",
          "endpoint"
        ],
        "title": "AttachRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "Connection": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "endpoint": {
                "$ref": "#/$defs/Endpoint"
              },
              "ownership": {
                "$ref": "#/$defs/ProcessOwnership"
              },
              "state": {
                "$ref": "#/$defs/ConnectionState"
              },
              "process": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ProcessIdentity"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "context",
              "endpoint",
              "ownership",
              "state"
            ],
            "title": "Connection",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "ConnectionState": {
            "enum": [
              "ready",
              "busy",
              "lost",
              "detached"
            ],
            "title": "ConnectionState",
            "type": "string"
          },
          "Endpoint": {
            "additionalProperties": false,
            "properties": {
              "host": {
                "const": "127.0.0.1",
                "default": "127.0.0.1",
                "title": "Host",
                "type": "string"
              },
              "port": {
                "maximum": 65535,
                "minimum": 1,
                "title": "Port",
                "type": "integer"
              }
            },
            "required": [
              "port"
            ],
            "title": "Endpoint",
            "type": "object"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "ProcessIdentity": {
            "additionalProperties": false,
            "description": "A PID and a host-derived start marker identify one process lifetime.",
            "properties": {
              "pid": {
                "exclusiveMinimum": 0,
                "title": "Pid",
                "type": "integer"
              },
              "start_marker": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "pid",
              "start_marker"
            ],
            "title": "ProcessIdentity",
            "type": "object"
          },
          "ProcessOwnership": {
            "enum": [
              "owned",
              "attached"
            ],
            "title": "ProcessOwnership",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_Connection_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/Connection"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[Connection]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_Connection_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_Connection_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[Connection]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "application_close",
      "title": null,
      "description": "Detach by default. Termination requires verified service ownership.",
      "inputSchema": {
        "$defs": {
          "CloseAction": {
            "enum": [
              "detach",
              "terminate"
            ],
            "title": "CloseAction",
            "type": "string"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "session_id": {
            "$ref": "#/$defs/SessionId"
          },
          "connection_id": {
            "$ref": "#/$defs/ConnectionId"
          },
          "action": {
            "$ref": "#/$defs/CloseAction",
            "default": "detach"
          }
        },
        "required": [
          "session_id",
          "connection_id"
        ],
        "title": "CloseRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "CloseAction": {
            "enum": [
              "detach",
              "terminate"
            ],
            "title": "CloseAction",
            "type": "string"
          },
          "CloseReceipt": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "action": {
                "$ref": "#/$defs/CloseAction"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "action"
            ],
            "title": "CloseReceipt",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_CloseReceipt_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/CloseReceipt"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[CloseReceipt]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_CloseReceipt_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_CloseReceipt_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[CloseReceipt]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "project_inspect",
      "title": null,
      "description": "Read the current project context and service-issued object references.",
      "inputSchema": {
        "$defs": {
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "session_id": {
            "$ref": "#/$defs/SessionId",
            "description": "The explicit durable engineering session identifier."
          }
        },
        "required": [
          "session_id"
        ],
        "title": "SessionRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "ObjectKind": {
            "enum": [
              "case",
              "view",
              "well"
            ],
            "title": "ObjectKind",
            "type": "string"
          },
          "ObjectRef": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "kind": {
                "$ref": "#/$defs/ObjectKind"
              },
              "object_id": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "context",
              "kind",
              "object_id"
            ],
            "title": "ObjectRef",
            "type": "object"
          },
          "ProjectObject": {
            "additionalProperties": false,
            "description": "An observed object with a service-issued reference.",
            "properties": {
              "ref": {
                "$ref": "#/$defs/ObjectRef"
              },
              "name": {
                "title": "Name",
                "type": "string"
              }
            },
            "required": [
              "ref",
              "name"
            ],
            "title": "ProjectObject",
            "type": "object"
          },
          "ProjectState": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "objects": {
                "default": [],
                "items": {
                  "$ref": "#/$defs/ProjectObject"
                },
                "title": "Objects",
                "type": "array"
              },
              "last_saved_path": {
                "anyOf": [
                  {
                    "format": "path",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Last Saved Path"
              }
            },
            "required": [
              "context"
            ],
            "title": "ProjectState",
            "type": "object"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_ProjectState_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/ProjectState"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[ProjectState]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_ProjectState_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_ProjectState_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[ProjectState]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "project_open",
      "title": null,
      "description": "Open a project after checking the explicit expected application context.",
      "inputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "context": {
            "$ref": "#/$defs/ApplicationContext"
          },
          "path": {
            "format": "path",
            "title": "Path",
            "type": "string"
          }
        },
        "required": [
          "context",
          "path"
        ],
        "title": "ProjectOpenRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "ObjectKind": {
            "enum": [
              "case",
              "view",
              "well"
            ],
            "title": "ObjectKind",
            "type": "string"
          },
          "ObjectRef": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "kind": {
                "$ref": "#/$defs/ObjectKind"
              },
              "object_id": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "context",
              "kind",
              "object_id"
            ],
            "title": "ObjectRef",
            "type": "object"
          },
          "ProjectObject": {
            "additionalProperties": false,
            "description": "An observed object with a service-issued reference.",
            "properties": {
              "ref": {
                "$ref": "#/$defs/ObjectRef"
              },
              "name": {
                "title": "Name",
                "type": "string"
              }
            },
            "required": [
              "ref",
              "name"
            ],
            "title": "ProjectObject",
            "type": "object"
          },
          "ProjectState": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "objects": {
                "default": [],
                "items": {
                  "$ref": "#/$defs/ProjectObject"
                },
                "title": "Objects",
                "type": "array"
              },
              "last_saved_path": {
                "anyOf": [
                  {
                    "format": "path",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Last Saved Path"
              }
            },
            "required": [
              "context"
            ],
            "title": "ProjectState",
            "type": "object"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_ProjectState_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/ProjectState"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[ProjectState]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_ProjectState_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_ProjectState_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[ProjectState]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "project_save",
      "title": null,
      "description": "Save the explicit project context to an absolute path.",
      "inputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "context": {
            "$ref": "#/$defs/ApplicationContext"
          },
          "path": {
            "format": "path",
            "title": "Path",
            "type": "string"
          },
          "overwrite": {
            "default": false,
            "title": "Overwrite",
            "type": "boolean"
          }
        },
        "required": [
          "context",
          "path"
        ],
        "title": "ProjectSaveRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "ObjectKind": {
            "enum": [
              "case",
              "view",
              "well"
            ],
            "title": "ObjectKind",
            "type": "string"
          },
          "ObjectRef": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "kind": {
                "$ref": "#/$defs/ObjectKind"
              },
              "object_id": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "context",
              "kind",
              "object_id"
            ],
            "title": "ObjectRef",
            "type": "object"
          },
          "ProjectObject": {
            "additionalProperties": false,
            "description": "An observed object with a service-issued reference.",
            "properties": {
              "ref": {
                "$ref": "#/$defs/ObjectRef"
              },
              "name": {
                "title": "Name",
                "type": "string"
              }
            },
            "required": [
              "ref",
              "name"
            ],
            "title": "ProjectObject",
            "type": "object"
          },
          "ProjectState": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "objects": {
                "default": [],
                "items": {
                  "$ref": "#/$defs/ProjectObject"
                },
                "title": "Objects",
                "type": "array"
              },
              "last_saved_path": {
                "anyOf": [
                  {
                    "format": "path",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Last Saved Path"
              }
            },
            "required": [
              "context"
            ],
            "title": "ProjectState",
            "type": "object"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_ProjectState_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/ProjectState"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[ProjectState]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_ProjectState_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_ProjectState_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[ProjectState]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "project_close",
      "title": null,
      "description": "Close the project after checking the explicit expected application context.",
      "inputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "context": {
            "$ref": "#/$defs/ApplicationContext"
          }
        },
        "required": [
          "context"
        ],
        "title": "ProjectCloseRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "ObjectKind": {
            "enum": [
              "case",
              "view",
              "well"
            ],
            "title": "ObjectKind",
            "type": "string"
          },
          "ObjectRef": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "kind": {
                "$ref": "#/$defs/ObjectKind"
              },
              "object_id": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "context",
              "kind",
              "object_id"
            ],
            "title": "ObjectRef",
            "type": "object"
          },
          "ProjectObject": {
            "additionalProperties": false,
            "description": "An observed object with a service-issued reference.",
            "properties": {
              "ref": {
                "$ref": "#/$defs/ObjectRef"
              },
              "name": {
                "title": "Name",
                "type": "string"
              }
            },
            "required": [
              "ref",
              "name"
            ],
            "title": "ProjectObject",
            "type": "object"
          },
          "ProjectState": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "objects": {
                "default": [],
                "items": {
                  "$ref": "#/$defs/ProjectObject"
                },
                "title": "Objects",
                "type": "array"
              },
              "last_saved_path": {
                "anyOf": [
                  {
                    "format": "path",
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Last Saved Path"
              }
            },
            "required": [
              "context"
            ],
            "title": "ProjectState",
            "type": "object"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_ProjectState_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/ProjectState"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[ProjectState]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_ProjectState_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_ProjectState_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[ProjectState]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "object_resolve",
      "title": null,
      "description": "Check a service-issued object reference against the current project.",
      "inputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "ObjectKind": {
            "enum": [
              "case",
              "view",
              "well"
            ],
            "title": "ObjectKind",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "context": {
            "$ref": "#/$defs/ApplicationContext"
          },
          "kind": {
            "$ref": "#/$defs/ObjectKind"
          },
          "object_id": {
            "$ref": "#/$defs/Text"
          }
        },
        "required": [
          "context",
          "kind",
          "object_id"
        ],
        "title": "ObjectRef",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "ObjectKind": {
            "enum": [
              "case",
              "view",
              "well"
            ],
            "title": "ObjectKind",
            "type": "string"
          },
          "ObjectRef": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "kind": {
                "$ref": "#/$defs/ObjectKind"
              },
              "object_id": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "context",
              "kind",
              "object_id"
            ],
            "title": "ObjectRef",
            "type": "object"
          },
          "ProjectObject": {
            "additionalProperties": false,
            "description": "An observed object with a service-issued reference.",
            "properties": {
              "ref": {
                "$ref": "#/$defs/ObjectRef"
              },
              "name": {
                "title": "Name",
                "type": "string"
              }
            },
            "required": [
              "ref",
              "name"
            ],
            "title": "ProjectObject",
            "type": "object"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_ProjectObject_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/ProjectObject"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[ProjectObject]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_ProjectObject_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_ProjectObject_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[ProjectObject]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "job_submit",
      "title": null,
      "description": "Submit a prepared model revision with explicit resource limits.",
      "inputSchema": {
        "$defs": {
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "Backend": {
            "enum": [
              "opm_flow",
              "julia"
            ],
            "title": "Backend",
            "type": "string"
          },
          "CoordinateFrame": {
            "additionalProperties": false,
            "description": "Coordinates use a named local datum and an explicit Z direction.",
            "properties": {
              "length_unit": {
                "$ref": "#/$defs/Unit"
              },
              "depth_direction": {
                "$ref": "#/$defs/DepthDirection"
              },
              "datum": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "length_unit",
              "depth_direction",
              "datum"
            ],
            "title": "CoordinateFrame",
            "type": "object"
          },
          "DepthDirection": {
            "enum": [
              "positive_up",
              "positive_down"
            ],
            "title": "DepthDirection",
            "type": "string"
          },
          "ModelInputs": {
            "additionalProperties": false,
            "properties": {
              "artifacts": {
                "items": {
                  "$ref": "#/$defs/ArtifactId"
                },
                "minItems": 1,
                "title": "Artifacts",
                "type": "array"
              },
              "entrypoint": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "artifacts",
              "entrypoint"
            ],
            "title": "ModelInputs",
            "type": "object"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "ModelRevision": {
            "additionalProperties": false,
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "inputs": {
                "$ref": "#/$defs/ModelInputs"
              },
              "unit_system": {
                "$ref": "#/$defs/UnitSystem"
              },
              "coordinates": {
                "$ref": "#/$defs/CoordinateFrame"
              },
              "parent": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ModelRef"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "model",
              "inputs",
              "unit_system",
              "coordinates"
            ],
            "title": "ModelRevision",
            "type": "object"
          },
          "PreparedModel": {
            "additionalProperties": false,
            "description": "Preparation verifies this fixed revision without editing its inputs.",
            "properties": {
              "revision": {
                "$ref": "#/$defs/ModelRevision"
              },
              "backend": {
                "$ref": "#/$defs/Backend"
              }
            },
            "required": [
              "revision",
              "backend"
            ],
            "title": "PreparedModel",
            "type": "object"
          },
          "ResourceLimits": {
            "additionalProperties": false,
            "properties": {
              "cpu_count": {
                "exclusiveMinimum": 0,
                "title": "Cpu Count",
                "type": "integer"
              },
              "memory_mib": {
                "exclusiveMinimum": 0,
                "title": "Memory Mib",
                "type": "integer"
              },
              "wall_time_seconds": {
                "exclusiveMinimum": 0,
                "title": "Wall Time Seconds",
                "type": "integer"
              }
            },
            "required": [
              "cpu_count",
              "memory_mib",
              "wall_time_seconds"
            ],
            "title": "ResourceLimits",
            "type": "object"
          },
          "ResourcePolicy": {
            "enum": [
              "enforce",
              "wall_time_only"
            ],
            "title": "ResourcePolicy",
            "type": "string"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "Unit": {
            "enum": [
              "m",
              "ft",
              "Pa",
              "bar",
              "psi",
              "s",
              "day",
              "1",
              "stb/day"
            ],
            "title": "Unit",
            "type": "string"
          },
          "UnitSystem": {
            "enum": [
              "FIELD",
              "METRIC",
              "SI"
            ],
            "title": "UnitSystem",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "prepared": {
            "$ref": "#/$defs/PreparedModel"
          },
          "limits": {
            "$ref": "#/$defs/ResourceLimits"
          },
          "resource_policy": {
            "$ref": "#/$defs/ResourcePolicy",
            "default": "enforce"
          }
        },
        "required": [
          "prepared",
          "limits"
        ],
        "title": "JobRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "Backend": {
            "enum": [
              "opm_flow",
              "julia"
            ],
            "title": "Backend",
            "type": "string"
          },
          "DockerExecution": {
            "additionalProperties": false,
            "description": "Record container ownership and expected program version before launch.",
            "properties": {
              "image_digest": {
                "$ref": "#/$defs/Text"
              },
              "platform": {
                "$ref": "#/$defs/Text"
              },
              "container_name": {
                "$ref": "#/$defs/Text"
              },
              "ownership_token": {
                "$ref": "#/$defs/Text"
              },
              "program_version": {
                "$ref": "#/$defs/Text"
              },
              "docker_client_version": {
                "$ref": "#/$defs/Text"
              },
              "docker_server_version": {
                "$ref": "#/$defs/Text"
              },
              "command": {
                "items": {
                  "$ref": "#/$defs/Text"
                },
                "title": "Command",
                "type": "array"
              },
              "mounts": {
                "items": {
                  "$ref": "#/$defs/DockerMount"
                },
                "title": "Mounts",
                "type": "array"
              },
              "working_directory": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "image_digest",
              "platform",
              "container_name",
              "ownership_token",
              "program_version",
              "docker_client_version",
              "docker_server_version",
              "command",
              "mounts",
              "working_directory"
            ],
            "title": "DockerExecution",
            "type": "object"
          },
          "DockerMount": {
            "additionalProperties": false,
            "properties": {
              "source": {
                "$ref": "#/$defs/Text"
              },
              "target": {
                "$ref": "#/$defs/Text"
              },
              "read_only": {
                "title": "Read Only",
                "type": "boolean"
              }
            },
            "required": [
              "source",
              "target",
              "read_only"
            ],
            "title": "DockerMount",
            "type": "object"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "Job": {
            "additionalProperties": false,
            "properties": {
              "job_id": {
                "$ref": "#/$defs/JobId"
              },
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "backend": {
                "$ref": "#/$defs/Backend"
              },
              "state": {
                "$ref": "#/$defs/JobState"
              },
              "cancel_requested": {
                "default": false,
                "title": "Cancel Requested",
                "type": "boolean"
              },
              "termination_confirmed": {
                "default": false,
                "title": "Termination Confirmed",
                "type": "boolean"
              },
              "exit_code": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Exit Code"
              },
              "error": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Error"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "submission": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/JobSubmission"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "supervisor": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ProcessIdentity"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "process": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ProcessIdentity"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "process_group_id": {
                "anyOf": [
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Process Group Id"
              },
              "container_id": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Text"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "logs": {
                "default": [],
                "items": {
                  "$ref": "#/$defs/ArtifactRef"
                },
                "title": "Logs",
                "type": "array"
              },
              "events": {
                "default": [],
                "items": {
                  "$ref": "#/$defs/JobEvent"
                },
                "title": "Events",
                "type": "array"
              }
            },
            "required": [
              "job_id",
              "model",
              "backend",
              "state"
            ],
            "title": "Job",
            "type": "object"
          },
          "JobEvent": {
            "additionalProperties": false,
            "properties": {
              "at": {
                "format": "date-time",
                "title": "At",
                "type": "string"
              },
              "state": {
                "$ref": "#/$defs/JobState"
              },
              "message": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "at",
              "state",
              "message"
            ],
            "title": "JobEvent",
            "type": "object"
          },
          "JobId": {
            "title": "JobId",
            "type": "string"
          },
          "JobState": {
            "enum": [
              "queued",
              "running",
              "succeeded",
              "failed",
              "canceled",
              "unknown"
            ],
            "title": "JobState",
            "type": "string"
          },
          "JobSubmission": {
            "additionalProperties": false,
            "properties": {
              "limits": {
                "$ref": "#/$defs/ResourceLimits"
              },
              "resource_policy": {
                "$ref": "#/$defs/ResourcePolicy"
              },
              "argv": {
                "items": {
                  "type": "string"
                },
                "title": "Argv",
                "type": "array"
              },
              "working_directory": {
                "title": "Working Directory",
                "type": "string"
              },
              "submitted_at": {
                "format": "date-time",
                "title": "Submitted At",
                "type": "string"
              },
              "execution": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/DockerExecution"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "run_metadata": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ArtifactRef"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "limits",
              "resource_policy",
              "argv",
              "working_directory",
              "submitted_at"
            ],
            "title": "JobSubmission",
            "type": "object"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "ProcessIdentity": {
            "additionalProperties": false,
            "description": "A PID and a host-derived start marker identify one process lifetime.",
            "properties": {
              "pid": {
                "exclusiveMinimum": 0,
                "title": "Pid",
                "type": "integer"
              },
              "start_marker": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "pid",
              "start_marker"
            ],
            "title": "ProcessIdentity",
            "type": "object"
          },
          "ResourceLimits": {
            "additionalProperties": false,
            "properties": {
              "cpu_count": {
                "exclusiveMinimum": 0,
                "title": "Cpu Count",
                "type": "integer"
              },
              "memory_mib": {
                "exclusiveMinimum": 0,
                "title": "Memory Mib",
                "type": "integer"
              },
              "wall_time_seconds": {
                "exclusiveMinimum": 0,
                "title": "Wall Time Seconds",
                "type": "integer"
              }
            },
            "required": [
              "cpu_count",
              "memory_mib",
              "wall_time_seconds"
            ],
            "title": "ResourceLimits",
            "type": "object"
          },
          "ResourcePolicy": {
            "enum": [
              "enforce",
              "wall_time_only"
            ],
            "title": "ResourcePolicy",
            "type": "string"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_Job_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/Job"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[Job]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_Job_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_Job_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[Job]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "job_poll",
      "title": null,
      "description": "Check execution state for a job in an explicit session.",
      "inputSchema": {
        "$defs": {
          "JobId": {
            "title": "JobId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "session_id": {
            "$ref": "#/$defs/SessionId"
          },
          "job_id": {
            "$ref": "#/$defs/JobId"
          }
        },
        "required": [
          "session_id",
          "job_id"
        ],
        "title": "JobRef",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "Backend": {
            "enum": [
              "opm_flow",
              "julia"
            ],
            "title": "Backend",
            "type": "string"
          },
          "DockerExecution": {
            "additionalProperties": false,
            "description": "Record container ownership and expected program version before launch.",
            "properties": {
              "image_digest": {
                "$ref": "#/$defs/Text"
              },
              "platform": {
                "$ref": "#/$defs/Text"
              },
              "container_name": {
                "$ref": "#/$defs/Text"
              },
              "ownership_token": {
                "$ref": "#/$defs/Text"
              },
              "program_version": {
                "$ref": "#/$defs/Text"
              },
              "docker_client_version": {
                "$ref": "#/$defs/Text"
              },
              "docker_server_version": {
                "$ref": "#/$defs/Text"
              },
              "command": {
                "items": {
                  "$ref": "#/$defs/Text"
                },
                "title": "Command",
                "type": "array"
              },
              "mounts": {
                "items": {
                  "$ref": "#/$defs/DockerMount"
                },
                "title": "Mounts",
                "type": "array"
              },
              "working_directory": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "image_digest",
              "platform",
              "container_name",
              "ownership_token",
              "program_version",
              "docker_client_version",
              "docker_server_version",
              "command",
              "mounts",
              "working_directory"
            ],
            "title": "DockerExecution",
            "type": "object"
          },
          "DockerMount": {
            "additionalProperties": false,
            "properties": {
              "source": {
                "$ref": "#/$defs/Text"
              },
              "target": {
                "$ref": "#/$defs/Text"
              },
              "read_only": {
                "title": "Read Only",
                "type": "boolean"
              }
            },
            "required": [
              "source",
              "target",
              "read_only"
            ],
            "title": "DockerMount",
            "type": "object"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "Job": {
            "additionalProperties": false,
            "properties": {
              "job_id": {
                "$ref": "#/$defs/JobId"
              },
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "backend": {
                "$ref": "#/$defs/Backend"
              },
              "state": {
                "$ref": "#/$defs/JobState"
              },
              "cancel_requested": {
                "default": false,
                "title": "Cancel Requested",
                "type": "boolean"
              },
              "termination_confirmed": {
                "default": false,
                "title": "Termination Confirmed",
                "type": "boolean"
              },
              "exit_code": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Exit Code"
              },
              "error": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Error"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "submission": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/JobSubmission"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "supervisor": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ProcessIdentity"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "process": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ProcessIdentity"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "process_group_id": {
                "anyOf": [
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Process Group Id"
              },
              "container_id": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Text"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "logs": {
                "default": [],
                "items": {
                  "$ref": "#/$defs/ArtifactRef"
                },
                "title": "Logs",
                "type": "array"
              },
              "events": {
                "default": [],
                "items": {
                  "$ref": "#/$defs/JobEvent"
                },
                "title": "Events",
                "type": "array"
              }
            },
            "required": [
              "job_id",
              "model",
              "backend",
              "state"
            ],
            "title": "Job",
            "type": "object"
          },
          "JobEvent": {
            "additionalProperties": false,
            "properties": {
              "at": {
                "format": "date-time",
                "title": "At",
                "type": "string"
              },
              "state": {
                "$ref": "#/$defs/JobState"
              },
              "message": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "at",
              "state",
              "message"
            ],
            "title": "JobEvent",
            "type": "object"
          },
          "JobId": {
            "title": "JobId",
            "type": "string"
          },
          "JobState": {
            "enum": [
              "queued",
              "running",
              "succeeded",
              "failed",
              "canceled",
              "unknown"
            ],
            "title": "JobState",
            "type": "string"
          },
          "JobSubmission": {
            "additionalProperties": false,
            "properties": {
              "limits": {
                "$ref": "#/$defs/ResourceLimits"
              },
              "resource_policy": {
                "$ref": "#/$defs/ResourcePolicy"
              },
              "argv": {
                "items": {
                  "type": "string"
                },
                "title": "Argv",
                "type": "array"
              },
              "working_directory": {
                "title": "Working Directory",
                "type": "string"
              },
              "submitted_at": {
                "format": "date-time",
                "title": "Submitted At",
                "type": "string"
              },
              "execution": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/DockerExecution"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "run_metadata": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ArtifactRef"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "limits",
              "resource_policy",
              "argv",
              "working_directory",
              "submitted_at"
            ],
            "title": "JobSubmission",
            "type": "object"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "ProcessIdentity": {
            "additionalProperties": false,
            "description": "A PID and a host-derived start marker identify one process lifetime.",
            "properties": {
              "pid": {
                "exclusiveMinimum": 0,
                "title": "Pid",
                "type": "integer"
              },
              "start_marker": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "pid",
              "start_marker"
            ],
            "title": "ProcessIdentity",
            "type": "object"
          },
          "ResourceLimits": {
            "additionalProperties": false,
            "properties": {
              "cpu_count": {
                "exclusiveMinimum": 0,
                "title": "Cpu Count",
                "type": "integer"
              },
              "memory_mib": {
                "exclusiveMinimum": 0,
                "title": "Memory Mib",
                "type": "integer"
              },
              "wall_time_seconds": {
                "exclusiveMinimum": 0,
                "title": "Wall Time Seconds",
                "type": "integer"
              }
            },
            "required": [
              "cpu_count",
              "memory_mib",
              "wall_time_seconds"
            ],
            "title": "ResourceLimits",
            "type": "object"
          },
          "ResourcePolicy": {
            "enum": [
              "enforce",
              "wall_time_only"
            ],
            "title": "ResourcePolicy",
            "type": "string"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_Job_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/Job"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[Job]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_Job_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_Job_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[Job]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "job_cancel",
      "title": null,
      "description": "Record cancellation intent without claiming confirmed termination.",
      "inputSchema": {
        "$defs": {
          "JobId": {
            "title": "JobId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "session_id": {
            "$ref": "#/$defs/SessionId"
          },
          "job_id": {
            "$ref": "#/$defs/JobId"
          }
        },
        "required": [
          "session_id",
          "job_id"
        ],
        "title": "JobRef",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "Backend": {
            "enum": [
              "opm_flow",
              "julia"
            ],
            "title": "Backend",
            "type": "string"
          },
          "DockerExecution": {
            "additionalProperties": false,
            "description": "Record container ownership and expected program version before launch.",
            "properties": {
              "image_digest": {
                "$ref": "#/$defs/Text"
              },
              "platform": {
                "$ref": "#/$defs/Text"
              },
              "container_name": {
                "$ref": "#/$defs/Text"
              },
              "ownership_token": {
                "$ref": "#/$defs/Text"
              },
              "program_version": {
                "$ref": "#/$defs/Text"
              },
              "docker_client_version": {
                "$ref": "#/$defs/Text"
              },
              "docker_server_version": {
                "$ref": "#/$defs/Text"
              },
              "command": {
                "items": {
                  "$ref": "#/$defs/Text"
                },
                "title": "Command",
                "type": "array"
              },
              "mounts": {
                "items": {
                  "$ref": "#/$defs/DockerMount"
                },
                "title": "Mounts",
                "type": "array"
              },
              "working_directory": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "image_digest",
              "platform",
              "container_name",
              "ownership_token",
              "program_version",
              "docker_client_version",
              "docker_server_version",
              "command",
              "mounts",
              "working_directory"
            ],
            "title": "DockerExecution",
            "type": "object"
          },
          "DockerMount": {
            "additionalProperties": false,
            "properties": {
              "source": {
                "$ref": "#/$defs/Text"
              },
              "target": {
                "$ref": "#/$defs/Text"
              },
              "read_only": {
                "title": "Read Only",
                "type": "boolean"
              }
            },
            "required": [
              "source",
              "target",
              "read_only"
            ],
            "title": "DockerMount",
            "type": "object"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "Job": {
            "additionalProperties": false,
            "properties": {
              "job_id": {
                "$ref": "#/$defs/JobId"
              },
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "backend": {
                "$ref": "#/$defs/Backend"
              },
              "state": {
                "$ref": "#/$defs/JobState"
              },
              "cancel_requested": {
                "default": false,
                "title": "Cancel Requested",
                "type": "boolean"
              },
              "termination_confirmed": {
                "default": false,
                "title": "Termination Confirmed",
                "type": "boolean"
              },
              "exit_code": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Exit Code"
              },
              "error": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Error"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "submission": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/JobSubmission"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "supervisor": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ProcessIdentity"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "process": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ProcessIdentity"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "process_group_id": {
                "anyOf": [
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Process Group Id"
              },
              "container_id": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Text"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "logs": {
                "default": [],
                "items": {
                  "$ref": "#/$defs/ArtifactRef"
                },
                "title": "Logs",
                "type": "array"
              },
              "events": {
                "default": [],
                "items": {
                  "$ref": "#/$defs/JobEvent"
                },
                "title": "Events",
                "type": "array"
              }
            },
            "required": [
              "job_id",
              "model",
              "backend",
              "state"
            ],
            "title": "Job",
            "type": "object"
          },
          "JobEvent": {
            "additionalProperties": false,
            "properties": {
              "at": {
                "format": "date-time",
                "title": "At",
                "type": "string"
              },
              "state": {
                "$ref": "#/$defs/JobState"
              },
              "message": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "at",
              "state",
              "message"
            ],
            "title": "JobEvent",
            "type": "object"
          },
          "JobId": {
            "title": "JobId",
            "type": "string"
          },
          "JobState": {
            "enum": [
              "queued",
              "running",
              "succeeded",
              "failed",
              "canceled",
              "unknown"
            ],
            "title": "JobState",
            "type": "string"
          },
          "JobSubmission": {
            "additionalProperties": false,
            "properties": {
              "limits": {
                "$ref": "#/$defs/ResourceLimits"
              },
              "resource_policy": {
                "$ref": "#/$defs/ResourcePolicy"
              },
              "argv": {
                "items": {
                  "type": "string"
                },
                "title": "Argv",
                "type": "array"
              },
              "working_directory": {
                "title": "Working Directory",
                "type": "string"
              },
              "submitted_at": {
                "format": "date-time",
                "title": "Submitted At",
                "type": "string"
              },
              "execution": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/DockerExecution"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "run_metadata": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ArtifactRef"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "limits",
              "resource_policy",
              "argv",
              "working_directory",
              "submitted_at"
            ],
            "title": "JobSubmission",
            "type": "object"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "ProcessIdentity": {
            "additionalProperties": false,
            "description": "A PID and a host-derived start marker identify one process lifetime.",
            "properties": {
              "pid": {
                "exclusiveMinimum": 0,
                "title": "Pid",
                "type": "integer"
              },
              "start_marker": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "pid",
              "start_marker"
            ],
            "title": "ProcessIdentity",
            "type": "object"
          },
          "ResourceLimits": {
            "additionalProperties": false,
            "properties": {
              "cpu_count": {
                "exclusiveMinimum": 0,
                "title": "Cpu Count",
                "type": "integer"
              },
              "memory_mib": {
                "exclusiveMinimum": 0,
                "title": "Memory Mib",
                "type": "integer"
              },
              "wall_time_seconds": {
                "exclusiveMinimum": 0,
                "title": "Wall Time Seconds",
                "type": "integer"
              }
            },
            "required": [
              "cpu_count",
              "memory_mib",
              "wall_time_seconds"
            ],
            "title": "ResourceLimits",
            "type": "object"
          },
          "ResourcePolicy": {
            "enum": [
              "enforce",
              "wall_time_only"
            ],
            "title": "ResourcePolicy",
            "type": "string"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_Job_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/Job"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[Job]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_Job_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_Job_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[Job]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "model_import",
      "title": null,
      "description": "Import supported FIELD inputs from an explicit local directory.",
      "inputSchema": {
        "$defs": {
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "description": "Import files below one trusted local directory without editing them.",
        "properties": {
          "session_id": {
            "$ref": "#/$defs/SessionId"
          },
          "source_root": {
            "format": "path",
            "title": "Source Root",
            "type": "string"
          },
          "entrypoint": {
            "title": "Entrypoint",
            "type": "string"
          },
          "datum": {
            "title": "Datum",
            "type": "string"
          }
        },
        "required": [
          "session_id",
          "source_root",
          "entrypoint",
          "datum"
        ],
        "title": "ImportRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "Backend": {
            "enum": [
              "opm_flow",
              "julia"
            ],
            "title": "Backend",
            "type": "string"
          },
          "CoordinateFrame": {
            "additionalProperties": false,
            "description": "Coordinates use a named local datum and an explicit Z direction.",
            "properties": {
              "length_unit": {
                "$ref": "#/$defs/Unit"
              },
              "depth_direction": {
                "$ref": "#/$defs/DepthDirection"
              },
              "datum": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "length_unit",
              "depth_direction",
              "datum"
            ],
            "title": "CoordinateFrame",
            "type": "object"
          },
          "DepthDirection": {
            "enum": [
              "positive_up",
              "positive_down"
            ],
            "title": "DepthDirection",
            "type": "string"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "ImportReceipt": {
            "additionalProperties": false,
            "properties": {
              "prepared": {
                "$ref": "#/$defs/PreparedModel"
              },
              "record": {
                "$ref": "#/$defs/ArtifactRef"
              },
              "summary": {
                "$ref": "#/$defs/ModelSummary"
              }
            },
            "required": [
              "prepared",
              "record",
              "summary"
            ],
            "title": "ImportReceipt",
            "type": "object"
          },
          "ModelInputs": {
            "additionalProperties": false,
            "properties": {
              "artifacts": {
                "items": {
                  "$ref": "#/$defs/ArtifactId"
                },
                "minItems": 1,
                "title": "Artifacts",
                "type": "array"
              },
              "entrypoint": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "artifacts",
              "entrypoint"
            ],
            "title": "ModelInputs",
            "type": "object"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "ModelRevision": {
            "additionalProperties": false,
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "inputs": {
                "$ref": "#/$defs/ModelInputs"
              },
              "unit_system": {
                "$ref": "#/$defs/UnitSystem"
              },
              "coordinates": {
                "$ref": "#/$defs/CoordinateFrame"
              },
              "parent": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ModelRef"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "model",
              "inputs",
              "unit_system",
              "coordinates"
            ],
            "title": "ModelRevision",
            "type": "object"
          },
          "ModelSummary": {
            "additionalProperties": false,
            "properties": {
              "parser_version": {
                "const": "2025.10",
                "default": "2025.10",
                "title": "Parser Version",
                "type": "string"
              },
              "support_profile": {
                "default": "spe1-field-v1",
                "enum": [
                  "spe1-field-v1",
                  "spe1-field-v2"
                ],
                "title": "Support Profile",
                "type": "string"
              },
              "unit_system": {
                "const": "FIELD",
                "default": "FIELD",
                "title": "Unit System",
                "type": "string"
              },
              "dimensions": {
                "maxItems": 3,
                "minItems": 3,
                "prefixItems": [
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  }
                ],
                "title": "Dimensions",
                "type": "array"
              },
              "active_cells": {
                "exclusiveMinimum": 0,
                "title": "Active Cells",
                "type": "integer"
              },
              "wells": {
                "items": {
                  "type": "string"
                },
                "title": "Wells",
                "type": "array"
              },
              "report_steps": {
                "exclusiveMinimum": 0,
                "title": "Report Steps",
                "type": "integer"
              },
              "elapsed_days": {
                "title": "Elapsed Days",
                "type": "number"
              },
              "keywords": {
                "items": {
                  "type": "string"
                },
                "title": "Keywords",
                "type": "array"
              }
            },
            "required": [
              "dimensions",
              "active_cells",
              "wells",
              "report_steps",
              "elapsed_days",
              "keywords"
            ],
            "title": "ModelSummary",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "PreparedModel": {
            "additionalProperties": false,
            "description": "Preparation verifies this fixed revision without editing its inputs.",
            "properties": {
              "revision": {
                "$ref": "#/$defs/ModelRevision"
              },
              "backend": {
                "$ref": "#/$defs/Backend"
              }
            },
            "required": [
              "revision",
              "backend"
            ],
            "title": "PreparedModel",
            "type": "object"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_ImportReceipt_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/ImportReceipt"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[ImportReceipt]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "Unit": {
            "enum": [
              "m",
              "ft",
              "Pa",
              "bar",
              "psi",
              "s",
              "day",
              "1",
              "stb/day"
            ],
            "title": "Unit",
            "type": "string"
          },
          "UnitSystem": {
            "enum": [
              "FIELD",
              "METRIC",
              "SI"
            ],
            "title": "UnitSystem",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_ImportReceipt_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_ImportReceipt_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[ImportReceipt]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "model_get",
      "title": null,
      "description": "Read a fixed model revision and its input artifact identities.",
      "inputSchema": {
        "$defs": {
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "session_id": {
            "$ref": "#/$defs/SessionId"
          },
          "revision_id": {
            "$ref": "#/$defs/RevisionId"
          }
        },
        "required": [
          "session_id",
          "revision_id"
        ],
        "title": "ModelRef",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "CoordinateFrame": {
            "additionalProperties": false,
            "description": "Coordinates use a named local datum and an explicit Z direction.",
            "properties": {
              "length_unit": {
                "$ref": "#/$defs/Unit"
              },
              "depth_direction": {
                "$ref": "#/$defs/DepthDirection"
              },
              "datum": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "length_unit",
              "depth_direction",
              "datum"
            ],
            "title": "CoordinateFrame",
            "type": "object"
          },
          "DepthDirection": {
            "enum": [
              "positive_up",
              "positive_down"
            ],
            "title": "DepthDirection",
            "type": "string"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "ModelInputs": {
            "additionalProperties": false,
            "properties": {
              "artifacts": {
                "items": {
                  "$ref": "#/$defs/ArtifactId"
                },
                "minItems": 1,
                "title": "Artifacts",
                "type": "array"
              },
              "entrypoint": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "artifacts",
              "entrypoint"
            ],
            "title": "ModelInputs",
            "type": "object"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "ModelRevision": {
            "additionalProperties": false,
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "inputs": {
                "$ref": "#/$defs/ModelInputs"
              },
              "unit_system": {
                "$ref": "#/$defs/UnitSystem"
              },
              "coordinates": {
                "$ref": "#/$defs/CoordinateFrame"
              },
              "parent": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ModelRef"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "model",
              "inputs",
              "unit_system",
              "coordinates"
            ],
            "title": "ModelRevision",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_ModelRevision_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/ModelRevision"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[ModelRevision]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "Unit": {
            "enum": [
              "m",
              "ft",
              "Pa",
              "bar",
              "psi",
              "s",
              "day",
              "1",
              "stb/day"
            ],
            "title": "Unit",
            "type": "string"
          },
          "UnitSystem": {
            "enum": [
              "FIELD",
              "METRIC",
              "SI"
            ],
            "title": "UnitSystem",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_ModelRevision_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_ModelRevision_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[ModelRevision]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "model_inspect",
      "title": null,
      "description": "Validate FIELD inputs and return geometry, properties, and report times.",
      "inputSchema": {
        "$defs": {
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "session_id": {
            "$ref": "#/$defs/SessionId"
          },
          "revision_id": {
            "$ref": "#/$defs/RevisionId"
          }
        },
        "required": [
          "session_id",
          "revision_id"
        ],
        "title": "ModelRef",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "CellIndex": {
            "additionalProperties": false,
            "description": "I, J, and K are zero-based structured-grid indices.",
            "properties": {
              "i": {
                "minimum": 0,
                "title": "I",
                "type": "integer"
              },
              "j": {
                "minimum": 0,
                "title": "J",
                "type": "integer"
              },
              "k": {
                "minimum": 0,
                "title": "K",
                "type": "integer"
              }
            },
            "required": [
              "i",
              "j",
              "k"
            ],
            "title": "CellIndex",
            "type": "object"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "FieldCellProperties": {
            "additionalProperties": false,
            "description": "Expanded properties use global cell order, with I changing fastest.",
            "properties": {
              "dx_ft": {
                "items": {
                  "exclusiveMinimum": 0,
                  "type": "number"
                },
                "title": "Dx Ft",
                "type": "array"
              },
              "dy_ft": {
                "items": {
                  "exclusiveMinimum": 0,
                  "type": "number"
                },
                "title": "Dy Ft",
                "type": "array"
              },
              "dz_ft": {
                "items": {
                  "exclusiveMinimum": 0,
                  "type": "number"
                },
                "title": "Dz Ft",
                "type": "array"
              },
              "porosity": {
                "items": {
                  "exclusiveMaximum": 1,
                  "exclusiveMinimum": 0,
                  "type": "number"
                },
                "title": "Porosity",
                "type": "array"
              },
              "permx_millidarcy": {
                "items": {
                  "exclusiveMinimum": 0,
                  "type": "number"
                },
                "title": "Permx Millidarcy",
                "type": "array"
              },
              "permy_millidarcy": {
                "items": {
                  "exclusiveMinimum": 0,
                  "type": "number"
                },
                "title": "Permy Millidarcy",
                "type": "array"
              },
              "permz_millidarcy": {
                "items": {
                  "exclusiveMinimum": 0,
                  "type": "number"
                },
                "title": "Permz Millidarcy",
                "type": "array"
              }
            },
            "required": [
              "dx_ft",
              "dy_ft",
              "dz_ft",
              "porosity",
              "permx_millidarcy",
              "permy_millidarcy",
              "permz_millidarcy"
            ],
            "title": "FieldCellProperties",
            "type": "object"
          },
          "ModelInspection": {
            "additionalProperties": false,
            "description": "Parser-derived values describe the fixed revision in explicit FIELD units.",
            "properties": {
              "summary": {
                "$ref": "#/$defs/ModelSummary"
              },
              "active_cells": {
                "items": {
                  "$ref": "#/$defs/CellIndex"
                },
                "title": "Active Cells",
                "type": "array"
              },
              "cell_depths_ft": {
                "items": {
                  "type": "number"
                },
                "title": "Cell Depths Ft",
                "type": "array"
              },
              "cell_volumes_ft3": {
                "items": {
                  "exclusiveMinimum": 0,
                  "type": "number"
                },
                "title": "Cell Volumes Ft3",
                "type": "array"
              },
              "properties": {
                "$ref": "#/$defs/FieldCellProperties"
              },
              "report_elapsed_days": {
                "items": {
                  "minimum": 0,
                  "type": "number"
                },
                "title": "Report Elapsed Days",
                "type": "array"
              }
            },
            "required": [
              "summary",
              "active_cells",
              "cell_depths_ft",
              "cell_volumes_ft3",
              "properties",
              "report_elapsed_days"
            ],
            "title": "ModelInspection",
            "type": "object"
          },
          "ModelSummary": {
            "additionalProperties": false,
            "properties": {
              "parser_version": {
                "const": "2025.10",
                "default": "2025.10",
                "title": "Parser Version",
                "type": "string"
              },
              "support_profile": {
                "default": "spe1-field-v1",
                "enum": [
                  "spe1-field-v1",
                  "spe1-field-v2"
                ],
                "title": "Support Profile",
                "type": "string"
              },
              "unit_system": {
                "const": "FIELD",
                "default": "FIELD",
                "title": "Unit System",
                "type": "string"
              },
              "dimensions": {
                "maxItems": 3,
                "minItems": 3,
                "prefixItems": [
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  }
                ],
                "title": "Dimensions",
                "type": "array"
              },
              "active_cells": {
                "exclusiveMinimum": 0,
                "title": "Active Cells",
                "type": "integer"
              },
              "wells": {
                "items": {
                  "type": "string"
                },
                "title": "Wells",
                "type": "array"
              },
              "report_steps": {
                "exclusiveMinimum": 0,
                "title": "Report Steps",
                "type": "integer"
              },
              "elapsed_days": {
                "title": "Elapsed Days",
                "type": "number"
              },
              "keywords": {
                "items": {
                  "type": "string"
                },
                "title": "Keywords",
                "type": "array"
              }
            },
            "required": [
              "dimensions",
              "active_cells",
              "wells",
              "report_steps",
              "elapsed_days",
              "keywords"
            ],
            "title": "ModelSummary",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "Success_ModelInspection_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/ModelInspection"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[ModelInspection]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_ModelInspection_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_ModelInspection_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[ModelInspection]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "model_prepare",
      "title": null,
      "description": "Validate an exact stored revision for the requested simulator backend.",
      "inputSchema": {
        "$defs": {
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "Backend": {
            "enum": [
              "opm_flow",
              "julia"
            ],
            "title": "Backend",
            "type": "string"
          },
          "CoordinateFrame": {
            "additionalProperties": false,
            "description": "Coordinates use a named local datum and an explicit Z direction.",
            "properties": {
              "length_unit": {
                "$ref": "#/$defs/Unit"
              },
              "depth_direction": {
                "$ref": "#/$defs/DepthDirection"
              },
              "datum": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "length_unit",
              "depth_direction",
              "datum"
            ],
            "title": "CoordinateFrame",
            "type": "object"
          },
          "DepthDirection": {
            "enum": [
              "positive_up",
              "positive_down"
            ],
            "title": "DepthDirection",
            "type": "string"
          },
          "ModelInputs": {
            "additionalProperties": false,
            "properties": {
              "artifacts": {
                "items": {
                  "$ref": "#/$defs/ArtifactId"
                },
                "minItems": 1,
                "title": "Artifacts",
                "type": "array"
              },
              "entrypoint": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "artifacts",
              "entrypoint"
            ],
            "title": "ModelInputs",
            "type": "object"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "ModelRevision": {
            "additionalProperties": false,
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "inputs": {
                "$ref": "#/$defs/ModelInputs"
              },
              "unit_system": {
                "$ref": "#/$defs/UnitSystem"
              },
              "coordinates": {
                "$ref": "#/$defs/CoordinateFrame"
              },
              "parent": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ModelRef"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "model",
              "inputs",
              "unit_system",
              "coordinates"
            ],
            "title": "ModelRevision",
            "type": "object"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "Unit": {
            "enum": [
              "m",
              "ft",
              "Pa",
              "bar",
              "psi",
              "s",
              "day",
              "1",
              "stb/day"
            ],
            "title": "Unit",
            "type": "string"
          },
          "UnitSystem": {
            "enum": [
              "FIELD",
              "METRIC",
              "SI"
            ],
            "title": "UnitSystem",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "revision": {
            "$ref": "#/$defs/ModelRevision"
          },
          "backend": {
            "$ref": "#/$defs/Backend"
          }
        },
        "required": [
          "revision",
          "backend"
        ],
        "title": "PreparationRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "Backend": {
            "enum": [
              "opm_flow",
              "julia"
            ],
            "title": "Backend",
            "type": "string"
          },
          "CoordinateFrame": {
            "additionalProperties": false,
            "description": "Coordinates use a named local datum and an explicit Z direction.",
            "properties": {
              "length_unit": {
                "$ref": "#/$defs/Unit"
              },
              "depth_direction": {
                "$ref": "#/$defs/DepthDirection"
              },
              "datum": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "length_unit",
              "depth_direction",
              "datum"
            ],
            "title": "CoordinateFrame",
            "type": "object"
          },
          "DepthDirection": {
            "enum": [
              "positive_up",
              "positive_down"
            ],
            "title": "DepthDirection",
            "type": "string"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "ModelInputs": {
            "additionalProperties": false,
            "properties": {
              "artifacts": {
                "items": {
                  "$ref": "#/$defs/ArtifactId"
                },
                "minItems": 1,
                "title": "Artifacts",
                "type": "array"
              },
              "entrypoint": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "artifacts",
              "entrypoint"
            ],
            "title": "ModelInputs",
            "type": "object"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "ModelRevision": {
            "additionalProperties": false,
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "inputs": {
                "$ref": "#/$defs/ModelInputs"
              },
              "unit_system": {
                "$ref": "#/$defs/UnitSystem"
              },
              "coordinates": {
                "$ref": "#/$defs/CoordinateFrame"
              },
              "parent": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ModelRef"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "model",
              "inputs",
              "unit_system",
              "coordinates"
            ],
            "title": "ModelRevision",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "PreparedModel": {
            "additionalProperties": false,
            "description": "Preparation verifies this fixed revision without editing its inputs.",
            "properties": {
              "revision": {
                "$ref": "#/$defs/ModelRevision"
              },
              "backend": {
                "$ref": "#/$defs/Backend"
              }
            },
            "required": [
              "revision",
              "backend"
            ],
            "title": "PreparedModel",
            "type": "object"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_PreparedModel_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/PreparedModel"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[PreparedModel]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "Unit": {
            "enum": [
              "m",
              "ft",
              "Pa",
              "bar",
              "psi",
              "s",
              "day",
              "1",
              "stb/day"
            ],
            "title": "Unit",
            "type": "string"
          },
          "UnitSystem": {
            "enum": [
              "FIELD",
              "METRIC",
              "SI"
            ],
            "title": "UnitSystem",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_PreparedModel_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_PreparedModel_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[PreparedModel]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "model_clone",
      "title": null,
      "description": "Create a child revision that retains every input from its exact parent.",
      "inputSchema": {
        "$defs": {
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "source": {
            "$ref": "#/$defs/ModelRef"
          },
          "revision_id": {
            "$ref": "#/$defs/RevisionId"
          }
        },
        "required": [
          "source",
          "revision_id"
        ],
        "title": "CloneModelRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "CoordinateFrame": {
            "additionalProperties": false,
            "description": "Coordinates use a named local datum and an explicit Z direction.",
            "properties": {
              "length_unit": {
                "$ref": "#/$defs/Unit"
              },
              "depth_direction": {
                "$ref": "#/$defs/DepthDirection"
              },
              "datum": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "length_unit",
              "depth_direction",
              "datum"
            ],
            "title": "CoordinateFrame",
            "type": "object"
          },
          "DepthDirection": {
            "enum": [
              "positive_up",
              "positive_down"
            ],
            "title": "DepthDirection",
            "type": "string"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "ModelInputs": {
            "additionalProperties": false,
            "properties": {
              "artifacts": {
                "items": {
                  "$ref": "#/$defs/ArtifactId"
                },
                "minItems": 1,
                "title": "Artifacts",
                "type": "array"
              },
              "entrypoint": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "artifacts",
              "entrypoint"
            ],
            "title": "ModelInputs",
            "type": "object"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "ModelRevision": {
            "additionalProperties": false,
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "inputs": {
                "$ref": "#/$defs/ModelInputs"
              },
              "unit_system": {
                "$ref": "#/$defs/UnitSystem"
              },
              "coordinates": {
                "$ref": "#/$defs/CoordinateFrame"
              },
              "parent": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ModelRef"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "model",
              "inputs",
              "unit_system",
              "coordinates"
            ],
            "title": "ModelRevision",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_ModelRevision_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/ModelRevision"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[ModelRevision]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "Unit": {
            "enum": [
              "m",
              "ft",
              "Pa",
              "bar",
              "psi",
              "s",
              "day",
              "1",
              "stb/day"
            ],
            "title": "Unit",
            "type": "string"
          },
          "UnitSystem": {
            "enum": [
              "FIELD",
              "METRIC",
              "SI"
            ],
            "title": "UnitSystem",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_ModelRevision_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_ModelRevision_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[ModelRevision]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "model_template",
      "title": null,
      "description": "Read the tested layered FIELD specification before requesting model creation.",
      "inputSchema": {
        "additionalProperties": false,
        "description": "This operation takes no arguments.",
        "properties": {},
        "title": "EmptyRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "CellIndex": {
            "additionalProperties": false,
            "description": "I, J, and K are zero-based structured-grid indices.",
            "properties": {
              "i": {
                "minimum": 0,
                "title": "I",
                "type": "integer"
              },
              "j": {
                "minimum": 0,
                "title": "J",
                "type": "integer"
              },
              "k": {
                "minimum": 0,
                "title": "K",
                "type": "integer"
              }
            },
            "required": [
              "i",
              "j",
              "k"
            ],
            "title": "CellIndex",
            "type": "object"
          },
          "Equilibrium": {
            "additionalProperties": false,
            "description": "Contacts use feet and positive-down depth in the caller's datum.",
            "properties": {
              "reference_depth_ft": {
                "title": "Reference Depth Ft",
                "type": "number"
              },
              "reference_pressure_psia": {
                "exclusiveMinimum": 0,
                "title": "Reference Pressure Psia",
                "type": "number"
              },
              "water_oil_contact_depth_ft": {
                "title": "Water Oil Contact Depth Ft",
                "type": "number"
              },
              "gas_oil_contact_depth_ft": {
                "title": "Gas Oil Contact Depth Ft",
                "type": "number"
              },
              "dissolved_gas_ratio_mscf_stb": {
                "exclusiveMinimum": 0,
                "title": "Dissolved Gas Ratio Mscf Stb",
                "type": "number"
              }
            },
            "required": [
              "reference_depth_ft",
              "reference_pressure_psia",
              "water_oil_contact_depth_ft",
              "gas_oil_contact_depth_ft",
              "dissolved_gas_ratio_mscf_stb"
            ],
            "title": "Equilibrium",
            "type": "object"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "FieldSurfaceRate": {
            "additionalProperties": false,
            "description": "A volume rate at surface conditions in FIELD units.",
            "properties": {
              "value": {
                "minimum": 0,
                "title": "Value",
                "type": "number"
              },
              "unit": {
                "enum": [
                  "stb/day",
                  "Mscf/day"
                ],
                "title": "Unit",
                "type": "string"
              }
            },
            "required": [
              "value",
              "unit"
            ],
            "title": "FieldSurfaceRate",
            "type": "object"
          },
          "InjectorControl": {
            "additionalProperties": false,
            "properties": {
              "kind": {
                "const": "injector",
                "default": "injector",
                "title": "Kind",
                "type": "string"
              },
              "status": {
                "$ref": "#/$defs/WellStatus"
              },
              "phase": {
                "enum": [
                  "WATER",
                  "GAS"
                ],
                "title": "Phase",
                "type": "string"
              },
              "mode": {
                "enum": [
                  "RATE",
                  "BHP"
                ],
                "title": "Mode",
                "type": "string"
              },
              "surface_rate": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/FieldSurfaceRate"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "bhp_psia": {
                "exclusiveMinimum": 0,
                "title": "Bhp Psia",
                "type": "number"
              }
            },
            "required": [
              "status",
              "phase",
              "mode",
              "bhp_psia"
            ],
            "title": "InjectorControl",
            "type": "object"
          },
          "Layer": {
            "additionalProperties": false,
            "properties": {
              "thickness_ft": {
                "exclusiveMinimum": 0,
                "title": "Thickness Ft",
                "type": "number"
              },
              "porosity": {
                "exclusiveMaximum": 1,
                "exclusiveMinimum": 0,
                "title": "Porosity",
                "type": "number"
              },
              "permeability_x_md": {
                "exclusiveMinimum": 0,
                "title": "Permeability X Md",
                "type": "number"
              },
              "permeability_y_md": {
                "exclusiveMinimum": 0,
                "title": "Permeability Y Md",
                "type": "number"
              },
              "permeability_z_md": {
                "exclusiveMinimum": 0,
                "title": "Permeability Z Md",
                "type": "number"
              }
            },
            "required": [
              "thickness_ft",
              "porosity",
              "permeability_x_md",
              "permeability_y_md",
              "permeability_z_md"
            ],
            "title": "Layer",
            "type": "object"
          },
          "LayeredGrid": {
            "additionalProperties": false,
            "description": "Each horizontal layer has uniform rock properties and thickness.",
            "properties": {
              "nx": {
                "exclusiveMinimum": 0,
                "title": "Nx",
                "type": "integer"
              },
              "ny": {
                "exclusiveMinimum": 0,
                "title": "Ny",
                "type": "integer"
              },
              "dx_ft": {
                "exclusiveMinimum": 0,
                "title": "Dx Ft",
                "type": "number"
              },
              "dy_ft": {
                "exclusiveMinimum": 0,
                "title": "Dy Ft",
                "type": "number"
              },
              "top_depth_ft": {
                "title": "Top Depth Ft",
                "type": "number"
              },
              "layers": {
                "items": {
                  "$ref": "#/$defs/Layer"
                },
                "maxItems": 10000,
                "minItems": 1,
                "title": "Layers",
                "type": "array"
              }
            },
            "required": [
              "nx",
              "ny",
              "dx_ft",
              "dy_ft",
              "top_depth_ft",
              "layers"
            ],
            "title": "LayeredGrid",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "ProducerControl": {
            "additionalProperties": false,
            "properties": {
              "kind": {
                "const": "producer",
                "default": "producer",
                "title": "Kind",
                "type": "string"
              },
              "status": {
                "$ref": "#/$defs/WellStatus"
              },
              "mode": {
                "enum": [
                  "ORAT",
                  "BHP"
                ],
                "title": "Mode",
                "type": "string"
              },
              "oil_rate": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/FieldSurfaceRate"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "bhp_psia": {
                "exclusiveMinimum": 0,
                "title": "Bhp Psia",
                "type": "number"
              }
            },
            "required": [
              "status",
              "mode",
              "bhp_psia"
            ],
            "title": "ProducerControl",
            "type": "object"
          },
          "Success_SyntheticModelSpec_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/SyntheticModelSpec"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[SyntheticModelSpec]",
            "type": "object"
          },
          "SyntheticModelSpec": {
            "additionalProperties": false,
            "properties": {
              "template_version": {
                "const": "spe1-field-synthetic-v1",
                "default": "spe1-field-synthetic-v1",
                "title": "Template Version",
                "type": "string"
              },
              "unit_system": {
                "const": "FIELD",
                "default": "FIELD",
                "title": "Unit System",
                "type": "string"
              },
              "grid": {
                "$ref": "#/$defs/LayeredGrid"
              },
              "initial": {
                "$ref": "#/$defs/Equilibrium"
              },
              "wells": {
                "maxItems": 2,
                "minItems": 2,
                "prefixItems": [
                  {
                    "$ref": "#/$defs/SyntheticWell"
                  },
                  {
                    "$ref": "#/$defs/SyntheticWell"
                  }
                ],
                "title": "Wells",
                "type": "array"
              },
              "start_date": {
                "format": "date",
                "title": "Start Date",
                "type": "string"
              },
              "report_intervals_days": {
                "items": {
                  "exclusiveMinimum": 0,
                  "type": "number"
                },
                "maxItems": 256,
                "minItems": 1,
                "title": "Report Intervals Days",
                "type": "array"
              }
            },
            "required": [
              "grid",
              "initial",
              "wells",
              "start_date",
              "report_intervals_days"
            ],
            "title": "SyntheticModelSpec",
            "type": "object"
          },
          "SyntheticWell": {
            "additionalProperties": false,
            "properties": {
              "name": {
                "$ref": "#/$defs/WellName"
              },
              "cell": {
                "$ref": "#/$defs/CellIndex"
              },
              "diameter_ft": {
                "exclusiveMinimum": 0,
                "title": "Diameter Ft",
                "type": "number"
              },
              "reference_depth_ft": {
                "title": "Reference Depth Ft",
                "type": "number"
              },
              "control": {
                "$ref": "#/$defs/WellControl"
              }
            },
            "required": [
              "name",
              "cell",
              "diameter_ft",
              "reference_depth_ft",
              "control"
            ],
            "title": "SyntheticWell",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "WellControl": {
            "discriminator": {
              "mapping": {
                "injector": "#/$defs/InjectorControl",
                "producer": "#/$defs/ProducerControl"
              },
              "propertyName": "kind"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/ProducerControl"
              },
              {
                "$ref": "#/$defs/InjectorControl"
              }
            ]
          },
          "WellName": {
            "maxLength": 8,
            "minLength": 1,
            "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
            "type": "string"
          },
          "WellStatus": {
            "enum": [
              "OPEN",
              "SHUT"
            ],
            "title": "WellStatus",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_SyntheticModelSpec_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_SyntheticModelSpec_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[SyntheticModelSpec]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "model_create",
      "title": null,
      "description": "Create a constrained layered FIELD model with explicit wells and controls.",
      "inputSchema": {
        "$defs": {
          "CellIndex": {
            "additionalProperties": false,
            "description": "I, J, and K are zero-based structured-grid indices.",
            "properties": {
              "i": {
                "minimum": 0,
                "title": "I",
                "type": "integer"
              },
              "j": {
                "minimum": 0,
                "title": "J",
                "type": "integer"
              },
              "k": {
                "minimum": 0,
                "title": "K",
                "type": "integer"
              }
            },
            "required": [
              "i",
              "j",
              "k"
            ],
            "title": "CellIndex",
            "type": "object"
          },
          "Equilibrium": {
            "additionalProperties": false,
            "description": "Contacts use feet and positive-down depth in the caller's datum.",
            "properties": {
              "reference_depth_ft": {
                "title": "Reference Depth Ft",
                "type": "number"
              },
              "reference_pressure_psia": {
                "exclusiveMinimum": 0,
                "title": "Reference Pressure Psia",
                "type": "number"
              },
              "water_oil_contact_depth_ft": {
                "title": "Water Oil Contact Depth Ft",
                "type": "number"
              },
              "gas_oil_contact_depth_ft": {
                "title": "Gas Oil Contact Depth Ft",
                "type": "number"
              },
              "dissolved_gas_ratio_mscf_stb": {
                "exclusiveMinimum": 0,
                "title": "Dissolved Gas Ratio Mscf Stb",
                "type": "number"
              }
            },
            "required": [
              "reference_depth_ft",
              "reference_pressure_psia",
              "water_oil_contact_depth_ft",
              "gas_oil_contact_depth_ft",
              "dissolved_gas_ratio_mscf_stb"
            ],
            "title": "Equilibrium",
            "type": "object"
          },
          "FieldSurfaceRate": {
            "additionalProperties": false,
            "description": "A volume rate at surface conditions in FIELD units.",
            "properties": {
              "value": {
                "minimum": 0,
                "title": "Value",
                "type": "number"
              },
              "unit": {
                "enum": [
                  "stb/day",
                  "Mscf/day"
                ],
                "title": "Unit",
                "type": "string"
              }
            },
            "required": [
              "value",
              "unit"
            ],
            "title": "FieldSurfaceRate",
            "type": "object"
          },
          "InjectorControl": {
            "additionalProperties": false,
            "properties": {
              "kind": {
                "const": "injector",
                "default": "injector",
                "title": "Kind",
                "type": "string"
              },
              "status": {
                "$ref": "#/$defs/WellStatus"
              },
              "phase": {
                "enum": [
                  "WATER",
                  "GAS"
                ],
                "title": "Phase",
                "type": "string"
              },
              "mode": {
                "enum": [
                  "RATE",
                  "BHP"
                ],
                "title": "Mode",
                "type": "string"
              },
              "surface_rate": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/FieldSurfaceRate"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "bhp_psia": {
                "exclusiveMinimum": 0,
                "title": "Bhp Psia",
                "type": "number"
              }
            },
            "required": [
              "status",
              "phase",
              "mode",
              "bhp_psia"
            ],
            "title": "InjectorControl",
            "type": "object"
          },
          "Layer": {
            "additionalProperties": false,
            "properties": {
              "thickness_ft": {
                "exclusiveMinimum": 0,
                "title": "Thickness Ft",
                "type": "number"
              },
              "porosity": {
                "exclusiveMaximum": 1,
                "exclusiveMinimum": 0,
                "title": "Porosity",
                "type": "number"
              },
              "permeability_x_md": {
                "exclusiveMinimum": 0,
                "title": "Permeability X Md",
                "type": "number"
              },
              "permeability_y_md": {
                "exclusiveMinimum": 0,
                "title": "Permeability Y Md",
                "type": "number"
              },
              "permeability_z_md": {
                "exclusiveMinimum": 0,
                "title": "Permeability Z Md",
                "type": "number"
              }
            },
            "required": [
              "thickness_ft",
              "porosity",
              "permeability_x_md",
              "permeability_y_md",
              "permeability_z_md"
            ],
            "title": "Layer",
            "type": "object"
          },
          "LayeredGrid": {
            "additionalProperties": false,
            "description": "Each horizontal layer has uniform rock properties and thickness.",
            "properties": {
              "nx": {
                "exclusiveMinimum": 0,
                "title": "Nx",
                "type": "integer"
              },
              "ny": {
                "exclusiveMinimum": 0,
                "title": "Ny",
                "type": "integer"
              },
              "dx_ft": {
                "exclusiveMinimum": 0,
                "title": "Dx Ft",
                "type": "number"
              },
              "dy_ft": {
                "exclusiveMinimum": 0,
                "title": "Dy Ft",
                "type": "number"
              },
              "top_depth_ft": {
                "title": "Top Depth Ft",
                "type": "number"
              },
              "layers": {
                "items": {
                  "$ref": "#/$defs/Layer"
                },
                "maxItems": 10000,
                "minItems": 1,
                "title": "Layers",
                "type": "array"
              }
            },
            "required": [
              "nx",
              "ny",
              "dx_ft",
              "dy_ft",
              "top_depth_ft",
              "layers"
            ],
            "title": "LayeredGrid",
            "type": "object"
          },
          "ProducerControl": {
            "additionalProperties": false,
            "properties": {
              "kind": {
                "const": "producer",
                "default": "producer",
                "title": "Kind",
                "type": "string"
              },
              "status": {
                "$ref": "#/$defs/WellStatus"
              },
              "mode": {
                "enum": [
                  "ORAT",
                  "BHP"
                ],
                "title": "Mode",
                "type": "string"
              },
              "oil_rate": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/FieldSurfaceRate"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "bhp_psia": {
                "exclusiveMinimum": 0,
                "title": "Bhp Psia",
                "type": "number"
              }
            },
            "required": [
              "status",
              "mode",
              "bhp_psia"
            ],
            "title": "ProducerControl",
            "type": "object"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "SyntheticModelSpec": {
            "additionalProperties": false,
            "properties": {
              "template_version": {
                "const": "spe1-field-synthetic-v1",
                "default": "spe1-field-synthetic-v1",
                "title": "Template Version",
                "type": "string"
              },
              "unit_system": {
                "const": "FIELD",
                "default": "FIELD",
                "title": "Unit System",
                "type": "string"
              },
              "grid": {
                "$ref": "#/$defs/LayeredGrid"
              },
              "initial": {
                "$ref": "#/$defs/Equilibrium"
              },
              "wells": {
                "maxItems": 2,
                "minItems": 2,
                "prefixItems": [
                  {
                    "$ref": "#/$defs/SyntheticWell"
                  },
                  {
                    "$ref": "#/$defs/SyntheticWell"
                  }
                ],
                "title": "Wells",
                "type": "array"
              },
              "start_date": {
                "format": "date",
                "title": "Start Date",
                "type": "string"
              },
              "report_intervals_days": {
                "items": {
                  "exclusiveMinimum": 0,
                  "type": "number"
                },
                "maxItems": 256,
                "minItems": 1,
                "title": "Report Intervals Days",
                "type": "array"
              }
            },
            "required": [
              "grid",
              "initial",
              "wells",
              "start_date",
              "report_intervals_days"
            ],
            "title": "SyntheticModelSpec",
            "type": "object"
          },
          "SyntheticWell": {
            "additionalProperties": false,
            "properties": {
              "name": {
                "$ref": "#/$defs/WellName"
              },
              "cell": {
                "$ref": "#/$defs/CellIndex"
              },
              "diameter_ft": {
                "exclusiveMinimum": 0,
                "title": "Diameter Ft",
                "type": "number"
              },
              "reference_depth_ft": {
                "title": "Reference Depth Ft",
                "type": "number"
              },
              "control": {
                "$ref": "#/$defs/WellControl"
              }
            },
            "required": [
              "name",
              "cell",
              "diameter_ft",
              "reference_depth_ft",
              "control"
            ],
            "title": "SyntheticWell",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "WellControl": {
            "discriminator": {
              "mapping": {
                "injector": "#/$defs/InjectorControl",
                "producer": "#/$defs/ProducerControl"
              },
              "propertyName": "kind"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/ProducerControl"
              },
              {
                "$ref": "#/$defs/InjectorControl"
              }
            ]
          },
          "WellName": {
            "maxLength": 8,
            "minLength": 1,
            "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
            "type": "string"
          },
          "WellStatus": {
            "enum": [
              "OPEN",
              "SHUT"
            ],
            "title": "WellStatus",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "session_id": {
            "$ref": "#/$defs/SessionId"
          },
          "datum": {
            "$ref": "#/$defs/Text"
          },
          "specification": {
            "$ref": "#/$defs/SyntheticModelSpec"
          }
        },
        "required": [
          "session_id",
          "datum",
          "specification"
        ],
        "title": "SyntheticModelRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ActiveCellMap": {
            "additionalProperties": false,
            "description": "Tuple order defines the zero-based active-array index.",
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "dimensions": {
                "maxItems": 3,
                "minItems": 3,
                "prefixItems": [
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  }
                ],
                "title": "Dimensions",
                "type": "array"
              },
              "cells": {
                "items": {
                  "$ref": "#/$defs/CellIndex"
                },
                "title": "Cells",
                "type": "array"
              }
            },
            "required": [
              "model",
              "grid_id",
              "dimensions",
              "cells"
            ],
            "title": "ActiveCellMap",
            "type": "object"
          },
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "Backend": {
            "enum": [
              "opm_flow",
              "julia"
            ],
            "title": "Backend",
            "type": "string"
          },
          "CellIndex": {
            "additionalProperties": false,
            "description": "I, J, and K are zero-based structured-grid indices.",
            "properties": {
              "i": {
                "minimum": 0,
                "title": "I",
                "type": "integer"
              },
              "j": {
                "minimum": 0,
                "title": "J",
                "type": "integer"
              },
              "k": {
                "minimum": 0,
                "title": "K",
                "type": "integer"
              }
            },
            "required": [
              "i",
              "j",
              "k"
            ],
            "title": "CellIndex",
            "type": "object"
          },
          "CoordinateFrame": {
            "additionalProperties": false,
            "description": "Coordinates use a named local datum and an explicit Z direction.",
            "properties": {
              "length_unit": {
                "$ref": "#/$defs/Unit"
              },
              "depth_direction": {
                "$ref": "#/$defs/DepthDirection"
              },
              "datum": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "length_unit",
              "depth_direction",
              "datum"
            ],
            "title": "CoordinateFrame",
            "type": "object"
          },
          "DepthDirection": {
            "enum": [
              "positive_up",
              "positive_down"
            ],
            "title": "DepthDirection",
            "type": "string"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "GridId": {
            "title": "GridId",
            "type": "string"
          },
          "ImportReceipt": {
            "additionalProperties": false,
            "properties": {
              "prepared": {
                "$ref": "#/$defs/PreparedModel"
              },
              "record": {
                "$ref": "#/$defs/ArtifactRef"
              },
              "summary": {
                "$ref": "#/$defs/ModelSummary"
              }
            },
            "required": [
              "prepared",
              "record",
              "summary"
            ],
            "title": "ImportReceipt",
            "type": "object"
          },
          "ModelInputs": {
            "additionalProperties": false,
            "properties": {
              "artifacts": {
                "items": {
                  "$ref": "#/$defs/ArtifactId"
                },
                "minItems": 1,
                "title": "Artifacts",
                "type": "array"
              },
              "entrypoint": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "artifacts",
              "entrypoint"
            ],
            "title": "ModelInputs",
            "type": "object"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "ModelRevision": {
            "additionalProperties": false,
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "inputs": {
                "$ref": "#/$defs/ModelInputs"
              },
              "unit_system": {
                "$ref": "#/$defs/UnitSystem"
              },
              "coordinates": {
                "$ref": "#/$defs/CoordinateFrame"
              },
              "parent": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ModelRef"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "model",
              "inputs",
              "unit_system",
              "coordinates"
            ],
            "title": "ModelRevision",
            "type": "object"
          },
          "ModelSummary": {
            "additionalProperties": false,
            "properties": {
              "parser_version": {
                "const": "2025.10",
                "default": "2025.10",
                "title": "Parser Version",
                "type": "string"
              },
              "support_profile": {
                "default": "spe1-field-v1",
                "enum": [
                  "spe1-field-v1",
                  "spe1-field-v2"
                ],
                "title": "Support Profile",
                "type": "string"
              },
              "unit_system": {
                "const": "FIELD",
                "default": "FIELD",
                "title": "Unit System",
                "type": "string"
              },
              "dimensions": {
                "maxItems": 3,
                "minItems": 3,
                "prefixItems": [
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  }
                ],
                "title": "Dimensions",
                "type": "array"
              },
              "active_cells": {
                "exclusiveMinimum": 0,
                "title": "Active Cells",
                "type": "integer"
              },
              "wells": {
                "items": {
                  "type": "string"
                },
                "title": "Wells",
                "type": "array"
              },
              "report_steps": {
                "exclusiveMinimum": 0,
                "title": "Report Steps",
                "type": "integer"
              },
              "elapsed_days": {
                "title": "Elapsed Days",
                "type": "number"
              },
              "keywords": {
                "items": {
                  "type": "string"
                },
                "title": "Keywords",
                "type": "array"
              }
            },
            "required": [
              "dimensions",
              "active_cells",
              "wells",
              "report_steps",
              "elapsed_days",
              "keywords"
            ],
            "title": "ModelSummary",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "PreparedModel": {
            "additionalProperties": false,
            "description": "Preparation verifies this fixed revision without editing its inputs.",
            "properties": {
              "revision": {
                "$ref": "#/$defs/ModelRevision"
              },
              "backend": {
                "$ref": "#/$defs/Backend"
              }
            },
            "required": [
              "revision",
              "backend"
            ],
            "title": "PreparedModel",
            "type": "object"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_SyntheticModelReceipt_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/SyntheticModelReceipt"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[SyntheticModelReceipt]",
            "type": "object"
          },
          "SyntheticModelReceipt": {
            "additionalProperties": false,
            "properties": {
              "imported": {
                "$ref": "#/$defs/ImportReceipt"
              },
              "specification_source": {
                "$ref": "#/$defs/ArtifactRef"
              },
              "active_cells": {
                "$ref": "#/$defs/ActiveCellMap"
              }
            },
            "required": [
              "imported",
              "specification_source",
              "active_cells"
            ],
            "title": "SyntheticModelReceipt",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "Unit": {
            "enum": [
              "m",
              "ft",
              "Pa",
              "bar",
              "psi",
              "s",
              "day",
              "1",
              "stb/day"
            ],
            "title": "Unit",
            "type": "string"
          },
          "UnitSystem": {
            "enum": [
              "FIELD",
              "METRIC",
              "SI"
            ],
            "title": "UnitSystem",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_SyntheticModelReceipt_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_SyntheticModelReceipt_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[SyntheticModelReceipt]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "model_load_case",
      "title": null,
      "description": "Load a fixed FIELD model into a persistent native case for modeled wells.",
      "inputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "context": {
            "$ref": "#/$defs/ApplicationContext"
          },
          "model": {
            "$ref": "#/$defs/ModelRef"
          }
        },
        "required": [
          "context",
          "model"
        ],
        "title": "PreparedCaseRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "ObjectKind": {
            "enum": [
              "case",
              "view",
              "well"
            ],
            "title": "ObjectKind",
            "type": "string"
          },
          "ObjectRef": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "kind": {
                "$ref": "#/$defs/ObjectKind"
              },
              "object_id": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "context",
              "kind",
              "object_id"
            ],
            "title": "ObjectRef",
            "type": "object"
          },
          "PreparedCase": {
            "additionalProperties": false,
            "description": "Only the native service can issue a trusted model and case binding.",
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "case": {
                "$ref": "#/$defs/ObjectRef"
              },
              "receipt": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "model",
              "case",
              "receipt"
            ],
            "title": "PreparedCase",
            "type": "object"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_PreparedCase_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/PreparedCase"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[PreparedCase]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_PreparedCase_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_PreparedCase_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[PreparedCase]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "model_restore_case",
      "title": null,
      "description": "Find and verify one current native case through its model and saved receipt.",
      "inputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "description": "Find one current case through its immutable prepared source receipt.",
        "properties": {
          "context": {
            "$ref": "#/$defs/ApplicationContext"
          },
          "model": {
            "$ref": "#/$defs/ModelRef"
          },
          "receipt": {
            "$ref": "#/$defs/ArtifactRef"
          }
        },
        "required": [
          "context",
          "model",
          "receipt"
        ],
        "title": "PreparedCaseLookupRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "ObjectKind": {
            "enum": [
              "case",
              "view",
              "well"
            ],
            "title": "ObjectKind",
            "type": "string"
          },
          "ObjectRef": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "kind": {
                "$ref": "#/$defs/ObjectKind"
              },
              "object_id": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "context",
              "kind",
              "object_id"
            ],
            "title": "ObjectRef",
            "type": "object"
          },
          "PreparedCase": {
            "additionalProperties": false,
            "description": "Only the native service can issue a trusted model and case binding.",
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "case": {
                "$ref": "#/$defs/ObjectRef"
              },
              "receipt": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "model",
              "case",
              "receipt"
            ],
            "title": "PreparedCase",
            "type": "object"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_PreparedCase_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/PreparedCase"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[PreparedCase]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_PreparedCase_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_PreparedCase_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[PreparedCase]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "well_create",
      "title": null,
      "description": "Create a modeled well with explicit FIELD targets and perforation intervals.",
      "inputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "CoordinateFrame": {
            "additionalProperties": false,
            "description": "Coordinates use a named local datum and an explicit Z direction.",
            "properties": {
              "length_unit": {
                "$ref": "#/$defs/Unit"
              },
              "depth_direction": {
                "$ref": "#/$defs/DepthDirection"
              },
              "datum": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "length_unit",
              "depth_direction",
              "datum"
            ],
            "title": "CoordinateFrame",
            "type": "object"
          },
          "DepthDirection": {
            "enum": [
              "positive_up",
              "positive_down"
            ],
            "title": "DepthDirection",
            "type": "string"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "ModeledWellDefinition": {
            "additionalProperties": false,
            "properties": {
              "name": {
                "$ref": "#/$defs/WellName"
              },
              "coordinates": {
                "$ref": "#/$defs/CoordinateFrame"
              },
              "targets": {
                "items": {
                  "$ref": "#/$defs/TrajectoryPoint"
                },
                "maxItems": 100,
                "minItems": 2,
                "title": "Targets",
                "type": "array"
              },
              "perforations": {
                "items": {
                  "$ref": "#/$defs/PerforationInterval"
                },
                "maxItems": 100,
                "minItems": 1,
                "title": "Perforations",
                "type": "array"
              }
            },
            "required": [
              "name",
              "coordinates",
              "targets",
              "perforations"
            ],
            "title": "ModeledWellDefinition",
            "type": "object"
          },
          "ObjectKind": {
            "enum": [
              "case",
              "view",
              "well"
            ],
            "title": "ObjectKind",
            "type": "string"
          },
          "ObjectRef": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "kind": {
                "$ref": "#/$defs/ObjectKind"
              },
              "object_id": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "context",
              "kind",
              "object_id"
            ],
            "title": "ObjectRef",
            "type": "object"
          },
          "PerforationInterval": {
            "additionalProperties": false,
            "description": "A measured-depth interval connects the path to intersected cells.",
            "properties": {
              "start_md_ft": {
                "minimum": 0,
                "title": "Start Md Ft",
                "type": "number"
              },
              "end_md_ft": {
                "minimum": 0,
                "title": "End Md Ft",
                "type": "number"
              },
              "diameter_ft": {
                "exclusiveMinimum": 0,
                "title": "Diameter Ft",
                "type": "number"
              },
              "skin": {
                "default": 0.0,
                "minimum": 0,
                "title": "Skin",
                "type": "number"
              }
            },
            "required": [
              "start_md_ft",
              "end_md_ft",
              "diameter_ft"
            ],
            "title": "PerforationInterval",
            "type": "object"
          },
          "PreparedCase": {
            "additionalProperties": false,
            "description": "Only the native service can issue a trusted model and case binding.",
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "case": {
                "$ref": "#/$defs/ObjectRef"
              },
              "receipt": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "model",
              "case",
              "receipt"
            ],
            "title": "PreparedCase",
            "type": "object"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "TrajectoryPoint": {
            "additionalProperties": false,
            "description": "Local coordinates use feet and positive-down depth.",
            "properties": {
              "x_ft": {
                "title": "X Ft",
                "type": "number"
              },
              "y_ft": {
                "title": "Y Ft",
                "type": "number"
              },
              "depth_ft": {
                "title": "Depth Ft",
                "type": "number"
              }
            },
            "required": [
              "x_ft",
              "y_ft",
              "depth_ft"
            ],
            "title": "TrajectoryPoint",
            "type": "object"
          },
          "Unit": {
            "enum": [
              "m",
              "ft",
              "Pa",
              "bar",
              "psi",
              "s",
              "day",
              "1",
              "stb/day"
            ],
            "title": "Unit",
            "type": "string"
          },
          "WellName": {
            "maxLength": 8,
            "minLength": 1,
            "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "binding": {
            "$ref": "#/$defs/PreparedCase"
          },
          "definition": {
            "$ref": "#/$defs/ModeledWellDefinition"
          }
        },
        "required": [
          "binding",
          "definition"
        ],
        "title": "WellCreateRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "CoordinateFrame": {
            "additionalProperties": false,
            "description": "Coordinates use a named local datum and an explicit Z direction.",
            "properties": {
              "length_unit": {
                "$ref": "#/$defs/Unit"
              },
              "depth_direction": {
                "$ref": "#/$defs/DepthDirection"
              },
              "datum": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "length_unit",
              "depth_direction",
              "datum"
            ],
            "title": "CoordinateFrame",
            "type": "object"
          },
          "DepthDirection": {
            "enum": [
              "positive_up",
              "positive_down"
            ],
            "title": "DepthDirection",
            "type": "string"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "ModeledWell": {
            "additionalProperties": false,
            "properties": {
              "binding": {
                "$ref": "#/$defs/PreparedCase"
              },
              "well": {
                "$ref": "#/$defs/ObjectRef"
              },
              "version": {
                "minimum": 0,
                "title": "Version",
                "type": "integer"
              },
              "definition": {
                "$ref": "#/$defs/ModeledWellDefinition"
              },
              "trajectory": {
                "items": {
                  "$ref": "#/$defs/TrajectorySample"
                },
                "minItems": 2,
                "title": "Trajectory",
                "type": "array"
              }
            },
            "required": [
              "binding",
              "well",
              "version",
              "definition",
              "trajectory"
            ],
            "title": "ModeledWell",
            "type": "object"
          },
          "ModeledWellDefinition": {
            "additionalProperties": false,
            "properties": {
              "name": {
                "$ref": "#/$defs/WellName"
              },
              "coordinates": {
                "$ref": "#/$defs/CoordinateFrame"
              },
              "targets": {
                "items": {
                  "$ref": "#/$defs/TrajectoryPoint"
                },
                "maxItems": 100,
                "minItems": 2,
                "title": "Targets",
                "type": "array"
              },
              "perforations": {
                "items": {
                  "$ref": "#/$defs/PerforationInterval"
                },
                "maxItems": 100,
                "minItems": 1,
                "title": "Perforations",
                "type": "array"
              }
            },
            "required": [
              "name",
              "coordinates",
              "targets",
              "perforations"
            ],
            "title": "ModeledWellDefinition",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "ObjectKind": {
            "enum": [
              "case",
              "view",
              "well"
            ],
            "title": "ObjectKind",
            "type": "string"
          },
          "ObjectRef": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "kind": {
                "$ref": "#/$defs/ObjectKind"
              },
              "object_id": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "context",
              "kind",
              "object_id"
            ],
            "title": "ObjectRef",
            "type": "object"
          },
          "PerforationInterval": {
            "additionalProperties": false,
            "description": "A measured-depth interval connects the path to intersected cells.",
            "properties": {
              "start_md_ft": {
                "minimum": 0,
                "title": "Start Md Ft",
                "type": "number"
              },
              "end_md_ft": {
                "minimum": 0,
                "title": "End Md Ft",
                "type": "number"
              },
              "diameter_ft": {
                "exclusiveMinimum": 0,
                "title": "Diameter Ft",
                "type": "number"
              },
              "skin": {
                "default": 0.0,
                "minimum": 0,
                "title": "Skin",
                "type": "number"
              }
            },
            "required": [
              "start_md_ft",
              "end_md_ft",
              "diameter_ft"
            ],
            "title": "PerforationInterval",
            "type": "object"
          },
          "PreparedCase": {
            "additionalProperties": false,
            "description": "Only the native service can issue a trusted model and case binding.",
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "case": {
                "$ref": "#/$defs/ObjectRef"
              },
              "receipt": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "model",
              "case",
              "receipt"
            ],
            "title": "PreparedCase",
            "type": "object"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_ModeledWell_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/ModeledWell"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[ModeledWell]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "TrajectoryPoint": {
            "additionalProperties": false,
            "description": "Local coordinates use feet and positive-down depth.",
            "properties": {
              "x_ft": {
                "title": "X Ft",
                "type": "number"
              },
              "y_ft": {
                "title": "Y Ft",
                "type": "number"
              },
              "depth_ft": {
                "title": "Depth Ft",
                "type": "number"
              }
            },
            "required": [
              "x_ft",
              "y_ft",
              "depth_ft"
            ],
            "title": "TrajectoryPoint",
            "type": "object"
          },
          "TrajectorySample": {
            "additionalProperties": false,
            "properties": {
              "x_ft": {
                "title": "X Ft",
                "type": "number"
              },
              "y_ft": {
                "title": "Y Ft",
                "type": "number"
              },
              "depth_ft": {
                "title": "Depth Ft",
                "type": "number"
              },
              "measured_depth_ft": {
                "minimum": 0,
                "title": "Measured Depth Ft",
                "type": "number"
              }
            },
            "required": [
              "x_ft",
              "y_ft",
              "depth_ft",
              "measured_depth_ft"
            ],
            "title": "TrajectorySample",
            "type": "object"
          },
          "Unit": {
            "enum": [
              "m",
              "ft",
              "Pa",
              "bar",
              "psi",
              "s",
              "day",
              "1",
              "stb/day"
            ],
            "title": "Unit",
            "type": "string"
          },
          "WellName": {
            "maxLength": 8,
            "minLength": 1,
            "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_ModeledWell_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_ModeledWell_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[ModeledWell]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "well_update",
      "title": null,
      "description": "Update a current modeled well after checking its exact expected version.",
      "inputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "CoordinateFrame": {
            "additionalProperties": false,
            "description": "Coordinates use a named local datum and an explicit Z direction.",
            "properties": {
              "length_unit": {
                "$ref": "#/$defs/Unit"
              },
              "depth_direction": {
                "$ref": "#/$defs/DepthDirection"
              },
              "datum": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "length_unit",
              "depth_direction",
              "datum"
            ],
            "title": "CoordinateFrame",
            "type": "object"
          },
          "DepthDirection": {
            "enum": [
              "positive_up",
              "positive_down"
            ],
            "title": "DepthDirection",
            "type": "string"
          },
          "ModeledWellDefinition": {
            "additionalProperties": false,
            "properties": {
              "name": {
                "$ref": "#/$defs/WellName"
              },
              "coordinates": {
                "$ref": "#/$defs/CoordinateFrame"
              },
              "targets": {
                "items": {
                  "$ref": "#/$defs/TrajectoryPoint"
                },
                "maxItems": 100,
                "minItems": 2,
                "title": "Targets",
                "type": "array"
              },
              "perforations": {
                "items": {
                  "$ref": "#/$defs/PerforationInterval"
                },
                "maxItems": 100,
                "minItems": 1,
                "title": "Perforations",
                "type": "array"
              }
            },
            "required": [
              "name",
              "coordinates",
              "targets",
              "perforations"
            ],
            "title": "ModeledWellDefinition",
            "type": "object"
          },
          "ObjectKind": {
            "enum": [
              "case",
              "view",
              "well"
            ],
            "title": "ObjectKind",
            "type": "string"
          },
          "ObjectRef": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "kind": {
                "$ref": "#/$defs/ObjectKind"
              },
              "object_id": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "context",
              "kind",
              "object_id"
            ],
            "title": "ObjectRef",
            "type": "object"
          },
          "PerforationInterval": {
            "additionalProperties": false,
            "description": "A measured-depth interval connects the path to intersected cells.",
            "properties": {
              "start_md_ft": {
                "minimum": 0,
                "title": "Start Md Ft",
                "type": "number"
              },
              "end_md_ft": {
                "minimum": 0,
                "title": "End Md Ft",
                "type": "number"
              },
              "diameter_ft": {
                "exclusiveMinimum": 0,
                "title": "Diameter Ft",
                "type": "number"
              },
              "skin": {
                "default": 0.0,
                "minimum": 0,
                "title": "Skin",
                "type": "number"
              }
            },
            "required": [
              "start_md_ft",
              "end_md_ft",
              "diameter_ft"
            ],
            "title": "PerforationInterval",
            "type": "object"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "TrajectoryPoint": {
            "additionalProperties": false,
            "description": "Local coordinates use feet and positive-down depth.",
            "properties": {
              "x_ft": {
                "title": "X Ft",
                "type": "number"
              },
              "y_ft": {
                "title": "Y Ft",
                "type": "number"
              },
              "depth_ft": {
                "title": "Depth Ft",
                "type": "number"
              }
            },
            "required": [
              "x_ft",
              "y_ft",
              "depth_ft"
            ],
            "title": "TrajectoryPoint",
            "type": "object"
          },
          "Unit": {
            "enum": [
              "m",
              "ft",
              "Pa",
              "bar",
              "psi",
              "s",
              "day",
              "1",
              "stb/day"
            ],
            "title": "Unit",
            "type": "string"
          },
          "WellName": {
            "maxLength": 8,
            "minLength": 1,
            "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "well": {
            "$ref": "#/$defs/ObjectRef"
          },
          "expected_version": {
            "minimum": 0,
            "title": "Expected Version",
            "type": "integer"
          },
          "definition": {
            "$ref": "#/$defs/ModeledWellDefinition"
          }
        },
        "required": [
          "well",
          "expected_version",
          "definition"
        ],
        "title": "WellUpdateRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "CoordinateFrame": {
            "additionalProperties": false,
            "description": "Coordinates use a named local datum and an explicit Z direction.",
            "properties": {
              "length_unit": {
                "$ref": "#/$defs/Unit"
              },
              "depth_direction": {
                "$ref": "#/$defs/DepthDirection"
              },
              "datum": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "length_unit",
              "depth_direction",
              "datum"
            ],
            "title": "CoordinateFrame",
            "type": "object"
          },
          "DepthDirection": {
            "enum": [
              "positive_up",
              "positive_down"
            ],
            "title": "DepthDirection",
            "type": "string"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "ModeledWell": {
            "additionalProperties": false,
            "properties": {
              "binding": {
                "$ref": "#/$defs/PreparedCase"
              },
              "well": {
                "$ref": "#/$defs/ObjectRef"
              },
              "version": {
                "minimum": 0,
                "title": "Version",
                "type": "integer"
              },
              "definition": {
                "$ref": "#/$defs/ModeledWellDefinition"
              },
              "trajectory": {
                "items": {
                  "$ref": "#/$defs/TrajectorySample"
                },
                "minItems": 2,
                "title": "Trajectory",
                "type": "array"
              }
            },
            "required": [
              "binding",
              "well",
              "version",
              "definition",
              "trajectory"
            ],
            "title": "ModeledWell",
            "type": "object"
          },
          "ModeledWellDefinition": {
            "additionalProperties": false,
            "properties": {
              "name": {
                "$ref": "#/$defs/WellName"
              },
              "coordinates": {
                "$ref": "#/$defs/CoordinateFrame"
              },
              "targets": {
                "items": {
                  "$ref": "#/$defs/TrajectoryPoint"
                },
                "maxItems": 100,
                "minItems": 2,
                "title": "Targets",
                "type": "array"
              },
              "perforations": {
                "items": {
                  "$ref": "#/$defs/PerforationInterval"
                },
                "maxItems": 100,
                "minItems": 1,
                "title": "Perforations",
                "type": "array"
              }
            },
            "required": [
              "name",
              "coordinates",
              "targets",
              "perforations"
            ],
            "title": "ModeledWellDefinition",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "ObjectKind": {
            "enum": [
              "case",
              "view",
              "well"
            ],
            "title": "ObjectKind",
            "type": "string"
          },
          "ObjectRef": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "kind": {
                "$ref": "#/$defs/ObjectKind"
              },
              "object_id": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "context",
              "kind",
              "object_id"
            ],
            "title": "ObjectRef",
            "type": "object"
          },
          "PerforationInterval": {
            "additionalProperties": false,
            "description": "A measured-depth interval connects the path to intersected cells.",
            "properties": {
              "start_md_ft": {
                "minimum": 0,
                "title": "Start Md Ft",
                "type": "number"
              },
              "end_md_ft": {
                "minimum": 0,
                "title": "End Md Ft",
                "type": "number"
              },
              "diameter_ft": {
                "exclusiveMinimum": 0,
                "title": "Diameter Ft",
                "type": "number"
              },
              "skin": {
                "default": 0.0,
                "minimum": 0,
                "title": "Skin",
                "type": "number"
              }
            },
            "required": [
              "start_md_ft",
              "end_md_ft",
              "diameter_ft"
            ],
            "title": "PerforationInterval",
            "type": "object"
          },
          "PreparedCase": {
            "additionalProperties": false,
            "description": "Only the native service can issue a trusted model and case binding.",
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "case": {
                "$ref": "#/$defs/ObjectRef"
              },
              "receipt": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "model",
              "case",
              "receipt"
            ],
            "title": "PreparedCase",
            "type": "object"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_ModeledWell_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/ModeledWell"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[ModeledWell]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "TrajectoryPoint": {
            "additionalProperties": false,
            "description": "Local coordinates use feet and positive-down depth.",
            "properties": {
              "x_ft": {
                "title": "X Ft",
                "type": "number"
              },
              "y_ft": {
                "title": "Y Ft",
                "type": "number"
              },
              "depth_ft": {
                "title": "Depth Ft",
                "type": "number"
              }
            },
            "required": [
              "x_ft",
              "y_ft",
              "depth_ft"
            ],
            "title": "TrajectoryPoint",
            "type": "object"
          },
          "TrajectorySample": {
            "additionalProperties": false,
            "properties": {
              "x_ft": {
                "title": "X Ft",
                "type": "number"
              },
              "y_ft": {
                "title": "Y Ft",
                "type": "number"
              },
              "depth_ft": {
                "title": "Depth Ft",
                "type": "number"
              },
              "measured_depth_ft": {
                "minimum": 0,
                "title": "Measured Depth Ft",
                "type": "number"
              }
            },
            "required": [
              "x_ft",
              "y_ft",
              "depth_ft",
              "measured_depth_ft"
            ],
            "title": "TrajectorySample",
            "type": "object"
          },
          "Unit": {
            "enum": [
              "m",
              "ft",
              "Pa",
              "bar",
              "psi",
              "s",
              "day",
              "1",
              "stb/day"
            ],
            "title": "Unit",
            "type": "string"
          },
          "WellName": {
            "maxLength": 8,
            "minLength": 1,
            "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_ModeledWell_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_ModeledWell_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[ModeledWell]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "well_inspect",
      "title": null,
      "description": "Verify a service-owned well and read its definition, trajectory, and version.",
      "inputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "ObjectKind": {
            "enum": [
              "case",
              "view",
              "well"
            ],
            "title": "ObjectKind",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "context": {
            "$ref": "#/$defs/ApplicationContext"
          },
          "kind": {
            "$ref": "#/$defs/ObjectKind"
          },
          "object_id": {
            "$ref": "#/$defs/Text"
          }
        },
        "required": [
          "context",
          "kind",
          "object_id"
        ],
        "title": "ObjectRef",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "CoordinateFrame": {
            "additionalProperties": false,
            "description": "Coordinates use a named local datum and an explicit Z direction.",
            "properties": {
              "length_unit": {
                "$ref": "#/$defs/Unit"
              },
              "depth_direction": {
                "$ref": "#/$defs/DepthDirection"
              },
              "datum": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "length_unit",
              "depth_direction",
              "datum"
            ],
            "title": "CoordinateFrame",
            "type": "object"
          },
          "DepthDirection": {
            "enum": [
              "positive_up",
              "positive_down"
            ],
            "title": "DepthDirection",
            "type": "string"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "ModeledWell": {
            "additionalProperties": false,
            "properties": {
              "binding": {
                "$ref": "#/$defs/PreparedCase"
              },
              "well": {
                "$ref": "#/$defs/ObjectRef"
              },
              "version": {
                "minimum": 0,
                "title": "Version",
                "type": "integer"
              },
              "definition": {
                "$ref": "#/$defs/ModeledWellDefinition"
              },
              "trajectory": {
                "items": {
                  "$ref": "#/$defs/TrajectorySample"
                },
                "minItems": 2,
                "title": "Trajectory",
                "type": "array"
              }
            },
            "required": [
              "binding",
              "well",
              "version",
              "definition",
              "trajectory"
            ],
            "title": "ModeledWell",
            "type": "object"
          },
          "ModeledWellDefinition": {
            "additionalProperties": false,
            "properties": {
              "name": {
                "$ref": "#/$defs/WellName"
              },
              "coordinates": {
                "$ref": "#/$defs/CoordinateFrame"
              },
              "targets": {
                "items": {
                  "$ref": "#/$defs/TrajectoryPoint"
                },
                "maxItems": 100,
                "minItems": 2,
                "title": "Targets",
                "type": "array"
              },
              "perforations": {
                "items": {
                  "$ref": "#/$defs/PerforationInterval"
                },
                "maxItems": 100,
                "minItems": 1,
                "title": "Perforations",
                "type": "array"
              }
            },
            "required": [
              "name",
              "coordinates",
              "targets",
              "perforations"
            ],
            "title": "ModeledWellDefinition",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "ObjectKind": {
            "enum": [
              "case",
              "view",
              "well"
            ],
            "title": "ObjectKind",
            "type": "string"
          },
          "ObjectRef": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "kind": {
                "$ref": "#/$defs/ObjectKind"
              },
              "object_id": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "context",
              "kind",
              "object_id"
            ],
            "title": "ObjectRef",
            "type": "object"
          },
          "PerforationInterval": {
            "additionalProperties": false,
            "description": "A measured-depth interval connects the path to intersected cells.",
            "properties": {
              "start_md_ft": {
                "minimum": 0,
                "title": "Start Md Ft",
                "type": "number"
              },
              "end_md_ft": {
                "minimum": 0,
                "title": "End Md Ft",
                "type": "number"
              },
              "diameter_ft": {
                "exclusiveMinimum": 0,
                "title": "Diameter Ft",
                "type": "number"
              },
              "skin": {
                "default": 0.0,
                "minimum": 0,
                "title": "Skin",
                "type": "number"
              }
            },
            "required": [
              "start_md_ft",
              "end_md_ft",
              "diameter_ft"
            ],
            "title": "PerforationInterval",
            "type": "object"
          },
          "PreparedCase": {
            "additionalProperties": false,
            "description": "Only the native service can issue a trusted model and case binding.",
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "case": {
                "$ref": "#/$defs/ObjectRef"
              },
              "receipt": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "model",
              "case",
              "receipt"
            ],
            "title": "PreparedCase",
            "type": "object"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_ModeledWell_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/ModeledWell"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[ModeledWell]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "TrajectoryPoint": {
            "additionalProperties": false,
            "description": "Local coordinates use feet and positive-down depth.",
            "properties": {
              "x_ft": {
                "title": "X Ft",
                "type": "number"
              },
              "y_ft": {
                "title": "Y Ft",
                "type": "number"
              },
              "depth_ft": {
                "title": "Depth Ft",
                "type": "number"
              }
            },
            "required": [
              "x_ft",
              "y_ft",
              "depth_ft"
            ],
            "title": "TrajectoryPoint",
            "type": "object"
          },
          "TrajectorySample": {
            "additionalProperties": false,
            "properties": {
              "x_ft": {
                "title": "X Ft",
                "type": "number"
              },
              "y_ft": {
                "title": "Y Ft",
                "type": "number"
              },
              "depth_ft": {
                "title": "Depth Ft",
                "type": "number"
              },
              "measured_depth_ft": {
                "minimum": 0,
                "title": "Measured Depth Ft",
                "type": "number"
              }
            },
            "required": [
              "x_ft",
              "y_ft",
              "depth_ft",
              "measured_depth_ft"
            ],
            "title": "TrajectorySample",
            "type": "object"
          },
          "Unit": {
            "enum": [
              "m",
              "ft",
              "Pa",
              "bar",
              "psi",
              "s",
              "day",
              "1",
              "stb/day"
            ],
            "title": "Unit",
            "type": "string"
          },
          "WellName": {
            "maxLength": 8,
            "minLength": 1,
            "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_ModeledWell_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_ModeledWell_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[ModeledWell]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "well_adopt",
      "title": null,
      "description": "Verify an existing modeled well before issuing a fresh native lifetime.",
      "inputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "CoordinateFrame": {
            "additionalProperties": false,
            "description": "Coordinates use a named local datum and an explicit Z direction.",
            "properties": {
              "length_unit": {
                "$ref": "#/$defs/Unit"
              },
              "depth_direction": {
                "$ref": "#/$defs/DepthDirection"
              },
              "datum": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "length_unit",
              "depth_direction",
              "datum"
            ],
            "title": "CoordinateFrame",
            "type": "object"
          },
          "DepthDirection": {
            "enum": [
              "positive_up",
              "positive_down"
            ],
            "title": "DepthDirection",
            "type": "string"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "ModeledWellDefinition": {
            "additionalProperties": false,
            "properties": {
              "name": {
                "$ref": "#/$defs/WellName"
              },
              "coordinates": {
                "$ref": "#/$defs/CoordinateFrame"
              },
              "targets": {
                "items": {
                  "$ref": "#/$defs/TrajectoryPoint"
                },
                "maxItems": 100,
                "minItems": 2,
                "title": "Targets",
                "type": "array"
              },
              "perforations": {
                "items": {
                  "$ref": "#/$defs/PerforationInterval"
                },
                "maxItems": 100,
                "minItems": 1,
                "title": "Perforations",
                "type": "array"
              }
            },
            "required": [
              "name",
              "coordinates",
              "targets",
              "perforations"
            ],
            "title": "ModeledWellDefinition",
            "type": "object"
          },
          "ObjectKind": {
            "enum": [
              "case",
              "view",
              "well"
            ],
            "title": "ObjectKind",
            "type": "string"
          },
          "ObjectRef": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "kind": {
                "$ref": "#/$defs/ObjectKind"
              },
              "object_id": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "context",
              "kind",
              "object_id"
            ],
            "title": "ObjectRef",
            "type": "object"
          },
          "PerforationInterval": {
            "additionalProperties": false,
            "description": "A measured-depth interval connects the path to intersected cells.",
            "properties": {
              "start_md_ft": {
                "minimum": 0,
                "title": "Start Md Ft",
                "type": "number"
              },
              "end_md_ft": {
                "minimum": 0,
                "title": "End Md Ft",
                "type": "number"
              },
              "diameter_ft": {
                "exclusiveMinimum": 0,
                "title": "Diameter Ft",
                "type": "number"
              },
              "skin": {
                "default": 0.0,
                "minimum": 0,
                "title": "Skin",
                "type": "number"
              }
            },
            "required": [
              "start_md_ft",
              "end_md_ft",
              "diameter_ft"
            ],
            "title": "PerforationInterval",
            "type": "object"
          },
          "PreparedCase": {
            "additionalProperties": false,
            "description": "Only the native service can issue a trusted model and case binding.",
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "case": {
                "$ref": "#/$defs/ObjectRef"
              },
              "receipt": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "model",
              "case",
              "receipt"
            ],
            "title": "PreparedCase",
            "type": "object"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "TrajectoryPoint": {
            "additionalProperties": false,
            "description": "Local coordinates use feet and positive-down depth.",
            "properties": {
              "x_ft": {
                "title": "X Ft",
                "type": "number"
              },
              "y_ft": {
                "title": "Y Ft",
                "type": "number"
              },
              "depth_ft": {
                "title": "Depth Ft",
                "type": "number"
              }
            },
            "required": [
              "x_ft",
              "y_ft",
              "depth_ft"
            ],
            "title": "TrajectoryPoint",
            "type": "object"
          },
          "TrajectorySample": {
            "additionalProperties": false,
            "properties": {
              "x_ft": {
                "title": "X Ft",
                "type": "number"
              },
              "y_ft": {
                "title": "Y Ft",
                "type": "number"
              },
              "depth_ft": {
                "title": "Depth Ft",
                "type": "number"
              },
              "measured_depth_ft": {
                "minimum": 0,
                "title": "Measured Depth Ft",
                "type": "number"
              }
            },
            "required": [
              "x_ft",
              "y_ft",
              "depth_ft",
              "measured_depth_ft"
            ],
            "title": "TrajectorySample",
            "type": "object"
          },
          "Unit": {
            "enum": [
              "m",
              "ft",
              "Pa",
              "bar",
              "psi",
              "s",
              "day",
              "1",
              "stb/day"
            ],
            "title": "Unit",
            "type": "string"
          },
          "WellName": {
            "maxLength": 8,
            "minLength": 1,
            "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "description": "Verify an existing modeled path before issuing a new version-zero lifetime.",
        "properties": {
          "binding": {
            "$ref": "#/$defs/PreparedCase"
          },
          "well": {
            "$ref": "#/$defs/ObjectRef"
          },
          "definition": {
            "$ref": "#/$defs/ModeledWellDefinition"
          },
          "trajectory": {
            "items": {
              "$ref": "#/$defs/TrajectorySample"
            },
            "minItems": 2,
            "title": "Trajectory",
            "type": "array"
          }
        },
        "required": [
          "binding",
          "well",
          "definition",
          "trajectory"
        ],
        "title": "WellAdoptRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "CoordinateFrame": {
            "additionalProperties": false,
            "description": "Coordinates use a named local datum and an explicit Z direction.",
            "properties": {
              "length_unit": {
                "$ref": "#/$defs/Unit"
              },
              "depth_direction": {
                "$ref": "#/$defs/DepthDirection"
              },
              "datum": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "length_unit",
              "depth_direction",
              "datum"
            ],
            "title": "CoordinateFrame",
            "type": "object"
          },
          "DepthDirection": {
            "enum": [
              "positive_up",
              "positive_down"
            ],
            "title": "DepthDirection",
            "type": "string"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "ModeledWell": {
            "additionalProperties": false,
            "properties": {
              "binding": {
                "$ref": "#/$defs/PreparedCase"
              },
              "well": {
                "$ref": "#/$defs/ObjectRef"
              },
              "version": {
                "minimum": 0,
                "title": "Version",
                "type": "integer"
              },
              "definition": {
                "$ref": "#/$defs/ModeledWellDefinition"
              },
              "trajectory": {
                "items": {
                  "$ref": "#/$defs/TrajectorySample"
                },
                "minItems": 2,
                "title": "Trajectory",
                "type": "array"
              }
            },
            "required": [
              "binding",
              "well",
              "version",
              "definition",
              "trajectory"
            ],
            "title": "ModeledWell",
            "type": "object"
          },
          "ModeledWellDefinition": {
            "additionalProperties": false,
            "properties": {
              "name": {
                "$ref": "#/$defs/WellName"
              },
              "coordinates": {
                "$ref": "#/$defs/CoordinateFrame"
              },
              "targets": {
                "items": {
                  "$ref": "#/$defs/TrajectoryPoint"
                },
                "maxItems": 100,
                "minItems": 2,
                "title": "Targets",
                "type": "array"
              },
              "perforations": {
                "items": {
                  "$ref": "#/$defs/PerforationInterval"
                },
                "maxItems": 100,
                "minItems": 1,
                "title": "Perforations",
                "type": "array"
              }
            },
            "required": [
              "name",
              "coordinates",
              "targets",
              "perforations"
            ],
            "title": "ModeledWellDefinition",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "ObjectKind": {
            "enum": [
              "case",
              "view",
              "well"
            ],
            "title": "ObjectKind",
            "type": "string"
          },
          "ObjectRef": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "kind": {
                "$ref": "#/$defs/ObjectKind"
              },
              "object_id": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "context",
              "kind",
              "object_id"
            ],
            "title": "ObjectRef",
            "type": "object"
          },
          "PerforationInterval": {
            "additionalProperties": false,
            "description": "A measured-depth interval connects the path to intersected cells.",
            "properties": {
              "start_md_ft": {
                "minimum": 0,
                "title": "Start Md Ft",
                "type": "number"
              },
              "end_md_ft": {
                "minimum": 0,
                "title": "End Md Ft",
                "type": "number"
              },
              "diameter_ft": {
                "exclusiveMinimum": 0,
                "title": "Diameter Ft",
                "type": "number"
              },
              "skin": {
                "default": 0.0,
                "minimum": 0,
                "title": "Skin",
                "type": "number"
              }
            },
            "required": [
              "start_md_ft",
              "end_md_ft",
              "diameter_ft"
            ],
            "title": "PerforationInterval",
            "type": "object"
          },
          "PreparedCase": {
            "additionalProperties": false,
            "description": "Only the native service can issue a trusted model and case binding.",
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "case": {
                "$ref": "#/$defs/ObjectRef"
              },
              "receipt": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "model",
              "case",
              "receipt"
            ],
            "title": "PreparedCase",
            "type": "object"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_ModeledWell_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/ModeledWell"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[ModeledWell]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "TrajectoryPoint": {
            "additionalProperties": false,
            "description": "Local coordinates use feet and positive-down depth.",
            "properties": {
              "x_ft": {
                "title": "X Ft",
                "type": "number"
              },
              "y_ft": {
                "title": "Y Ft",
                "type": "number"
              },
              "depth_ft": {
                "title": "Depth Ft",
                "type": "number"
              }
            },
            "required": [
              "x_ft",
              "y_ft",
              "depth_ft"
            ],
            "title": "TrajectoryPoint",
            "type": "object"
          },
          "TrajectorySample": {
            "additionalProperties": false,
            "properties": {
              "x_ft": {
                "title": "X Ft",
                "type": "number"
              },
              "y_ft": {
                "title": "Y Ft",
                "type": "number"
              },
              "depth_ft": {
                "title": "Depth Ft",
                "type": "number"
              },
              "measured_depth_ft": {
                "minimum": 0,
                "title": "Measured Depth Ft",
                "type": "number"
              }
            },
            "required": [
              "x_ft",
              "y_ft",
              "depth_ft",
              "measured_depth_ft"
            ],
            "title": "TrajectorySample",
            "type": "object"
          },
          "Unit": {
            "enum": [
              "m",
              "ft",
              "Pa",
              "bar",
              "psi",
              "s",
              "day",
              "1",
              "stb/day"
            ],
            "title": "Unit",
            "type": "string"
          },
          "WellName": {
            "maxLength": 8,
            "minLength": 1,
            "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_ModeledWell_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_ModeledWell_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[ModeledWell]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "well_export",
      "title": null,
      "description": "Export native completions with active cells, FIELD values, and provenance.",
      "inputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "ObjectKind": {
            "enum": [
              "case",
              "view",
              "well"
            ],
            "title": "ObjectKind",
            "type": "string"
          },
          "ObjectRef": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "kind": {
                "$ref": "#/$defs/ObjectKind"
              },
              "object_id": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "context",
              "kind",
              "object_id"
            ],
            "title": "ObjectRef",
            "type": "object"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "well": {
            "$ref": "#/$defs/ObjectRef"
          },
          "expected_version": {
            "minimum": 0,
            "title": "Expected Version",
            "type": "integer"
          }
        },
        "required": [
          "well",
          "expected_version"
        ],
        "title": "WellExportRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "CellIndex": {
            "additionalProperties": false,
            "description": "I, J, and K are zero-based structured-grid indices.",
            "properties": {
              "i": {
                "minimum": 0,
                "title": "I",
                "type": "integer"
              },
              "j": {
                "minimum": 0,
                "title": "J",
                "type": "integer"
              },
              "k": {
                "minimum": 0,
                "title": "K",
                "type": "integer"
              }
            },
            "required": [
              "i",
              "j",
              "k"
            ],
            "title": "CellIndex",
            "type": "object"
          },
          "CompletionConnection": {
            "additionalProperties": false,
            "description": "One active cell connection uses the FIELD COMPDAT convention.",
            "properties": {
              "cell": {
                "$ref": "#/$defs/CellIndex"
              },
              "status": {
                "$ref": "#/$defs/WellStatus",
                "default": "OPEN"
              },
              "compdat_factor_field": {
                "exclusiveMinimum": 0,
                "title": "Compdat Factor Field",
                "type": "number"
              },
              "permeability_length_md_ft": {
                "exclusiveMinimum": 0,
                "title": "Permeability Length Md Ft",
                "type": "number"
              },
              "diameter_ft": {
                "exclusiveMinimum": 0,
                "title": "Diameter Ft",
                "type": "number"
              },
              "skin": {
                "minimum": 0,
                "title": "Skin",
                "type": "number"
              },
              "direction": {
                "enum": [
                  "X",
                  "Y",
                  "Z"
                ],
                "title": "Direction",
                "type": "string"
              },
              "start_md_ft": {
                "minimum": 0,
                "title": "Start Md Ft",
                "type": "number"
              },
              "end_md_ft": {
                "minimum": 0,
                "title": "End Md Ft",
                "type": "number"
              }
            },
            "required": [
              "cell",
              "compdat_factor_field",
              "permeability_length_md_ft",
              "diameter_ft",
              "skin",
              "direction",
              "start_md_ft",
              "end_md_ft"
            ],
            "title": "CompletionConnection",
            "type": "object"
          },
          "CompletionExport": {
            "additionalProperties": false,
            "description": "An immutable service-issued snapshot retains exact model and well provenance.",
            "properties": {
              "artifact": {
                "$ref": "#/$defs/ArtifactRef"
              },
              "modeled_well": {
                "$ref": "#/$defs/ModeledWell"
              },
              "wellhead": {
                "$ref": "#/$defs/Wellhead"
              },
              "connections": {
                "items": {
                  "$ref": "#/$defs/CompletionConnection"
                },
                "minItems": 1,
                "title": "Connections",
                "type": "array"
              }
            },
            "required": [
              "artifact",
              "modeled_well",
              "wellhead",
              "connections"
            ],
            "title": "CompletionExport",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "CoordinateFrame": {
            "additionalProperties": false,
            "description": "Coordinates use a named local datum and an explicit Z direction.",
            "properties": {
              "length_unit": {
                "$ref": "#/$defs/Unit"
              },
              "depth_direction": {
                "$ref": "#/$defs/DepthDirection"
              },
              "datum": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "length_unit",
              "depth_direction",
              "datum"
            ],
            "title": "CoordinateFrame",
            "type": "object"
          },
          "DepthDirection": {
            "enum": [
              "positive_up",
              "positive_down"
            ],
            "title": "DepthDirection",
            "type": "string"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "ModeledWell": {
            "additionalProperties": false,
            "properties": {
              "binding": {
                "$ref": "#/$defs/PreparedCase"
              },
              "well": {
                "$ref": "#/$defs/ObjectRef"
              },
              "version": {
                "minimum": 0,
                "title": "Version",
                "type": "integer"
              },
              "definition": {
                "$ref": "#/$defs/ModeledWellDefinition"
              },
              "trajectory": {
                "items": {
                  "$ref": "#/$defs/TrajectorySample"
                },
                "minItems": 2,
                "title": "Trajectory",
                "type": "array"
              }
            },
            "required": [
              "binding",
              "well",
              "version",
              "definition",
              "trajectory"
            ],
            "title": "ModeledWell",
            "type": "object"
          },
          "ModeledWellDefinition": {
            "additionalProperties": false,
            "properties": {
              "name": {
                "$ref": "#/$defs/WellName"
              },
              "coordinates": {
                "$ref": "#/$defs/CoordinateFrame"
              },
              "targets": {
                "items": {
                  "$ref": "#/$defs/TrajectoryPoint"
                },
                "maxItems": 100,
                "minItems": 2,
                "title": "Targets",
                "type": "array"
              },
              "perforations": {
                "items": {
                  "$ref": "#/$defs/PerforationInterval"
                },
                "maxItems": 100,
                "minItems": 1,
                "title": "Perforations",
                "type": "array"
              }
            },
            "required": [
              "name",
              "coordinates",
              "targets",
              "perforations"
            ],
            "title": "ModeledWellDefinition",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "ObjectKind": {
            "enum": [
              "case",
              "view",
              "well"
            ],
            "title": "ObjectKind",
            "type": "string"
          },
          "ObjectRef": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "kind": {
                "$ref": "#/$defs/ObjectKind"
              },
              "object_id": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "context",
              "kind",
              "object_id"
            ],
            "title": "ObjectRef",
            "type": "object"
          },
          "PerforationInterval": {
            "additionalProperties": false,
            "description": "A measured-depth interval connects the path to intersected cells.",
            "properties": {
              "start_md_ft": {
                "minimum": 0,
                "title": "Start Md Ft",
                "type": "number"
              },
              "end_md_ft": {
                "minimum": 0,
                "title": "End Md Ft",
                "type": "number"
              },
              "diameter_ft": {
                "exclusiveMinimum": 0,
                "title": "Diameter Ft",
                "type": "number"
              },
              "skin": {
                "default": 0.0,
                "minimum": 0,
                "title": "Skin",
                "type": "number"
              }
            },
            "required": [
              "start_md_ft",
              "end_md_ft",
              "diameter_ft"
            ],
            "title": "PerforationInterval",
            "type": "object"
          },
          "PreparedCase": {
            "additionalProperties": false,
            "description": "Only the native service can issue a trusted model and case binding.",
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "case": {
                "$ref": "#/$defs/ObjectRef"
              },
              "receipt": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "model",
              "case",
              "receipt"
            ],
            "title": "PreparedCase",
            "type": "object"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_CompletionExport_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/CompletionExport"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[CompletionExport]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "TrajectoryPoint": {
            "additionalProperties": false,
            "description": "Local coordinates use feet and positive-down depth.",
            "properties": {
              "x_ft": {
                "title": "X Ft",
                "type": "number"
              },
              "y_ft": {
                "title": "Y Ft",
                "type": "number"
              },
              "depth_ft": {
                "title": "Depth Ft",
                "type": "number"
              }
            },
            "required": [
              "x_ft",
              "y_ft",
              "depth_ft"
            ],
            "title": "TrajectoryPoint",
            "type": "object"
          },
          "TrajectorySample": {
            "additionalProperties": false,
            "properties": {
              "x_ft": {
                "title": "X Ft",
                "type": "number"
              },
              "y_ft": {
                "title": "Y Ft",
                "type": "number"
              },
              "depth_ft": {
                "title": "Depth Ft",
                "type": "number"
              },
              "measured_depth_ft": {
                "minimum": 0,
                "title": "Measured Depth Ft",
                "type": "number"
              }
            },
            "required": [
              "x_ft",
              "y_ft",
              "depth_ft",
              "measured_depth_ft"
            ],
            "title": "TrajectorySample",
            "type": "object"
          },
          "Unit": {
            "enum": [
              "m",
              "ft",
              "Pa",
              "bar",
              "psi",
              "s",
              "day",
              "1",
              "stb/day"
            ],
            "title": "Unit",
            "type": "string"
          },
          "WellName": {
            "maxLength": 8,
            "minLength": 1,
            "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
            "type": "string"
          },
          "WellStatus": {
            "enum": [
              "OPEN",
              "SHUT"
            ],
            "title": "WellStatus",
            "type": "string"
          },
          "Wellhead": {
            "additionalProperties": false,
            "description": "Indices are zero-based; a missing reference depth keeps the native default.",
            "properties": {
              "i": {
                "minimum": 0,
                "title": "I",
                "type": "integer"
              },
              "j": {
                "minimum": 0,
                "title": "J",
                "type": "integer"
              },
              "reference_depth_ft": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Reference Depth Ft"
              }
            },
            "required": [
              "i",
              "j"
            ],
            "title": "Wellhead",
            "type": "object"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_CompletionExport_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_CompletionExport_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[CompletionExport]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "well_export_get",
      "title": null,
      "description": "Read and verify an immutable native completion export after reconnection.",
      "inputSchema": {
        "$defs": {
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "session_id": {
            "$ref": "#/$defs/SessionId"
          },
          "artifact_id": {
            "$ref": "#/$defs/ArtifactId"
          }
        },
        "required": [
          "session_id",
          "artifact_id"
        ],
        "title": "ArtifactRef",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "CellIndex": {
            "additionalProperties": false,
            "description": "I, J, and K are zero-based structured-grid indices.",
            "properties": {
              "i": {
                "minimum": 0,
                "title": "I",
                "type": "integer"
              },
              "j": {
                "minimum": 0,
                "title": "J",
                "type": "integer"
              },
              "k": {
                "minimum": 0,
                "title": "K",
                "type": "integer"
              }
            },
            "required": [
              "i",
              "j",
              "k"
            ],
            "title": "CellIndex",
            "type": "object"
          },
          "CompletionConnection": {
            "additionalProperties": false,
            "description": "One active cell connection uses the FIELD COMPDAT convention.",
            "properties": {
              "cell": {
                "$ref": "#/$defs/CellIndex"
              },
              "status": {
                "$ref": "#/$defs/WellStatus",
                "default": "OPEN"
              },
              "compdat_factor_field": {
                "exclusiveMinimum": 0,
                "title": "Compdat Factor Field",
                "type": "number"
              },
              "permeability_length_md_ft": {
                "exclusiveMinimum": 0,
                "title": "Permeability Length Md Ft",
                "type": "number"
              },
              "diameter_ft": {
                "exclusiveMinimum": 0,
                "title": "Diameter Ft",
                "type": "number"
              },
              "skin": {
                "minimum": 0,
                "title": "Skin",
                "type": "number"
              },
              "direction": {
                "enum": [
                  "X",
                  "Y",
                  "Z"
                ],
                "title": "Direction",
                "type": "string"
              },
              "start_md_ft": {
                "minimum": 0,
                "title": "Start Md Ft",
                "type": "number"
              },
              "end_md_ft": {
                "minimum": 0,
                "title": "End Md Ft",
                "type": "number"
              }
            },
            "required": [
              "cell",
              "compdat_factor_field",
              "permeability_length_md_ft",
              "diameter_ft",
              "skin",
              "direction",
              "start_md_ft",
              "end_md_ft"
            ],
            "title": "CompletionConnection",
            "type": "object"
          },
          "CompletionExport": {
            "additionalProperties": false,
            "description": "An immutable service-issued snapshot retains exact model and well provenance.",
            "properties": {
              "artifact": {
                "$ref": "#/$defs/ArtifactRef"
              },
              "modeled_well": {
                "$ref": "#/$defs/ModeledWell"
              },
              "wellhead": {
                "$ref": "#/$defs/Wellhead"
              },
              "connections": {
                "items": {
                  "$ref": "#/$defs/CompletionConnection"
                },
                "minItems": 1,
                "title": "Connections",
                "type": "array"
              }
            },
            "required": [
              "artifact",
              "modeled_well",
              "wellhead",
              "connections"
            ],
            "title": "CompletionExport",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "CoordinateFrame": {
            "additionalProperties": false,
            "description": "Coordinates use a named local datum and an explicit Z direction.",
            "properties": {
              "length_unit": {
                "$ref": "#/$defs/Unit"
              },
              "depth_direction": {
                "$ref": "#/$defs/DepthDirection"
              },
              "datum": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "length_unit",
              "depth_direction",
              "datum"
            ],
            "title": "CoordinateFrame",
            "type": "object"
          },
          "DepthDirection": {
            "enum": [
              "positive_up",
              "positive_down"
            ],
            "title": "DepthDirection",
            "type": "string"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "ModeledWell": {
            "additionalProperties": false,
            "properties": {
              "binding": {
                "$ref": "#/$defs/PreparedCase"
              },
              "well": {
                "$ref": "#/$defs/ObjectRef"
              },
              "version": {
                "minimum": 0,
                "title": "Version",
                "type": "integer"
              },
              "definition": {
                "$ref": "#/$defs/ModeledWellDefinition"
              },
              "trajectory": {
                "items": {
                  "$ref": "#/$defs/TrajectorySample"
                },
                "minItems": 2,
                "title": "Trajectory",
                "type": "array"
              }
            },
            "required": [
              "binding",
              "well",
              "version",
              "definition",
              "trajectory"
            ],
            "title": "ModeledWell",
            "type": "object"
          },
          "ModeledWellDefinition": {
            "additionalProperties": false,
            "properties": {
              "name": {
                "$ref": "#/$defs/WellName"
              },
              "coordinates": {
                "$ref": "#/$defs/CoordinateFrame"
              },
              "targets": {
                "items": {
                  "$ref": "#/$defs/TrajectoryPoint"
                },
                "maxItems": 100,
                "minItems": 2,
                "title": "Targets",
                "type": "array"
              },
              "perforations": {
                "items": {
                  "$ref": "#/$defs/PerforationInterval"
                },
                "maxItems": 100,
                "minItems": 1,
                "title": "Perforations",
                "type": "array"
              }
            },
            "required": [
              "name",
              "coordinates",
              "targets",
              "perforations"
            ],
            "title": "ModeledWellDefinition",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "ObjectKind": {
            "enum": [
              "case",
              "view",
              "well"
            ],
            "title": "ObjectKind",
            "type": "string"
          },
          "ObjectRef": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "kind": {
                "$ref": "#/$defs/ObjectKind"
              },
              "object_id": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "context",
              "kind",
              "object_id"
            ],
            "title": "ObjectRef",
            "type": "object"
          },
          "PerforationInterval": {
            "additionalProperties": false,
            "description": "A measured-depth interval connects the path to intersected cells.",
            "properties": {
              "start_md_ft": {
                "minimum": 0,
                "title": "Start Md Ft",
                "type": "number"
              },
              "end_md_ft": {
                "minimum": 0,
                "title": "End Md Ft",
                "type": "number"
              },
              "diameter_ft": {
                "exclusiveMinimum": 0,
                "title": "Diameter Ft",
                "type": "number"
              },
              "skin": {
                "default": 0.0,
                "minimum": 0,
                "title": "Skin",
                "type": "number"
              }
            },
            "required": [
              "start_md_ft",
              "end_md_ft",
              "diameter_ft"
            ],
            "title": "PerforationInterval",
            "type": "object"
          },
          "PreparedCase": {
            "additionalProperties": false,
            "description": "Only the native service can issue a trusted model and case binding.",
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "case": {
                "$ref": "#/$defs/ObjectRef"
              },
              "receipt": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "model",
              "case",
              "receipt"
            ],
            "title": "PreparedCase",
            "type": "object"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_CompletionExport_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/CompletionExport"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[CompletionExport]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "TrajectoryPoint": {
            "additionalProperties": false,
            "description": "Local coordinates use feet and positive-down depth.",
            "properties": {
              "x_ft": {
                "title": "X Ft",
                "type": "number"
              },
              "y_ft": {
                "title": "Y Ft",
                "type": "number"
              },
              "depth_ft": {
                "title": "Depth Ft",
                "type": "number"
              }
            },
            "required": [
              "x_ft",
              "y_ft",
              "depth_ft"
            ],
            "title": "TrajectoryPoint",
            "type": "object"
          },
          "TrajectorySample": {
            "additionalProperties": false,
            "properties": {
              "x_ft": {
                "title": "X Ft",
                "type": "number"
              },
              "y_ft": {
                "title": "Y Ft",
                "type": "number"
              },
              "depth_ft": {
                "title": "Depth Ft",
                "type": "number"
              },
              "measured_depth_ft": {
                "minimum": 0,
                "title": "Measured Depth Ft",
                "type": "number"
              }
            },
            "required": [
              "x_ft",
              "y_ft",
              "depth_ft",
              "measured_depth_ft"
            ],
            "title": "TrajectorySample",
            "type": "object"
          },
          "Unit": {
            "enum": [
              "m",
              "ft",
              "Pa",
              "bar",
              "psi",
              "s",
              "day",
              "1",
              "stb/day"
            ],
            "title": "Unit",
            "type": "string"
          },
          "WellName": {
            "maxLength": 8,
            "minLength": 1,
            "pattern": "^[A-Za-z][A-Za-z0-9_]*$",
            "type": "string"
          },
          "WellStatus": {
            "enum": [
              "OPEN",
              "SHUT"
            ],
            "title": "WellStatus",
            "type": "string"
          },
          "Wellhead": {
            "additionalProperties": false,
            "description": "Indices are zero-based; a missing reference depth keeps the native default.",
            "properties": {
              "i": {
                "minimum": 0,
                "title": "I",
                "type": "integer"
              },
              "j": {
                "minimum": 0,
                "title": "J",
                "type": "integer"
              },
              "reference_depth_ft": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Reference Depth Ft"
              }
            },
            "required": [
              "i",
              "j"
            ],
            "title": "Wellhead",
            "type": "object"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_CompletionExport_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_CompletionExport_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[CompletionExport]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "model_publish_schedule",
      "title": null,
      "description": "Publish a child revision from native completions and explicit supported controls.",
      "inputSchema": {
        "$defs": {
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "FieldSurfaceRate": {
            "additionalProperties": false,
            "description": "A volume rate at surface conditions in FIELD units.",
            "properties": {
              "value": {
                "minimum": 0,
                "title": "Value",
                "type": "number"
              },
              "unit": {
                "enum": [
                  "stb/day",
                  "Mscf/day"
                ],
                "title": "Unit",
                "type": "string"
              }
            },
            "required": [
              "value",
              "unit"
            ],
            "title": "FieldSurfaceRate",
            "type": "object"
          },
          "InjectorControl": {
            "additionalProperties": false,
            "properties": {
              "kind": {
                "const": "injector",
                "default": "injector",
                "title": "Kind",
                "type": "string"
              },
              "status": {
                "$ref": "#/$defs/WellStatus"
              },
              "phase": {
                "enum": [
                  "WATER",
                  "GAS"
                ],
                "title": "Phase",
                "type": "string"
              },
              "mode": {
                "enum": [
                  "RATE",
                  "BHP"
                ],
                "title": "Mode",
                "type": "string"
              },
              "surface_rate": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/FieldSurfaceRate"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "bhp_psia": {
                "exclusiveMinimum": 0,
                "title": "Bhp Psia",
                "type": "number"
              }
            },
            "required": [
              "status",
              "phase",
              "mode",
              "bhp_psia"
            ],
            "title": "InjectorControl",
            "type": "object"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "ProducerControl": {
            "additionalProperties": false,
            "properties": {
              "kind": {
                "const": "producer",
                "default": "producer",
                "title": "Kind",
                "type": "string"
              },
              "status": {
                "$ref": "#/$defs/WellStatus"
              },
              "mode": {
                "enum": [
                  "ORAT",
                  "BHP"
                ],
                "title": "Mode",
                "type": "string"
              },
              "oil_rate": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/FieldSurfaceRate"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "bhp_psia": {
                "exclusiveMinimum": 0,
                "title": "Bhp Psia",
                "type": "number"
              }
            },
            "required": [
              "status",
              "mode",
              "bhp_psia"
            ],
            "title": "ProducerControl",
            "type": "object"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "ScheduledControl": {
            "additionalProperties": false,
            "properties": {
              "report_index": {
                "minimum": 0,
                "title": "Report Index",
                "type": "integer"
              },
              "control": {
                "$ref": "#/$defs/WellControl"
              }
            },
            "required": [
              "report_index",
              "control"
            ],
            "title": "ScheduledControl",
            "type": "object"
          },
          "ScheduledWell": {
            "additionalProperties": false,
            "description": "Replace one existing well's connections and selected report controls.",
            "properties": {
              "export": {
                "$ref": "#/$defs/ArtifactRef"
              },
              "controls": {
                "items": {
                  "$ref": "#/$defs/ScheduledControl"
                },
                "minItems": 1,
                "title": "Controls",
                "type": "array"
              }
            },
            "required": [
              "export",
              "controls"
            ],
            "title": "ScheduledWell",
            "type": "object"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "WellControl": {
            "discriminator": {
              "mapping": {
                "injector": "#/$defs/InjectorControl",
                "producer": "#/$defs/ProducerControl"
              },
              "propertyName": "kind"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/ProducerControl"
              },
              {
                "$ref": "#/$defs/InjectorControl"
              }
            ]
          },
          "WellStatus": {
            "enum": [
              "OPEN",
              "SHUT"
            ],
            "title": "WellStatus",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "description": "Edit requested existing wells while preserving every unrequested well.",
        "properties": {
          "parent": {
            "$ref": "#/$defs/ModelRef"
          },
          "wells": {
            "items": {
              "$ref": "#/$defs/ScheduledWell"
            },
            "maxItems": 100,
            "minItems": 1,
            "title": "Wells",
            "type": "array"
          }
        },
        "required": [
          "parent",
          "wells"
        ],
        "title": "WellScheduleRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "Backend": {
            "enum": [
              "opm_flow",
              "julia"
            ],
            "title": "Backend",
            "type": "string"
          },
          "CoordinateFrame": {
            "additionalProperties": false,
            "description": "Coordinates use a named local datum and an explicit Z direction.",
            "properties": {
              "length_unit": {
                "$ref": "#/$defs/Unit"
              },
              "depth_direction": {
                "$ref": "#/$defs/DepthDirection"
              },
              "datum": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "length_unit",
              "depth_direction",
              "datum"
            ],
            "title": "CoordinateFrame",
            "type": "object"
          },
          "DepthDirection": {
            "enum": [
              "positive_up",
              "positive_down"
            ],
            "title": "DepthDirection",
            "type": "string"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "ImportReceipt": {
            "additionalProperties": false,
            "properties": {
              "prepared": {
                "$ref": "#/$defs/PreparedModel"
              },
              "record": {
                "$ref": "#/$defs/ArtifactRef"
              },
              "summary": {
                "$ref": "#/$defs/ModelSummary"
              }
            },
            "required": [
              "prepared",
              "record",
              "summary"
            ],
            "title": "ImportReceipt",
            "type": "object"
          },
          "ModelInputs": {
            "additionalProperties": false,
            "properties": {
              "artifacts": {
                "items": {
                  "$ref": "#/$defs/ArtifactId"
                },
                "minItems": 1,
                "title": "Artifacts",
                "type": "array"
              },
              "entrypoint": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "artifacts",
              "entrypoint"
            ],
            "title": "ModelInputs",
            "type": "object"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "ModelRevision": {
            "additionalProperties": false,
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "inputs": {
                "$ref": "#/$defs/ModelInputs"
              },
              "unit_system": {
                "$ref": "#/$defs/UnitSystem"
              },
              "coordinates": {
                "$ref": "#/$defs/CoordinateFrame"
              },
              "parent": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ModelRef"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "model",
              "inputs",
              "unit_system",
              "coordinates"
            ],
            "title": "ModelRevision",
            "type": "object"
          },
          "ModelSummary": {
            "additionalProperties": false,
            "properties": {
              "parser_version": {
                "const": "2025.10",
                "default": "2025.10",
                "title": "Parser Version",
                "type": "string"
              },
              "support_profile": {
                "default": "spe1-field-v1",
                "enum": [
                  "spe1-field-v1",
                  "spe1-field-v2"
                ],
                "title": "Support Profile",
                "type": "string"
              },
              "unit_system": {
                "const": "FIELD",
                "default": "FIELD",
                "title": "Unit System",
                "type": "string"
              },
              "dimensions": {
                "maxItems": 3,
                "minItems": 3,
                "prefixItems": [
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  }
                ],
                "title": "Dimensions",
                "type": "array"
              },
              "active_cells": {
                "exclusiveMinimum": 0,
                "title": "Active Cells",
                "type": "integer"
              },
              "wells": {
                "items": {
                  "type": "string"
                },
                "title": "Wells",
                "type": "array"
              },
              "report_steps": {
                "exclusiveMinimum": 0,
                "title": "Report Steps",
                "type": "integer"
              },
              "elapsed_days": {
                "title": "Elapsed Days",
                "type": "number"
              },
              "keywords": {
                "items": {
                  "type": "string"
                },
                "title": "Keywords",
                "type": "array"
              }
            },
            "required": [
              "dimensions",
              "active_cells",
              "wells",
              "report_steps",
              "elapsed_days",
              "keywords"
            ],
            "title": "ModelSummary",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "PreparedModel": {
            "additionalProperties": false,
            "description": "Preparation verifies this fixed revision without editing its inputs.",
            "properties": {
              "revision": {
                "$ref": "#/$defs/ModelRevision"
              },
              "backend": {
                "$ref": "#/$defs/Backend"
              }
            },
            "required": [
              "revision",
              "backend"
            ],
            "title": "PreparedModel",
            "type": "object"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_ImportReceipt_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/ImportReceipt"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[ImportReceipt]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "Unit": {
            "enum": [
              "m",
              "ft",
              "Pa",
              "bar",
              "psi",
              "s",
              "day",
              "1",
              "stb/day"
            ],
            "title": "Unit",
            "type": "string"
          },
          "UnitSystem": {
            "enum": [
              "FIELD",
              "METRIC",
              "SI"
            ],
            "title": "UnitSystem",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_ImportReceipt_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_ImportReceipt_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[ImportReceipt]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "opm_collect",
      "title": null,
      "description": "Validate completed Flow outputs and publish their immutable accepted result.",
      "inputSchema": {
        "$defs": {
          "JobId": {
            "title": "JobId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "session_id": {
            "$ref": "#/$defs/SessionId"
          },
          "job_id": {
            "$ref": "#/$defs/JobId"
          }
        },
        "required": [
          "session_id",
          "job_id"
        ],
        "title": "JobRef",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ActiveCellMap": {
            "additionalProperties": false,
            "description": "Tuple order defines the zero-based active-array index.",
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "dimensions": {
                "maxItems": 3,
                "minItems": 3,
                "prefixItems": [
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  }
                ],
                "title": "Dimensions",
                "type": "array"
              },
              "cells": {
                "items": {
                  "$ref": "#/$defs/CellIndex"
                },
                "title": "Cells",
                "type": "array"
              }
            },
            "required": [
              "model",
              "grid_id",
              "dimensions",
              "cells"
            ],
            "title": "ActiveCellMap",
            "type": "object"
          },
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "CellIndex": {
            "additionalProperties": false,
            "description": "I, J, and K are zero-based structured-grid indices.",
            "properties": {
              "i": {
                "minimum": 0,
                "title": "I",
                "type": "integer"
              },
              "j": {
                "minimum": 0,
                "title": "J",
                "type": "integer"
              },
              "k": {
                "minimum": 0,
                "title": "K",
                "type": "integer"
              }
            },
            "required": [
              "i",
              "j",
              "k"
            ],
            "title": "CellIndex",
            "type": "object"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "GridId": {
            "title": "GridId",
            "type": "string"
          },
          "JobId": {
            "title": "JobId",
            "type": "string"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "NumericalAssessment": {
            "enum": [
              "not_assessed",
              "accepted",
              "rejected"
            ],
            "title": "NumericalAssessment",
            "type": "string"
          },
          "ReportSeries": {
            "additionalProperties": false,
            "properties": {
              "reports": {
                "items": {
                  "$ref": "#/$defs/ReportTime"
                },
                "minItems": 1,
                "title": "Reports",
                "type": "array"
              }
            },
            "required": [
              "reports"
            ],
            "title": "ReportSeries",
            "type": "object"
          },
          "ReportTime": {
            "additionalProperties": false,
            "description": "Simulator calendar dates have no implied timezone.",
            "properties": {
              "index": {
                "minimum": 0,
                "title": "Index",
                "type": "integer"
              },
              "elapsed_days": {
                "minimum": 0,
                "title": "Elapsed Days",
                "type": "number"
              },
              "calendar_date": {
                "format": "date",
                "title": "Calendar Date",
                "type": "string"
              }
            },
            "required": [
              "index",
              "elapsed_days",
              "calendar_date"
            ],
            "title": "ReportTime",
            "type": "object"
          },
          "Result": {
            "additionalProperties": false,
            "properties": {
              "result_id": {
                "$ref": "#/$defs/ResultId"
              },
              "job_id": {
                "$ref": "#/$defs/JobId"
              },
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "report_series": {
                "$ref": "#/$defs/ReportSeries"
              },
              "assessment": {
                "$ref": "#/$defs/NumericalAssessment",
                "default": "not_assessed"
              },
              "manifest": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ResultManifest"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "result_id",
              "job_id",
              "model",
              "grid_id",
              "report_series"
            ],
            "title": "Result",
            "type": "object"
          },
          "ResultId": {
            "title": "ResultId",
            "type": "string"
          },
          "ResultManifest": {
            "additionalProperties": false,
            "description": "Artifact names remain in the workspace artifact records.",
            "properties": {
              "outputs": {
                "items": {
                  "$ref": "#/$defs/ResultOutput"
                },
                "title": "Outputs",
                "type": "array"
              },
              "active_cells": {
                "$ref": "#/$defs/ActiveCellMap"
              },
              "restart_report_steps": {
                "items": {
                  "minimum": 0,
                  "type": "integer"
                },
                "title": "Restart Report Steps",
                "type": "array"
              },
              "numerical_data": {
                "$ref": "#/$defs/ArtifactRef"
              },
              "assessment_evidence": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "outputs",
              "active_cells",
              "restart_report_steps",
              "numerical_data",
              "assessment_evidence"
            ],
            "title": "ResultManifest",
            "type": "object"
          },
          "ResultOutput": {
            "additionalProperties": false,
            "properties": {
              "role": {
                "$ref": "#/$defs/ResultOutputRole"
              },
              "artifact": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "role",
              "artifact"
            ],
            "title": "ResultOutput",
            "type": "object"
          },
          "ResultOutputRole": {
            "enum": [
              "EGRID",
              "INIT",
              "UNRST",
              "SMSPEC",
              "UNSMRY"
            ],
            "title": "ResultOutputRole",
            "type": "string"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_Result_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/Result"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[Result]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_Result_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_Result_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[Result]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "result_get",
      "title": null,
      "description": "Read a stored result with exact model, grid, reports, and output references.",
      "inputSchema": {
        "$defs": {
          "ResultId": {
            "title": "ResultId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "session_id": {
            "$ref": "#/$defs/SessionId"
          },
          "result_id": {
            "$ref": "#/$defs/ResultId"
          }
        },
        "required": [
          "session_id",
          "result_id"
        ],
        "title": "ResultRef",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ActiveCellMap": {
            "additionalProperties": false,
            "description": "Tuple order defines the zero-based active-array index.",
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "dimensions": {
                "maxItems": 3,
                "minItems": 3,
                "prefixItems": [
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  }
                ],
                "title": "Dimensions",
                "type": "array"
              },
              "cells": {
                "items": {
                  "$ref": "#/$defs/CellIndex"
                },
                "title": "Cells",
                "type": "array"
              }
            },
            "required": [
              "model",
              "grid_id",
              "dimensions",
              "cells"
            ],
            "title": "ActiveCellMap",
            "type": "object"
          },
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "CellIndex": {
            "additionalProperties": false,
            "description": "I, J, and K are zero-based structured-grid indices.",
            "properties": {
              "i": {
                "minimum": 0,
                "title": "I",
                "type": "integer"
              },
              "j": {
                "minimum": 0,
                "title": "J",
                "type": "integer"
              },
              "k": {
                "minimum": 0,
                "title": "K",
                "type": "integer"
              }
            },
            "required": [
              "i",
              "j",
              "k"
            ],
            "title": "CellIndex",
            "type": "object"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "GridId": {
            "title": "GridId",
            "type": "string"
          },
          "JobId": {
            "title": "JobId",
            "type": "string"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "NumericalAssessment": {
            "enum": [
              "not_assessed",
              "accepted",
              "rejected"
            ],
            "title": "NumericalAssessment",
            "type": "string"
          },
          "ReportSeries": {
            "additionalProperties": false,
            "properties": {
              "reports": {
                "items": {
                  "$ref": "#/$defs/ReportTime"
                },
                "minItems": 1,
                "title": "Reports",
                "type": "array"
              }
            },
            "required": [
              "reports"
            ],
            "title": "ReportSeries",
            "type": "object"
          },
          "ReportTime": {
            "additionalProperties": false,
            "description": "Simulator calendar dates have no implied timezone.",
            "properties": {
              "index": {
                "minimum": 0,
                "title": "Index",
                "type": "integer"
              },
              "elapsed_days": {
                "minimum": 0,
                "title": "Elapsed Days",
                "type": "number"
              },
              "calendar_date": {
                "format": "date",
                "title": "Calendar Date",
                "type": "string"
              }
            },
            "required": [
              "index",
              "elapsed_days",
              "calendar_date"
            ],
            "title": "ReportTime",
            "type": "object"
          },
          "Result": {
            "additionalProperties": false,
            "properties": {
              "result_id": {
                "$ref": "#/$defs/ResultId"
              },
              "job_id": {
                "$ref": "#/$defs/JobId"
              },
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "report_series": {
                "$ref": "#/$defs/ReportSeries"
              },
              "assessment": {
                "$ref": "#/$defs/NumericalAssessment",
                "default": "not_assessed"
              },
              "manifest": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ResultManifest"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "result_id",
              "job_id",
              "model",
              "grid_id",
              "report_series"
            ],
            "title": "Result",
            "type": "object"
          },
          "ResultId": {
            "title": "ResultId",
            "type": "string"
          },
          "ResultManifest": {
            "additionalProperties": false,
            "description": "Artifact names remain in the workspace artifact records.",
            "properties": {
              "outputs": {
                "items": {
                  "$ref": "#/$defs/ResultOutput"
                },
                "title": "Outputs",
                "type": "array"
              },
              "active_cells": {
                "$ref": "#/$defs/ActiveCellMap"
              },
              "restart_report_steps": {
                "items": {
                  "minimum": 0,
                  "type": "integer"
                },
                "title": "Restart Report Steps",
                "type": "array"
              },
              "numerical_data": {
                "$ref": "#/$defs/ArtifactRef"
              },
              "assessment_evidence": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "outputs",
              "active_cells",
              "restart_report_steps",
              "numerical_data",
              "assessment_evidence"
            ],
            "title": "ResultManifest",
            "type": "object"
          },
          "ResultOutput": {
            "additionalProperties": false,
            "properties": {
              "role": {
                "$ref": "#/$defs/ResultOutputRole"
              },
              "artifact": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "role",
              "artifact"
            ],
            "title": "ResultOutput",
            "type": "object"
          },
          "ResultOutputRole": {
            "enum": [
              "EGRID",
              "INIT",
              "UNRST",
              "SMSPEC",
              "UNSMRY"
            ],
            "title": "ResultOutputRole",
            "type": "string"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_Result_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/Result"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[Result]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_Result_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_Result_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[Result]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "result_load",
      "title": null,
      "description": "Load verified grid and summary files from an accepted stored Flow result.",
      "inputSchema": {
        "$defs": {
          "ActiveCellMap": {
            "additionalProperties": false,
            "description": "Tuple order defines the zero-based active-array index.",
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "dimensions": {
                "maxItems": 3,
                "minItems": 3,
                "prefixItems": [
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  }
                ],
                "title": "Dimensions",
                "type": "array"
              },
              "cells": {
                "items": {
                  "$ref": "#/$defs/CellIndex"
                },
                "title": "Cells",
                "type": "array"
              }
            },
            "required": [
              "model",
              "grid_id",
              "dimensions",
              "cells"
            ],
            "title": "ActiveCellMap",
            "type": "object"
          },
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "Backend": {
            "enum": [
              "opm_flow",
              "julia"
            ],
            "title": "Backend",
            "type": "string"
          },
          "CellIndex": {
            "additionalProperties": false,
            "description": "I, J, and K are zero-based structured-grid indices.",
            "properties": {
              "i": {
                "minimum": 0,
                "title": "I",
                "type": "integer"
              },
              "j": {
                "minimum": 0,
                "title": "J",
                "type": "integer"
              },
              "k": {
                "minimum": 0,
                "title": "K",
                "type": "integer"
              }
            },
            "required": [
              "i",
              "j",
              "k"
            ],
            "title": "CellIndex",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "DockerExecution": {
            "additionalProperties": false,
            "description": "Record container ownership and expected program version before launch.",
            "properties": {
              "image_digest": {
                "$ref": "#/$defs/Text"
              },
              "platform": {
                "$ref": "#/$defs/Text"
              },
              "container_name": {
                "$ref": "#/$defs/Text"
              },
              "ownership_token": {
                "$ref": "#/$defs/Text"
              },
              "program_version": {
                "$ref": "#/$defs/Text"
              },
              "docker_client_version": {
                "$ref": "#/$defs/Text"
              },
              "docker_server_version": {
                "$ref": "#/$defs/Text"
              },
              "command": {
                "items": {
                  "$ref": "#/$defs/Text"
                },
                "title": "Command",
                "type": "array"
              },
              "mounts": {
                "items": {
                  "$ref": "#/$defs/DockerMount"
                },
                "title": "Mounts",
                "type": "array"
              },
              "working_directory": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "image_digest",
              "platform",
              "container_name",
              "ownership_token",
              "program_version",
              "docker_client_version",
              "docker_server_version",
              "command",
              "mounts",
              "working_directory"
            ],
            "title": "DockerExecution",
            "type": "object"
          },
          "DockerMount": {
            "additionalProperties": false,
            "properties": {
              "source": {
                "$ref": "#/$defs/Text"
              },
              "target": {
                "$ref": "#/$defs/Text"
              },
              "read_only": {
                "title": "Read Only",
                "type": "boolean"
              }
            },
            "required": [
              "source",
              "target",
              "read_only"
            ],
            "title": "DockerMount",
            "type": "object"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "GridId": {
            "title": "GridId",
            "type": "string"
          },
          "Job": {
            "additionalProperties": false,
            "properties": {
              "job_id": {
                "$ref": "#/$defs/JobId"
              },
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "backend": {
                "$ref": "#/$defs/Backend"
              },
              "state": {
                "$ref": "#/$defs/JobState"
              },
              "cancel_requested": {
                "default": false,
                "title": "Cancel Requested",
                "type": "boolean"
              },
              "termination_confirmed": {
                "default": false,
                "title": "Termination Confirmed",
                "type": "boolean"
              },
              "exit_code": {
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Exit Code"
              },
              "error": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Error"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "submission": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/JobSubmission"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "supervisor": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ProcessIdentity"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "process": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ProcessIdentity"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "process_group_id": {
                "anyOf": [
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null,
                "title": "Process Group Id"
              },
              "container_id": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Text"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "logs": {
                "default": [],
                "items": {
                  "$ref": "#/$defs/ArtifactRef"
                },
                "title": "Logs",
                "type": "array"
              },
              "events": {
                "default": [],
                "items": {
                  "$ref": "#/$defs/JobEvent"
                },
                "title": "Events",
                "type": "array"
              }
            },
            "required": [
              "job_id",
              "model",
              "backend",
              "state"
            ],
            "title": "Job",
            "type": "object"
          },
          "JobEvent": {
            "additionalProperties": false,
            "properties": {
              "at": {
                "format": "date-time",
                "title": "At",
                "type": "string"
              },
              "state": {
                "$ref": "#/$defs/JobState"
              },
              "message": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "at",
              "state",
              "message"
            ],
            "title": "JobEvent",
            "type": "object"
          },
          "JobId": {
            "title": "JobId",
            "type": "string"
          },
          "JobState": {
            "enum": [
              "queued",
              "running",
              "succeeded",
              "failed",
              "canceled",
              "unknown"
            ],
            "title": "JobState",
            "type": "string"
          },
          "JobSubmission": {
            "additionalProperties": false,
            "properties": {
              "limits": {
                "$ref": "#/$defs/ResourceLimits"
              },
              "resource_policy": {
                "$ref": "#/$defs/ResourcePolicy"
              },
              "argv": {
                "items": {
                  "type": "string"
                },
                "title": "Argv",
                "type": "array"
              },
              "working_directory": {
                "title": "Working Directory",
                "type": "string"
              },
              "submitted_at": {
                "format": "date-time",
                "title": "Submitted At",
                "type": "string"
              },
              "execution": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/DockerExecution"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "run_metadata": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ArtifactRef"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "limits",
              "resource_policy",
              "argv",
              "working_directory",
              "submitted_at"
            ],
            "title": "JobSubmission",
            "type": "object"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "NumericalAssessment": {
            "enum": [
              "not_assessed",
              "accepted",
              "rejected"
            ],
            "title": "NumericalAssessment",
            "type": "string"
          },
          "ProcessIdentity": {
            "additionalProperties": false,
            "description": "A PID and a host-derived start marker identify one process lifetime.",
            "properties": {
              "pid": {
                "exclusiveMinimum": 0,
                "title": "Pid",
                "type": "integer"
              },
              "start_marker": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "pid",
              "start_marker"
            ],
            "title": "ProcessIdentity",
            "type": "object"
          },
          "ReportSeries": {
            "additionalProperties": false,
            "properties": {
              "reports": {
                "items": {
                  "$ref": "#/$defs/ReportTime"
                },
                "minItems": 1,
                "title": "Reports",
                "type": "array"
              }
            },
            "required": [
              "reports"
            ],
            "title": "ReportSeries",
            "type": "object"
          },
          "ReportTime": {
            "additionalProperties": false,
            "description": "Simulator calendar dates have no implied timezone.",
            "properties": {
              "index": {
                "minimum": 0,
                "title": "Index",
                "type": "integer"
              },
              "elapsed_days": {
                "minimum": 0,
                "title": "Elapsed Days",
                "type": "number"
              },
              "calendar_date": {
                "format": "date",
                "title": "Calendar Date",
                "type": "string"
              }
            },
            "required": [
              "index",
              "elapsed_days",
              "calendar_date"
            ],
            "title": "ReportTime",
            "type": "object"
          },
          "ResourceLimits": {
            "additionalProperties": false,
            "properties": {
              "cpu_count": {
                "exclusiveMinimum": 0,
                "title": "Cpu Count",
                "type": "integer"
              },
              "memory_mib": {
                "exclusiveMinimum": 0,
                "title": "Memory Mib",
                "type": "integer"
              },
              "wall_time_seconds": {
                "exclusiveMinimum": 0,
                "title": "Wall Time Seconds",
                "type": "integer"
              }
            },
            "required": [
              "cpu_count",
              "memory_mib",
              "wall_time_seconds"
            ],
            "title": "ResourceLimits",
            "type": "object"
          },
          "ResourcePolicy": {
            "enum": [
              "enforce",
              "wall_time_only"
            ],
            "title": "ResourcePolicy",
            "type": "string"
          },
          "Result": {
            "additionalProperties": false,
            "properties": {
              "result_id": {
                "$ref": "#/$defs/ResultId"
              },
              "job_id": {
                "$ref": "#/$defs/JobId"
              },
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "report_series": {
                "$ref": "#/$defs/ReportSeries"
              },
              "assessment": {
                "$ref": "#/$defs/NumericalAssessment",
                "default": "not_assessed"
              },
              "manifest": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ResultManifest"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "result_id",
              "job_id",
              "model",
              "grid_id",
              "report_series"
            ],
            "title": "Result",
            "type": "object"
          },
          "ResultId": {
            "title": "ResultId",
            "type": "string"
          },
          "ResultManifest": {
            "additionalProperties": false,
            "description": "Artifact names remain in the workspace artifact records.",
            "properties": {
              "outputs": {
                "items": {
                  "$ref": "#/$defs/ResultOutput"
                },
                "title": "Outputs",
                "type": "array"
              },
              "active_cells": {
                "$ref": "#/$defs/ActiveCellMap"
              },
              "restart_report_steps": {
                "items": {
                  "minimum": 0,
                  "type": "integer"
                },
                "title": "Restart Report Steps",
                "type": "array"
              },
              "numerical_data": {
                "$ref": "#/$defs/ArtifactRef"
              },
              "assessment_evidence": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "outputs",
              "active_cells",
              "restart_report_steps",
              "numerical_data",
              "assessment_evidence"
            ],
            "title": "ResultManifest",
            "type": "object"
          },
          "ResultOutput": {
            "additionalProperties": false,
            "properties": {
              "role": {
                "$ref": "#/$defs/ResultOutputRole"
              },
              "artifact": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "role",
              "artifact"
            ],
            "title": "ResultOutput",
            "type": "object"
          },
          "ResultOutputRole": {
            "enum": [
              "EGRID",
              "INIT",
              "UNRST",
              "SMSPEC",
              "UNSMRY"
            ],
            "title": "ResultOutputRole",
            "type": "string"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "context": {
            "$ref": "#/$defs/ApplicationContext"
          },
          "job": {
            "$ref": "#/$defs/Job"
          },
          "result": {
            "$ref": "#/$defs/Result"
          }
        },
        "required": [
          "context",
          "job",
          "result"
        ],
        "title": "ResultImportRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ActiveCellMap": {
            "additionalProperties": false,
            "description": "Tuple order defines the zero-based active-array index.",
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "dimensions": {
                "maxItems": 3,
                "minItems": 3,
                "prefixItems": [
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  }
                ],
                "title": "Dimensions",
                "type": "array"
              },
              "cells": {
                "items": {
                  "$ref": "#/$defs/CellIndex"
                },
                "title": "Cells",
                "type": "array"
              }
            },
            "required": [
              "model",
              "grid_id",
              "dimensions",
              "cells"
            ],
            "title": "ActiveCellMap",
            "type": "object"
          },
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "CellIndex": {
            "additionalProperties": false,
            "description": "I, J, and K are zero-based structured-grid indices.",
            "properties": {
              "i": {
                "minimum": 0,
                "title": "I",
                "type": "integer"
              },
              "j": {
                "minimum": 0,
                "title": "J",
                "type": "integer"
              },
              "k": {
                "minimum": 0,
                "title": "K",
                "type": "integer"
              }
            },
            "required": [
              "i",
              "j",
              "k"
            ],
            "title": "CellIndex",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "GridId": {
            "title": "GridId",
            "type": "string"
          },
          "JobId": {
            "title": "JobId",
            "type": "string"
          },
          "LoadedResult": {
            "additionalProperties": false,
            "properties": {
              "case": {
                "$ref": "#/$defs/ObjectRef"
              },
              "result": {
                "$ref": "#/$defs/Result"
              }
            },
            "required": [
              "case",
              "result"
            ],
            "title": "LoadedResult",
            "type": "object"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "NumericalAssessment": {
            "enum": [
              "not_assessed",
              "accepted",
              "rejected"
            ],
            "title": "NumericalAssessment",
            "type": "string"
          },
          "ObjectKind": {
            "enum": [
              "case",
              "view",
              "well"
            ],
            "title": "ObjectKind",
            "type": "string"
          },
          "ObjectRef": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "kind": {
                "$ref": "#/$defs/ObjectKind"
              },
              "object_id": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "context",
              "kind",
              "object_id"
            ],
            "title": "ObjectRef",
            "type": "object"
          },
          "ReportSeries": {
            "additionalProperties": false,
            "properties": {
              "reports": {
                "items": {
                  "$ref": "#/$defs/ReportTime"
                },
                "minItems": 1,
                "title": "Reports",
                "type": "array"
              }
            },
            "required": [
              "reports"
            ],
            "title": "ReportSeries",
            "type": "object"
          },
          "ReportTime": {
            "additionalProperties": false,
            "description": "Simulator calendar dates have no implied timezone.",
            "properties": {
              "index": {
                "minimum": 0,
                "title": "Index",
                "type": "integer"
              },
              "elapsed_days": {
                "minimum": 0,
                "title": "Elapsed Days",
                "type": "number"
              },
              "calendar_date": {
                "format": "date",
                "title": "Calendar Date",
                "type": "string"
              }
            },
            "required": [
              "index",
              "elapsed_days",
              "calendar_date"
            ],
            "title": "ReportTime",
            "type": "object"
          },
          "Result": {
            "additionalProperties": false,
            "properties": {
              "result_id": {
                "$ref": "#/$defs/ResultId"
              },
              "job_id": {
                "$ref": "#/$defs/JobId"
              },
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "report_series": {
                "$ref": "#/$defs/ReportSeries"
              },
              "assessment": {
                "$ref": "#/$defs/NumericalAssessment",
                "default": "not_assessed"
              },
              "manifest": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ResultManifest"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "result_id",
              "job_id",
              "model",
              "grid_id",
              "report_series"
            ],
            "title": "Result",
            "type": "object"
          },
          "ResultId": {
            "title": "ResultId",
            "type": "string"
          },
          "ResultManifest": {
            "additionalProperties": false,
            "description": "Artifact names remain in the workspace artifact records.",
            "properties": {
              "outputs": {
                "items": {
                  "$ref": "#/$defs/ResultOutput"
                },
                "title": "Outputs",
                "type": "array"
              },
              "active_cells": {
                "$ref": "#/$defs/ActiveCellMap"
              },
              "restart_report_steps": {
                "items": {
                  "minimum": 0,
                  "type": "integer"
                },
                "title": "Restart Report Steps",
                "type": "array"
              },
              "numerical_data": {
                "$ref": "#/$defs/ArtifactRef"
              },
              "assessment_evidence": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "outputs",
              "active_cells",
              "restart_report_steps",
              "numerical_data",
              "assessment_evidence"
            ],
            "title": "ResultManifest",
            "type": "object"
          },
          "ResultOutput": {
            "additionalProperties": false,
            "properties": {
              "role": {
                "$ref": "#/$defs/ResultOutputRole"
              },
              "artifact": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "role",
              "artifact"
            ],
            "title": "ResultOutput",
            "type": "object"
          },
          "ResultOutputRole": {
            "enum": [
              "EGRID",
              "INIT",
              "UNRST",
              "SMSPEC",
              "UNSMRY"
            ],
            "title": "ResultOutputRole",
            "type": "string"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_LoadedResult_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/LoadedResult"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[LoadedResult]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_LoadedResult_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_LoadedResult_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[LoadedResult]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "result_rebind",
      "title": null,
      "description": "Verify native result cases and bind them to the current project.",
      "inputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "ResultId": {
            "title": "ResultId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "context": {
            "$ref": "#/$defs/ApplicationContext"
          },
          "result_ids": {
            "items": {
              "$ref": "#/$defs/ResultId"
            },
            "title": "Result Ids",
            "type": "array"
          }
        },
        "required": [
          "context",
          "result_ids"
        ],
        "title": "ResultBindingsRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ActiveCellMap": {
            "additionalProperties": false,
            "description": "Tuple order defines the zero-based active-array index.",
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "dimensions": {
                "maxItems": 3,
                "minItems": 3,
                "prefixItems": [
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  }
                ],
                "title": "Dimensions",
                "type": "array"
              },
              "cells": {
                "items": {
                  "$ref": "#/$defs/CellIndex"
                },
                "title": "Cells",
                "type": "array"
              }
            },
            "required": [
              "model",
              "grid_id",
              "dimensions",
              "cells"
            ],
            "title": "ActiveCellMap",
            "type": "object"
          },
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "CellIndex": {
            "additionalProperties": false,
            "description": "I, J, and K are zero-based structured-grid indices.",
            "properties": {
              "i": {
                "minimum": 0,
                "title": "I",
                "type": "integer"
              },
              "j": {
                "minimum": 0,
                "title": "J",
                "type": "integer"
              },
              "k": {
                "minimum": 0,
                "title": "K",
                "type": "integer"
              }
            },
            "required": [
              "i",
              "j",
              "k"
            ],
            "title": "CellIndex",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "GridId": {
            "title": "GridId",
            "type": "string"
          },
          "JobId": {
            "title": "JobId",
            "type": "string"
          },
          "LoadedResult": {
            "additionalProperties": false,
            "properties": {
              "case": {
                "$ref": "#/$defs/ObjectRef"
              },
              "result": {
                "$ref": "#/$defs/Result"
              }
            },
            "required": [
              "case",
              "result"
            ],
            "title": "LoadedResult",
            "type": "object"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "NumericalAssessment": {
            "enum": [
              "not_assessed",
              "accepted",
              "rejected"
            ],
            "title": "NumericalAssessment",
            "type": "string"
          },
          "ObjectKind": {
            "enum": [
              "case",
              "view",
              "well"
            ],
            "title": "ObjectKind",
            "type": "string"
          },
          "ObjectRef": {
            "additionalProperties": false,
            "properties": {
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "kind": {
                "$ref": "#/$defs/ObjectKind"
              },
              "object_id": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "context",
              "kind",
              "object_id"
            ],
            "title": "ObjectRef",
            "type": "object"
          },
          "ReportSeries": {
            "additionalProperties": false,
            "properties": {
              "reports": {
                "items": {
                  "$ref": "#/$defs/ReportTime"
                },
                "minItems": 1,
                "title": "Reports",
                "type": "array"
              }
            },
            "required": [
              "reports"
            ],
            "title": "ReportSeries",
            "type": "object"
          },
          "ReportTime": {
            "additionalProperties": false,
            "description": "Simulator calendar dates have no implied timezone.",
            "properties": {
              "index": {
                "minimum": 0,
                "title": "Index",
                "type": "integer"
              },
              "elapsed_days": {
                "minimum": 0,
                "title": "Elapsed Days",
                "type": "number"
              },
              "calendar_date": {
                "format": "date",
                "title": "Calendar Date",
                "type": "string"
              }
            },
            "required": [
              "index",
              "elapsed_days",
              "calendar_date"
            ],
            "title": "ReportTime",
            "type": "object"
          },
          "Result": {
            "additionalProperties": false,
            "properties": {
              "result_id": {
                "$ref": "#/$defs/ResultId"
              },
              "job_id": {
                "$ref": "#/$defs/JobId"
              },
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "report_series": {
                "$ref": "#/$defs/ReportSeries"
              },
              "assessment": {
                "$ref": "#/$defs/NumericalAssessment",
                "default": "not_assessed"
              },
              "manifest": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ResultManifest"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "result_id",
              "job_id",
              "model",
              "grid_id",
              "report_series"
            ],
            "title": "Result",
            "type": "object"
          },
          "ResultId": {
            "title": "ResultId",
            "type": "string"
          },
          "ResultManifest": {
            "additionalProperties": false,
            "description": "Artifact names remain in the workspace artifact records.",
            "properties": {
              "outputs": {
                "items": {
                  "$ref": "#/$defs/ResultOutput"
                },
                "title": "Outputs",
                "type": "array"
              },
              "active_cells": {
                "$ref": "#/$defs/ActiveCellMap"
              },
              "restart_report_steps": {
                "items": {
                  "minimum": 0,
                  "type": "integer"
                },
                "title": "Restart Report Steps",
                "type": "array"
              },
              "numerical_data": {
                "$ref": "#/$defs/ArtifactRef"
              },
              "assessment_evidence": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "outputs",
              "active_cells",
              "restart_report_steps",
              "numerical_data",
              "assessment_evidence"
            ],
            "title": "ResultManifest",
            "type": "object"
          },
          "ResultOutput": {
            "additionalProperties": false,
            "properties": {
              "role": {
                "$ref": "#/$defs/ResultOutputRole"
              },
              "artifact": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "role",
              "artifact"
            ],
            "title": "ResultOutput",
            "type": "object"
          },
          "ResultOutputRole": {
            "enum": [
              "EGRID",
              "INIT",
              "UNRST",
              "SMSPEC",
              "UNSMRY"
            ],
            "title": "ResultOutputRole",
            "type": "string"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_tuple_LoadedResult__________": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "items": {
                  "$ref": "#/$defs/LoadedResult"
                },
                "title": "Value",
                "type": "array"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[tuple[LoadedResult, ...]]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_tuple_LoadedResult__________"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_tuple_LoadedResult__________"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[tuple[LoadedResult, ...]]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "result_cell_property",
      "title": null,
      "description": "Read accepted PRESSURE, SWAT, or SGAS with units, geometry, and report time.",
      "inputSchema": {
        "$defs": {
          "ReportTime": {
            "additionalProperties": false,
            "description": "Simulator calendar dates have no implied timezone.",
            "properties": {
              "index": {
                "minimum": 0,
                "title": "Index",
                "type": "integer"
              },
              "elapsed_days": {
                "minimum": 0,
                "title": "Elapsed Days",
                "type": "number"
              },
              "calendar_date": {
                "format": "date",
                "title": "Calendar Date",
                "type": "string"
              }
            },
            "required": [
              "index",
              "elapsed_days",
              "calendar_date"
            ],
            "title": "ReportTime",
            "type": "object"
          },
          "ResultId": {
            "title": "ResultId",
            "type": "string"
          },
          "ResultRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "result_id": {
                "$ref": "#/$defs/ResultId"
              }
            },
            "required": [
              "session_id",
              "result_id"
            ],
            "title": "ResultRef",
            "type": "object"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "result": {
            "$ref": "#/$defs/ResultRef"
          },
          "property": {
            "$ref": "#/$defs/Text"
          },
          "report_time": {
            "$ref": "#/$defs/ReportTime"
          }
        },
        "required": [
          "result",
          "property",
          "report_time"
        ],
        "title": "CellQuery",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ActiveCellMap": {
            "additionalProperties": false,
            "description": "Tuple order defines the zero-based active-array index.",
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "dimensions": {
                "maxItems": 3,
                "minItems": 3,
                "prefixItems": [
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  }
                ],
                "title": "Dimensions",
                "type": "array"
              },
              "cells": {
                "items": {
                  "$ref": "#/$defs/CellIndex"
                },
                "title": "Cells",
                "type": "array"
              }
            },
            "required": [
              "model",
              "grid_id",
              "dimensions",
              "cells"
            ],
            "title": "ActiveCellMap",
            "type": "object"
          },
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "CellCorners": {
            "maxItems": 8,
            "minItems": 8,
            "prefixItems": [
              {
                "$ref": "#/$defs/Point3D"
              },
              {
                "$ref": "#/$defs/Point3D"
              },
              {
                "$ref": "#/$defs/Point3D"
              },
              {
                "$ref": "#/$defs/Point3D"
              },
              {
                "$ref": "#/$defs/Point3D"
              },
              {
                "$ref": "#/$defs/Point3D"
              },
              {
                "$ref": "#/$defs/Point3D"
              },
              {
                "$ref": "#/$defs/Point3D"
              }
            ],
            "type": "array"
          },
          "CellIndex": {
            "additionalProperties": false,
            "description": "I, J, and K are zero-based structured-grid indices.",
            "properties": {
              "i": {
                "minimum": 0,
                "title": "I",
                "type": "integer"
              },
              "j": {
                "minimum": 0,
                "title": "J",
                "type": "integer"
              },
              "k": {
                "minimum": 0,
                "title": "K",
                "type": "integer"
              }
            },
            "required": [
              "i",
              "j",
              "k"
            ],
            "title": "CellIndex",
            "type": "object"
          },
          "CellValues": {
            "additionalProperties": false,
            "properties": {
              "result": {
                "$ref": "#/$defs/Result"
              },
              "active_cells": {
                "$ref": "#/$defs/ActiveCellMap"
              },
              "geometry": {
                "$ref": "#/$defs/GridGeometry"
              },
              "property": {
                "$ref": "#/$defs/Text"
              },
              "unit": {
                "$ref": "#/$defs/Unit"
              },
              "report_time": {
                "$ref": "#/$defs/ReportTime"
              },
              "values": {
                "items": {
                  "type": "number"
                },
                "title": "Values",
                "type": "array"
              }
            },
            "required": [
              "result",
              "active_cells",
              "geometry",
              "property",
              "unit",
              "report_time",
              "values"
            ],
            "title": "CellValues",
            "type": "object"
          },
          "CoordinateFrame": {
            "additionalProperties": false,
            "description": "Coordinates use a named local datum and an explicit Z direction.",
            "properties": {
              "length_unit": {
                "$ref": "#/$defs/Unit"
              },
              "depth_direction": {
                "$ref": "#/$defs/DepthDirection"
              },
              "datum": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "length_unit",
              "depth_direction",
              "datum"
            ],
            "title": "CoordinateFrame",
            "type": "object"
          },
          "DepthDirection": {
            "enum": [
              "positive_up",
              "positive_down"
            ],
            "title": "DepthDirection",
            "type": "string"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "GridGeometry": {
            "additionalProperties": false,
            "description": "Rows follow active-cell order, with eight corners in OPM EGRID order.",
            "properties": {
              "coordinates": {
                "$ref": "#/$defs/CoordinateFrame"
              },
              "cell_corners": {
                "items": {
                  "$ref": "#/$defs/CellCorners"
                },
                "title": "Cell Corners",
                "type": "array"
              }
            },
            "required": [
              "coordinates",
              "cell_corners"
            ],
            "title": "GridGeometry",
            "type": "object"
          },
          "GridId": {
            "title": "GridId",
            "type": "string"
          },
          "JobId": {
            "title": "JobId",
            "type": "string"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "NumericalAssessment": {
            "enum": [
              "not_assessed",
              "accepted",
              "rejected"
            ],
            "title": "NumericalAssessment",
            "type": "string"
          },
          "Point3D": {
            "maxItems": 3,
            "minItems": 3,
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "type": "array"
          },
          "ReportSeries": {
            "additionalProperties": false,
            "properties": {
              "reports": {
                "items": {
                  "$ref": "#/$defs/ReportTime"
                },
                "minItems": 1,
                "title": "Reports",
                "type": "array"
              }
            },
            "required": [
              "reports"
            ],
            "title": "ReportSeries",
            "type": "object"
          },
          "ReportTime": {
            "additionalProperties": false,
            "description": "Simulator calendar dates have no implied timezone.",
            "properties": {
              "index": {
                "minimum": 0,
                "title": "Index",
                "type": "integer"
              },
              "elapsed_days": {
                "minimum": 0,
                "title": "Elapsed Days",
                "type": "number"
              },
              "calendar_date": {
                "format": "date",
                "title": "Calendar Date",
                "type": "string"
              }
            },
            "required": [
              "index",
              "elapsed_days",
              "calendar_date"
            ],
            "title": "ReportTime",
            "type": "object"
          },
          "Result": {
            "additionalProperties": false,
            "properties": {
              "result_id": {
                "$ref": "#/$defs/ResultId"
              },
              "job_id": {
                "$ref": "#/$defs/JobId"
              },
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "report_series": {
                "$ref": "#/$defs/ReportSeries"
              },
              "assessment": {
                "$ref": "#/$defs/NumericalAssessment",
                "default": "not_assessed"
              },
              "manifest": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ResultManifest"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "result_id",
              "job_id",
              "model",
              "grid_id",
              "report_series"
            ],
            "title": "Result",
            "type": "object"
          },
          "ResultId": {
            "title": "ResultId",
            "type": "string"
          },
          "ResultManifest": {
            "additionalProperties": false,
            "description": "Artifact names remain in the workspace artifact records.",
            "properties": {
              "outputs": {
                "items": {
                  "$ref": "#/$defs/ResultOutput"
                },
                "title": "Outputs",
                "type": "array"
              },
              "active_cells": {
                "$ref": "#/$defs/ActiveCellMap"
              },
              "restart_report_steps": {
                "items": {
                  "minimum": 0,
                  "type": "integer"
                },
                "title": "Restart Report Steps",
                "type": "array"
              },
              "numerical_data": {
                "$ref": "#/$defs/ArtifactRef"
              },
              "assessment_evidence": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "outputs",
              "active_cells",
              "restart_report_steps",
              "numerical_data",
              "assessment_evidence"
            ],
            "title": "ResultManifest",
            "type": "object"
          },
          "ResultOutput": {
            "additionalProperties": false,
            "properties": {
              "role": {
                "$ref": "#/$defs/ResultOutputRole"
              },
              "artifact": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "role",
              "artifact"
            ],
            "title": "ResultOutput",
            "type": "object"
          },
          "ResultOutputRole": {
            "enum": [
              "EGRID",
              "INIT",
              "UNRST",
              "SMSPEC",
              "UNSMRY"
            ],
            "title": "ResultOutputRole",
            "type": "string"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_CellValues_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/CellValues"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[CellValues]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "Unit": {
            "enum": [
              "m",
              "ft",
              "Pa",
              "bar",
              "psi",
              "s",
              "day",
              "1",
              "stb/day"
            ],
            "title": "Unit",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_CellValues_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_CellValues_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[CellValues]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "result_curve",
      "title": null,
      "description": "Read accepted FOPR or well WBHP values with units and report times.",
      "inputSchema": {
        "$defs": {
          "ResultId": {
            "title": "ResultId",
            "type": "string"
          },
          "ResultRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "result_id": {
                "$ref": "#/$defs/ResultId"
              }
            },
            "required": [
              "session_id",
              "result_id"
            ],
            "title": "ResultRef",
            "type": "object"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "result": {
            "$ref": "#/$defs/ResultRef"
          },
          "scope": {
            "enum": [
              "field",
              "well"
            ],
            "title": "Scope",
            "type": "string"
          },
          "keyword": {
            "$ref": "#/$defs/Text"
          },
          "well_name": {
            "anyOf": [
              {
                "$ref": "#/$defs/Text"
              },
              {
                "type": "null"
              }
            ],
            "default": null
          }
        },
        "required": [
          "result",
          "scope",
          "keyword"
        ],
        "title": "CurveQuery",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ActiveCellMap": {
            "additionalProperties": false,
            "description": "Tuple order defines the zero-based active-array index.",
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "dimensions": {
                "maxItems": 3,
                "minItems": 3,
                "prefixItems": [
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  }
                ],
                "title": "Dimensions",
                "type": "array"
              },
              "cells": {
                "items": {
                  "$ref": "#/$defs/CellIndex"
                },
                "title": "Cells",
                "type": "array"
              }
            },
            "required": [
              "model",
              "grid_id",
              "dimensions",
              "cells"
            ],
            "title": "ActiveCellMap",
            "type": "object"
          },
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "CellIndex": {
            "additionalProperties": false,
            "description": "I, J, and K are zero-based structured-grid indices.",
            "properties": {
              "i": {
                "minimum": 0,
                "title": "I",
                "type": "integer"
              },
              "j": {
                "minimum": 0,
                "title": "J",
                "type": "integer"
              },
              "k": {
                "minimum": 0,
                "title": "K",
                "type": "integer"
              }
            },
            "required": [
              "i",
              "j",
              "k"
            ],
            "title": "CellIndex",
            "type": "object"
          },
          "CurveValues": {
            "additionalProperties": false,
            "properties": {
              "result": {
                "$ref": "#/$defs/Result"
              },
              "scope": {
                "enum": [
                  "field",
                  "well"
                ],
                "title": "Scope",
                "type": "string"
              },
              "keyword": {
                "$ref": "#/$defs/Text"
              },
              "well_name": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Text"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "unit": {
                "$ref": "#/$defs/Unit"
              },
              "reports": {
                "items": {
                  "$ref": "#/$defs/ReportTime"
                },
                "title": "Reports",
                "type": "array"
              },
              "values": {
                "items": {
                  "type": "number"
                },
                "title": "Values",
                "type": "array"
              }
            },
            "required": [
              "result",
              "scope",
              "keyword",
              "well_name",
              "unit",
              "reports",
              "values"
            ],
            "title": "CurveValues",
            "type": "object"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "GridId": {
            "title": "GridId",
            "type": "string"
          },
          "JobId": {
            "title": "JobId",
            "type": "string"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "NumericalAssessment": {
            "enum": [
              "not_assessed",
              "accepted",
              "rejected"
            ],
            "title": "NumericalAssessment",
            "type": "string"
          },
          "ReportSeries": {
            "additionalProperties": false,
            "properties": {
              "reports": {
                "items": {
                  "$ref": "#/$defs/ReportTime"
                },
                "minItems": 1,
                "title": "Reports",
                "type": "array"
              }
            },
            "required": [
              "reports"
            ],
            "title": "ReportSeries",
            "type": "object"
          },
          "ReportTime": {
            "additionalProperties": false,
            "description": "Simulator calendar dates have no implied timezone.",
            "properties": {
              "index": {
                "minimum": 0,
                "title": "Index",
                "type": "integer"
              },
              "elapsed_days": {
                "minimum": 0,
                "title": "Elapsed Days",
                "type": "number"
              },
              "calendar_date": {
                "format": "date",
                "title": "Calendar Date",
                "type": "string"
              }
            },
            "required": [
              "index",
              "elapsed_days",
              "calendar_date"
            ],
            "title": "ReportTime",
            "type": "object"
          },
          "Result": {
            "additionalProperties": false,
            "properties": {
              "result_id": {
                "$ref": "#/$defs/ResultId"
              },
              "job_id": {
                "$ref": "#/$defs/JobId"
              },
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "report_series": {
                "$ref": "#/$defs/ReportSeries"
              },
              "assessment": {
                "$ref": "#/$defs/NumericalAssessment",
                "default": "not_assessed"
              },
              "manifest": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ResultManifest"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "result_id",
              "job_id",
              "model",
              "grid_id",
              "report_series"
            ],
            "title": "Result",
            "type": "object"
          },
          "ResultId": {
            "title": "ResultId",
            "type": "string"
          },
          "ResultManifest": {
            "additionalProperties": false,
            "description": "Artifact names remain in the workspace artifact records.",
            "properties": {
              "outputs": {
                "items": {
                  "$ref": "#/$defs/ResultOutput"
                },
                "title": "Outputs",
                "type": "array"
              },
              "active_cells": {
                "$ref": "#/$defs/ActiveCellMap"
              },
              "restart_report_steps": {
                "items": {
                  "minimum": 0,
                  "type": "integer"
                },
                "title": "Restart Report Steps",
                "type": "array"
              },
              "numerical_data": {
                "$ref": "#/$defs/ArtifactRef"
              },
              "assessment_evidence": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "outputs",
              "active_cells",
              "restart_report_steps",
              "numerical_data",
              "assessment_evidence"
            ],
            "title": "ResultManifest",
            "type": "object"
          },
          "ResultOutput": {
            "additionalProperties": false,
            "properties": {
              "role": {
                "$ref": "#/$defs/ResultOutputRole"
              },
              "artifact": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "role",
              "artifact"
            ],
            "title": "ResultOutput",
            "type": "object"
          },
          "ResultOutputRole": {
            "enum": [
              "EGRID",
              "INIT",
              "UNRST",
              "SMSPEC",
              "UNSMRY"
            ],
            "title": "ResultOutputRole",
            "type": "string"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_CurveValues_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/CurveValues"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[CurveValues]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "Unit": {
            "enum": [
              "m",
              "ft",
              "Pa",
              "bar",
              "psi",
              "s",
              "day",
              "1",
              "stb/day"
            ],
            "title": "Unit",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_CurveValues_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_CurveValues_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[CurveValues]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "result_compare_cells",
      "title": null,
      "description": "Subtract baseline cells from aligned scenario cells and return one legend.",
      "inputSchema": {
        "$defs": {
          "CellQuery": {
            "additionalProperties": false,
            "properties": {
              "result": {
                "$ref": "#/$defs/ResultRef"
              },
              "property": {
                "$ref": "#/$defs/Text"
              },
              "report_time": {
                "$ref": "#/$defs/ReportTime"
              }
            },
            "required": [
              "result",
              "property",
              "report_time"
            ],
            "title": "CellQuery",
            "type": "object"
          },
          "ReportTime": {
            "additionalProperties": false,
            "description": "Simulator calendar dates have no implied timezone.",
            "properties": {
              "index": {
                "minimum": 0,
                "title": "Index",
                "type": "integer"
              },
              "elapsed_days": {
                "minimum": 0,
                "title": "Elapsed Days",
                "type": "number"
              },
              "calendar_date": {
                "format": "date",
                "title": "Calendar Date",
                "type": "string"
              }
            },
            "required": [
              "index",
              "elapsed_days",
              "calendar_date"
            ],
            "title": "ReportTime",
            "type": "object"
          },
          "ResultId": {
            "title": "ResultId",
            "type": "string"
          },
          "ResultRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "result_id": {
                "$ref": "#/$defs/ResultId"
              }
            },
            "required": [
              "session_id",
              "result_id"
            ],
            "title": "ResultRef",
            "type": "object"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "baseline": {
            "$ref": "#/$defs/CellQuery"
          },
          "scenario": {
            "$ref": "#/$defs/CellQuery"
          }
        },
        "required": [
          "baseline",
          "scenario"
        ],
        "title": "CellComparisonRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ActiveCellMap": {
            "additionalProperties": false,
            "description": "Tuple order defines the zero-based active-array index.",
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "dimensions": {
                "maxItems": 3,
                "minItems": 3,
                "prefixItems": [
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  }
                ],
                "title": "Dimensions",
                "type": "array"
              },
              "cells": {
                "items": {
                  "$ref": "#/$defs/CellIndex"
                },
                "title": "Cells",
                "type": "array"
              }
            },
            "required": [
              "model",
              "grid_id",
              "dimensions",
              "cells"
            ],
            "title": "ActiveCellMap",
            "type": "object"
          },
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "CellComparison": {
            "additionalProperties": false,
            "properties": {
              "baseline": {
                "$ref": "#/$defs/CellValues"
              },
              "scenario": {
                "$ref": "#/$defs/CellValues"
              },
              "differences": {
                "items": {
                  "type": "number"
                },
                "title": "Differences",
                "type": "array"
              },
              "legend": {
                "$ref": "#/$defs/Legend"
              }
            },
            "required": [
              "baseline",
              "scenario",
              "differences",
              "legend"
            ],
            "title": "CellComparison",
            "type": "object"
          },
          "CellCorners": {
            "maxItems": 8,
            "minItems": 8,
            "prefixItems": [
              {
                "$ref": "#/$defs/Point3D"
              },
              {
                "$ref": "#/$defs/Point3D"
              },
              {
                "$ref": "#/$defs/Point3D"
              },
              {
                "$ref": "#/$defs/Point3D"
              },
              {
                "$ref": "#/$defs/Point3D"
              },
              {
                "$ref": "#/$defs/Point3D"
              },
              {
                "$ref": "#/$defs/Point3D"
              },
              {
                "$ref": "#/$defs/Point3D"
              }
            ],
            "type": "array"
          },
          "CellIndex": {
            "additionalProperties": false,
            "description": "I, J, and K are zero-based structured-grid indices.",
            "properties": {
              "i": {
                "minimum": 0,
                "title": "I",
                "type": "integer"
              },
              "j": {
                "minimum": 0,
                "title": "J",
                "type": "integer"
              },
              "k": {
                "minimum": 0,
                "title": "K",
                "type": "integer"
              }
            },
            "required": [
              "i",
              "j",
              "k"
            ],
            "title": "CellIndex",
            "type": "object"
          },
          "CellValues": {
            "additionalProperties": false,
            "properties": {
              "result": {
                "$ref": "#/$defs/Result"
              },
              "active_cells": {
                "$ref": "#/$defs/ActiveCellMap"
              },
              "geometry": {
                "$ref": "#/$defs/GridGeometry"
              },
              "property": {
                "$ref": "#/$defs/Text"
              },
              "unit": {
                "$ref": "#/$defs/Unit"
              },
              "report_time": {
                "$ref": "#/$defs/ReportTime"
              },
              "values": {
                "items": {
                  "type": "number"
                },
                "title": "Values",
                "type": "array"
              }
            },
            "required": [
              "result",
              "active_cells",
              "geometry",
              "property",
              "unit",
              "report_time",
              "values"
            ],
            "title": "CellValues",
            "type": "object"
          },
          "CoordinateFrame": {
            "additionalProperties": false,
            "description": "Coordinates use a named local datum and an explicit Z direction.",
            "properties": {
              "length_unit": {
                "$ref": "#/$defs/Unit"
              },
              "depth_direction": {
                "$ref": "#/$defs/DepthDirection"
              },
              "datum": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "length_unit",
              "depth_direction",
              "datum"
            ],
            "title": "CoordinateFrame",
            "type": "object"
          },
          "DepthDirection": {
            "enum": [
              "positive_up",
              "positive_down"
            ],
            "title": "DepthDirection",
            "type": "string"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "GridGeometry": {
            "additionalProperties": false,
            "description": "Rows follow active-cell order, with eight corners in OPM EGRID order.",
            "properties": {
              "coordinates": {
                "$ref": "#/$defs/CoordinateFrame"
              },
              "cell_corners": {
                "items": {
                  "$ref": "#/$defs/CellCorners"
                },
                "title": "Cell Corners",
                "type": "array"
              }
            },
            "required": [
              "coordinates",
              "cell_corners"
            ],
            "title": "GridGeometry",
            "type": "object"
          },
          "GridId": {
            "title": "GridId",
            "type": "string"
          },
          "JobId": {
            "title": "JobId",
            "type": "string"
          },
          "Legend": {
            "additionalProperties": false,
            "description": "Legend bounds use the selected property's unit.",
            "properties": {
              "minimum": {
                "title": "Minimum",
                "type": "number"
              },
              "maximum": {
                "title": "Maximum",
                "type": "number"
              }
            },
            "required": [
              "minimum",
              "maximum"
            ],
            "title": "Legend",
            "type": "object"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "NumericalAssessment": {
            "enum": [
              "not_assessed",
              "accepted",
              "rejected"
            ],
            "title": "NumericalAssessment",
            "type": "string"
          },
          "Point3D": {
            "maxItems": 3,
            "minItems": 3,
            "prefixItems": [
              {
                "type": "number"
              },
              {
                "type": "number"
              },
              {
                "type": "number"
              }
            ],
            "type": "array"
          },
          "ReportSeries": {
            "additionalProperties": false,
            "properties": {
              "reports": {
                "items": {
                  "$ref": "#/$defs/ReportTime"
                },
                "minItems": 1,
                "title": "Reports",
                "type": "array"
              }
            },
            "required": [
              "reports"
            ],
            "title": "ReportSeries",
            "type": "object"
          },
          "ReportTime": {
            "additionalProperties": false,
            "description": "Simulator calendar dates have no implied timezone.",
            "properties": {
              "index": {
                "minimum": 0,
                "title": "Index",
                "type": "integer"
              },
              "elapsed_days": {
                "minimum": 0,
                "title": "Elapsed Days",
                "type": "number"
              },
              "calendar_date": {
                "format": "date",
                "title": "Calendar Date",
                "type": "string"
              }
            },
            "required": [
              "index",
              "elapsed_days",
              "calendar_date"
            ],
            "title": "ReportTime",
            "type": "object"
          },
          "Result": {
            "additionalProperties": false,
            "properties": {
              "result_id": {
                "$ref": "#/$defs/ResultId"
              },
              "job_id": {
                "$ref": "#/$defs/JobId"
              },
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "report_series": {
                "$ref": "#/$defs/ReportSeries"
              },
              "assessment": {
                "$ref": "#/$defs/NumericalAssessment",
                "default": "not_assessed"
              },
              "manifest": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ResultManifest"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "result_id",
              "job_id",
              "model",
              "grid_id",
              "report_series"
            ],
            "title": "Result",
            "type": "object"
          },
          "ResultId": {
            "title": "ResultId",
            "type": "string"
          },
          "ResultManifest": {
            "additionalProperties": false,
            "description": "Artifact names remain in the workspace artifact records.",
            "properties": {
              "outputs": {
                "items": {
                  "$ref": "#/$defs/ResultOutput"
                },
                "title": "Outputs",
                "type": "array"
              },
              "active_cells": {
                "$ref": "#/$defs/ActiveCellMap"
              },
              "restart_report_steps": {
                "items": {
                  "minimum": 0,
                  "type": "integer"
                },
                "title": "Restart Report Steps",
                "type": "array"
              },
              "numerical_data": {
                "$ref": "#/$defs/ArtifactRef"
              },
              "assessment_evidence": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "outputs",
              "active_cells",
              "restart_report_steps",
              "numerical_data",
              "assessment_evidence"
            ],
            "title": "ResultManifest",
            "type": "object"
          },
          "ResultOutput": {
            "additionalProperties": false,
            "properties": {
              "role": {
                "$ref": "#/$defs/ResultOutputRole"
              },
              "artifact": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "role",
              "artifact"
            ],
            "title": "ResultOutput",
            "type": "object"
          },
          "ResultOutputRole": {
            "enum": [
              "EGRID",
              "INIT",
              "UNRST",
              "SMSPEC",
              "UNSMRY"
            ],
            "title": "ResultOutputRole",
            "type": "string"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_CellComparison_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/CellComparison"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[CellComparison]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "Unit": {
            "enum": [
              "m",
              "ft",
              "Pa",
              "bar",
              "psi",
              "s",
              "day",
              "1",
              "stb/day"
            ],
            "title": "Unit",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_CellComparison_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_CellComparison_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[CellComparison]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "result_compare_curves",
      "title": null,
      "description": "Compare matching summary curves on aligned calendar dates and elapsed times.",
      "inputSchema": {
        "$defs": {
          "CurveQuery": {
            "additionalProperties": false,
            "properties": {
              "result": {
                "$ref": "#/$defs/ResultRef"
              },
              "scope": {
                "enum": [
                  "field",
                  "well"
                ],
                "title": "Scope",
                "type": "string"
              },
              "keyword": {
                "$ref": "#/$defs/Text"
              },
              "well_name": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Text"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "result",
              "scope",
              "keyword"
            ],
            "title": "CurveQuery",
            "type": "object"
          },
          "ResultId": {
            "title": "ResultId",
            "type": "string"
          },
          "ResultRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "result_id": {
                "$ref": "#/$defs/ResultId"
              }
            },
            "required": [
              "session_id",
              "result_id"
            ],
            "title": "ResultRef",
            "type": "object"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "baseline": {
            "$ref": "#/$defs/CurveQuery"
          },
          "scenario": {
            "$ref": "#/$defs/CurveQuery"
          }
        },
        "required": [
          "baseline",
          "scenario"
        ],
        "title": "CurveComparisonRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ActiveCellMap": {
            "additionalProperties": false,
            "description": "Tuple order defines the zero-based active-array index.",
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "dimensions": {
                "maxItems": 3,
                "minItems": 3,
                "prefixItems": [
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  }
                ],
                "title": "Dimensions",
                "type": "array"
              },
              "cells": {
                "items": {
                  "$ref": "#/$defs/CellIndex"
                },
                "title": "Cells",
                "type": "array"
              }
            },
            "required": [
              "model",
              "grid_id",
              "dimensions",
              "cells"
            ],
            "title": "ActiveCellMap",
            "type": "object"
          },
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "CellIndex": {
            "additionalProperties": false,
            "description": "I, J, and K are zero-based structured-grid indices.",
            "properties": {
              "i": {
                "minimum": 0,
                "title": "I",
                "type": "integer"
              },
              "j": {
                "minimum": 0,
                "title": "J",
                "type": "integer"
              },
              "k": {
                "minimum": 0,
                "title": "K",
                "type": "integer"
              }
            },
            "required": [
              "i",
              "j",
              "k"
            ],
            "title": "CellIndex",
            "type": "object"
          },
          "CurveComparison": {
            "additionalProperties": false,
            "properties": {
              "baseline": {
                "$ref": "#/$defs/CurveValues"
              },
              "scenario": {
                "$ref": "#/$defs/CurveValues"
              },
              "differences": {
                "items": {
                  "type": "number"
                },
                "title": "Differences",
                "type": "array"
              }
            },
            "required": [
              "baseline",
              "scenario",
              "differences"
            ],
            "title": "CurveComparison",
            "type": "object"
          },
          "CurveValues": {
            "additionalProperties": false,
            "properties": {
              "result": {
                "$ref": "#/$defs/Result"
              },
              "scope": {
                "enum": [
                  "field",
                  "well"
                ],
                "title": "Scope",
                "type": "string"
              },
              "keyword": {
                "$ref": "#/$defs/Text"
              },
              "well_name": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Text"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "unit": {
                "$ref": "#/$defs/Unit"
              },
              "reports": {
                "items": {
                  "$ref": "#/$defs/ReportTime"
                },
                "title": "Reports",
                "type": "array"
              },
              "values": {
                "items": {
                  "type": "number"
                },
                "title": "Values",
                "type": "array"
              }
            },
            "required": [
              "result",
              "scope",
              "keyword",
              "well_name",
              "unit",
              "reports",
              "values"
            ],
            "title": "CurveValues",
            "type": "object"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "GridId": {
            "title": "GridId",
            "type": "string"
          },
          "JobId": {
            "title": "JobId",
            "type": "string"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "NumericalAssessment": {
            "enum": [
              "not_assessed",
              "accepted",
              "rejected"
            ],
            "title": "NumericalAssessment",
            "type": "string"
          },
          "ReportSeries": {
            "additionalProperties": false,
            "properties": {
              "reports": {
                "items": {
                  "$ref": "#/$defs/ReportTime"
                },
                "minItems": 1,
                "title": "Reports",
                "type": "array"
              }
            },
            "required": [
              "reports"
            ],
            "title": "ReportSeries",
            "type": "object"
          },
          "ReportTime": {
            "additionalProperties": false,
            "description": "Simulator calendar dates have no implied timezone.",
            "properties": {
              "index": {
                "minimum": 0,
                "title": "Index",
                "type": "integer"
              },
              "elapsed_days": {
                "minimum": 0,
                "title": "Elapsed Days",
                "type": "number"
              },
              "calendar_date": {
                "format": "date",
                "title": "Calendar Date",
                "type": "string"
              }
            },
            "required": [
              "index",
              "elapsed_days",
              "calendar_date"
            ],
            "title": "ReportTime",
            "type": "object"
          },
          "Result": {
            "additionalProperties": false,
            "properties": {
              "result_id": {
                "$ref": "#/$defs/ResultId"
              },
              "job_id": {
                "$ref": "#/$defs/JobId"
              },
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "report_series": {
                "$ref": "#/$defs/ReportSeries"
              },
              "assessment": {
                "$ref": "#/$defs/NumericalAssessment",
                "default": "not_assessed"
              },
              "manifest": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ResultManifest"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "result_id",
              "job_id",
              "model",
              "grid_id",
              "report_series"
            ],
            "title": "Result",
            "type": "object"
          },
          "ResultId": {
            "title": "ResultId",
            "type": "string"
          },
          "ResultManifest": {
            "additionalProperties": false,
            "description": "Artifact names remain in the workspace artifact records.",
            "properties": {
              "outputs": {
                "items": {
                  "$ref": "#/$defs/ResultOutput"
                },
                "title": "Outputs",
                "type": "array"
              },
              "active_cells": {
                "$ref": "#/$defs/ActiveCellMap"
              },
              "restart_report_steps": {
                "items": {
                  "minimum": 0,
                  "type": "integer"
                },
                "title": "Restart Report Steps",
                "type": "array"
              },
              "numerical_data": {
                "$ref": "#/$defs/ArtifactRef"
              },
              "assessment_evidence": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "outputs",
              "active_cells",
              "restart_report_steps",
              "numerical_data",
              "assessment_evidence"
            ],
            "title": "ResultManifest",
            "type": "object"
          },
          "ResultOutput": {
            "additionalProperties": false,
            "properties": {
              "role": {
                "$ref": "#/$defs/ResultOutputRole"
              },
              "artifact": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "role",
              "artifact"
            ],
            "title": "ResultOutput",
            "type": "object"
          },
          "ResultOutputRole": {
            "enum": [
              "EGRID",
              "INIT",
              "UNRST",
              "SMSPEC",
              "UNSMRY"
            ],
            "title": "ResultOutputRole",
            "type": "string"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_CurveComparison_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/CurveComparison"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[CurveComparison]",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "Unit": {
            "enum": [
              "m",
              "ft",
              "Pa",
              "bar",
              "psi",
              "s",
              "day",
              "1",
              "stb/day"
            ],
            "title": "Unit",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_CurveComparison_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_CurveComparison_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[CurveComparison]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": true,
        "destructiveHint": false,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    },
    {
      "name": "result_show_curve",
      "title": null,
      "description": "Create a native summary plot with an applied receipt and fresh image outcome.",
      "inputSchema": {
        "$defs": {
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "CurveQuery": {
            "additionalProperties": false,
            "properties": {
              "result": {
                "$ref": "#/$defs/ResultRef"
              },
              "scope": {
                "enum": [
                  "field",
                  "well"
                ],
                "title": "Scope",
                "type": "string"
              },
              "keyword": {
                "$ref": "#/$defs/Text"
              },
              "well_name": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Text"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "result",
              "scope",
              "keyword"
            ],
            "title": "CurveQuery",
            "type": "object"
          },
          "ResultId": {
            "title": "ResultId",
            "type": "string"
          },
          "ResultRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "result_id": {
                "$ref": "#/$defs/ResultId"
              }
            },
            "required": [
              "session_id",
              "result_id"
            ],
            "title": "ResultRef",
            "type": "object"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "context": {
            "$ref": "#/$defs/ApplicationContext"
          },
          "query": {
            "$ref": "#/$defs/CurveQuery"
          },
          "width": {
            "exclusiveMinimum": 0,
            "title": "Width",
            "type": "integer"
          },
          "height": {
            "exclusiveMinimum": 0,
            "title": "Height",
            "type": "integer"
          }
        },
        "required": [
          "context",
          "query",
          "width",
          "height"
        ],
        "title": "SummaryPlotRequest",
        "type": "object"
      },
      "outputSchema": {
        "$defs": {
          "ActiveCellMap": {
            "additionalProperties": false,
            "description": "Tuple order defines the zero-based active-array index.",
            "properties": {
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "dimensions": {
                "maxItems": 3,
                "minItems": 3,
                "prefixItems": [
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  },
                  {
                    "exclusiveMinimum": 0,
                    "type": "integer"
                  }
                ],
                "title": "Dimensions",
                "type": "array"
              },
              "cells": {
                "items": {
                  "$ref": "#/$defs/CellIndex"
                },
                "title": "Cells",
                "type": "array"
              }
            },
            "required": [
              "model",
              "grid_id",
              "dimensions",
              "cells"
            ],
            "title": "ActiveCellMap",
            "type": "object"
          },
          "ApplicationContext": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "connection_id": {
                "$ref": "#/$defs/ConnectionId"
              },
              "project_generation": {
                "minimum": 0,
                "title": "Project Generation",
                "type": "integer"
              }
            },
            "required": [
              "session_id",
              "connection_id",
              "project_generation"
            ],
            "title": "ApplicationContext",
            "type": "object"
          },
          "ArtifactId": {
            "title": "ArtifactId",
            "type": "string"
          },
          "ArtifactRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "artifact_id": {
                "$ref": "#/$defs/ArtifactId"
              }
            },
            "required": [
              "session_id",
              "artifact_id"
            ],
            "title": "ArtifactRef",
            "type": "object"
          },
          "CellIndex": {
            "additionalProperties": false,
            "description": "I, J, and K are zero-based structured-grid indices.",
            "properties": {
              "i": {
                "minimum": 0,
                "title": "I",
                "type": "integer"
              },
              "j": {
                "minimum": 0,
                "title": "J",
                "type": "integer"
              },
              "k": {
                "minimum": 0,
                "title": "K",
                "type": "integer"
              }
            },
            "required": [
              "i",
              "j",
              "k"
            ],
            "title": "CellIndex",
            "type": "object"
          },
          "ConnectionId": {
            "title": "ConnectionId",
            "type": "string"
          },
          "CurveValues": {
            "additionalProperties": false,
            "properties": {
              "result": {
                "$ref": "#/$defs/Result"
              },
              "scope": {
                "enum": [
                  "field",
                  "well"
                ],
                "title": "Scope",
                "type": "string"
              },
              "keyword": {
                "$ref": "#/$defs/Text"
              },
              "well_name": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/Text"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "unit": {
                "$ref": "#/$defs/Unit"
              },
              "reports": {
                "items": {
                  "$ref": "#/$defs/ReportTime"
                },
                "title": "Reports",
                "type": "array"
              },
              "values": {
                "items": {
                  "type": "number"
                },
                "title": "Values",
                "type": "array"
              }
            },
            "required": [
              "result",
              "scope",
              "keyword",
              "well_name",
              "unit",
              "reports",
              "values"
            ],
            "title": "CurveValues",
            "type": "object"
          },
          "EditId": {
            "title": "EditId",
            "type": "string"
          },
          "EditedSummaryPlot": {
            "additionalProperties": false,
            "properties": {
              "edit": {
                "$ref": "#/$defs/SummaryPlotEditReceipt"
              },
              "observation": {
                "$ref": "#/$defs/OperationResult_SummaryObservation_"
              }
            },
            "required": [
              "edit",
              "observation"
            ],
            "title": "EditedSummaryPlot",
            "type": "object"
          },
          "Error": {
            "additionalProperties": false,
            "properties": {
              "code": {
                "$ref": "#/$defs/ErrorCode"
              },
              "message": {
                "$ref": "#/$defs/Text"
              },
              "effect": {
                "$ref": "#/$defs/MutationEffect",
                "default": "not_applied"
              }
            },
            "required": [
              "code",
              "message"
            ],
            "title": "Error",
            "type": "object"
          },
          "ErrorCode": {
            "enum": [
              "busy",
              "lost_connection",
              "stale_object",
              "invalid_model",
              "unsupported_operation",
              "invalid_transition",
              "render_failed",
              "not_found",
              "execution_failed",
              "conflict",
              "invalid_path",
              "storage_failed",
              "corrupt_workspace",
              "unsupported_schema"
            ],
            "title": "ErrorCode",
            "type": "string"
          },
          "Failure": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "failure",
                "default": "failure",
                "title": "Status",
                "type": "string"
              },
              "error": {
                "$ref": "#/$defs/Error"
              }
            },
            "required": [
              "error"
            ],
            "title": "Failure",
            "type": "object"
          },
          "GridId": {
            "title": "GridId",
            "type": "string"
          },
          "ImageArtifact": {
            "additionalProperties": false,
            "description": "Declared saved-image metadata; the renderer must decode the actual image.",
            "properties": {
              "artifact": {
                "$ref": "#/$defs/ArtifactRef"
              },
              "media_type": {
                "const": "image/png",
                "default": "image/png",
                "title": "Media Type",
                "type": "string"
              },
              "width": {
                "exclusiveMinimum": 0,
                "title": "Width",
                "type": "integer"
              },
              "height": {
                "exclusiveMinimum": 0,
                "title": "Height",
                "type": "integer"
              }
            },
            "required": [
              "artifact",
              "width",
              "height"
            ],
            "title": "ImageArtifact",
            "type": "object"
          },
          "JobId": {
            "title": "JobId",
            "type": "string"
          },
          "ModelRef": {
            "additionalProperties": false,
            "properties": {
              "session_id": {
                "$ref": "#/$defs/SessionId"
              },
              "revision_id": {
                "$ref": "#/$defs/RevisionId"
              }
            },
            "required": [
              "session_id",
              "revision_id"
            ],
            "title": "ModelRef",
            "type": "object"
          },
          "MutationEffect": {
            "enum": [
              "not_applied",
              "unknown"
            ],
            "title": "MutationEffect",
            "type": "string"
          },
          "NumericalAssessment": {
            "enum": [
              "not_assessed",
              "accepted",
              "rejected"
            ],
            "title": "NumericalAssessment",
            "type": "string"
          },
          "ObservationId": {
            "title": "ObservationId",
            "type": "string"
          },
          "OperationResult_SummaryObservation_": {
            "additionalProperties": false,
            "properties": {
              "outcome": {
                "discriminator": {
                  "mapping": {
                    "failure": "#/$defs/Failure",
                    "success": "#/$defs/Success_SummaryObservation_"
                  },
                  "propertyName": "status"
                },
                "oneOf": [
                  {
                    "$ref": "#/$defs/Success_SummaryObservation_"
                  },
                  {
                    "$ref": "#/$defs/Failure"
                  }
                ],
                "title": "Outcome"
              }
            },
            "required": [
              "outcome"
            ],
            "title": "OperationResult[SummaryObservation]",
            "type": "object"
          },
          "ReportSeries": {
            "additionalProperties": false,
            "properties": {
              "reports": {
                "items": {
                  "$ref": "#/$defs/ReportTime"
                },
                "minItems": 1,
                "title": "Reports",
                "type": "array"
              }
            },
            "required": [
              "reports"
            ],
            "title": "ReportSeries",
            "type": "object"
          },
          "ReportTime": {
            "additionalProperties": false,
            "description": "Simulator calendar dates have no implied timezone.",
            "properties": {
              "index": {
                "minimum": 0,
                "title": "Index",
                "type": "integer"
              },
              "elapsed_days": {
                "minimum": 0,
                "title": "Elapsed Days",
                "type": "number"
              },
              "calendar_date": {
                "format": "date",
                "title": "Calendar Date",
                "type": "string"
              }
            },
            "required": [
              "index",
              "elapsed_days",
              "calendar_date"
            ],
            "title": "ReportTime",
            "type": "object"
          },
          "Result": {
            "additionalProperties": false,
            "properties": {
              "result_id": {
                "$ref": "#/$defs/ResultId"
              },
              "job_id": {
                "$ref": "#/$defs/JobId"
              },
              "model": {
                "$ref": "#/$defs/ModelRef"
              },
              "grid_id": {
                "$ref": "#/$defs/GridId"
              },
              "report_series": {
                "$ref": "#/$defs/ReportSeries"
              },
              "assessment": {
                "$ref": "#/$defs/NumericalAssessment",
                "default": "not_assessed"
              },
              "manifest": {
                "anyOf": [
                  {
                    "$ref": "#/$defs/ResultManifest"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "result_id",
              "job_id",
              "model",
              "grid_id",
              "report_series"
            ],
            "title": "Result",
            "type": "object"
          },
          "ResultId": {
            "title": "ResultId",
            "type": "string"
          },
          "ResultManifest": {
            "additionalProperties": false,
            "description": "Artifact names remain in the workspace artifact records.",
            "properties": {
              "outputs": {
                "items": {
                  "$ref": "#/$defs/ResultOutput"
                },
                "title": "Outputs",
                "type": "array"
              },
              "active_cells": {
                "$ref": "#/$defs/ActiveCellMap"
              },
              "restart_report_steps": {
                "items": {
                  "minimum": 0,
                  "type": "integer"
                },
                "title": "Restart Report Steps",
                "type": "array"
              },
              "numerical_data": {
                "$ref": "#/$defs/ArtifactRef"
              },
              "assessment_evidence": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "outputs",
              "active_cells",
              "restart_report_steps",
              "numerical_data",
              "assessment_evidence"
            ],
            "title": "ResultManifest",
            "type": "object"
          },
          "ResultOutput": {
            "additionalProperties": false,
            "properties": {
              "role": {
                "$ref": "#/$defs/ResultOutputRole"
              },
              "artifact": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "role",
              "artifact"
            ],
            "title": "ResultOutput",
            "type": "object"
          },
          "ResultOutputRole": {
            "enum": [
              "EGRID",
              "INIT",
              "UNRST",
              "SMSPEC",
              "UNSMRY"
            ],
            "title": "ResultOutputRole",
            "type": "string"
          },
          "RevisionId": {
            "title": "RevisionId",
            "type": "string"
          },
          "SessionId": {
            "title": "SessionId",
            "type": "string"
          },
          "Success_EditedSummaryPlot_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/EditedSummaryPlot"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[EditedSummaryPlot]",
            "type": "object"
          },
          "Success_SummaryObservation_": {
            "additionalProperties": false,
            "properties": {
              "status": {
                "const": "success",
                "default": "success",
                "title": "Status",
                "type": "string"
              },
              "value": {
                "$ref": "#/$defs/SummaryObservation"
              }
            },
            "required": [
              "value"
            ],
            "title": "Success[SummaryObservation]",
            "type": "object"
          },
          "SummaryObservation": {
            "additionalProperties": false,
            "properties": {
              "observation_id": {
                "$ref": "#/$defs/ObservationId"
              },
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "curve": {
                "$ref": "#/$defs/CurveValues"
              },
              "plot_address": {
                "$ref": "#/$defs/Text"
              },
              "source": {
                "$ref": "#/$defs/ArtifactRef"
              },
              "image": {
                "$ref": "#/$defs/ImageArtifact"
              },
              "captured_at": {
                "format": "date-time",
                "title": "Captured At",
                "type": "string"
              },
              "provenance": {
                "$ref": "#/$defs/ArtifactRef"
              }
            },
            "required": [
              "observation_id",
              "context",
              "curve",
              "plot_address",
              "source",
              "image",
              "captured_at",
              "provenance"
            ],
            "title": "SummaryObservation",
            "type": "object"
          },
          "SummaryPlotEditReceipt": {
            "additionalProperties": false,
            "description": "A completed native plot remains known when its image fails.",
            "properties": {
              "effect": {
                "const": "applied",
                "default": "applied",
                "title": "Effect",
                "type": "string"
              },
              "edit_id": {
                "$ref": "#/$defs/EditId"
              },
              "context": {
                "$ref": "#/$defs/ApplicationContext"
              },
              "curve": {
                "$ref": "#/$defs/CurveValues"
              },
              "plot_address": {
                "$ref": "#/$defs/Text"
              }
            },
            "required": [
              "edit_id",
              "context",
              "curve",
              "plot_address"
            ],
            "title": "SummaryPlotEditReceipt",
            "type": "object"
          },
          "Text": {
            "minLength": 1,
            "pattern": "\\S",
            "type": "string"
          },
          "Unit": {
            "enum": [
              "m",
              "ft",
              "Pa",
              "bar",
              "psi",
              "s",
              "day",
              "1",
              "stb/day"
            ],
            "title": "Unit",
            "type": "string"
          }
        },
        "additionalProperties": false,
        "properties": {
          "outcome": {
            "discriminator": {
              "mapping": {
                "failure": "#/$defs/Failure",
                "success": "#/$defs/Success_EditedSummaryPlot_"
              },
              "propertyName": "status"
            },
            "oneOf": [
              {
                "$ref": "#/$defs/Success_EditedSummaryPlot_"
              },
              {
                "$ref": "#/$defs/Failure"
              }
            ],
            "title": "Outcome"
          }
        },
        "required": [
          "outcome"
        ],
        "title": "OperationResult[EditedSummaryPlot]",
        "type": "object"
      },
      "icons": null,
      "annotations": {
        "title": null,
        "readOnlyHint": false,
        "destructiveHint": true,
        "idempotentHint": null,
        "openWorldHint": false
      },
      "meta": null,
      "execution": null
    }
  ]
}
