SchemaStore / schemastore

A collection of JSON schema files including full API
http://schemastore.org
Apache License 2.0
3.08k stars 1.7k forks source link

hugo.yaml schema lacks the "module.workspace", "*._merge", and "menu.params" fields #3405

Closed UtkarshVerma closed 11 months ago

UtkarshVerma commented 11 months ago

Area with issue?

JSON Schema

✔️ Expected Behavior

I expect these fields to work without issues as these are supported by Hugo. Here are the docs:

❌ Actual Behavior

The valid fields are marked as invalid.

YAML or JSON file that does not work.

# Respect theme build config
build:
  _merge: shallow # Throws error: property _merge is not allowed

menu:
  resume:
    - identifier: education
      name: Education
      weight: 1
      params:  # Throws error: property params is not allowed
        count: 1

module:
  workspace: hugo.work   # Throws error: property workspace is not allowed

IDE or code editor.

Other

Are you making a PR for this?

No, someone else must create the PR.

hyperupcall commented 11 months ago

Related to #3327

hyperupcall commented 11 months ago

Fixed by #3419