SemanticVersion

Semantic Versioning 2.0.0 version string and components following the MAJOR.MINOR.PATCH format

API DesignBackward CompatibilitySoftware DevelopmentVersion ControlSemantic VersioningAPI LifecycleDeprecationDeveloper Tools

Properties

Name Type Description
version string Full version string in MAJOR.MINOR.PATCH[-pre-release][+build] format
major integer Major version number. Incremented for incompatible API changes.
minor integer Minor version number. Incremented for backward-compatible new functionality.
patch integer Patch version number. Incremented for backward-compatible bug fixes.
preRelease string Pre-release identifier (e.g., alpha.1, beta.2, rc.1)
buildMetadata string Build metadata appended with + (e.g., +20130313144700, +sha.5114f85)
isBreaking boolean Whether this version contains breaking changes (major version bump)
isFeature boolean Whether this version adds new backward-compatible features (minor version bump)
isBugFix boolean Whether this version is a backward-compatible bug fix only (patch version bump)
View JSON Schema on GitHub

JSON Schema

versioning-protocols-semver-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/versioning-protocols/refs/heads/main/json-schema/versioning-protocols-semver-schema.json",
  "title": "SemanticVersion",
  "description": "Semantic Versioning 2.0.0 version string and components following the MAJOR.MINOR.PATCH format",
  "type": "object",
  "properties": {
    "version": {
      "type": "string",
      "description": "Full version string in MAJOR.MINOR.PATCH[-pre-release][+build] format",
      "pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$",
      "example": "2.1.3"
    },
    "major": {
      "type": "integer",
      "minimum": 0,
      "description": "Major version number. Incremented for incompatible API changes.",
      "example": 2
    },
    "minor": {
      "type": "integer",
      "minimum": 0,
      "description": "Minor version number. Incremented for backward-compatible new functionality.",
      "example": 1
    },
    "patch": {
      "type": "integer",
      "minimum": 0,
      "description": "Patch version number. Incremented for backward-compatible bug fixes.",
      "example": 3
    },
    "preRelease": {
      "type": "string",
      "description": "Pre-release identifier (e.g., alpha.1, beta.2, rc.1)",
      "example": "beta.1"
    },
    "buildMetadata": {
      "type": "string",
      "description": "Build metadata appended with + (e.g., +20130313144700, +sha.5114f85)",
      "example": "sha.5114f85"
    },
    "isBreaking": {
      "type": "boolean",
      "description": "Whether this version contains breaking changes (major version bump)",
      "example": false
    },
    "isFeature": {
      "type": "boolean",
      "description": "Whether this version adds new backward-compatible features (minor version bump)",
      "example": true
    },
    "isBugFix": {
      "type": "boolean",
      "description": "Whether this version is a backward-compatible bug fix only (patch version bump)",
      "example": false
    }
  },
  "required": ["version", "major", "minor", "patch"]
}

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/versioning-protocols-semver"
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.