View schema JSON
The formal JSON schema defining the structure and fields for the MSP-1 section term.
AI-friendly semantics for trusted information.
MSP-1 schema
Describes a logical or structural subdivision of a page that can carry its own identity, hierarchy, and contextual metadata.
Machine-readable structure for identifying, describing, and contextualizing meaningful page subdivisions.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://msp-1.org/schema/section/section.json",
"title": "MSP-1 Section Schema",
"description": "Schema for representing a logical or structural subdivision of a page that can carry its own identity, hierarchy, and contextual metadata.",
"$comment": "MSP-1 v1.0.2 treats section as an object with id as the minimal required section identity field. title and label are retained as compatibility or structural fields; name is the preferred naming term.",
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "Stable identifier for the section within the page or declared section hierarchy."
},
"name": {
"$ref": "https://msp-1.org/schema/name/name.json",
"description": "Human-readable section name or structured naming block."
},
"title": {
"type": "string",
"description": "Compatibility field for a human-readable section title. It should not displace the name term as the preferred naming field."
},
"label": {
"type": "string",
"description": "Optional short-form label, outline marker, or structural marker such as 1.2, A.3, or Appendix B."
},
"level": {
"type": "integer",
"minimum": 1,
"maximum": 6,
"description": "Optional hierarchical depth of the section within the page or section tree."
},
"parent": {
"description": "Optional identifier or object reference for the parent page or parent section.",
"oneOf": [
{
"type": "string",
"minLength": 1
},
{
"$ref": "https://msp-1.org/schema/parent/parent.json"
}
]
},
"scope": {
"type": "string",
"description": "Description of what content or meaning the section covers."
},
"description": {
"$ref": "https://msp-1.org/schema/description/description.json",
"description": "Optional summary of the section's contents or purpose."
},
"intent": {
"description": "Optional statement describing the section's purpose or function.",
"oneOf": [
{
"type": "string",
"minLength": 1
},
{
"$ref": "https://msp-1.org/schema/intent/intent.json"
}
]
},
"interpretiveFrame": {
"description": "Optional interpretive framing that applies specifically to the section.",
"oneOf": [
{
"type": "string",
"minLength": 1
},
{
"$ref": "https://msp-1.org/schema/interpretiveFrame/interpretiveFrame.json"
}
]
},
"order": {
"type": "integer",
"minimum": 0,
"description": "Optional explicit ordering index for the section in lists, arrays, or navigation."
},
"subsections": {
"type": "array",
"description": "Optional list of child section identifiers.",
"items": {
"type": "string",
"minLength": 1
}
},
"lastUpdated": {
"type": "string",
"format": "date",
"description": "Date this section record was last reviewed or updated."
}
},
"required": ["id"],
"additionalProperties": false,
"examples": [
{
"id": "introduction"
},
{
"id": "lighting-basics",
"name": "Lighting Basics",
"description": "Introduction to natural and artificial lighting principles.",
"intent": "Provide foundational understanding for new photographers.",
"parent": "lighting-guide",
"order": 1
},
{
"id": "studio-lighting",
"name": "Studio Lighting",
"parent": "lighting-guide",
"subsections": [
"studio-modifiers"
]
}
]
} The formal JSON schema defining the structure and fields for the MSP-1 section term.
Conceptual definition of the section term, including identity, hierarchy, and relationship to page context.
The canonical MSP-1 v1.0.2 form for section is an object with id as the minimal required section identity field.
section should not be confused with page or parent. section identifies a meaningful subdivision within a page; page identifies the standalone addressable resource; parent identifies the containing page or higher-level section.