Scanverion Subscriptions API

The Subscriptions API from Scanverion — 7 operation(s) for subscriptions.

GitHub OpenAPI

Operations 7

GET /api/v1/subscriptions/legacy/contracts Subscriptions get legacy contracts #
GET /api/v1/subscriptions/legacy/usage Subscriptions get legacy usage #
GET /api/v1/subscriptions/legacy Subscriptions get legacy workspace #
GET /api/v1/subscriptions/current Subscriptions get current subscription #
GET /api/v1/subscriptions/plans Subscriptions get plans #
POST /api/v1/subscriptions/plan-selections Subscriptions select plan #
PUT /api/v1/subscriptions/current/budget-limit Subscriptions update budget limit #

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/scanverion-com:scanverion-com-subscriptions-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

scanverion-com-subscriptions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Scanverion Subscriptions API
  description: OCR-first document processing and workspace operations for Scanverion.
  version: v1
servers:
- url: https://api.scanverion.com/
tags:
- name: Subscriptions
paths:
  /api/v1/subscriptions/legacy/contracts:
    get:
      tags:
      - Subscriptions
      operationId: Subscriptions_GetLegacyContracts
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/LegacyContractResponse'
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/LegacyContractResponse'
            text/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/LegacyContractResponse'
        '403':
          description: Forbidden
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
        '404':
          description: Not Found
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
      security:
      - ApiKeyAuth: []
      - JwtAuth: []
      summary: Subscriptions get legacy contracts
      x-summary-source: derived
  /api/v1/subscriptions/legacy/usage:
    get:
      tags:
      - Subscriptions
      operationId: Subscriptions_GetLegacyUsage
      parameters:
      - name: from
        in: query
        schema:
          type: string
          format: date-time
      - name: to
        in: query
        schema:
          type: string
          format: date-time
      - name: timeZone
        in: query
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/LegacyUsageResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/LegacyUsageResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/LegacyUsageResponse'
        '403':
          description: Forbidden
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
        '404':
          description: Not Found
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
        '422':
          description: Unprocessable Entity
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
      security:
      - ApiKeyAuth: []
      - JwtAuth: []
      summary: Subscriptions get legacy usage
      x-summary-source: derived
  /api/v1/subscriptions/legacy:
    get:
      tags:
      - Subscriptions
      operationId: Subscriptions_GetLegacyWorkspace
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/LegacyWorkspaceResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/LegacyWorkspaceResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/LegacyWorkspaceResponse'
        '403':
          description: Forbidden
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
        '404':
          description: Not Found
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
      security:
      - ApiKeyAuth: []
      - JwtAuth: []
      summary: Subscriptions get legacy workspace
      x-summary-source: derived
  /api/v1/subscriptions/current:
    get:
      tags:
      - Subscriptions
      operationId: Subscriptions_GetCurrentSubscription
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/CurrentSubscriptionResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/CurrentSubscriptionResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/CurrentSubscriptionResponse'
        '404':
          description: Not Found
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
      security:
      - ApiKeyAuth: []
      - JwtAuth: []
      summary: Subscriptions get current subscription
      x-summary-source: derived
  /api/v1/subscriptions/plans:
    get:
      tags:
      - Subscriptions
      operationId: Subscriptions_GetPlans
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/PlansResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/PlansResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/PlansResponse'
        '503':
          description: Service Unavailable
      summary: Subscriptions get plans
      x-summary-source: derived
  /api/v1/subscriptions/plan-selections:
    post:
      tags:
      - Subscriptions
      operationId: Subscriptions_SelectPlan
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SelectPlanRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/SelectPlanRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/SelectPlanRequest'
        required: true
      responses:
        '201':
          description: Created
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/PlanSelectionResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/PlanSelectionResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/PlanSelectionResponse'
        '422':
          description: Unprocessable Entity
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
        '403':
          description: Forbidden
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
        '503':
          description: Service Unavailable
      security:
      - ApiKeyAuth: []
      - JwtAuth: []
      summary: Subscriptions select plan
      x-summary-source: derived
  /api/v1/subscriptions/current/budget-limit:
    put:
      tags:
      - Subscriptions
      operationId: Subscriptions_UpdateBudgetLimit
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateBudgetLimitRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/UpdateBudgetLimitRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/UpdateBudgetLimitRequest'
        required: true
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/CurrentSubscriptionResponse'
            application/json:
              schema:
                $ref: '#/components/schemas/CurrentSubscriptionResponse'
            text/json:
              schema:
                $ref: '#/components/schemas/CurrentSubscriptionResponse'
        '422':
          description: Unprocessable Entity
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
        '404':
          description: Not Found
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            application/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
            text/json:
              schema:
                $ref: '#/components/schemas/ScanverionProblemDetails'
      security:
      - ApiKeyAuth: []
      - JwtAuth: []
      summary: Subscriptions update budget limit
      x-summary-source: derived
