ProSide Golf MCP Platform API

The mcp-platform API from ProSide Golf — 16 operation(s) for mcp-platform.

GitHub OpenAPI

Operations 19

GET /api/v1/mcp/client-grants List Client Grants #
POST /api/v1/mcp/client-grants Create Client Grant #
POST /api/v1/mcp/client-grants/{grant_id}/revoke Revoke Client Grant #
GET /api/v1/mcp/prompt-cache/metrics Prompt Cache Metrics #
GET /api/v1/mcp/invocations List Invocation Audits #
GET /api/v1/mcp-platform/public-connections List Public Connections #
GET /api/v1/mcp-platform/connections List Provider Connections #
GET /api/v1/mcp-platform/context-candidates List Provider Connection Context Candidates #
GET /api/v1/mcp-platform/connections/{connection_id}/contexts List Provider Connection Contexts #
POST /api/v1/mcp-platform/connections/{connection_id}/contexts Add Provider Connection Context #
PATCH /api/v1/mcp-platform/connections/{connection_id}/contexts/{grant_id} Patch Provider Connection Context #
DELETE /api/v1/mcp-platform/connections/{connection_id}/contexts/{grant_id} Delete Provider Connection Context #
PATCH /api/v1/mcp-platform/connections/{connection_id}/routing-preferences Update Provider Connection Routing Preferences #
POST /api/v1/mcp-platform/connections/{connection_id}/routing-preferences/reset Reset Provider Connection Routing Preferences #
POST /api/v1/mcp-platform/connections/{connection_id}/routing-preview Preview Provider Connection Routing #
POST /api/v1/mcp-platform/connections/{connection_id}/disconnect Disconnect Provider Connection #
POST /api/v1/mcp-platform/public-connections/{grant_id}/switch Switch Public Connection Organization #
POST /api/v1/mcp-platform/public-connections/{grant_id}/packs Change Public Connection Packs #
POST /api/v1/mcp-platform/public-connections/{grant_id}/revoke Revoke Public Connection #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/proside-io:proside-io-mcp-platform-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

proside-io-mcp-platform-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ProSide Golf MCP Platform API
  version: 3.0.0
