openapi: 3.1.1
info:
  title: SupportInfo
  version: 2.0.0
  description: 'Canonical support contact for an entity, mapped to schema.org ContactPoint.

    '
  license:
    name: CC-BY-NC-SA 4.0 International
  contact:
    name: Beckn Labs
    url: https://beckn.io
components:
  schemas:
    SupportInfo:
      x-iri: https://schema.nfh.global/SupportInfo/v2.0
      description: 'Canonical support contact for an entity, mapped to schema.org ContactPoint.

        '
      title: SupportInfo
      type: object
      properties:
        '@context':
          type: string
          format: uri
          example: https://raw.githubusercontent.com/beckn/protocol-specifications-new/refs/heads/main/schema/core/v2/context.jsonld
        '@type':
          type: string
          enum:
          - beckn:SupportInfo
          x-jsonld:
            '@id': beckn:SupportInfo
        name:
          type: string
          description: Name of the support organization or contact.
        phone:
          type: string
          description: Telephone number.
        email:
          type: string
          format: email
          description: Support email address.
        url:
          type: string
          format: uri
          description: Webpage or chat endpoint for support.
        hours:
          type: string
          description: Human-readable support hours (local time).
        channels:
          type: array
          description: Available support channels.
          items:
            type: string
            enum:
            - PHONE
            - EMAIL
            - WEB
            - CHAT
            - WHATSAPP
            - IN_APP
            - OTHER
      required:
      - '@context'
      - '@type'
      additionalProperties: false
      x-jsonld:
        '@type': schema:ContactPoint
        schema:contactType: '"Customer Support"'
        schema:telephone: $.phone
        schema:email: $.email
        schema:url: $.url
        schema:name: $.name
        schema:hoursAvailable: $.hours
