{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://mda.sno.dev/spec/v1.0/schemas/frontmatter-skill-md.schema.json",
  "title": "SKILL.md output frontmatter (strict)",
  "description": "Strict schema for the YAML frontmatter of a compiled SKILL.md file. Conforms to agentskills.io v1. MDA-extended fields MUST appear under metadata.mda.*; per-vendor fields MUST appear under metadata.<vendor>.*. unevaluatedProperties:false enforces the no-stray-fields rule.",
  "type": "object",
  "required": ["name", "description"],
  "properties": {
    "name": { "$ref": "_defs/name.schema.json" },
    "description": { "$ref": "_defs/description.schema.json" },
    "license": { "type": "string" },
    "compatibility": { "type": "string", "maxLength": 500 },
    "allowed-tools": { "type": "string" },
    "metadata": { "$ref": "_defs/metadata-namespaces.schema.json" },
    "integrity": { "$ref": "_defs/integrity.schema.json" },
    "signatures": {
      "type": "array",
      "minItems": 1,
      "items": { "$ref": "_defs/signature.schema.json" }
    }
  },
  "dependentRequired": {
    "signatures": ["integrity"]
  },
  "unevaluatedProperties": false
}
