NodeShape

TechArticle Validation Shape

Infobox

rdfs:label
TechArticle Shape
rdfs:comment
Basic validation rules for TechArticle documents.
sh:targetClass
schema:TechArticle
sh:property
  • sh:pathschema:headline
    sh:minCount1
    sh:maxCount1
    sh:datatypexsd:string
    sh:messageTechArticle must have exactly one headline.
  • sh:pathschema:description
    sh:minCount1
    sh:datatypexsd:string
    sh:messageTechArticle must have a description summary.

This document defines SHACL validation rules enforced on any type: TechArticle document in this wiki.

It ensures that all technical articles have at least a headline and description in their YAML frontmatter.

Backlinks