{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wso2/refs/heads/main/json-structure/publisher-api-endpoint-config-structure.json",
  "name": "Endpoint Configuration",
  "description": "EndpointConfig schema from WSO2 API Manager",
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "Service url of the endpoint\n",
      "example": "http://localhost:8280"
    },
    "timeout": {
      "type": "string",
      "description": "Time out of the endpoint\n",
      "example": "1000"
    },
    "attributes": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "example": "Suspension time"
          },
          "value": {
            "type": "string",
            "example": "2s"
          }
        }
      }
    }
  }
}