Go Micro · Schema

Go Micro Service Definition

JSON Schema representing a Go Micro service definition, including service metadata, endpoint registration, and node information as exposed via the registry.

Distributed SystemsFrameworksGoGolangMicroservicesRPCService Discovery

Properties

Name Type Description
name string Unique service name used for discovery and routing.
version string Service version string.
metadata object Custom key-value metadata for the service.
endpoints array List of RPC endpoints exposed by the service.
nodes array Registered nodes running this service.
View JSON Schema on GitHub

JSON Schema

go-micro-service.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://github.com/api-evangelist/go-micro/json-schema/go-micro-service.json",
  "title": "Go Micro Service Definition",
  "description": "JSON Schema representing a Go Micro service definition, including service metadata, endpoint registration, and node information as exposed via the registry.",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Unique service name used for discovery and routing."
    },
    "version": {
      "type": "string",
      "description": "Service version string."
    },
    "metadata": {
      "type": "object",
      "description": "Custom key-value metadata for the service.",
      "additionalProperties": {
        "type": "string"
      }
    },
    "endpoints": {
      "type": "array",
      "description": "List of RPC endpoints exposed by the service.",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Fully qualified endpoint name (e.g., Greeter.Hello)."
          },
          "request": {
            "type": "object",
            "description": "Request type information.",
            "properties": {
              "name": {
                "type": "string",
                "description": "Request message type name."
              },
              "type": {
                "type": "string",
                "description": "Request type (e.g., protobuf message name)."
              }
            },
            "additionalProperties": true
          },
          "response": {
            "type": "object",
            "description": "Response type information.",
            "properties": {
              "name": {
                "type": "string",
                "description": "Response message type name."
              },
              "type": {
                "type": "string",
                "description": "Response type (e.g., protobuf message name)."
              }
            },
            "additionalProperties": true
          },
          "metadata": {
            "type": "object",
            "description": "Endpoint metadata (e.g., stream, subscriber info).",
            "additionalProperties": {
              "type": "string"
            }
          }
        },
        "required": ["name"],
        "additionalProperties": true
      }
    },
    "nodes": {
      "type": "array",
      "description": "Registered nodes running this service.",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique node identifier."
          },
          "address": {
            "type": "string",
            "description": "Node address (host:port)."
          },
          "metadata": {
            "type": "object",
            "description": "Node-level metadata (e.g., transport, broker, protocol).",
            "additionalProperties": {
              "type": "string"
            }
          }
        },
        "required": ["id", "address"],
        "additionalProperties": true
      }
    }
  },
  "required": ["name"],
  "additionalProperties": true
}

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/go-micro-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.