Rapidata CustomerRapid API

The CustomerRapid API from Rapidata — 8 operation(s) for customerrapid.

OpenAPI Specification

rapidata-customerrapid-api-openapi.yml Raw ↑
openapi: 3.0.4
info:
  title: Rapidata Asset CustomerRapid API
  description: The API for the Rapidata Asset service
  version: v1
servers:
- url: https://api.rapidata.ai/
tags:
- name: CustomerRapid
  x-displayName: CustomerRapid
paths:
  /rapid/demographic:
    post:
      tags:
      - CustomerRapid
      summary: Creates a new demographic rapid.
      requestBody:
        description: The demographic rapid payload.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateDemographicRapidEndpoint_Input'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateDemographicRapidEndpoint_Output'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationProblemDetails'
        '401':
          description: Unauthenticated
        '403':
          description: Forbidden
      security:
      - OpenIdConnect:
        - openid
        - profile
        - email
        - offline_access
  /rapid/{rapidId}:
    delete:
      tags:
      - CustomerRapid
      summary: Deletes a rapid.
      parameters:
      - name: rapidId
        in: path
        description: The id of the rapid to delete.
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationProblemDetails'
        '401':
          description: Unauthenticated
        '403':
          description: Forbidden
      security:
      - OpenIdConnect:
        - openid
        - profile
        - email
        - offline_access
  /rapid/global-responses:
    get:
      tags:
      - CustomerRapid
      summary: Gets the most recent public responses across all customers.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetGlobalResponsesEndpoint_Output'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationProblemDetails'
        '401':
          description: Unauthenticated
        '403':
          description: Forbidden
      security:
      - OpenIdConnect:
        - openid
        - profile
        - email
        - offline_access
  /rapid/{rapidId}/responses:
    get:
      tags:
      - CustomerRapid
      summary: Gets all responses for a given rapid.
      parameters:
      - name: rapidId
        in: path
        description: The rapid to get the responses for.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetResponsesForRapidEndpoint_Output'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationProblemDetails'
        '401':
          description: Unauthenticated
        '403':
          description: Forbidden
      security:
      - OpenIdConnect:
        - openid
        - profile
        - email
        - offline_access
  /rapids/flagged:
    get:
      tags:
      - CustomerRapid
      summary: Queries all rapids that have been flagged.
      parameters:
      - name: page
        in: query
        description: The 1-based page index.
        schema:
          type: integer
        x-parameter-group: page
      - name: page_size
        in: query
        description: The number of items per page.
        schema:
          type: integer
        x-parameter-group: page
      - name: sort
        in: query
        description: Sort fields. Prefix with - for descending order (e.g. -created_at).
        schema:
          type: array
          items:
            enum:
            - id
            - -id
            - completed_at
            - -completed_at
            type: string
        x-parameter-group: sort
      - name: id
        in: query
        description: Filter by id.
        style: deepObject
        explode: true
        schema:
          type: object
          properties:
            eq:
              type: string
            neq:
              type: string
            gt:
              type: string
            gte:
              type: string
            lt:
              type: string
            lte:
              type: string
            contains:
              type: string
            starts_with:
              type: string
            ends_with:
              type: string
            in:
              type: array
              items:
                type: string
            not_contains:
              type: string
        x-parameter-group: filters
      - name: correlation_id
        in: query
        description: Filter by correlation_id.
        style: deepObject
        explode: true
        schema:
          type: object
          properties:
            eq:
              type: string
            neq:
              type: string
            gt:
              type: string
            gte:
              type: string
            lt:
              type: string
            lte:
              type: string
            contains:
              type: string
            starts_with:
              type: string
            ends_with:
              type: string
            in:
              type: array
              items:
                type: string
            not_contains:
              type: string
        x-parameter-group: filters
      - name: owner_id
        in: query
        description: Filter by owner_id.
        style: deepObject
        explode: true
        schema:
          type: object
          properties:
            eq:
              type: string
            neq:
              type: string
            gt:
              type: string
            gte:
              type: string
            lt:
              type: string
            lte:
              type: string
            contains:
              type: string
            starts_with:
              type: string
            ends_with:
              type: string
            in:
              type: array
              items:
                type: string
            not_contains:
              type: string
        x-parameter-group: filters
      - name: key
        in: query
        description: Filter by key.
        style: deepObject
        explode: true
        schema:
          type: object
          properties:
            eq:
              type: string
            neq:
              type: string
            gt:
              type: string
            gte:
              type: string
            lt:
              type: string
            lte:
              type: string
            contains:
              type: string
            starts_with:
              type: string
            ends_with:
              type: string
            in:
              type: array
              items:
                type: string
            not_contains:
              type: string
        x-parameter-group: filters
      - name: completed_at
        in: query
        description: Filter by completed_at.
        style: deepObject
        explode: true
        schema:
          type: object
          properties:
            eq:
              type: string
            neq:
              type: string
            gt:
              type: string
            gte:
              type: string
            lt:
              type: string
            lte:
              type: string
            contains:
              type: string
            starts_with:
              type: string
            ends_with:
              type: string
            in:
              type: array
              items:
                type: string
            not_contains:
              type: string
        x-parameter-group: filters
      - name: logic
        in: query
        description: 'How to combine the field filters: "and" (default) requires every filter to match, "or" requires any of them to match.'
        schema:
          enum:
          - and
          - or
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QueryFlaggedRapidsEndpoint_PagedResultOfOutput'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationProblemDetails'
        '401':
          description: Unauthenticated
        '403':
          description: Forbidden
      security:
      - OpenIdConnect:
        - openid
        - profile
        - email
        - offline_access
  /rapid/{correlationId}/validation-potential:
    get:
      tags:
      - CustomerRapid
      summary: Queries rapids that may be eligible for validation-set creation.
      parameters:
      - name: correlationId
        in: path
        description: The correlation id whose rapids should be considered.
        required: true
        schema:
          type: string
      - name: minResponses
        in: query
        description: The minimum response count for a rapid to qualify.
        schema:
          type: integer
          format: int32
      - name: minConfidence
        in: query
        description: The minimum confidence for a rapid to qualify.
        schema:
          type: number
          format: double
      - name: targetGroupId
        in: query
        description: An optional subgroup of rapids to restrict the query to.
        schema:
          type: string
      - name: page
        in: query
        description: The 1-based page index.
        schema:
          type: integer
        x-parameter-group: page
      - name: page_size
        in: query
        description: The number of items per page.
        schema:
          type: integer
        x-parameter-group: page
      - name: rapid_id
        in: query
        description: Filter by rapid_id.
        style: deepObject
        explode: true
        schema:
          type: object
          properties:
            eq:
              type: string
            neq:
              type: string
            gt:
              type: string
            gte:
              type: string
            lt:
              type: string
            lte:
              type: string
            contains:
              type: string
            starts_with:
              type: string
            ends_with:
              type: string
            in:
              type: array
              items:
                type: string
            not_contains:
              type: string
        x-parameter-group: filters
      - name: response_count
        in: query
        description: Filter by response_count.
        style: deepObject
        explode: true
        schema:
          type: object
          properties:
            eq:
              type: string
            neq:
              type: string
            gt:
              type: string
            gte:
              type: string
            lt:
              type: string
            lte:
              type: string
            contains:
              type: string
            starts_with:
              type: string
            ends_with:
              type: string
            in:
              type: array
              items:
                type: string
            not_contains:
              type: string
        x-parameter-group: filters
      - name: confidence
        in: query
        description: Filter by confidence.
        style: deepObject
        explode: true
        schema:
          type: object
          properties:
            eq:
              type: string
            neq:
              type: string
            gt:
              type: string
            gte:
              type: string
            lt:
              type: string
            lte:
              type: string
            contains:
              type: string
            starts_with:
              type: string
            ends_with:
              type: string
            in:
              type: array
              items:
                type: string
            not_contains:
              type: string
        x-parameter-group: filters
      - name: logic
        in: query
        description: 'How to combine the field filters: "and" (default) requires every filter to match, "or" requires any of them to match.'
        schema:
          enum:
          - and
          - or
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QueryValidationRapidEligibilityEndpoint_PagedResultOfOutput'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationProblemDetails'
        '401':
          description: Unauthenticated
        '403':
          description: Forbidden
      security:
      - OpenIdConnect:
        - openid
        - profile
        - email
        - offline_access
  /rapid/{rapidId}/unflag:
    post:
      tags:
      - CustomerRapid
      summary: Unflags a flagged rapid.
      description: The rapid is returned to the active labeling pool and cannot be flagged again.
      parameters:
      - name: rapidId
        in: path
        description: The id of the rapid to unflag.
        required: true
        schema:
          type: string
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationProblemDetails'
        '401':
          description: Unauthenticated
        '403':
          description: Forbidden
      security:
      - OpenIdConnect:
        - openid
        - profile
        - email
        - offline_access
  /rapid/validation/{rapidId}:
    patch:
      tags:
      - CustomerRapid
      summary: Updates the validation information of a rapid.
      parameters:
      - name: rapidId
        in: path
        description: The id of the rapid to update.
        required: true
        schema:
          type: string
      requestBody:
        description: The fields to update.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateValidationRapidEndpoint_Input'
        required: true
      responses:
        '204':
          description: No Content
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ValidationProblemDetails'
        '401':
          description: Unauthenticated
        '403':
          description: Forbidden
      security:
      - OpenIdConnect:
        - openid
        - profile
        - email
        - offline_access
