<?xml version="1.0" encoding="utf-8"?>
<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0">
  <edmx:Reference Uri="https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Capabilities.V1.xml">
    <edmx:Include Namespace="Org.OData.Capabilities.V1" Alias="Capabilities"/>
  </edmx:Reference>
  <edmx:Reference Uri="https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Core.V1.xml">
    <edmx:Include Namespace="Org.OData.Core.V1" Alias="Core"/>
  </edmx:Reference>
  <edmx:DataServices>
    <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Webshare.OData.v1">

      <!-- ===== Enums ===== -->
      <EnumType Name="Right">
        <Member Name="read"/>
        <Member Name="edit"/>
        <Member Name="owner"/>
      </EnumType>
      <EnumType Name="ResourceType">
        <Member Name="folder"/>
        <Member Name="file"/>
      </EnumType>

      <!-- ===== Complex types ===== -->
      <ComplexType Name="SolutionDeploymentTopology">
        <Property Name="solutionId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="manifest" Type="Edm.Untyped" Nullable="false"/>
        <Property Name="lifecycle" Type="Edm.Untyped" Nullable="false"/>
        <Property Name="safeNextAction" Type="Edm.Untyped" Nullable="false"/>
        <Property Name="forecast" Type="Edm.Untyped" Nullable="false"/>
        <Property Name="expiry" Type="Edm.Untyped" Nullable="false"/>
        <Property Name="freshness" Type="Edm.String" Nullable="false"/>
        <Property Name="observedAt" Type="Edm.DateTimeOffset"/>
        <Property Name="nodes" Type="Edm.Untyped" Nullable="false"/>
        <Property Name="edges" Type="Edm.Untyped" Nullable="false"/>
        <Property Name="deploymentRuns" Type="Edm.Untyped" Nullable="false"/>
        <Property Name="executionRuns" Type="Edm.Untyped" Nullable="false"/>
        <Property Name="paymentBinding" Type="Edm.Untyped"/>
      </ComplexType>
      <ComplexType Name="DeploymentPaymentBinding">
        <Property Name="id" Type="Edm.Guid" Nullable="false"/>
        <Property Name="workspaceId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="solutionId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="stackId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="planRunId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="planInputDigest" Type="Edm.String" Nullable="false"/>
        <Property Name="operation" Type="Edm.String" Nullable="false"/>
        <Property Name="costCurrency" Type="Edm.String" Nullable="false"/>
        <Property Name="costCeilingMicros" Type="Edm.Int64" Nullable="false"/>
        <Property Name="authorizationRef" Type="Edm.String" Nullable="false"/>
        <Property Name="status" Type="Edm.String" Nullable="false"/>
        <Property Name="invalidatedReason" Type="Edm.String"/>
        <Property Name="createdBy" Type="Edm.String" Nullable="false"/>
        <Property Name="createdAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Property Name="updatedAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Property Name="expiresAt" Type="Edm.DateTimeOffset" Nullable="false"/>
      </ComplexType>
      <ComplexType Name="CommandWarning">
        <Property Name="code" Type="Edm.String" Nullable="false"/>
        <Property Name="message" Type="Edm.String" Nullable="false"/>
      </ComplexType>
      <ComplexType Name="CommandResult" Abstract="true">
        <Property Name="operationId" Type="Edm.String" Nullable="false"/>
        <Property Name="status" Type="Edm.String" Nullable="false"/>
        <Property Name="resourceUrl" Type="Edm.String"/>
        <Property Name="auditEventId" Type="Edm.String"/>
        <Property Name="warnings" Type="Collection(Webshare.OData.v1.CommandWarning)"/>
      </ComplexType>
      <ComplexType Name="DocumentWriteResult" BaseType="Webshare.OData.v1.CommandResult">
        <Property Name="documentId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="commitHash" Type="Edm.String"/>
        <Property Name="noOp" Type="Edm.Boolean" Nullable="false"/>
      </ComplexType>
      <ComplexType Name="DocumentAiWriteResult" BaseType="Webshare.OData.v1.DocumentWriteResult">
        <Property Name="modelId" Type="Edm.String"/>
        <Property Name="formattingProvenance" Type="Webshare.OData.v1.AgentFormattingProvenance" Nullable="false"/>
      </ComplexType>
      <ComplexType Name="AgentFormattingProvenance">
        <Property Name="contractVersion" Type="Edm.String" Nullable="false"/>
        <Property Name="purpose" Type="Edm.String" Nullable="false"/>
        <Property Name="intent" Type="Edm.String" Nullable="false"/>
        <Property Name="source" Type="Edm.String" Nullable="false"/>
        <Property Name="skillVersionId" Type="Edm.String"/>
        <Property Name="skillVersionDigest" Type="Edm.String"/>
        <Property Name="previewPath" Type="Edm.String"/>
        <Property Name="previewDigest" Type="Edm.String"/>
        <Property Name="declarationDigest" Type="Edm.String"/>
      </ComplexType>
      <Term Name="AgentFormattingProvenance" Type="Webshare.OData.v1.AgentFormattingProvenance"/>
      <ComplexType Name="OriginalOperationSnapshot">
        <Property Name="version" Type="Edm.String" Nullable="false"/>
        <Property Name="operationId" Type="Edm.String" Nullable="false"/>
        <Property Name="state" Type="Edm.String" Nullable="false"/>
      </ComplexType>
      <Term Name="OriginalOperationSnapshot" Type="Webshare.OData.v1.OriginalOperationSnapshot"/>
      <ComplexType Name="RenderHtmlResult">
        <Property Name="documentId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="html" Type="Edm.String" Nullable="false"/>
        <Property Name="contentType" Type="Edm.String" Nullable="false"/>
      </ComplexType>
      <ComplexType Name="GetBodyResult">
        <Property Name="documentId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="bodyHtml" Type="Edm.String" Nullable="false"/>
        <Property Name="currentCommitHash" Type="Edm.String"/>
      </ComplexType>
      <ComplexType Name="DocumentDiff">
        <Property Name="documentId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="fromHash" Type="Edm.String" Nullable="false"/>
        <Property Name="toHash" Type="Edm.String" Nullable="false"/>
        <Property Name="lines" Type="Collection(Webshare.OData.v1.DiffLine)"/>
      </ComplexType>
      <ComplexType Name="DiffLine">
        <Property Name="type" Type="Edm.String" Nullable="false"/>
        <Property Name="text" Type="Edm.String" Nullable="false"/>
        <Property Name="aLn" Type="Edm.Int32"/>
        <Property Name="bLn" Type="Edm.Int32"/>
      </ComplexType>
      <ComplexType Name="ApiTokenSummary">
        <Property Name="id" Type="Edm.Guid" Nullable="false"/>
        <Property Name="name" Type="Edm.String" Nullable="false"/>
        <Property Name="tokenPrefix" Type="Edm.String" Nullable="false"/>
        <Property Name="tokenLast4" Type="Edm.String" Nullable="false"/>
        <Property Name="createdAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Property Name="lastUsedAt" Type="Edm.DateTimeOffset"/>
        <Property Name="expiresAt" Type="Edm.DateTimeOffset"/>
        <Property Name="revokedAt" Type="Edm.DateTimeOffset"/>
      </ComplexType>
      <!-- CreatedApiToken extends the summary with the raw token, returned ONCE at create. -->
      <ComplexType Name="CreatedApiToken" BaseType="Webshare.OData.v1.ApiTokenSummary">
        <Property Name="token" Type="Edm.String" Nullable="false"/>
      </ComplexType>
      <ComplexType Name="AiProviderKeyInput">
        <Property Name="provider" Type="Edm.String" Nullable="false"/>
        <Property Name="apiKey" Type="Edm.String"/>
        <Property Name="clear" Type="Edm.Boolean"/>
        <Property Name="modelHint" Type="Edm.String"/>
      </ComplexType>
      <ComplexType Name="DataConnectionCapabilities">
        <Property Name="read" Type="Edm.Boolean" Nullable="false"/>
        <Property Name="write" Type="Edm.Boolean" Nullable="false"/>
        <Property Name="schema" Type="Edm.Boolean" Nullable="false"/>
        <Property Name="preview" Type="Edm.Boolean" Nullable="false"/>
        <Property Name="query" Type="Edm.Boolean" Nullable="false"/>
      </ComplexType>
      <ComplexType Name="DataConnectionCapabilityEvaluation">
        <Property Name="state" Type="Edm.String"/>
        <Property Name="disposition" Type="Edm.String" Nullable="false"/>
        <Property Name="liveEligible" Type="Edm.Boolean" Nullable="false"/>
        <Property Name="reasonCode" Type="Edm.String" Nullable="false"/>
        <Property Name="observationId" Type="Edm.Guid"/>
        <Property Name="observationRevision" Type="Edm.Int64"/>
        <Property Name="observationDigest" Type="Edm.String"/>
      </ComplexType>
      <ComplexType Name="DataConnectionCapabilityEvidence">
        <Property Name="read" Type="Webshare.OData.v1.DataConnectionCapabilityEvaluation"/>
        <Property Name="write" Type="Webshare.OData.v1.DataConnectionCapabilityEvaluation"/>
      </ComplexType>
      <ComplexType Name="DataColumn">
        <Property Name="schema" Type="Edm.String" Nullable="false"/>
        <Property Name="table" Type="Edm.String" Nullable="false"/>
        <Property Name="name" Type="Edm.String" Nullable="false"/>
        <Property Name="dataType" Type="Edm.String" Nullable="false"/>
        <Property Name="ordinal" Type="Edm.Int32"/>
        <Property Name="nullable" Type="Edm.Boolean" Nullable="false"/>
      </ComplexType>
      <ComplexType Name="DataResult">
        <Property Name="columns" Type="Collection(Edm.String)" Nullable="false"/>
        <Property Name="rows" Type="Collection(Edm.Untyped)" Nullable="false"/>
        <Property Name="queryReceiptId" Type="Edm.Guid"/>
        <Property Name="completion" Type="Webshare.OData.v1.ReadCompletion"/>
      </ComplexType>
      <ComplexType Name="ReadCompletion">
        <Property Name="state" Type="Edm.String" Nullable="false"/>
        <Property Name="reason" Type="Edm.String"/>
        <Property Name="boundKind" Type="Edm.String"/>
        <Property Name="boundLimit" Type="Edm.Int64"/>
      </ComplexType>
      <ComplexType Name="DataCatalogTable">
        <Property Name="schema" Type="Edm.String" Nullable="false"/>
        <Property Name="table" Type="Edm.String" Nullable="false"/>
        <Property Name="kind" Type="Edm.String" Nullable="false"/>
      </ComplexType>
      <ComplexType Name="DataCatalogPage">
        <Property Name="tables" Type="Collection(Webshare.OData.v1.DataCatalogTable)" Nullable="false"/>
        <Property Name="next" Type="Edm.Untyped"/>
      </ComplexType>
      <ComplexType Name="AiSchemaSnapshot">
        <Property Name="connectionId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="kind" Type="Edm.String" Nullable="false"/>
        <Property Name="columns" Type="Collection(Webshare.OData.v1.DataColumn)" Nullable="false"/>
      </ComplexType>
      <ComplexType Name="AiTokenUsage">
        <Property Name="promptTokens" Type="Edm.Int32"/>
        <Property Name="completionTokens" Type="Edm.Int32"/>
        <Property Name="totalTokens" Type="Edm.Int32"/>
      </ComplexType>
      <ComplexType Name="DataQueryDraft">
        <Property Name="sql" Type="Edm.String" Nullable="false"/>
        <Property Name="usage" Type="Webshare.OData.v1.AiTokenUsage" Nullable="false"/>
      </ComplexType>
      <!-- Legacy configured-model summary retained for AvailableAiModels(). -->
      <EntityType Name="ModelSummary">
        <Key><PropertyRef Name="id"/></Key>
        <Property Name="id" Type="Edm.String" Nullable="false"/>
        <Property Name="provider" Type="Edm.String" Nullable="false"/>
        <Property Name="label" Type="Edm.String"/>
        <Property Name="contextWindow" Type="Edm.Int32"/>
        <Annotation Term="Core.Description" String="An AI model a Workspace can choose, with its provider and context window."/>
      </EntityType>
      <ComplexType Name="AgentModelCapabilities">
        <Property Name="streaming" Type="Edm.Boolean" Nullable="false"/>
        <Property Name="tools" Type="Edm.Boolean" Nullable="false"/>
        <Property Name="maxInputTokens" Type="Edm.Int32" Nullable="false"/>
        <Property Name="maxOutputTokens" Type="Edm.Int32" Nullable="false"/>
        <Property Name="parallelTools" Type="Edm.Boolean" Nullable="false"/>
      </ComplexType>
      <EntityType Name="AiModelCatalogObservation">
        <Key>
          <PropertyRef Name="provider"/>
          <PropertyRef Name="providerModelId"/>
        </Key>
        <Property Name="provider" Type="Edm.String" Nullable="false"/>
        <Property Name="providerModelId" Type="Edm.String" Nullable="false"/>
        <Property Name="label" Type="Edm.String"/>
        <Property Name="snapshotId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="snapshotDigest" Type="Edm.String" Nullable="false"/>
        <Property Name="snapshotCreatedAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Property Name="snapshotPublishedAt" Type="Edm.DateTimeOffset"/>
        <Property Name="sourceUrl" Type="Edm.String" Nullable="false"/>
        <Property Name="sourceSucceededAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Property Name="observedAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Property Name="sliceSourceSucceededAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Property Name="freshness" Type="Edm.String" Nullable="false"/>
        <Property Name="reusedFromSliceId" Type="Edm.Guid"/>
        <Property Name="sourceEvidenceDigest" Type="Edm.String" Nullable="false"/>
        <Property Name="observationDigest" Type="Edm.String" Nullable="false"/>
        <Property Name="contextWindowTokens" Type="Edm.Int64"/>
        <Property Name="maxOutputTokens" Type="Edm.Int64"/>
        <Property Name="inputModalities" Type="Collection(Edm.String)" Nullable="false"/>
        <Property Name="outputModalities" Type="Collection(Edm.String)" Nullable="false"/>
        <Property Name="supportsToolCalling" Type="Edm.Boolean"/>
        <Property Name="supportsStructuredOutput" Type="Edm.Boolean"/>
        <Property Name="omissionCount" Type="Edm.Int32" Nullable="false"/>
        <Property Name="tombstonedAt" Type="Edm.DateTimeOffset"/>
        <Property Name="documentApprovalState" Type="Edm.String"/>
        <Property Name="documentApprovalEvidenceDigest" Type="Edm.String"/>
        <Property Name="documentApprovalReason" Type="Edm.String"/>
        <Property Name="agentApprovalState" Type="Edm.String"/>
        <Property Name="agentApprovalEvidenceDigest" Type="Edm.String"/>
        <Property Name="agentApprovalReason" Type="Edm.String"/>
        <Annotation Term="Core.Description" String="One observation of a model in the published AI model catalogue."/>
      </EntityType>
      <EntityType Name="WorkspaceModelSelection">
        <Key>
          <PropertyRef Name="workspaceId"/>
          <PropertyRef Name="surface"/>
        </Key>
        <Property Name="workspaceId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="surface" Type="Edm.String" Nullable="false"/>
        <Property Name="provider" Type="Edm.String"/>
        <Property Name="providerModelId" Type="Edm.String"/>
        <Property Name="selectionRevisionId" Type="Edm.Guid"/>
        <Property Name="provenance" Type="Edm.String"/>
        <Property Name="state" Type="Edm.String" Nullable="false"/>
        <Property Name="runnable" Type="Edm.Boolean" Nullable="false"/>
        <Property Name="stale" Type="Edm.Boolean" Nullable="false"/>
        <Property Name="reason" Type="Edm.String" Nullable="false"/>
        <Property Name="selectionSnapshotId" Type="Edm.Guid"/>
        <Property Name="catalogSnapshotId" Type="Edm.Guid"/>
        <Property Name="agentCapabilities" Type="Webshare.OData.v1.AgentModelCapabilities"/>
        <Annotation Term="Core.Description" String="The AI model a Workspace uses for one role."/>
      </EntityType>
      <ComplexType Name="InsertPosition">
        <Property Name="mode" Type="Edm.String" Nullable="false"/>
        <Property Name="offset" Type="Edm.Int32"/>
      </ComplexType>
      <ComplexType Name="SkillInput">
        <Property Name="key" Type="Edm.String" Nullable="false"/>
        <Property Name="label" Type="Edm.String" Nullable="false"/>
        <Property Name="description" Type="Edm.String" Nullable="false"/>
        <Property Name="type" Type="Edm.String" Nullable="false"/>
        <Property Name="required" Type="Edm.Boolean" Nullable="false"/>
        <Property Name="options" Type="Collection(Edm.String)"/>
        <Property Name="default" Type="Edm.Untyped"/>
      </ComplexType>
      <ComplexType Name="SkillPreview">
        <Property Name="path" Type="Edm.String" Nullable="false"/>
        <Property Name="alt" Type="Edm.String" Nullable="false"/>
      </ComplexType>
      <ComplexType Name="SkillAuthor">
        <Property Name="name" Type="Edm.String" Nullable="false"/>
        <Property Name="github" Type="Edm.String"/>
      </ComplexType>
      <ComplexType Name="SkillPublishResult" BaseType="Webshare.OData.v1.CommandResult">
        <Property Name="versionId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="releaseTag" Type="Edm.String" Nullable="false"/>
        <Property Name="enabled" Type="Edm.Boolean" Nullable="false"/>
        <Property Name="created" Type="Edm.Boolean" Nullable="false"/>
      </ComplexType>

      <!-- ===== Entity types ===== -->
      <EntityType Name="User">
        <Key><PropertyRef Name="id"/></Key>
        <Property Name="id" Type="Edm.String" Nullable="false"/>
        <Property Name="name" Type="Edm.String"/>
        <Property Name="email" Type="Edm.String"/>
        <Property Name="imageUrl" Type="Edm.String"/>
        <NavigationProperty Name="ApiTokens" Type="Collection(Webshare.OData.v1.ApiToken)" ContainsTarget="true"><Annotation Term="Core.Description" String="List your personal API tokens as masked names and dates."/></NavigationProperty>
        <Annotation Term="Core.Description" String="You, the signed-in Member or token owner."/>
      </EntityType>

      <EntityType Name="Workspace">
        <Key><PropertyRef Name="id"/></Key>
        <Property Name="id" Type="Edm.Guid" Nullable="false"/>
        <Property Name="name" Type="Edm.String" Nullable="false"/>
        <Property Name="slug" Type="Edm.String" Nullable="false"/>
        <Property Name="createdAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Property Name="currentUserRight" Type="Webshare.OData.v1.Right" Nullable="false"/>
        <Property Name="preferredAiModelId" Type="Edm.String"/>
        <!-- NOTE: aiKeys intentionally omitted — write-only, never returned. -->
        <NavigationProperty Name="Folders" Type="Collection(Webshare.OData.v1.Folder)" ContainsTarget="true"><Annotation Term="Core.Description" String="List the folders you can open in a Workspace."/></NavigationProperty>
        <NavigationProperty Name="Documents" Type="Collection(Webshare.OData.v1.Document)"/>
        <NavigationProperty Name="SkillInstallations" Type="Collection(Webshare.OData.v1.SkillInstallation)"/>
        <NavigationProperty Name="SkillDrafts" Type="Collection(Webshare.OData.v1.SkillDraft)" ContainsTarget="true"/>
        <NavigationProperty Name="SkillCommits" Type="Collection(Webshare.OData.v1.SkillCommit)" ContainsTarget="true"/>
        <NavigationProperty Name="Members" Type="Collection(Webshare.OData.v1.Member)" ContainsTarget="true"><Annotation Term="Core.Description" String="List the Members of a Workspace and their rights."/></NavigationProperty>
        <NavigationProperty Name="PathShares" Type="Collection(Webshare.OData.v1.PathShare)" ContainsTarget="true"><Annotation Term="Core.Description" String="List every folder and file share in a Workspace; Owners only."/></NavigationProperty>
        <NavigationProperty Name="AiProviderKeys" Type="Collection(Webshare.OData.v1.AiProviderKeySummary)" ContainsTarget="true"><Annotation Term="Core.Description" String="List which AI provider keys a Workspace has saved, never the keys themselves."/></NavigationProperty>
        <NavigationProperty Name="AiModelSelections" Type="Collection(Webshare.OData.v1.WorkspaceModelSelection)" ContainsTarget="true"/>
        <NavigationProperty Name="AiUsage" Type="Collection(Webshare.OData.v1.AiUsageRecord)" ContainsTarget="true"><Annotation Term="Core.Description" String="Read a Workspace's AI usage records."/></NavigationProperty>
        <NavigationProperty Name="AuditEvents" Type="Collection(Webshare.OData.v1.AuditEvent)" ContainsTarget="true"><Annotation Term="Core.Description" String="Read a Workspace's audit trail."/></NavigationProperty>
        <NavigationProperty Name="Diagrams" Type="Collection(Webshare.OData.v1.Diagram)"/>
        <NavigationProperty Name="Files" Type="Collection(Webshare.OData.v1.File)"/>
        <NavigationProperty Name="Solutions" Type="Collection(Webshare.OData.v1.Solution)"/>
        <NavigationProperty Name="DataConnections" Type="Collection(Webshare.OData.v1.DataConnection)"/>
        <NavigationProperty Name="DataConnectionGroups" Type="Collection(Webshare.OData.v1.DataConnectionGroup)"/>
        <NavigationProperty Name="DataQueries" Type="Collection(Webshare.OData.v1.DataQuery)"/>
        <NavigationProperty Name="ExplorerViews" Type="Collection(Webshare.OData.v1.ExplorerView)" ContainsTarget="true"><Annotation Term="Core.Description" String="List the saved Explorer views in a Workspace."/></NavigationProperty>
        <NavigationProperty Name="DataMappings" Type="Collection(Webshare.OData.v1.DataMapping)"/>
        <NavigationProperty Name="Datasets" Type="Collection(Webshare.OData.v1.Dataset)"/>
        <NavigationProperty Name="ObjectiveManifests" Type="Collection(Webshare.OData.v1.ObjectiveManifest)" ContainsTarget="true"/>
        <NavigationProperty Name="ObjectiveReceipts" Type="Collection(Webshare.OData.v1.ObjectiveReceipt)" ContainsTarget="true"/>
        <NavigationProperty Name="Notebooks" Type="Collection(Webshare.OData.v1.Notebook)"/>
        <NavigationProperty Name="Pipelines" Type="Collection(Webshare.OData.v1.Pipeline)"/>
        <NavigationProperty Name="LocalResources" Type="Collection(Webshare.OData.v1.LocalResource)" ContainsTarget="true"/>
        <NavigationProperty Name="SqlServerResources" Type="Collection(Webshare.OData.v1.LocalSqlServerResource)" ContainsTarget="true"/>
        <Annotation Term="Core.Description" String="A Workspace and your right in it."/>
      </EntityType>

      <EntityType Name="Canvas">
        <Key><PropertyRef Name="workspaceId"/><PropertyRef Name="canvasId"/></Key>
        <Property Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Property Name="canvasId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="title" Type="Edm.String" Nullable="false"/>
        <Property Name="revision" Type="Edm.Int32" Nullable="false"/>
        <Property Name="state" Type="Edm.String" Nullable="false"/>
        <Property Name="sourceDigest" Type="Edm.String" Nullable="false"/>
        <Property Name="updatedAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Annotation Term="Core.Description" String="A Canvas: steps and connections you design and run."/>
      </EntityType>

      <EntityType Name="Dataset">
        <Key><PropertyRef Name="id"/></Key>
        <Property Name="id" Type="Edm.String" Nullable="false"/>
        <Property Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Property Name="name" Type="Edm.String" Nullable="false"/>
        <Property Name="currentRevisionId" Type="Edm.String" Nullable="false"/>
        <Property Name="currentRevisionNumber" Type="Edm.Int64" Nullable="false"/>
        <Property Name="currentRevisionDigest" Type="Edm.String" Nullable="false"/>
        <Property Name="publishedAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Annotation Term="Core.Description" String="A Dataset and its current revision."/>
      </EntityType>

      <!-- LocalResource (v1): value-free classification of a bounded local
           storage area (#1561), contained under its Workspace with
           owner-only reads — never paths, bytes, or content. #1703 adds the
           nullable durable provisioning-origin block as one nested complex
           property, following the existing nested-complex idiom: the read
           handlers project the manifest output verbatim, so there is no
           adapter-level flattening and the website, MCP and OData shapes stay
           identical. -->
      <EntityType Name="LocalResource">
        <Key><PropertyRef Name="name"/></Key>
        <Property Name="name" Type="Edm.String" Nullable="false"/>
        <Property Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Property Name="resourceKind" Type="Edm.String" Nullable="false"/>
        <Property Name="state" Type="Edm.String" Nullable="false"/>
        <Property Name="origin" Type="Webshare.OData.v1.LocalResourceOrigin" Nullable="true"/>
        <Property Name="observedAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Property Name="snapshotDigest" Type="Edm.String" Nullable="false"/>
        <Annotation Term="Core.Description" String="A local resource a Workspace can ensure exists."/>
      </EntityType>

      <!-- LocalResourceOrigin (#1703): the durable record that this product
           was approved to provision a storage-area generation, and separately
           whether that round confirmed creating it. Null on the owning
           property means the name is unrecorded. The generation counts
           approved attempts, never confirmed creations, and no property here
           is an ownership claim over whatever occupies the name. The internal
           attempt id and every origin timestamp are deliberately absent. -->
      <ComplexType Name="LocalResourceOrigin">
        <Property Name="originId" Type="Edm.String" Nullable="false"/>
        <Property Name="generation" Type="Edm.Int32" Nullable="false"/>
        <Property Name="lifecycle" Type="Edm.String" Nullable="false"/>
        <Property Name="creationEvidence" Type="Edm.String" Nullable="false"/>
        <Property Name="lifecycleReason" Type="Edm.String" Nullable="true"/>
      </ComplexType>

      <!-- LocalSqlServerResource (v1): value-free classification of one
           bounded SQL Server database behind an mssql Data
           Connection (#1561 slices 14-17), contained under its Workspace
           with owner-only reads — never rows, credentials, or server
           details. Addressable only by key: the server's namespace is
           shared, so there is deliberately no collection read whose result
           could imply ownership of what it finds. -->
      <EntityType Name="LocalSqlServerResource">
        <Key><PropertyRef Name="dataConnectionId"/><PropertyRef Name="databaseName"/></Key>
        <Property Name="dataConnectionId" Type="Edm.String" Nullable="false"/>
        <Property Name="databaseName" Type="Edm.String" Nullable="false"/>
        <Property Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Property Name="resourceKind" Type="Edm.String" Nullable="false"/>
        <Property Name="state" Type="Edm.String" Nullable="false"/>
        <Property Name="observedAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Property Name="snapshotDigest" Type="Edm.String" Nullable="false"/>
        <Annotation Term="Core.Description" String="A local SQL Server database a Workspace can ensure exists."/>
      </EntityType>

      <ComplexType Name="ObjectiveExactReference">
        <Property Name="kind" Type="Edm.String" Nullable="false"/>
        <Property Name="id" Type="Edm.String" Nullable="false"/>
        <Property Name="revision" Type="Edm.String" Nullable="false"/>
        <Property Name="digest" Type="Edm.String" Nullable="false"/>
        <Property Name="role" Type="Edm.String" Nullable="false"/>
      </ComplexType>
      <ComplexType Name="ObjectiveManifestCommandResult" BaseType="Webshare.OData.v1.CommandResult">
        <Property Name="result" Type="Edm.Untyped" Nullable="false"/>
      </ComplexType>
      <ComplexType Name="ObjectiveReceiptCommandResult" BaseType="Webshare.OData.v1.CommandResult">
        <Property Name="result" Type="Edm.Untyped" Nullable="false"/>
      </ComplexType>
      <EntityType Name="ObjectiveManifest">
        <Key><PropertyRef Name="manifestId"/></Key>
        <Property Name="kind" Type="Edm.String" Nullable="false"/>
        <Property Name="workspaceId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="manifestId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="manifestDigest" Type="Edm.String" Nullable="false"/>
        <Property Name="outcomeId" Type="Edm.String" Nullable="false"/>
        <Property Name="expiresAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Property Name="exactReferences" Type="Collection(Webshare.OData.v1.ObjectiveExactReference)" Nullable="false"/>
        <Property Name="intendedOutputs" Type="Collection(Edm.Untyped)" Nullable="false"/>
        <Property Name="intendedEffects" Type="Collection(Edm.Untyped)" Nullable="false"/>
        <Property Name="evidencePolicy" Type="Edm.Untyped" Nullable="false"/>
        <NavigationProperty Name="Receipts" Type="Collection(Webshare.OData.v1.ObjectiveReceipt)" ContainsTarget="true"/>
        <Annotation Term="Core.Description" String="A sealed Objective Manifest that a Journey works towards."/>
      </EntityType>
      <EntityType Name="ObjectiveReceipt">
        <Key><PropertyRef Name="receiptId"/></Key>
        <Property Name="kind" Type="Edm.String" Nullable="false"/>
        <Property Name="workspaceId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="receiptId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="receiptDigest" Type="Edm.String" Nullable="false"/>
        <Property Name="manifestId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="manifestDigest" Type="Edm.String" Nullable="false"/>
        <Property Name="ordinal" Type="Edm.Int32" Nullable="false"/>
        <Property Name="previousReceipt" Type="Edm.Untyped"/>
        <Property Name="settlementKind" Type="Edm.String" Nullable="false"/>
        <Property Name="outcome" Type="Edm.String" Nullable="false"/>
        <Property Name="retryDirective" Type="Edm.String" Nullable="false"/>
        <Property Name="noBlindRetry" Type="Edm.Boolean" Nullable="false"/>
        <Property Name="settledAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Property Name="evidence" Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="One settlement receipt for an Objective Manifest."/>
      </EntityType>

      <EntityType Name="CanvasDefinition">
        <Key><PropertyRef Name="definitionId"/><PropertyRef Name="definitionVersion"/></Key>
        <Property Name="definitionId" Type="Edm.String" Nullable="false"/>
        <Property Name="definitionVersion" Type="Edm.String" Nullable="false"/>
        <Property Name="kind" Type="Edm.String" Nullable="false"/>
        <Property Name="displayName" Type="Edm.String" Nullable="false"/>
        <Property Name="customerIntent" Type="Edm.String" Nullable="false"/>
        <Property Name="machineSchema" Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="A step definition you can place on a Canvas."/>
      </EntityType>

      <EntityType Name="Solution">
        <Key><PropertyRef Name="id"/></Key>
        <Property Name="id" Type="Edm.Guid" Nullable="false"/>
        <Property Name="workspaceId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="name" Type="Edm.String" Nullable="false"/>
        <Property Name="briefPath" Type="Edm.String" Nullable="false"/>
        <Property Name="briefRevision" Type="Edm.String" Nullable="false"/>
        <Property Name="currentManifestVersionId" Type="Edm.Guid"/>
        <Property Name="createdBy" Type="Edm.String" Nullable="false"/>
        <Property Name="createdAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Property Name="archivedAt" Type="Edm.DateTimeOffset"/>
        <NavigationProperty Name="ManifestVersions" Type="Collection(Webshare.OData.v1.SolutionManifestVersion)"/>
        <Annotation Term="Core.Description" String="A Solution: a packaged set of Workspace objects to deploy."/>
      </EntityType>

      <EntityType Name="SolutionManifestVersion">
        <Key><PropertyRef Name="id"/></Key>
        <Property Name="id" Type="Edm.Guid" Nullable="false"/>
        <Property Name="sequence" Type="Edm.Int32" Nullable="false"/>
        <Property Name="status" Type="Edm.String" Nullable="false"/>
        <Property Name="isCurrent" Type="Edm.Boolean" Nullable="false"/>
        <Property Name="manifest" Type="Edm.Untyped" Nullable="false"/>
        <Property Name="digest" Type="Edm.String" Nullable="false"/>
        <Property Name="provenance" Type="Edm.Untyped" Nullable="false"/>
        <Property Name="createdAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Property Name="decidedBy" Type="Edm.String"/>
        <Property Name="decidedAt" Type="Edm.DateTimeOffset"/>
        <Property Name="diff" Type="Collection(Edm.Untyped)" Nullable="false"/>
        <Annotation Term="Core.Description" String="One proposed or approved version of a Solution manifest."/>
      </EntityType>

      <EntityType Name="Folder">
        <Key><PropertyRef Name="id"/></Key>
        <Property Name="id" Type="Edm.Guid" Nullable="false"/>
        <Property Name="workspaceId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="path" Type="Edm.String" Nullable="false"/>
        <Property Name="name" Type="Edm.String"/>
        <Property Name="parentId" Type="Edm.Guid"/>
        <Property Name="parentPath" Type="Edm.String"/>
        <Property Name="effectiveRight" Type="Webshare.OData.v1.Right"/>
        <Annotation Term="Core.Description" String="A folder of Documents and Files in a Workspace."/>
      </EntityType>

      <EntityType Name="Document">
        <Key><PropertyRef Name="id"/></Key>
        <Property Name="id" Type="Edm.Guid" Nullable="false"/>
        <Property Name="workspaceId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="path" Type="Edm.String" Nullable="false"/>
        <Property Name="name" Type="Edm.String"/>
        <Property Name="folderId" Type="Edm.Guid"/>
        <Property Name="folderPath" Type="Edm.String"/>
        <Property Name="extension" Type="Edm.String"/>
        <Property Name="contentType" Type="Edm.String"/>
        <Property Name="currentCommitHash" Type="Edm.String"/>
        <Property Name="lastModifiedAt" Type="Edm.DateTimeOffset"/>
        <Property Name="lastModifiedBy" Type="Edm.String"/>
        <Property Name="effectiveRight" Type="Webshare.OData.v1.Right"/>
        <NavigationProperty Name="Versions" Type="Collection(Webshare.OData.v1.DocumentVersion)"/>
        <Annotation Term="Core.Description" String="A Document and its current saved version."/>
      </EntityType>

      <EntityType Name="DocumentVersion">
        <Key>
          <PropertyRef Name="documentId"/>
          <PropertyRef Name="commitHash"/>
        </Key>
        <Property Name="documentId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="documentPath" Type="Edm.String" Nullable="false"/>
        <Property Name="commitHash" Type="Edm.String" Nullable="false"/>
        <Property Name="shortHash" Type="Edm.String"/>
        <Property Name="message" Type="Edm.String"/>
        <Property Name="authorName" Type="Edm.String"/>
        <Property Name="authorEmail" Type="Edm.String"/>
        <Property Name="committedAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Annotation Term="Core.Description" String="One saved version of a Document."/>
      </EntityType>

      <EntityType Name="Skill">
        <Key><PropertyRef Name="id"/></Key>
        <Property Name="id" Type="Edm.Guid" Nullable="false"/>
        <Property Name="name" Type="Edm.String" Nullable="false"/>
        <Property Name="summary" Type="Edm.String" Nullable="false"/>
        <Property Name="scope" Type="Edm.String" Nullable="false"/>
        <Property Name="latestVersionId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="versionLabel" Type="Edm.String" Nullable="false"/>
        <Property Name="digest" Type="Edm.String" Nullable="false"/>
        <Property Name="status" Type="Edm.String" Nullable="false"/>
        <Property Name="keywords" Type="Collection(Edm.String)" Nullable="false"/>
        <Property Name="inputs" Type="Collection(Webshare.OData.v1.SkillInput)" Nullable="false"/>
        <Property Name="license" Type="Edm.String"/>
        <Property Name="tags" Type="Collection(Edm.String)" Nullable="false"/>
        <Property Name="previews" Type="Collection(Webshare.OData.v1.SkillPreview)" Nullable="false"/>
        <Property Name="registrySequence" Type="Edm.Int64"/>
        <Property Name="registryArtifactDigest" Type="Edm.String"/>
        <NavigationProperty Name="Versions" Type="Collection(Webshare.OData.v1.SkillVersion)"/>
        <Annotation Term="Core.Description" String="An Agent Skill you can install."/>
      </EntityType>
      <EntityType Name="SkillVersion">
        <Key><PropertyRef Name="id"/></Key>
        <Property Name="id" Type="Edm.Guid" Nullable="false"/>
        <Property Name="skillId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="versionLabel" Type="Edm.String" Nullable="false"/>
        <Property Name="digest" Type="Edm.String" Nullable="false"/>
        <Property Name="status" Type="Edm.String" Nullable="false"/>
        <Property Name="schemaVersion" Type="Edm.String"/>
        <Property Name="license" Type="Edm.String"/>
        <Property Name="authors" Type="Collection(Webshare.OData.v1.SkillAuthor)" Nullable="false"/>
        <Property Name="tags" Type="Collection(Edm.String)" Nullable="false"/>
        <Property Name="previews" Type="Collection(Webshare.OData.v1.SkillPreview)" Nullable="false"/>
        <Property Name="registrySequence" Type="Edm.Int64"/>
        <Property Name="registryArtifactDigest" Type="Edm.String"/>
        <Property Name="keywords" Type="Collection(Edm.String)" Nullable="false"/>
        <Property Name="inputs" Type="Collection(Webshare.OData.v1.SkillInput)" Nullable="false"/>
        <Annotation Term="Core.Description" String="One published version of an Agent Skill."/>
      </EntityType>
      <EntityType Name="SkillInstallation">
        <Key><PropertyRef Name="skillId"/></Key>
        <Property Name="workspaceId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="skillId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="installedVersionId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="installedVersionLabel" Type="Edm.String"/>
        <Property Name="versionDigest" Type="Edm.String" Nullable="false"/>
        <Property Name="name" Type="Edm.String" Nullable="false"/>
        <Property Name="enabled" Type="Edm.Boolean" Nullable="false"/>
        <Property Name="lifecycle" Type="Edm.String" Nullable="false"/>
        <Property Name="updateAvailable" Type="Edm.Boolean" Nullable="false"/>
        <Property Name="availableVersionId" Type="Edm.Guid"/>
        <Property Name="availableVersionLabel" Type="Edm.String"/>
        <Annotation Term="Core.Description" String="An Agent Skill installed in a Workspace."/>
      </EntityType>
      <EntityType Name="SkillDraft">
        <Key><PropertyRef Name="id"/></Key>
        <Property Name="id" Type="Edm.Guid" Nullable="false"/>
        <Property Name="skillId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="path" Type="Edm.String" Nullable="false"/>
        <Property Name="source" Type="Edm.String" Nullable="false"/>
        <Property Name="baseCommit" Type="Edm.String" Nullable="false"/>
        <Property Name="revision" Type="Edm.Int32" Nullable="false"/>
        <Property Name="status" Type="Edm.String" Nullable="false"/>
        <Property Name="canCommit" Type="Edm.Boolean" Nullable="false"/>
        <Property Name="origin" Type="Edm.String" Nullable="false"/>
        <Property Name="reviewed" Type="Edm.Boolean" Nullable="false"/>
        <Property Name="diagnostics" Type="Collection(Edm.Untyped)" Nullable="false"/>
        <Property Name="committedCommit" Type="Edm.String"/>
        <Property Name="updatedAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Annotation Term="Core.Description" String="A Workspace's unpublished Agent Skill draft."/>
      </EntityType>
      <EntityType Name="SkillCommit">
        <Key><PropertyRef Name="id"/></Key>
        <Property Name="id" Type="Edm.Guid" Nullable="false"/>
        <Property Name="draftId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="skillId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="path" Type="Edm.String" Nullable="false"/>
        <Property Name="draftRevision" Type="Edm.Int32" Nullable="false"/>
        <Property Name="baseCommit" Type="Edm.String" Nullable="false"/>
        <Property Name="commitSha" Type="Edm.String" Nullable="false"/>
        <Property Name="digest" Type="Edm.String" Nullable="false"/>
        <Property Name="createdAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Annotation Term="Core.Description" String="One saved commit of an Agent Skill draft."/>
      </EntityType>

      <EntityType Name="Member">
        <Key>
          <PropertyRef Name="workspaceId"/>
          <PropertyRef Name="userId"/>
        </Key>
        <Property Name="workspaceId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="userId" Type="Edm.String" Nullable="false"/>
        <Property Name="email" Type="Edm.String"/>
        <Property Name="name" Type="Edm.String"/>
        <Property Name="right" Type="Webshare.OData.v1.Right" Nullable="false"/>
        <Property Name="effectiveRight" Type="Webshare.OData.v1.Right" Nullable="false"/>
        <Property Name="isOwner" Type="Edm.Boolean" Nullable="false"/>
        <Property Name="createdAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Annotation Term="Core.Description" String="A Member of a Workspace and their right."/>
      </EntityType>

      <EntityType Name="PathShare">
        <Key><PropertyRef Name="id"/></Key>
        <Property Name="id" Type="Edm.Guid" Nullable="false"/>
        <Property Name="workspaceId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="resourceType" Type="Webshare.OData.v1.ResourceType" Nullable="false"/>
        <Property Name="path" Type="Edm.String" Nullable="false"/>
        <Property Name="userId" Type="Edm.String"/>
        <Property Name="email" Type="Edm.String"/>
        <Property Name="right" Type="Webshare.OData.v1.Right" Nullable="false"/>
        <Property Name="createdAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Annotation Term="Core.Description" String="A share of one folder or file with one person."/>
      </EntityType>

      <EntityType Name="AiProviderKeySummary">
        <Key>
          <PropertyRef Name="workspaceId"/>
          <PropertyRef Name="provider"/>
        </Key>
        <Property Name="workspaceId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="provider" Type="Edm.String" Nullable="false"/>
        <Property Name="isConfigured" Type="Edm.Boolean" Nullable="false"/>
        <Property Name="maskedKey" Type="Edm.String"/>
        <Property Name="updatedAt" Type="Edm.DateTimeOffset"/>
        <!-- NOTE: raw apiKey intentionally omitted — write-only. -->
        <Annotation Term="Core.Description" String="Which AI provider key a Workspace has saved, never the key itself."/>
      </EntityType>

      <!--
        AiUsageRecord (v1): exposes the real per-user-per-UTC-day COUNTER from the
        ai_usage table ({id, userId, date, count, createdAt}), joined to a
        workspace's membership. The spec's richer per-operation shape
        (operation/modelId/tokensIn/tokensOut/status) is future work requiring a
        new per-operation usage table + recording in the AI call path; until then
        those properties are omitted so $metadata matches the wire exactly.
      -->
      <EntityType Name="AiUsageRecord">
        <Key><PropertyRef Name="id"/></Key>
        <Property Name="id" Type="Edm.Guid" Nullable="false"/>
        <Property Name="workspaceId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="userId" Type="Edm.String" Nullable="false"/>
        <Property Name="date" Type="Edm.String" Nullable="false"/>
        <Property Name="count" Type="Edm.Int32" Nullable="false"/>
        <Property Name="createdAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Annotation Term="Core.Description" String="A count of AI requests by one Member on one day."/>
      </EntityType>

      <EntityType Name="AuditEvent">
        <Key><PropertyRef Name="id"/></Key>
        <Property Name="id" Type="Edm.Guid" Nullable="false"/>
        <Property Name="workspaceId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="actorUserId" Type="Edm.String" Nullable="false"/>
        <Property Name="action" Type="Edm.String" Nullable="false"/>
        <Property Name="detail" Type="Edm.String"/>
        <Property Name="createdAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Annotation Term="Core.Description" String="One entry in a Workspace's audit trail."/>
      </EntityType>

      <EntityType Name="ApiToken">
        <Key><PropertyRef Name="id"/></Key>
        <Property Name="id" Type="Edm.Guid" Nullable="false"/>
        <Property Name="name" Type="Edm.String" Nullable="false"/>
        <Property Name="tokenPrefix" Type="Edm.String" Nullable="false"/>
        <Property Name="tokenLast4" Type="Edm.String" Nullable="false"/>
        <Property Name="createdAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Property Name="lastUsedAt" Type="Edm.DateTimeOffset"/>
        <Property Name="expiresAt" Type="Edm.DateTimeOffset"/>
        <Property Name="revokedAt" Type="Edm.DateTimeOffset"/>
        <!-- NOTE: tokenHash and raw token intentionally omitted — never returned. -->
        <Annotation Term="Core.Description" String="A personal API token, shown as a masked name and dates."/>
      </EntityType>

      <EntityType Name="Diagram">
        <Key><PropertyRef Name="id"/></Key>
        <Property Name="id" Type="Edm.Guid" Nullable="false"/>
        <Property Name="workspaceId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="path" Type="Edm.String" Nullable="false"/>
        <Property Name="name" Type="Edm.String"/>
        <Property Name="sourcePath" Type="Edm.String"/>
        <Property Name="createdAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Property Name="updatedAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Annotation Term="Core.Description" String="A retained Mermaid Diagram."/>
      </EntityType>

      <!--
        File (#122): a non-HTML uploaded asset (image / text / code / pdf /
        audio / video). MIME + renderability are detected at upload from the
        stored path. The raw bytes are served by the bound DownloadFile()
        function, never embedded in the JSON entity.
      -->
      <EntityType Name="File">
        <Key><PropertyRef Name="workspaceId"/><PropertyRef Name="id"/></Key>
        <Property Name="id" Type="Edm.Guid" Nullable="false"/>
        <Property Name="workspaceId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="path" Type="Edm.String" Nullable="false"/>
        <Property Name="name" Type="Edm.String" Nullable="false"/>
        <Property Name="size" Type="Edm.Int64" Nullable="false"/>
        <Property Name="contentType" Type="Edm.String" Nullable="false"/>
        <Property Name="renderable" Type="Edm.String" Nullable="false"/>
        <Property Name="createdAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Property Name="updatedAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Annotation Term="Core.Description" String="A File in a Workspace."/>
      </EntityType>
      <EntityType Name="DataConnection">
        <Key><PropertyRef Name="id"/></Key>
        <Property Name="id" Type="Edm.Guid" Nullable="false"/>
        <Property Name="workspaceId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="name" Type="Edm.String" Nullable="false"/>
        <Property Name="kind" Type="Edm.String" Nullable="false"/>
        <Property Name="config" Type="Edm.Untyped" Nullable="false"/>
        <Property Name="capabilities" Type="Webshare.OData.v1.DataConnectionCapabilities" Nullable="false">
          <Annotation Term="Core.Description" String="Compatibility alias for declared capability configuration only; it is never observed or live-operation authority."/>
        </Property>
        <Property Name="declaredCapabilities" Type="Webshare.OData.v1.DataConnectionCapabilities" Nullable="false">
          <Annotation Term="Core.Description" String="Declared capability configuration only; use capabilityEvidence for evaluated five-state evidence."/>
        </Property>
        <Property Name="capabilityEvidence" Type="Webshare.OData.v1.DataConnectionCapabilityEvidence" Nullable="false">
          <Annotation Term="Core.Description" String="Current five-state capability evaluation; live operations still re-evaluate the shared domain authority seam."/>
        </Property>
        <Property Name="credentialConfigured" Type="Edm.Boolean" Nullable="false"/>
        <Property Name="currentRevision" Type="Edm.Int64" Nullable="false"/>
        <Property Name="currentRevisionDigest" Type="Edm.String" Nullable="false"/>
        <Property Name="availability" Type="Edm.String" Nullable="false"/>
        <Property Name="availabilityReason" Type="Edm.String"/>
        <Property Name="createdBy" Type="Edm.String" Nullable="false"/>
        <Property Name="createdAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Property Name="lastUsedAt" Type="Edm.DateTimeOffset"/>
        <Annotation Term="Core.Description" String="A Data Connection to a source or destination."/>
      </EntityType>
      <EntityType Name="DataConnectionGroup">
        <Key><PropertyRef Name="id"/></Key>
        <Property Name="id" Type="Edm.Guid" Nullable="false"/>
        <Property Name="workspaceId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="name" Type="Edm.String" Nullable="false"/>
        <Property Name="createdBy" Type="Edm.String" Nullable="false"/>
        <Property Name="createdAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Annotation Term="Core.Description" String="A named group of Data Connections in a Workspace."/>
      </EntityType>
      <EntityType Name="DataMapping">
        <Key><PropertyRef Name="id"/></Key>
        <Property Name="id" Type="Edm.Guid" Nullable="false"/>
        <Property Name="workspaceId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="name" Type="Edm.String" Nullable="false"/>
        <Property Name="destinationConnectionId" Type="Edm.Guid"/>
        <Property Name="writeStrategy" Type="Edm.String" Nullable="false"/>
        <Property Name="connectionBindings" Type="Edm.Untyped"/>
        <Property Name="sources" Type="Collection(Edm.Untyped)" Nullable="false"/>
        <Property Name="transforms" Type="Collection(Edm.Untyped)" Nullable="false"/>
        <Property Name="parameters" Type="Edm.Untyped" Nullable="false"/>
        <Property Name="originKind" Type="Edm.String"/>
        <Property Name="originNotebookId" Type="Edm.Guid"/>
        <Property Name="originNotebookRevision" Type="Edm.String"/>
        <Property Name="originContentDigest" Type="Edm.String"/>
        <Property Name="destinationSchema" Type="Edm.Untyped"/>
        <Property Name="destinationSchemaDigest" Type="Edm.String"/>
        <Property Name="fieldIdentities" Type="Edm.Untyped"/>
        <Property Name="schemaReview" Type="Edm.Untyped"/>
        <Property Name="lastDryRunStatus" Type="Edm.String"/>
        <Property Name="lastDryRunDigest" Type="Edm.String"/>
        <Property Name="lastDryRunAt" Type="Edm.DateTimeOffset"/>
        <Property Name="createdBy" Type="Edm.String" Nullable="false"/>
        <Property Name="createdAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Property Name="updatedAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <NavigationProperty Name="Runs" Type="Collection(Webshare.OData.v1.DataMappingRun)"/>
        <Annotation Term="Core.Description" String="A Data Mapping from sources to a destination."/>
      </EntityType>
      
      <EntityType Name="DataMappingRun">
        <Key><PropertyRef Name="id"/></Key>
        <Property Name="id" Type="Edm.Guid" Nullable="false"/>
        <Property Name="workspaceId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="mappingId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="operationId" Type="Edm.String" Nullable="false"/>
        <Property Name="status" Type="Edm.String" Nullable="false"/>
        <Property Name="rowsAffected" Type="Edm.Int32"/>
        <Property Name="routeReceipt" Type="Edm.Untyped"/>
        <Property Name="recoveryReceipt" Type="Edm.Untyped"/>
        <Property Name="provenance" Type="Edm.Untyped"/>
        <Property Name="createdAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Property Name="completedAt" Type="Edm.DateTimeOffset"/>
        <Annotation Term="Core.Description" String="One Run of a Data Mapping."/>
      </EntityType>
      <EntityType Name="DataQuery">
        <Key><PropertyRef Name="id"/></Key>
        <Property Name="id" Type="Edm.Guid" Nullable="false"/>
        <Property Name="workspaceId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="dataConnectionId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="datasetId" Type="Edm.Guid"/>
        <Property Name="datasetRevisionId" Type="Edm.Guid"/>
        <Property Name="datasetRepresentationId" Type="Edm.Guid"/>
        <Property Name="name" Type="Edm.String" Nullable="false"/>
        <Property Name="sql" Type="Edm.String" Nullable="false"/>
        <Property Name="revision" Type="Edm.Int32" Nullable="false"/>
        <Property Name="createdBy" Type="Edm.String" Nullable="false"/>
        <Property Name="updatedBy" Type="Edm.String" Nullable="false"/>
        <Property Name="createdAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Property Name="updatedAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Annotation Term="Core.Description" String="A saved Data Query."/>
      </EntityType>
      <EntityType Name="ExplorerView">
        <Key><PropertyRef Name="name"/></Key>
        <Property Name="name" Type="Edm.String" Nullable="false"/>
        <Property Name="label" Type="Edm.String" Nullable="false"/>
        <Property Name="keyColumns" Type="Collection(Edm.String)" Nullable="false"/>
        <Property Name="columns" Type="Collection(Edm.Untyped)" Nullable="false"/>
        <Property Name="canInsert" Type="Edm.Boolean" Nullable="false"/>
        <Property Name="canUpdate" Type="Edm.Boolean" Nullable="false"/>
        <Property Name="canDelete" Type="Edm.Boolean" Nullable="false"/>
        <Property Name="systemViews" Type="Collection(Edm.Untyped)" Nullable="false"/>
        <Annotation Term="Core.Description" String="A saved Explorer view."/>
      </EntityType>
      <EntityType Name="DataQueryExecutionReceipt">
        <Key><PropertyRef Name="id"/></Key>
        <Property Name="id" Type="Edm.Guid" Nullable="false"/>
        <Property Name="workspaceId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="dataConnectionId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="connectionRevision" Type="Edm.Int32" Nullable="false"/>
        <Property Name="connectionRevisionDigest" Type="Edm.String" Nullable="false"/>
        <Property Name="savedQueryId" Type="Edm.Guid"/>
        <Property Name="savedQueryRevision" Type="Edm.Int32"/>
        <Property Name="principalId" Type="Edm.String" Nullable="false"/>
        <Property Name="operationId" Type="Edm.String" Nullable="false"/>
        <Property Name="outcome" Type="Edm.String" Nullable="false"/>
        <Property Name="failureCode" Type="Edm.String"/>
        <Property Name="rowCount" Type="Edm.Int32"/>
        <Property Name="limits" Type="Edm.Untyped" Nullable="false"/>
        <Property Name="route" Type="Edm.String" Nullable="false"/>
        <Property Name="poolRelease" Type="Edm.String" Nullable="false"/>
        <Property Name="acquiredPoolCount" Type="Edm.Int32" Nullable="false"/>
        <Property Name="releasedPoolCount" Type="Edm.Int32" Nullable="false"/>
        <Property Name="providerQueryAttempted" Type="Edm.Boolean" Nullable="false"/>
        <Property Name="payloadCleanup" Type="Edm.String" Nullable="false"/>
        <Property Name="disclosure" Type="Edm.String" Nullable="false"/>
        <Property Name="occurredAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Annotation Term="Core.Description" String="The retained receipt of one Data Query run."/>
      </EntityType>
      <EntityType Name="Notebook">
        <Key><PropertyRef Name="id"/></Key>
        <Property Name="id" Type="Edm.Guid" Nullable="false"/>
        <Property Name="workspaceId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="path" Type="Edm.String" Nullable="false"/>
        <Property Name="name" Type="Edm.String" Nullable="false"/>
        <Property Name="revision" Type="Edm.String" Nullable="false"/>
        <Property Name="contentDigest" Type="Edm.String" Nullable="false"/>
        <Property Name="createdAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Property Name="updatedAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <NavigationProperty Name="Runs" Type="Collection(Webshare.OData.v1.NotebookRun)"/>
        <NavigationProperty Name="Outputs" Type="Collection(Webshare.OData.v1.NotebookOutput)"/>
        <NavigationProperty Name="Automations" Type="Collection(Webshare.OData.v1.NotebookAutomationVersion)"/>
        <Annotation Term="Core.Description" String="A Notebook and its current revision."/>
      </EntityType>
      <EntityType Name="Pipeline">
        <Key><PropertyRef Name="id"/></Key>
        <Property Name="id" Type="Edm.Guid" Nullable="false"/>
        <Property Name="displayName" Type="Edm.String" Nullable="false"/>
        <Property Name="currentRevisionId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="semanticDigest" Type="Edm.String" Nullable="false"/>
        <Property Name="layoutDigest" Type="Edm.String" Nullable="false"/>
        <Property Name="contentRevision" Type="Edm.String" Nullable="false"/>
        <Property Name="workspaceContentRevision" Type="Edm.String">
          <Annotation Term="Core.Description" String="Present when you read one Pipeline; list pages leave it out."/>
        </Property>
        <Property Name="version" Type="Edm.Int32" Nullable="false"/>
        <Property Name="updatedAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Property Name="nodes" Type="Collection(Edm.Untyped)"/>
        <Property Name="edges" Type="Collection(Edm.Untyped)"/>
        <Annotation Term="Core.Description" String="A Pipeline and its current revision."/>
      </EntityType>
      <EntityType Name="ProcessModel">
        <Key><PropertyRef Name="workspaceId"/><PropertyRef Name="id"/></Key>
        <Property Name="id" Type="Edm.Guid" Nullable="false"/>
        <Property Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Property Name="solutionId" Type="Edm.String"/>
        <Property Name="kind" Type="Edm.String" Nullable="false"/>
        <Property Name="displayName" Type="Edm.String" Nullable="false"/>
        <Property Name="currentPublishedRevisionId" Type="Edm.Guid"/>
        <Property Name="version" Type="Edm.Int32" Nullable="false"/>
        <Property Name="updatedAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Annotation Term="Core.Description" String="A process model in a Workspace."/>
      </EntityType>
      <ComplexType Name="PipelineProjection">
        <Property Name="id" Type="Edm.Guid" Nullable="false"/>
        <Property Name="displayName" Type="Edm.String" Nullable="false"/>
        <Property Name="currentRevisionId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="semanticDigest" Type="Edm.String" Nullable="false"/>
        <Property Name="layoutDigest" Type="Edm.String" Nullable="false"/>
        <Property Name="contentRevision" Type="Edm.String" Nullable="false"/>
        <Property Name="workspaceContentRevision" Type="Edm.String" Nullable="false"/>
        <Property Name="version" Type="Edm.Int32" Nullable="false"/>
        <Property Name="updatedAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Property Name="nodes" Type="Collection(Edm.Untyped)"/>
        <Property Name="edges" Type="Collection(Edm.Untyped)"/>
      </ComplexType>
      <ComplexType Name="PipelineValidation">
        <Property Name="valid" Type="Edm.Boolean" Nullable="false"/>
        <Property Name="issues" Type="Collection(Edm.Untyped)" Nullable="false"/>
        <Property Name="compiled" Type="Edm.Untyped"/>
      </ComplexType>
      <ComplexType Name="PipelineCanvasSourceProposal">
        <Property Name="revision" Type="Edm.Int32" Nullable="false"/>
        <Property Name="sourceDigest" Type="Edm.String" Nullable="false"/>
        <Property Name="compilation" Type="Edm.Untyped" Nullable="false"/>
        <Property Name="diff" Type="Edm.Untyped" Nullable="false"/>
      </ComplexType>
      <ComplexType Name="PipelineCanvasSourceReceipt">
        <Property Name="authority" Type="Edm.String" Nullable="false"/>
        <Property Name="pipeline" Type="Webshare.OData.v1.PipelineProjection" Nullable="false"/>
        <Property Name="source" Type="Edm.String" Nullable="false"/>
        <Property Name="sourceDigest" Type="Edm.String" Nullable="false"/>
        <Property Name="revision" Type="Edm.Int32" Nullable="false"/>
        <Property Name="compilation" Type="Edm.Untyped" Nullable="false"/>
        <Property Name="diff" Type="Edm.Untyped" Nullable="false"/>
      </ComplexType>
      <ComplexType Name="PipelineTestProposal">
        <Property Name="proposalId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="pipelineId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="revisionId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="planDigest" Type="Edm.String" Nullable="false"/>
        <Property Name="state" Type="Edm.String" Nullable="false"/>
        <Property Name="profileId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="profileVersion" Type="Edm.Int32" Nullable="false"/>
      </ComplexType>
      <ComplexType Name="PipelineTestReceipt">
        <Property Name="proposalId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="pipelineId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="revisionId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="profileId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="profileVersion" Type="Edm.Int32" Nullable="false"/>
        <Property Name="state" Type="Edm.String" Nullable="false"/>
        <Property Name="planDigest" Type="Edm.String" Nullable="false"/>
      </ComplexType>
      <EntityType Name="NotebookRevision">
        <Key><PropertyRef Name="commitHash"/></Key>
        <Property Name="commitHash" Type="Edm.String" Nullable="false"/>
        <Property Name="contentDigest" Type="Edm.String" Nullable="false"/>
        <Property Name="path" Type="Edm.String" Nullable="false"/>
        <Property Name="createdAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Property Name="message" Type="Edm.String" Nullable="false"/>
        <Property Name="author" Type="Edm.String" Nullable="false"/>
        <Annotation Term="Core.Description" String="One saved revision of a Notebook."/>
      </EntityType>
      <EntityType Name="NotebookRun">
        <Key><PropertyRef Name="id"/></Key>
        <Property Name="id" Type="Edm.Guid" Nullable="false"/>
        <Property Name="workspaceId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="notebookId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="notebookRevision" Type="Edm.String" Nullable="false"/>
        <Property Name="contentDigest" Type="Edm.String" Nullable="false"/>
        <Property Name="environmentDigest" Type="Edm.String" Nullable="false"/>
        <Property Name="triggerDigest" Type="Edm.String"/>
        <Property Name="provenance" Type="Edm.Untyped" Nullable="false"/>
        <Property Name="status" Type="Edm.String" Nullable="false"/>
        <Property Name="unknownExternalEffects" Type="Edm.Boolean" Nullable="false"/>
        <Property Name="safeOutcomeCode" Type="Edm.String"/>
        <Property Name="limits" Type="Edm.Untyped" Nullable="false"/>
        <Property Name="startedAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Property Name="completedAt" Type="Edm.DateTimeOffset"/>
        <Annotation Term="Core.Description" String="One Run of a Notebook."/>
      </EntityType>
      <EntityType Name="NotebookOutput">
        <Key><PropertyRef Name="id"/></Key>
        <Property Name="id" Type="Edm.Guid" Nullable="false"/>
        <Property Name="workspaceId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="notebookId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="runId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="name" Type="Edm.String" Nullable="false"/>
        <Property Name="kind" Type="Edm.String" Nullable="false"/>
        <Property Name="mime" Type="Edm.String" Nullable="false"/>
        <Property Name="byteCount" Type="Edm.Int64" Nullable="false"/>
        <Property Name="contentDigest" Type="Edm.String" Nullable="false"/>
        <Property Name="sensitivity" Type="Edm.String" Nullable="false"/>
        <Property Name="access" Type="Edm.String" Nullable="false"/>
        <Property Name="publishedAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Property Name="retentionUntil" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Property Name="provenance" Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="One retained output of a Notebook Run."/>
      </EntityType>
      <EntityType Name="NotebookAutomationVersion">
        <Key><PropertyRef Name="id"/></Key>
        <Property Name="id" Type="Edm.Guid" Nullable="false"/>
        <Property Name="workspaceId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="automationId" Type="Edm.String" Nullable="false"/>
        <Property Name="version" Type="Edm.Int32" Nullable="false"/>
        <Property Name="notebookId" Type="Edm.Guid" Nullable="false"/>
        <Property Name="notebookRevision" Type="Edm.String" Nullable="false"/>
        <Property Name="environmentDigest" Type="Edm.String" Nullable="false"/>
        <Property Name="parameterSchema" Type="Edm.Untyped" Nullable="false"/>
        <Property Name="requiredCapabilities" Type="Collection(Edm.Untyped)" Nullable="false"/>
        <Property Name="resourceProfile" Type="Edm.Untyped" Nullable="false"/>
        <Property Name="triggerPolicy" Type="Edm.Untyped" Nullable="false"/>
        <Property Name="materialDigest" Type="Edm.String" Nullable="false"/>
        <Property Name="approval" Type="Edm.Untyped" Nullable="false"/>
        <Property Name="supersededAt" Type="Edm.DateTimeOffset"/>
        <Annotation Term="Core.Description" String="One Automation Version proposed for a Notebook."/>
      </EntityType>

      <!-- ===== Bound functions ===== -->
      <Function Name="Onboarding" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Read a Workspace's onboarding goal and progress."/>
      </Function>
      <Action Name="SetOnboardingIntent" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="expectedVersion" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="goal" Type="Edm.String" Nullable="false"/>
        <Parameter Name="resultCriteria" Type="Edm.String" Nullable="false"/>
        <Parameter Name="task" Type="Edm.Untyped" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Set the goal and result a Workspace's onboarding works towards."/>
      </Action>
      <Action Name="CreateOnboardingDocument" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="expectedVersion" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="folder" Type="Edm.String"/>
        <Parameter Name="name" Type="Edm.String" Nullable="false"/>
        <Parameter Name="body" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Create the first Document for a Workspace's onboarding goal."/>
      </Action>
      <Action Name="VerifyOnboardingResult" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="expectedVersion" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="receiptId" Type="Edm.Guid"/>
        <Parameter Name="acceptUsefulResult" Type="Edm.Boolean"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Confirm the onboarding result meets its goal."/>
      </Action>
      <Action Name="StartOnboardingWorkspace">
        <Parameter Name="name" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Create a Workspace and start its onboarding."/>
      </Action>
      <Function Name="DeltaTableOperations" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <ReturnType Type="Collection(Edm.Untyped)" Nullable="false"/>
        <Annotation Term="Core.Description" String="List the lake table imports and refreshes in a Workspace."/>
      </Function>
      <Function Name="DeltaTableOperation" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="planId" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Read one lake table import or refresh."/>
      </Function>
      <Function Name="DeltaTableHead" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="datasetId" Type="Edm.Guid" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Read a lake table's current accepted version."/>
      </Function>
      <Function Name="ResourceEnsures" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <ReturnType Type="Collection(Edm.Untyped)" Nullable="false"/>
        <Annotation Term="Core.Description" String="List the database requests in a Workspace."/>
      </Function>
      <Function Name="ResourceEnsure" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="ensureId" Type="Edm.Guid" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Read one database request and the Data Connection it produced."/>
      </Function>
      <Action Name="ReadPipelineAgentBudget">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Read a Workspace's Pipeline Agent spending allowance."/>
      </Action>
<Action Name="SetPipelineAgentBudget">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
<Parameter Name="currency" Type="Edm.String" Nullable="false"/>
<Parameter Name="ceilingMicros" Type="Edm.Int64" Nullable="false"/>
<Parameter Name="expectedVersion" Type="Edm.Int32" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Change a Workspace's Pipeline Agent spending allowance; Owners only."/>
      </Action>
<Action Name="PreparePipelineAgentGrant">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
<Parameter Name="pipelineId" Type="Edm.Guid" Nullable="false"/>
<Parameter Name="revisionId" Type="Edm.Guid" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Prepare an Agent grant for one Pipeline revision for Owner review."/>
      </Action>
<Action Name="ApprovePipelineAgentGrant">
        <Parameter Name="scope" Type="Edm.Untyped" Nullable="false"/>
<Parameter Name="ceilingMicros" Type="Edm.Int64" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Approve a prepared Agent grant and its spending limit; Owners only."/>
      </Action>
<Action Name="ReadPipelineAgentGrant">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
<Parameter Name="grantId" Type="Edm.Guid" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Read one Agent grant."/>
      </Action>
<Action Name="ListPipelineAgentGrants">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
<Parameter Name="pipelineId" Type="Edm.Guid" Nullable="false"/>
<Parameter Name="revisionId" Type="Edm.Guid" Nullable="true"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="List the Agent grants for a Pipeline."/>
      </Action>
<Action Name="RevokePipelineAgentGrant">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
<Parameter Name="grantId" Type="Edm.Guid" Nullable="false"/>
<Parameter Name="expectedVersion" Type="Edm.Int32" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Revoke an Agent grant; Owners only."/>
      </Action>
      <Action Name="PlanResourceEnsure">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
<Parameter Name="sourceConnectionId" Type="Edm.String" Nullable="false"/>
<Parameter Name="databaseName" Type="Edm.String" Nullable="false"/>
<Parameter Name="capability" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Plan a database through a Data Connection; creating one needs Owner approval."/>
      </Action>
<Action Name="ExecuteResourceEnsure">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
<Parameter Name="ensureId" Type="Edm.Guid" Nullable="false"/>
<Parameter Name="planDigest" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Check or create an Owner-approved database."/>
      </Action>
<Action Name="ReconcileResourceEnsure">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
<Parameter Name="ensureId" Type="Edm.Guid" Nullable="false"/>
<Parameter Name="planDigest" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Settle a database request whose result is unknown, without creating again."/>
      </Action>
<Action Name="ReviewResourceEnsurePlan">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
<Parameter Name="ensureId" Type="Edm.Guid" Nullable="false"/>
<Parameter Name="planDigest" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Review a database plan again before it runs."/>
      </Action>
      <Action Name="PlanDeltaTableImport">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
<Parameter Name="sourceConnectionId" Type="Edm.String" Nullable="false"/>
<Parameter Name="destinationConnectionId" Type="Edm.String" Nullable="false"/>
<Parameter Name="tableName" Type="Edm.String" Nullable="false"/>
<Parameter Name="executionBinding" Type="Edm.Untyped" Nullable="true"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Plan importing a source table into a lake table for Owner approval."/>
      </Action>
<Action Name="ReviewUpdatedDeltaImport">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
<Parameter Name="planId" Type="Edm.String" Nullable="false"/>
<Parameter Name="planDigest" Type="Edm.String" Nullable="false"/>
<Parameter Name="mode" Type="Edm.String" Nullable="true"/>
<Parameter Name="savedMapping" Type="Edm.Untyped" Nullable="true"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Plan an import again after its source changed; it needs fresh Owner approval."/>
      </Action>
<Action Name="ExecuteDeltaTableImport">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
<Parameter Name="planId" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Run an Owner-approved lake table import."/>
      </Action>
<Action Name="QueryDeltaDatasetRevision">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
<Parameter Name="datasetId" Type="Edm.String" Nullable="false"/>
<Parameter Name="revisionId" Type="Edm.String" Nullable="false"/>
<Parameter Name="representationId" Type="Edm.String" Nullable="true"/>
<Parameter Name="sql" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Query one published lake table revision."/>
      </Action>
<Action Name="PlanDeltaTableRefresh">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
<Parameter Name="datasetId" Type="Edm.String" Nullable="false"/>
<Parameter Name="expectedRevisionId" Type="Edm.String" Nullable="false"/>
<Parameter Name="expectedRepresentationId" Type="Edm.String" Nullable="false"/>
<Parameter Name="expectedTableVersion" Type="Edm.Int32" Nullable="false"/>
<Parameter Name="sourceConnectionId" Type="Edm.String" Nullable="false"/>
<Parameter Name="mode" Type="Edm.String" Nullable="false"/>
<Parameter Name="keyColumn" Type="Edm.String" Nullable="true"/>
<Parameter Name="savedMapping" Type="Edm.Untyped" Nullable="true"/>
<Parameter Name="executionBinding" Type="Edm.Untyped" Nullable="true"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Plan adding, replacing, updating or removing rows in a lake table for Owner approval."/>
      </Action>
<Action Name="CancelDeltaTableOperation">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
<Parameter Name="planId" Type="Edm.String" Nullable="false"/>
<Parameter Name="planDigest" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Cancel a lake table plan that has not run."/>
      </Action>
<Action Name="AdoptDeltaTable">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
<Parameter Name="connectionId" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Adopt the lake table already in a Connection's folder; nothing is written; Owners only."/>
      </Action>
      <Action Name="ProduceDeltaManagementDocument"><Parameter Name="workspaceId" Type="Edm.Guid" Nullable="false"/>
<Parameter Name="requestId" Type="Edm.Guid" Nullable="false"/>
<Parameter Name="runId" Type="Edm.Guid" Nullable="false"/>
<Parameter Name="effectNodeId" Type="Edm.String" Nullable="false"/>
<Parameter Name="dataQueryId" Type="Edm.Guid" Nullable="false"/>
<Parameter Name="expectedQueryRevision" Type="Edm.Int32" Nullable="false"/>
<Parameter Name="declaredPeriod" Type="Edm.String" Nullable="false"/>
<Parameter Name="folder" Type="Edm.String" Nullable="true"/>
<Parameter Name="name" Type="Edm.String" Nullable="false"/><ReturnType Type="Edm.Untyped" Nullable="false"/>
  <Annotation Term="Core.Description" String="Write a period report Document from a saved query and a lake table Run."/>
</Action>
<Function Name="DeltaManagementDocument" IsBound="true"><Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/><Parameter Name="requestId" Type="Edm.Guid" Nullable="false"/><ReturnType Type="Edm.Untyped" Nullable="false"/>
  <Annotation Term="Core.Description" String="Read one period report request."/>
</Function>
<Action Name="ReconcileDeltaManagementDocument"><Parameter Name="workspaceId" Type="Edm.Guid" Nullable="false"/>
<Parameter Name="requestId" Type="Edm.Guid" Nullable="false"/><ReturnType Type="Edm.Untyped" Nullable="false"/>
  <Annotation Term="Core.Description" String="Settle a period report write whose result is unknown."/>
</Action>
<Function Name="DeltaManagementDocumentDetail" IsBound="true"><Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/><Parameter Name="requestId" Type="Edm.Guid" Nullable="false"/><ReturnType Type="Edm.Untyped" Nullable="false"/>
  <Annotation Term="Core.Description" String="Read the rows behind a period report."/>
</Function>
<Function Name="DeltaManagementDocumentOriginalBody" IsBound="true"><Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/><Parameter Name="requestId" Type="Edm.Guid" Nullable="false"/><ReturnType Type="Edm.Untyped" Nullable="false"/>
  <Annotation Term="Core.Description" String="Read a period report Document as first written."/>
</Function>
<Function Name="DeltaManagementDocumentRunChoices" IsBound="true"><Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/><Parameter Name="dataQueryId" Type="Edm.Guid" Nullable="false"/>
<Parameter Name="expectedQueryRevision" Type="Edm.Int32" Nullable="false"/>
<Parameter Name="cursor" Type="Edm.String" Nullable="true"/>
<Parameter Name="limit" Type="Edm.Int32" Nullable="true"/><ReturnType Type="Edm.Untyped" Nullable="false"/>
  <Annotation Term="Core.Description" String="List the Runs a period report can use."/>
</Function>
      <Function Name="DeletedFiles" IsBound="true"><Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/><ReturnType Type="Edm.Untyped" Nullable="false"/>
  <Annotation Term="Core.Description" String="List the recently deleted Files you can still restore."/>
</Function><Function Name="DeletedFilesPage" IsBound="true"><Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/><Parameter Name="limit" Type="Edm.Int32" Nullable="true"/><Parameter Name="cursor" Type="Edm.String" Nullable="true"/><ReturnType Type="Edm.Untyped" Nullable="false"/>
  <Annotation Term="Core.Description" String="Read one page of recently deleted Files you can still restore."/>
</Function><Action Name="RestoreDeletedFile" IsBound="true"><Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/><Parameter Name="fileId" Type="Edm.String" Nullable="false"/><ReturnType Type="Edm.Untyped" Nullable="false"/>
  <Annotation Term="Core.Description" String="Restore a recently deleted File to its original folder."/>
</Action><Function Name="FileVersions" IsBound="true"><Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/><Parameter Name="fileId" Type="Edm.String" Nullable="false"/><ReturnType Type="Edm.Untyped" Nullable="false"/>
  <Annotation Term="Core.Description" String="List the earlier versions of one File."/>
</Function><Action Name="RestoreFileVersion" IsBound="true"><Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/><Parameter Name="fileId" Type="Edm.String" Nullable="false"/><Parameter Name="versionId" Type="Edm.String" Nullable="false"/><ReturnType Type="Edm.Untyped" Nullable="false"/>
  <Annotation Term="Core.Description" String="Put an earlier version of a File back; the replaced bytes stay as a version."/>
</Action>
      <Function Name="ContentStoreState" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Read the state of a Workspace's content storage."/>
      </Function>
      <Function Name="TraceColumnLineage" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="dataConnectionId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="schema" Type="Edm.String"/>
        <Parameter Name="table" Type="Edm.String"/>
        <Parameter Name="column" Type="Edm.String" Nullable="false"/>
        <Parameter Name="direction" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Trace where a column comes from and what depends on it."/>
      </Function>
      <Function Name="ColumnImpact" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="dataConnectionId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="schema" Type="Edm.String"/>
        <Parameter Name="table" Type="Edm.String"/>
        <Parameter Name="column" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="See what a change to a column would reach."/>
      </Function>
      <Function Name="OpenLineageEvents" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="after" Type="Edm.String"/>
        <Parameter Name="limit" Type="Edm.Int32"/>
        <ReturnType Type="Collection(Edm.Untyped)" Nullable="false"/>
        <Annotation Term="Core.Description" String="Export recorded column lineage as OpenLineage events."/>
      </Function>
      <Function Name="BySlug" IsBound="true">
        <Parameter Name="binding" Type="Collection(Webshare.OData.v1.Workspace)"/>
        <Parameter Name="slug" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.Workspace"/>
        <Annotation Term="Core.Description" String="Find a Workspace by its web address name."/>
      </Function>
      <Function Name="DocumentByPath" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="path" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.Document"/>
        <Annotation Term="Core.Description" String="Find a Document by its path."/>
      </Function>
      <Function Name="AiRoleSettings" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <ReturnType Type="Edm.Untyped"/>
        <Annotation Term="Core.Description" String="Read a Workspace's AI roles."/>
      </Function>
      <Function Name="AvailableAiModels" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <ReturnType Type="Collection(Webshare.OData.v1.ModelSummary)"/>
        <Annotation Term="Core.Description" String="List the AI models a Workspace can use."/>
      </Function>
      <Function Name="PersonSearchScope" IsBound="true">
        <Parameter Name="bindingParameter" Type="Webshare.OData.v1.Workspace"/>
        <ReturnType Type="Edm.Untyped"/>
        <Annotation Term="Core.Description" String="Read which people a Workspace's person search can find."/>
      </Function>
      <Function Name="PrivatePersonReport" IsBound="true">
        <Parameter Name="bindingParameter" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="reportId" Type="Edm.Guid" Nullable="false"/>
        <ReturnType Type="Edm.Untyped"/>
        <Annotation Term="Core.Description" String="Read a private person report you requested."/>
      </Function>
      <Function Name="PrivatePersonReportHandling" IsBound="true">
        <Parameter Name="bindingParameter" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="reportId" Type="Edm.Guid" Nullable="false"/>
        <ReturnType Type="Edm.Untyped"/>
        <Annotation Term="Core.Description" String="Read how a private person report is being handled."/>
      </Function>
      <Function Name="OperationalEvidence" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Read the recent operational evidence for a Workspace."/>
      </Function>
      <Function Name="History" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Notebook"/>
        <ReturnType Type="Collection(Webshare.OData.v1.NotebookRevision)"/>
        <Annotation Term="Core.Description" String="List a Notebook's saved revisions."/>
      </Function>
      <Function Name="Checkout" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Notebook"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Read a Notebook's current source to edit."/>
      </Function>
      <Function Name="Runs" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Notebook"/>
        <ReturnType Type="Collection(Webshare.OData.v1.NotebookRun)"/>
        <Annotation Term="Core.Description" String="List a Notebook's Runs."/>
      </Function>
      <Function Name="Outputs" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Notebook"/>
        <ReturnType Type="Collection(Webshare.OData.v1.NotebookOutput)"/>
        <Annotation Term="Core.Description" String="List a Notebook's retained outputs."/>
      </Function>
      <Function Name="Automations" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Notebook"/>
        <ReturnType Type="Collection(Webshare.OData.v1.NotebookAutomationVersion)"/>
        <Annotation Term="Core.Description" String="List the Automation Versions proposed for a Notebook."/>
      </Function>
      <Function Name="Preview" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.NotebookOutput"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Preview one retained Notebook output."/>
      </Function>
      <Function Name="RenderHtml" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Document"/>
        <ReturnType Type="Webshare.OData.v1.RenderHtmlResult"/>
        <Annotation Term="Core.Description" String="Read a Document as the website renders it."/>
      </Function>
      <Function Name="GetBody" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Document"/>
        <ReturnType Type="Webshare.OData.v1.GetBodyResult"/>
        <Annotation Term="Core.Description" String="Read a Document's body HTML."/>
      </Function>
      <Function Name="CompareVersions" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Document"/>
        <Parameter Name="fromHash" Type="Edm.String" Nullable="false"/>
        <Parameter Name="toHash" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.DocumentDiff"/>
        <Annotation Term="Core.Description" String="Compare two saved versions of a Document."/>
      </Function>
      <Function Name="GetSource" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Diagram"/>
        <ReturnType Type="Edm.String"/>
        <Annotation Term="Core.Description" String="Read a Diagram's Mermaid source."/>
      </Function>
      <Function Name="RenderSvg" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Diagram"/>
        <ReturnType Type="Edm.String"/>
        <Annotation Term="Core.Description" String="Read a Diagram drawn as SVG."/>
      </Function>
      <Function Name="DownloadFile" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.File"/>
        <ReturnType Type="Edm.Binary"/>
        <Annotation Term="Core.Description" String="Download one File's bytes."/>
      </Function>
      <Function Name="Schema" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.DataConnection"/>
        <ReturnType Type="Collection(Webshare.OData.v1.DataColumn)"/>
        <Annotation Term="Core.Description" String="Read a Data Connection's tables and columns."/>
      </Function>
      <Function Name="Catalog" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.DataConnection"/>
        <Parameter Name="afterSchema" Type="Edm.String"/>
        <Parameter Name="afterTable" Type="Edm.String"/>
        <ReturnType Type="Webshare.OData.v1.DataCatalogPage"/>
        <Annotation Term="Core.Description" String="Read one page of a Data Connection's table catalogue."/>
      </Function>
      <Function Name="DescribeTable" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.DataConnection"/>
        <Parameter Name="schema" Type="Edm.String" Nullable="false"/>
        <Parameter Name="table" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Collection(Webshare.OData.v1.DataColumn)"/>
        <Annotation Term="Core.Description" String="Read the columns of one table."/>
      </Function>
      <Function Name="PreviewTable" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.DataConnection"/>
        <Parameter Name="schema" Type="Edm.String" Nullable="false"/>
        <Parameter Name="table" Type="Edm.String" Nullable="false"/>
        <Parameter Name="limit" Type="Edm.Int32"/>
        <ReturnType Type="Webshare.OData.v1.DataResult"/>
        <Annotation Term="Core.Description" String="Preview the first rows of one table."/>
      </Function>
      <Function Name="PreviewExternalTable" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.DataConnection"/>
        <Parameter Name="format" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Preview the lake table a Data Connection points at."/>
      </Function>
      <Function Name="Grants" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.DataConnectionGroup"/>
        <ReturnType Type="Collection(Edm.Untyped)"/>
        <Annotation Term="Core.Description" String="List who may use a Connection group."/>
      </Function>
      <Function Name="Preview" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.DataConnection"/>
        <Parameter Name="limit" Type="Edm.Int32"/>
        <ReturnType Type="Webshare.OData.v1.DataResult"/>
        <Annotation Term="Core.Description" String="Preview the first rows a Data Connection returns."/>
      </Function>
      <Function Name="AiSchemaSnapshot" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.DataConnection"/>
        <ReturnType Type="Webshare.OData.v1.AiSchemaSnapshot"/>
        <Annotation Term="Core.Description" String="Read the schema snapshot the Agent sees for a Data Connection."/>
      </Function>

      <Function Name="SalesforceInspect" IsBound="true"><Parameter Name="binding" Type="Webshare.OData.v1.DataConnection"/><ReturnType Type="Edm.Untyped"/>
  <Annotation Term="Core.Description" String="Read a Salesforce Connection's status and retained jobs."/>
</Function>
      <Action Name="SalesforceDescribe" IsBound="true"><Parameter Name="binding" Type="Webshare.OData.v1.DataConnection"/><Parameter Name="object" Type="Edm.String"/><ReturnType Type="Edm.Untyped"/>
  <Annotation Term="Core.Description" String="Read Salesforce object and field details."/>
</Action>
      <Action Name="SalesforcePreview" IsBound="true"><Parameter Name="binding" Type="Webshare.OData.v1.DataConnection"/><Parameter Name="objectBinding" Type="Edm.Untyped"/><Parameter Name="limit" Type="Edm.Int32"/><ReturnType Type="Webshare.OData.v1.DataResult"/>
  <Annotation Term="Core.Description" String="Preview records from a Salesforce object."/>
</Action>
      <Action Name="SalesforceCleanup" IsBound="true"><Parameter Name="binding" Type="Webshare.OData.v1.DataConnection"/><Parameter Name="effectId" Type="Edm.String" Nullable="false"/><Parameter Name="expectedRevision" Type="Edm.Int32" Nullable="false"/><Parameter Name="expectedRevisionDigest" Type="Edm.String" Nullable="false"/><ReturnType Type="Edm.Untyped"/>
  <Annotation Term="Core.Description" String="Remove one retained Salesforce bulk job; written records stay; Owners only."/>
</Action>
      <Action Name="SalesforceContinue" IsBound="true"><Parameter Name="binding" Type="Webshare.OData.v1.DataMapping"/><Parameter Name="expectedExecutionDigest" Type="Edm.String" Nullable="false"/><ReturnType Type="Edm.Untyped"/>
  <Annotation Term="Core.Description" String="Continue an Owner-approved Data Mapping write to Salesforce."/>
</Action>
      <!-- ===== Bound actions ===== -->
      <Action Name="CreateApiToken" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.User"/>
        <Parameter Name="name" Type="Edm.String" Nullable="false"/>
        <Parameter Name="expiresAt" Type="Edm.DateTimeOffset"/>
        <Parameter Name="workspaceId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="maxRight" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.CreatedApiToken"/>
        <Annotation Term="Core.Description" String="Create a personal API token for one Workspace, from a signed-in session."/>
      </Action>
      <Action Name="Revoke" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.ApiToken"/>
        <ReturnType Type="Webshare.OData.v1.CommandResult"/>
        <Annotation Term="Core.Description" String="Revoke one of your personal API tokens so it stops working."/>
      </Action>
      <Action Name="Test" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.DataConnection"/>
        <ReturnType Type="Webshare.OData.v1.CommandResult"/>
        <Annotation Term="Core.Description" String="Check that a Data Connection can reach its source."/>
      </Action>
      <Function Name="Validate" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Canvas"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Check a Canvas and read its diagnostics."/>
      </Function>
      <Action Name="Read" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Canvas"/>
        <Parameter Name="selector" Type="Edm.Untyped" Nullable="false"/>
        <Parameter Name="limit" Type="Edm.Int32"/>
        <Parameter Name="byteBudget" Type="Edm.Int32"/>
        <Parameter Name="cursor" Type="Edm.String"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Read records from a Canvas."/>
      </Action>
      <Action Name="ProposePatch" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Canvas"/>
        <Parameter Name="expectedRevision" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="expectedSourceDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="patches" Type="Collection(Edm.Untyped)" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Preview a Canvas change before saving it."/>
      </Action>
      <Action Name="Patch" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Canvas"/>
        <Parameter Name="expectedRevision" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="expectedSourceDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="patches" Type="Collection(Edm.Untyped)" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Save a Canvas change at the revision you read."/>
      </Action>
      <Action Name="AttachConnection" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Canvas"/>
        <Parameter Name="expectedRevision" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="expectedSourceDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="stableKey" Type="Edm.String" Nullable="false"/>
        <Parameter Name="label" Type="Edm.String" Nullable="false"/>
        <Parameter Name="connectionId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="scopeId" Type="Edm.String"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Show a Data Connection on a Canvas."/>
      </Action>
      <Action Name="AttachResourceEnsure" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Canvas"/>
        <Parameter Name="expectedRevision" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="expectedSourceDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="stableKey" Type="Edm.String" Nullable="false"/>
        <Parameter Name="label" Type="Edm.String" Nullable="false"/>
        <Parameter Name="ensureId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="planDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="scopeId" Type="Edm.String"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Show a database request on a Canvas."/>
      </Action>
<Action Name="AttachResourceEnsureResultConnection" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Canvas"/>
        <Parameter Name="expectedRevision" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="expectedSourceDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="stableKey" Type="Edm.String" Nullable="false"/>
        <Parameter Name="label" Type="Edm.String" Nullable="false"/>
        <Parameter Name="ensureId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="planDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="scopeId" Type="Edm.String"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Show the Data Connection a database request produced on a Canvas."/>
      </Action>
      <Action Name="RepinResourceEnsure" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Canvas"/>
        <Parameter Name="expectedRevision" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="expectedSourceDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="childId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="ensureId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="planDigest" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Point a Canvas database request at its current plan."/>
      </Action>
      <Action Name="AttachDatasetRevision" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Canvas"/>
        <Parameter Name="expectedRevision" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="expectedSourceDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="stableKey" Type="Edm.String" Nullable="false"/>
        <Parameter Name="label" Type="Edm.String" Nullable="false"/>
        <Parameter Name="datasetId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="datasetRevisionId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="scopeId" Type="Edm.String"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Show a Dataset Revision on a Canvas."/>
      </Action>
      <Action Name="AttachRepresentation" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Canvas"/>
        <Parameter Name="expectedRevision" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="expectedSourceDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="stableKey" Type="Edm.String" Nullable="false"/>
        <Parameter Name="label" Type="Edm.String" Nullable="false"/>
        <Parameter Name="datasetId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="datasetRevisionId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="representationId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="scopeId" Type="Edm.String"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Show a Dataset representation on a Canvas."/>
      </Action>
      <Action Name="AttachProfile" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Canvas"/>
        <Parameter Name="expectedRevision" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="expectedSourceDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="stableKey" Type="Edm.String" Nullable="false"/>
        <Parameter Name="label" Type="Edm.String" Nullable="false"/>
        <Parameter Name="pipelineId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="profileId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="scopeId" Type="Edm.String"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Show an Environment on a Canvas."/>
      </Action>
      <Action Name="AttachApproval" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Canvas"/>
        <Parameter Name="expectedRevision" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="expectedSourceDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="stableKey" Type="Edm.String" Nullable="false"/>
        <Parameter Name="label" Type="Edm.String" Nullable="false"/>
        <Parameter Name="approvalId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="scopeId" Type="Edm.String"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Show an execution approval on a Canvas."/>
      </Action>
      <Action Name="InspectCelContext" IsBound="true">
        <Annotation Term="Org.OData.Core.V1.Description" String="Expression knowledge includes eallthing.fabric-expression-compatibility/v1, profile eallthing.cel/pipeline-expression-1, 84 dated function classifications and 0 executed Fabric comparisons. Inspect the returned knowledge.compatibility for source anchors, historical evidence scope, unexecuted fixtures and alternatives."/>
        <Parameter Name="binding" Type="Webshare.OData.v1.Canvas"/>
        <Parameter Name="nodeId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="pinId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="direction" Type="Edm.String"><Annotation Term="Org.OData.Core.V1.OptionalParameter"/><Annotation Term="Org.OData.Core.V1.Description" String="input (default) or output; output formulas transform the action result before connected consumers receive it."/></Parameter>
        <Parameter Name="profileRef" Type="Edm.Untyped"/>
        
        
        
        <Parameter Name="authority" Type="Edm.String"><Annotation Term="Org.OData.Core.V1.OptionalParameter"/><Annotation Term="Org.OData.Core.V1.Description" String="Owning object authority: canvas (default) or explicitly pipeline. Current rights are rechecked by the selected owner."/></Parameter>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
      </Action>
<Action Name="InspectCelBuilder" IsBound="true">
        <Annotation Term="Org.OData.Core.V1.Description" String="Expression knowledge includes eallthing.fabric-expression-compatibility/v1, profile eallthing.cel/pipeline-expression-1, 84 dated function classifications and 0 executed Fabric comparisons. Inspect the returned knowledge.compatibility for source anchors, historical evidence scope, unexecuted fixtures and alternatives."/>
        <Parameter Name="binding" Type="Webshare.OData.v1.Canvas"/>
        <Parameter Name="nodeId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="pinId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="direction" Type="Edm.String"><Annotation Term="Org.OData.Core.V1.OptionalParameter"/><Annotation Term="Org.OData.Core.V1.Description" String="input (default) or output; output formulas transform the action result before connected consumers receive it."/></Parameter>
        <Parameter Name="profileRef" Type="Edm.Untyped"/>
        <Parameter Name="profileId" Type="Edm.String" Nullable="false"/><Parameter Name="source" Type="Edm.String" Nullable="false"/><Parameter Name="resultType" Type="Edm.Untyped" Nullable="false"/>
        <Parameter Name="expectedRevision" Type="Edm.Int32" Nullable="false"/><Parameter Name="expectedSourceDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="syntheticValues" Type="Edm.Untyped"/>
        <Parameter Name="authority" Type="Edm.String"><Annotation Term="Org.OData.Core.V1.OptionalParameter"/><Annotation Term="Org.OData.Core.V1.Description" String="Owning object authority: canvas (default) or explicitly pipeline. Current rights are rechecked by the selected owner."/></Parameter>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
      </Action>
<Action Name="ValidateCelExpression" IsBound="true">
        
        <Parameter Name="binding" Type="Webshare.OData.v1.Canvas"/>
        <Parameter Name="nodeId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="pinId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="direction" Type="Edm.String"><Annotation Term="Org.OData.Core.V1.OptionalParameter"/><Annotation Term="Org.OData.Core.V1.Description" String="input (default) or output; output formulas transform the action result before connected consumers receive it."/></Parameter>
        <Parameter Name="profileRef" Type="Edm.Untyped"/>
        <Parameter Name="profileId" Type="Edm.String" Nullable="false"/><Parameter Name="source" Type="Edm.String" Nullable="false"/><Parameter Name="resultType" Type="Edm.Untyped" Nullable="false"/>
        
        
        <Parameter Name="authority" Type="Edm.String"><Annotation Term="Org.OData.Core.V1.OptionalParameter"/><Annotation Term="Org.OData.Core.V1.Description" String="Owning object authority: canvas (default) or explicitly pipeline. Current rights are rechecked by the selected owner."/></Parameter>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Check a CEL expression without saving it."/>
      </Action>
<Action Name="SaveCelBinding" IsBound="true">
        
        <Parameter Name="binding" Type="Webshare.OData.v1.Canvas"/>
        <Parameter Name="nodeId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="pinId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="direction" Type="Edm.String"><Annotation Term="Org.OData.Core.V1.OptionalParameter"/><Annotation Term="Org.OData.Core.V1.Description" String="input (default) or output; output formulas transform the action result before connected consumers receive it."/></Parameter>
        <Parameter Name="profileRef" Type="Edm.Untyped"/>
        <Parameter Name="profileId" Type="Edm.String" Nullable="false"/><Parameter Name="source" Type="Edm.String" Nullable="false"/><Parameter Name="resultType" Type="Edm.Untyped" Nullable="false"/>
        <Parameter Name="expectedRevision" Type="Edm.Int32" Nullable="false"/><Parameter Name="expectedSourceDigest" Type="Edm.String" Nullable="false"/>
        
        <Parameter Name="authority" Type="Edm.String"><Annotation Term="Org.OData.Core.V1.OptionalParameter"/><Annotation Term="Org.OData.Core.V1.Description" String="Owning object authority: canvas (default) or explicitly pipeline. Current rights are rechecked by the selected owner."/></Parameter>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Save a checked CEL expression on a Canvas pin."/>
      </Action>
<Action Name="RemoveCelBinding" IsBound="true">
        
        <Parameter Name="binding" Type="Webshare.OData.v1.Canvas"/>
        <Parameter Name="nodeId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="pinId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="direction" Type="Edm.String"><Annotation Term="Org.OData.Core.V1.OptionalParameter"/><Annotation Term="Org.OData.Core.V1.Description" String="input (default) or output; output formulas transform the action result before connected consumers receive it."/></Parameter>
        
        
        <Parameter Name="expectedRevision" Type="Edm.Int32" Nullable="false"/><Parameter Name="expectedSourceDigest" Type="Edm.String" Nullable="false"/>
        
        <Parameter Name="authority" Type="Edm.String"><Annotation Term="Org.OData.Core.V1.OptionalParameter"/><Annotation Term="Org.OData.Core.V1.Description" String="Owning object authority: canvas (default) or explicitly pipeline. Current rights are rechecked by the selected owner."/></Parameter>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Remove a saved CEL expression from a Canvas pin."/>
      </Action>
      <Action Name="AttachRun" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Canvas"/>
        <Parameter Name="expectedRevision" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="expectedSourceDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="stableKey" Type="Edm.String" Nullable="false"/>
        <Parameter Name="label" Type="Edm.String" Nullable="false"/>
        <Parameter Name="pipelineId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="runId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="scopeId" Type="Edm.String"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Show a Pipeline Run on a Canvas."/>
      </Action>
      <Action Name="AttachObjectiveManifest" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Canvas"/>
        <Parameter Name="expectedRevision" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="expectedSourceDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="stableKey" Type="Edm.String" Nullable="false"/>
        <Parameter Name="label" Type="Edm.String" Nullable="false"/>
        <Parameter Name="manifestId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="scopeId" Type="Edm.String"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Show an Objective Manifest on a Canvas."/>
      </Action>
      <Action Name="AttachObjectiveReceipt" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Canvas"/>
        <Parameter Name="expectedRevision" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="expectedSourceDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="stableKey" Type="Edm.String" Nullable="false"/>
        <Parameter Name="label" Type="Edm.String" Nullable="false"/>
        <Parameter Name="manifestId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="receiptId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="scopeId" Type="Edm.String"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Show an Objective Receipt on a Canvas."/>
      </Action>
      <Action Name="AttachManagementRecovery" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Canvas"/>
        <Parameter Name="expectedRevision" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="expectedSourceDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="stableKey" Type="Edm.String" Nullable="false"/>
        <Parameter Name="label" Type="Edm.String" Nullable="false"/>
        <Parameter Name="itemId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="itemVersion" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="stateDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="scopeId" Type="Edm.String"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Show an exception recovery on a Canvas."/>
      </Action>
      <Action Name="RemoveCapabilityChild" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Canvas"/>
        <Parameter Name="expectedRevision" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="expectedSourceDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="childId" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Remove one attached item from a Canvas."/>
      </Action>
      <Action Name="ConnectionGroupRead" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Canvas"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Read the Connection group a Canvas uses."/>
      </Action>
      <Action Name="RefreshConnectionSnapshot" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Canvas"/>
        <Parameter Name="expectedRevision" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="expectedSourceDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="childId" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Refresh a Canvas's snapshot of a Data Connection."/>
      </Action>
      <Action Name="Archive" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Canvas"/>
        <Parameter Name="expectedRevision" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="expectedSourceDigest" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Archive a Canvas; it can be recovered."/>
      </Action>
      <Action Name="Recover" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Canvas"/>
        <Parameter Name="expectedRevision" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="expectedSourceDigest" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Recover an archived Canvas."/>
      </Action>
      <Action Name="AddStep" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Canvas"/>
        <Parameter Name="expectedRevision" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="expectedSourceDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="stableKey" Type="Edm.String" Nullable="false"/>
        <Parameter Name="definitionId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="definitionVersion" Type="Edm.String" Nullable="false"/>
        <Parameter Name="scopeId" Type="Edm.String"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Add one step to a Canvas."/>
      </Action>
      <Action Name="Create" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="canvasId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="title" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.Canvas" Nullable="false"/>
        <Annotation Term="Core.Description" String="Create a modelling Canvas."/>
      </Action>
      <Function Name="Inspect" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.ProcessModel"/>
        <Parameter Name="revisionId" Type="Edm.Guid"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Read a process model at one revision."/>
      </Function>
      <Function Name="Compare" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.ProcessModel"/>
        <Parameter Name="fromRevisionId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="toRevisionId" Type="Edm.Guid" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Compare two revisions of a process model."/>
      </Function>
      <Action Name="Propose" IsBound="true">
        <Parameter Name="binding" Type="Collection(Webshare.OData.v1.ProcessModel)"/>
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="modelId" Type="Edm.Guid"/>
        <Parameter Name="solutionId" Type="Edm.Guid"/>
        <Parameter Name="draft" Type="Edm.Untyped" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Propose a new process model or a change to one."/>
      </Action>
      <Action Name="Publish" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.ProcessModel"/>
        <Parameter Name="revisionId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="expectedVersion" Type="Edm.Int32" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Publish a process model revision."/>
      </Action>
      <Function Name="Lineage" IsBound="true">
        <Parameter Name="binding" Type="Collection(Webshare.OData.v1.ProcessModel)"/>
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="revisionId" Type="Edm.Guid"/>
        <Parameter Name="limit" Type="Edm.Int32"/>
        <Parameter Name="cursor" Type="Edm.String"/>
        <ReturnType Type="Collection(Edm.Untyped)" Nullable="false"/>
        <Annotation Term="Core.Description" String="List a Workspace's model lineage links."/>
      </Function>
      <Function Name="DatasetLineage" IsBound="true">
        <Parameter Name="binding" Type="Collection(Webshare.OData.v1.ProcessModel)"/>
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="modelId" Type="Edm.String"/>
        <Parameter Name="datasetId" Type="Edm.String"/>
        <Parameter Name="limit" Type="Edm.Int32"/>
        <Parameter Name="cursor" Type="Edm.String"/>
        <ReturnType Type="Collection(Edm.Untyped)" Nullable="false"/>
        <Annotation Term="Core.Description" String="List the links between models and Datasets."/>
      </Function>
      <Function Name="DatasetLineageStatement" IsBound="true">
        <Parameter Name="binding" Type="Collection(Webshare.OData.v1.ProcessModel)"/>
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="lineageId" Type="Edm.Guid" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Read one link between a model and a Dataset."/>
      </Function>
      <Function Name="Canvas" IsBound="true">
        <Parameter Name="binding" Type="Collection(Webshare.OData.v1.ProcessModel)"/>
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="processModelId" Type="Edm.Guid"/>
        <Parameter Name="processRevisionId" Type="Edm.Guid"/>
        <Parameter Name="domainModelId" Type="Edm.Guid"/>
        <Parameter Name="domainRevisionId" Type="Edm.Guid"/>
        <Parameter Name="logicalModelId" Type="Edm.Guid"/>
        <Parameter Name="logicalRevisionId" Type="Edm.Guid"/>
        <Parameter Name="physicalModelId" Type="Edm.Guid"/>
        <Parameter Name="physicalRevisionId" Type="Edm.Guid"/>
        <Parameter Name="inspectorModelId" Type="Edm.Guid"/>
        <Parameter Name="inspectorRevisionId" Type="Edm.Guid"/>
        <Parameter Name="inspectorModelKind" Type="Edm.String"/>
        <Parameter Name="inspectorReferenceKind" Type="Edm.String"/>
        <Parameter Name="inspectorReferenceId" Type="Edm.String"/>
        <Parameter Name="compareModelId" Type="Edm.Guid"/>
        <Parameter Name="compareFromRevisionId" Type="Edm.Guid"/>
        <Parameter Name="compareToRevisionId" Type="Edm.Guid"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Read the modelling Canvas for a set of models."/>
      </Function>
      <Function Name="ReviewDesign" IsBound="true">
        <Parameter Name="binding" Type="Collection(Webshare.OData.v1.ProcessModel)"/>
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="processModelId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="processRevisionId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="domainModelId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="domainRevisionId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="logicalModelId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="logicalRevisionId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="physicalModelId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="physicalRevisionId" Type="Edm.Guid" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Review a process, domain, logical and physical model design together."/>
      </Function>
      <Action Name="DecideDesign" IsBound="true">
        <Parameter Name="binding" Type="Collection(Webshare.OData.v1.ProcessModel)"/>
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="selections" Type="Collection(Edm.Untyped)" Nullable="false"/>
        <Parameter Name="bundleDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="expectedRevision" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="decision" Type="Edm.String" Nullable="false"/>
        <Parameter Name="rationaleCode" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Approve or reject a reviewed model design."/>
      </Action>
      <Action Name="PreviewRealization" IsBound="true">
        <Parameter Name="binding" Type="Collection(Webshare.OData.v1.ProcessModel)"/>
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="selections" Type="Collection(Edm.Untyped)" Nullable="false"/>
        <Parameter Name="approvedDecisionId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="bundleDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="locationId" Type="Edm.Guid"/>
        <Parameter Name="expectedLocationVersion" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="target" Type="Edm.Untyped" Nullable="false"/>
        <Parameter Name="mode" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Preview what building an approved design would create."/>
      </Action>
      <Function Name="RealizationPlan" IsBound="true">
        <Parameter Name="binding" Type="Collection(Webshare.OData.v1.ProcessModel)"/>
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="planId" Type="Edm.Guid" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Read one design build plan."/>
      </Function>
      <Action Name="ProposeLineage" IsBound="true">
        <Parameter Name="binding" Type="Collection(Webshare.OData.v1.ProcessModel)"/>
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="source" Type="Edm.Untyped" Nullable="false"/>
        <Parameter Name="target" Type="Edm.Untyped" Nullable="false"/>
        <Parameter Name="relationshipKind" Type="Edm.String" Nullable="false"/>
        <Parameter Name="status" Type="Edm.String" Nullable="false"/>
        <Parameter Name="supersedesLineageId" Type="Edm.Guid"/>
        <Parameter Name="rationale" Type="Edm.String"/>
        <Parameter Name="provenanceSourceIds" Type="Collection(Edm.String)"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Propose a lineage link between two model elements."/>
      </Action>
      <Action Name="AppendDatasetLineage" IsBound="true">
        <Parameter Name="binding" Type="Collection(Webshare.OData.v1.ProcessModel)"/>
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="modelId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="modelRevisionId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="modelSemanticDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="datasetId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="datasetRevisionId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="datasetRevisionDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="status" Type="Edm.String" Nullable="false"/>
        <Parameter Name="mappings" Type="Collection(Edm.Untyped)" Nullable="false"/>
        <Parameter Name="supersedesLineageId" Type="Edm.Guid"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Link a model revision to a Dataset Revision."/>
      </Action>
      <Action Name="Query" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.DataConnection"/>
        <Parameter Name="sql" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.DataResult"/>
        <Annotation Term="Core.Description" String="Run a read-only SQL query through a Data Connection."/>
      </Action>
      <Action Name="AssignConnection" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.DataConnectionGroup"/>
        <Parameter Name="dataConnectionId" Type="Edm.Guid" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.CommandResult"/>
        <Annotation Term="Core.Description" String="Put a Data Connection in a Connection group."/>
      </Action>
      <Action Name="SetGrant" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.DataConnectionGroup"/>
        <Parameter Name="subjectType" Type="Edm.String" Nullable="false"/>
        <Parameter Name="subjectId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="allowed" Type="Edm.Boolean" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.CommandResult"/>
        <Annotation Term="Core.Description" String="Allow or stop a person or team using a Connection group."/>
      </Action>
      <Action Name="DraftFromQuestion" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.DataConnection"/>
        <Parameter Name="question" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.DataQueryDraft"/>
        <Annotation Term="Core.Description" String="Draft a read-only query for a Data Connection from a plain question."/>
      </Action>
      <Action Name="Run" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.DataQuery"/>
        <ReturnType Type="Webshare.OData.v1.DataResult"/>
        <Annotation Term="Core.Description" String="Run one saved Data Query and keep its receipt."/>
      </Action>
      
      <Action Name="DryRun" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.DataMapping"/>
        <ReturnType Type="Webshare.OData.v1.CommandResult"/>
        <Annotation Term="Core.Description" String="Try a Data Mapping without writing anything."/>
      </Action>
      <Action Name="ApprovedWriteContinue" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.DataMapping"/>
        <Parameter Name="expectedExecutionDigest" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped"/>
        <Annotation Term="Core.Description" String="Continue an Owner-approved Data Mapping write to a file."/>
      </Action>
      <Action Name="Run" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.DataMapping"/>
        <Parameter Name="reconcileRunId" Type="Edm.String"/>
        <ReturnType Type="Webshare.OData.v1.CommandResult"/>
        <Annotation Term="Core.Description" String="Run a Data Mapping and keep its evidence."/>
      </Action>
      <Function Name="Runs" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.DataMapping"/>
        <ReturnType Type="Collection(Webshare.OData.v1.DataMappingRun)"/>
        <Annotation Term="Core.Description" String="List the Runs of one Data Mapping."/>
      </Function>
      <Function Name="SuggestPlacement" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.DataMapping"/>
        <ReturnType Type="Edm.Untyped"/>
        <Annotation Term="Core.Description" String="Suggest where a Data Mapping's output should go."/>
      </Function>
      <Action Name="CreateFolder" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="name" Type="Edm.String" Nullable="false"/>
        <Parameter Name="folderPath" Type="Edm.String"/>
        <ReturnType Type="Webshare.OData.v1.Folder"/>
        <Annotation Term="Core.Description" String="Create a folder inside an existing folder."/>
      </Action>
      <Action Name="CreateDocument" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="folderPath" Type="Edm.String" Nullable="false"/>
        <Parameter Name="name" Type="Edm.String" Nullable="false"/>
        <Parameter Name="bodyHtml" Type="Edm.String"/>
        <ReturnType Type="Webshare.OData.v1.Document"/>
        <Annotation Term="Core.Description" String="Create a Document in a folder."/>
      </Action>
      <Action Name="GenerateDocument" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="folderPath" Type="Edm.String" Nullable="false"/>
        <Parameter Name="name" Type="Edm.String" Nullable="false"/>
        <Parameter Name="prompt" Type="Edm.String" Nullable="false"/>
        <Parameter Name="modelId" Type="Edm.String"/>
        <ReturnType Type="Webshare.OData.v1.Document"/>
        <Annotation Term="Core.Description" String="Write a new Document from a prompt with the Workspace's AI model."/>
      </Action>
      <Action Name="SetAiRolePolicy" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="expectedRevision" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="roles" Type="Edm.Untyped" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.CommandResult"/>
        <Annotation Term="Core.Description" String="Set a Workspace's AI role defaults and limits; Owners only."/>
      </Action>
      <Action Name="SetMyAiRolePreferences" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="expectedRevision" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="roles" Type="Edm.Untyped" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.CommandResult"/>
        <Annotation Term="Core.Description" String="Set your own AI role preferences in a Workspace."/>
      </Action>
      <Action Name="SetPreferredAiModel" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="modelId" Type="Edm.String"/>
        <ReturnType Type="Webshare.OData.v1.CommandResult"/>
        <Annotation Term="Core.Description" String="Set a Workspace's preferred AI model."/>
      </Action>
      <Action Name="SetAiProviderKeys" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="keys" Type="Collection(Webshare.OData.v1.AiProviderKeyInput)" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.CommandResult"/>
        <Annotation Term="Core.Description" String="Save or remove a Workspace's AI provider keys; Owners only."/>
      </Action>
      <Action Name="Delete" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <ReturnType Type="Webshare.OData.v1.CommandResult"/>
        <Annotation Term="Core.Description" String="Delete a Workspace; Owners only."/>
      </Action>
      <Action Name="AddOrUpdateMember" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="email" Type="Edm.String" Nullable="false"/>
        <Parameter Name="right" Type="Webshare.OData.v1.Right" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.CommandResult"/>
        <Annotation Term="Core.Description" String="Add a signed-in person to a Workspace or change their right; Owners only."/>
      </Action>
      <Action Name="RemoveMember" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="userId" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.CommandResult"/>
        <Annotation Term="Core.Description" String="Remove a Member from a Workspace; Owners only."/>
      </Action>
      <Action Name="AddOrUpdatePathShare" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="resourceType" Type="Webshare.OData.v1.ResourceType" Nullable="false"/>
        <Parameter Name="path" Type="Edm.String" Nullable="false"/>
        <Parameter Name="email" Type="Edm.String" Nullable="false"/>
        <Parameter Name="right" Type="Webshare.OData.v1.Right" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.CommandResult"/>
        <Annotation Term="Core.Description" String="Share one folder or file with a signed-in person, or change that share's right; Owners only."/>
      </Action>
      <Action Name="RemovePathShare" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="shareId" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.CommandResult"/>
        <Annotation Term="Core.Description" String="Remove one folder or file share; Owners only."/>
      </Action>
      <Action Name="UpdateBody" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Document"/>
        <Parameter Name="bodyHtml" Type="Edm.String" Nullable="false"/>
        <Parameter Name="expectedCommitHash" Type="Edm.String"/>
        <ReturnType Type="Webshare.OData.v1.DocumentWriteResult"/>
        <Annotation Term="Core.Description" String="Replace a Document's body, optionally only if it is still at the version you read."/>
      </Action>
      <Action Name="EditWithAi" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Document"/>
        <Parameter Name="instruction" Type="Edm.String" Nullable="false"/>
        <Parameter Name="modelId" Type="Edm.String"/>
        <Parameter Name="expectedCommitHash" Type="Edm.String"/>
        <ReturnType Type="Webshare.OData.v1.DocumentAiWriteResult"/>
        <Annotation Term="Core.Description" String="Edit a whole Document from an instruction with the Workspace's AI model."/>
      </Action>
      <Action Name="EditSelectionWithAi" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Document"/>
        <Parameter Name="selection" Type="Edm.String" Nullable="false"/>
        <Parameter Name="instruction" Type="Edm.String" Nullable="false"/>
        <Parameter Name="modelId" Type="Edm.String"/>
        <Parameter Name="expectedCommitHash" Type="Edm.String"/>
        <Parameter Name="requireExactSelection" Type="Edm.Boolean"/>
        <ReturnType Type="Webshare.OData.v1.DocumentAiWriteResult"/>
        <Annotation Term="Core.Description" String="Edit a selected passage of a Document from an instruction with the Workspace's AI model."/>
      </Action>
      <Action Name="RestoreVersion" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Document"/>
        <Parameter Name="commitHash" Type="Edm.String" Nullable="false"/>
        <Parameter Name="expectedCurrentCommitHash" Type="Edm.String"/>
        <ReturnType Type="Webshare.OData.v1.DocumentWriteResult"/>
        <Annotation Term="Core.Description" String="Restore a Document to an earlier saved version."/>
      </Action>
      <Action Name="UploadMermaidDiagram" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="path" Type="Edm.String" Nullable="false"/>
        <Parameter Name="sourceText" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.Diagram"/>
        <Annotation Term="Core.Description" String="Save a Mermaid Diagram in a folder."/>
      </Action>
      <Action Name="Save" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Notebook"/>
        <Parameter Name="source" Type="Edm.String" Nullable="false"/>
        <Parameter Name="expectedRevision" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.Notebook"/>
        <Annotation Term="Core.Description" String="Save Notebook source at the revision you read."/>
      </Action>
      <Action Name="PreviewMappingPromotion" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Notebook"/>
        <Parameter Name="notebookRevision" Type="Edm.String" Nullable="false"/>
        <Parameter Name="selectedCells" Type="Collection(Edm.Int32)" Nullable="false"/>
        <Parameter Name="name" Type="Edm.String" Nullable="false"/>
        <Parameter Name="destinationConnectionId" Type="Edm.Guid"/>
        <Parameter Name="writeStrategy" Type="Edm.String" Nullable="false"/>
        <Parameter Name="sources" Type="Collection(Edm.Untyped)" Nullable="false"/>
        <Parameter Name="destinationSchema" Type="Edm.Untyped"/>
        <Parameter Name="parameters" Type="Edm.Untyped" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Preview turning Notebook cells into a Data Mapping."/>
      </Action>
      <Action Name="ProposeAutomation" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Notebook"/>
        <Parameter Name="notebookRevision" Type="Edm.String" Nullable="false"/>
        <Parameter Name="automationId" Type="Edm.String"/>
        <Parameter Name="environmentDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="parameterSchema" Type="Edm.Untyped" Nullable="false"/>
        <Parameter Name="grants" Type="Collection(Edm.Untyped)" Nullable="false"/>
        <Parameter Name="resourceProfile" Type="Edm.Untyped" Nullable="false"/>
        <Parameter Name="triggerPolicy" Type="Edm.Untyped" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.NotebookAutomationVersion"/>
        <Annotation Term="Core.Description" String="Propose an Automation Version of a Notebook for Owner review."/>
      </Action>
      <Action Name="RestoreDeletedNotebook" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="notebookId" Type="Edm.Guid" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.Notebook"/>
        <Annotation Term="Core.Description" String="Restore a deleted Notebook."/>
      </Action>
      <Action Name="Rename" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Notebook"/>
        <Parameter Name="path" Type="Edm.String" Nullable="false"/>
        <Parameter Name="expectedRevision" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.Notebook"/>
        <Annotation Term="Core.Description" String="Rename or move a Notebook."/>
      </Action>
      <Action Name="Restore" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Notebook"/>
        <Parameter Name="revision" Type="Edm.String" Nullable="false"/>
        <Parameter Name="expectedRevision" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.Notebook"/>
        <Annotation Term="Core.Description" String="Restore a Notebook to an earlier revision."/>
      </Action>
      <Action Name="Delete" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Notebook"/>
        <Parameter Name="expectedRevision" Type="Edm.String" Nullable="false"/>
        <Annotation Term="Core.Description" String="Delete a Notebook; it can be restored."/>
      </Action>
      <Action Name="UpdateSource" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Diagram"/>
        <Parameter Name="sourceText" Type="Edm.String" Nullable="false"/>
        <Parameter Name="expectedCommitHash" Type="Edm.String"/>
        <ReturnType Type="Webshare.OData.v1.Diagram"/>
        <Annotation Term="Core.Description" String="Replace a Diagram's Mermaid source."/>
      </Action>
      <!--
        UploadFile (#122): create/overwrite a non-HTML file. The request is
        multipart/form-data (parts: 'path' text + 'file' binary); the route
        adapter parses it into { path, bytes }. The MIME is detected from the
        stored path at upload, never trusted from the part's declared type.
      -->
      <Action Name="UploadFile" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="path" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.File"/>
        <Annotation Term="Core.Description" String="Upload a File to a folder, or replace one with the same name."/>
      </Action>
      <Action Name="InstallSkill" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="skillId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="versionId" Type="Edm.Guid" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.CommandResult"/>
        <Annotation Term="Core.Description" String="Install an Agent Skill version in a Workspace."/>
      </Action>
      <Action Name="UpdateSkillInstallation" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="skillId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="versionId" Type="Edm.Guid" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.CommandResult"/>
        <Annotation Term="Core.Description" String="Move an installed Agent Skill to another version."/>
      </Action>
      <Action Name="UninstallSkill" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="skillId" Type="Edm.Guid" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.CommandResult"/>
        <Annotation Term="Core.Description" String="Remove an Agent Skill from a Workspace."/>
      </Action>
      <Action Name="CreateSkillDraft" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="repositoryId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="path" Type="Edm.String" Nullable="false"/>
        <Parameter Name="source" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.SkillDraft"/>
        <Annotation Term="Core.Description" String="Start a draft Agent Skill."/>
      </Action>
      <Action Name="SaveSkillDraft" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="skillId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="source" Type="Edm.String" Nullable="false"/>
        <Parameter Name="expectedRevision" Type="Edm.Int32"/>
        <ReturnType Type="Webshare.OData.v1.SkillDraft"/>
        <Annotation Term="Core.Description" String="Save a draft Agent Skill."/>
      </Action>
      <Action Name="CommitSkillDraft" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="draftId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="expectedRevision" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="message" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.SkillCommit"/>
        <Annotation Term="Core.Description" String="Commit a draft Agent Skill."/>
      </Action>
      <Action Name="PublishWorkspaceSkill" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="commitId" Type="Edm.Guid" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.SkillPublishResult"/>
        <Annotation Term="Core.Description" String="Publish a committed Agent Skill to the Workspace."/>
      </Action>
      <!-- LocalResource plan/approve/execute chain (#1561 slice 10): the
           caller must name the exact prior artifact — the observed snapshot
           digest for a Plan, the matching plan digest for an execute — so
           nothing mutates on a stale or racing digest. Value-free outcomes. -->
      <Action Name="Plan" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.LocalResource"/>
        <Parameter Name="expectedSnapshotDigest" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped"/>
        <Annotation Term="Core.Description" String="Plan creating a local storage area."/>
      </Action>
      <Action Name="Provision" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.LocalResource"/>
        <Parameter Name="expectedPlanDigest" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped"/>
        <Annotation Term="Core.Description" String="Create a planned local storage area."/>
      </Action>
      <Action Name="PlanTeardown" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.LocalResource"/>
        <Parameter Name="expectedSnapshotDigest" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped"/>
        <Annotation Term="Core.Description" String="Plan removing a local storage area."/>
      </Action>
      <Action Name="Teardown" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.LocalResource"/>
        <Parameter Name="expectedTeardownPlanDigest" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped"/>
        <Annotation Term="Core.Description" String="Remove a local storage area as planned."/>
      </Action>
      <!-- LocalSqlServerResource plan/execute chains (#1561 slices 17 and
           19): the same approval-digest contract as the storage chain above,
           bound to the SQL Server kind's key (connection + database
           name). A database that already exists refuses as an
           ambiguous-ownership conflict — nothing is claimed or replaced.
           Teardown is bounded like the storage kind's: the plan reads the
           database's own catalog and a database holding user objects
           refuses. -->
      <Action Name="Plan" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.LocalSqlServerResource"/>
        <Parameter Name="expectedSnapshotDigest" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped"/>
        <Annotation Term="Core.Description" String="Plan creating a local SQL Server database."/>
      </Action>
      <Action Name="Provision" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.LocalSqlServerResource"/>
        <Parameter Name="expectedPlanDigest" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped"/>
        <Annotation Term="Core.Description" String="Create a planned local SQL Server database."/>
      </Action>
      <Action Name="PlanTeardown" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.LocalSqlServerResource"/>
        <Parameter Name="expectedSnapshotDigest" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped"/>
        <Annotation Term="Core.Description" String="Plan removing a local SQL Server database."/>
      </Action>
      <Action Name="Teardown" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.LocalSqlServerResource"/>
        <Parameter Name="expectedTeardownPlanDigest" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped"/>
        <Annotation Term="Core.Description" String="Remove a local SQL Server database as planned."/>
      </Action>
      <Action Name="CreateSolution" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="name" Type="Edm.String" Nullable="false"/>
        <Parameter Name="briefPath" Type="Edm.String" Nullable="false"/>
        <Parameter Name="briefRevision" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.Solution"/>
        <Annotation Term="Core.Description" String="Create a Solution from a Solution Brief."/>
      </Action>
      <Action Name="ProposeSolutionManifest" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="solutionId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="manifest" Type="Edm.Untyped" Nullable="false"/>
        <Parameter Name="briefRevision" Type="Edm.String" Nullable="false"/>
        <Parameter Name="provenance" Type="Edm.Untyped" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.SolutionManifestVersion"/>
        <Annotation Term="Core.Description" String="Propose a Solution Manifest Version."/>
      </Action>
      <Action Name="ApproveSolutionManifest" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="solutionId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="manifestVersionId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="digest" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.SolutionManifestVersion"/>
        <Annotation Term="Core.Description" String="Approve a Solution Manifest Version."/>
      </Action>
      <Action Name="RejectSolutionManifest" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="solutionId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="manifestVersionId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="digest" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.SolutionManifestVersion"/>
        <Annotation Term="Core.Description" String="Reject a Solution Manifest Version."/>
      </Action>
      <Action Name="QueueDeploymentStackPlan" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="solutionId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="stackId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="expectedManifestVersionId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="expectedManifestDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="expectedStateGenerationDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="idempotencyKey" Type="Edm.String" Nullable="false"/>
        <Parameter Name="planMode" Type="Edm.String"/>
        <ReturnType Type="Webshare.OData.v1.CommandResult"/>
        <Annotation Term="Core.Description" String="Plan a Deployment Stack from an approved Solution Manifest Version."/>
      </Action>
      <Action Name="ConfirmDeploymentStackApply" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="solutionId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="stackKey" Type="Edm.String" Nullable="false"/>
        <Parameter Name="planRunId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="expectedPlanInputDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="expectedTerraformPlanDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="expectedManifestVersionId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="expectedManifestDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="expectedStateGenerationDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="confirmationExpiresAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <Parameter Name="operation" Type="Edm.String" Nullable="false"/>
        <Parameter Name="confirmation" Type="Edm.String" Nullable="false"/>
        <Parameter Name="idempotencyKey" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.CommandResult"/>
        <Annotation Term="Core.Description" String="Apply a planned Deployment Stack after confirming it."/>
      </Action>
      <Action Name="ReconcileDeploymentStackApply" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="runId" Type="Edm.Guid" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.CommandResult"/>
        <Annotation Term="Core.Description" String="Settle a Deployment Run whose result is unknown."/>
      </Action>
      <Action Name="RecordDeploymentStackPaymentBinding" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="solutionId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="stackKey" Type="Edm.String" Nullable="false"/>
        <Parameter Name="planRunId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="planInputDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="operation" Type="Edm.String" Nullable="false"/>
        <Parameter Name="costCurrency" Type="Edm.String" Nullable="false"/>
        <Parameter Name="costCeilingMicros" Type="Edm.Int64" Nullable="false"/>
        <Parameter Name="authorizationRef" Type="Edm.String" Nullable="false"/>
        <Parameter Name="expiresAt" Type="Edm.DateTimeOffset" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.CommandResult"/>
        <Annotation Term="Core.Description" String="Record the payment limit for a Deployment Stack change."/>
      </Action>
      <Action Name="RevokeDeploymentStackPaymentBinding" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="solutionId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="stackKey" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.CommandResult"/>
        <Annotation Term="Core.Description" String="Remove a Deployment Stack's payment limit."/>
      </Action>
      <Function Name="InspectWorkflow" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Pipeline"/>
        <Parameter Name="revisionId" Type="Edm.Guid" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Read one Pipeline revision's steps and wires."/>
      </Function>
      <Function Name="Inspect" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Pipeline"/>
        <Parameter Name="revisionId" Type="Edm.Guid" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.Pipeline"/>
        <Annotation Term="Core.Description" String="Read one Pipeline revision."/>
      </Function>
      <Function Name="Validate" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Pipeline"/>
        <Parameter Name="revisionId" Type="Edm.Guid" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.PipelineValidation"/>
        <Annotation Term="Core.Description" String="Check one Pipeline revision."/>
      </Function>
      <Function Name="Canvas" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Pipeline"/>
        <ReturnType Type="Edm.Untyped"/>
        <Annotation Term="Core.Description" String="Read a Pipeline's Canvas source."/>
      </Function>
      <Function Name="Inspect" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Dataset"/>
        <Parameter Name="revisionId" Type="Edm.String"/>
        <ReturnType Type="Edm.Untyped"/>
        <Annotation Term="Core.Description" String="Read one Dataset Revision and its representations."/>
      </Function>
      <Function Name="Rows" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Dataset"/>
        <Parameter Name="revisionId" Type="Edm.String"/>
        <Parameter Name="representationId" Type="Edm.String"/>
        <ReturnType Type="Edm.Untyped"/>
        <Annotation Term="Core.Description" String="Read the rows of one Dataset Revision."/>
      </Function>
      <Function Name="MapView" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Dataset"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Read a Dataset's map view."/>
      </Function>
      <Action Name="ExplorerQuery" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="sql" Type="Edm.String" Nullable="false"/>
        <Parameter Name="limit" Type="Edm.Int32"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Run a read-only SQL query across a Workspace's Explorer sources."/>
      </Action>
      <Action Name="ExplorerSaveChangeSet" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="changeSet" Type="Edm.Untyped" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Save a set of Explorer row changes for review."/>
      </Action>
      <Action Name="PublishFromProducer" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="identity" Type="Edm.Untyped"/>
        <Parameter Name="intent" Type="Edm.Untyped" Nullable="false"/>
        <Parameter Name="producer" Type="Edm.Untyped" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Publish one Run output as a new Dataset Revision."/>
      </Action>
      <Action Name="InspectManagementExecution" IsBound="false"><Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/><Parameter Name="executionId" Type="Edm.String" Nullable="false"/><ReturnType Type="Edm.Untyped"/>
  <Annotation Term="Core.Description" String="Read one management check Run."/>
</Action>
<Action Name="InspectManagementPublication" IsBound="false"><Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/><Parameter Name="executionId" Type="Edm.String" Nullable="false"/><ReturnType Type="Edm.Untyped"/>
  <Annotation Term="Core.Description" String="Read what a management check Run published."/>
</Action>
<Action Name="CreateOperationalException" IsBound="false"><Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/><Parameter Name="discrepancyRunId" Type="Edm.String" Nullable="false"/><Parameter Name="exceptionId" Type="Edm.String" Nullable="false"/><ReturnType Type="Edm.Untyped"/>
  <Annotation Term="Core.Description" String="Turn a difference into an exception to work on."/>
</Action>
<Action Name="InspectOperationalException" IsBound="false"><Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/><Parameter Name="itemId" Type="Edm.String" Nullable="false"/><ReturnType Type="Edm.Untyped"/>
  <Annotation Term="Core.Description" String="Read one exception."/>
</Action>
<Action Name="AssignOperationalException" IsBound="false"><Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/><Parameter Name="itemId" Type="Edm.String" Nullable="false"/><Parameter Name="expectedVersion" Type="Edm.Int32" Nullable="false"/><Parameter Name="assigneeId" Type="Edm.String" Nullable="false"/><ReturnType Type="Edm.Untyped"/>
  <Annotation Term="Core.Description" String="Assign an exception to a Member."/>
</Action>
<Action Name="ProposeOperationalCorrection" IsBound="false"><Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/><Parameter Name="itemId" Type="Edm.String" Nullable="false"/><Parameter Name="expectedVersion" Type="Edm.Int32" Nullable="false"/><Parameter Name="customerId" Type="Edm.String" Nullable="false"/><ReturnType Type="Edm.Untyped"/>
  <Annotation Term="Core.Description" String="Propose a correction for an exception."/>
</Action>
<Action Name="ReconcileOperationalProposal" IsBound="false"><Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/><Parameter Name="itemId" Type="Edm.String" Nullable="false"/><Parameter Name="expectedVersion" Type="Edm.Int32" Nullable="false"/><ReturnType Type="Edm.Untyped"/>
  <Annotation Term="Core.Description" String="Check a proposed correction against current data."/>
</Action>
<Action Name="ApplyOperationalCorrection" IsBound="false"><Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/><Parameter Name="itemId" Type="Edm.String" Nullable="false"/><Parameter Name="expectedVersion" Type="Edm.Int32" Nullable="false"/><Parameter Name="expectedDecisionDigest" Type="Edm.String" Nullable="false"/><ReturnType Type="Edm.Untyped"/>
  <Annotation Term="Core.Description" String="Apply an approved correction."/>
</Action>
<Action Name="ListOperationalExceptionCandidates" IsBound="false"><Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/><Parameter Name="discrepancyRunId" Type="Edm.String" Nullable="false"/><ReturnType Type="Edm.Untyped"/>
  <Annotation Term="Core.Description" String="List the differences that could become exceptions."/>
</Action>
      <Action Name="DetectManagementDiscrepancy" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="period" Type="Edm.String" Nullable="false"/>
        <Parameter Name="pipelineId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="pipelineRevision" Type="Edm.String" Nullable="false"/>
        <Parameter Name="notebookId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="notebookRevision" Type="Edm.String" Nullable="false"/>
        <Parameter Name="outputDatasetNamePrefix" Type="Edm.String"><Annotation Term="Org.OData.Core.V1.OptionalParameter"/><Annotation Term="Org.OData.Core.V1.Description" String="Optional validated Dataset label prefix; the server appends the output type and retained identity."/></Parameter>
        <Parameter Name="sources" Type="Edm.Untyped" Nullable="false"/>
        <ReturnType Type="Edm.Untyped"/>
        <Annotation Term="Core.Description" String="Compare a period's sources and report the differences."/>
      </Action>
      <Action Name="ReconcileManagementDiscrepancy" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="runId" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped"/>
        <Annotation Term="Core.Description" String="Settle a difference check whose result is unknown."/>
      </Action>
      <Action Name="InspectManagementDiscrepancy" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="runId" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped"/>
        <Annotation Term="Core.Description" String="Read one difference check."/>
      </Action>
      <Action Name="ListManagementDiscrepancies" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped"/>
        <Annotation Term="Core.Description" String="List the difference checks in a Workspace."/>
      </Action>
      <Action Name="IngestDataConnection" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="dataConnectionId" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Capture a Data Connection's current data as a new Dataset Revision."/>
      </Action>
      <Action Name="IngestWorkspaceFile" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="fileId" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Keep one Workspace File as a new Dataset Revision."/>
      </Action>
      <Action Name="SaveDatasetMapView" IsBound="false"><Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/><Parameter Name="datasetId" Type="Edm.String" Nullable="false"/><Parameter Name="definition" Type="Edm.Untyped" Nullable="false"/><ReturnType Type="Edm.Untyped" Nullable="false"/>
  <Annotation Term="Core.Description" String="Save a Dataset's map view."/>
</Action>
      <Action Name="RegisterExternalTable" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/><Parameter Name="format" Type="Edm.String" Nullable="false"/><Parameter Name="dataConnectionId" Type="Edm.String" Nullable="false"/><Parameter Name="name" Type="Edm.String" Nullable="false"/><Parameter Name="purpose" Type="Edm.String" Nullable="false"/><ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Register a lake table as a Dataset."/>
      </Action>
      <Action Name="RefreshExternalTable" IsBound="false"><Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/><Parameter Name="format" Type="Edm.String" Nullable="false"/><Parameter Name="datasetId" Type="Edm.String" Nullable="false"/><ReturnType Type="Edm.Untyped" Nullable="false"/>
  <Annotation Term="Core.Description" String="Read a registered lake table again as a new Dataset Revision."/>
</Action>
      <Action Name="CheckExternalTable" IsBound="false"><Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/><Parameter Name="format" Type="Edm.String" Nullable="false"/><Parameter Name="datasetId" Type="Edm.String" Nullable="false"/><Parameter Name="revisionId" Type="Edm.String" Nullable="false"/><ReturnType Type="Edm.Untyped" Nullable="false"/>
  <Annotation Term="Core.Description" String="Check that a registered lake table revision can still be read."/>
</Action>
      <Action Name="QueryExternalRevision" IsBound="false"><Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/><Parameter Name="format" Type="Edm.String" Nullable="false"/><Parameter Name="datasetId" Type="Edm.String" Nullable="false"/><Parameter Name="revisionId" Type="Edm.String" Nullable="false"/><ReturnType Type="Edm.Untyped" Nullable="false"/>
  <Annotation Term="Core.Description" String="Query one registered lake table revision."/>
</Action>
      <Action Name="UnregisterExternalTable" IsBound="false"><Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/><Parameter Name="format" Type="Edm.String" Nullable="false"/><Parameter Name="datasetId" Type="Edm.String" Nullable="false"/><ReturnType Type="Edm.Untyped" Nullable="false"/>
  <Annotation Term="Core.Description" String="Stop using a lake table as a Dataset; the table itself is kept."/>
</Action>
      <Action Name="ListJourneyTemplates" IsBound="false">
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="List the Journey templates you can start."/>
      </Action>
      <Action Name="StartJourneyTemplate" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="templateId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="templateVersion" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="requestId" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Start a Journey from a template."/>
      </Action>
      <Action Name="InspectJourneyTemplate" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="instanceId" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Read where a Journey is."/>
      </Action>
      <Action Name="ListJourneyTemplateSources" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="instanceId" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="List the Data Connections a Journey can use."/>
      </Action>
      <Action Name="SelectJourneyTemplateSource" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="instanceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="expectedInstanceUpdatedAtMs" Type="Edm.Int64" Nullable="false"/>
        <Parameter Name="dataConnectionId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="expectedConnectionRevision" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="expectedConnectionDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="businessQuestion" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Choose the Data Connection a Journey uses."/>
      </Action>
      <Action Name="CaptureJourneyTemplateSource" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="instanceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="expectedInstanceUpdatedAtMs" Type="Edm.Int64" Nullable="false"/>
        <Parameter Name="expectedConnectionId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="expectedConnectionRevision" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="expectedConnectionDigest" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Capture the chosen source's data for a Journey."/>
      </Action>
      <Action Name="InspectJourneyTemplateResult" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="instanceId" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Read a Journey's result."/>
      </Action>
      <Action Name="InspectJourneyTemplateSourceRun" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="instanceId" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Read the Run that captured a Journey's source."/>
      </Action>
      <Action Name="ListMapTemplateOptions" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="List the sources and targets the map template can use."/>
      </Action>
      <Action Name="DescribeMapTemplateSource" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="source" Type="Edm.Untyped" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Describe the fields of a map template source."/>
      </Action>
      <Action Name="BrowseMapTemplateConnectionFolder" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="dataConnectionId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="path" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="List the files in a Data Connection folder for the map template."/>
      </Action>
      <Action Name="DescribeMapTemplateTarget" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="target" Type="Edm.Untyped" Nullable="false"/>
        <Parameter Name="source" Type="Edm.Untyped"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Describe the fields of a map template target."/>
      </Action>
      <Action Name="ProposeMapTemplateMapping" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="proposal" Type="Edm.Untyped" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Check a proposed field mapping for the map template."/>
      </Action>
      <Action Name="ReviewMapTemplate" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="instanceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="source" Type="Edm.Untyped" Nullable="false"/>
        <Parameter Name="target" Type="Edm.Untyped" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Review a map template's source, target and mapping before approval."/>
      </Action>
      <Action Name="GetMapTemplateAiAssistAvailability" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Check whether the Agent can help with a map template."/>
      </Action>
      <Action Name="PrepareMapTemplateAiAssist" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="proposal" Type="Edm.Untyped" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Prepare what the Agent would see to help with a map template."/>
      </Action>
      <Action Name="SendMapTemplateAiAssist" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="proposal" Type="Edm.Untyped" Nullable="false"/>
        <Parameter Name="grantId" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Ask the Agent for map template help under an approved grant."/>
      </Action>
      <Action Name="CheckMapTemplateAccess" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="pipelineId" Type="Edm.String"/>
        <Parameter Name="pipelineRevision" Type="Edm.Untyped"/>
        <Parameter Name="source" Type="Edm.Untyped" Nullable="false"/>
        <Parameter Name="target" Type="Edm.Untyped" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Check whether a map template may read its source and write its target."/>
      </Action>
      <Action Name="RequestMapTemplateAccess" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="pipelineId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="pipelineRevision" Type="Edm.Untyped" Nullable="false"/>
        <Parameter Name="note" Type="Edm.String"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Ask an Owner for the access a map template needs."/>
      </Action>
      <Action Name="ApproveMapTemplate" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="instanceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="source" Type="Edm.Untyped" Nullable="false"/>
        <Parameter Name="target" Type="Edm.Untyped" Nullable="false"/>
        <Parameter Name="reviewedProposalDigest" Type="Edm.String" Nullable="false"/>
        <Parameter Name="writeMode" Type="Edm.String" Nullable="false"/>
        <Parameter Name="keyColumns" Type="Collection(Edm.String)" Nullable="false"/>
        <Parameter Name="confirmedFields" Type="Collection(Edm.String)" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Approve a reviewed map template so it can run."/>
      </Action>
      <Action Name="RunMapTemplate" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="instanceId" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Run an approved map template."/>
      </Action>
      <Action Name="UpdateMapTemplateDocument" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="instanceId" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Update the Document that records a map template."/>
      </Action>
      <Action Name="PublishMapTemplateReferences" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="instanceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="expectedRevision" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="expectedSourceDigest" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Publish a map template's output as references."/>
      </Action>
      <Action Name="ReconcileMapTemplateRun" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="instanceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="runId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="expectedVersion" Type="Edm.Int32" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Settle a map template Run whose result is unknown."/>
      </Action>
      <Action Name="InspectMapTemplateFlow" IsBound="false">
        <Parameter Name="workspaceId" Type="Edm.String" Nullable="false"/>
        <Parameter Name="instanceId" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Read where a map template is in its flow."/>
      </Action>
      <Action Name="SealObjectiveManifest" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Workspace"/>
        <Parameter Name="resolverKind" Type="Edm.String" Nullable="false"/>
        <Parameter Name="objectiveId" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.ObjectiveManifestCommandResult" Nullable="false"/>
        <Annotation Term="Core.Description" String="Seal an Objective Manifest for an objective."/>
      </Action>
      <Action Name="SettleObjectiveReceipt" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.ObjectiveManifest"/>
        <ReturnType Type="Webshare.OData.v1.ObjectiveReceiptCommandResult" Nullable="false"/>
        <Annotation Term="Core.Description" String="Check an Objective Manifest and record its Objective Receipt."/>
      </Action>
      <Action Name="ReconcileObjectiveReceipt" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.ObjectiveManifest"/>
        <Parameter Name="previousReceiptId" Type="Edm.Guid" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.ObjectiveReceiptCommandResult" Nullable="false"/>
        <Annotation Term="Core.Description" String="Check an Objective Manifest again after an earlier receipt."/>
      </Action>
      <Action Name="ProposeCanvasSource" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Pipeline"/>
        <Parameter Name="source" Type="Edm.String" Nullable="false"/>
        <Parameter Name="expectedRevision" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="expectedSourceDigest" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.PipelineCanvasSourceProposal"/>
        <Annotation Term="Core.Description" String="Preview a change to a Pipeline's Canvas source."/>
      </Action>
      <Action Name="ReplaceCanvasSource" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Pipeline"/>
        <Parameter Name="source" Type="Edm.String" Nullable="false"/>
        <Parameter Name="expectedRevision" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="expectedSourceDigest" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.PipelineCanvasSourceReceipt"/>
        <Annotation Term="Core.Description" String="Save a Pipeline's Canvas source at the revision you read."/>
      </Action>
      <Action Name="ProposeTest" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Pipeline"/>
        <Parameter Name="revisionId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="profileId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="expectedProfileVersion" Type="Edm.Int32" Nullable="false"/>
        <Parameter Name="boundaries" Type="Edm.Untyped" Nullable="false"/>
        <Parameter Name="inputs" Type="Collection(Edm.Untyped)" Nullable="false"/>
        <Parameter Name="skippedEffectNodeIds" Type="Collection(Edm.String)"/>
        <Parameter Name="limits" Type="Edm.Untyped"/>
        <Parameter Name="idempotencyKey" Type="Edm.String"/>
        <ReturnType Type="Webshare.OData.v1.PipelineTestProposal"/>
        <Annotation Term="Core.Description" String="Propose a test Run of a Pipeline revision."/>
      </Action>
      <Function Name="RunApprovals" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Pipeline"/>
        <Parameter Name="runId" Type="Edm.Guid" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Read a Run's Review waits."/>
      </Function>
      <Function Name="StandingApprovals" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Pipeline"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Read the standing approvals on a Pipeline's Reviews."/>
      </Function>
      <Function Name="RunBoundary" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Pipeline"/>
        <Parameter Name="runId" Type="Edm.Guid" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Read where a Run is paused."/>
      </Function>
      <Action Name="ControlRunBoundary" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Pipeline"/>
        <Parameter Name="runId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="command" Type="Edm.String" Nullable="false"/>
        <Parameter Name="expectedVersion" Type="Edm.Int32" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Pause a Run or continue a paused one."/>
      </Action>
      <Action Name="DecideRunApproval" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Pipeline"/>
        <Parameter Name="runId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="attemptId" Type="Edm.Guid" Nullable="false"/>
        <Parameter Name="decision" Type="Edm.String" Nullable="false"/>
        <ReturnType Type="Edm.Untyped" Nullable="false"/>
        <Annotation Term="Core.Description" String="Approve or ask for changes at a Run's Review."/>
      </Action>
      <Action Name="Test" IsBound="true">
        <Parameter Name="binding" Type="Webshare.OData.v1.Pipeline"/>
        <Parameter Name="proposalId" Type="Edm.Guid" Nullable="false"/>
        <ReturnType Type="Webshare.OData.v1.PipelineTestReceipt"/>
        <Annotation Term="Core.Description" String="Start a proposed test Run."/>
      </Action>

      <!-- ===== Entity container ===== -->
      <EntityContainer Name="DefaultContainer">
        <ActionImport Name="StartOnboardingWorkspace" Action="Webshare.OData.v1.StartOnboardingWorkspace"/>
        <ActionImport Name="PlanDeltaTableImport" Action="Webshare.OData.v1.PlanDeltaTableImport"/>
        <ActionImport Name="ReviewUpdatedDeltaImport" Action="Webshare.OData.v1.ReviewUpdatedDeltaImport"/>
        <ActionImport Name="ExecuteDeltaTableImport" Action="Webshare.OData.v1.ExecuteDeltaTableImport"/>
        <ActionImport Name="QueryDeltaDatasetRevision" Action="Webshare.OData.v1.QueryDeltaDatasetRevision"/>
        <ActionImport Name="PlanDeltaTableRefresh" Action="Webshare.OData.v1.PlanDeltaTableRefresh"/>
        <ActionImport Name="CancelDeltaTableOperation" Action="Webshare.OData.v1.CancelDeltaTableOperation"/>
        <ActionImport Name="AdoptDeltaTable" Action="Webshare.OData.v1.AdoptDeltaTable"/>
        <ActionImport Name="ReadPipelineAgentBudget" Action="Webshare.OData.v1.ReadPipelineAgentBudget"/>
        <ActionImport Name="SetPipelineAgentBudget" Action="Webshare.OData.v1.SetPipelineAgentBudget"/>
        <ActionImport Name="PreparePipelineAgentGrant" Action="Webshare.OData.v1.PreparePipelineAgentGrant"/>
        <ActionImport Name="ApprovePipelineAgentGrant" Action="Webshare.OData.v1.ApprovePipelineAgentGrant"/>
        <ActionImport Name="ReadPipelineAgentGrant" Action="Webshare.OData.v1.ReadPipelineAgentGrant"/>
        <ActionImport Name="ListPipelineAgentGrants" Action="Webshare.OData.v1.ListPipelineAgentGrants"/>
        <ActionImport Name="RevokePipelineAgentGrant" Action="Webshare.OData.v1.RevokePipelineAgentGrant"/>
        <ActionImport Name="PlanResourceEnsure" Action="Webshare.OData.v1.PlanResourceEnsure"/>
        <ActionImport Name="ExecuteResourceEnsure" Action="Webshare.OData.v1.ExecuteResourceEnsure"/>
        <ActionImport Name="ReconcileResourceEnsure" Action="Webshare.OData.v1.ReconcileResourceEnsure"/>
        <ActionImport Name="ReviewResourceEnsurePlan" Action="Webshare.OData.v1.ReviewResourceEnsurePlan"/>
        <ActionImport Name="ProduceDeltaManagementDocument" Action="Webshare.OData.v1.ProduceDeltaManagementDocument"/>
        <ActionImport Name="ReconcileDeltaManagementDocument" Action="Webshare.OData.v1.ReconcileDeltaManagementDocument"/>
        <ActionImport Name="InspectManagementExecution" Action="Webshare.OData.v1.InspectManagementExecution"/>
        <ActionImport Name="InspectManagementPublication" Action="Webshare.OData.v1.InspectManagementPublication"/>
        <ActionImport Name="CreateOperationalException" Action="Webshare.OData.v1.CreateOperationalException"/>
        <ActionImport Name="InspectOperationalException" Action="Webshare.OData.v1.InspectOperationalException"/>
        <ActionImport Name="AssignOperationalException" Action="Webshare.OData.v1.AssignOperationalException"/>
        <ActionImport Name="ProposeOperationalCorrection" Action="Webshare.OData.v1.ProposeOperationalCorrection"/>
        <ActionImport Name="ReconcileOperationalProposal" Action="Webshare.OData.v1.ReconcileOperationalProposal"/>
        <ActionImport Name="ApplyOperationalCorrection" Action="Webshare.OData.v1.ApplyOperationalCorrection"/>
        <ActionImport Name="ListOperationalExceptionCandidates" Action="Webshare.OData.v1.ListOperationalExceptionCandidates"/>
        <ActionImport Name="PublishFromProducer" Action="Webshare.OData.v1.PublishFromProducer"/>
        <ActionImport Name="DetectManagementDiscrepancy" Action="Webshare.OData.v1.DetectManagementDiscrepancy"/>
        <ActionImport Name="ReconcileManagementDiscrepancy" Action="Webshare.OData.v1.ReconcileManagementDiscrepancy"/>
        <ActionImport Name="InspectManagementDiscrepancy" Action="Webshare.OData.v1.InspectManagementDiscrepancy"/>
        <ActionImport Name="ListManagementDiscrepancies" Action="Webshare.OData.v1.ListManagementDiscrepancies"/>
        <ActionImport Name="IngestDataConnection" Action="Webshare.OData.v1.IngestDataConnection"/>
        <ActionImport Name="IngestWorkspaceFile" Action="Webshare.OData.v1.IngestWorkspaceFile"/>
        <ActionImport Name="SaveDatasetMapView" Action="Webshare.OData.v1.SaveDatasetMapView"/>
        <ActionImport Name="RegisterExternalTable" Action="Webshare.OData.v1.RegisterExternalTable"/>
        <ActionImport Name="RefreshExternalTable" Action="Webshare.OData.v1.RefreshExternalTable"/>
        <ActionImport Name="CheckExternalTable" Action="Webshare.OData.v1.CheckExternalTable"/>
        <ActionImport Name="QueryExternalRevision" Action="Webshare.OData.v1.QueryExternalRevision"/>
        <ActionImport Name="UnregisterExternalTable" Action="Webshare.OData.v1.UnregisterExternalTable"/>
        <ActionImport Name="ListJourneyTemplates" Action="Webshare.OData.v1.ListJourneyTemplates"/>
        <ActionImport Name="StartJourneyTemplate" Action="Webshare.OData.v1.StartJourneyTemplate"/>
        <ActionImport Name="InspectJourneyTemplate" Action="Webshare.OData.v1.InspectJourneyTemplate"/>
        <ActionImport Name="ListJourneyTemplateSources" Action="Webshare.OData.v1.ListJourneyTemplateSources"/>
        <ActionImport Name="SelectJourneyTemplateSource" Action="Webshare.OData.v1.SelectJourneyTemplateSource"/>
        <ActionImport Name="CaptureJourneyTemplateSource" Action="Webshare.OData.v1.CaptureJourneyTemplateSource"/>
        <ActionImport Name="InspectJourneyTemplateResult" Action="Webshare.OData.v1.InspectJourneyTemplateResult"/>
        <ActionImport Name="InspectJourneyTemplateSourceRun" Action="Webshare.OData.v1.InspectJourneyTemplateSourceRun"/>
        <ActionImport Name="ListMapTemplateOptions" Action="Webshare.OData.v1.ListMapTemplateOptions"/>
        <ActionImport Name="DescribeMapTemplateSource" Action="Webshare.OData.v1.DescribeMapTemplateSource"/>
        <ActionImport Name="BrowseMapTemplateConnectionFolder" Action="Webshare.OData.v1.BrowseMapTemplateConnectionFolder"/>
        <ActionImport Name="DescribeMapTemplateTarget" Action="Webshare.OData.v1.DescribeMapTemplateTarget"/>
        <ActionImport Name="ProposeMapTemplateMapping" Action="Webshare.OData.v1.ProposeMapTemplateMapping"/>
        <ActionImport Name="ReviewMapTemplate" Action="Webshare.OData.v1.ReviewMapTemplate"/>
        <ActionImport Name="GetMapTemplateAiAssistAvailability" Action="Webshare.OData.v1.GetMapTemplateAiAssistAvailability"/>
        <ActionImport Name="PrepareMapTemplateAiAssist" Action="Webshare.OData.v1.PrepareMapTemplateAiAssist"/>
        <ActionImport Name="SendMapTemplateAiAssist" Action="Webshare.OData.v1.SendMapTemplateAiAssist"/>
        <ActionImport Name="CheckMapTemplateAccess" Action="Webshare.OData.v1.CheckMapTemplateAccess"/>
        <ActionImport Name="RequestMapTemplateAccess" Action="Webshare.OData.v1.RequestMapTemplateAccess"/>
        <ActionImport Name="ApproveMapTemplate" Action="Webshare.OData.v1.ApproveMapTemplate"/>
        <ActionImport Name="RunMapTemplate" Action="Webshare.OData.v1.RunMapTemplate"/>
        <ActionImport Name="PublishMapTemplateReferences" Action="Webshare.OData.v1.PublishMapTemplateReferences"/>
        <ActionImport Name="UpdateMapTemplateDocument" Action="Webshare.OData.v1.UpdateMapTemplateDocument"/>
        <ActionImport Name="ReconcileMapTemplateRun" Action="Webshare.OData.v1.ReconcileMapTemplateRun"/>
        <ActionImport Name="InspectMapTemplateFlow" Action="Webshare.OData.v1.InspectMapTemplateFlow"/>
        <Singleton Name="Me" Type="Webshare.OData.v1.User"/>
        <EntitySet Name="Workspaces" EntityType="Webshare.OData.v1.Workspace">
          <NavigationPropertyBinding Path="Documents" ToSet="Documents"/>
          <Annotation Term="Core.Description" String="List the Workspaces you can open."/>
        </EntitySet>
        <EntitySet Name="Documents" EntityType="Webshare.OData.v1.Document">
          <NavigationPropertyBinding Path="Versions" ToSet="DocumentVersions"/>
          <Annotation Term="Core.Description" String="List the Documents you can read in a Workspace."/>
        </EntitySet>
        <EntitySet Name="DocumentVersions" EntityType="Webshare.OData.v1.DocumentVersion">
          <Annotation Term="Capabilities.InsertRestrictions">
            <Record>
              <PropertyValue Property="Insertable" Bool="false"/>
            </Record>
          </Annotation>
          <Annotation Term="Capabilities.UpdateRestrictions">
            <Record><PropertyValue Property="Updatable" Bool="false"/></Record>
          </Annotation>
          <Annotation Term="Capabilities.DeleteRestrictions">
            <Record><PropertyValue Property="Deletable" Bool="false"/></Record>
          </Annotation>
          <Annotation Term="Core.Description" String="List the saved versions of one Document."/>
        </EntitySet>
        <EntitySet Name="Skills" EntityType="Webshare.OData.v1.Skill">
          <Annotation Term="Core.Description" String="List the Agent Skills you can install."/>
        </EntitySet>
        <EntitySet Name="SkillVersions" EntityType="Webshare.OData.v1.SkillVersion">
          <Annotation Term="Core.Description" String="List the published versions of Agent Skills."/>
        </EntitySet>
        <EntitySet Name="Diagrams" EntityType="Webshare.OData.v1.Diagram">
          <Annotation Term="Core.Description" String="List the retained Mermaid Diagrams in a Workspace."/>
        </EntitySet>
        <EntitySet Name="Files" EntityType="Webshare.OData.v1.File">
          <Annotation Term="Core.Description" String="List the Files you can open in a Workspace."/>
        </EntitySet>
        <EntitySet Name="AiModels" EntityType="Webshare.OData.v1.AiModelCatalogObservation">
          <Annotation Term="Capabilities.InsertRestrictions">
            <Record><PropertyValue Property="Insertable" Bool="false"/></Record>
          </Annotation>
          <Annotation Term="Capabilities.UpdateRestrictions">
            <Record><PropertyValue Property="Updatable" Bool="false"/></Record>
          </Annotation>
          <Annotation Term="Capabilities.DeleteRestrictions">
            <Record><PropertyValue Property="Deletable" Bool="false"/></Record>
          </Annotation>
          <Annotation Term="Core.Description" String="Read the published AI model catalogue."/>
        </EntitySet>
        <EntitySet Name="DataConnections" EntityType="Webshare.OData.v1.DataConnection">
          <Annotation Term="Core.Description" String="List the Data Connections you can use in a Workspace."/>
        </EntitySet>
        <EntitySet Name="DataQueries" EntityType="Webshare.OData.v1.DataQuery">
          <Annotation Term="Core.Description" String="List the saved Data Queries in a Workspace."/>
        </EntitySet>
        <EntitySet Name="DataQueryExecutionReceipts" EntityType="Webshare.OData.v1.DataQueryExecutionReceipt">
          <Annotation Term="Core.Description" String="Read one retained Data Query run receipt."/>
        </EntitySet>
        <EntitySet Name="DataMappings" EntityType="Webshare.OData.v1.DataMapping">
          <Annotation Term="Core.Description" String="List the Data Mappings in a Workspace."/>
        </EntitySet>
        <EntitySet Name="DataMappingRuns" EntityType="Webshare.OData.v1.DataMappingRun">
          <Annotation Term="Core.Description" String="List the Runs of one Data Mapping."/>
        </EntitySet>
        <EntitySet Name="Datasets" EntityType="Webshare.OData.v1.Dataset">
          <Annotation Term="Core.Description" String="List the Datasets you can read in a Workspace."/>
        </EntitySet>
        <EntitySet Name="Notebooks" EntityType="Webshare.OData.v1.Notebook">
          <Annotation Term="Core.Description" String="List the Notebooks in a Workspace."/>
        </EntitySet>
        <EntitySet Name="NotebookRuns" EntityType="Webshare.OData.v1.NotebookRun">
          <Annotation Term="Core.Description" String="List the Runs of one Notebook."/>
        </EntitySet>
        <EntitySet Name="NotebookOutputs" EntityType="Webshare.OData.v1.NotebookOutput">
          <Annotation Term="Core.Description" String="List the retained outputs of one Notebook."/>
        </EntitySet>
        <EntitySet Name="Pipelines" EntityType="Webshare.OData.v1.Pipeline">
          <Annotation Term="Core.Description" String="List the Pipelines in a Workspace."/>
        </EntitySet>
        <EntitySet Name="ProcessModels" EntityType="Webshare.OData.v1.ProcessModel">
          <Annotation Term="Core.Description" String="List the process models in a Workspace."/>
        </EntitySet>
        <EntitySet Name="Canvases" EntityType="Webshare.OData.v1.Canvas">
          <Annotation Term="Core.Description" String="List the Canvases you can open in a Workspace."/>
        </EntitySet>
        <EntitySet Name="CanvasDefinitions" EntityType="Webshare.OData.v1.CanvasDefinition">
          <Annotation Term="Core.Description" String="List the step definitions you can place on a Canvas."/>
        </EntitySet>
      </EntityContainer>
    </Schema>
  </edmx:DataServices>
</edmx:Edmx>