{
  "openapi": "3.1.0",
  "info": {
    "title": "DX Ready Hub Public Solutions Catalogue",
    "version": "1.0.0",
    "description": "Read-only published product discovery. No customer records, login or enquiry submission."
  },
  "servers": [
    {
      "url": "https://solutions.dxreadyhub.com"
    }
  ],
  "security": [],
  "paths": {
    "/api/public/catalog/": {
      "get": {
        "operationId": "listPublicSolutions",
        "summary": "Find published operational software by keyword, audience or category",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "schema": {
              "type": "string",
              "maxLength": 120
            }
          },
          {
            "name": "locale",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "en",
                "ar"
              ],
              "default": "en"
            }
          },
          {
            "name": "audience",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "education",
                "corporate"
              ]
            }
          },
          {
            "name": "category",
            "in": "query",
            "schema": {
              "type": "string",
              "enum": [
                "academic",
                "transportation",
                "governance",
                "facilities",
                "waste",
                "accommodation",
                "crm",
                "safety"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Matching public catalogue entries",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": false,
                  "required": [
                    "schemaVersion",
                    "readOnly",
                    "locale",
                    "source",
                    "pricingNote",
                    "total",
                    "products"
                  ],
                  "properties": {
                    "schemaVersion": {
                      "type": "string",
                      "const": "1.0"
                    },
                    "readOnly": {
                      "type": "boolean",
                      "const": true
                    },
                    "locale": {
                      "type": "string",
                      "enum": [
                        "en",
                        "ar"
                      ]
                    },
                    "source": {
                      "type": "string",
                      "format": "uri"
                    },
                    "pricingNote": {
                      "type": "string"
                    },
                    "total": {
                      "type": "integer",
                      "minimum": 0
                    },
                    "products": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": false,
                        "required": [
                          "id",
                          "family",
                          "name",
                          "summary",
                          "audiences",
                          "category",
                          "availability",
                          "informationUrl",
                          "enquiryUrl",
                          "pricingGuideUrl"
                        ],
                        "properties": {
                          "id": {
                            "type": "string"
                          },
                          "family": {
                            "type": "string"
                          },
                          "name": {
                            "type": "string"
                          },
                          "summary": {
                            "type": "string"
                          },
                          "category": {
                            "type": "string"
                          },
                          "availability": {
                            "type": "string",
                            "enum": [
                              "available"
                            ]
                          },
                          "informationUrl": {
                            "type": "string",
                            "format": "uri"
                          },
                          "enquiryUrl": {
                            "type": "string",
                            "format": "uri"
                          },
                          "pricingGuideUrl": {
                            "type": "string",
                            "format": "uri"
                          },
                          "audiences": {
                            "type": "array",
                            "items": {
                              "type": "string",
                              "enum": [
                                "education",
                                "corporate"
                              ]
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Unsupported/repeated filter, invalid locale or search over120 characters"
          }
        }
      }
    }
  }
}