tags:
- name: mcp-platform
paths:
  /api/v1/mcp/client-grants:
    get:
      tags:
      - mcp-platform
      summary: List Client Grants
      operationId: list_client_grants_api_v1_mcp_client_grants_get
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Org-Id
        in: header
        required: true
        schema:
          type: string
          title: X-Org-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - mcp-platform
      summary: Create Client Grant
      operationId: create_client_grant_api_v1_mcp_client_grants_post
      security:
      - HTTPBearer: []
      parameters:
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
          title: Idempotency-Key
      - name: X-Org-Id
        in: header
        required: true
        schema:
          type: string
          title: X-Org-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClientGrantInput'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/mcp/client-grants/{grant_id}/revoke:
    post:
      tags:
      - mcp-platform
      summary: Revoke Client Grant
      operationId: revoke_client_grant_api_v1_mcp_client_grants__grant_id__revoke_post
      security:
      - HTTPBearer: []
      parameters:
      - name: grant_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Grant Id
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
          title: Idempotency-Key
      - name: If-Match
        in: header
        required: true
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: If-Match
      - name: X-Org-Id
        in: header
        required: true
        schema:
          type: string
          title: X-Org-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RevokeGrantInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/mcp/prompt-cache/metrics:
    get:
      tags:
      - mcp-platform
      summary: Prompt Cache Metrics
      operationId: prompt_cache_metrics_api_v1_mcp_prompt_cache_metrics_get
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Facility-Id
        in: header
        required: true
        schema:
          type: string
          title: X-Facility-Id
      - name: X-Org-Id
        in: header
        required: true
        schema:
          type: string
          title: X-Org-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/mcp/invocations:
    get:
      tags:
      - mcp-platform
      summary: List Invocation Audits
      operationId: list_invocation_audits_api_v1_mcp_invocations_get
      security:
      - HTTPBearer: []
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 500
          minimum: 1
          default: 100
          title: Limit
      - name: X-Facility-Id
        in: header
        required: true
        schema:
          type: string
          title: X-Facility-Id
      - name: X-Org-Id
        in: header
        required: true
        schema:
          type: string
          title: X-Org-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/mcp-platform/public-connections:
    get:
      tags:
      - mcp-platform
      summary: List Public Connections
      operationId: list_public_connections_api_v1_mcp_platform_public_connections_get
      security:
      - HTTPBearer: []
      parameters:
      - name: X-Org-Id
        in: header
        required: true
        schema:
          type: string
          title: X-Org-Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/mcp-platform/connections:
    get:
      tags:
      - mcp-platform
      summary: List Provider Connections
      operationId: list_provider_connections_api_v1_mcp_platform_connections_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
      security:
      - HTTPBearer: []
  /api/v1/mcp-platform/context-candidates:
    get:
      tags:
      - mcp-platform
      summary: List Provider Connection Context Candidates
      operationId: list_provider_connection_context_candidates_api_v1_mcp_platform_context_candidates_get
      security:
      - HTTPBearer: []
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          default: 100
          title: Limit
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          default: 0
          title: Offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContextCandidatesResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/mcp-platform/connections/{connection_id}/contexts:
    get:
      tags:
      - mcp-platform
      summary: List Provider Connection Contexts
      operationId: list_provider_connection_contexts_api_v1_mcp_platform_connections__connection_id__contexts_get
      security:
      - HTTPBearer: []
      parameters:
      - name: connection_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Connection Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - mcp-platform
      summary: Add Provider Connection Context
      operationId: add_provider_connection_context_api_v1_mcp_platform_connections__connection_id__contexts_post
      security:
      - HTTPBearer: []
      parameters:
      - name: connection_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Connection Id
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
          title: Idempotency-Key
      - name: If-Match
        in: header
        required: true
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: If-Match
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrganizationContextInput'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/mcp-platform/connections/{connection_id}/contexts/{grant_id}:
    patch:
      tags:
      - mcp-platform
      summary: Patch Provider Connection Context
      operationId: patch_provider_connection_context_api_v1_mcp_platform_connections__connection_id__contexts__grant_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: connection_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Connection Id
      - name: grant_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Grant Id
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
          title: Idempotency-Key
      - name: If-Match
        in: header
        required: true
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: If-Match
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrganizationContextPatchInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - mcp-platform
      summary: Delete Provider Connection Context
      operationId: delete_provider_connection_context_api_v1_mcp_platform_connections__connection_id__contexts__grant_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: connection_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Connection Id
      - name: grant_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Grant Id
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
          title: Idempotency-Key
      - name: If-Match
        in: header
        required: true
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: If-Match
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DeleteOrganizationContextInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/mcp-platform/connections/{connection_id}/routing-preferences:
    patch:
      tags:
      - mcp-platform
      summary: Update Provider Connection Routing Preferences
      operationId: update_provider_connection_routing_preferences_api_v1_mcp_platform_connections__connection_id__routing_preferences_patch
      security:
      - HTTPBearer: []
      parameters:
      - name: connection_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Connection Id
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
          title: Idempotency-Key
      - name: If-Match
        in: header
        required: true
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: If-Match
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RoutingPreferencesInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/mcp-platform/connections/{connection_id}/routing-preferences/reset:
    post:
      tags:
      - mcp-platform
      summary: Reset Provider Connection Routing Preferences
      operationId: reset_provider_connection_routing_preferences_api_v1_mcp_platform_connections__connection_id__routing_preferences_reset_post
      security:
      - HTTPBearer: []
      parameters:
      - name: connection_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Connection Id
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
          title: Idempotency-Key
      - name: If-Match
        in: header
        required: true
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: If-Match
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VersionedMutationInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/mcp-platform/connections/{connection_id}/routing-preview:
    post:
      tags:
      - mcp-platform
      summary: Preview Provider Connection Routing
      operationId: preview_provider_connection_routing_api_v1_mcp_platform_connections__connection_id__routing_preview_post
      security:
      - HTTPBearer: []
      parameters:
      - name: connection_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Connection Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RoutingPreviewInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/mcp-platform/connections/{connection_id}/disconnect:
    post:
      tags:
      - mcp-platform
      summary: Disconnect Provider Connection
      operationId: disconnect_provider_connection_api_v1_mcp_platform_connections__connection_id__disconnect_post
      security:
      - HTTPBearer: []
      parameters:
      - name: connection_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Connection Id
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
          title: Idempotency-Key
      - name: If-Match
        in: header
        required: true
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: If-Match
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DisconnectConnectionInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/mcp-platform/public-connections/{grant_id}/switch:
    post:
      tags:
      - mcp-platform
      summary: Switch Public Connection Organization
      operationId: switch_public_connection_organization_api_v1_mcp_platform_public_connections__grant_id__switch_post
      security:
      - HTTPBearer: []
      parameters:
      - name: grant_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Grant Id
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
          title: Idempotency-Key
      - name: If-Match
        in: header
        required: true
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: If-Match
      - name: X-Org-Id
        in: header
        required: true
        schema:
          type: string
          title: X-Org-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SwitchConnectionInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/mcp-platform/public-connections/{grant_id}/packs:
    post:
      tags:
      - mcp-platform
      summary: Change Public Connection Packs
      operationId: change_public_connection_packs_api_v1_mcp_platform_public_connections__grant_id__packs_post
      security:
      - HTTPBearer: []
      parameters:
      - name: grant_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Grant Id
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
          title: Idempotency-Key
      - name: If-Match
        in: header
        required: true
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: If-Match
      - name: X-Org-Id
        in: header
        required: true
        schema:
          type: string
          title: X-Org-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ConnectionPacksInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/mcp-platform/public-connections/{grant_id}/revoke:
    post:
      tags:
      - mcp-platform
      summary: Revoke Public Connection
      operationId: revoke_public_connection_api_v1_mcp_platform_public_connections__grant_id__revoke_post
      security:
      - HTTPBearer: []
      parameters:
      - name: grant_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Grant Id
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
          title: Idempotency-Key
      - name: If-Match
        in: header
        required: true
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: If-Match
      - name: X-Org-Id
        in: header
        required: true
        schema:
          type: string
          title: X-Org-Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RevokeGrantInput'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ConnectionPacksInput:
      properties:
        capability_packs:
          items:
            type: string
            enum:
            - PLAYER_SCORING_V1
            - EVENT_OPERATIONS_V1
          type: array
          maxItems: 2
          minItems: 1
          title: Capability Packs
      additionalProperties: false
      type: object
      required:
      - capability_packs
      title: ConnectionPacksInput
    SwitchConnectionInput:
      properties:
        organization_id:
          type: string
          format: uuid
          title: Organization Id
      additionalProperties: false
      type: object
      required:
      - organization_id
      title: SwitchConnectionInput
    VersionedMutationInput:
      properties:
        expected_version:
          type: integer
          minimum: 1.0
          title: Expected Version
      additionalProperties: false
      type: object
      required:
      - expected_version
      title: VersionedMutationInput
    RoutingPreferencesInput:
      properties:
        mode:
          type: string
          enum:
          - smart
          - always_ask
          title: Mode
        use_unique_live_round:
          type: boolean
          title: Use Unique Live Round
          default: true
        play_now_organization_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Play Now Organization Id
        new_event_organization_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: New Event Organization Id
        facility_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Facility Id
        expected_version:
          type: integer
          minimum: 1.0
          title: Expected Version
      additionalProperties: false
      type: object
      required:
      - mode
      - expected_version
      title: RoutingPreferencesInput
    DeleteOrganizationContextInput:
      properties:
        expected_version:
          type: integer
          minimum: 1.0
          title: Expected Version
        reason:
          type: string
          maxLength: 160
          minLength: 1
          title: Reason
          default: USER_REVOKED
      additionalProperties: false
      type: object
      required:
      - expected_version
      title: DeleteOrganizationContextInput
    ClientGrantInput:
      properties:
        client_id:
          type: string
          maxLength: 200
          minLength: 1
          title: Client Id
        client_name:
          type: string
          maxLength: 160
          minLength: 1
          title: Client Name
        scopes:
          items:
            type: string
          type: array
          maxItems: 64
          minItems: 1
          title: Scopes
        facility_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Facility Id
        expires_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Expires At
        provider_key:
          type: string
          enum:
          - openai
          - anthropic
          - google_gemini
          - github_copilot
          - microsoft_copilot
          - xai
          - perplexity
          - mistral
          - amazon_q
          - cursor
          - kiro
          - cognition
          - qwen
          - custom
          title: Provider Key
          default: custom
        registration_mode:
          type: string
          enum:
          - cimd
          - dcr
          - static
          - manual
          title: Registration Mode
          default: manual
        capability_packs:
          items:
            type: string
            enum:
            - PLAYER_SCORING_V1
            - EVENT_OPERATIONS_V1
          type: array
          maxItems: 2
          minItems: 1
          title: Capability Packs
      additionalProperties: false
      type: object
      required:
      - client_id
      - client_name
      - scopes
      title: ClientGrantInput
    DisconnectConnectionInput:
      properties:
        expected_version:
          type: integer
          minimum: 1.0
          title: Expected Version
        reason:
          type: string
          maxLength: 160
          minLength: 1
          title: Reason
          default: USER_REVOKED
      additionalProperties: false
      type: object
      required:
      - expected_version
      title: DisconnectConnectionInput
    ContextOrganizationCandidateResponse:
      properties:
        organization_id:
          type: string
          format: uuid
          title: Organization Id
        organization_name:
          type: string
          title: Organization Name
        entity_type:
          type: string
          title: Entity Type
        authority_source:
          type: string
          enum:
          - direct
          - inherited
          title: Authority Source
        available_capability_packs:
          items:
            type: string
            enum:
            - PLAYER_SCORING_V1
            - EVENT_OPERATIONS_V1
          type: array
          title: Available Capability Packs
        event_operations_available:
          type: boolean
          title: Event Operations Available
        facilities:
          items:
            $ref: '#/components/schemas/ContextFacilityCandidateResponse'
          type: array
          title: Facilities
      additionalProperties: false
      type: object
      required:
      - organization_id
      - organization_name
      - entity_type
      - authority_source
      - available_capability_packs
      - event_operations_available
      - facilities
      title: ContextOrganizationCandidateResponse
    ContextCandidatesResponse:
      properties:
        items:
          items:
            $ref: '#/components/schemas/ContextOrganizationCandidateResponse'
          type: array
          title: Items
        next_offset:
          anyOf:
          - type: integer
          - type: 'null'
          title: Next Offset
      additionalProperties: false
      type: object
      required:
      - items
      title: ContextCandidatesResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    OrganizationContextPatchInput:
      properties:
        capability_packs:
          anyOf:
          - items:
              type: string
              enum:
              - PLAYER_SCORING_V1
              - EVENT_OPERATIONS_V1
            type: array
            maxItems: 2
            minItems: 1
          - type: 'null'
          title: Capability Packs
        expires_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Expires At
        clear_expiry:
          type: boolean
          title: Clear Expiry
          default: false
        expected_version:
          anyOf:
          - type: integer
            minimum: 1.0
          - type: 'null'
          title: Expected Version
      additionalProperties: false
      type: object
      title: OrganizationContextPatchInput
    ContextFacilityCandidateResponse:
      properties:
        facility_id:
          type: string
          format: uuid
          title: Facility Id
        facility_name:
          type: string
          title: Facility Name
      additionalProperties: false
      type: object
      required:
      - facility_id
      - facility_name
      title: ContextFacilityCandidateResponse
    RevokeGrantInput:
      properties:
        reason:
          type: string
          maxLength: 160
          minLength: 1
          title: Reason
          default: USER_REVOKED
      additionalProperties: false
      type: object
      title: RevokeGrantInput
    OrganizationContextInput:
      properties:
        explicit_consent:
          type: boolean
          const: true
          title: Explicit Consent
        organization_id:
          type: string
          format: uuid
          title: Organization Id
        facility_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Facility Id
        capability_packs:
          items:
            type: string
            enum:
            - PLAYER_SCORING_V1
            - EVENT_OPERATIONS_V1
          type: array
          maxItems: 2
          minItems: 1
          title: Capability Packs
        expires_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Expires At
      additionalProperties: false
      type: object
      required:
      - explicit_consent
      - organization_id
      title: OrganizationContextInput
    RoutingPreviewInput:
      properties:
        requested_context_grant_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Requested Context Grant Id
        required_capability_pack:
          type: string
          enum:
          - PLAYER_SCORING_V1
          - EVENT_OPERATIONS_V1
          title: Required Capability Pack
          default: PLAYER_SCORING_V1
      additionalProperties: false
      type: object
      title: RoutingPreviewInput
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer