DBRS Projection · dbrs_64e97d57 · 395c7cec4be37d93
Source: https://tolksdorf.digital/ai/spec/frontmatter-opengraph-schema-org/v1.3/frontmatter-v1.3-lint.yml
Karteikarte: dbrs_64e97d57.html
Language: de-DE · Artifact: content_projection · Scope: production

frontmatter-v1.3-lint.yml

Summary-of-Content

frontmatter-v1.3-lint.yml ordnet einen json, html, json mit praktischem Kontext und strukturierter Bedeutung für digitale Arbeit ein.

Navigation

Working Projection

Frontmatter v1.3 – Lint Rules (required_if / recommended_if / asserts) # Diese Datei ist als Eingabe für euren Build/Linter gedacht. rules: - id: blog-minimal when: { type: blog } required: - any Of: [ title, article.headline ] - canonical - image - date_published recommended: - any Of: [ article.author_name, publisher.name ] - publisher.logo - date_modified - same_as - id: home-organization when: { type: home } recommended: - organization.name - organization.url - organization.logo - organization.address.street Address - organization.address.postal Code - organization.address.address Locality - organization.address.address Country - vatID - taxID - eori - register_number - same_as - id: profile-person when: { type: profile } required: - person.name recommended: - person.url - person.image - person.job Title - person.works For - person.same_as - id: pillar-service when: { type: pillar } required: - title - canonical - image recommended: - main_entity_type - service.name - service.description - service.area Served - id: hreflang-pingpong when: {} assert: - expr: "len(hreflang.alternates or []) >= 1" message: "hreflang.alternates fehlt oder ist leer" severity: warning - id: checksum-all-artifacts when: {} assert: - expr: "file_exists(content.path)" message: "content.path zeigt auf keine existierende Datei" severity: error - expr: "sha256sum(content.path) == content.sha256" message: "SHA256 von content.md stimmt nicht mit content.sha256 überein" severity: error - expr: "checksum_has(['content.md', 'meta.json', 'meta.yaml'])" message: "checksum.sha256 sollte alle Artefakte enthalten (content.md, meta.json, meta.yaml)" severity: warning - id: jsonld-should-exist-on-html when: {} note: "Außerhalb des YAML prüft der Build, dass die kanonische HTML-Seite genau EINEN JSON-LD-Block (Web Page + main Entity) ausliefert." assert: [] # Hinweise: # - 'assert/expr' ist Pseudocode — implementiert ihr in eurem Linter. # - 'severity': error|warning|info