Home
WSO2
Service Catalog Api Service Structure
Service Catalog Api Service Structure
Service schema from WSO2 API Manager
Type: object
Properties: 14
Required: 4
API Management Gateways Open Source API Lifecycle GraphQL SOAP REST
The Service Object is a JSON Structure definition published by WSO2, describing 14 properties, of which 4 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.
Properties
id
name
description
version
serviceKey
serviceUrl
definitionType
securityType
mutualSSLEnabled
usage
createdTime
lastUpdatedTime
md5
definitionUrl
Meta-schema: https://json-structure.org/meta/core/v0/#
JSON Structure
{
"$schema": "https://json-structure.org/meta/core/v0/#",
"$id": "https://raw.githubusercontent.com/api-evangelist/wso2/refs/heads/main/json-structure/service-catalog-api-service-structure.json",
"name": "The Service Object",
"description": "Service schema from WSO2 API Manager",
"type": "object",
"required": [
"name",
"version",
"definitionType",
"serviceUrl"
],
"properties": {
"id": {
"type": "string",
"example": "01234567-0123-0123-0123-012345678901",
"readOnly": true
},
"name": {
"type": "string",
"pattern": "^[^\\*]+$",
"example": "Pizzashack-Endpoint",
"maxLength": 255,
"minLength": 1
},
"description": {
"type": "string",
"example": "A Catalog Entry that exposes a REST endpoint",
"maxLength": 1024
},
"version": {
"type": "string",
"example": "v1",
"maxLength": 30,
"minLength": 1
},
"serviceKey": {
"type": "string",
"example": "Pizzashack-Endpoint-1.0.0",
"maxLength": 512
},
"serviceUrl": {
"type": "string",
"example": "http://localhost/pizzashack"
},
"definitionType": {
"type": "string",
"description": "The type of the provided API definition",
"example": "OAS3",
"enum": [
"OAS2",
"OAS3",
"WSDL1",
"WSDL2",
"GRAPHQL_SDL",
"ASYNC_API"
]
},
"securityType": {
"type": "string",
"description": "The security type of the endpoint",
"example": "BASIC",
"enum": [
"BASIC",
"DIGEST",
"OAUTH2",
"X509",
"API_KEY",
"NONE"
],
"default": "NONE"
},
"mutualSSLEnabled": {
"type": "boolean",
"description": "Whether Mutual SSL is enabled for the endpoint",
"default": false,
"example": false
},
"usage": {
"type": "int32",
"description": "Number of usages of the service in APIs",
"readOnly": true,
"example": 1
},
"createdTime": {
"type": "string",
"readOnly": true,
"example": "2020-02-20T13:57:16.229"
},
"lastUpdatedTime": {
"type": "string",
"readOnly": true,
"example": "2020-02-20T13:57:16.229"
},
"md5": {
"type": "string",
"example": "36583a6a249b410e7fc4f892029709cac09763ddb230e1a829d5f9134d1abd07"
},
"definitionUrl": {
"type": "string",
"example": "https://petstore.swagger.io/v2/swagger.json"
}
}
}