<commit_before># This is a special spec that's supposed to hold all the common schemas used in other specs.
# It doesn't export any paths, but the HyperSwitch spec loading process will merge
# schemas into the final spec, so other files can reference them.

components:
  schemas:
    # A https://tools.ietf.org/html/draft-nottingham-http-problem
    problem:
      required:
        - type
      type: object
      properties:
        type:
          type: string
        title:
          type: string
        detail:
          type: string
        instance:
          type: string

    originalimage:
      type: object
      properties:
        source:
          type: string
          description: Original image URI
        width:
          type: integer
          description: Original image width
        height:
          type: integer
          description: Original image height
      required:
        - height
        - source
        - width

    thumbnail:
      type: object
      properties:
        source:
          type: string
          description: Thumbnail image URI
        width:
          type: integer
          description: Thumbnail width
        height:
          type: integer
          description: Thumnail height
      required:
        - height
        - source
        - width

    summary:
      type: object
      properties:
        title:
          deprecated: true
          type: string
          description: |
            The page title.
            Deprecated: Use `titles.normalized` instead.
        displaytitle:
          deprecated: true
          type: string
          description: |
            The page title how it should be shown to the user.
            Deprecated: Use `titles.display` instead.
        pageid:
          type: integer
          description: The page ID
        #timestamp:
        #  type: string
        #  format: date-time
        #  description: The ISO timestamp of a page revision
        extract:
          type: string
          description: First several sentences of an article in plain text
        extract_html:
          type: string
          description: First several sentences of an article in simple HTML format
        thumbnail:
          $ref: '#/components/schemas/thumbnail'
        originalimage:
          $ref: '#/components/schemas/originalimage'
        lang:
          type: string
          description: The page language code
          example: en
        dir:
          type: string
          description: The page language direction code
          example: ltr
        timestamp:
          type: string
          description: The time when the page was last editted in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
            format<commit_msg>fix typo<commit_after># This is a special spec that's supposed to hold all the common schemas used in other specs.
# It doesn't export any paths, but the HyperSwitch spec loading process will merge
# schemas into the final spec, so other files can reference them.

components:
  schemas:
    # A https://tools.ietf.org/html/draft-nottingham-http-problem
    problem:
      required:
        - type
      type: object
      properties:
        type:
          type: string
        title:
          type: string
        detail:
          type: string
        instance:
          type: string

    originalimage:
      type: object
      properties:
        source:
          type: string
          description: Original image URI
        width:
          type: integer
          description: Original image width
        height:
          type: integer
          description: Original image height
      required:
        - height
        - source
        - width

    thumbnail:
      type: object
      properties:
        source:
          type: string
          description: Thumbnail image URI
        width:
          type: integer
          description: Thumbnail width
        height:
          type: integer
          description: Thumnail height
      required:
        - height
        - source
        - width

    summary:
      type: object
      properties:
        title:
          deprecated: true
          type: string
          description: |
            The page title.
            Deprecated: Use `titles.normalized` instead.
        displaytitle:
          deprecated: true
          type: string
          description: |
            The page title how it should be shown to the user.
            Deprecated: Use `titles.display` instead.
        pageid:
          type: integer
          description: The page ID
        #timestamp:
        #  type: string
        #  format: date-time
        #  description: The ISO timestamp of a page revision
        extract:
          type: string
          description: First several sentences of an article in plain text
        extract_html:
          type: string
          description: First several sentences of an article in simple HTML format
        thumbnail:
          $ref: '#/components/schemas/thumbnail'
        originalimage:
          $ref: '#/components/schemas/originalimage'
        lang:
          type: string
          description: The page language code
          example: en
        dir:
          type: string
          description: The page language direction code
          example: ltr
        timestamp:
          type: string
          description: The time when the page was last edited in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
            format
{'fraction_non_alphanumeric': 0.05545487495469373, 'fraction_numerical': 0.002899601304820587, 'mean_word_length': 1.5456642066420665, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5488053', 'n_tokens_mistral': 1322, 'n_tokens_neox': 1283, 'n_words': 498}