components:
  schemas:
    LegacyProductUsageResponse:
      required:
      - productId
      - name
      - key
      - calls
      type: object
      properties:
        productId:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
          - integer
          - string
          format: int32
        name:
          type: string
        key:
          type: string
        calls:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
          - integer
          - string
          format: int64
    LegacyUsageResponse:
      required:
      - from
      - to
      - companyId
      - canViewPricing
      - companies
      - periods
      type: object
      properties:
        from:
          type: string
          format: date-time
        to:
          type: string
          format: date-time
        companyId:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
          - integer
          - string
          format: int32
        canViewPricing:
          type: boolean
        companies:
          type: array
          items:
            $ref: '#/components/schemas/LegacyCompanyUsageResponse'
        periods:
          type: array
          items:
            $ref: '#/components/schemas/LegacyPricingPeriodResponse'
    SelectPlanRequest:
      required:
      - planKey
      type: object
      properties:
        planKey:
          type: string
    LegacyLicenseResponse:
      required:
      - assignmentId
      - name
      - validFrom
      - validTo
      - isDisabled
      - isActive
      type: object
      properties:
        assignmentId:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
          - integer
          - string
          format: int32
        name:
          type: string
        validFrom:
          type:
          - 'null'
          - string
          format: date-time
        validTo:
          type:
          - 'null'
          - string
          format: date-time
        isDisabled:
          type: boolean
        isActive:
          type: boolean
    LegacyModifierResponse:
      required:
      - name
      - coefficient
      type: object
      properties:
        name:
          type: string
        coefficient:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$
          type:
          - number
          - string
          format: double
    LegacyCompanyUsageResponse:
      required:
      - companyId
      - name
      - calls
      - products
      - daily
      type: object
      properties:
        companyId:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
          - integer
          - string
          format: int32
        name:
          type: string
        calls:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
          - integer
          - string
          format: int64
        products:
          type: array
          items:
            $ref: '#/components/schemas/LegacyProductUsageResponse'
        daily:
          type: array
          items:
            $ref: '#/components/schemas/LegacyDailyUsageResponse'
    ScanverionProblemDetails:
      required:
      - title
      - status
      - code
      - requestId
      - retryable
      type: object
      properties:
        type:
          type: string
          format: uri
        title:
          type: string
        status:
          type: integer
          format: int32
        detail:
          type: string
        code:
          type: string
        requestId:
          type: string
        traceId:
          type: string
        retryable:
          type: boolean
        retryAfter:
          type: string
        docsUrl:
          type: string
          format: uri
        errors:
          type: array
          items:
            type: object
      description: Stable Scanverion error envelope. Clients should use code and requestId rather than localized message text.
    LegacyAllocationResponse:
      required:
      - companyId
      - name
      - calls
      - price
      type: object
      properties:
        companyId:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
          - integer
          - string
          format: int32
        name:
          type: string
        calls:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
          - integer
          - string
          format: int64
        price:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$
          type:
          - number
          - string
          format: double
    LegacyAmountResponse:
      required:
      - currency
      - beforeModifiers
      - afterModifiers
      type: object
      properties:
        currency:
          type: string
        beforeModifiers:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$
          type:
          - number
          - string
          format: double
        afterModifiers:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$
          type:
          - number
          - string
          format: double
    PlansResponse:
      required:
      - plans
      type: object
      properties:
        plans:
          type: array
          items:
            $ref: '#/components/schemas/PlanResponse'
    PlanResponse:
      required:
      - key
      - name
      - includedCredits
      - monthlyPriceEur
      - overageUnitPrice
      - maximumOverageBudgetEur
      - overageChargeThresholdEur
      - currency
      - isPublic
      - netMonthlyPriceEur
      - vatAmountEur
      - vatRatePercent
      - priceIncludesVat
      type: object
      properties:
        key:
          type: string
        name:
          type: string
        includedCredits:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
          - integer
          - string
          format: int32
        monthlyPriceEur:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
          - number
          - string
          format: double
        overageUnitPrice:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
          - number
          - string
          format: double
        maximumOverageBudgetEur:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
          - number
          - string
          format: double
        overageChargeThresholdEur:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
          - 'null'
          - number
          - string
          format: double
        currency:
          type: string
        isPublic:
          type: boolean
        netMonthlyPriceEur:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
          - number
          - string
          format: double
        vatAmountEur:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
          - number
          - string
          format: double
        vatRatePercent:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
          - number
          - string
          format: double
        priceIncludesVat:
          type: boolean
        priceTaxBehavior:
          type: string
          default: Legacy
        netOverageUnitPrice:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
          - 'null'
          - number
          - string
          format: double
    UpdateBudgetLimitRequest:
      required:
      - monthlyLimitEur
      type: object
      properties:
        monthlyLimitEur:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
          - 'null'
          - number
          - string
          format: double
    LegacyContractResponse:
      required:
      - assignmentId
      - name
      - usagePeriod
      - sharing
      - companies
      - pricing
      - products
      - modifiers
      type: object
      properties:
        assignmentId:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
          - integer
          - string
          format: int32
        name:
          type: string
        usagePeriod:
          type: string
        sharing:
          type:
          - 'null'
          - string
        companies:
          type: array
          items:
            type: string
        pricing:
          type: array
          items:
            $ref: '#/components/schemas/LegacyLicensePricingResponse'
        products:
          type: array
          items:
            $ref: '#/components/schemas/LegacyLicenseProductResponse'
        modifiers:
          type: array
          items:
            $ref: '#/components/schemas/LegacyModifierResponse'
    LegacyLicenseProductResponse:
      required:
      - productId
      - name
      - key
      - services
      type: object
      properties:
        productId:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
          - integer
          - string
          format: int32
        name:
          type: string
        key:
          type: string
        services:
          type: array
          items:
            type: string
    LegacyPricingStepResponse:
      required:
      - productId
      - productName
      - pricingType
      - currency
      - fromCall
      - toCall
      - calls
      - unitPrice
      - price
      - sharing
      - allocations
      type: object
      properties:
        productId:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
          - 'null'
          - integer
          - string
          format: int32
        productName:
          type:
          - 'null'
          - string
        pricingType:
          type: string
        currency:
          type: string
        fromCall:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
          - integer
          - string
          format: int64
        toCall:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
          - 'null'
          - integer
          - string
          format: int64
        calls:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
          - integer
          - string
          format: int64
        unitPrice:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$
          type:
          - number
          - string
          format: double
        price:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$
          type:
          - number
          - string
          format: double
        sharing:
          type:
          - 'null'
          - string
        allocations:
          type: array
          items:
            $ref: '#/components/schemas/LegacyAllocationResponse'
    PlanSelectionResponse:
      required:
      - selectionId
      - status
      - checkoutUrl
      type: object
      properties:
        selectionId:
          type: string
        status:
          type: string
        checkoutUrl:
          type:
          - 'null'
          - string
    LegacyBillingInformationResponse:
      required:
      - companyName
      - companyRegistrationNumber
      - taxIdentificationNumber
      - vatId
      - billingEmail
      - street
      - descriptiveNumber
      - buildingNumber
      - buildingLetter
      - city
      - postalCode
      - country
      type: object
      properties:
        companyName:
          type: string
        companyRegistrationNumber:
          type: string
        taxIdentificationNumber:
          type: string
        vatId:
          type: string
        billingEmail:
          type:
          - 'null'
          - string
        street:
          type: string
        descriptiveNumber:
          type: string
        buildingNumber:
          type: string
        buildingLetter:
          type: string
        city:
          type: string
        postalCode:
          type: string
        country:
          type: string
    LegacyPricingPeriodResponse:
      required:
      - from
      - to
      - licenses
      - steps
      - modifiers
      - amounts
      type: object
      properties:
        from:
          type: string
          format: date-time
        to:
          type: string
          format: date-time
        licenses:
          type: array
          items:
            type: string
        steps:
          type: array
          items:
            $ref: '#/components/schemas/LegacyPricingStepResponse'
        modifiers:
          type: array
          items:
            $ref: '#/components/schemas/LegacyModifierResponse'
        amounts:
          type: array
          items:
            $ref: '#/components/schemas/LegacyAmountResponse'
    CurrentSubscriptionResponse:
      required:
      - subscriptionId
      - planKey
      - planName
      - status
      - includedCredits
      - usedCredits
      - overageUnitPrice
      - monthlyBudgetLimitEur
      - currentPeriodStart
      - currentPeriodEnd
      - includedCreditsUsed
      - includedCreditsRemaining
      - overageCreditsUsed
      - overageAccruedEur
      - overageInvoicedEur
      - overagePaidEur
      - maximumOverageBudgetEur
      - remainingOverageAuthorizationEur
      - paymentStatus
      - overageEnabled
      - pendingPlanKey
      - pendingPlanEffectiveOn
      - nextBillingAmountEur
      type: object
      properties:
        subscriptionId:
          type: string
        planKey:
          type: string
        planName:
          type: string
        status:
          type: string
        includedCredits:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
          - integer
          - string
          format: int32
        usedCredits:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
          - number
          - string
          format: double
        overageUnitPrice:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
          - number
          - string
          format: double
        monthlyBudgetLimitEur:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
          - 'null'
          - number
          - string
          format: double
        currentPeriodStart:
          type:
          - 'null'
          - string
          format: date
        currentPeriodEnd:
          type:
          - 'null'
          - string
          format: date
        includedCreditsUsed:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
          - number
          - string
          format: double
        includedCreditsRemaining:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
          - number
          - string
          format: double
        overageCreditsUsed:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
          - number
          - string
          format: double
        overageAccruedEur:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
          - number
          - string
          format: double
        overageInvoicedEur:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
          - number
          - string
          format: double
        overagePaidEur:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
          - number
          - string
          format: double
        maximumOverageBudgetEur:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
          - number
          - string
          format: double
        remainingOverageAuthorizationEur:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
          - number
          - string
          format: double
        paymentStatus:
          type: string
        overageEnabled:
          type: boolean
        pendingPlanKey:
          type:
          - 'null'
          - string
        pendingPlanEffectiveOn:
          type:
          - 'null'
          - string
          format: date
        nextBillingAmountEur:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?$
          type:
          - 'null'
          - number
          - string
          format: double
        priceTaxBehavior:
          type: string
          default: Legacy
    LegacyLicensePricingResponse:
      required:
      - pricingType
      - fromCall
      - price
      - currency
      - productId
      - productName
      - validFrom
      - validTo
      type: object
      properties:
        pricingType:
          type: string
        fromCall:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
          - integer
          - string
          format: int64
        price:
          pattern: ^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$
          type:
          - number
          - string
          format: double
        currency:
          type: string
        productId:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
          - 'null'
          - integer
          - string
          format: int32
        productName:
          type:
          - 'null'
          - string
        validFrom:
          type:
          - 'null'
          - string
          format: date-time
        validTo:
          type:
          - 'null'
          - string
          format: date-time
    LegacyDailyUsageResponse:
      required:
      - day
      - calls
      type: object
      properties:
        day:
          type: string
          format: date
        calls:
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
          - integer
          - string
          format: int64
    LegacyWorkspaceResponse:
      required:
      - billingInformation
      - licenses
      type: object
      properties:
        billingInformation:
          $ref: '#/components/schemas/LegacyBillingInformationResponse'
        licenses:
          type: array
          items:
            $ref: '#/components/schemas/LegacyLicenseResponse'
  securitySchemes:
    ApiKeyAuth:
      type: http
      description: 'Use a Scanverion API key as a bearer token: skv_...'
      scheme: bearer
      bearerFormat: API key
    JwtAuth:
      type: http
      description: Use a dashboard session access token as a bearer token.
      scheme: bearer
      bearerFormat: JWT