components:
  schemas:
    TranscriptionResultModel_TranscriptionWord:
      required:
      - word
      - wordIndex
      type: object
      properties:
        word:
          type: string
        wordIndex:
          type: integer
          format: int32
    IRapidResultModelSkipResultModel:
      required:
      - rapidId
      - _t
      properties:
        _t:
          enum:
          - SkipResult
          type: string
        rapidId:
          type: string
    IMetadataModelFileTypeMetadataModel:
      required:
      - fileType
      - _t
      properties:
        _t:
          enum:
          - FileTypeMetadata
          type: string
        fileType:
          $ref: '#/components/schemas/FileType'
    IMetadataModel:
      required:
      - _t
      type: object
      oneOf:
      - $ref: '#/components/schemas/IMetadataModelClassificationMetadataModel'
      - $ref: '#/components/schemas/IMetadataModelCountMetadataModel'
      - $ref: '#/components/schemas/IMetadataModelFileTypeMetadataModel'
      - $ref: '#/components/schemas/IMetadataModelImageDimensionMetadataModel'
      - $ref: '#/components/schemas/IMetadataModelLocationMetadataModel'
      - $ref: '#/components/schemas/IMetadataModelOriginalFilenameMetadataModel'
      - $ref: '#/components/schemas/IMetadataModelSourceUrlMetadataModel'
      - $ref: '#/components/schemas/IMetadataModelStreamsMetadataModel'
      - $ref: '#/components/schemas/IMetadataModelTextMetadataModel'
      - $ref: '#/components/schemas/IMetadataModelVideoDurationMetadataModel'
      discriminator:
        propertyName: _t
        mapping:
          ClassificationMetadata: '#/components/schemas/IMetadataModelClassificationMetadataModel'
          CountMetadata: '#/components/schemas/IMetadataModelCountMetadataModel'
          FileTypeMetadata: '#/components/schemas/IMetadataModelFileTypeMetadataModel'
          ImageDimensionMetadata: '#/components/schemas/IMetadataModelImageDimensionMetadataModel'
          LocationMetadata: '#/components/schemas/IMetadataModelLocationMetadataModel'
          OriginalFilenameMetadata: '#/components/schemas/IMetadataModelOriginalFilenameMetadataModel'
          SourceUrlMetadataModel: '#/components/schemas/IMetadataModelSourceUrlMetadataModel'
          StreamsMetadata: '#/components/schemas/IMetadataModelStreamsMetadataModel'
          TextMetadata: '#/components/schemas/IMetadataModelTextMetadataModel'
          VideoDurationMetadata: '#/components/schemas/IMetadataModelVideoDurationMetadataModel'
    GetResponsesForRapidEndpoint_Output_Response:
      required:
      - id
      - userId
      - country
      - result
      - userScore
      - userScores
      - demographicInformation
      type: object
      properties:
        id:
          type: string
        userId:
          type: string
        country:
          type: string
        result:
          $ref: '#/components/schemas/IRapidResultModel'
        userScore:
          type: number
          format: double
        userScores:
          type: object
          additionalProperties:
            type: number
            format: double
        demographicInformation:
          type: object
          additionalProperties:
            type: string
    LocateBoxTruthModel_Box:
      type: object
      properties:
        xMin:
          type: number
          format: double
          nullable: true
        yMin:
          type: number
          format: double
          nullable: true
        xMax:
          type: number
          format: double
          nullable: true
        yMax:
          type: number
          format: double
          nullable: true
    TranscriptionPayloadModel_TranscriptionWord:
      required:
      - word
      - wordIndex
      type: object
      properties:
        word:
          type: string
        wordIndex:
          type: integer
          format: int32
    UpdateValidationRapidEndpoint_Input:
      type: object
      properties:
        truth:
          allOf:
          - $ref: '#/components/schemas/IValidationTruthModel'
          description: The truth for the validation rapid.
        explanation:
          type: string
          description: The optional explanation shown when users answer incorrectly.
          nullable: true
        context:
          type: string
          description: An optional text context to show the user.
          nullable: true
        contextAsset:
          type: object
          oneOf:
          - $ref: '#/components/schemas/IAssetInput'
          description: An optional asset to use as context to show the user.
          nullable: true
        randomCorrectProbability:
          type: number
          description: The probability that a random answer is correct.
          format: double
          nullable: true
        sortIndex:
          type: integer
          description: Controls the serving order of rapids within a target group.
          format: int32
    IValidationTruthModelEmptyValidationTruthModel:
      required:
      - _t
      properties:
        _t:
          enum:
          - EmptyValidationTruth
          type: string
    IMetadataInputTextMetadataInput:
      required:
      - text
      - visibilities
      - _t
      properties:
        _t:
          enum:
          - TextMetadataInput
          type: string
        text:
          type: string
          nullable: true
        visibilities:
          $ref: '#/components/schemas/MetadataVisibilities'
    QueryFlaggedRapidsEndpoint_PagedResultOfOutput:
      required:
      - total
      - page
      - pageSize
      - items
      type: object
      properties:
        total:
          type: integer
          format: int64
        page:
          type: integer
          format: int32
        pageSize:
          type: integer
          format: int32
        items:
          type: array
          items:
            $ref: '#/components/schemas/QueryFlaggedRapidsEndpoint_Output'
        totalPages:
          type: integer
          format: int32
    ClassifyPayloadModel_Category:
      required:
      - label
      type: object
      properties:
        label:
          type: string
        value:
          type: string
          nullable: true
    IAssetModel:
      required:
      - _t
      type: object
      oneOf:
      - $ref: '#/components/schemas/IAssetModelFileAssetModel'
      - $ref: '#/components/schemas/IAssetModelMultiAssetModel'
      - $ref: '#/components/schemas/IAssetModelNullAssetModel'
      - $ref: '#/components/schemas/IAssetModelTextAssetModel'
      discriminator:
        propertyName: _t
        mapping:
          FileAsset: '#/components/schemas/IAssetModelFileAssetModel'
          MultiAsset: '#/components/schemas/IAssetModelMultiAssetModel'
          NullAsset: '#/components/schemas/IAssetModelNullAssetModel'
          TextAsset: '#/components/schemas/IAssetModelTextAssetModel'
    FileType:
      enum:
      - Unknown
      - Image
      - Video
      - Audio
    IValidationTruthModelLocateBoxTruthModel:
      required:
      - boundingBoxes
      - _t
      properties:
        _t:
          enum:
          - LocateBoxTruth
          type: string
        boundingBoxes:
          type: array
          items:
            $ref: '#/components/schemas/LocateBoxTruthModel_Box'
        requiredPrecision:
          type: number
          format: double
        requiredCompleteness:
          type: number
          format: double
    IRapidResultModelLocateResultModel:
      required:
      - rapidId
      - coordinates
      - _t
      properties:
        _t:
          enum:
          - LocateResult
          type: string
        rapidId:
          type: string
        coordinates:
          type: array
          items:
            $ref: '#/components/schemas/LocateCoordinateModel'
    MetadataInputCollection:
      type: object
      additionalProperties:
        $ref: '#/components/schemas/IMetadataInput'
    IRapidPayloadModelBoundingBoxPayloadModel:
      required:
      - target
      - _t
      properties:
        _t:
          enum:
          - BoundingBoxPayload
          type: string
        target:
          type: string
    NamedEntityResultModel_NamedClassification:
      required:
      - start
      - end
      - classification
      type: object
      properties:
        start:
          type: integer
          format: int32
        end:
          type: integer
          format: int32
        classification:
          type: string
    IRapidResultModelScrubResultModel:
      required:
      - rapidId
      - timestamps
      - _t
      properties:
        _t:
          enum:
          - ScrubResult
          type: string
        rapidId:
          type: string
        timestamps:
          type: array
          items:
            type: integer
            format: int32
    IValidationTruthModelBoundingBoxTruthModel:
      required:
      - xMin
      - yMin
      - xMax
      - yMax
      - _t
      properties:
        _t:
          enum:
          - BoundingBoxTruth
          type: string
        xMin:
          type: number
          format: double
        yMin:
          type: number
          format: double
        xMax:
          type: number
          format: double
        yMax:
          type: number
          format: double
    IRapidResultModelAttachCategoryResultModel:
      required:
      - rapidId
      - category
      - _t
      properties:
        _t:
          enum:
          - AttachCategoryResult
          type: string
        rapidId:
          type: string
        category:
          type: string
    MetadataModelCollection:
      type: object
      additionalProperties:
        $ref: '#/components/schemas/IMetadataModel'
    FeatureFlag:
      required:
      - key
      - value
      type: object
      properties:
        key:
          type: string
        value:
          type: string
    IRapidPayloadModelLocatePayloadModel:
      required:
      - target
      - _t
      properties:
        _t:
          enum:
          - LocatePayload
          type: string
        target:
          type: string
    MetadataVisibilities:
      type: array
      items:
        enum:
        - None
        - Users
        - Customers
        - Admins
        - Dashboard
        - All
        type: string
    IAssetModelNullAssetModel:
      required:
      - metadata
      - identifier
      - _t
      properties:
        _t:
          enum:
          - NullAsset
          type: string
        metadata:
          $ref: '#/components/schemas/MetadataModelCollection'
        identifier:
          type: string
    IRapidResultModelFreeTextResultModel:
      required:
      - rapidId
      - answer
      - _t
      properties:
        _t:
          enum:
          - FreeTextResult
          type: string
        rapidId:
          type: string
        answer:
          type: string
    RapidStateModel:
      enum:
      - Labeling
      - Paused
      - Incomplete
      - Flagged
      - Done
      - None
      - Rejected
    IRapidPayloadModel:
      required:
      - _t
      type: object
      oneOf:
      - $ref: '#/components/schemas/IRapidPayloadModelBoundingBoxPayloadModel'
      - $ref: '#/components/schemas/IRapidPayloadModelClassifyPayloadModel'
      - $ref: '#/components/schemas/IRapidPayloadModelComparePayloadModel'
      - $ref: '#/components/schemas/IRapidPayloadModelFreeTextPayloadModel'
      - $ref: '#/components/schemas/IRapidPayloadModelLinePayloadModel'
      - $ref: '#/components/schemas/IRapidPayloadModelLocatePayloadModel'
      - $ref: '#/components/schemas/IRapidPayloadModelNamedEntityPayloadModel'
      - $ref: '#/components/schemas/IRapidPayloadModelPolygonPayloadModel'
      - $ref: '#/components/schemas/IRapidPayloadModelScrubPayloadModel'
      - $ref: '#/components/schemas/IRapidPayloadModelTranscriptionPayloadModel'
      discriminator:
        propertyName: _t
        mapping:
          BoundingBoxPayload: '#/components/schemas/IRapidPayloadModelBoundingBoxPayloadModel'
          ClassifyPayload: '#/components/schemas/IRapidPayloadModelClassifyPayloadModel'
          ComparePayload: '#/components/schemas/IRapidPayloadModelComparePayloadModel'
          FreeTextPayload: '#/components/schemas/IRapidPayloadModelFreeTextPayloadModel'
          LinePayload: '#/components/schemas/IRapidPayloadModelLinePayloadModel'
          LocatePayload: '#/components/schemas/IRapidPayloadModelLocatePayloadModel'
          NamedEntityPayload: '#/components/schemas/IRapidPayloadModelNamedEntityPayloadModel'
          PolygonPayload: '#/components/schemas/IRapidPayloadModelPolygonPayloadModel'
          ScrubPayload: '#/components/schemas/IRapidPayloadModelScrubPayloadModel'
          TranscriptionPayload: '#/components/schemas/IRapidPayloadModelTranscriptionPayloadModel'
    IMetadataModelVideoDurationMetadataModel:
      required:
      - duration
      - _t
      properties:
        _t:
          enum:
          - VideoDurationMetadata
          type: string
        duration:
          type: string
          format: date-time
    LineResultModel_LinePoint:
      required:
      - x
      - y
      type: object
      properties:
        x:
          type: number
          format: double
        y:
          type: number
          format: double
    IAssetInputTextAssetInput:
      required:
      - text
      - _t
      properties:
        _t:
          enum:
          - TextAssetInput
          type: string
        text:
          type: string
        metadata:
          type: object
          oneOf:
          - $ref: '#/components/schemas/MetadataInputCollection'
          nullable: true
        identifier:
          type: string
          nullable: true
    CreateDemographicRapidEndpoint_Output:
      required:
      - rapidId
      type: object
      properties:
        rapidId:
          type: string
          description: The id of the created rapid.
    ScrubTruthModel_ScrubRange:
      required:
      - start
      - end
      type: object
      properties:
        start:
          type: integer
          format: int32
        end:
          type: integer
          format: int32
    IRefereeInfoModelProbabilisticAttachCategoryRefereeInfoModel:
      required:
      - threshold
      - maxVotes
      - _t
      properties:
        _t:
          enum:
          - ProbabilisticAttachCategoryRefereeInfo
          type: string
        threshold:
          type: number
          format: double
        maxVotes:
          type: integer
          format: int32
    IMetadataModelOriginalFilenameMetadataModel:
      required:
      - originalFilename
      - _t
      properties:
        _t:
          enum:
          - OriginalFilenameMetadata
          type: string
        originalFilename:
          type: string
    IRapidPayloadModelPolygonPayloadModel:
      required:
      - target
      - _t
      properties:
        _t:
          enum:
          - PolygonPayload
          type: string
        target:
          type: string
    IRefereeInfoModelNaiveRefereeInfoModel:
      required:
      - _t
      properties:
        _t:
          enum:
          - NaiveRefereeInfo
          type: string
        responseAmountThreshold:
          type: integer
          format: int32
        serveThreshold:
          type: integer
          format: int32
          nullable: true
    LineResultModel_Line:
      required:
      - size
      - points
      type: object
      properties:
        size:
          type: number
          format: double
        points:
          type: array
          items:
            $ref: '#/components/schemas/LineResultModel_LinePoint'
    IRapidPayloadModelClassifyPayloadModel:
      required:
      - categories
      - title
      - _t
      properties:
        _t:
          enum:
          - ClassifyPayload
          type: string
        categories:
          type: array
          items:
            $ref: '#/components/schemas/ClassifyPayloadModel_Category'
        title:
          type: string
    IRefereeInfoModelQuorumRefereeInfoModel:
      required:
      - maxVotes
      - threshold
      - _t
      properties:
        _t:
          enum:
          - QuorumRefereeInfo
          type: string
        maxVotes:
          type: integer
          format: int32
        threshold:
          type: integer
          format: int32
    IValidationTruthModelTranscriptionTruthModel:
      required:
      - correctWords
      - _t
      properties:
        _t:
          enum:
          - TranscriptionTruth
          type: string
        correctWords:
          type: array
          items:
            $ref: '#/components/schemas/TranscriptionTruthModel_TranscriptionWord'
        strictGrading:
          type: boolean
          nullable: true
        requiredPrecision:
          type: number
          format: double
          nullable: true
        requiredCompleteness:
          type: number
          format: double
          nullable: true
    IRapidPayloadModelFreeTextPayloadModel:
      required:
      - question
      - _t
      properties:
        _t:
          enum:
          - FreeTextPayload
        

# --- truncated at 32 KB (57 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/rapidata/refs/heads/main/openapi/rapidata-customerrapid-api-openapi.yml