Formatter Validator Minifier Escape / Unescape JSON ↔ String JSON ↔ YAML JSON → CSV NDJSON / JSON Lines JSON → Types JSON ↔ XML JSON Diff JSON Patch Canonicalize (RFC 8785) Schema Validator Schema Generator JSONPath Tester JWT Decoder JSON Errors Schemas More Tools
JSONTools / Schema registry / Netlify config
Schema registry

Netlify config

Netlify YAML config

**/admin/config*.yml

Check your file against this schema

Opens the validator with this schema already loaded. Paste your **/admin/config*.yml and it validates in your browser — nothing is uploaded.

Validate a **/admin/config*.yml → View raw schema

Fields

Generated directly from the schema, following local $refs, to two levels of nesting.

Field Type Description
backendrequiredobjectspecifies how to access the content for your site, including authentication
local_backendbooleanSet this property to connect Netlify to a local Git repo instead of a live one
publish_modeany
media_folderrequiredstringspecifies the folder path where uploaded files should be saved, relative to the base of the repo.
public_folderstringspecifies the folder path where the files uploaded by the media library will be accessed, relative to the base of the built site. For fields controlled by [file] or [image] widgets, the value of the field is generated by prepending this
media_libraryobjectMedia library integrations are configured via the media_library property, and its value should be an object with at least a name property. A config property can also be used for options that should be passed to the library in use.
media_library.namerequiredstring
media_library.configobject
site_urlstringshould provide a URL to your published site. May be used by the CMS for various functionality. Used together with a collection's preview_path to create links to live content.
display_urlstringWhen the display_url setting is specified, the CMS UI will include a link in the fixed area at the top of the page, allowing content authors to easily return to your main site. The text of the link consists of the URL without the protocol
logo_urlstringLogo at the top of the login page. Assumed to be a URL to an image file
localestring
default: "en"
show_preview_linksbooleanshows Deploy Preview Links
slugobjectFor folder collections where users can create new items, the slug option specifies a template for generating new filenames based on a file's creation date and title field. (This means that all collections with create: true must have a
slug.encodingenumunicode (default): Sanitize filenames (slugs) according to RFC3987 and the WHATWG URL spec. This spec allows non-ASCII (or non-Latin) characters to exist in URLs. ascii: Sanitize filenames (slugs) according to RFC3986. The only allowed
default: "unicode"
one of: "unicode", "ascii"
slug.clean_accentsbooleanRemove diacritics from slug characters before sanitizing. This is often helpful when using ascii encoding.
slug.sanitize_replacementstringThe replacement string used to substitute unsafe characters; defaults to -
collectionsrequiredarrayThe collections setting is the heart of your Netlify CMS configuration, as it determines how content types and editor fields in the UI generate files and content in your repository. Each collection you configure displays in the left
editorobjectThis setting changes options for the editor view of the collection. It has one option so far: preview
editor.previewbooleanEnable preview pane for this collection; defaults to true
default: true
summarystringThis setting allows the customization of the collection list view. Similar to the slug field, a string with templates can be used to include values of different fields, e.g. {{title}}. This option over-rides the default of title field and
sortableFieldsarrayAn optional list of sort fields to show in the UI. Defaults to inferring title, date, author and description fields and will also show Update On sort field in git based backends. When author field can't be inferred commit author will be
view_filtersarrayAn optional list of predefined view filters to show in the UI. Defaults to an empty list.

What we found in this schema

Specification sections for the keywords in this schema

Keyword Document Section
$idJSON Schema Core, draft 2020-12§8.2.1 — The "$id" Keyword
$refJSON Schema Core, draft 2020-12§8.2.3.1 — Direct References with "$ref"
$schemaJSON Schema Core, draft 2020-12§8.1.1 — "$schema"
defaultJSON Schema Validation, draft 2020-12§9.2 — "default"
descriptionJSON Schema Validation, draft 2020-12§9.1 — "title" and "description"
enumJSON Schema Validation, draft 2020-12§6.1.2 — "enum"
formatJSON Schema Validation, draft 2020-12§7 — Vocabularies for Semantic Content With "format"
itemsJSON Schema Core, draft 2020-12§10.3.1.2 — "items"
oneOfJSON Schema Core, draft 2020-12§10.2.1.3 — "oneOf"
patternJSON Schema Validation, draft 2020-12§6.3.3 — "pattern"
propertiesJSON Schema Core, draft 2020-12§10.3.2.1 — "properties"
requiredJSON Schema Validation, draft 2020-12§6.5.3 — "required"
typeJSON Schema Validation, draft 2020-12§6.1.1 — "type"

Documents

Attribution

This schema comes from SchemaStore, distributed under the Apache License 2.0. Copyright 2015–present Mads Kristensen and contributors. View the original file. The field table and audit on this page are generated by JSONTools.tools; the schema itself is unmodified.

← All schemas