{
  "$id": "https://schema.nfh.global/SupportInfo/v2.0",
  "x-iri": "https://schema.nfh.global/SupportInfo/v2.0",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "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"
  }
}
