.yaml

4 claimants 4 primary 0 secondary shared primary (4)

SWH popularity

From the SWH-MSR-ARV dataset (Desmazières, Di Cosmo, Lorentz, MSR 2025; file nb_extensions_alphanum.csv) — one row per (ext, year) in the full SWH archive. Case-aggregated. citation.

73.0M
total occurrences
29.7M
since 2019 (40.6%)
1970–2023
years active

Case variants in archive: .yaml (73.0M), .YAML (10.9K), .Yaml (592), .yamL (5), .yAml (3), .YAml (1), .yaMl (1), .YaMl (1), .yaML (1), .yAMl (1) — aggregated above.

Attribution status

This extension is attributed to MiniYAML; MiniYAML; OASv2-yaml; OASv2-yaml; OASv3-yaml; OASv3-yaml; YAML; YAML as primary by 8 authoritative claims.

Authoritative sources: ✓ Linguist ✓ Pygments ✓ Wikidata · Q281876 ✗ Wikipedia · no claim

Disagree or have a correction? Open a labelling issue.

Claimants (9)

Languages that list .yaml among their extensions. Strength reflects whether the upstream source treated it as their primary extension.
LanguageSourceStrength
MiniYAMLlinguistprimary
MiniYAMLpygmentsprimary
OASv2-yamllinguistprimary
OASv2-yamlpygmentsprimary
OASv3-yamllinguistprimary
OASv3-yamlpygmentsprimary
YAMLpygmentsprimary
YAMLwikidataprimary
YAMLlinguistsecondary

Disambiguation rules (4)

Linguist heuristics that decide, by content, which language a .yaml file actually is.
RulePredictsKindPredicates (truncated)
h/linguist/.yaml/0MiniYAMLpredicates[{"kind": "any", "regexes": ["^\\t+.*?[^\\s:].*?:"]}, {"kind": "not_any", "regexes": ["---"]}]
h/linguist/.yaml/1OASv2-yamlpredicates[{"kind": "any", "regexes": ["swagger:\\s?'?\"?2.[0-9.]+'?\"?"]}]
h/linguist/.yaml/2OASv3-yamlpredicates[{"kind": "any", "regexes": ["openapi:\\s?'?\"?3.[0-9.]+'?\"?"]}]
h/linguist/.yaml/3YAMLdefault[]

SWH-mined examples (0)

No archived examples for .yaml in our local mirror yet.

Need an archived example for this extension?
No verbatim file with extension .yaml in our local SWH mirror yet. Submit a sample-mining request and a maintainer will run swh_extension_mining.py against the live archive for this extension; samples land here once the run completes.
(or open the pre-filled issue directly)