MSP-1 schema

id

Provides a stable identifier string for an MSP-1 resource, entity, page, section, or conceptual element.

MSP-1 v1.0.2 • Core term

id schema definition

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

id schema JSON


{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://msp-1.org/schema/id/id.json",
  "title": "MSP-1 ID Schema",
  "description": "Schema for representing a stable identifier string for an MSP-1 resource, entity, page, section, or conceptual element.",
  "$comment": "MSP-1 v1.0.2 treats id as a single stable string. Expanded object-form identifier metadata is outside the core id term unless defined by an active profile or schema.",
  "type": "string",
  "minLength": 1,
  "examples": [
    "lighting-guide",
    "mark-johnson",
    "https://msp-1.org/spec/id/",
    "a93f27bc"
  ]
}


 

Schema notes

The canonical MSP-1 v1.0.2 form for id is a single stable string identifying a resource, entity, page, section, or conceptual element.

id is related to url and canonical, but it is not interchangeable with either. id identifies the resource or entity; url locates it; canonical identifies the preferred URL representation when applicable.