MSP-1 schema

version

Represents semantic version identifiers used to describe protocol, site, page, section, resource, or implementation version state when version identity is needed.

MSP-1 v1.0.2 • Core term

version schema definition

Machine-readable structure describing the string form used for MSP-1 version identifiers.

version schema JSON


{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://msp-1.org/schema/version/version.json",
  "title": "MSP-1 Version Schema",
  "description": "Schema for representing a semantic version string within MSP-1 declarations. The broader version term is contextual and may identify a protocol, site, page, section, resource, or implementation version when version identity is needed.",
  "$comment": "MSP-1 v1.0.2 treats version as a semantic-version string. Expanded object-form version metadata is outside the core version term unless defined by an active profile or schema.",
  "type": "string",
  "pattern": "^\\d+\\.\\d+\\.\\d+$",
  "examples": [
    "1.0.1",
    "1.1.0",
    "1.0.2"
  ]
} 

Schema notes

The canonical MSP-1 v1.0.2 form for version is a semantic-version string used when site, page, section, resource, implementation, or protocol-related version identity is needed.

protocol.version remains the required MSP-1 protocol version subfield inside the protocol object. Broader version fields are contextual and should not be treated as substitutes for protocol.version.