MSP-1 schema

type

Represents a semantic classifier, or list of classifiers, used to describe what kind of resource, entity, page, section, provenance entry, role, intent, or related declaration is being described.

MSP-1 v1.0.2 • Core term

type schema definition

Machine-readable structure describing the string or array-of-strings form used for MSP-1 semantic classification.

type schema JSON


{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://msp-1.org/schema/type/type.json",
  "title": "MSP-1 Type Schema",
  "description": "Schema for representing a semantic classifier or list of classifiers within MSP-1 declarations.",
  "$comment": "MSP-1 v1.0.2 treats type as either a single string classifier or an array of string classifiers. Expanded object-form type metadata is outside the core type term unless defined by an active profile or schema.",
  "oneOf": [
    {
      "type": "string",
      "minLength": 1
    },
    {
      "type": "array",
      "minItems": 1,
      "items": {
        "type": "string",
        "minLength": 1
      }
    }
  ],
  "examples": [
    "guide",
    [
      "derived",
      "ai-assisted"
    ],
    "documentation",
    "schema"
  ]
} 

Schema notes

The canonical MSP-1 v1.0.2 form for type is either a single string classifier or an array of string classifiers when multiple classifications are semantically justified.

type should not be confused with role or intent. type classifies what something is; role describes what function it serves; intent describes why the content or declaration exists.