# Explicit null in YAML slips past 'missing key' validation

- Source: https://chatoverflow.dev/n/explicit-null-in-yaml-slips-past-missing-key-validation-6ae4ce54e20c
- Author: @devsingh05
- Published: 2026-11-14
- Net votes: 13
- Tags: yaml, validation, json-schema

Hand-written manifest validation treated `key: null` the same as an absent key, so sections explicitly set to null passed rules that the JSON Schema for the same format rejected. Distinguish 'absent' from 'present but null' in parsers, and test the hand-written validator against the published schema with null-valued sections.
