Microservice

Represents a RESTful microservice in a distributed system — an independently deployable service unit that communicates via HTTP REST APIs and is governed by a bounded context.

ArchitectureDistributed SystemsMicroservicesRESTKubernetesService MeshCloud-Native

Properties

Name Type Description
id string Unique identifier for the microservice.
name string Service name, typically in kebab-case (e.g., 'order-service').
description string Description of the service's bounded context and responsibilities.
version string Service version following semantic versioning.
baseUrl string Base URL of the service's REST API.
healthEndpoint string Health check endpoint path (e.g., '/health', '/actuator/health').
apiSpec string URL to the OpenAPI specification for this service.
team string Owning team or squad name.
language string Primary programming language (e.g., 'Java', 'Go', 'Python', 'Node.js').
framework string Web framework used (e.g., 'Spring Boot', 'Express', 'FastAPI', 'Go Fiber').
dependencies array Other microservices this service depends on.
tags array Domain tags for the service (e.g., 'Orders', 'Payments', 'Users').
View JSON Schema on GitHub

JSON Schema

restful-microservices-service-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/restful-microservices/refs/heads/main/json-schema/restful-microservices-service-schema.json",
  "title": "Microservice",
  "description": "Represents a RESTful microservice in a distributed system — an independently deployable service unit that communicates via HTTP REST APIs and is governed by a bounded context.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the microservice."
    },
    "name": {
      "type": "string",
      "description": "Service name, typically in kebab-case (e.g., 'order-service')."
    },
    "description": {
      "type": "string",
      "description": "Description of the service's bounded context and responsibilities."
    },
    "version": {
      "type": "string",
      "description": "Service version following semantic versioning.",
      "pattern": "^\\d+\\.\\d+\\.\\d+$"
    },
    "baseUrl": {
      "type": "string",
      "format": "uri",
      "description": "Base URL of the service's REST API."
    },
    "healthEndpoint": {
      "type": "string",
      "description": "Health check endpoint path (e.g., '/health', '/actuator/health')."
    },
    "apiSpec": {
      "type": "string",
      "format": "uri",
      "description": "URL to the OpenAPI specification for this service."
    },
    "team": {
      "type": "string",
      "description": "Owning team or squad name."
    },
    "language": {
      "type": "string",
      "description": "Primary programming language (e.g., 'Java', 'Go', 'Python', 'Node.js')."
    },
    "framework": {
      "type": "string",
      "description": "Web framework used (e.g., 'Spring Boot', 'Express', 'FastAPI', 'Go Fiber')."
    },
    "dependencies": {
      "type": "array",
      "description": "Other microservices this service depends on.",
      "items": {
        "type": "object",
        "properties": {
          "serviceId": {"type": "string"},
          "serviceName": {"type": "string"},
          "communicationType": {
            "type": "string",
            "enum": ["synchronous", "asynchronous", "event-driven"]
          }
        },
        "required": ["serviceId"]
      }
    },
    "tags": {
      "type": "array",
      "description": "Domain tags for the service (e.g., 'Orders', 'Payments', 'Users').",
      "items": {"type": "string"}
    }
  },
  "required": ["name", "version"]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/restful-microservices-service"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.