1 line
640 KiB
JSON
1 line
640 KiB
JSON
{"$schema":"http://json-schema.org/draft-07/schema#","$ref":"#/definitions/CmsConfig","definitions":{"CmsConfig":{"type":"object","properties":{"load_config_file":{"type":"boolean","description":"Whether to load YAML/JSON CMS configuration file(s) when [manually initializing the CMS](https://sveltiacms.app/en/docs/api/initialization). This works only in the `CMS.init()` method’s `config` option. Default: `true`.","markdownDescription":"Whether to load YAML/JSON CMS configuration file(s) when [manually initializing the CMS](https://sveltiacms.app/en/docs/api/initialization). This works only in the `CMS.init()` method’s `config` option. Default: `true`."},"backend":{"$ref":"#/definitions/Backend","description":"Backend options.","markdownDescription":"Backend options."},"publish_mode":{"anyOf":[{"type":"string","const":""},{"$ref":"#/definitions/PublishModeType"},{"$ref":"#/definitions/PublishModeOptions"}],"description":"Publish mode, or an object with the publish mode and its options. An empty string is the same as `simple`. Default: `simple`. It can be overridden for each collection with the collection-level `publish_mode` option. Note that Editorial Workflow and Preview Workflow are currently supported with the GitHub, GitLab and Gitea/Forgejo backends only. See the [documentation](https://sveltiacms.app/en/docs/workflows) for details.","markdownDescription":"Publish mode, or an object with the publish mode and its options. An empty string is the same as `simple`. Default: `simple`. It can be overridden for each collection with the collection-level `publish_mode` option. Note that Editorial Workflow and Preview Workflow are currently supported with the GitHub, GitLab and Gitea/Forgejo backends only. See the [documentation](https://sveltiacms.app/en/docs/workflows) for details."},"media_folder":{"type":"string","description":"Global internal media folder path, relative to the project’s root directory. Required unless a cloud media storage is configured.","markdownDescription":"Global internal media folder path, relative to the project’s root directory. Required unless a cloud media storage is configured."},"public_folder":{"type":"string","description":"Global public media folder path, relative to the project’s public URL, e.g. `/images/uploads`. A leading slash is added if missing, while a relative path starting with `./` or `../` and a full URL are not allowed. Default: `/` followed by the `media_folder` option value.","markdownDescription":"Global public media folder path, relative to the project’s public URL, e.g. `/images/uploads`. A leading slash is added if missing, while a relative path starting with `./` or `../` and a full URL are not allowed. Default: `/` followed by the `media_folder` option value."},"media_library":{"$ref":"#/definitions/GlobalLegacyMediaLibrary","description":"Legacy media storage option that allows only one library. Use `media_libraries` instead to support multiple storage providers. If both options define the same library, `media_libraries` takes precedence.","markdownDescription":"Legacy media storage option that allows only one library. Use `media_libraries` instead to support multiple storage providers. If both options define the same library, `media_libraries` takes precedence."},"media_libraries":{"$ref":"#/definitions/MediaLibraries","description":"Unified media storage option that supports multiple libraries. See the [documentation](https://sveltiacms.app/en/docs/media#configuration) for details.","markdownDescription":"Unified media storage option that supports multiple libraries. See the [documentation](https://sveltiacms.app/en/docs/media#configuration) for details."},"app_title":{"type":"string","description":"Custom title for the CMS, which will be displayed on the login page and the browser’s tab. Default: `Sveltia CMS`.","markdownDescription":"Custom title for the CMS, which will be displayed on the login page and the browser’s tab. Default: `Sveltia CMS`."},"site_url":{"type":"string","description":"Site URL. Default: current site’s origin ([`location.origin`](https://developer.mozilla.org/en-US/docs/Web/API/Location/origin)).","markdownDescription":"Site URL. Default: current site’s origin ([`location.origin`](https://developer.mozilla.org/en-US/docs/Web/API/Location/origin))."},"display_url":{"type":"string","description":"Site URL linked from the UI. Default: `site_url` option value.","markdownDescription":"Site URL linked from the UI. Default: `site_url` option value."},"logo_url":{"type":"string","description":"Absolute URL or absolute path to the site logo that will be displayed on the entrance page and the browser’s tab (favicon). A square image works best. Default: Sveltia logo.","markdownDescription":"Absolute URL or absolute path to the site logo that will be displayed on the entrance page and the browser’s tab (favicon). A square image works best. Default: Sveltia logo.","deprecated":true,"deprecationMessage":"This option is superseded by the new `logo.src` option. See the documentation https://sveltiacms.app/en/docs/customization#custom-logo for details."},"logo":{"$ref":"#/definitions/LogoOptions","description":"Site logo options.","markdownDescription":"Site logo options."},"logout_redirect_url":{"type":"string","description":"URL to redirect users to after logging out. Default: none, so users stay on the CMS sign-in page.","markdownDescription":"URL to redirect users to after logging out. Default: none, so users stay on the CMS sign-in page."},"issue_reports":{"$ref":"#/definitions/IssueReports","description":"Issue reporting options. Accepted for compatibility with Decap CMS but ignored.","markdownDescription":"Issue reporting options. Accepted for compatibility with Decap CMS but ignored."},"show_preview_links":{"type":"boolean","description":"Whether to show links to entries on the live site and on deploy previews. Default: `true`.","markdownDescription":"Whether to show links to entries on the live site and on deploy previews. Default: `true`."},"slug":{"$ref":"#/definitions/SlugOptions","description":"Slug options, which apply to entry slugs and to the names of entry folders created or renamed in a collection with nested entries. They also apply to uploaded asset file names and new asset folder names if the `slugify_filename` media library option is enabled.","markdownDescription":"Slug options, which apply to entry slugs and to the names of entry folders created or renamed in a collection with nested entries. They also apply to uploaded asset file names and new asset folder names if the `slugify_filename` media library option is enabled."},"collections":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/Collection"},{"$ref":"#/definitions/CollectionDivider"}]},"description":"Set of collections. The list can also contain dividers, which are used to group collections in the collection list. Either `collections` or `singletons` option must be defined.","markdownDescription":"Set of collections. The list can also contain dividers, which are used to group collections in the collection list. Either `collections` or `singletons` option must be defined."},"singletons":{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/CollectionFile"},{"$ref":"#/definitions/CollectionDivider"}]},"description":"Set of singleton files, such as the CMS configuration file or the homepage file. They are not part of any collection and can be accessed directly through the collection list. The list can also contain dividers. See the [documentation](https://sveltiacms.app/en/docs/collections/singletons) for details.","markdownDescription":"Set of singleton files, such as the CMS configuration file or the homepage file. They are not part of any collection and can be accessed directly through the collection list. The list can also contain dividers. See the [documentation](https://sveltiacms.app/en/docs/collections/singletons) for details."},"asset_collections":{"type":"array","items":{"$ref":"#/definitions/AssetCollection"},"description":"Set of asset collections.","markdownDescription":"Set of asset collections."},"i18n":{"$ref":"#/definitions/I18nOptions","description":"Global i18n options.","markdownDescription":"Global i18n options."},"editor":{"$ref":"#/definitions/EditorOptions","description":"Editor view options.","markdownDescription":"Editor view options."},"output":{"$ref":"#/definitions/OutputOptions","description":"Data output options. See the [documentation](https://sveltiacms.app/en/docs/data-output#controlling-data-output) for details.","markdownDescription":"Data output options. See the [documentation](https://sveltiacms.app/en/docs/data-output#controlling-data-output) for details."},"field_defaults":{"$ref":"#/definitions/FieldDefaults","description":"Default options for fields.","markdownDescription":"Default options for fields."},"readonly":{"type":"boolean","description":"Whether to make the whole CMS read-only, e.g. while the site is under maintenance. Default: `false`. All the collections, files and asset folders can be viewed but not changed, as if they all had the `readonly` option set to `true`. Collections and files can also be made read-only individually with their own `readonly` option.","markdownDescription":"Whether to make the whole CMS read-only, e.g. while the site is under maintenance. Default: `false`. All the collections, files and asset folders can be viewed but not changed, as if they all had the `readonly` option set to `true`. Collections and files can also be made read-only individually with their own `readonly` option."},"$schema":{"type":"string","format":"uri"}},"required":["backend"],"additionalProperties":false,"description":"CMS configuration.","markdownDescription":"CMS configuration.","anyOf":[{"required":["collections"]},{"required":["singletons"]}]},"Backend":{"anyOf":[{"$ref":"#/definitions/GitBackend"},{"$ref":"#/definitions/TestBackend"}],"description":"Backend options.","markdownDescription":"Backend options."},"GitBackend":{"anyOf":[{"$ref":"#/definitions/GitHubBackend"},{"$ref":"#/definitions/GitLabBackend"},{"$ref":"#/definitions/GiteaBackend"},{"$ref":"#/definitions/ForgejoBackend"}],"description":"Git-based backend.","markdownDescription":"Git-based backend."},"GitHubBackend":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","const":"github","description":"Backend name.","markdownDescription":"Backend name."},"repo":{"type":"string","description":"Repository identifier: organization/user name and repository name joined by a slash, e.g. `owner/repo`.","markdownDescription":"Repository identifier: organization/user name and repository name joined by a slash, e.g. `owner/repo`."},"api_root":{"type":"string","description":"REST API endpoint for the backend. Required when using GitHub Enterprise Server, for which `https://HOSTNAME/api/v3` or just `https://HOSTNAME` can be given. Default: `https://api.github.com`.","markdownDescription":"REST API endpoint for the backend. Required when using GitHub Enterprise Server, for which `https://HOSTNAME/api/v3` or just `https://HOSTNAME` can be given. Default: `https://api.github.com`."},"graphql_api_root":{"type":"string","description":"GraphQL API endpoint for the backend. Default: inferred from the `api_root` option value: `https://api.github.com/graphql` for GitHub.com, and `https://HOSTNAME/api/graphql` for GitHub Enterprise Server.","markdownDescription":"GraphQL API endpoint for the backend. Default: inferred from the `api_root` option value: `https://api.github.com/graphql` for GitHub.com, and `https://HOSTNAME/api/graphql` for GitHub Enterprise Server."},"base_url":{"type":"string","description":"OAuth base URL origin. Required when using an OAuth client other than Netlify, including [Sveltia CMS Authenticator](https://github.com/sveltia/sveltia-cms-auth). Default: `https://api.netlify.com`.","markdownDescription":"OAuth base URL origin. Required when using an OAuth client other than Netlify, including [Sveltia CMS Authenticator](https://github.com/sveltia/sveltia-cms-auth). Default: `https://api.netlify.com`."},"auth_type":{"type":"string","const":"","description":"OAuth grant type. The default is an empty string, which is authorization code grant. `pkce` is not yet supported due to GitHub’s limitations.","markdownDescription":"OAuth grant type. The default is an empty string, which is authorization code grant. `pkce` is not yet supported due to GitHub’s limitations."},"auth_endpoint":{"type":"string","description":"OAuth base URL path. Default: `auth`.","markdownDescription":"OAuth base URL path. Default: `auth`."},"app_id":{"type":"string","description":"OAuth application ID. Not used at this time; reserved for PKCE authorization, which is not yet supported with GitHub.","markdownDescription":"OAuth application ID. Not used at this time; reserved for PKCE authorization, which is not yet supported with GitHub."},"cms_label_prefix":{"type":"string","description":"Pull request label prefix used when writing Editorial Workflow labels. Default: `sveltia-cms/`. When reading labels, the `sveltia-cms/`, `netlify-cms/` and `decap-cms/` prefixes are also recognized, so unpublished entries created with a different prefix or with Netlify/Decap CMS remain editable.","markdownDescription":"Pull request label prefix used when writing Editorial Workflow labels. Default: `sveltia-cms/`. When reading labels, the `sveltia-cms/`, `netlify-cms/` and `decap-cms/` prefixes are also recognized, so unpublished entries created with a different prefix or with Netlify/Decap CMS remain editable."},"squash_merges":{"type":"boolean","description":"Whether to use squash merge for Editorial Workflow. Default: `false`.","markdownDescription":"Whether to use squash merge for Editorial Workflow. Default: `false`."},"preview_context":{"type":"string","description":"Name of the commit status context or deployment environment that carries the deploy preview URL, matched as a case-insensitive substring. Default: any context or environment that looks like a deploy preview. See the [documentation](https://sveltiacms.app/en/docs/workflows/deploy-previews) for details.","markdownDescription":"Name of the commit status context or deployment environment that carries the deploy preview URL, matched as a case-insensitive substring. Default: any context or environment that looks like a deploy preview. See the [documentation](https://sveltiacms.app/en/docs/workflows/deploy-previews) for details."},"open_authoring":{"type":"boolean","description":"Whether to enable Open Authoring, which lets a contributor without write access to the repository propose changes from a fork. It requires the `editorial_workflow` publish mode. Default: `false`. See the [documentation](https://sveltiacms.app/en/docs/workflows/open) for details.","markdownDescription":"Whether to enable Open Authoring, which lets a contributor without write access to the repository propose changes from a fork. It requires the `editorial_workflow` publish mode. Default: `false`. See the [documentation](https://sveltiacms.app/en/docs/workflows/open) for details."},"auth_scope":{"anyOf":[{"type":"string","const":"repo"},{"type":"string","const":"public_repo"},{"type":"array","items":{"type":"string","enum":["repo","public_repo","workflow"]}}],"description":"OAuth scope to request when signing in, or a list of scopes, which must include `repo` or `public_repo`. Default: `repo`. With Open Authoring on a public repository, `public_repo` is enough and asks the contributor for a narrower grant. A private repository always needs `repo`. Adding `workflow` lets the CMS keep a contributor’s fork in sync when your GitHub Actions workflow files change, at the cost of letting the token change workflows in every repository the contributor can push to. See the [documentation](https://sveltiacms.app/en/docs/workflows/open#authentication-scope) for details.","markdownDescription":"OAuth scope to request when signing in, or a list of scopes, which must include `repo` or `public_repo`. Default: `repo`. With Open Authoring on a public repository, `public_repo` is enough and asks the contributor for a narrower grant. A private repository always needs `repo`. Adding `workflow` lets the CMS keep a contributor’s fork in sync when your GitHub Actions workflow files change, at the cost of letting the token change workflows in every repository the contributor can push to. See the [documentation](https://sveltiacms.app/en/docs/workflows/open#authentication-scope) for details."},"branch":{"type":"string","description":"Git branch name. If omitted, the default branch, usually `main` or `master`, will be automatically detected and used.","markdownDescription":"Git branch name. If omitted, the default branch, usually `main` or `master`, will be automatically detected and used."},"root_dir":{"type":"string","description":"Directory in the repository that the CMS treats as the root, such as the directory of a site in a monorepo, e.g. `apps/blog`. Every path in the configuration, like a collection’s `folder` or the `media_folder`, is then relative to this directory, and files outside it are not shown. Editorial Workflow branches are named after it as well, so the sites in a monorepo don’t share them; with Editorial Workflow, no part of the path can start with a dot, end with `.lock` or contain a space or a character Git doesn’t allow in a branch name, such as `:` or `*`. Default: the repository root. See the [documentation](https://sveltiacms.app/en/docs/backends#monorepos) for details.","markdownDescription":"Directory in the repository that the CMS treats as the root, such as the directory of a site in a monorepo, e.g. `apps/blog`. Every path in the configuration, like a collection’s `folder` or the `media_folder`, is then relative to this directory, and files outside it are not shown. Editorial Workflow branches are named after it as well, so the sites in a monorepo don’t share them; with Editorial Workflow, no part of the path can start with a dot, end with `.lock` or contain a space or a character Git doesn’t allow in a branch name, such as `:` or `*`. Default: the repository root. See the [documentation](https://sveltiacms.app/en/docs/backends#monorepos) for details."},"site_domain":{"type":"string","description":"Site domain used for OAuth, which will be included in the `site_id` param to be sent to the API endpoint. Default: [current hostname](https://developer.mozilla.org/en-US/docs/Web/API/Location/hostname) (or `cms.netlify.com` on `localhost`).","markdownDescription":"Site domain used for OAuth, which will be included in the `site_id` param to be sent to the API endpoint. Default: [current hostname](https://developer.mozilla.org/en-US/docs/Web/API/Location/hostname) (or `cms.netlify.com` on `localhost`)."},"commit_messages":{"$ref":"#/definitions/CommitMessages","description":"Custom commit messages.","markdownDescription":"Custom commit messages."},"automatic_deployments":{"type":"boolean","description":"Whether to enable or disable automatic deployments with any connected CI/CD provider. Default: `undefined`.","markdownDescription":"Whether to enable or disable automatic deployments with any connected CI/CD provider. Default: `undefined`.","deprecated":true,"deprecationMessage":"Use the new `skip_ci` option instead, which is more intuitive. `automatic_deployments: false` is equivalent to `skip_ci: true`, and `automatic_deployments: true` is equivalent to `skip_ci: false`. See the documentation https://sveltiacms.app/en/docs/deployments#disabling-automatic-deployments for details."},"skip_ci":{"type":"boolean","description":"Whether to enable or disable automatic deployments with any connected CI/CD provider, such as GitHub Actions or Cloudflare Pages. If `true`, the `[skip ci]` prefix will be added to commit messages, except for deletions. Setting it to either `true` or `false` also lets users trigger a deployment manually and toggle the prefix for each save. Default: `undefined`. See the [documentation](https://sveltiacms.app/en/docs/deployments#disabling-automatic-deployments) for details.","markdownDescription":"Whether to enable or disable automatic deployments with any connected CI/CD provider, such as GitHub Actions or Cloudflare Pages. If `true`, the `[skip ci]` prefix will be added to commit messages, except for deletions. Setting it to either `true` or `false` also lets users trigger a deployment manually and toggle the prefix for each save. Default: `undefined`. See the [documentation](https://sveltiacms.app/en/docs/deployments#disabling-automatic-deployments) for details."},"prompt_commit_messages":{"anyOf":[{"type":"boolean"},{"type":"string","const":"prefix"},{"type":"string","const":"suffix"}],"description":"Whether to ask the user for a commit message every time changes are committed. If `true`, the user can replace the message made from the `commit_messages` template, which the text box is filled in with. If `prefix` or `suffix`, the text the user enters, e.g. an issue number, is added before or after that message, with a space in between. The message made from the template is used as is if the text box is left empty. Default: `false`. See the [documentation](https://sveltiacms.app/en/docs/backends#commit-messages) for details.","markdownDescription":"Whether to ask the user for a commit message every time changes are committed. If `true`, the user can replace the message made from the `commit_messages` template, which the text box is filled in with. If `prefix` or `suffix`, the text the user enters, e.g. an issue number, is added before or after that message, with a space in between. The message made from the template is used as is if the text box is left empty. Default: `false`. See the [documentation](https://sveltiacms.app/en/docs/backends#commit-messages) for details."},"signoff_commits":{"type":"boolean","description":"Whether to add a `Signed-off-by: Name <email>` trailer to every commit the CMS makes, with the name and email of the signed-in user, as required by projects that enforce the [Developer Certificate of Origin](https://developercertificate.org/). The merge commit made when an Editorial Workflow entry is published doesn’t get the trailer. If the Git host doesn’t share the user’s email, e.g. on GitHub for a user without a public email, the trailer is left out with a warning in the browser console. Default: `false`.","markdownDescription":"Whether to add a `Signed-off-by: Name <email>` trailer to every commit the CMS makes, with the name and email of the signed-in user, as required by projects that enforce the [Developer Certificate of Origin](https://developercertificate.org/). The merge commit made when an Editorial Workflow entry is published doesn’t get the trailer. If the Git host doesn’t share the user’s email, e.g. on GitHub for a user without a public email, the trailer is left out with a warning in the browser console. Default: `false`."},"auth_methods":{"type":"array","items":{"$ref":"#/definitions/AuthMethodName"},"description":"Allowed authentication methods. Default: both `oauth` and `token` are allowed. To restrict sign-in options, specify only the methods you want to enable, e.g. `[oauth]` to disable access token sign-in, or `[token]` to disable OAuth sign-in. An empty array is invalid and will result in a configuration error.","markdownDescription":"Allowed authentication methods. Default: both `oauth` and `token` are allowed. To restrict sign-in options, specify only the methods you want to enable, e.g. `[oauth]` to disable access token sign-in, or `[token]` to disable OAuth sign-in. An empty array is invalid and will result in a configuration error."},"include_credentials":{"type":"boolean","description":"Whether to include credentials in API requests. Default: `false`. If set to `true`, credentials such as cookies will be included in API requests. This is only necessary when using cookie-based authentication with a self-hosted Git backend.","markdownDescription":"Whether to include credentials in API requests. Default: `false`. If set to `true`, credentials such as cookies will be included in API requests. This is only necessary when using cookie-based authentication with a self-hosted Git backend."}},"required":["name","repo"],"description":"GitHub backend.","markdownDescription":"GitHub backend."},"CommitMessages":{"type":"object","properties":{"create":{"type":"string","description":"Message to be used when a new entry is created.","markdownDescription":"Message to be used when a new entry is created."},"update":{"type":"string","description":"Message to be used when existing entries are updated.","markdownDescription":"Message to be used when existing entries are updated."},"delete":{"type":"string","description":"Message to be used when existing entries are deleted.","markdownDescription":"Message to be used when existing entries are deleted."},"uploadMedia":{"type":"string","description":"Message to be used when new files are uploaded/updated.","markdownDescription":"Message to be used when new files are uploaded/updated."},"deleteMedia":{"type":"string","description":"Message to be used when existing files are deleted.","markdownDescription":"Message to be used when existing files are deleted."},"openAuthoring":{"type":"string","description":"Message to be used when committed via a forked repository.","markdownDescription":"Message to be used when committed via a forked repository."}},"additionalProperties":false,"description":"Custom commit messages.","markdownDescription":"Custom commit messages."},"AuthMethodName":{"type":"string","enum":["oauth","token"],"description":"Authentication method name for Git backends.","markdownDescription":"Authentication method name for Git backends."},"GitLabBackend":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","const":"gitlab","description":"Backend name.","markdownDescription":"Backend name."},"repo":{"type":"string","description":"Repository identifier: namespace and project name joined by a slash, e.g. `group/project` or `group/subgroup/project`.","markdownDescription":"Repository identifier: namespace and project name joined by a slash, e.g. `group/project` or `group/subgroup/project`."},"api_root":{"type":"string","description":"REST API endpoint for the backend. Required when using a self-hosted GitLab instance. Default: `https://gitlab.com/api/v4`.","markdownDescription":"REST API endpoint for the backend. Required when using a self-hosted GitLab instance. Default: `https://gitlab.com/api/v4`."},"graphql_api_root":{"type":"string","description":"GraphQL API endpoint for the backend. Default: inferred from the `api_root` option value by replacing the path after `/api/` with `graphql`, e.g. `https://gitlab.com/api/graphql`.","markdownDescription":"GraphQL API endpoint for the backend. Default: inferred from the `api_root` option value by replacing the path after `/api/` with `graphql`, e.g. `https://gitlab.com/api/graphql`."},"base_url":{"type":"string","description":"OAuth base URL origin. With authorization code grant, it’s required when using an OAuth client other than Netlify, including [Sveltia CMS Authenticator](https://github.com/sveltia/sveltia-cms-auth). With PKCE authorization, it’s the URL of the GitLab instance, including the subpath if it’s served under one, which is not inferred from `api_root`, so it’s required for a self-hosted instance. Default: `https://api.netlify.com`, or `https://gitlab.com` when `auth_type` is `pkce`.","markdownDescription":"OAuth base URL origin. With authorization code grant, it’s required when using an OAuth client other than Netlify, including [Sveltia CMS Authenticator](https://github.com/sveltia/sveltia-cms-auth). With PKCE authorization, it’s the URL of the GitLab instance, including the subpath if it’s served under one, which is not inferred from `api_root`, so it’s required for a self-hosted instance. Default: `https://api.netlify.com`, or `https://gitlab.com` when `auth_type` is `pkce`."},"auth_type":{"type":"string","enum":["","pkce"],"description":"OAuth grant type. The default is an empty string, which is authorization code grant. `pkce` is recommended for better security and easier setup. `implicit` is not supported in Sveltia CMS.","markdownDescription":"OAuth grant type. The default is an empty string, which is authorization code grant. `pkce` is recommended for better security and easier setup. `implicit` is not supported in Sveltia CMS."},"auth_endpoint":{"type":"string","description":"OAuth base URL path. Default: `auth`, or `oauth/authorize` when `auth_type` is `pkce`.","markdownDescription":"OAuth base URL path. Default: `auth`, or `oauth/authorize` when `auth_type` is `pkce`."},"app_id":{"type":"string","description":"OAuth application ID. Required when using PKCE authorization.","markdownDescription":"OAuth application ID. Required when using PKCE authorization."},"cms_label_prefix":{"type":"string","description":"Merge request label prefix used when writing Editorial Workflow labels. Default: `sveltia-cms/`. When reading labels, the `sveltia-cms/`, `netlify-cms/` and `decap-cms/` prefixes are also recognized, so unpublished entries created with a different prefix or with Netlify/Decap CMS remain editable.","markdownDescription":"Merge request label prefix used when writing Editorial Workflow labels. Default: `sveltia-cms/`. When reading labels, the `sveltia-cms/`, `netlify-cms/` and `decap-cms/` prefixes are also recognized, so unpublished entries created with a different prefix or with Netlify/Decap CMS remain editable."},"squash_merges":{"type":"boolean","description":"Whether to use squash merge for Editorial Workflow. Default: `false`.","markdownDescription":"Whether to use squash merge for Editorial Workflow. Default: `false`."},"preview_context":{"type":"string","description":"Name of the commit status context or deployment environment that carries the deploy preview URL, matched as a case-insensitive substring. Default: any context or environment that looks like a deploy preview. See the [documentation](https://sveltiacms.app/en/docs/workflows/deploy-previews) for details.","markdownDescription":"Name of the commit status context or deployment environment that carries the deploy preview URL, matched as a case-insensitive substring. Default: any context or environment that looks like a deploy preview. See the [documentation](https://sveltiacms.app/en/docs/workflows/deploy-previews) for details."},"open_authoring":{"type":"boolean","description":"Whether to enable Open Authoring, which lets a contributor without write access to the project propose changes from a fork. It requires the `editorial_workflow` publish mode. Default: `false`. See the [documentation](https://sveltiacms.app/en/docs/workflows/open) for details.","markdownDescription":"Whether to enable Open Authoring, which lets a contributor without write access to the project propose changes from a fork. It requires the `editorial_workflow` publish mode. Default: `false`. See the [documentation](https://sveltiacms.app/en/docs/workflows/open) for details."},"branch":{"type":"string","description":"Git branch name. If omitted, the default branch, usually `main` or `master`, will be automatically detected and used.","markdownDescription":"Git branch name. If omitted, the default branch, usually `main` or `master`, will be automatically detected and used."},"root_dir":{"type":"string","description":"Directory in the repository that the CMS treats as the root, such as the directory of a site in a monorepo, e.g. `apps/blog`. Every path in the configuration, like a collection’s `folder` or the `media_folder`, is then relative to this directory, and files outside it are not shown. Editorial Workflow branches are named after it as well, so the sites in a monorepo don’t share them; with Editorial Workflow, no part of the path can start with a dot, end with `.lock` or contain a space or a character Git doesn’t allow in a branch name, such as `:` or `*`. Default: the repository root. See the [documentation](https://sveltiacms.app/en/docs/backends#monorepos) for details.","markdownDescription":"Directory in the repository that the CMS treats as the root, such as the directory of a site in a monorepo, e.g. `apps/blog`. Every path in the configuration, like a collection’s `folder` or the `media_folder`, is then relative to this directory, and files outside it are not shown. Editorial Workflow branches are named after it as well, so the sites in a monorepo don’t share them; with Editorial Workflow, no part of the path can start with a dot, end with `.lock` or contain a space or a character Git doesn’t allow in a branch name, such as `:` or `*`. Default: the repository root. See the [documentation](https://sveltiacms.app/en/docs/backends#monorepos) for details."},"site_domain":{"type":"string","description":"Site domain used for OAuth, which will be included in the `site_id` param to be sent to the API endpoint. Default: [current hostname](https://developer.mozilla.org/en-US/docs/Web/API/Location/hostname) (or `cms.netlify.com` on `localhost`).","markdownDescription":"Site domain used for OAuth, which will be included in the `site_id` param to be sent to the API endpoint. Default: [current hostname](https://developer.mozilla.org/en-US/docs/Web/API/Location/hostname) (or `cms.netlify.com` on `localhost`)."},"commit_messages":{"$ref":"#/definitions/CommitMessages","description":"Custom commit messages.","markdownDescription":"Custom commit messages."},"automatic_deployments":{"type":"boolean","description":"Whether to enable or disable automatic deployments with any connected CI/CD provider. Default: `undefined`.","markdownDescription":"Whether to enable or disable automatic deployments with any connected CI/CD provider. Default: `undefined`.","deprecated":true,"deprecationMessage":"Use the new `skip_ci` option instead, which is more intuitive. `automatic_deployments: false` is equivalent to `skip_ci: true`, and `automatic_deployments: true` is equivalent to `skip_ci: false`. See the documentation https://sveltiacms.app/en/docs/deployments#disabling-automatic-deployments for details."},"skip_ci":{"type":"boolean","description":"Whether to enable or disable automatic deployments with any connected CI/CD provider, such as GitHub Actions or Cloudflare Pages. If `true`, the `[skip ci]` prefix will be added to commit messages, except for deletions. Setting it to either `true` or `false` also lets users trigger a deployment manually and toggle the prefix for each save. Default: `undefined`. See the [documentation](https://sveltiacms.app/en/docs/deployments#disabling-automatic-deployments) for details.","markdownDescription":"Whether to enable or disable automatic deployments with any connected CI/CD provider, such as GitHub Actions or Cloudflare Pages. If `true`, the `[skip ci]` prefix will be added to commit messages, except for deletions. Setting it to either `true` or `false` also lets users trigger a deployment manually and toggle the prefix for each save. Default: `undefined`. See the [documentation](https://sveltiacms.app/en/docs/deployments#disabling-automatic-deployments) for details."},"prompt_commit_messages":{"anyOf":[{"type":"boolean"},{"type":"string","const":"prefix"},{"type":"string","const":"suffix"}],"description":"Whether to ask the user for a commit message every time changes are committed. If `true`, the user can replace the message made from the `commit_messages` template, which the text box is filled in with. If `prefix` or `suffix`, the text the user enters, e.g. an issue number, is added before or after that message, with a space in between. The message made from the template is used as is if the text box is left empty. Default: `false`. See the [documentation](https://sveltiacms.app/en/docs/backends#commit-messages) for details.","markdownDescription":"Whether to ask the user for a commit message every time changes are committed. If `true`, the user can replace the message made from the `commit_messages` template, which the text box is filled in with. If `prefix` or `suffix`, the text the user enters, e.g. an issue number, is added before or after that message, with a space in between. The message made from the template is used as is if the text box is left empty. Default: `false`. See the [documentation](https://sveltiacms.app/en/docs/backends#commit-messages) for details."},"signoff_commits":{"type":"boolean","description":"Whether to add a `Signed-off-by: Name <email>` trailer to every commit the CMS makes, with the name and email of the signed-in user, as required by projects that enforce the [Developer Certificate of Origin](https://developercertificate.org/). The merge commit made when an Editorial Workflow entry is published doesn’t get the trailer. If the Git host doesn’t share the user’s email, e.g. on GitHub for a user without a public email, the trailer is left out with a warning in the browser console. Default: `false`.","markdownDescription":"Whether to add a `Signed-off-by: Name <email>` trailer to every commit the CMS makes, with the name and email of the signed-in user, as required by projects that enforce the [Developer Certificate of Origin](https://developercertificate.org/). The merge commit made when an Editorial Workflow entry is published doesn’t get the trailer. If the Git host doesn’t share the user’s email, e.g. on GitHub for a user without a public email, the trailer is left out with a warning in the browser console. Default: `false`."},"auth_methods":{"type":"array","items":{"$ref":"#/definitions/AuthMethodName"},"description":"Allowed authentication methods. Default: both `oauth` and `token` are allowed. To restrict sign-in options, specify only the methods you want to enable, e.g. `[oauth]` to disable access token sign-in, or `[token]` to disable OAuth sign-in. An empty array is invalid and will result in a configuration error.","markdownDescription":"Allowed authentication methods. Default: both `oauth` and `token` are allowed. To restrict sign-in options, specify only the methods you want to enable, e.g. `[oauth]` to disable access token sign-in, or `[token]` to disable OAuth sign-in. An empty array is invalid and will result in a configuration error."},"include_credentials":{"type":"boolean","description":"Whether to include credentials in API requests. Default: `false`. If set to `true`, credentials such as cookies will be included in API requests. This is only necessary when using cookie-based authentication with a self-hosted Git backend.","markdownDescription":"Whether to include credentials in API requests. Default: `false`. If set to `true`, credentials such as cookies will be included in API requests. This is only necessary when using cookie-based authentication with a self-hosted Git backend."}},"required":["name","repo"],"description":"GitLab backend.","markdownDescription":"GitLab backend."},"GiteaBackend":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","const":"gitea","description":"Backend name.","markdownDescription":"Backend name."},"repo":{"type":"string","description":"Repository identifier: organization/user name and repository name joined by a slash, e.g. `owner/repo`.","markdownDescription":"Repository identifier: organization/user name and repository name joined by a slash, e.g. `owner/repo`."},"api_root":{"type":"string","description":"REST API endpoint for the backend. Required when using a self-hosted Gitea/Forgejo instance. Default: `https://gitea.com/api/v1`.","markdownDescription":"REST API endpoint for the backend. Required when using a self-hosted Gitea/Forgejo instance. Default: `https://gitea.com/api/v1`."},"base_url":{"type":"string","description":"OAuth base URL, which is the URL of the Gitea/Forgejo instance, including the subpath if it’s served under one, as OAuth sign-in always uses PKCE authorization without an OAuth client. It’s not inferred from `api_root`, so it’s required when using a self-hosted instance or Codeberg. Default: `https://gitea.com`.","markdownDescription":"OAuth base URL, which is the URL of the Gitea/Forgejo instance, including the subpath if it’s served under one, as OAuth sign-in always uses PKCE authorization without an OAuth client. It’s not inferred from `api_root`, so it’s required when using a self-hosted instance or Codeberg. Default: `https://gitea.com`."},"auth_endpoint":{"type":"string","description":"OAuth base URL path. Default: `login/oauth/authorize`.","markdownDescription":"OAuth base URL path. Default: `login/oauth/authorize`."},"app_id":{"type":"string","description":"OAuth application ID. Required for OAuth sign-in; without one, users can still sign in with a personal access token.","markdownDescription":"OAuth application ID. Required for OAuth sign-in; without one, users can still sign in with a personal access token."},"cms_label_prefix":{"type":"string","description":"Pull request label prefix used when writing Editorial Workflow labels. Default: `sveltia-cms/`. When reading labels, the `sveltia-cms/`, `netlify-cms/` and `decap-cms/` prefixes are also recognized, so unpublished entries created with a different prefix or with Netlify/Decap CMS remain editable.","markdownDescription":"Pull request label prefix used when writing Editorial Workflow labels. Default: `sveltia-cms/`. When reading labels, the `sveltia-cms/`, `netlify-cms/` and `decap-cms/` prefixes are also recognized, so unpublished entries created with a different prefix or with Netlify/Decap CMS remain editable."},"squash_merges":{"type":"boolean","description":"Whether to use squash marge for Editorial Workflow. Default: `false`.","markdownDescription":"Whether to use squash marge for Editorial Workflow. Default: `false`."},"preview_context":{"type":"string","description":"Name of the commit status context that carries the deploy preview URL, matched as a case-insensitive substring. Default: any context that looks like a deploy preview. See the [documentation](https://sveltiacms.app/en/docs/workflows/deploy-previews) for details.","markdownDescription":"Name of the commit status context that carries the deploy preview URL, matched as a case-insensitive substring. Default: any context that looks like a deploy preview. See the [documentation](https://sveltiacms.app/en/docs/workflows/deploy-previews) for details."},"open_authoring":{"type":"boolean","description":"Whether to enable Open Authoring, which lets a contributor without write access to the repository propose changes from a fork. It requires the `editorial_workflow` publish mode. Default: `false`. See the [documentation](https://sveltiacms.app/en/docs/workflows/open) for details.","markdownDescription":"Whether to enable Open Authoring, which lets a contributor without write access to the repository propose changes from a fork. It requires the `editorial_workflow` publish mode. Default: `false`. See the [documentation](https://sveltiacms.app/en/docs/workflows/open) for details."},"branch":{"type":"string","description":"Git branch name. If omitted, the default branch, usually `main` or `master`, will be automatically detected and used.","markdownDescription":"Git branch name. If omitted, the default branch, usually `main` or `master`, will be automatically detected and used."},"root_dir":{"type":"string","description":"Directory in the repository that the CMS treats as the root, such as the directory of a site in a monorepo, e.g. `apps/blog`. Every path in the configuration, like a collection’s `folder` or the `media_folder`, is then relative to this directory, and files outside it are not shown. Editorial Workflow branches are named after it as well, so the sites in a monorepo don’t share them; with Editorial Workflow, no part of the path can start with a dot, end with `.lock` or contain a space or a character Git doesn’t allow in a branch name, such as `:` or `*`. Default: the repository root. See the [documentation](https://sveltiacms.app/en/docs/backends#monorepos) for details.","markdownDescription":"Directory in the repository that the CMS treats as the root, such as the directory of a site in a monorepo, e.g. `apps/blog`. Every path in the configuration, like a collection’s `folder` or the `media_folder`, is then relative to this directory, and files outside it are not shown. Editorial Workflow branches are named after it as well, so the sites in a monorepo don’t share them; with Editorial Workflow, no part of the path can start with a dot, end with `.lock` or contain a space or a character Git doesn’t allow in a branch name, such as `:` or `*`. Default: the repository root. See the [documentation](https://sveltiacms.app/en/docs/backends#monorepos) for details."},"site_domain":{"type":"string","description":"Site domain used for OAuth, which will be included in the `site_id` param to be sent to the API endpoint. Default: [current hostname](https://developer.mozilla.org/en-US/docs/Web/API/Location/hostname) (or `cms.netlify.com` on `localhost`).","markdownDescription":"Site domain used for OAuth, which will be included in the `site_id` param to be sent to the API endpoint. Default: [current hostname](https://developer.mozilla.org/en-US/docs/Web/API/Location/hostname) (or `cms.netlify.com` on `localhost`)."},"commit_messages":{"$ref":"#/definitions/CommitMessages","description":"Custom commit messages.","markdownDescription":"Custom commit messages."},"automatic_deployments":{"type":"boolean","description":"Whether to enable or disable automatic deployments with any connected CI/CD provider. Default: `undefined`.","markdownDescription":"Whether to enable or disable automatic deployments with any connected CI/CD provider. Default: `undefined`.","deprecated":true,"deprecationMessage":"Use the new `skip_ci` option instead, which is more intuitive. `automatic_deployments: false` is equivalent to `skip_ci: true`, and `automatic_deployments: true` is equivalent to `skip_ci: false`. See the documentation https://sveltiacms.app/en/docs/deployments#disabling-automatic-deployments for details."},"skip_ci":{"type":"boolean","description":"Whether to enable or disable automatic deployments with any connected CI/CD provider, such as GitHub Actions or Cloudflare Pages. If `true`, the `[skip ci]` prefix will be added to commit messages, except for deletions. Setting it to either `true` or `false` also lets users trigger a deployment manually and toggle the prefix for each save. Default: `undefined`. See the [documentation](https://sveltiacms.app/en/docs/deployments#disabling-automatic-deployments) for details.","markdownDescription":"Whether to enable or disable automatic deployments with any connected CI/CD provider, such as GitHub Actions or Cloudflare Pages. If `true`, the `[skip ci]` prefix will be added to commit messages, except for deletions. Setting it to either `true` or `false` also lets users trigger a deployment manually and toggle the prefix for each save. Default: `undefined`. See the [documentation](https://sveltiacms.app/en/docs/deployments#disabling-automatic-deployments) for details."},"prompt_commit_messages":{"anyOf":[{"type":"boolean"},{"type":"string","const":"prefix"},{"type":"string","const":"suffix"}],"description":"Whether to ask the user for a commit message every time changes are committed. If `true`, the user can replace the message made from the `commit_messages` template, which the text box is filled in with. If `prefix` or `suffix`, the text the user enters, e.g. an issue number, is added before or after that message, with a space in between. The message made from the template is used as is if the text box is left empty. Default: `false`. See the [documentation](https://sveltiacms.app/en/docs/backends#commit-messages) for details.","markdownDescription":"Whether to ask the user for a commit message every time changes are committed. If `true`, the user can replace the message made from the `commit_messages` template, which the text box is filled in with. If `prefix` or `suffix`, the text the user enters, e.g. an issue number, is added before or after that message, with a space in between. The message made from the template is used as is if the text box is left empty. Default: `false`. See the [documentation](https://sveltiacms.app/en/docs/backends#commit-messages) for details."},"signoff_commits":{"type":"boolean","description":"Whether to add a `Signed-off-by: Name <email>` trailer to every commit the CMS makes, with the name and email of the signed-in user, as required by projects that enforce the [Developer Certificate of Origin](https://developercertificate.org/). The merge commit made when an Editorial Workflow entry is published doesn’t get the trailer. If the Git host doesn’t share the user’s email, e.g. on GitHub for a user without a public email, the trailer is left out with a warning in the browser console. Default: `false`.","markdownDescription":"Whether to add a `Signed-off-by: Name <email>` trailer to every commit the CMS makes, with the name and email of the signed-in user, as required by projects that enforce the [Developer Certificate of Origin](https://developercertificate.org/). The merge commit made when an Editorial Workflow entry is published doesn’t get the trailer. If the Git host doesn’t share the user’s email, e.g. on GitHub for a user without a public email, the trailer is left out with a warning in the browser console. Default: `false`."},"auth_methods":{"type":"array","items":{"$ref":"#/definitions/AuthMethodName"},"description":"Allowed authentication methods. Default: both `oauth` and `token` are allowed. To restrict sign-in options, specify only the methods you want to enable, e.g. `[oauth]` to disable access token sign-in, or `[token]` to disable OAuth sign-in. An empty array is invalid and will result in a configuration error.","markdownDescription":"Allowed authentication methods. Default: both `oauth` and `token` are allowed. To restrict sign-in options, specify only the methods you want to enable, e.g. `[oauth]` to disable access token sign-in, or `[token]` to disable OAuth sign-in. An empty array is invalid and will result in a configuration error."},"include_credentials":{"type":"boolean","description":"Whether to include credentials in API requests. Default: `false`. If set to `true`, credentials such as cookies will be included in API requests. This is only necessary when using cookie-based authentication with a self-hosted Git backend.","markdownDescription":"Whether to include credentials in API requests. Default: `false`. If set to `true`, credentials such as cookies will be included in API requests. This is only necessary when using cookie-based authentication with a self-hosted Git backend."}},"required":["name","repo"],"description":"Gitea/Forgejo backend.","markdownDescription":"Gitea/Forgejo backend."},"ForgejoBackend":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","const":"forgejo","description":"Backend name.","markdownDescription":"Backend name."},"api_root":{"type":"string","description":"REST API endpoint of the Forgejo instance, e.g. `https://codeberg.org/api/v1`.","markdownDescription":"REST API endpoint of the Forgejo instance, e.g. `https://codeberg.org/api/v1`."},"base_url":{"type":"string","description":"OAuth base URL, which is the URL of the Forgejo instance, including the subpath if it’s served under one. Default: `api_root` without the `/api/v1` path, e.g. `https://codeberg.org`.","markdownDescription":"OAuth base URL, which is the URL of the Forgejo instance, including the subpath if it’s served under one. Default: `api_root` without the `/api/v1` path, e.g. `https://codeberg.org`."},"repo":{"type":"string","description":"Repository identifier: organization/user name and repository name joined by a slash, e.g. `owner/repo`.","markdownDescription":"Repository identifier: organization/user name and repository name joined by a slash, e.g. `owner/repo`."},"auth_endpoint":{"type":"string","description":"OAuth base URL path. Default: `login/oauth/authorize`.","markdownDescription":"OAuth base URL path. Default: `login/oauth/authorize`."},"app_id":{"type":"string","description":"OAuth application ID. Required for OAuth sign-in; without one, users can still sign in with a personal access token.","markdownDescription":"OAuth application ID. Required for OAuth sign-in; without one, users can still sign in with a personal access token."},"cms_label_prefix":{"type":"string","description":"Pull request label prefix used when writing Editorial Workflow labels. Default: `sveltia-cms/`. When reading labels, the `sveltia-cms/`, `netlify-cms/` and `decap-cms/` prefixes are also recognized, so unpublished entries created with a different prefix or with Netlify/Decap CMS remain editable.","markdownDescription":"Pull request label prefix used when writing Editorial Workflow labels. Default: `sveltia-cms/`. When reading labels, the `sveltia-cms/`, `netlify-cms/` and `decap-cms/` prefixes are also recognized, so unpublished entries created with a different prefix or with Netlify/Decap CMS remain editable."},"squash_merges":{"type":"boolean","description":"Whether to use squash marge for Editorial Workflow. Default: `false`.","markdownDescription":"Whether to use squash marge for Editorial Workflow. Default: `false`."},"preview_context":{"type":"string","description":"Name of the commit status context that carries the deploy preview URL, matched as a case-insensitive substring. Default: any context that looks like a deploy preview. See the [documentation](https://sveltiacms.app/en/docs/workflows/deploy-previews) for details.","markdownDescription":"Name of the commit status context that carries the deploy preview URL, matched as a case-insensitive substring. Default: any context that looks like a deploy preview. See the [documentation](https://sveltiacms.app/en/docs/workflows/deploy-previews) for details."},"open_authoring":{"type":"boolean","description":"Whether to enable Open Authoring, which lets a contributor without write access to the repository propose changes from a fork. It requires the `editorial_workflow` publish mode. Default: `false`. See the [documentation](https://sveltiacms.app/en/docs/workflows/open) for details.","markdownDescription":"Whether to enable Open Authoring, which lets a contributor without write access to the repository propose changes from a fork. It requires the `editorial_workflow` publish mode. Default: `false`. See the [documentation](https://sveltiacms.app/en/docs/workflows/open) for details."},"branch":{"type":"string","description":"Git branch name. If omitted, the default branch, usually `main` or `master`, will be automatically detected and used.","markdownDescription":"Git branch name. If omitted, the default branch, usually `main` or `master`, will be automatically detected and used."},"root_dir":{"type":"string","description":"Directory in the repository that the CMS treats as the root, such as the directory of a site in a monorepo, e.g. `apps/blog`. Every path in the configuration, like a collection’s `folder` or the `media_folder`, is then relative to this directory, and files outside it are not shown. Editorial Workflow branches are named after it as well, so the sites in a monorepo don’t share them; with Editorial Workflow, no part of the path can start with a dot, end with `.lock` or contain a space or a character Git doesn’t allow in a branch name, such as `:` or `*`. Default: the repository root. See the [documentation](https://sveltiacms.app/en/docs/backends#monorepos) for details.","markdownDescription":"Directory in the repository that the CMS treats as the root, such as the directory of a site in a monorepo, e.g. `apps/blog`. Every path in the configuration, like a collection’s `folder` or the `media_folder`, is then relative to this directory, and files outside it are not shown. Editorial Workflow branches are named after it as well, so the sites in a monorepo don’t share them; with Editorial Workflow, no part of the path can start with a dot, end with `.lock` or contain a space or a character Git doesn’t allow in a branch name, such as `:` or `*`. Default: the repository root. See the [documentation](https://sveltiacms.app/en/docs/backends#monorepos) for details."},"site_domain":{"type":"string","description":"Site domain used for OAuth, which will be included in the `site_id` param to be sent to the API endpoint. Default: [current hostname](https://developer.mozilla.org/en-US/docs/Web/API/Location/hostname) (or `cms.netlify.com` on `localhost`).","markdownDescription":"Site domain used for OAuth, which will be included in the `site_id` param to be sent to the API endpoint. Default: [current hostname](https://developer.mozilla.org/en-US/docs/Web/API/Location/hostname) (or `cms.netlify.com` on `localhost`)."},"commit_messages":{"$ref":"#/definitions/CommitMessages","description":"Custom commit messages.","markdownDescription":"Custom commit messages."},"automatic_deployments":{"type":"boolean","description":"Whether to enable or disable automatic deployments with any connected CI/CD provider. Default: `undefined`.","markdownDescription":"Whether to enable or disable automatic deployments with any connected CI/CD provider. Default: `undefined`.","deprecated":true,"deprecationMessage":"Use the new `skip_ci` option instead, which is more intuitive. `automatic_deployments: false` is equivalent to `skip_ci: true`, and `automatic_deployments: true` is equivalent to `skip_ci: false`. See the documentation https://sveltiacms.app/en/docs/deployments#disabling-automatic-deployments for details."},"skip_ci":{"type":"boolean","description":"Whether to enable or disable automatic deployments with any connected CI/CD provider, such as GitHub Actions or Cloudflare Pages. If `true`, the `[skip ci]` prefix will be added to commit messages, except for deletions. Setting it to either `true` or `false` also lets users trigger a deployment manually and toggle the prefix for each save. Default: `undefined`. See the [documentation](https://sveltiacms.app/en/docs/deployments#disabling-automatic-deployments) for details.","markdownDescription":"Whether to enable or disable automatic deployments with any connected CI/CD provider, such as GitHub Actions or Cloudflare Pages. If `true`, the `[skip ci]` prefix will be added to commit messages, except for deletions. Setting it to either `true` or `false` also lets users trigger a deployment manually and toggle the prefix for each save. Default: `undefined`. See the [documentation](https://sveltiacms.app/en/docs/deployments#disabling-automatic-deployments) for details."},"prompt_commit_messages":{"anyOf":[{"type":"boolean"},{"type":"string","const":"prefix"},{"type":"string","const":"suffix"}],"description":"Whether to ask the user for a commit message every time changes are committed. If `true`, the user can replace the message made from the `commit_messages` template, which the text box is filled in with. If `prefix` or `suffix`, the text the user enters, e.g. an issue number, is added before or after that message, with a space in between. The message made from the template is used as is if the text box is left empty. Default: `false`. See the [documentation](https://sveltiacms.app/en/docs/backends#commit-messages) for details.","markdownDescription":"Whether to ask the user for a commit message every time changes are committed. If `true`, the user can replace the message made from the `commit_messages` template, which the text box is filled in with. If `prefix` or `suffix`, the text the user enters, e.g. an issue number, is added before or after that message, with a space in between. The message made from the template is used as is if the text box is left empty. Default: `false`. See the [documentation](https://sveltiacms.app/en/docs/backends#commit-messages) for details."},"signoff_commits":{"type":"boolean","description":"Whether to add a `Signed-off-by: Name <email>` trailer to every commit the CMS makes, with the name and email of the signed-in user, as required by projects that enforce the [Developer Certificate of Origin](https://developercertificate.org/). The merge commit made when an Editorial Workflow entry is published doesn’t get the trailer. If the Git host doesn’t share the user’s email, e.g. on GitHub for a user without a public email, the trailer is left out with a warning in the browser console. Default: `false`.","markdownDescription":"Whether to add a `Signed-off-by: Name <email>` trailer to every commit the CMS makes, with the name and email of the signed-in user, as required by projects that enforce the [Developer Certificate of Origin](https://developercertificate.org/). The merge commit made when an Editorial Workflow entry is published doesn’t get the trailer. If the Git host doesn’t share the user’s email, e.g. on GitHub for a user without a public email, the trailer is left out with a warning in the browser console. Default: `false`."},"auth_methods":{"type":"array","items":{"$ref":"#/definitions/AuthMethodName"},"description":"Allowed authentication methods. Default: both `oauth` and `token` are allowed. To restrict sign-in options, specify only the methods you want to enable, e.g. `[oauth]` to disable access token sign-in, or `[token]` to disable OAuth sign-in. An empty array is invalid and will result in a configuration error.","markdownDescription":"Allowed authentication methods. Default: both `oauth` and `token` are allowed. To restrict sign-in options, specify only the methods you want to enable, e.g. `[oauth]` to disable access token sign-in, or `[token]` to disable OAuth sign-in. An empty array is invalid and will result in a configuration error."},"include_credentials":{"type":"boolean","description":"Whether to include credentials in API requests. Default: `false`. If set to `true`, credentials such as cookies will be included in API requests. This is only necessary when using cookie-based authentication with a self-hosted Git backend.","markdownDescription":"Whether to include credentials in API requests. Default: `false`. If set to `true`, credentials such as cookies will be included in API requests. This is only necessary when using cookie-based authentication with a self-hosted Git backend."}},"required":["api_root","name","repo"],"description":"Forgejo backend, as named in Decap CMS. It’s the same as the Gitea/Forgejo backend, except that the `api_root` option is required and the OAuth base URL is derived from it.","markdownDescription":"Forgejo backend, as named in Decap CMS. It’s the same as the Gitea/Forgejo backend, except that the `api_root` option is required and the OAuth base URL is derived from it."},"TestBackend":{"type":"object","properties":{"name":{"type":"string","const":"test-repo","description":"Backend name.","markdownDescription":"Backend name."},"root_dir":{"type":"string","description":"Directory in the repository that the CMS treats as the root, such as the directory of a site in a monorepo, e.g. `apps/blog`. Every path in the configuration, like a collection’s `folder` or the `media_folder`, is then relative to this directory, and files outside it are not shown. Default: the repository root. See the [documentation](https://sveltiacms.app/en/docs/backends#monorepos) for details.","markdownDescription":"Directory in the repository that the CMS treats as the root, such as the directory of a site in a monorepo, e.g. `apps/blog`. Every path in the configuration, like a collection’s `folder` or the `media_folder`, is then relative to this directory, and files outside it are not shown. Default: the repository root. See the [documentation](https://sveltiacms.app/en/docs/backends#monorepos) for details."}},"required":["name"],"additionalProperties":false,"description":"Test backend.","markdownDescription":"Test backend."},"PublishModeType":{"type":"string","enum":["simple","preview","editorial_workflow"],"description":"Publish mode. `simple` commits each change to the configured branch right away. `preview` saves each change to a pull request, so it can be previewed on a deploy preview before it’s published, without any review stages. `editorial_workflow` saves each change to a pull request that moves through review stages before it can be published.","markdownDescription":"Publish mode. `simple` commits each change to the configured branch right away. `preview` saves each change to a pull request, so it can be previewed on a deploy preview before it’s published, without any review stages. `editorial_workflow` saves each change to a pull request that moves through review stages before it can be published."},"PublishModeOptions":{"type":"object","properties":{"type":{"$ref":"#/definitions/PublishModeType","description":"Publish mode. Default: `simple` at the global level, and the global publish mode at the collection level.","markdownDescription":"Publish mode. Default: `simple` at the global level, and the global publish mode at the collection level."},"stages":{"type":"array","items":{"$ref":"#/definitions/PublishModeStage"},"description":"Review stages an unpublished entry moves through, in order. The list must start with `draft`. An entry can be published once it reaches the last stage, so `[draft, pending_publish]` drops the In Review stage. Default: `[draft, pending_review, pending_publish]`. It only applies to the `editorial_workflow` publish mode.","markdownDescription":"Review stages an unpublished entry moves through, in order. The list must start with `draft`. An entry can be published once it reaches the last stage, so `[draft, pending_publish]` drops the In Review stage. Default: `[draft, pending_review, pending_publish]`. It only applies to the `editorial_workflow` publish mode."},"direct_publish":{"type":"boolean","description":"Whether to let users save and publish an entry in one go, bypassing the review: the change is committed straight to the configured branch, or the entry’s pull request is merged once the change is saved to it. The option is not offered for a collection with `publish: false`, or to an Open Authoring contributor. Default: `false`. It only applies to the `editorial_workflow` and `preview` publish modes.","markdownDescription":"Whether to let users save and publish an entry in one go, bypassing the review: the change is committed straight to the configured branch, or the entry’s pull request is merged once the change is saved to it. The option is not offered for a collection with `publish: false`, or to an Open Authoring contributor. Default: `false`. It only applies to the `editorial_workflow` and `preview` publish modes."},"allow_incomplete_drafts":{"type":"boolean","description":"Whether an entry in the `draft` stage can be saved with its required fields left empty. The fields have to be filled in before the entry moves on or is published. Default: `true`. It only applies to the `editorial_workflow` and `preview` publish modes.","markdownDescription":"Whether an entry in the `draft` stage can be saved with its required fields left empty. The fields have to be filled in before the entry moves on or is published. Default: `true`. It only applies to the `editorial_workflow` and `preview` publish modes."}},"additionalProperties":false,"description":"Publish mode options, the object form of the `publish_mode` option.","markdownDescription":"Publish mode options, the object form of the `publish_mode` option."},"PublishModeStage":{"type":"string","enum":["draft","pending_review","pending_publish"],"description":"Editorial Workflow review stage.","markdownDescription":"Editorial Workflow review stage."},"GlobalLegacyMediaLibrary":{"anyOf":[{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","const":"default"},"config":{"$ref":"#/definitions/DefaultMediaLibraryConfig","description":"Configuration for the default media storage.","markdownDescription":"Configuration for the default media storage."}}},{"$ref":"#/definitions/NamedLegacyMediaLibrary"}],"description":"Global legacy media storage option, which applies to the default media storage without a `name`.","markdownDescription":"Global legacy media storage option, which applies to the default media storage without a `name`."},"DefaultMediaLibraryConfig":{"type":"object","additionalProperties":false,"properties":{"multiple":{"type":"boolean","description":"Whether to allow multiple file selection in the media storage. This option is available for compatibility with the Cloudinary and Uploadcare media storage providers, but you can simply use the `multiple` option for the File/Image field types instead, which takes precedence over this option.","markdownDescription":"Whether to allow multiple file selection in the media storage. This option is available for compatibility with the Cloudinary and Uploadcare media storage providers, but you can simply use the `multiple` option for the File/Image field types instead, which takes precedence over this option."},"max_file_size":{"type":"number","description":"Maximum file size in bytes that can be accepted for uploading. Default: `Infinity`, meaning no limit.","markdownDescription":"Maximum file size in bytes that can be accepted for uploading. Default: `Infinity`, meaning no limit."},"slugify_filename":{"type":"boolean","description":"Whether to rename an original asset file when saving it, according to the global `slug` option. Default: `false`, meaning that the original file name is kept by default, while Netlify/Decap CMS forces to slugify file names. If set to `true`, for example, `Hello World (1).webp` would be `hello-world-1.webp`.","markdownDescription":"Whether to rename an original asset file when saving it, according to the global `slug` option. Default: `false`, meaning that the original file name is kept by default, while Netlify/Decap CMS forces to slugify file names. If set to `true`, for example, `Hello World (1).webp` would be `hello-world-1.webp`."},"filename_template":{"type":"string","description":"Template to rename an uploaded file with, like `{{slug}}-{{uuid_short}}`. It supports the same tags and transformations as the entry `slug` option, including `{{slug}}`, `{{fields.title}}`, date/time tags and `{{uuid}}`, as well as `{{filename}}` and `{{extension}}` for the original file name and extension. The extension is always appended, so the template shouldn’t include it. The values of the tags are slugified, and the entry tags are filled with the default locale’s content when the entry is saved. A file uploaded to a cloud storage service from an entry is named right away with the content at that time, and a tag with no value yet gets a random one. A file uploaded in the asset library has no entry, so only the other tags make sense there. Cloudinary keeps the name as the original file name of an asset whose public ID is generated. A file renamed by hand before saving keeps that name, and a file replacing an existing asset takes over its name. Default: `undefined`, meaning that the original file name is kept, or slugified if the `slugify_filename` option is enabled.","markdownDescription":"Template to rename an uploaded file with, like `{{slug}}-{{uuid_short}}`. It supports the same tags and transformations as the entry `slug` option, including `{{slug}}`, `{{fields.title}}`, date/time tags and `{{uuid}}`, as well as `{{filename}}` and `{{extension}}` for the original file name and extension. The extension is always appended, so the template shouldn’t include it. The values of the tags are slugified, and the entry tags are filled with the default locale’s content when the entry is saved. A file uploaded to a cloud storage service from an entry is named right away with the content at that time, and a tag with no value yet gets a random one. A file uploaded in the asset library has no entry, so only the other tags make sense there. Cloudinary keeps the name as the original file name of an asset whose public ID is generated. A file renamed by hand before saving keeps that name, and a file replacing an existing asset takes over its name. Default: `undefined`, meaning that the original file name is kept, or slugified if the `slugify_filename` option is enabled."},"transformations":{"$ref":"#/definitions/ImageTransformations","description":"File transformation option map. The key is an original format like `png` or `jpeg`. It can also be `raster_image` that matches any supported raster image format. See the [documentation](https://sveltiacms.app/en/docs/media#image-optimization) for details.","markdownDescription":"File transformation option map. The key is an original format like `png` or `jpeg`. It can also be `raster_image` that matches any supported raster image format. See the [documentation](https://sveltiacms.app/en/docs/media#image-optimization) for details."}},"description":"Configuration for the default media storage.","markdownDescription":"Configuration for the default media storage."},"ImageTransformations":{"type":"object","additionalProperties":false,"properties":{"svg":{"$ref":"#/definitions/VectorImageTransformationOptions","description":"SVG image transformation options.","markdownDescription":"SVG image transformation options."},"raster_image":{"$ref":"#/definitions/RasterImageTransformationOptions","description":"Raster image transformation options that apply to any supported raster image format.","markdownDescription":"Raster image transformation options that apply to any supported raster image format."},"avif":{"$ref":"#/definitions/RasterImageTransformationOptions","description":"AVIF image transformation options.","markdownDescription":"AVIF image transformation options."},"gif":{"$ref":"#/definitions/RasterImageTransformationOptions","description":"GIF image transformation options.","markdownDescription":"GIF image transformation options."},"heic":{"$ref":"#/definitions/RasterImageTransformationOptions","description":"HEIC image transformation options.","markdownDescription":"HEIC image transformation options."},"jpeg":{"$ref":"#/definitions/RasterImageTransformationOptions","description":"JPEG image transformation options.","markdownDescription":"JPEG image transformation options."},"png":{"$ref":"#/definitions/RasterImageTransformationOptions","description":"PNG image transformation options.","markdownDescription":"PNG image transformation options."},"webp":{"$ref":"#/definitions/RasterImageTransformationOptions","description":"WebP image transformation options.","markdownDescription":"WebP image transformation options."}},"description":"Image transformation option map.","markdownDescription":"Image transformation option map."},"VectorImageTransformationOptions":{"type":"object","properties":{"optimize":{"type":"boolean","description":"Whether to optimize the image with [SVGO](https://svgo.dev/), which removes unnecessary data such as comments and editor metadata. Default: `false`.","markdownDescription":"Whether to optimize the image with [SVGO](https://svgo.dev/), which removes unnecessary data such as comments and editor metadata. Default: `false`."}},"additionalProperties":false,"description":"Vector image transformation options.","markdownDescription":"Vector image transformation options."},"RasterImageTransformationOptions":{"type":"object","properties":{"format":{"type":"string","const":"webp","description":"New format. Default: `webp`. If the browser can’t encode WebP, the image may be saved as PNG instead, with the file extension changed accordingly.","markdownDescription":"New format. Default: `webp`. If the browser can’t encode WebP, the image may be saved as PNG instead, with the file extension changed accordingly."},"quality":{"type":"number","description":"Image quality as an integer between 0 and 100. Default: `85`.","markdownDescription":"Image quality as an integer between 0 and 100. Default: `85`."},"width":{"type":"number","description":"Maximum width in pixels. A wider image is scaled down, keeping the aspect ratio, while a smaller one is never scaled up. Default: original width.","markdownDescription":"Maximum width in pixels. A wider image is scaled down, keeping the aspect ratio, while a smaller one is never scaled up. Default: original width."},"height":{"type":"number","description":"Maximum height in pixels. A taller image is scaled down, keeping the aspect ratio, while a smaller one is never scaled up. Default: original height.","markdownDescription":"Maximum height in pixels. A taller image is scaled down, keeping the aspect ratio, while a smaller one is never scaled up. Default: original height."}},"additionalProperties":false,"description":"Raster image transformation options. See the [documentation](https://sveltiacms.app/en/docs/media#image-optimization) for details.","markdownDescription":"Raster image transformation options. See the [documentation](https://sveltiacms.app/en/docs/media#image-optimization) for details."},"NamedLegacyMediaLibrary":{"anyOf":[{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","const":"cloudinary"},"output_filename_only":{"type":"boolean","description":"Whether to output a file name instead of a full URL. Default: `false`.","markdownDescription":"Whether to output a file name instead of a full URL. Default: `false`."},"use_transformations":{"type":"boolean","description":"Whether to include transformation segments in an output URL. Default: `true`.","markdownDescription":"Whether to include transformation segments in an output URL. Default: `true`."},"config":{"type":"object","description":"Options to be passed to the Cloudinary Media Library widget, such as `multiple`, `max_files`, `default_transformations` and `folder`. The `cloud_name` and `api_key` options are required. A field-level `config` is merged over the site-level one, so the credentials only need to be set at the site level. See the [Cloudinary documentation](https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options) for a full list of available options. The `multiple` option is overridden by the field’s own `multiple` option, and `max_files` by the field’s `max` option. Default `max_files`: `20`.","markdownDescription":"Options to be passed to the Cloudinary Media Library widget, such as `multiple`, `max_files`, `default_transformations` and `folder`. The `cloud_name` and `api_key` options are required. A field-level `config` is merged over the site-level one, so the credentials only need to be set at the site level. See the [Cloudinary documentation](https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options) for a full list of available options. The `multiple` option is overridden by the field’s own `multiple` option, and `max_files` by the field’s `max` option. Default `max_files`: `20`."}},"required":["name"]},{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","const":"uploadcare"},"config":{"type":"object","description":"Options to be passed to Uploadcare, such as `multiple`. The `publicKey` option is required. A field-level `config` is merged over the site-level one, so the key can be set at either the site or field level. The `cdnBase` option sets the CDN origin used in output URLs. Default: the origin of the file URL returned by Uploadcare, typically `https://ucarecdn.com`. See the [Uploadcare documentation](https://uploadcare.com/docs/uploads/file-uploader-options/) for a full list of available options. Some options, including `previewStep`, will be ignored in Sveltia CMS because we use an API-based integration instead of Uploadcare’s deprecated jQuery File Uploader.","markdownDescription":"Options to be passed to Uploadcare, such as `multiple`. The `publicKey` option is required. A field-level `config` is merged over the site-level one, so the key can be set at either the site or field level. The `cdnBase` option sets the CDN origin used in output URLs. Default: the origin of the file URL returned by Uploadcare, typically `https://ucarecdn.com`. See the [Uploadcare documentation](https://uploadcare.com/docs/uploads/file-uploader-options/) for a full list of available options. Some options, including `previewStep`, will be ignored in Sveltia CMS because we use an API-based integration instead of Uploadcare’s deprecated jQuery File Uploader."},"settings":{"$ref":"#/definitions/UploadcareMediaLibrarySettings","description":"Integration settings. Field-level settings are merged over the site-level ones.","markdownDescription":"Integration settings. Field-level settings are merged over the site-level ones."}},"required":["name"]},{"type":"object","additionalProperties":false,"properties":{"name":{"$ref":"#/definitions/S3MediaLibraryName"},"label":{"type":"string","description":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. `Garage` for a self-hosted server configured as `aws_s3`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Amazon S3`.","markdownDescription":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. `Garage` for a self-hosted server configured as `aws_s3`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Amazon S3`."},"access_key_id":{"type":"string","description":"AWS access key ID or equivalent (safe to store in config). Required for all services except Bunny Storage, where it defaults to `bucket`, as the storage zone name serves as the access key ID.","markdownDescription":"AWS access key ID or equivalent (safe to store in config). Required for all services except Bunny Storage, where it defaults to `bucket`, as the storage zone name serves as the access key ID."},"bucket":{"type":"string","description":"Bucket name. For Bunny Storage, this is the storage zone name.","markdownDescription":"Bucket name. For Bunny Storage, this is the storage zone name."},"region":{"type":"string","description":"Region, e.g. `us-east-1`. Required for Amazon S3, Backblaze B2, Bunny Storage (two-letter storage region code, e.g. `de`), DigitalOcean Spaces and Scaleway Object Storage. For Supabase Storage, set it to the project’s region; it defaults to `us-east-1`. For Neon Object Storage, it defaults to the region in the `endpoint` hostname. Ignored for Cloudflare R2, which always uses `auto`. With a custom `endpoint`, it’s only used to sign requests and must match the server’s region, e.g. Garage’s `s3_region` (`garage` by default) or MinIO’s `us-east-1`; otherwise every request fails with a signature mismatch.","markdownDescription":"Region, e.g. `us-east-1`. Required for Amazon S3, Backblaze B2, Bunny Storage (two-letter storage region code, e.g. `de`), DigitalOcean Spaces and Scaleway Object Storage. For Supabase Storage, set it to the project’s region; it defaults to `us-east-1`. For Neon Object Storage, it defaults to the region in the `endpoint` hostname. Ignored for Cloudflare R2, which always uses `auto`. With a custom `endpoint`, it’s only used to sign requests and must match the server’s region, e.g. Garage’s `s3_region` (`garage` by default) or MinIO’s `us-east-1`; otherwise every request fails with a signature mismatch."},"account_id":{"type":"string","description":"Cloudflare account ID. Required for Cloudflare R2.","markdownDescription":"Cloudflare account ID. Required for Cloudflare R2."},"jurisdiction":{"type":"string","enum":["default","eu","fedramp"],"description":"Cloudflare R2 jurisdiction. Required for buckets created in the EU or FedRAMP jurisdictions; the global endpoint returns an error for those buckets. Default: `'default'`.","markdownDescription":"Cloudflare R2 jurisdiction. Required for buckets created in the EU or FedRAMP jurisdictions; the global endpoint returns an error for those buckets. Default: `'default'`."},"project_id":{"type":"string","description":"Supabase project reference ID. Required for Supabase Storage.","markdownDescription":"Supabase project reference ID. Required for Supabase Storage."},"endpoint":{"type":"string","description":"Custom endpoint URL for another S3-compatible service, such as a self-hosted Garage or MinIO server, configured as `aws_s3`, e.g. `https://s3.example.com`. Objects are addressed with path-style URLs (`{endpoint}/{bucket}/{key}`), so no wildcard DNS is needed. Required for Neon Object Storage; set it to the branch’s `AWS_ENDPOINT_URL_S3` shown in the Neon Console, e.g. `https://br-cool-darkness-a1b2c3d4.storage.c-1.us-east-2.aws.neon.tech`. Ignored for the other services, whose endpoints are derived from their own options.","markdownDescription":"Custom endpoint URL for another S3-compatible service, such as a self-hosted Garage or MinIO server, configured as `aws_s3`, e.g. `https://s3.example.com`. Objects are addressed with path-style URLs (`{endpoint}/{bucket}/{key}`), so no wildcard DNS is needed. Required for Neon Object Storage; set it to the branch’s `AWS_ENDPOINT_URL_S3` shown in the Neon Console, e.g. `https://br-cool-darkness-a1b2c3d4.storage.c-1.us-east-2.aws.neon.tech`. Ignored for the other services, whose endpoints are derived from their own options."},"prefix":{"type":"string","description":"Path prefix within the bucket, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from.","markdownDescription":"Path prefix within the bucket, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from."},"force_path_style":{"type":"boolean","description":"Whether to use path-style URLs (`https://s3.region.amazonaws.com/bucket/key`) instead of virtual-hosted-style URLs (`https://bucket.s3.region.amazonaws.com/key`) for Amazon S3. Path-style URLs are always used with a custom `endpoint`. Default: `false`.","markdownDescription":"Whether to use path-style URLs (`https://s3.region.amazonaws.com/bucket/key`) instead of virtual-hosted-style URLs (`https://bucket.s3.region.amazonaws.com/key`) for Amazon S3. Path-style URLs are always used with a custom `endpoint`. Default: `false`."},"public_url":{"type":"string","description":"Base URL for public asset access. When set, asset preview and download URLs are constructed as `{public_url}/{key}` instead of the S3 API endpoint URL. Required for Cloudflare R2 (S3 API endpoint always requires authentication); set to the `r2.dev` development URL (e.g. `https://pub-abcd1234.r2.dev`) or a custom domain. Also required for Bunny Storage; set to the hostname of a pull zone connected to the storage zone (e.g. `https://my-zone.b-cdn.net`) or a custom domain. Optional for Amazon S3 and DigitalOcean Spaces — use when serving assets through a CDN or custom domain (e.g. CloudFront or Route 53 for S3, CDN endpoint for Spaces). Backblaze B2, DigitalOcean Spaces, Scaleway Object Storage and Supabase Storage have a default public URL derived from the other options. For Neon Object Storage, the default `{endpoint}/{bucket}/{key}` URL only works with a `public_read` bucket; set `public_url` for a private bucket fronted by a CDN.","markdownDescription":"Base URL for public asset access. When set, asset preview and download URLs are constructed as `{public_url}/{key}` instead of the S3 API endpoint URL. Required for Cloudflare R2 (S3 API endpoint always requires authentication); set to the `r2.dev` development URL (e.g. `https://pub-abcd1234.r2.dev`) or a custom domain. Also required for Bunny Storage; set to the hostname of a pull zone connected to the storage zone (e.g. `https://my-zone.b-cdn.net`) or a custom domain. Optional for Amazon S3 and DigitalOcean Spaces — use when serving assets through a CDN or custom domain (e.g. CloudFront or Route 53 for S3, CDN endpoint for Spaces). Backblaze B2, DigitalOcean Spaces, Scaleway Object Storage and Supabase Storage have a default public URL derived from the other options. For Neon Object Storage, the default `{endpoint}/{bucket}/{key}` URL only works with a `public_read` bucket; set `public_url` for a private bucket fronted by a CDN."}},"required":["bucket","name"]},{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","const":"azure_blob_storage"},"label":{"type":"string","description":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. the name of a server configured with `endpoint`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Azure Blob Storage`.","markdownDescription":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. the name of a server configured with `endpoint`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Azure Blob Storage`."},"account_name":{"type":"string","description":"Storage account name. Required unless `endpoint` is given.","markdownDescription":"Storage account name. Required unless `endpoint` is given."},"container":{"type":"string","description":"Blob container name.","markdownDescription":"Blob container name."},"endpoint":{"type":"string","description":"Custom Blob service endpoint including the account, such as a custom domain or the Azurite emulator URL. Overrides `account_name`.","markdownDescription":"Custom Blob service endpoint including the account, such as a custom domain or the Azurite emulator URL. Overrides `account_name`."},"prefix":{"type":"string","description":"Path prefix within the container, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from.","markdownDescription":"Path prefix within the container, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from."},"public_url":{"type":"string","description":"Base URL for public asset access. When set, asset download URLs are constructed as `{public_url}/{blob_name}` instead of the Blob service URL. Required unless the container allows anonymous read access, because the URL stored in an entry can’t contain the SAS token, which expires. Set it to an Azure CDN or Front Door endpoint, or a custom domain.","markdownDescription":"Base URL for public asset access. When set, asset download URLs are constructed as `{public_url}/{blob_name}` instead of the Blob service URL. Required unless the container allows anonymous read access, because the URL stored in an entry can’t contain the SAS token, which expires. Set it to an Azure CDN or Front Door endpoint, or a custom domain."}},"required":["container","name"]},{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","const":"stock_assets"},"providers":{"type":"array","items":{"$ref":"#/definitions/StockAssetProviderName"},"description":"Enabled stock photo/video providers. The stock photo/video section in the asset browser is hidden if an empty array is given. Default: all supported providers.","markdownDescription":"Enabled stock photo/video providers. The stock photo/video section in the asset browser is hidden if an empty array is given. Default: all supported providers."}},"required":["name"]}],"description":"Options of a named media storage in the legacy `media_library` option, identified by its `name`, so the options are checked against those of that storage.","markdownDescription":"Options of a named media storage in the legacy `media_library` option, identified by its `name`, so the options are checked against those of that storage."},"UploadcareMediaLibrarySettings":{"type":"object","properties":{"autoFilename":{"type":"boolean","description":"Whether to append a file name to an output URL. Default: `false`.","markdownDescription":"Whether to append a file name to an output URL. Default: `false`."},"defaultOperations":{"type":"string","description":"[Transformation operations](https://uploadcare.com/docs/transformations/image/) to be included in the output URL of an image, starting with a slash, e.g. `/resize/800x600/`. Default: none.","markdownDescription":"[Transformation operations](https://uploadcare.com/docs/transformations/image/) to be included in the output URL of an image, starting with a slash, e.g. `/resize/800x600/`. Default: none."}},"additionalProperties":false,"description":"Settings for the [Uploadcare media storage](https://sveltiacms.app/en/docs/media/uploadcare).","markdownDescription":"Settings for the [Uploadcare media storage](https://sveltiacms.app/en/docs/media/uploadcare)."},"S3MediaLibraryName":{"type":"string","enum":["aws_s3","backblaze_b2","bunny_storage","cloudflare_r2","digitalocean_spaces","neon_object_storage","scaleway_object_storage","supabase_storage"],"description":"Name of a cloud media storage service with an S3-compatible API.","markdownDescription":"Name of a cloud media storage service with an S3-compatible API."},"StockAssetProviderName":{"type":"string","enum":["pexels","picsum","pixabay","unsplash"],"description":"Name of supported stock photo/video provider.","markdownDescription":"Name of supported stock photo/video provider."},"MediaLibraries":{"type":"object","properties":{"all":{"$ref":"#/definitions/SharedMediaLibraryOptions","description":"Default options that apply to the default media storage and to files uploaded to the cloud storage services, except for Cloudinary, which uses its own widget. For the default media storage, these options can be overridden by the options in `default.config` at the same level. Field-level `all` options take precedence over global `default.config` options.","markdownDescription":"Default options that apply to the default media storage and to files uploaded to the cloud storage services, except for Cloudinary, which uses its own widget. For the default media storage, these options can be overridden by the options in `default.config` at the same level. Field-level `all` options take precedence over global `default.config` options."},"default":{"anyOf":[{"type":"boolean","const":false},{"$ref":"#/definitions/DefaultMediaLibrary"}],"description":"Options for the default media storage. Set to `false` to explicitly disable the default (internal) storage.","markdownDescription":"Options for the default media storage. Set to `false` to explicitly disable the default (internal) storage."},"cloudinary":{"anyOf":[{"type":"boolean","const":false},{"$ref":"#/definitions/CloudinaryMediaLibrary"}],"description":"Options for the Cloudinary media storage. Set to `false` to explicitly disable.","markdownDescription":"Options for the Cloudinary media storage. Set to `false` to explicitly disable."},"uploadcare":{"anyOf":[{"type":"boolean","const":false},{"$ref":"#/definitions/UploadcareMediaLibrary"}],"description":"Options for the Uploadcare media storage. Set to `false` to explicitly disable.","markdownDescription":"Options for the Uploadcare media storage. Set to `false` to explicitly disable."},"aws_s3":{"anyOf":[{"type":"boolean","const":false},{"$ref":"#/definitions/S3MediaLibrary"}],"description":"Options for the Amazon S3 media storage. Set to `false` to explicitly disable.","markdownDescription":"Options for the Amazon S3 media storage. Set to `false` to explicitly disable."},"azure_blob_storage":{"anyOf":[{"type":"boolean","const":false},{"$ref":"#/definitions/AzureMediaLibrary"}],"description":"Options for the Azure Blob Storage media storage. Set to `false` to explicitly disable.","markdownDescription":"Options for the Azure Blob Storage media storage. Set to `false` to explicitly disable."},"cloudflare_r2":{"anyOf":[{"type":"boolean","const":false},{"$ref":"#/definitions/S3MediaLibrary"}],"description":"Options for the Cloudflare R2 media storage. Set to `false` to explicitly disable.","markdownDescription":"Options for the Cloudflare R2 media storage. Set to `false` to explicitly disable."},"digitalocean_spaces":{"anyOf":[{"type":"boolean","const":false},{"$ref":"#/definitions/S3MediaLibrary"}],"description":"Options for the DigitalOcean Spaces media storage. Set to `false` to explicitly disable.","markdownDescription":"Options for the DigitalOcean Spaces media storage. Set to `false` to explicitly disable."},"backblaze_b2":{"anyOf":[{"type":"boolean","const":false},{"$ref":"#/definitions/S3MediaLibrary"}],"description":"Options for the Backblaze B2 media storage. Set to `false` to explicitly disable.","markdownDescription":"Options for the Backblaze B2 media storage. Set to `false` to explicitly disable."},"bunny_storage":{"anyOf":[{"type":"boolean","const":false},{"$ref":"#/definitions/S3MediaLibrary"}],"description":"Options for the Bunny Storage media storage. Set to `false` to explicitly disable.","markdownDescription":"Options for the Bunny Storage media storage. Set to `false` to explicitly disable."},"neon_object_storage":{"anyOf":[{"type":"boolean","const":false},{"$ref":"#/definitions/S3MediaLibrary"}],"description":"Options for the Neon Object Storage media storage. Set to `false` to explicitly disable.","markdownDescription":"Options for the Neon Object Storage media storage. Set to `false` to explicitly disable."},"scaleway_object_storage":{"anyOf":[{"type":"boolean","const":false},{"$ref":"#/definitions/S3MediaLibrary"}],"description":"Options for the Scaleway Object Storage media storage. Set to `false` to explicitly disable.","markdownDescription":"Options for the Scaleway Object Storage media storage. Set to `false` to explicitly disable."},"supabase_storage":{"anyOf":[{"type":"boolean","const":false},{"$ref":"#/definitions/S3MediaLibrary"}],"description":"Options for the Supabase Storage media storage. Set to `false` to explicitly disable.","markdownDescription":"Options for the Supabase Storage media storage. Set to `false` to explicitly disable."},"stock_assets":{"anyOf":[{"type":"boolean","const":false},{"$ref":"#/definitions/StockMediaLibrary"}],"description":"Options for the unified stock photo/video media library. Set to `false` to explicitly disable.","markdownDescription":"Options for the unified stock photo/video media library. Set to `false` to explicitly disable."}},"additionalProperties":false,"description":"Unified media storage option that supports multiple storage providers. See the [documentation](https://sveltiacms.app/en/docs/media#configuration) for details.","markdownDescription":"Unified media storage option that supports multiple storage providers. See the [documentation](https://sveltiacms.app/en/docs/media#configuration) for details."},"SharedMediaLibraryOptions":{"type":"object","properties":{"max_file_size":{"type":"number","description":"Maximum file size in bytes that can be accepted for uploading. Default: `Infinity`, meaning no limit.","markdownDescription":"Maximum file size in bytes that can be accepted for uploading. Default: `Infinity`, meaning no limit."},"slugify_filename":{"type":"boolean","description":"Whether to rename an original asset file when saving it, according to the global `slug` option. Default: `false`, meaning that the original file name is kept by default, while Netlify/Decap CMS forces to slugify file names. If set to `true`, for example, `Hello World (1).webp` would be `hello-world-1.webp`.","markdownDescription":"Whether to rename an original asset file when saving it, according to the global `slug` option. Default: `false`, meaning that the original file name is kept by default, while Netlify/Decap CMS forces to slugify file names. If set to `true`, for example, `Hello World (1).webp` would be `hello-world-1.webp`."},"filename_template":{"type":"string","description":"Template to rename an uploaded file with, like `{{slug}}-{{uuid_short}}`. It supports the same tags and transformations as the entry `slug` option, including `{{slug}}`, `{{fields.title}}`, date/time tags and `{{uuid}}`, as well as `{{filename}}` and `{{extension}}` for the original file name and extension. The extension is always appended, so the template shouldn’t include it. The values of the tags are slugified, and the entry tags are filled with the default locale’s content when the entry is saved. A file uploaded to a cloud storage service from an entry is named right away with the content at that time, and a tag with no value yet gets a random one. A file uploaded in the asset library has no entry, so only the other tags make sense there. Cloudinary keeps the name as the original file name of an asset whose public ID is generated. A file renamed by hand before saving keeps that name, and a file replacing an existing asset takes over its name. Default: `undefined`, meaning that the original file name is kept, or slugified if the `slugify_filename` option is enabled.","markdownDescription":"Template to rename an uploaded file with, like `{{slug}}-{{uuid_short}}`. It supports the same tags and transformations as the entry `slug` option, including `{{slug}}`, `{{fields.title}}`, date/time tags and `{{uuid}}`, as well as `{{filename}}` and `{{extension}}` for the original file name and extension. The extension is always appended, so the template shouldn’t include it. The values of the tags are slugified, and the entry tags are filled with the default locale’s content when the entry is saved. A file uploaded to a cloud storage service from an entry is named right away with the content at that time, and a tag with no value yet gets a random one. A file uploaded in the asset library has no entry, so only the other tags make sense there. Cloudinary keeps the name as the original file name of an asset whose public ID is generated. A file renamed by hand before saving keeps that name, and a file replacing an existing asset takes over its name. Default: `undefined`, meaning that the original file name is kept, or slugified if the `slugify_filename` option is enabled."},"transformations":{"$ref":"#/definitions/ImageTransformations","description":"File transformation option map. The key is an original format like `png` or `jpeg`. It can also be `raster_image` that matches any supported raster image format. See the [documentation](https://sveltiacms.app/en/docs/media#image-optimization) for details.","markdownDescription":"File transformation option map. The key is an original format like `png` or `jpeg`. It can also be `raster_image` that matches any supported raster image format. See the [documentation](https://sveltiacms.app/en/docs/media#image-optimization) for details."}},"additionalProperties":false,"description":"Options shared by the media libraries that accept file uploads.","markdownDescription":"Options shared by the media libraries that accept file uploads."},"DefaultMediaLibrary":{"type":"object","properties":{"config":{"$ref":"#/definitions/DefaultMediaLibraryConfig","description":"Configuration for the default media storage.","markdownDescription":"Configuration for the default media storage."}},"additionalProperties":false,"description":"Options for the default media storage.","markdownDescription":"Options for the default media storage."},"CloudinaryMediaLibrary":{"type":"object","properties":{"output_filename_only":{"type":"boolean","description":"Whether to output a file name instead of a full URL. Default: `false`.","markdownDescription":"Whether to output a file name instead of a full URL. Default: `false`."},"use_transformations":{"type":"boolean","description":"Whether to include transformation segments in an output URL. Default: `true`.","markdownDescription":"Whether to include transformation segments in an output URL. Default: `true`."},"config":{"type":"object","description":"Options to be passed to the Cloudinary Media Library widget, such as `multiple`, `max_files`, `default_transformations` and `folder`. The `cloud_name` and `api_key` options are required. A field-level `config` is merged over the site-level one, so the credentials only need to be set at the site level. See the [Cloudinary documentation](https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options) for a full list of available options. The `multiple` option is overridden by the field’s own `multiple` option, and `max_files` by the field’s `max` option. Default `max_files`: `20`.","markdownDescription":"Options to be passed to the Cloudinary Media Library widget, such as `multiple`, `max_files`, `default_transformations` and `folder`. The `cloud_name` and `api_key` options are required. A field-level `config` is merged over the site-level one, so the credentials only need to be set at the site level. See the [Cloudinary documentation](https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options) for a full list of available options. The `multiple` option is overridden by the field’s own `multiple` option, and `max_files` by the field’s `max` option. Default `max_files`: `20`."}},"additionalProperties":false,"description":"Options for the [Cloudinary media storage](https://sveltiacms.app/en/docs/media/cloudinary).","markdownDescription":"Options for the [Cloudinary media storage](https://sveltiacms.app/en/docs/media/cloudinary)."},"UploadcareMediaLibrary":{"type":"object","properties":{"config":{"type":"object","description":"Options to be passed to Uploadcare, such as `multiple`. The `publicKey` option is required. A field-level `config` is merged over the site-level one, so the key can be set at either the site or field level. The `cdnBase` option sets the CDN origin used in output URLs. Default: the origin of the file URL returned by Uploadcare, typically `https://ucarecdn.com`. See the [Uploadcare documentation](https://uploadcare.com/docs/uploads/file-uploader-options/) for a full list of available options. Some options, including `previewStep`, will be ignored in Sveltia CMS because we use an API-based integration instead of Uploadcare’s deprecated jQuery File Uploader.","markdownDescription":"Options to be passed to Uploadcare, such as `multiple`. The `publicKey` option is required. A field-level `config` is merged over the site-level one, so the key can be set at either the site or field level. The `cdnBase` option sets the CDN origin used in output URLs. Default: the origin of the file URL returned by Uploadcare, typically `https://ucarecdn.com`. See the [Uploadcare documentation](https://uploadcare.com/docs/uploads/file-uploader-options/) for a full list of available options. Some options, including `previewStep`, will be ignored in Sveltia CMS because we use an API-based integration instead of Uploadcare’s deprecated jQuery File Uploader."},"settings":{"$ref":"#/definitions/UploadcareMediaLibrarySettings","description":"Integration settings. Field-level settings are merged over the site-level ones.","markdownDescription":"Integration settings. Field-level settings are merged over the site-level ones."}},"additionalProperties":false,"description":"Options for the [Uploadcare media storage](https://sveltiacms.app/en/docs/media/uploadcare).","markdownDescription":"Options for the [Uploadcare media storage](https://sveltiacms.app/en/docs/media/uploadcare)."},"S3MediaLibrary":{"type":"object","properties":{"label":{"type":"string","description":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. `Garage` for a self-hosted server configured as `aws_s3`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Amazon S3`.","markdownDescription":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. `Garage` for a self-hosted server configured as `aws_s3`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Amazon S3`."},"access_key_id":{"type":"string","description":"AWS access key ID or equivalent (safe to store in config). Required for all services except Bunny Storage, where it defaults to `bucket`, as the storage zone name serves as the access key ID.","markdownDescription":"AWS access key ID or equivalent (safe to store in config). Required for all services except Bunny Storage, where it defaults to `bucket`, as the storage zone name serves as the access key ID."},"bucket":{"type":"string","description":"Bucket name. For Bunny Storage, this is the storage zone name.","markdownDescription":"Bucket name. For Bunny Storage, this is the storage zone name."},"region":{"type":"string","description":"Region, e.g. `us-east-1`. Required for Amazon S3, Backblaze B2, Bunny Storage (two-letter storage region code, e.g. `de`), DigitalOcean Spaces and Scaleway Object Storage. For Supabase Storage, set it to the project’s region; it defaults to `us-east-1`. For Neon Object Storage, it defaults to the region in the `endpoint` hostname. Ignored for Cloudflare R2, which always uses `auto`. With a custom `endpoint`, it’s only used to sign requests and must match the server’s region, e.g. Garage’s `s3_region` (`garage` by default) or MinIO’s `us-east-1`; otherwise every request fails with a signature mismatch.","markdownDescription":"Region, e.g. `us-east-1`. Required for Amazon S3, Backblaze B2, Bunny Storage (two-letter storage region code, e.g. `de`), DigitalOcean Spaces and Scaleway Object Storage. For Supabase Storage, set it to the project’s region; it defaults to `us-east-1`. For Neon Object Storage, it defaults to the region in the `endpoint` hostname. Ignored for Cloudflare R2, which always uses `auto`. With a custom `endpoint`, it’s only used to sign requests and must match the server’s region, e.g. Garage’s `s3_region` (`garage` by default) or MinIO’s `us-east-1`; otherwise every request fails with a signature mismatch."},"account_id":{"type":"string","description":"Cloudflare account ID. Required for Cloudflare R2.","markdownDescription":"Cloudflare account ID. Required for Cloudflare R2."},"jurisdiction":{"type":"string","enum":["default","eu","fedramp"],"description":"Cloudflare R2 jurisdiction. Required for buckets created in the EU or FedRAMP jurisdictions; the global endpoint returns an error for those buckets. Default: `'default'`.","markdownDescription":"Cloudflare R2 jurisdiction. Required for buckets created in the EU or FedRAMP jurisdictions; the global endpoint returns an error for those buckets. Default: `'default'`."},"project_id":{"type":"string","description":"Supabase project reference ID. Required for Supabase Storage.","markdownDescription":"Supabase project reference ID. Required for Supabase Storage."},"endpoint":{"type":"string","description":"Custom endpoint URL for another S3-compatible service, such as a self-hosted Garage or MinIO server, configured as `aws_s3`, e.g. `https://s3.example.com`. Objects are addressed with path-style URLs (`{endpoint}/{bucket}/{key}`), so no wildcard DNS is needed. Required for Neon Object Storage; set it to the branch’s `AWS_ENDPOINT_URL_S3` shown in the Neon Console, e.g. `https://br-cool-darkness-a1b2c3d4.storage.c-1.us-east-2.aws.neon.tech`. Ignored for the other services, whose endpoints are derived from their own options.","markdownDescription":"Custom endpoint URL for another S3-compatible service, such as a self-hosted Garage or MinIO server, configured as `aws_s3`, e.g. `https://s3.example.com`. Objects are addressed with path-style URLs (`{endpoint}/{bucket}/{key}`), so no wildcard DNS is needed. Required for Neon Object Storage; set it to the branch’s `AWS_ENDPOINT_URL_S3` shown in the Neon Console, e.g. `https://br-cool-darkness-a1b2c3d4.storage.c-1.us-east-2.aws.neon.tech`. Ignored for the other services, whose endpoints are derived from their own options."},"prefix":{"type":"string","description":"Path prefix within the bucket, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from.","markdownDescription":"Path prefix within the bucket, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from."},"force_path_style":{"type":"boolean","description":"Whether to use path-style URLs (`https://s3.region.amazonaws.com/bucket/key`) instead of virtual-hosted-style URLs (`https://bucket.s3.region.amazonaws.com/key`) for Amazon S3. Path-style URLs are always used with a custom `endpoint`. Default: `false`.","markdownDescription":"Whether to use path-style URLs (`https://s3.region.amazonaws.com/bucket/key`) instead of virtual-hosted-style URLs (`https://bucket.s3.region.amazonaws.com/key`) for Amazon S3. Path-style URLs are always used with a custom `endpoint`. Default: `false`."},"public_url":{"type":"string","description":"Base URL for public asset access. When set, asset preview and download URLs are constructed as `{public_url}/{key}` instead of the S3 API endpoint URL. Required for Cloudflare R2 (S3 API endpoint always requires authentication); set to the `r2.dev` development URL (e.g. `https://pub-abcd1234.r2.dev`) or a custom domain. Also required for Bunny Storage; set to the hostname of a pull zone connected to the storage zone (e.g. `https://my-zone.b-cdn.net`) or a custom domain. Optional for Amazon S3 and DigitalOcean Spaces — use when serving assets through a CDN or custom domain (e.g. CloudFront or Route 53 for S3, CDN endpoint for Spaces). Backblaze B2, DigitalOcean Spaces, Scaleway Object Storage and Supabase Storage have a default public URL derived from the other options. For Neon Object Storage, the default `{endpoint}/{bucket}/{key}` URL only works with a `public_read` bucket; set `public_url` for a private bucket fronted by a CDN.","markdownDescription":"Base URL for public asset access. When set, asset preview and download URLs are constructed as `{public_url}/{key}` instead of the S3 API endpoint URL. Required for Cloudflare R2 (S3 API endpoint always requires authentication); set to the `r2.dev` development URL (e.g. `https://pub-abcd1234.r2.dev`) or a custom domain. Also required for Bunny Storage; set to the hostname of a pull zone connected to the storage zone (e.g. `https://my-zone.b-cdn.net`) or a custom domain. Optional for Amazon S3 and DigitalOcean Spaces — use when serving assets through a CDN or custom domain (e.g. CloudFront or Route 53 for S3, CDN endpoint for Spaces). Backblaze B2, DigitalOcean Spaces, Scaleway Object Storage and Supabase Storage have a default public URL derived from the other options. For Neon Object Storage, the default `{endpoint}/{bucket}/{key}` URL only works with a `public_read` bucket; set `public_url` for a private bucket fronted by a CDN."}},"required":["bucket"],"additionalProperties":false,"description":"Options for S3-compatible media libraries.","markdownDescription":"Options for S3-compatible media libraries."},"AzureMediaLibrary":{"type":"object","properties":{"label":{"type":"string","description":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. the name of a server configured with `endpoint`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Azure Blob Storage`.","markdownDescription":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. the name of a server configured with `endpoint`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Azure Blob Storage`."},"account_name":{"type":"string","description":"Storage account name. Required unless `endpoint` is given.","markdownDescription":"Storage account name. Required unless `endpoint` is given."},"container":{"type":"string","description":"Blob container name.","markdownDescription":"Blob container name."},"endpoint":{"type":"string","description":"Custom Blob service endpoint including the account, such as a custom domain or the Azurite emulator URL. Overrides `account_name`.","markdownDescription":"Custom Blob service endpoint including the account, such as a custom domain or the Azurite emulator URL. Overrides `account_name`."},"prefix":{"type":"string","description":"Path prefix within the container, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from.","markdownDescription":"Path prefix within the container, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from."},"public_url":{"type":"string","description":"Base URL for public asset access. When set, asset download URLs are constructed as `{public_url}/{blob_name}` instead of the Blob service URL. Required unless the container allows anonymous read access, because the URL stored in an entry can’t contain the SAS token, which expires. Set it to an Azure CDN or Front Door endpoint, or a custom domain.","markdownDescription":"Base URL for public asset access. When set, asset download URLs are constructed as `{public_url}/{blob_name}` instead of the Blob service URL. Required unless the container allows anonymous read access, because the URL stored in an entry can’t contain the SAS token, which expires. Set it to an Azure CDN or Front Door endpoint, or a custom domain."}},"required":["container"],"additionalProperties":false,"description":"Options for the Azure Blob Storage media library. Unlike the S3-compatible services, which are authorized with an access key pair, the Blob service is accessed with a [shared access signature (SAS)](https://learn.microsoft.com/en-us/azure/storage/common/storage-sas-overview) token that each user enters in the CMS’s Settings dialog, so no credential belongs in this configuration. The token needs the Read, Write, Create and List permissions on the container, and the storage account needs a [CORS rule](https://learn.microsoft.com/en-us/rest/api/storageservices/cross-origin-resource-sharing--cors--support-for-the-azure-storage-services) that allows the `GET`, `PUT` and `OPTIONS` methods along with the `x-ms-blob-type` and `content-type` headers from the CMS’s origin.","markdownDescription":"Options for the Azure Blob Storage media library. Unlike the S3-compatible services, which are authorized with an access key pair, the Blob service is accessed with a [shared access signature (SAS)](https://learn.microsoft.com/en-us/azure/storage/common/storage-sas-overview) token that each user enters in the CMS’s Settings dialog, so no credential belongs in this configuration. The token needs the Read, Write, Create and List permissions on the container, and the storage account needs a [CORS rule](https://learn.microsoft.com/en-us/rest/api/storageservices/cross-origin-resource-sharing--cors--support-for-the-azure-storage-services) that allows the `GET`, `PUT` and `OPTIONS` methods along with the `x-ms-blob-type` and `content-type` headers from the CMS’s origin."},"StockMediaLibrary":{"type":"object","properties":{"providers":{"type":"array","items":{"$ref":"#/definitions/StockAssetProviderName"},"description":"Enabled stock photo/video providers. The stock photo/video section in the asset browser is hidden if an empty array is given. Default: all supported providers.","markdownDescription":"Enabled stock photo/video providers. The stock photo/video section in the asset browser is hidden if an empty array is given. Default: all supported providers."}},"additionalProperties":false,"description":"Options for the unified stock photo/video providers.","markdownDescription":"Options for the unified stock photo/video providers."},"LogoOptions":{"type":"object","properties":{"src":{"type":"string","description":"Absolute URL or absolute path to the site logo that will be displayed on the entrance page and the browser’s tab (favicon). A square image works best. Falls back to the deprecated `logo_url` option.","markdownDescription":"Absolute URL or absolute path to the site logo that will be displayed on the entrance page and the browser’s tab (favicon). A square image works best. Falls back to the deprecated `logo_url` option."},"show_in_header":{"type":"boolean","description":"Whether to show the logo in the header. It has no effect unless a custom logo is set with `src`. Default: `true`.","markdownDescription":"Whether to show the logo in the header. It has no effect unless a custom logo is set with `src`. Default: `true`."}},"additionalProperties":false,"description":"Custom logo options.","markdownDescription":"Custom logo options."},"IssueReports":{"type":"object","properties":{"url":{"type":"string","description":"URL of the issue reporting endpoint.","markdownDescription":"URL of the issue reporting endpoint."}},"additionalProperties":false,"description":"Issue reporting options. Accepted for compatibility with Decap CMS but ignored: the Report Issue link in the Help menu always points to the Sveltia CMS issue tracker.","markdownDescription":"Issue reporting options. Accepted for compatibility with Decap CMS but ignored: the Report Issue link in the Help menu always points to the Sveltia CMS issue tracker."},"SlugOptions":{"type":"object","properties":{"encoding":{"type":"string","enum":["unicode","ascii"],"description":"Encoding option. Default: `unicode`.","markdownDescription":"Encoding option. Default: `unicode`."},"clean_accents":{"type":"boolean","description":"Whether to remove accents. Default: `false`.","markdownDescription":"Whether to remove accents. Default: `false`."},"sanitize_replacement":{"type":"string","description":"String to replace sanitized characters. Default: `-`.","markdownDescription":"String to replace sanitized characters. Default: `-`."},"maxlength":{"type":"number","description":"The maximum number of characters allowed for an entry slug. Default: `Infinity`.","markdownDescription":"The maximum number of characters allowed for an entry slug. Default: `Infinity`."},"trim":{"type":"boolean","description":"Whether to trim leading and trailing replacement characters. Default: `true`.","markdownDescription":"Whether to trim leading and trailing replacement characters. Default: `true`."},"lowercase":{"type":"boolean","description":"Whether to convert the slug to lowercase. Default: `true`.","markdownDescription":"Whether to convert the slug to lowercase. Default: `true`."},"timezone":{"type":"string","enum":["local","utc"],"description":"Timezone to be used for date-based slug template tags, such as `{{day}}` and `{{hour}}`. Default is `utc` for backward compatibility with Netlify/Decap CMS. Use `local` to generate slugs based on the local time of the user’s browser, which is more intuitive in most cases.","markdownDescription":"Timezone to be used for date-based slug template tags, such as `{{day}}` and `{{hour}}`. Default is `utc` for backward compatibility with Netlify/Decap CMS. Use `local` to generate slugs based on the local time of the user’s browser, which is more intuitive in most cases."}},"additionalProperties":false,"description":"Entry slug options.","markdownDescription":"Entry slug options."},"Collection":{"anyOf":[{"$ref":"#/definitions/EntryCollection"},{"$ref":"#/definitions/FileCollection"}],"description":"Collection definition.","markdownDescription":"Collection definition."},"EntryCollection":{"type":"object","additionalProperties":false,"properties":{"folder":{"type":"string","description":"Base folder path relative to the project root. It can contain slashes to create subfolders. With i18n enabled, it can also contain the `{{locale}}` placeholder as a whole folder name, like `content/{{locale}}/posts`, to say where each locale’s folder goes. The placeholder takes precedence over the `structure` i18n option: the collection then has one folder per locale wherever the placeholder is, and the `omit_default_locale_from_file_path` option leaves the default locale’s folder out. See the [documentation](https://sveltiacms.app/en/docs/i18n/structures) for details. Either this or the `file` option is required.","markdownDescription":"Base folder path relative to the project root. It can contain slashes to create subfolders. With i18n enabled, it can also contain the `{{locale}}` placeholder as a whole folder name, like `content/{{locale}}/posts`, to say where each locale’s folder goes. The placeholder takes precedence over the `structure` i18n option: the collection then has one folder per locale wherever the placeholder is, and the `omit_default_locale_from_file_path` option leaves the default locale’s folder out. See the [documentation](https://sveltiacms.app/en/docs/i18n/structures) for details. Either this or the `file` option is required."},"file":{"type":"string","description":"Path to a JSON file, relative to the project root, that stores all the entries of the collection as an array of objects, instead of one file per entry in a `folder`. Each object in the array is an entry, and the entries can be reordered with a drag-and-drop UI, which changes the order of the objects in the array. Saving an entry rewrites the whole file. Options that assume one file per entry, like `path`, `slug`, `extension`, `nested` and `index_file`, are not available, and Editorial Workflow is not supported, including a Relation field referring to a collection with Editorial Workflow. With i18n enabled, each object holds all the translations with the `single_file` structure, or the `single_file_default_root` structure if it’s configured; the `{{locale}}` placeholder is not supported. The slug of an entry is its position in the array, so a Relation field referring to the collection must store a field value with the `value_field` option, and the `preview_path` and `thumbnail` options can’t contain the `{{slug}}` tag. Either this or the `folder` option is required.","markdownDescription":"Path to a JSON file, relative to the project root, that stores all the entries of the collection as an array of objects, instead of one file per entry in a `folder`. Each object in the array is an entry, and the entries can be reordered with a drag-and-drop UI, which changes the order of the objects in the array. Saving an entry rewrites the whole file. Options that assume one file per entry, like `path`, `slug`, `extension`, `nested` and `index_file`, are not available, and Editorial Workflow is not supported, including a Relation field referring to a collection with Editorial Workflow. With i18n enabled, each object holds all the translations with the `single_file` structure, or the `single_file_default_root` structure if it’s configured; the `{{locale}}` placeholder is not supported. The slug of an entry is its position in the array, so a Relation field referring to the collection must store a field value with the `value_field` option, and the `preview_path` and `thumbnail` options can’t contain the `{{slug}}` tag. Either this or the `folder` option is required."},"fields":{"type":"array","items":{"$ref":"#/definitions/Field"},"description":"Set of fields to be included in entries.","markdownDescription":"Set of fields to be included in entries."},"path":{"type":"string","description":"File path relative to `folder`, without a file extension. It can contain slashes to create subfolders. Default: `{{slug}}`. To use Hugo’s page bundle, set this to `{{slug}}/index`.","markdownDescription":"File path relative to `folder`, without a file extension. It can contain slashes to create subfolders. Default: `{{slug}}`. To use Hugo’s page bundle, set this to `{{slug}}/index`."},"filter":{"$ref":"#/definitions/CollectionFilter","description":"Entry filter.","markdownDescription":"Entry filter."},"create":{"type":"boolean","description":"Whether to allow users to create entries in the collection. Default: `true`. Note that the default value is `false` in Netlify/Decap CMS, whereas Sveltia CMS sets it to `true` to provide a better out-of-the-box experience.","markdownDescription":"Whether to allow users to create entries in the collection. Default: `true`. Note that the default value is `false` in Netlify/Decap CMS, whereas Sveltia CMS sets it to `true` to provide a better out-of-the-box experience."},"delete":{"type":"boolean","description":"Whether to allow users to delete entries in the collection. Default: `true`.","markdownDescription":"Whether to allow users to delete entries in the collection. Default: `true`."},"duplicate":{"type":"boolean","description":"Whether to allow users to duplicate entries in the collection. Default: `true`.","markdownDescription":"Whether to allow users to duplicate entries in the collection. Default: `true`."},"reorder":{"anyOf":[{"type":"boolean"},{"$ref":"#/definitions/ReorderOptions"}],"description":"Whether to allow users to reorder entries in the collection. Default: `false`. If set to `true`, entries can be reordered with a drag-and-drop UI, and the numeric order starting from 1 is saved in an automatically generated `order` field. An object can be provided instead to customize the behavior, e.g. `{ key: 'weight', group: 'categories' }`.","markdownDescription":"Whether to allow users to reorder entries in the collection. Default: `false`. If set to `true`, entries can be reordered with a drag-and-drop UI, and the numeric order starting from 1 is saved in an automatically generated `order` field. An object can be provided instead to customize the behavior, e.g. `{ key: 'weight', group: 'categories' }`."},"table_columns":{"type":"array","items":{"anyOf":[{"type":"string"},{"$ref":"#/definitions/TableColumn"}]},"description":"Columns of the entry list’s table view, each given as a field name or an object with a custom header label, e.g. `[title, date, { field: author.name, label: Author }]`. A field name can also be one of the special keys: `_summary` for the entry summary, `slug`, `commit_author` and `commit_date`, or a template like the `summary` option’s, e.g. `{{locales}}`. The table view is only offered, as the default view of the entry list, if at least one column is given. If none of them can be shown, the entry summary and the sortable fields are shown instead.","markdownDescription":"Columns of the entry list’s table view, each given as a field name or an object with a custom header label, e.g. `[title, date, { field: author.name, label: Author }]`. A field name can also be one of the special keys: `_summary` for the entry summary, `slug`, `commit_author` and `commit_date`, or a template like the `summary` option’s, e.g. `{{locales}}`. The table view is only offered, as the default view of the entry list, if at least one column is given. If none of them can be shown, the entry summary and the sortable fields are shown instead."},"summary_fields":{"type":"array","items":{"type":"string"},"description":"An alias of the `table_columns` option for Static CMS compatibility, where `summary` stands for the entry summary. Ignored if `table_columns` is defined.","markdownDescription":"An alias of the `table_columns` option for Static CMS compatibility, where `summary` stands for the entry summary. Ignored if `table_columns` is defined."},"bulk_edit":{"anyOf":[{"type":"boolean"},{"$ref":"#/definitions/BulkEditOptions"}],"description":"Whether to allow users to edit the simple top-level fields of many entries at once in a spreadsheet-like table, saving the changes in a single commit. Default: `false`. Like reordering, it writes to the configured branch directly, even if the Editorial Workflow is enabled. An object can be provided instead to choose the fields, e.g. `{ fields: [title, draft] }`.","markdownDescription":"Whether to allow users to edit the simple top-level fields of many entries at once in a spreadsheet-like table, saving the changes in a single commit. Default: `false`. Like reordering, it writes to the configured branch directly, even if the Editorial Workflow is enabled. An object can be provided instead to choose the fields, e.g. `{ fields: [title, draft] }`."},"extension":{"type":"string","description":"File extension. Default: derived from the `format` option value, e.g. `yml` for `yaml` and `txt` for `raw`, or `md` otherwise.","markdownDescription":"File extension. Default: derived from the `format` option value, e.g. `yml` for `yaml` and `txt` for `raw`, or `md` otherwise."},"identifier_field":{"type":"string","description":"Field name to be used as the title and slug of an entry. Default: `title`.","markdownDescription":"Field name to be used as the title and slug of an entry. Default: `title`."},"slug":{"anyOf":[{"type":"string"},{"$ref":"#/definitions/CollectionSlugOptions"}],"description":"Item slug template, or an object with the template and the options to let users edit the slug. Default: `identifier_field` option value. The template cannot contain slashes; to organize entries in subfolders, use the `path` option instead. It’s possible to [localize the slug](https://sveltiacms.app/en/docs/i18n/slugs#localizing-entry-slugs) or [use a random ID](https://sveltiacms.app/en/docs/collections/entries/slugs#slug-template-tags). The `{{fields._slug}}` and `{{fields._slug | localize}}` tags, which show a slug editor in new entry drafts, are deprecated; use the object form with the `editable` and `i18n` options instead.","markdownDescription":"Item slug template, or an object with the template and the options to let users edit the slug. Default: `identifier_field` option value. The template cannot contain slashes; to organize entries in subfolders, use the `path` option instead. It’s possible to [localize the slug](https://sveltiacms.app/en/docs/i18n/slugs#localizing-entry-slugs) or [use a random ID](https://sveltiacms.app/en/docs/collections/entries/slugs#slug-template-tags). The `{{fields._slug}}` and `{{fields._slug | localize}}` tags, which show a slug editor in new entry drafts, are deprecated; use the object form with the `editable` and `i18n` options instead."},"slug_length":{"type":"number","description":"The maximum number of characters allowed for an entry slug. Default: `Infinity`.","markdownDescription":"The maximum number of characters allowed for an entry slug. Default: `Infinity`.","deprecated":true,"deprecationMessage":"Use the global `slug.maxlength` option instead."},"summary":{"type":"string","description":"Entry summary template displayed in the entry list, e.g. `{{title}} ({{date | date('YYYY-MM-DD')}})`. Default: the value of the `identifier_field`, `title`, `name` or `label` field, or the first heading in the `body` field.","markdownDescription":"Entry summary template displayed in the entry list, e.g. `{{title}} ({{date | date('YYYY-MM-DD')}})`. Default: the value of the `identifier_field`, `title`, `name` or `label` field, or the first heading in the `body` field."},"sortable_fields":{"anyOf":[{"$ref":"#/definitions/SortableFields"},{"type":"array","items":{"anyOf":[{"type":"string"},{"$ref":"#/definitions/SortableField"}]}}],"description":"Custom sortable fields. Default: `title`, `name`, `date`, `author` and `description`, or the `identifier_field` in place of `title`, as long as the fields exist. For a Git backend, `commit_author` and `commit_date` are also available, and added to the list if `author` and `date` are not included. Each list item can be a field name or a {@link SortableField } object. See the [documentation](https://sveltiacms.app/en/docs/collections/entries/views#sorting) for details.","markdownDescription":"Custom sortable fields. Default: `title`, `name`, `date`, `author` and `description`, or the `identifier_field` in place of `title`, as long as the fields exist. For a Git backend, `commit_author` and `commit_date` are also available, and added to the list if `author` and `date` are not included. Each list item can be a field name or a {@link SortableField } object. See the [documentation](https://sveltiacms.app/en/docs/collections/entries/views#sorting) for details."},"view_filters":{"anyOf":[{"$ref":"#/definitions/ViewFilters"},{"type":"array","items":{"$ref":"#/definitions/ViewFilter"}}],"description":"View filters to be used in the entry list.","markdownDescription":"View filters to be used in the entry list."},"view_groups":{"anyOf":[{"$ref":"#/definitions/ViewGroups"},{"type":"array","items":{"$ref":"#/definitions/ViewGroup"}}],"description":"View groups to be used in the entry list.","markdownDescription":"View groups to be used in the entry list."},"nested":{"$ref":"#/definitions/NestedEntryOptions","description":"Options for a collection with nested entries, which shows the entries in a folder tree and lets the user organize them in subfolders.","markdownDescription":"Options for a collection with nested entries, which shows the entries in a folder tree and lets the user organize them in subfolders."},"meta":{"$ref":"#/definitions/CollectionMetaData","description":"Meta data for a collection with nested entries, which enables the entry path editor. It has no effect without the `nested` option.","markdownDescription":"Meta data for a collection with nested entries, which enables the entry path editor. It has no effect without the `nested` option."},"index_file":{"anyOf":[{"type":"boolean"},{"$ref":"#/definitions/CollectionIndexFile"}],"description":"Index file inclusion options. If `true`, the default index file name is `_index`, which is used for Hugo’s special index file. See the [documentation](https://sveltiacms.app/en/docs/collections/entries/listings#managing-hugo-s-special-index-file) for details.","markdownDescription":"Index file inclusion options. If `true`, the default index file name is `_index`, which is used for Hugo’s special index file. See the [documentation](https://sveltiacms.app/en/docs/collections/entries/listings#managing-hugo-s-special-index-file) for details."},"thumbnail":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"array","items":{"type":"string"}}],"description":"Whether to show entry thumbnails in the entry list. Default: `true` (auto-detect image/file fields). Set to `false` to disable, or provide a field key path (e.g., `heroImage.src`) or an array of paths for fallbacks. Supports nested fields with dot notation and wildcards (e.g., `images.*.src`). A value starting with a slash is a file path instead, resolved like an Image field value, which can contain template tags like the `preview_path` option, e.g. `/images/thumbnails/{{slug}}.webp`. Date and time tags are filled from the field named with the `preview_path_date_field` option, or the first DateTime field. An empty array equals `false`.","markdownDescription":"Whether to show entry thumbnails in the entry list. Default: `true` (auto-detect image/file fields). Set to `false` to disable, or provide a field key path (e.g., `heroImage.src`) or an array of paths for fallbacks. Supports nested fields with dot notation and wildcards (e.g., `images.*.src`). A value starting with a slash is a file path instead, resolved like an Image field value, which can contain template tags like the `preview_path` option, e.g. `/images/thumbnails/{{slug}}.webp`. Date and time tags are filled from the field named with the `preview_path_date_field` option, or the first DateTime field. An empty array equals `false`."},"limit":{"type":"number","description":"The maximum number of entries that can be created in the collection. Default: `Infinity`.","markdownDescription":"The maximum number of entries that can be created in the collection. Default: `Infinity`."},"aliases_field":{"type":["string","boolean"],"description":"Property name used to store URL aliases (redirects) from an entry’s previous paths to its current path. Default: `aliases`, which is what Hugo and Zola support out of the box. When an editor changes an entry’s slug, the entry’s previous path is appended to this property. Set this to `false` to skip the processing. It has no effect unless the `preview_path` option is also defined, because that option is what tells the CMS an entry’s path on the live site. It also has no effect if a field with the same name is defined in the `fields` option, in which case the property is left to the editor to manage.","markdownDescription":"Property name used to store URL aliases (redirects) from an entry’s previous paths to its current path. Default: `aliases`, which is what Hugo and Zola support out of the box. When an editor changes an entry’s slug, the entry’s previous path is appended to this property. Set this to `false` to skip the processing. It has no effect unless the `preview_path` option is also defined, because that option is what tells the CMS an entry’s path on the live site. It also has no effect if a field with the same name is defined in the `fields` option, in which case the property is left to the editor to manage."},"permalink_field":{"type":["string","boolean"],"description":"Property name used to store the entry’s path on the live site, filled from the `preview_path` option each time the entry is saved, so a static site generator can build the page at that path. Default: `false`. Set this to `true` to use `permalink`, which is what Eleventy reads; its value must then end with a slash or a file extension, e.g. `portfolio/{{slug}}/`. A value other than a string, such as `false`, which tells Eleventy not to build the page, is left untouched. It has no effect unless the `preview_path` option is also defined, or if a field with the same name is defined in the `fields` option, in which case the property is left to the editor to manage.","markdownDescription":"Property name used to store the entry’s path on the live site, filled from the `preview_path` option each time the entry is saved, so a static site generator can build the page at that path. Default: `false`. Set this to `true` to use `permalink`, which is what Eleventy reads; its value must then end with a slash or a file extension, e.g. `portfolio/{{slug}}/`. A value other than a string, such as `false`, which tells Eleventy not to build the page, is left untouched. It has no effect unless the `preview_path` option is also defined, or if a field with the same name is defined in the `fields` option, in which case the property is left to the editor to manage."},"label_singular":{"type":"string","description":"Singular UI label. It will be Blog Post if the `label` is Blog Posts, for example. Default: `label` option value.","markdownDescription":"Singular UI label. It will be Blog Post if the `label` is Blog Posts, for example. Default: `label` option value."},"description":{"type":"string","description":"Short description of the collection to be displayed in the editor UI.","markdownDescription":"Short description of the collection to be displayed in the editor UI."},"media_folder":{"type":"string","description":"Internal media folder path for the collection. This overrides the global `media_folder` option. It can be a relative path from the project root if it starts with a slash. Otherwise it’s a path relative to the entry, or to the file for a file collection. If this option is omitted, the global `media_folder` option value is used, except for an entry collection with the `path` option, where the entry’s own folder is used. See the [documentation](https://sveltiacms.app/en/docs/media/internal#collection-level-configuration) for details.","markdownDescription":"Internal media folder path for the collection. This overrides the global `media_folder` option. It can be a relative path from the project root if it starts with a slash. Otherwise it’s a path relative to the entry, or to the file for a file collection. If this option is omitted, the global `media_folder` option value is used, except for an entry collection with the `path` option, where the entry’s own folder is used. See the [documentation](https://sveltiacms.app/en/docs/media/internal#collection-level-configuration) for details."},"public_folder":{"type":"string","description":"Public media folder path for the collection. This overrides the global `public_folder` option. Default: `media_folder` option value.","markdownDescription":"Public media folder path for the collection. This overrides the global `public_folder` option. Default: `media_folder` option value."},"hide":{"type":"boolean","description":"Whether to hide the collection in the UI. Default: `false`.","markdownDescription":"Whether to hide the collection in the UI. Default: `false`."},"publish_mode":{"anyOf":[{"$ref":"#/definitions/PublishModeType"},{"$ref":"#/definitions/PublishModeOptions"}],"description":"Publish mode for the collection. This overrides the global `publish_mode` option, so Editorial Workflow can be enabled for some collections only, or turned off for a collection when it’s enabled globally. In the object form, each option overrides the global one of the same name, and the others are inherited. Default: global `publish_mode` option value. Note that a contributor working on a fork with Open Authoring always goes through Editorial Workflow, regardless of this option.","markdownDescription":"Publish mode for the collection. This overrides the global `publish_mode` option, so Editorial Workflow can be enabled for some collections only, or turned off for a collection when it’s enabled globally. In the object form, each option overrides the global one of the same name, and the others are inherited. Default: global `publish_mode` option value. Note that a contributor working on a fork with Open Authoring always goes through Editorial Workflow, regardless of this option."},"publish":{"type":"boolean","description":"Whether to show the publishing control UI for Editorial Workflow and Preview Workflow. Default: `true`. Set this to `false` to let editors move an entry through the review stages without being able to publish it themselves. It has no effect unless the `editorial_workflow` or `preview` publish mode is enabled.","markdownDescription":"Whether to show the publishing control UI for Editorial Workflow and Preview Workflow. Default: `true`. Set this to `false` to let editors move an entry through the review stages without being able to publish it themselves. It has no effect unless the `editorial_workflow` or `preview` publish mode is enabled."},"format":{"type":"string","description":"File format. It should match the file extension. Default: detected from the file extension: `frontmatter` for Markdown files like `.md`, which reads YAML, TOML or JSON front matter and writes YAML front matter, `yaml` for `.yml`/`.yaml`, `toml` for `.toml`, `json` for `.json`, `raw` for `.astro`, and `yaml-frontmatter` otherwise.","markdownDescription":"File format. It should match the file extension. Default: detected from the file extension: `frontmatter` for Markdown files like `.md`, which reads YAML, TOML or JSON front matter and writes YAML front matter, `yaml` for `.yml`/`.yaml`, `toml` for `.toml`, `json` for `.json`, `raw` for `.astro`, and `yaml-frontmatter` otherwise."},"frontmatter_delimiter":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Delimiters to be used for the front matter format. Default: depends on the front matter type.","markdownDescription":"Delimiters to be used for the front matter format. Default: depends on the front matter type."},"body_field":{"$ref":"#/definitions/BodyFieldOptions","description":"Body field options for front matter formats.","markdownDescription":"Body field options for front matter formats."},"i18n":{"anyOf":[{"type":"boolean"},{"$ref":"#/definitions/I18nOptions"}],"description":"I18n options. Default: `false`.","markdownDescription":"I18n options. Default: `false`."},"preview_path":{"type":"string","description":"Preview URL path template, appended to the site URL or the deploy preview URL to link to the entry. Without it, a published entry has no link, while an unpublished Editorial Workflow entry links to the root of its deploy preview. For a file collection, define it on each file instead. See the [documentation](https://sveltiacms.app/en/docs/workflows/deploy-previews) for details.","markdownDescription":"Preview URL path template, appended to the site URL or the deploy preview URL to link to the entry. Without it, a published entry has no link, while an unpublished Editorial Workflow entry links to the root of its deploy preview. For a file collection, define it on each file instead. See the [documentation](https://sveltiacms.app/en/docs/workflows/deploy-previews) for details."},"preview_path_date_field":{"type":"string","description":"Name of a top-level DateTime field used to fill the date and time tags in `preview_path`. Default: the first DateTime field. For a file collection, define it on each file instead.","markdownDescription":"Name of a top-level DateTime field used to fill the date and time tags in `preview_path`. Default: the first DateTime field. For a file collection, define it on each file instead."},"editor":{"$ref":"#/definitions/EditorOptions","description":"Editor view options.","markdownDescription":"Editor view options."},"yaml_quote":{"type":"boolean","description":"Whether to double-quote all the strings values if the YAML format is used for file output. Default: `false`.","markdownDescription":"Whether to double-quote all the strings values if the YAML format is used for file output. Default: `false`.","deprecated":true,"deprecationMessage":"Use the global YAML format options. `yaml_quote: true` is equivalent to `output.yaml.quote: double`. See the documentation https://sveltiacms.app/en/docs/data-output#controlling-data-output for details."},"name":{"type":"string","description":"Unique identifier for the collection.","markdownDescription":"Unique identifier for the collection."},"label":{"type":"string","description":"Label of the collection to be displayed in the editor UI. Default: `name` option value.","markdownDescription":"Label of the collection to be displayed in the editor UI. Default: `name` option value."},"icon":{"type":"string","description":"Name of a [Material Symbols icon](https://fonts.google.com/icons?icon.set=Material+Symbols) to be displayed in the collection list.","markdownDescription":"Name of a [Material Symbols icon](https://fonts.google.com/icons?icon.set=Material+Symbols) to be displayed in the collection list."},"readonly":{"type":"boolean","description":"Whether to make the collection read-only. Default: `false`. Its entries or files can be viewed but not created, edited, duplicated, reordered, deleted or moved through the Editorial Workflow stages, and assets can’t be uploaded to, changed or deleted from its media folders. For an asset collection, assets can’t be uploaded to, changed or deleted from the folder. It’s also read-only if the global `readonly` option is `true`. For a file collection, each file can also be made read-only with its own `readonly` option.","markdownDescription":"Whether to make the collection read-only. Default: `false`. Its entries or files can be viewed but not created, edited, duplicated, reordered, deleted or moved through the Editorial Workflow stages, and assets can’t be uploaded to, changed or deleted from its media folders. For an asset collection, assets can’t be uploaded to, changed or deleted from the folder. It’s also read-only if the global `readonly` option is `true`. For a file collection, each file can also be made read-only with its own `readonly` option."}},"required":["fields","name"],"description":"Entry collection definition. In Netlify/Decap CMS, an entry collection is called a folder collection.","markdownDescription":"Entry collection definition. In Netlify/Decap CMS, an entry collection is called a folder collection."},"Field":{"anyOf":[{"$ref":"#/definitions/StandardField"},{"$ref":"#/definitions/CustomField"}],"description":"Entry field.","markdownDescription":"Entry field."},"StandardField":{"anyOf":[{"$ref":"#/definitions/VisibleField"},{"$ref":"#/definitions/HiddenField"}],"description":"Entry field using a built-in field type.","markdownDescription":"Entry field using a built-in field type."},"VisibleField":{"anyOf":[{"$ref":"#/definitions/BooleanField"},{"$ref":"#/definitions/CodeField"},{"$ref":"#/definitions/ColorField"},{"$ref":"#/definitions/ComputeField"},{"$ref":"#/definitions/DateTimeField"},{"$ref":"#/definitions/FileField"},{"$ref":"#/definitions/ImageField"},{"$ref":"#/definitions/KeyValueField"},{"$ref":"#/definitions/ListField"},{"$ref":"#/definitions/MapField"},{"$ref":"#/definitions/MarkdownField"},{"$ref":"#/definitions/NumberField"},{"$ref":"#/definitions/ObjectField"},{"$ref":"#/definitions/RelationField"},{"$ref":"#/definitions/RichTextField"},{"$ref":"#/definitions/SelectField"},{"$ref":"#/definitions/StringField"},{"$ref":"#/definitions/TextField"},{"$ref":"#/definitions/UuidField"}],"description":"Visible field types.","markdownDescription":"Visible field types."},"BooleanField":{"type":"object","additionalProperties":false,"properties":{"before_input":{"type":"string","description":"An extra label to be displayed before the input UI. Markdown is supported. Default: empty string.","markdownDescription":"An extra label to be displayed before the input UI. Markdown is supported. Default: empty string."},"after_input":{"type":"string","description":"An extra label to be displayed after the input UI. Markdown is supported. Default: empty string.","markdownDescription":"An extra label to be displayed after the input UI. Markdown is supported. Default: empty string."},"widget":{"type":"string","const":"boolean","description":"Field type.","markdownDescription":"Field type."},"default":{"type":"boolean","description":"Default value. Accepts `true` or `false`. Default: `false`.","markdownDescription":"Default value. Accepts `true` or `false`. Default: `false`."},"default_localized":{"type":"object","additionalProperties":{"type":"boolean"},"description":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"hint":{"type":"string","description":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only.","markdownDescription":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only."},"hint_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"preview":{"type":"boolean","description":"Whether to show the preview of the field. Default: `true`.","markdownDescription":"Whether to show the preview of the field. Default: `true`."},"required":{"anyOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"}}],"description":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean.","markdownDescription":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean."},"readonly":{"type":"boolean","description":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users.","markdownDescription":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users."},"i18n":{"$ref":"#/definitions/FieldI18nStrategy","description":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others. In a rich text editor component, whose values are stored in each locale’s text, it works like `translate`. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details.","markdownDescription":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others. In a rich text editor component, whose values are stored in each locale’s text, it works like `translate`. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details."},"name":{"type":"string","description":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets.","markdownDescription":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets."},"label":{"type":"string","description":"Label of the field to be displayed in the editor UI. Default: `name` field value.","markdownDescription":"Label of the field to be displayed in the editor UI. Default: `name` field value."},"label_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"comment":{"type":"string","description":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments.","markdownDescription":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments."}},"required":["name","widget"],"description":"Boolean field definition.","markdownDescription":"Boolean field definition."},"FieldI18nStrategy":{"anyOf":[{"type":"boolean"},{"type":"string","const":"duplicate"},{"type":"string","const":"sync"},{"type":"string","const":"translate"},{"type":"string","const":"none"}],"description":"Field-level i18n strategy supported by every field type. Some field types support another strategy as well: see {@link KeyValueFieldI18nProps } and {@link SimpleFieldI18nProps } .","markdownDescription":"Field-level i18n strategy supported by every field type. Some field types support another strategy as well: see {@link KeyValueFieldI18nProps } and {@link SimpleFieldI18nProps } ."},"CodeField":{"type":"object","additionalProperties":false,"properties":{"widget":{"type":"string","const":"code","description":"Field type.","markdownDescription":"Field type."},"default":{"anyOf":[{"type":"string"},{"type":"object","additionalProperties":{"type":"string"}}],"description":"Default value. It must be a string if `output_code_only` is `true`. Otherwise it should be an object that matches the `keys` option, like `{ code: 'let x = 1;', lang: 'js' }`; a string is used as the code.","markdownDescription":"Default value. It must be a string if `output_code_only` is `true`. Otherwise it should be an object that matches the `keys` option, like `{ code: 'let x = 1;', lang: 'js' }`; a string is used as the code."},"default_localized":{"type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"object","additionalProperties":{"type":"string"}}]},"description":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"default_language":{"type":"string","description":"Default language to be selected, like `js`. See the [Shiki documentation](https://shiki.style/languages) for a list of supported languages. Default: empty string, which is plaintext.","markdownDescription":"Default language to be selected, like `js`. See the [Shiki documentation](https://shiki.style/languages) for a list of supported languages. Default: empty string, which is plaintext."},"allow_language_selection":{"type":"boolean","description":"Whether to show a language switcher so that users can change the language mode. Default: `true` (the Decap CMS document is wrong).","markdownDescription":"Whether to show a language switcher so that users can change the language mode. Default: `true` (the Decap CMS document is wrong)."},"output_code_only":{"type":"boolean","description":"Whether to save the code only, as a string, instead of an object containing the code and the language. Default: `false`.","markdownDescription":"Whether to save the code only, as a string, instead of an object containing the code and the language. Default: `false`."},"keys":{"type":"object","properties":{"code":{"type":"string"},"lang":{"type":"string"}},"required":["code","lang"],"additionalProperties":false,"description":"Output property names. It has no effect if `output_code_only` is `true`. Default: `{ code: 'code', lang: 'lang' }`.","markdownDescription":"Output property names. It has no effect if `output_code_only` is `true`. Default: `{ code: 'code', lang: 'lang' }`."},"pattern":{"type":"array","minItems":2,"items":[{"anyOf":[{"type":"string"},{"type":"string","format":"regex"}]},{"type":"string"}],"maxItems":2,"description":"Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message to be displayed when the input value does not match the pattern.","markdownDescription":"Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message to be displayed when the input value does not match the pattern."},"hint":{"type":"string","description":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only.","markdownDescription":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only."},"hint_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"preview":{"type":"boolean","description":"Whether to show the preview of the field. Default: `true`.","markdownDescription":"Whether to show the preview of the field. Default: `true`."},"required":{"anyOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"}}],"description":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean.","markdownDescription":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean."},"readonly":{"type":"boolean","description":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users.","markdownDescription":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users."},"i18n":{"anyOf":[{"$ref":"#/definitions/FieldI18nStrategy"},{"type":"string","const":"duplicate_if_empty"}],"description":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others, except in a rich text editor component, where it works like `translate`. `duplicate_if_empty` copies the default locale’s value to non-default locales only where the value is empty, or still the same as the default locale’s value, while the field can be edited in every locale. It’s not supported for a File, Image, Relation or Select field that accepts multiple values. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details.","markdownDescription":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others, except in a rich text editor component, where it works like `translate`. `duplicate_if_empty` copies the default locale’s value to non-default locales only where the value is empty, or still the same as the default locale’s value, while the field can be edited in every locale. It’s not supported for a File, Image, Relation or Select field that accepts multiple values. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details."},"name":{"type":"string","description":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets.","markdownDescription":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets."},"label":{"type":"string","description":"Label of the field to be displayed in the editor UI. Default: `name` field value.","markdownDescription":"Label of the field to be displayed in the editor UI. Default: `name` field value."},"label_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"comment":{"type":"string","description":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments.","markdownDescription":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments."}},"required":["name","widget"],"description":"Code field definition.","markdownDescription":"Code field definition."},"ColorField":{"type":"object","additionalProperties":false,"properties":{"unique":{"type":"boolean","description":"Whether the value must be different from the value of the same field in every other entry of the collection, like a `UNIQUE` constraint in a relational database. An empty value is not checked; combine it with `required: true` to make sure every entry has a distinct value. Only available in an entry collection, and ignored for a field that takes multiple values, or a field in a List field or a rich text editor component. A Color field value is compared regardless of case, a Number field value by its numeric value, and a File or Image field value just uploaded isn’t compared, as it’s a new file. Default: `false`.","markdownDescription":"Whether the value must be different from the value of the same field in every other entry of the collection, like a `UNIQUE` constraint in a relational database. An empty value is not checked; combine it with `required: true` to make sure every entry has a distinct value. Only available in an entry collection, and ignored for a field that takes multiple values, or a field in a List field or a rich text editor component. A Color field value is compared regardless of case, a Number field value by its numeric value, and a File or Image field value just uploaded isn’t compared, as it’s a new file. Default: `false`."},"widget":{"type":"string","const":"color","description":"Field type.","markdownDescription":"Field type."},"default":{"type":"string","description":"Default value. Accepts a Hex color code in the six-value (`#RRGGBB`) or eight-value (`#RRGGBBAA`) syntax.","markdownDescription":"Default value. Accepts a Hex color code in the six-value (`#RRGGBB`) or eight-value (`#RRGGBBAA`) syntax."},"default_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"allowInput":{"type":"boolean","description":"Whether to show a textbox that allows users to manually edit the value. Default: `false`.","markdownDescription":"Whether to show a textbox that allows users to manually edit the value. Default: `false`."},"enableAlpha":{"type":"boolean","description":"Whether to edit/save the alpha channel value. Default: `false`.","markdownDescription":"Whether to edit/save the alpha channel value. Default: `false`."},"pattern":{"type":"array","minItems":2,"items":[{"anyOf":[{"type":"string"},{"type":"string","format":"regex"}]},{"type":"string"}],"maxItems":2,"description":"Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message to be displayed when the input value does not match the pattern.","markdownDescription":"Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message to be displayed when the input value does not match the pattern."},"hint":{"type":"string","description":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only.","markdownDescription":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only."},"hint_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"preview":{"type":"boolean","description":"Whether to show the preview of the field. Default: `true`.","markdownDescription":"Whether to show the preview of the field. Default: `true`."},"required":{"anyOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"}}],"description":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean.","markdownDescription":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean."},"readonly":{"type":"boolean","description":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users.","markdownDescription":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users."},"i18n":{"$ref":"#/definitions/FieldI18nStrategy","description":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others. In a rich text editor component, whose values are stored in each locale’s text, it works like `translate`. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details.","markdownDescription":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others. In a rich text editor component, whose values are stored in each locale’s text, it works like `translate`. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details."},"name":{"type":"string","description":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets.","markdownDescription":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets."},"label":{"type":"string","description":"Label of the field to be displayed in the editor UI. Default: `name` field value.","markdownDescription":"Label of the field to be displayed in the editor UI. Default: `name` field value."},"label_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"comment":{"type":"string","description":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments.","markdownDescription":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments."}},"required":["name","widget"],"description":"Color field definition.","markdownDescription":"Color field definition."},"ComputeField":{"type":"object","additionalProperties":false,"properties":{"widget":{"type":"string","const":"compute","description":"Field type.","markdownDescription":"Field type."},"value":{"type":"string","description":"Value template, like `posts-{{fields.slug}}`. Besides the `fields.*` tags, which support transformations like `{{fields.title | upper}}`, `{{index}}` is the position of the item in a list, which is saved as a number when used alone, and `{{uuid}}`, `{{uuid_short}}` and `{{uuid_shorter}}` generate a UUID, which is kept once the value is saved. In a list item, a `*` in a `fields.*` tag stands for the current item, so `{{fields.lines.*.price}}` is the price of the item the field is in. With a numeric `value_type`, it’s an arithmetic expression instead, like `{{fields.price}} * {{fields.quantity}}`, which can have numbers, template tags other than the UUID tags, the `+`, `-`, `*`, `/` and `%` operators, parentheses, the `abs`, `ceil`, `floor` and `round` functions and the `avg`, `count`, `max`, `min` and `sum` aggregate functions, in which the last `*` of a tag stands for every item of the list, like `sum({{fields.lines.*.amount}})`, and empty values are left out. The field is always hidden in the editor, and its value can’t be edited.","markdownDescription":"Value template, like `posts-{{fields.slug}}`. Besides the `fields.*` tags, which support transformations like `{{fields.title | upper}}`, `{{index}}` is the position of the item in a list, which is saved as a number when used alone, and `{{uuid}}`, `{{uuid_short}}` and `{{uuid_shorter}}` generate a UUID, which is kept once the value is saved. In a list item, a `*` in a `fields.*` tag stands for the current item, so `{{fields.lines.*.price}}` is the price of the item the field is in. With a numeric `value_type`, it’s an arithmetic expression instead, like `{{fields.price}} * {{fields.quantity}}`, which can have numbers, template tags other than the UUID tags, the `+`, `-`, `*`, `/` and `%` operators, parentheses, the `abs`, `ceil`, `floor` and `round` functions and the `avg`, `count`, `max`, `min` and `sum` aggregate functions, in which the last `*` of a tag stands for every item of the list, like `sum({{fields.lines.*.amount}})`, and empty values are left out. The field is always hidden in the editor, and its value can’t be edited."},"value_type":{"type":"string","enum":["string","float","int","int/string","float/string"],"description":"Type of the value. `string` makes the `value` option a template and saves the result as a string. The other types make it an arithmetic expression: `int` and `float` save the result as an integer or a floating-point number, respectively, and `int/string` and `float/string` save it as a string. An integer is rounded to the nearest one, and the result is left empty if a template tag resolves to an empty value or something other than a number. Default: `string`.","markdownDescription":"Type of the value. `string` makes the `value` option a template and saves the result as a string. The other types make it an arithmetic expression: `int` and `float` save the result as an integer or a floating-point number, respectively, and `int/string` and `float/string` save it as a string. An integer is rounded to the nearest one, and the result is left empty if a template tag resolves to an empty value or something other than a number. Default: `string`."},"hint":{"type":"string","description":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only.","markdownDescription":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only."},"hint_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"preview":{"type":"boolean","description":"Whether to show the preview of the field. Default: `true`.","markdownDescription":"Whether to show the preview of the field. Default: `true`."},"required":{"anyOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"}}],"description":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean.","markdownDescription":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean."},"readonly":{"type":"boolean","description":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users.","markdownDescription":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users."},"i18n":{"$ref":"#/definitions/FieldI18nStrategy","description":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others. In a rich text editor component, whose values are stored in each locale’s text, it works like `translate`. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details.","markdownDescription":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others. In a rich text editor component, whose values are stored in each locale’s text, it works like `translate`. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details."},"name":{"type":"string","description":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets.","markdownDescription":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets."},"label":{"type":"string","description":"Label of the field to be displayed in the editor UI. Default: `name` field value.","markdownDescription":"Label of the field to be displayed in the editor UI. Default: `name` field value."},"label_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"comment":{"type":"string","description":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments.","markdownDescription":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments."}},"required":["name","value","widget"],"description":"Compute field definition.","markdownDescription":"Compute field definition."},"DateTimeField":{"type":"object","additionalProperties":false,"properties":{"unique":{"type":"boolean","description":"Whether the value must be different from the value of the same field in every other entry of the collection, like a `UNIQUE` constraint in a relational database. An empty value is not checked; combine it with `required: true` to make sure every entry has a distinct value. Only available in an entry collection, and ignored for a field that takes multiple values, or a field in a List field or a rich text editor component. A Color field value is compared regardless of case, a Number field value by its numeric value, and a File or Image field value just uploaded isn’t compared, as it’s a new file. Default: `false`.","markdownDescription":"Whether the value must be different from the value of the same field in every other entry of the collection, like a `UNIQUE` constraint in a relational database. An empty value is not checked; combine it with `required: true` to make sure every entry has a distinct value. Only available in an entry collection, and ignored for a field that takes multiple values, or a field in a List field or a rich text editor component. A Color field value is compared regardless of case, a Number field value by its numeric value, and a File or Image field value just uploaded isn’t compared, as it’s a new file. Default: `false`."},"widget":{"type":"string","const":"datetime","description":"Field type.","markdownDescription":"Field type."},"default":{"type":"string","description":"Default value. Accepts a date/time string that matches the `format`, or `{{now}}` to populate the current date/time. Default: empty string.","markdownDescription":"Default value. Accepts a date/time string that matches the `format`, or `{{now}}` to populate the current date/time. Default: empty string."},"default_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"type":{"$ref":"#/definitions/DateTimeInputType","description":"The [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#input_types) HTML attribute value for the date/time input. If `type` is set to `date`, the input will only accept date values and the time part will be disabled. If `type` is set to `time`, the input will only accept time values and the date part will be disabled. Default: `datetime-local`, which accepts both date and time values.","markdownDescription":"The [`type`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input#input_types) HTML attribute value for the date/time input. If `type` is set to `date`, the input will only accept date values and the time part will be disabled. If `type` is set to `time`, the input will only accept time values and the date part will be disabled. Default: `datetime-local`, which accepts both date and time values."},"min":{"type":"string","description":"The [`min`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/min) HTML attribute value for the date/time input. The expected format depends on the `type` option: `YYYY-MM-DDTHH:mm` for `datetime-local`, `YYYY-MM-DD` for `date`, and `HH:mm` for `time`.","markdownDescription":"The [`min`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/min) HTML attribute value for the date/time input. The expected format depends on the `type` option: `YYYY-MM-DDTHH:mm` for `datetime-local`, `YYYY-MM-DD` for `date`, and `HH:mm` for `time`."},"max":{"type":"string","description":"The [`max`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/max) HTML attribute value for the date/time input. The expected format depends on the `type` option: `YYYY-MM-DDTHH:mm` for `datetime-local`, `YYYY-MM-DD` for `date`, and `HH:mm` for `time`. Default: `9999-12-31T23:59` for `datetime-local`, `9999-12-31` for `date`, and none for `time`.","markdownDescription":"The [`max`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/max) HTML attribute value for the date/time input. The expected format depends on the `type` option: `YYYY-MM-DDTHH:mm` for `datetime-local`, `YYYY-MM-DD` for `date`, and `HH:mm` for `time`. Default: `9999-12-31T23:59` for `datetime-local`, `9999-12-31` for `date`, and none for `time`."},"step":{"anyOf":[{"type":"number"},{"type":"string","const":"any"}],"description":"The [`step`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/step) HTML attribute value for the date/time input. Accepts a positive integer or `'any'`. For `datetime-local` and `time` inputs, the integer represents the step in seconds (e.g. `300` for 5-minute steps). For `date` inputs, the integer represents the step in days (e.g. `7` for weekly steps). Default: `60` seconds for `datetime-local` and `time`; `1` day for `date`.","markdownDescription":"The [`step`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/step) HTML attribute value for the date/time input. Accepts a positive integer or `'any'`. For `datetime-local` and `time` inputs, the integer represents the step in seconds (e.g. `300` for 5-minute steps). For `date` inputs, the integer represents the step in days (e.g. `7` for weekly steps). Default: `60` seconds for `datetime-local` and `time`; `1` day for `date`."},"format":{"type":"string","description":"Storage format written in [Day.js tokens](https://day.js.org/docs/en/display/format). Default: ISO 8601 format.","markdownDescription":"Storage format written in [Day.js tokens](https://day.js.org/docs/en/display/format). Default: ISO 8601 format."},"date_format":{"type":["string","boolean"],"description":"Date storage format written in [Day.js tokens](https://day.js.org/docs/en/display/format) if the value is a string and the `format` option is not defined. If `true`, ISO 8601 format is used unless the `format` option is defined. If `false`, date input/output is disabled. This option is available for backward compatibility with Netlify CMS; use the `format` or `type` option instead.","markdownDescription":"Date storage format written in [Day.js tokens](https://day.js.org/docs/en/display/format) if the value is a string and the `format` option is not defined. If `true`, ISO 8601 format is used unless the `format` option is defined. If `false`, date input/output is disabled. This option is available for backward compatibility with Netlify CMS; use the `format` or `type` option instead."},"time_format":{"type":["string","boolean"],"description":"Time storage format written in [Day.js tokens](https://day.js.org/docs/en/display/format) if the value is a string and the `format` option is not defined. If `true`, ISO 8601 format is used unless the `format` option is defined. If `false`, time input/output is disabled. This option is available for backward compatibility with Netlify CMS; use the `format` or `type` option instead.","markdownDescription":"Time storage format written in [Day.js tokens](https://day.js.org/docs/en/display/format) if the value is a string and the `format` option is not defined. If `true`, ISO 8601 format is used unless the `format` option is defined. If `false`, time input/output is disabled. This option is available for backward compatibility with Netlify CMS; use the `format` or `type` option instead."},"localize_format":{"type":["string","boolean"],"description":"Whether to write the month and weekday names, the AM/PM marker and other locale-dependent parts of the `format` in a language other than English. If `true`, the locale of the content the value belongs to is used, so each locale of an i18n-enabled entry gets the value in its own language, and a value copied to another locale, as with the `duplicate` i18n strategy, is written again in that locale. A locale code like `de` or `pt-BR` uses that locale for every value, which also works without i18n. The value is parsed in the same locale. The locale data is loaded from a CDN, or bundled with the npm package; a locale Day.js doesn’t support falls back to English. Ignored without a custom format, as an ISO 8601 value doesn’t depend on the locale. Default: `false`.","markdownDescription":"Whether to write the month and weekday names, the AM/PM marker and other locale-dependent parts of the `format` in a language other than English. If `true`, the locale of the content the value belongs to is used, so each locale of an i18n-enabled entry gets the value in its own language, and a value copied to another locale, as with the `duplicate` i18n strategy, is written again in that locale. A locale code like `de` or `pt-BR` uses that locale for every value, which also works without i18n. The value is parsed in the same locale. The locale data is loaded from a CDN, or bundled with the npm package; a locale Day.js doesn’t support falls back to English. Ignored without a custom format, as an ISO 8601 value doesn’t depend on the locale. Default: `false`."},"picker_utc":{"type":"boolean","description":"Whether to make the date input/output UTC. Default: `false`. This option is available for backward compatibility with Netlify/Decap CMS. The newer `input_timezone` and `output_utc` options provide more flexibility and supersede this option when explicitly set. `picker_utc: true` is equivalent to `input_timezone: 'utc'`.","markdownDescription":"Whether to make the date input/output UTC. Default: `false`. This option is available for backward compatibility with Netlify/Decap CMS. The newer `input_timezone` and `output_utc` options provide more flexibility and supersede this option when explicitly set. `picker_utc: true` is equivalent to `input_timezone: 'utc'`."},"input_timezone":{"type":"string","description":"Timezone used by the date/time input. This option supersedes `picker_utc`. If set to `local`, the browser’s local timezone is used. If set to `utc`, UTC is used. A custom IANA timezone name such as `America/New_York` or `Asia/Tokyo` may also be provided as a string. Default: `local`.","markdownDescription":"Timezone used by the date/time input. This option supersedes `picker_utc`. If set to `local`, the browser’s local timezone is used. If set to `utc`, UTC is used. A custom IANA timezone name such as `America/New_York` or `Asia/Tokyo` may also be provided as a string. Default: `local`."},"output_utc":{"type":"boolean","description":"Whether to convert stored values to UTC. This option supersedes `picker_utc`. If `false`, output values preserve the timezone semantics of `input_timezone`: `local` omits timezone information, `utc` appends a `Z` suffix, and custom timezones preserve their offset (e.g., `-05:00`). If `true`, the input value is converted to UTC for storage. When no custom `format` is specified, a `Z` suffix is appended to the ISO 8601 output. When a custom `format` is used, the value is stored in UTC but formatted according to that pattern — which won’t include an explicit timezone indicator unless the format itself contains `Z`. Note that `input_timezone: 'utc'` already implies UTC semantics, so `output_utc` has no additional effect in that case. Default: `false`.","markdownDescription":"Whether to convert stored values to UTC. This option supersedes `picker_utc`. If `false`, output values preserve the timezone semantics of `input_timezone`: `local` omits timezone information, `utc` appends a `Z` suffix, and custom timezones preserve their offset (e.g., `-05:00`). If `true`, the input value is converted to UTC for storage. When no custom `format` is specified, a `Z` suffix is appended to the ISO 8601 output. When a custom `format` is used, the value is stored in UTC but formatted according to that pattern — which won’t include an explicit timezone indicator unless the format itself contains `Z`. Note that `input_timezone: 'utc'` already implies UTC semantics, so `output_utc` has no additional effect in that case. Default: `false`."},"auto_now":{"anyOf":[{"type":"boolean"},{"type":"array","items":{"$ref":"#/definitions/DateTimeAutoNowStage"}}],"description":"Whether to set the field to the current date/time automatically when an entry is saved. `true` means both when an entry is created and whenever it’s updated, `false` means neither, and an array like `[create]` or `[update]` picks the stages. `create` also covers a value that hasn’t been set yet, such as one in a List item added to an existing entry. `[create]` suits a creation date, and `true` a last modified date. The value is formatted like the `{{now}}` default value, with seconds, but set at save time rather than when a draft is created. The field is shown as text, isn’t validated, and is hidden while an entry is being created. The time is shared by all locales. The option is ignored in a rich text editor component. Default: `false`.","markdownDescription":"Whether to set the field to the current date/time automatically when an entry is saved. `true` means both when an entry is created and whenever it’s updated, `false` means neither, and an array like `[create]` or `[update]` picks the stages. `create` also covers a value that hasn’t been set yet, such as one in a List item added to an existing entry. `[create]` suits a creation date, and `true` a last modified date. The value is formatted like the `{{now}}` default value, with seconds, but set at save time rather than when a draft is created. The field is shown as text, isn’t validated, and is hidden while an entry is being created. The time is shared by all locales. The option is ignored in a rich text editor component. Default: `false`."},"pattern":{"type":"array","minItems":2,"items":[{"anyOf":[{"type":"string"},{"type":"string","format":"regex"}]},{"type":"string"}],"maxItems":2,"description":"Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message to be displayed when the input value does not match the pattern.","markdownDescription":"Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message to be displayed when the input value does not match the pattern."},"hint":{"type":"string","description":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only.","markdownDescription":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only."},"hint_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"preview":{"type":"boolean","description":"Whether to show the preview of the field. Default: `true`.","markdownDescription":"Whether to show the preview of the field. Default: `true`."},"required":{"anyOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"}}],"description":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean.","markdownDescription":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean."},"readonly":{"type":"boolean","description":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users.","markdownDescription":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users."},"i18n":{"anyOf":[{"$ref":"#/definitions/FieldI18nStrategy"},{"type":"string","const":"duplicate_if_empty"}],"description":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others, except in a rich text editor component, where it works like `translate`. `duplicate_if_empty` copies the default locale’s value to non-default locales only where the value is empty, or still the same as the default locale’s value, while the field can be edited in every locale. It’s not supported for a File, Image, Relation or Select field that accepts multiple values. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details.","markdownDescription":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others, except in a rich text editor component, where it works like `translate`. `duplicate_if_empty` copies the default locale’s value to non-default locales only where the value is empty, or still the same as the default locale’s value, while the field can be edited in every locale. It’s not supported for a File, Image, Relation or Select field that accepts multiple values. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details."},"name":{"type":"string","description":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets.","markdownDescription":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets."},"label":{"type":"string","description":"Label of the field to be displayed in the editor UI. Default: `name` field value.","markdownDescription":"Label of the field to be displayed in the editor UI. Default: `name` field value."},"label_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"comment":{"type":"string","description":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments.","markdownDescription":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments."}},"required":["name","widget"],"description":"DateTime field definition.","markdownDescription":"DateTime field definition."},"DateTimeInputType":{"type":"string","enum":["datetime-local","date","time"],"description":"DateTime input type. It’s based on the supported date/time input types defined in the HTML spec.","markdownDescription":"DateTime input type. It’s based on the supported date/time input types defined in the HTML spec."},"DateTimeAutoNowStage":{"type":"string","enum":["create","update"],"description":"Stage of an entry’s life at which a DateTime field is set to the current date/time: when the entry is first saved, or whenever it’s saved after that.","markdownDescription":"Stage of an entry’s life at which a DateTime field is set to the current date/time: when the entry is first saved, or whenever it’s saved after that."},"FileField":{"type":"object","additionalProperties":false,"properties":{"unique":{"type":"boolean","description":"Whether the value must be different from the value of the same field in every other entry of the collection, like a `UNIQUE` constraint in a relational database. An empty value is not checked; combine it with `required: true` to make sure every entry has a distinct value. Only available in an entry collection, and ignored for a field that takes multiple values, or a field in a List field or a rich text editor component. A Color field value is compared regardless of case, a Number field value by its numeric value, and a File or Image field value just uploaded isn’t compared, as it’s a new file. Default: `false`.","markdownDescription":"Whether the value must be different from the value of the same field in every other entry of the collection, like a `UNIQUE` constraint in a relational database. An empty value is not checked; combine it with `required: true` to make sure every entry has a distinct value. Only available in an entry collection, and ignored for a field that takes multiple values, or a field in a List field or a rich text editor component. A Color field value is compared regardless of case, a Number field value by its numeric value, and a File or Image field value just uploaded isn’t compared, as it’s a new file. Default: `false`."},"widget":{"type":"string","const":"file","description":"Field type.","markdownDescription":"Field type."},"select_folder":{"type":"boolean","description":"Whether to select a folder instead of a file. The public path of the selected folder, e.g. `/images/gallery`, is saved as the field value. Only an asset folder with a fixed path can be browsed, so entry-relative folders and folders with template tags are not available, nor are external media storage providers. Default: `false`.","markdownDescription":"Whether to select a folder instead of a file. The public path of the selected folder, e.g. `/images/gallery`, is saved as the field value. Only an asset folder with a fixed path can be browsed, so entry-relative folders and folders with template tags are not available, nor are external media storage providers. Default: `false`."},"default":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Default value. Accepts a file path or complete URL. If the `multiple` option is set to `true`, it accepts an array of file paths or URLs.","markdownDescription":"Default value. Accepts a file path or complete URL. If the `multiple` option is set to `true`, it accepts an array of file paths or URLs."},"default_localized":{"type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"description":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"multiple":{"type":"boolean","description":"Whether to allow multiple file selection for the field. Default: `false`, unless the `multiple` option is enabled in a media library’s `config`.","markdownDescription":"Whether to allow multiple file selection for the field. Default: `false`, unless the `multiple` option is enabled in a media library’s `config`."},"min":{"type":"number","description":"Minimum number of files that can be selected. Ignored unless the `multiple` option is set to `true`. Default: `0`.","markdownDescription":"Minimum number of files that can be selected. Ignored unless the `multiple` option is set to `true`. Default: `0`."},"max":{"type":"number","description":"Maximum number of files that can be selected. Ignored unless the `multiple` option is set to `true`. Default: `Infinity`.","markdownDescription":"Maximum number of files that can be selected. Ignored unless the `multiple` option is set to `true`. Default: `Infinity`."},"accept":{"type":"string","description":"File types that the field should accept. The value would be a comma-separated list of unique file type specifiers, the format used for the HTML [`accept`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/accept) attribute. Default: any file for a File field; the supported image formats for an Image field, including HEIC if a `heic` or `raster_image` transformation is defined.","markdownDescription":"File types that the field should accept. The value would be a comma-separated list of unique file type specifiers, the format used for the HTML [`accept`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/accept) attribute. Default: any file for a File field; the supported image formats for an Image field, including HEIC if a `heic` or `raster_image` transformation is defined."},"choose_url":{"type":"boolean","description":"Whether to show the URL input UI. Default: `true`.","markdownDescription":"Whether to show the URL input UI. Default: `true`."},"media_folder":{"type":"string","description":"Internal media folder path for the field. Default: global or collection-level `media_folder` value.","markdownDescription":"Internal media folder path for the field. Default: global or collection-level `media_folder` value."},"public_folder":{"type":"string","description":"Public media folder path for the field. Default: `media_folder` option value.","markdownDescription":"Public media folder path for the field. Default: `media_folder` option value."},"media_library":{"$ref":"#/definitions/FieldLegacyMediaLibrary","description":"Legacy media storage option that allows only one library. It overrides the global options of the same library in the same way as `media_libraries`; without a `name`, it applies to the library named in the global `media_library` option. Use `media_libraries` instead to support multiple libraries.","markdownDescription":"Legacy media storage option that allows only one library. It overrides the global options of the same library in the same way as `media_libraries`; without a `name`, it applies to the library named in the global `media_library` option. Use `media_libraries` instead to support multiple libraries."},"media_libraries":{"$ref":"#/definitions/FieldMediaLibraries","description":"Unified media storage option that supports multiple libraries. Each library’s options, including `all`, are merged over the same library’s global options, one level deep, so a field only needs to set what it overrides: nested objects such as `config` are merged key by key, while other values, including arrays, are replaced. `false` disables the library for the field. Libraries not defined here fall back to the global configuration.","markdownDescription":"Unified media storage option that supports multiple libraries. Each library’s options, including `all`, are merged over the same library’s global options, one level deep, so a field only needs to set what it overrides: nested objects such as `config` are merged key by key, while other values, including arrays, are replaced. `false` disables the library for the field. Libraries not defined here fall back to the global configuration."},"pattern":{"type":"array","minItems":2,"items":[{"anyOf":[{"type":"string"},{"type":"string","format":"regex"}]},{"type":"string"}],"maxItems":2,"description":"Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message to be displayed when the input value does not match the pattern. If the field takes multiple values, like Decap CMS, the pattern is tested against all the values joined with commas, e.g. `foo,bar,baz`, rather than against each value, and not at all while the field is empty. Numbers are tested as strings, and a file just uploaded is tested by its name.","markdownDescription":"Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message to be displayed when the input value does not match the pattern. If the field takes multiple values, like Decap CMS, the pattern is tested against all the values joined with commas, e.g. `foo,bar,baz`, rather than against each value, and not at all while the field is empty. Numbers are tested as strings, and a file just uploaded is tested by its name."},"hint":{"type":"string","description":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only.","markdownDescription":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only."},"hint_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"preview":{"type":"boolean","description":"Whether to show the preview of the field. Default: `true`.","markdownDescription":"Whether to show the preview of the field. Default: `true`."},"required":{"anyOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"}}],"description":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean.","markdownDescription":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean."},"readonly":{"type":"boolean","description":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users.","markdownDescription":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users."},"i18n":{"anyOf":[{"$ref":"#/definitions/FieldI18nStrategy"},{"type":"string","const":"duplicate_if_empty"}],"description":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others, except in a rich text editor component, where it works like `translate`. `duplicate_if_empty` copies the default locale’s value to non-default locales only where the value is empty, or still the same as the default locale’s value, while the field can be edited in every locale. It’s not supported for a File, Image, Relation or Select field that accepts multiple values. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details.","markdownDescription":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others, except in a rich text editor component, where it works like `translate`. `duplicate_if_empty` copies the default locale’s value to non-default locales only where the value is empty, or still the same as the default locale’s value, while the field can be edited in every locale. It’s not supported for a File, Image, Relation or Select field that accepts multiple values. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details."},"name":{"type":"string","description":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets.","markdownDescription":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets."},"label":{"type":"string","description":"Label of the field to be displayed in the editor UI. Default: `name` field value.","markdownDescription":"Label of the field to be displayed in the editor UI. Default: `name` field value."},"label_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"comment":{"type":"string","description":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments.","markdownDescription":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments."}},"required":["name","widget"],"description":"File field definition.","markdownDescription":"File field definition."},"FieldLegacyMediaLibrary":{"anyOf":[{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","const":"default"},"config":{"$ref":"#/definitions/DefaultMediaLibraryConfig","description":"Configuration for the default media storage.","markdownDescription":"Configuration for the default media storage."}},"required":["name"]},{"$ref":"#/definitions/FieldNamedLegacyMediaLibrary"},{"$ref":"#/definitions/UnnamedLegacyMediaLibrary"}],"description":"Field-level legacy media storage option.","markdownDescription":"Field-level legacy media storage option."},"FieldNamedLegacyMediaLibrary":{"anyOf":[{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","const":"cloudinary"},"output_filename_only":{"type":"boolean","description":"Whether to output a file name instead of a full URL. Default: `false`.","markdownDescription":"Whether to output a file name instead of a full URL. Default: `false`."},"use_transformations":{"type":"boolean","description":"Whether to include transformation segments in an output URL. Default: `true`.","markdownDescription":"Whether to include transformation segments in an output URL. Default: `true`."},"config":{"type":"object","description":"Options to be passed to the Cloudinary Media Library widget, such as `multiple`, `max_files`, `default_transformations` and `folder`. The `cloud_name` and `api_key` options are required. A field-level `config` is merged over the site-level one, so the credentials only need to be set at the site level. See the [Cloudinary documentation](https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options) for a full list of available options. The `multiple` option is overridden by the field’s own `multiple` option, and `max_files` by the field’s `max` option. Default `max_files`: `20`.","markdownDescription":"Options to be passed to the Cloudinary Media Library widget, such as `multiple`, `max_files`, `default_transformations` and `folder`. The `cloud_name` and `api_key` options are required. A field-level `config` is merged over the site-level one, so the credentials only need to be set at the site level. See the [Cloudinary documentation](https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options) for a full list of available options. The `multiple` option is overridden by the field’s own `multiple` option, and `max_files` by the field’s `max` option. Default `max_files`: `20`."}},"required":["name"]},{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","const":"uploadcare"},"config":{"type":"object","description":"Options to be passed to Uploadcare, such as `multiple`. The `publicKey` option is required. A field-level `config` is merged over the site-level one, so the key can be set at either the site or field level. The `cdnBase` option sets the CDN origin used in output URLs. Default: the origin of the file URL returned by Uploadcare, typically `https://ucarecdn.com`. See the [Uploadcare documentation](https://uploadcare.com/docs/uploads/file-uploader-options/) for a full list of available options. Some options, including `previewStep`, will be ignored in Sveltia CMS because we use an API-based integration instead of Uploadcare’s deprecated jQuery File Uploader.","markdownDescription":"Options to be passed to Uploadcare, such as `multiple`. The `publicKey` option is required. A field-level `config` is merged over the site-level one, so the key can be set at either the site or field level. The `cdnBase` option sets the CDN origin used in output URLs. Default: the origin of the file URL returned by Uploadcare, typically `https://ucarecdn.com`. See the [Uploadcare documentation](https://uploadcare.com/docs/uploads/file-uploader-options/) for a full list of available options. Some options, including `previewStep`, will be ignored in Sveltia CMS because we use an API-based integration instead of Uploadcare’s deprecated jQuery File Uploader."},"settings":{"$ref":"#/definitions/UploadcareMediaLibrarySettings","description":"Integration settings. Field-level settings are merged over the site-level ones.","markdownDescription":"Integration settings. Field-level settings are merged over the site-level ones."}},"required":["name"]},{"type":"object","additionalProperties":false,"properties":{"name":{"$ref":"#/definitions/S3MediaLibraryName"},"label":{"type":"string","description":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. `Garage` for a self-hosted server configured as `aws_s3`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Amazon S3`.","markdownDescription":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. `Garage` for a self-hosted server configured as `aws_s3`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Amazon S3`."},"access_key_id":{"type":"string","description":"AWS access key ID or equivalent (safe to store in config). Required for all services except Bunny Storage, where it defaults to `bucket`, as the storage zone name serves as the access key ID.","markdownDescription":"AWS access key ID or equivalent (safe to store in config). Required for all services except Bunny Storage, where it defaults to `bucket`, as the storage zone name serves as the access key ID."},"bucket":{"type":"string","description":"Bucket name. For Bunny Storage, this is the storage zone name.","markdownDescription":"Bucket name. For Bunny Storage, this is the storage zone name."},"region":{"type":"string","description":"Region, e.g. `us-east-1`. Required for Amazon S3, Backblaze B2, Bunny Storage (two-letter storage region code, e.g. `de`), DigitalOcean Spaces and Scaleway Object Storage. For Supabase Storage, set it to the project’s region; it defaults to `us-east-1`. For Neon Object Storage, it defaults to the region in the `endpoint` hostname. Ignored for Cloudflare R2, which always uses `auto`. With a custom `endpoint`, it’s only used to sign requests and must match the server’s region, e.g. Garage’s `s3_region` (`garage` by default) or MinIO’s `us-east-1`; otherwise every request fails with a signature mismatch.","markdownDescription":"Region, e.g. `us-east-1`. Required for Amazon S3, Backblaze B2, Bunny Storage (two-letter storage region code, e.g. `de`), DigitalOcean Spaces and Scaleway Object Storage. For Supabase Storage, set it to the project’s region; it defaults to `us-east-1`. For Neon Object Storage, it defaults to the region in the `endpoint` hostname. Ignored for Cloudflare R2, which always uses `auto`. With a custom `endpoint`, it’s only used to sign requests and must match the server’s region, e.g. Garage’s `s3_region` (`garage` by default) or MinIO’s `us-east-1`; otherwise every request fails with a signature mismatch."},"account_id":{"type":"string","description":"Cloudflare account ID. Required for Cloudflare R2.","markdownDescription":"Cloudflare account ID. Required for Cloudflare R2."},"jurisdiction":{"type":"string","enum":["default","eu","fedramp"],"description":"Cloudflare R2 jurisdiction. Required for buckets created in the EU or FedRAMP jurisdictions; the global endpoint returns an error for those buckets. Default: `'default'`.","markdownDescription":"Cloudflare R2 jurisdiction. Required for buckets created in the EU or FedRAMP jurisdictions; the global endpoint returns an error for those buckets. Default: `'default'`."},"project_id":{"type":"string","description":"Supabase project reference ID. Required for Supabase Storage.","markdownDescription":"Supabase project reference ID. Required for Supabase Storage."},"endpoint":{"type":"string","description":"Custom endpoint URL for another S3-compatible service, such as a self-hosted Garage or MinIO server, configured as `aws_s3`, e.g. `https://s3.example.com`. Objects are addressed with path-style URLs (`{endpoint}/{bucket}/{key}`), so no wildcard DNS is needed. Required for Neon Object Storage; set it to the branch’s `AWS_ENDPOINT_URL_S3` shown in the Neon Console, e.g. `https://br-cool-darkness-a1b2c3d4.storage.c-1.us-east-2.aws.neon.tech`. Ignored for the other services, whose endpoints are derived from their own options.","markdownDescription":"Custom endpoint URL for another S3-compatible service, such as a self-hosted Garage or MinIO server, configured as `aws_s3`, e.g. `https://s3.example.com`. Objects are addressed with path-style URLs (`{endpoint}/{bucket}/{key}`), so no wildcard DNS is needed. Required for Neon Object Storage; set it to the branch’s `AWS_ENDPOINT_URL_S3` shown in the Neon Console, e.g. `https://br-cool-darkness-a1b2c3d4.storage.c-1.us-east-2.aws.neon.tech`. Ignored for the other services, whose endpoints are derived from their own options."},"prefix":{"type":"string","description":"Path prefix within the bucket, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from.","markdownDescription":"Path prefix within the bucket, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from."},"force_path_style":{"type":"boolean","description":"Whether to use path-style URLs (`https://s3.region.amazonaws.com/bucket/key`) instead of virtual-hosted-style URLs (`https://bucket.s3.region.amazonaws.com/key`) for Amazon S3. Path-style URLs are always used with a custom `endpoint`. Default: `false`.","markdownDescription":"Whether to use path-style URLs (`https://s3.region.amazonaws.com/bucket/key`) instead of virtual-hosted-style URLs (`https://bucket.s3.region.amazonaws.com/key`) for Amazon S3. Path-style URLs are always used with a custom `endpoint`. Default: `false`."},"public_url":{"type":"string","description":"Base URL for public asset access. When set, asset preview and download URLs are constructed as `{public_url}/{key}` instead of the S3 API endpoint URL. Required for Cloudflare R2 (S3 API endpoint always requires authentication); set to the `r2.dev` development URL (e.g. `https://pub-abcd1234.r2.dev`) or a custom domain. Also required for Bunny Storage; set to the hostname of a pull zone connected to the storage zone (e.g. `https://my-zone.b-cdn.net`) or a custom domain. Optional for Amazon S3 and DigitalOcean Spaces — use when serving assets through a CDN or custom domain (e.g. CloudFront or Route 53 for S3, CDN endpoint for Spaces). Backblaze B2, DigitalOcean Spaces, Scaleway Object Storage and Supabase Storage have a default public URL derived from the other options. For Neon Object Storage, the default `{endpoint}/{bucket}/{key}` URL only works with a `public_read` bucket; set `public_url` for a private bucket fronted by a CDN.","markdownDescription":"Base URL for public asset access. When set, asset preview and download URLs are constructed as `{public_url}/{key}` instead of the S3 API endpoint URL. Required for Cloudflare R2 (S3 API endpoint always requires authentication); set to the `r2.dev` development URL (e.g. `https://pub-abcd1234.r2.dev`) or a custom domain. Also required for Bunny Storage; set to the hostname of a pull zone connected to the storage zone (e.g. `https://my-zone.b-cdn.net`) or a custom domain. Optional for Amazon S3 and DigitalOcean Spaces — use when serving assets through a CDN or custom domain (e.g. CloudFront or Route 53 for S3, CDN endpoint for Spaces). Backblaze B2, DigitalOcean Spaces, Scaleway Object Storage and Supabase Storage have a default public URL derived from the other options. For Neon Object Storage, the default `{endpoint}/{bucket}/{key}` URL only works with a `public_read` bucket; set `public_url` for a private bucket fronted by a CDN."}},"required":["name"]},{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","const":"azure_blob_storage"},"label":{"type":"string","description":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. the name of a server configured with `endpoint`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Azure Blob Storage`.","markdownDescription":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. the name of a server configured with `endpoint`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Azure Blob Storage`."},"account_name":{"type":"string","description":"Storage account name. Required unless `endpoint` is given.","markdownDescription":"Storage account name. Required unless `endpoint` is given."},"container":{"type":"string","description":"Blob container name.","markdownDescription":"Blob container name."},"endpoint":{"type":"string","description":"Custom Blob service endpoint including the account, such as a custom domain or the Azurite emulator URL. Overrides `account_name`.","markdownDescription":"Custom Blob service endpoint including the account, such as a custom domain or the Azurite emulator URL. Overrides `account_name`."},"prefix":{"type":"string","description":"Path prefix within the container, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from.","markdownDescription":"Path prefix within the container, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from."},"public_url":{"type":"string","description":"Base URL for public asset access. When set, asset download URLs are constructed as `{public_url}/{blob_name}` instead of the Blob service URL. Required unless the container allows anonymous read access, because the URL stored in an entry can’t contain the SAS token, which expires. Set it to an Azure CDN or Front Door endpoint, or a custom domain.","markdownDescription":"Base URL for public asset access. When set, asset download URLs are constructed as `{public_url}/{blob_name}` instead of the Blob service URL. Required unless the container allows anonymous read access, because the URL stored in an entry can’t contain the SAS token, which expires. Set it to an Azure CDN or Front Door endpoint, or a custom domain."}},"required":["name"]},{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","const":"stock_assets"},"providers":{"type":"array","items":{"$ref":"#/definitions/StockAssetProviderName"},"description":"Enabled stock photo/video providers. The stock photo/video section in the asset browser is hidden if an empty array is given. Default: all supported providers.","markdownDescription":"Enabled stock photo/video providers. The stock photo/video section in the asset browser is hidden if an empty array is given. Default: all supported providers."}},"required":["name"]}],"description":"Options of a named media storage in the field-level legacy `media_library` option. They’re merged over the global options of the same storage, so the options the storage requires, such as an S3 `bucket`, can be left to the global ones.","markdownDescription":"Options of a named media storage in the field-level legacy `media_library` option. They’re merged over the global options of the same storage, so the options the storage requires, such as an S3 `bucket`, can be left to the global ones."},"UnnamedLegacyMediaLibrary":{"anyOf":[{"type":"object","additionalProperties":false,"properties":{"name":{"not":{}},"config":{"$ref":"#/definitions/DefaultMediaLibraryConfig","description":"Configuration for the default media storage.","markdownDescription":"Configuration for the default media storage."}}},{"type":"object","additionalProperties":false,"properties":{"name":{"not":{}},"output_filename_only":{"type":"boolean","description":"Whether to output a file name instead of a full URL. Default: `false`.","markdownDescription":"Whether to output a file name instead of a full URL. Default: `false`."},"use_transformations":{"type":"boolean","description":"Whether to include transformation segments in an output URL. Default: `true`.","markdownDescription":"Whether to include transformation segments in an output URL. Default: `true`."},"config":{"type":"object","description":"Options to be passed to the Cloudinary Media Library widget, such as `multiple`, `max_files`, `default_transformations` and `folder`. The `cloud_name` and `api_key` options are required. A field-level `config` is merged over the site-level one, so the credentials only need to be set at the site level. See the [Cloudinary documentation](https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options) for a full list of available options. The `multiple` option is overridden by the field’s own `multiple` option, and `max_files` by the field’s `max` option. Default `max_files`: `20`.","markdownDescription":"Options to be passed to the Cloudinary Media Library widget, such as `multiple`, `max_files`, `default_transformations` and `folder`. The `cloud_name` and `api_key` options are required. A field-level `config` is merged over the site-level one, so the credentials only need to be set at the site level. See the [Cloudinary documentation](https://cloudinary.com/documentation/media_library_widget#2_set_the_configuration_options) for a full list of available options. The `multiple` option is overridden by the field’s own `multiple` option, and `max_files` by the field’s `max` option. Default `max_files`: `20`."}}},{"type":"object","additionalProperties":false,"properties":{"name":{"not":{}},"config":{"type":"object","description":"Options to be passed to Uploadcare, such as `multiple`. The `publicKey` option is required. A field-level `config` is merged over the site-level one, so the key can be set at either the site or field level. The `cdnBase` option sets the CDN origin used in output URLs. Default: the origin of the file URL returned by Uploadcare, typically `https://ucarecdn.com`. See the [Uploadcare documentation](https://uploadcare.com/docs/uploads/file-uploader-options/) for a full list of available options. Some options, including `previewStep`, will be ignored in Sveltia CMS because we use an API-based integration instead of Uploadcare’s deprecated jQuery File Uploader.","markdownDescription":"Options to be passed to Uploadcare, such as `multiple`. The `publicKey` option is required. A field-level `config` is merged over the site-level one, so the key can be set at either the site or field level. The `cdnBase` option sets the CDN origin used in output URLs. Default: the origin of the file URL returned by Uploadcare, typically `https://ucarecdn.com`. See the [Uploadcare documentation](https://uploadcare.com/docs/uploads/file-uploader-options/) for a full list of available options. Some options, including `previewStep`, will be ignored in Sveltia CMS because we use an API-based integration instead of Uploadcare’s deprecated jQuery File Uploader."},"settings":{"$ref":"#/definitions/UploadcareMediaLibrarySettings","description":"Integration settings. Field-level settings are merged over the site-level ones.","markdownDescription":"Integration settings. Field-level settings are merged over the site-level ones."}}},{"type":"object","additionalProperties":false,"properties":{"name":{"not":{}},"label":{"type":"string","description":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. `Garage` for a self-hosted server configured as `aws_s3`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Amazon S3`.","markdownDescription":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. `Garage` for a self-hosted server configured as `aws_s3`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Amazon S3`."},"access_key_id":{"type":"string","description":"AWS access key ID or equivalent (safe to store in config). Required for all services except Bunny Storage, where it defaults to `bucket`, as the storage zone name serves as the access key ID.","markdownDescription":"AWS access key ID or equivalent (safe to store in config). Required for all services except Bunny Storage, where it defaults to `bucket`, as the storage zone name serves as the access key ID."},"bucket":{"type":"string","description":"Bucket name. For Bunny Storage, this is the storage zone name.","markdownDescription":"Bucket name. For Bunny Storage, this is the storage zone name."},"region":{"type":"string","description":"Region, e.g. `us-east-1`. Required for Amazon S3, Backblaze B2, Bunny Storage (two-letter storage region code, e.g. `de`), DigitalOcean Spaces and Scaleway Object Storage. For Supabase Storage, set it to the project’s region; it defaults to `us-east-1`. For Neon Object Storage, it defaults to the region in the `endpoint` hostname. Ignored for Cloudflare R2, which always uses `auto`. With a custom `endpoint`, it’s only used to sign requests and must match the server’s region, e.g. Garage’s `s3_region` (`garage` by default) or MinIO’s `us-east-1`; otherwise every request fails with a signature mismatch.","markdownDescription":"Region, e.g. `us-east-1`. Required for Amazon S3, Backblaze B2, Bunny Storage (two-letter storage region code, e.g. `de`), DigitalOcean Spaces and Scaleway Object Storage. For Supabase Storage, set it to the project’s region; it defaults to `us-east-1`. For Neon Object Storage, it defaults to the region in the `endpoint` hostname. Ignored for Cloudflare R2, which always uses `auto`. With a custom `endpoint`, it’s only used to sign requests and must match the server’s region, e.g. Garage’s `s3_region` (`garage` by default) or MinIO’s `us-east-1`; otherwise every request fails with a signature mismatch."},"account_id":{"type":"string","description":"Cloudflare account ID. Required for Cloudflare R2.","markdownDescription":"Cloudflare account ID. Required for Cloudflare R2."},"jurisdiction":{"type":"string","enum":["default","eu","fedramp"],"description":"Cloudflare R2 jurisdiction. Required for buckets created in the EU or FedRAMP jurisdictions; the global endpoint returns an error for those buckets. Default: `'default'`.","markdownDescription":"Cloudflare R2 jurisdiction. Required for buckets created in the EU or FedRAMP jurisdictions; the global endpoint returns an error for those buckets. Default: `'default'`."},"project_id":{"type":"string","description":"Supabase project reference ID. Required for Supabase Storage.","markdownDescription":"Supabase project reference ID. Required for Supabase Storage."},"endpoint":{"type":"string","description":"Custom endpoint URL for another S3-compatible service, such as a self-hosted Garage or MinIO server, configured as `aws_s3`, e.g. `https://s3.example.com`. Objects are addressed with path-style URLs (`{endpoint}/{bucket}/{key}`), so no wildcard DNS is needed. Required for Neon Object Storage; set it to the branch’s `AWS_ENDPOINT_URL_S3` shown in the Neon Console, e.g. `https://br-cool-darkness-a1b2c3d4.storage.c-1.us-east-2.aws.neon.tech`. Ignored for the other services, whose endpoints are derived from their own options.","markdownDescription":"Custom endpoint URL for another S3-compatible service, such as a self-hosted Garage or MinIO server, configured as `aws_s3`, e.g. `https://s3.example.com`. Objects are addressed with path-style URLs (`{endpoint}/{bucket}/{key}`), so no wildcard DNS is needed. Required for Neon Object Storage; set it to the branch’s `AWS_ENDPOINT_URL_S3` shown in the Neon Console, e.g. `https://br-cool-darkness-a1b2c3d4.storage.c-1.us-east-2.aws.neon.tech`. Ignored for the other services, whose endpoints are derived from their own options."},"prefix":{"type":"string","description":"Path prefix within the bucket, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from.","markdownDescription":"Path prefix within the bucket, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from."},"force_path_style":{"type":"boolean","description":"Whether to use path-style URLs (`https://s3.region.amazonaws.com/bucket/key`) instead of virtual-hosted-style URLs (`https://bucket.s3.region.amazonaws.com/key`) for Amazon S3. Path-style URLs are always used with a custom `endpoint`. Default: `false`.","markdownDescription":"Whether to use path-style URLs (`https://s3.region.amazonaws.com/bucket/key`) instead of virtual-hosted-style URLs (`https://bucket.s3.region.amazonaws.com/key`) for Amazon S3. Path-style URLs are always used with a custom `endpoint`. Default: `false`."},"public_url":{"type":"string","description":"Base URL for public asset access. When set, asset preview and download URLs are constructed as `{public_url}/{key}` instead of the S3 API endpoint URL. Required for Cloudflare R2 (S3 API endpoint always requires authentication); set to the `r2.dev` development URL (e.g. `https://pub-abcd1234.r2.dev`) or a custom domain. Also required for Bunny Storage; set to the hostname of a pull zone connected to the storage zone (e.g. `https://my-zone.b-cdn.net`) or a custom domain. Optional for Amazon S3 and DigitalOcean Spaces — use when serving assets through a CDN or custom domain (e.g. CloudFront or Route 53 for S3, CDN endpoint for Spaces). Backblaze B2, DigitalOcean Spaces, Scaleway Object Storage and Supabase Storage have a default public URL derived from the other options. For Neon Object Storage, the default `{endpoint}/{bucket}/{key}` URL only works with a `public_read` bucket; set `public_url` for a private bucket fronted by a CDN.","markdownDescription":"Base URL for public asset access. When set, asset preview and download URLs are constructed as `{public_url}/{key}` instead of the S3 API endpoint URL. Required for Cloudflare R2 (S3 API endpoint always requires authentication); set to the `r2.dev` development URL (e.g. `https://pub-abcd1234.r2.dev`) or a custom domain. Also required for Bunny Storage; set to the hostname of a pull zone connected to the storage zone (e.g. `https://my-zone.b-cdn.net`) or a custom domain. Optional for Amazon S3 and DigitalOcean Spaces — use when serving assets through a CDN or custom domain (e.g. CloudFront or Route 53 for S3, CDN endpoint for Spaces). Backblaze B2, DigitalOcean Spaces, Scaleway Object Storage and Supabase Storage have a default public URL derived from the other options. For Neon Object Storage, the default `{endpoint}/{bucket}/{key}` URL only works with a `public_read` bucket; set `public_url` for a private bucket fronted by a CDN."}},"required":["bucket"]},{"type":"object","additionalProperties":false,"properties":{"name":{"not":{}},"label":{"type":"string","description":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. the name of a server configured with `endpoint`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Azure Blob Storage`.","markdownDescription":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. the name of a server configured with `endpoint`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Azure Blob Storage`."},"account_name":{"type":"string","description":"Storage account name. Required unless `endpoint` is given.","markdownDescription":"Storage account name. Required unless `endpoint` is given."},"container":{"type":"string","description":"Blob container name.","markdownDescription":"Blob container name."},"endpoint":{"type":"string","description":"Custom Blob service endpoint including the account, such as a custom domain or the Azurite emulator URL. Overrides `account_name`.","markdownDescription":"Custom Blob service endpoint including the account, such as a custom domain or the Azurite emulator URL. Overrides `account_name`."},"prefix":{"type":"string","description":"Path prefix within the container, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from.","markdownDescription":"Path prefix within the container, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from."},"public_url":{"type":"string","description":"Base URL for public asset access. When set, asset download URLs are constructed as `{public_url}/{blob_name}` instead of the Blob service URL. Required unless the container allows anonymous read access, because the URL stored in an entry can’t contain the SAS token, which expires. Set it to an Azure CDN or Front Door endpoint, or a custom domain.","markdownDescription":"Base URL for public asset access. When set, asset download URLs are constructed as `{public_url}/{blob_name}` instead of the Blob service URL. Required unless the container allows anonymous read access, because the URL stored in an entry can’t contain the SAS token, which expires. Set it to an Azure CDN or Front Door endpoint, or a custom domain."}},"required":["container"]},{"type":"object","additionalProperties":false,"properties":{"name":{"not":{}},"providers":{"type":"array","items":{"$ref":"#/definitions/StockAssetProviderName"},"description":"Enabled stock photo/video providers. The stock photo/video section in the asset browser is hidden if an empty array is given. Default: all supported providers.","markdownDescription":"Enabled stock photo/video providers. The stock photo/video section in the asset browser is hidden if an empty array is given. Default: all supported providers."}}}],"description":"Field-level legacy media storage option without a `name`, which applies to the storage named in the global `media_library` option, so its options can be those of any storage.","markdownDescription":"Field-level legacy media storage option without a `name`, which applies to the storage named in the global `media_library` option, so its options can be those of any storage."},"FieldMediaLibraries":{"type":"object","additionalProperties":false,"properties":{"azure_blob_storage":{"anyOf":[{"type":"object","properties":{"label":{"type":"string","description":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. the name of a server configured with `endpoint`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Azure Blob Storage`.","markdownDescription":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. the name of a server configured with `endpoint`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Azure Blob Storage`."},"account_name":{"type":"string","description":"Storage account name. Required unless `endpoint` is given.","markdownDescription":"Storage account name. Required unless `endpoint` is given."},"container":{"type":"string","description":"Blob container name.","markdownDescription":"Blob container name."},"endpoint":{"type":"string","description":"Custom Blob service endpoint including the account, such as a custom domain or the Azurite emulator URL. Overrides `account_name`.","markdownDescription":"Custom Blob service endpoint including the account, such as a custom domain or the Azurite emulator URL. Overrides `account_name`."},"prefix":{"type":"string","description":"Path prefix within the container, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from.","markdownDescription":"Path prefix within the container, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from."},"public_url":{"type":"string","description":"Base URL for public asset access. When set, asset download URLs are constructed as `{public_url}/{blob_name}` instead of the Blob service URL. Required unless the container allows anonymous read access, because the URL stored in an entry can’t contain the SAS token, which expires. Set it to an Azure CDN or Front Door endpoint, or a custom domain.","markdownDescription":"Base URL for public asset access. When set, asset download URLs are constructed as `{public_url}/{blob_name}` instead of the Blob service URL. Required unless the container allows anonymous read access, because the URL stored in an entry can’t contain the SAS token, which expires. Set it to an Azure CDN or Front Door endpoint, or a custom domain."}},"additionalProperties":false},{"type":"boolean","const":false}]},"aws_s3":{"anyOf":[{"type":"object","properties":{"label":{"type":"string","description":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. `Garage` for a self-hosted server configured as `aws_s3`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Amazon S3`.","markdownDescription":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. `Garage` for a self-hosted server configured as `aws_s3`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Amazon S3`."},"access_key_id":{"type":"string","description":"AWS access key ID or equivalent (safe to store in config). Required for all services except Bunny Storage, where it defaults to `bucket`, as the storage zone name serves as the access key ID.","markdownDescription":"AWS access key ID or equivalent (safe to store in config). Required for all services except Bunny Storage, where it defaults to `bucket`, as the storage zone name serves as the access key ID."},"bucket":{"type":"string","description":"Bucket name. For Bunny Storage, this is the storage zone name.","markdownDescription":"Bucket name. For Bunny Storage, this is the storage zone name."},"region":{"type":"string","description":"Region, e.g. `us-east-1`. Required for Amazon S3, Backblaze B2, Bunny Storage (two-letter storage region code, e.g. `de`), DigitalOcean Spaces and Scaleway Object Storage. For Supabase Storage, set it to the project’s region; it defaults to `us-east-1`. For Neon Object Storage, it defaults to the region in the `endpoint` hostname. Ignored for Cloudflare R2, which always uses `auto`. With a custom `endpoint`, it’s only used to sign requests and must match the server’s region, e.g. Garage’s `s3_region` (`garage` by default) or MinIO’s `us-east-1`; otherwise every request fails with a signature mismatch.","markdownDescription":"Region, e.g. `us-east-1`. Required for Amazon S3, Backblaze B2, Bunny Storage (two-letter storage region code, e.g. `de`), DigitalOcean Spaces and Scaleway Object Storage. For Supabase Storage, set it to the project’s region; it defaults to `us-east-1`. For Neon Object Storage, it defaults to the region in the `endpoint` hostname. Ignored for Cloudflare R2, which always uses `auto`. With a custom `endpoint`, it’s only used to sign requests and must match the server’s region, e.g. Garage’s `s3_region` (`garage` by default) or MinIO’s `us-east-1`; otherwise every request fails with a signature mismatch."},"account_id":{"type":"string","description":"Cloudflare account ID. Required for Cloudflare R2.","markdownDescription":"Cloudflare account ID. Required for Cloudflare R2."},"jurisdiction":{"type":"string","enum":["default","eu","fedramp"],"description":"Cloudflare R2 jurisdiction. Required for buckets created in the EU or FedRAMP jurisdictions; the global endpoint returns an error for those buckets. Default: `'default'`.","markdownDescription":"Cloudflare R2 jurisdiction. Required for buckets created in the EU or FedRAMP jurisdictions; the global endpoint returns an error for those buckets. Default: `'default'`."},"project_id":{"type":"string","description":"Supabase project reference ID. Required for Supabase Storage.","markdownDescription":"Supabase project reference ID. Required for Supabase Storage."},"endpoint":{"type":"string","description":"Custom endpoint URL for another S3-compatible service, such as a self-hosted Garage or MinIO server, configured as `aws_s3`, e.g. `https://s3.example.com`. Objects are addressed with path-style URLs (`{endpoint}/{bucket}/{key}`), so no wildcard DNS is needed. Required for Neon Object Storage; set it to the branch’s `AWS_ENDPOINT_URL_S3` shown in the Neon Console, e.g. `https://br-cool-darkness-a1b2c3d4.storage.c-1.us-east-2.aws.neon.tech`. Ignored for the other services, whose endpoints are derived from their own options.","markdownDescription":"Custom endpoint URL for another S3-compatible service, such as a self-hosted Garage or MinIO server, configured as `aws_s3`, e.g. `https://s3.example.com`. Objects are addressed with path-style URLs (`{endpoint}/{bucket}/{key}`), so no wildcard DNS is needed. Required for Neon Object Storage; set it to the branch’s `AWS_ENDPOINT_URL_S3` shown in the Neon Console, e.g. `https://br-cool-darkness-a1b2c3d4.storage.c-1.us-east-2.aws.neon.tech`. Ignored for the other services, whose endpoints are derived from their own options."},"prefix":{"type":"string","description":"Path prefix within the bucket, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from.","markdownDescription":"Path prefix within the bucket, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from."},"force_path_style":{"type":"boolean","description":"Whether to use path-style URLs (`https://s3.region.amazonaws.com/bucket/key`) instead of virtual-hosted-style URLs (`https://bucket.s3.region.amazonaws.com/key`) for Amazon S3. Path-style URLs are always used with a custom `endpoint`. Default: `false`.","markdownDescription":"Whether to use path-style URLs (`https://s3.region.amazonaws.com/bucket/key`) instead of virtual-hosted-style URLs (`https://bucket.s3.region.amazonaws.com/key`) for Amazon S3. Path-style URLs are always used with a custom `endpoint`. Default: `false`."},"public_url":{"type":"string","description":"Base URL for public asset access. When set, asset preview and download URLs are constructed as `{public_url}/{key}` instead of the S3 API endpoint URL. Required for Cloudflare R2 (S3 API endpoint always requires authentication); set to the `r2.dev` development URL (e.g. `https://pub-abcd1234.r2.dev`) or a custom domain. Also required for Bunny Storage; set to the hostname of a pull zone connected to the storage zone (e.g. `https://my-zone.b-cdn.net`) or a custom domain. Optional for Amazon S3 and DigitalOcean Spaces — use when serving assets through a CDN or custom domain (e.g. CloudFront or Route 53 for S3, CDN endpoint for Spaces). Backblaze B2, DigitalOcean Spaces, Scaleway Object Storage and Supabase Storage have a default public URL derived from the other options. For Neon Object Storage, the default `{endpoint}/{bucket}/{key}` URL only works with a `public_read` bucket; set `public_url` for a private bucket fronted by a CDN.","markdownDescription":"Base URL for public asset access. When set, asset preview and download URLs are constructed as `{public_url}/{key}` instead of the S3 API endpoint URL. Required for Cloudflare R2 (S3 API endpoint always requires authentication); set to the `r2.dev` development URL (e.g. `https://pub-abcd1234.r2.dev`) or a custom domain. Also required for Bunny Storage; set to the hostname of a pull zone connected to the storage zone (e.g. `https://my-zone.b-cdn.net`) or a custom domain. Optional for Amazon S3 and DigitalOcean Spaces — use when serving assets through a CDN or custom domain (e.g. CloudFront or Route 53 for S3, CDN endpoint for Spaces). Backblaze B2, DigitalOcean Spaces, Scaleway Object Storage and Supabase Storage have a default public URL derived from the other options. For Neon Object Storage, the default `{endpoint}/{bucket}/{key}` URL only works with a `public_read` bucket; set `public_url` for a private bucket fronted by a CDN."}},"additionalProperties":false},{"type":"boolean","const":false}]},"backblaze_b2":{"anyOf":[{"type":"object","properties":{"label":{"type":"string","description":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. `Garage` for a self-hosted server configured as `aws_s3`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Amazon S3`.","markdownDescription":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. `Garage` for a self-hosted server configured as `aws_s3`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Amazon S3`."},"access_key_id":{"type":"string","description":"AWS access key ID or equivalent (safe to store in config). Required for all services except Bunny Storage, where it defaults to `bucket`, as the storage zone name serves as the access key ID.","markdownDescription":"AWS access key ID or equivalent (safe to store in config). Required for all services except Bunny Storage, where it defaults to `bucket`, as the storage zone name serves as the access key ID."},"bucket":{"type":"string","description":"Bucket name. For Bunny Storage, this is the storage zone name.","markdownDescription":"Bucket name. For Bunny Storage, this is the storage zone name."},"region":{"type":"string","description":"Region, e.g. `us-east-1`. Required for Amazon S3, Backblaze B2, Bunny Storage (two-letter storage region code, e.g. `de`), DigitalOcean Spaces and Scaleway Object Storage. For Supabase Storage, set it to the project’s region; it defaults to `us-east-1`. For Neon Object Storage, it defaults to the region in the `endpoint` hostname. Ignored for Cloudflare R2, which always uses `auto`. With a custom `endpoint`, it’s only used to sign requests and must match the server’s region, e.g. Garage’s `s3_region` (`garage` by default) or MinIO’s `us-east-1`; otherwise every request fails with a signature mismatch.","markdownDescription":"Region, e.g. `us-east-1`. Required for Amazon S3, Backblaze B2, Bunny Storage (two-letter storage region code, e.g. `de`), DigitalOcean Spaces and Scaleway Object Storage. For Supabase Storage, set it to the project’s region; it defaults to `us-east-1`. For Neon Object Storage, it defaults to the region in the `endpoint` hostname. Ignored for Cloudflare R2, which always uses `auto`. With a custom `endpoint`, it’s only used to sign requests and must match the server’s region, e.g. Garage’s `s3_region` (`garage` by default) or MinIO’s `us-east-1`; otherwise every request fails with a signature mismatch."},"account_id":{"type":"string","description":"Cloudflare account ID. Required for Cloudflare R2.","markdownDescription":"Cloudflare account ID. Required for Cloudflare R2."},"jurisdiction":{"type":"string","enum":["default","eu","fedramp"],"description":"Cloudflare R2 jurisdiction. Required for buckets created in the EU or FedRAMP jurisdictions; the global endpoint returns an error for those buckets. Default: `'default'`.","markdownDescription":"Cloudflare R2 jurisdiction. Required for buckets created in the EU or FedRAMP jurisdictions; the global endpoint returns an error for those buckets. Default: `'default'`."},"project_id":{"type":"string","description":"Supabase project reference ID. Required for Supabase Storage.","markdownDescription":"Supabase project reference ID. Required for Supabase Storage."},"endpoint":{"type":"string","description":"Custom endpoint URL for another S3-compatible service, such as a self-hosted Garage or MinIO server, configured as `aws_s3`, e.g. `https://s3.example.com`. Objects are addressed with path-style URLs (`{endpoint}/{bucket}/{key}`), so no wildcard DNS is needed. Required for Neon Object Storage; set it to the branch’s `AWS_ENDPOINT_URL_S3` shown in the Neon Console, e.g. `https://br-cool-darkness-a1b2c3d4.storage.c-1.us-east-2.aws.neon.tech`. Ignored for the other services, whose endpoints are derived from their own options.","markdownDescription":"Custom endpoint URL for another S3-compatible service, such as a self-hosted Garage or MinIO server, configured as `aws_s3`, e.g. `https://s3.example.com`. Objects are addressed with path-style URLs (`{endpoint}/{bucket}/{key}`), so no wildcard DNS is needed. Required for Neon Object Storage; set it to the branch’s `AWS_ENDPOINT_URL_S3` shown in the Neon Console, e.g. `https://br-cool-darkness-a1b2c3d4.storage.c-1.us-east-2.aws.neon.tech`. Ignored for the other services, whose endpoints are derived from their own options."},"prefix":{"type":"string","description":"Path prefix within the bucket, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from.","markdownDescription":"Path prefix within the bucket, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from."},"force_path_style":{"type":"boolean","description":"Whether to use path-style URLs (`https://s3.region.amazonaws.com/bucket/key`) instead of virtual-hosted-style URLs (`https://bucket.s3.region.amazonaws.com/key`) for Amazon S3. Path-style URLs are always used with a custom `endpoint`. Default: `false`.","markdownDescription":"Whether to use path-style URLs (`https://s3.region.amazonaws.com/bucket/key`) instead of virtual-hosted-style URLs (`https://bucket.s3.region.amazonaws.com/key`) for Amazon S3. Path-style URLs are always used with a custom `endpoint`. Default: `false`."},"public_url":{"type":"string","description":"Base URL for public asset access. When set, asset preview and download URLs are constructed as `{public_url}/{key}` instead of the S3 API endpoint URL. Required for Cloudflare R2 (S3 API endpoint always requires authentication); set to the `r2.dev` development URL (e.g. `https://pub-abcd1234.r2.dev`) or a custom domain. Also required for Bunny Storage; set to the hostname of a pull zone connected to the storage zone (e.g. `https://my-zone.b-cdn.net`) or a custom domain. Optional for Amazon S3 and DigitalOcean Spaces — use when serving assets through a CDN or custom domain (e.g. CloudFront or Route 53 for S3, CDN endpoint for Spaces). Backblaze B2, DigitalOcean Spaces, Scaleway Object Storage and Supabase Storage have a default public URL derived from the other options. For Neon Object Storage, the default `{endpoint}/{bucket}/{key}` URL only works with a `public_read` bucket; set `public_url` for a private bucket fronted by a CDN.","markdownDescription":"Base URL for public asset access. When set, asset preview and download URLs are constructed as `{public_url}/{key}` instead of the S3 API endpoint URL. Required for Cloudflare R2 (S3 API endpoint always requires authentication); set to the `r2.dev` development URL (e.g. `https://pub-abcd1234.r2.dev`) or a custom domain. Also required for Bunny Storage; set to the hostname of a pull zone connected to the storage zone (e.g. `https://my-zone.b-cdn.net`) or a custom domain. Optional for Amazon S3 and DigitalOcean Spaces — use when serving assets through a CDN or custom domain (e.g. CloudFront or Route 53 for S3, CDN endpoint for Spaces). Backblaze B2, DigitalOcean Spaces, Scaleway Object Storage and Supabase Storage have a default public URL derived from the other options. For Neon Object Storage, the default `{endpoint}/{bucket}/{key}` URL only works with a `public_read` bucket; set `public_url` for a private bucket fronted by a CDN."}},"additionalProperties":false},{"type":"boolean","const":false}]},"bunny_storage":{"anyOf":[{"type":"object","properties":{"label":{"type":"string","description":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. `Garage` for a self-hosted server configured as `aws_s3`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Amazon S3`.","markdownDescription":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. `Garage` for a self-hosted server configured as `aws_s3`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Amazon S3`."},"access_key_id":{"type":"string","description":"AWS access key ID or equivalent (safe to store in config). Required for all services except Bunny Storage, where it defaults to `bucket`, as the storage zone name serves as the access key ID.","markdownDescription":"AWS access key ID or equivalent (safe to store in config). Required for all services except Bunny Storage, where it defaults to `bucket`, as the storage zone name serves as the access key ID."},"bucket":{"type":"string","description":"Bucket name. For Bunny Storage, this is the storage zone name.","markdownDescription":"Bucket name. For Bunny Storage, this is the storage zone name."},"region":{"type":"string","description":"Region, e.g. `us-east-1`. Required for Amazon S3, Backblaze B2, Bunny Storage (two-letter storage region code, e.g. `de`), DigitalOcean Spaces and Scaleway Object Storage. For Supabase Storage, set it to the project’s region; it defaults to `us-east-1`. For Neon Object Storage, it defaults to the region in the `endpoint` hostname. Ignored for Cloudflare R2, which always uses `auto`. With a custom `endpoint`, it’s only used to sign requests and must match the server’s region, e.g. Garage’s `s3_region` (`garage` by default) or MinIO’s `us-east-1`; otherwise every request fails with a signature mismatch.","markdownDescription":"Region, e.g. `us-east-1`. Required for Amazon S3, Backblaze B2, Bunny Storage (two-letter storage region code, e.g. `de`), DigitalOcean Spaces and Scaleway Object Storage. For Supabase Storage, set it to the project’s region; it defaults to `us-east-1`. For Neon Object Storage, it defaults to the region in the `endpoint` hostname. Ignored for Cloudflare R2, which always uses `auto`. With a custom `endpoint`, it’s only used to sign requests and must match the server’s region, e.g. Garage’s `s3_region` (`garage` by default) or MinIO’s `us-east-1`; otherwise every request fails with a signature mismatch."},"account_id":{"type":"string","description":"Cloudflare account ID. Required for Cloudflare R2.","markdownDescription":"Cloudflare account ID. Required for Cloudflare R2."},"jurisdiction":{"type":"string","enum":["default","eu","fedramp"],"description":"Cloudflare R2 jurisdiction. Required for buckets created in the EU or FedRAMP jurisdictions; the global endpoint returns an error for those buckets. Default: `'default'`.","markdownDescription":"Cloudflare R2 jurisdiction. Required for buckets created in the EU or FedRAMP jurisdictions; the global endpoint returns an error for those buckets. Default: `'default'`."},"project_id":{"type":"string","description":"Supabase project reference ID. Required for Supabase Storage.","markdownDescription":"Supabase project reference ID. Required for Supabase Storage."},"endpoint":{"type":"string","description":"Custom endpoint URL for another S3-compatible service, such as a self-hosted Garage or MinIO server, configured as `aws_s3`, e.g. `https://s3.example.com`. Objects are addressed with path-style URLs (`{endpoint}/{bucket}/{key}`), so no wildcard DNS is needed. Required for Neon Object Storage; set it to the branch’s `AWS_ENDPOINT_URL_S3` shown in the Neon Console, e.g. `https://br-cool-darkness-a1b2c3d4.storage.c-1.us-east-2.aws.neon.tech`. Ignored for the other services, whose endpoints are derived from their own options.","markdownDescription":"Custom endpoint URL for another S3-compatible service, such as a self-hosted Garage or MinIO server, configured as `aws_s3`, e.g. `https://s3.example.com`. Objects are addressed with path-style URLs (`{endpoint}/{bucket}/{key}`), so no wildcard DNS is needed. Required for Neon Object Storage; set it to the branch’s `AWS_ENDPOINT_URL_S3` shown in the Neon Console, e.g. `https://br-cool-darkness-a1b2c3d4.storage.c-1.us-east-2.aws.neon.tech`. Ignored for the other services, whose endpoints are derived from their own options."},"prefix":{"type":"string","description":"Path prefix within the bucket, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from.","markdownDescription":"Path prefix within the bucket, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from."},"force_path_style":{"type":"boolean","description":"Whether to use path-style URLs (`https://s3.region.amazonaws.com/bucket/key`) instead of virtual-hosted-style URLs (`https://bucket.s3.region.amazonaws.com/key`) for Amazon S3. Path-style URLs are always used with a custom `endpoint`. Default: `false`.","markdownDescription":"Whether to use path-style URLs (`https://s3.region.amazonaws.com/bucket/key`) instead of virtual-hosted-style URLs (`https://bucket.s3.region.amazonaws.com/key`) for Amazon S3. Path-style URLs are always used with a custom `endpoint`. Default: `false`."},"public_url":{"type":"string","description":"Base URL for public asset access. When set, asset preview and download URLs are constructed as `{public_url}/{key}` instead of the S3 API endpoint URL. Required for Cloudflare R2 (S3 API endpoint always requires authentication); set to the `r2.dev` development URL (e.g. `https://pub-abcd1234.r2.dev`) or a custom domain. Also required for Bunny Storage; set to the hostname of a pull zone connected to the storage zone (e.g. `https://my-zone.b-cdn.net`) or a custom domain. Optional for Amazon S3 and DigitalOcean Spaces — use when serving assets through a CDN or custom domain (e.g. CloudFront or Route 53 for S3, CDN endpoint for Spaces). Backblaze B2, DigitalOcean Spaces, Scaleway Object Storage and Supabase Storage have a default public URL derived from the other options. For Neon Object Storage, the default `{endpoint}/{bucket}/{key}` URL only works with a `public_read` bucket; set `public_url` for a private bucket fronted by a CDN.","markdownDescription":"Base URL for public asset access. When set, asset preview and download URLs are constructed as `{public_url}/{key}` instead of the S3 API endpoint URL. Required for Cloudflare R2 (S3 API endpoint always requires authentication); set to the `r2.dev` development URL (e.g. `https://pub-abcd1234.r2.dev`) or a custom domain. Also required for Bunny Storage; set to the hostname of a pull zone connected to the storage zone (e.g. `https://my-zone.b-cdn.net`) or a custom domain. Optional for Amazon S3 and DigitalOcean Spaces — use when serving assets through a CDN or custom domain (e.g. CloudFront or Route 53 for S3, CDN endpoint for Spaces). Backblaze B2, DigitalOcean Spaces, Scaleway Object Storage and Supabase Storage have a default public URL derived from the other options. For Neon Object Storage, the default `{endpoint}/{bucket}/{key}` URL only works with a `public_read` bucket; set `public_url` for a private bucket fronted by a CDN."}},"additionalProperties":false},{"type":"boolean","const":false}]},"cloudflare_r2":{"anyOf":[{"type":"object","properties":{"label":{"type":"string","description":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. `Garage` for a self-hosted server configured as `aws_s3`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Amazon S3`.","markdownDescription":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. `Garage` for a self-hosted server configured as `aws_s3`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Amazon S3`."},"access_key_id":{"type":"string","description":"AWS access key ID or equivalent (safe to store in config). Required for all services except Bunny Storage, where it defaults to `bucket`, as the storage zone name serves as the access key ID.","markdownDescription":"AWS access key ID or equivalent (safe to store in config). Required for all services except Bunny Storage, where it defaults to `bucket`, as the storage zone name serves as the access key ID."},"bucket":{"type":"string","description":"Bucket name. For Bunny Storage, this is the storage zone name.","markdownDescription":"Bucket name. For Bunny Storage, this is the storage zone name."},"region":{"type":"string","description":"Region, e.g. `us-east-1`. Required for Amazon S3, Backblaze B2, Bunny Storage (two-letter storage region code, e.g. `de`), DigitalOcean Spaces and Scaleway Object Storage. For Supabase Storage, set it to the project’s region; it defaults to `us-east-1`. For Neon Object Storage, it defaults to the region in the `endpoint` hostname. Ignored for Cloudflare R2, which always uses `auto`. With a custom `endpoint`, it’s only used to sign requests and must match the server’s region, e.g. Garage’s `s3_region` (`garage` by default) or MinIO’s `us-east-1`; otherwise every request fails with a signature mismatch.","markdownDescription":"Region, e.g. `us-east-1`. Required for Amazon S3, Backblaze B2, Bunny Storage (two-letter storage region code, e.g. `de`), DigitalOcean Spaces and Scaleway Object Storage. For Supabase Storage, set it to the project’s region; it defaults to `us-east-1`. For Neon Object Storage, it defaults to the region in the `endpoint` hostname. Ignored for Cloudflare R2, which always uses `auto`. With a custom `endpoint`, it’s only used to sign requests and must match the server’s region, e.g. Garage’s `s3_region` (`garage` by default) or MinIO’s `us-east-1`; otherwise every request fails with a signature mismatch."},"account_id":{"type":"string","description":"Cloudflare account ID. Required for Cloudflare R2.","markdownDescription":"Cloudflare account ID. Required for Cloudflare R2."},"jurisdiction":{"type":"string","enum":["default","eu","fedramp"],"description":"Cloudflare R2 jurisdiction. Required for buckets created in the EU or FedRAMP jurisdictions; the global endpoint returns an error for those buckets. Default: `'default'`.","markdownDescription":"Cloudflare R2 jurisdiction. Required for buckets created in the EU or FedRAMP jurisdictions; the global endpoint returns an error for those buckets. Default: `'default'`."},"project_id":{"type":"string","description":"Supabase project reference ID. Required for Supabase Storage.","markdownDescription":"Supabase project reference ID. Required for Supabase Storage."},"endpoint":{"type":"string","description":"Custom endpoint URL for another S3-compatible service, such as a self-hosted Garage or MinIO server, configured as `aws_s3`, e.g. `https://s3.example.com`. Objects are addressed with path-style URLs (`{endpoint}/{bucket}/{key}`), so no wildcard DNS is needed. Required for Neon Object Storage; set it to the branch’s `AWS_ENDPOINT_URL_S3` shown in the Neon Console, e.g. `https://br-cool-darkness-a1b2c3d4.storage.c-1.us-east-2.aws.neon.tech`. Ignored for the other services, whose endpoints are derived from their own options.","markdownDescription":"Custom endpoint URL for another S3-compatible service, such as a self-hosted Garage or MinIO server, configured as `aws_s3`, e.g. `https://s3.example.com`. Objects are addressed with path-style URLs (`{endpoint}/{bucket}/{key}`), so no wildcard DNS is needed. Required for Neon Object Storage; set it to the branch’s `AWS_ENDPOINT_URL_S3` shown in the Neon Console, e.g. `https://br-cool-darkness-a1b2c3d4.storage.c-1.us-east-2.aws.neon.tech`. Ignored for the other services, whose endpoints are derived from their own options."},"prefix":{"type":"string","description":"Path prefix within the bucket, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from.","markdownDescription":"Path prefix within the bucket, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from."},"force_path_style":{"type":"boolean","description":"Whether to use path-style URLs (`https://s3.region.amazonaws.com/bucket/key`) instead of virtual-hosted-style URLs (`https://bucket.s3.region.amazonaws.com/key`) for Amazon S3. Path-style URLs are always used with a custom `endpoint`. Default: `false`.","markdownDescription":"Whether to use path-style URLs (`https://s3.region.amazonaws.com/bucket/key`) instead of virtual-hosted-style URLs (`https://bucket.s3.region.amazonaws.com/key`) for Amazon S3. Path-style URLs are always used with a custom `endpoint`. Default: `false`."},"public_url":{"type":"string","description":"Base URL for public asset access. When set, asset preview and download URLs are constructed as `{public_url}/{key}` instead of the S3 API endpoint URL. Required for Cloudflare R2 (S3 API endpoint always requires authentication); set to the `r2.dev` development URL (e.g. `https://pub-abcd1234.r2.dev`) or a custom domain. Also required for Bunny Storage; set to the hostname of a pull zone connected to the storage zone (e.g. `https://my-zone.b-cdn.net`) or a custom domain. Optional for Amazon S3 and DigitalOcean Spaces — use when serving assets through a CDN or custom domain (e.g. CloudFront or Route 53 for S3, CDN endpoint for Spaces). Backblaze B2, DigitalOcean Spaces, Scaleway Object Storage and Supabase Storage have a default public URL derived from the other options. For Neon Object Storage, the default `{endpoint}/{bucket}/{key}` URL only works with a `public_read` bucket; set `public_url` for a private bucket fronted by a CDN.","markdownDescription":"Base URL for public asset access. When set, asset preview and download URLs are constructed as `{public_url}/{key}` instead of the S3 API endpoint URL. Required for Cloudflare R2 (S3 API endpoint always requires authentication); set to the `r2.dev` development URL (e.g. `https://pub-abcd1234.r2.dev`) or a custom domain. Also required for Bunny Storage; set to the hostname of a pull zone connected to the storage zone (e.g. `https://my-zone.b-cdn.net`) or a custom domain. Optional for Amazon S3 and DigitalOcean Spaces — use when serving assets through a CDN or custom domain (e.g. CloudFront or Route 53 for S3, CDN endpoint for Spaces). Backblaze B2, DigitalOcean Spaces, Scaleway Object Storage and Supabase Storage have a default public URL derived from the other options. For Neon Object Storage, the default `{endpoint}/{bucket}/{key}` URL only works with a `public_read` bucket; set `public_url` for a private bucket fronted by a CDN."}},"additionalProperties":false},{"type":"boolean","const":false}]},"digitalocean_spaces":{"anyOf":[{"type":"object","properties":{"label":{"type":"string","description":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. `Garage` for a self-hosted server configured as `aws_s3`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Amazon S3`.","markdownDescription":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. `Garage` for a self-hosted server configured as `aws_s3`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Amazon S3`."},"access_key_id":{"type":"string","description":"AWS access key ID or equivalent (safe to store in config). Required for all services except Bunny Storage, where it defaults to `bucket`, as the storage zone name serves as the access key ID.","markdownDescription":"AWS access key ID or equivalent (safe to store in config). Required for all services except Bunny Storage, where it defaults to `bucket`, as the storage zone name serves as the access key ID."},"bucket":{"type":"string","description":"Bucket name. For Bunny Storage, this is the storage zone name.","markdownDescription":"Bucket name. For Bunny Storage, this is the storage zone name."},"region":{"type":"string","description":"Region, e.g. `us-east-1`. Required for Amazon S3, Backblaze B2, Bunny Storage (two-letter storage region code, e.g. `de`), DigitalOcean Spaces and Scaleway Object Storage. For Supabase Storage, set it to the project’s region; it defaults to `us-east-1`. For Neon Object Storage, it defaults to the region in the `endpoint` hostname. Ignored for Cloudflare R2, which always uses `auto`. With a custom `endpoint`, it’s only used to sign requests and must match the server’s region, e.g. Garage’s `s3_region` (`garage` by default) or MinIO’s `us-east-1`; otherwise every request fails with a signature mismatch.","markdownDescription":"Region, e.g. `us-east-1`. Required for Amazon S3, Backblaze B2, Bunny Storage (two-letter storage region code, e.g. `de`), DigitalOcean Spaces and Scaleway Object Storage. For Supabase Storage, set it to the project’s region; it defaults to `us-east-1`. For Neon Object Storage, it defaults to the region in the `endpoint` hostname. Ignored for Cloudflare R2, which always uses `auto`. With a custom `endpoint`, it’s only used to sign requests and must match the server’s region, e.g. Garage’s `s3_region` (`garage` by default) or MinIO’s `us-east-1`; otherwise every request fails with a signature mismatch."},"account_id":{"type":"string","description":"Cloudflare account ID. Required for Cloudflare R2.","markdownDescription":"Cloudflare account ID. Required for Cloudflare R2."},"jurisdiction":{"type":"string","enum":["default","eu","fedramp"],"description":"Cloudflare R2 jurisdiction. Required for buckets created in the EU or FedRAMP jurisdictions; the global endpoint returns an error for those buckets. Default: `'default'`.","markdownDescription":"Cloudflare R2 jurisdiction. Required for buckets created in the EU or FedRAMP jurisdictions; the global endpoint returns an error for those buckets. Default: `'default'`."},"project_id":{"type":"string","description":"Supabase project reference ID. Required for Supabase Storage.","markdownDescription":"Supabase project reference ID. Required for Supabase Storage."},"endpoint":{"type":"string","description":"Custom endpoint URL for another S3-compatible service, such as a self-hosted Garage or MinIO server, configured as `aws_s3`, e.g. `https://s3.example.com`. Objects are addressed with path-style URLs (`{endpoint}/{bucket}/{key}`), so no wildcard DNS is needed. Required for Neon Object Storage; set it to the branch’s `AWS_ENDPOINT_URL_S3` shown in the Neon Console, e.g. `https://br-cool-darkness-a1b2c3d4.storage.c-1.us-east-2.aws.neon.tech`. Ignored for the other services, whose endpoints are derived from their own options.","markdownDescription":"Custom endpoint URL for another S3-compatible service, such as a self-hosted Garage or MinIO server, configured as `aws_s3`, e.g. `https://s3.example.com`. Objects are addressed with path-style URLs (`{endpoint}/{bucket}/{key}`), so no wildcard DNS is needed. Required for Neon Object Storage; set it to the branch’s `AWS_ENDPOINT_URL_S3` shown in the Neon Console, e.g. `https://br-cool-darkness-a1b2c3d4.storage.c-1.us-east-2.aws.neon.tech`. Ignored for the other services, whose endpoints are derived from their own options."},"prefix":{"type":"string","description":"Path prefix within the bucket, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from.","markdownDescription":"Path prefix within the bucket, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from."},"force_path_style":{"type":"boolean","description":"Whether to use path-style URLs (`https://s3.region.amazonaws.com/bucket/key`) instead of virtual-hosted-style URLs (`https://bucket.s3.region.amazonaws.com/key`) for Amazon S3. Path-style URLs are always used with a custom `endpoint`. Default: `false`.","markdownDescription":"Whether to use path-style URLs (`https://s3.region.amazonaws.com/bucket/key`) instead of virtual-hosted-style URLs (`https://bucket.s3.region.amazonaws.com/key`) for Amazon S3. Path-style URLs are always used with a custom `endpoint`. Default: `false`."},"public_url":{"type":"string","description":"Base URL for public asset access. When set, asset preview and download URLs are constructed as `{public_url}/{key}` instead of the S3 API endpoint URL. Required for Cloudflare R2 (S3 API endpoint always requires authentication); set to the `r2.dev` development URL (e.g. `https://pub-abcd1234.r2.dev`) or a custom domain. Also required for Bunny Storage; set to the hostname of a pull zone connected to the storage zone (e.g. `https://my-zone.b-cdn.net`) or a custom domain. Optional for Amazon S3 and DigitalOcean Spaces — use when serving assets through a CDN or custom domain (e.g. CloudFront or Route 53 for S3, CDN endpoint for Spaces). Backblaze B2, DigitalOcean Spaces, Scaleway Object Storage and Supabase Storage have a default public URL derived from the other options. For Neon Object Storage, the default `{endpoint}/{bucket}/{key}` URL only works with a `public_read` bucket; set `public_url` for a private bucket fronted by a CDN.","markdownDescription":"Base URL for public asset access. When set, asset preview and download URLs are constructed as `{public_url}/{key}` instead of the S3 API endpoint URL. Required for Cloudflare R2 (S3 API endpoint always requires authentication); set to the `r2.dev` development URL (e.g. `https://pub-abcd1234.r2.dev`) or a custom domain. Also required for Bunny Storage; set to the hostname of a pull zone connected to the storage zone (e.g. `https://my-zone.b-cdn.net`) or a custom domain. Optional for Amazon S3 and DigitalOcean Spaces — use when serving assets through a CDN or custom domain (e.g. CloudFront or Route 53 for S3, CDN endpoint for Spaces). Backblaze B2, DigitalOcean Spaces, Scaleway Object Storage and Supabase Storage have a default public URL derived from the other options. For Neon Object Storage, the default `{endpoint}/{bucket}/{key}` URL only works with a `public_read` bucket; set `public_url` for a private bucket fronted by a CDN."}},"additionalProperties":false},{"type":"boolean","const":false}]},"neon_object_storage":{"anyOf":[{"type":"object","properties":{"label":{"type":"string","description":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. `Garage` for a self-hosted server configured as `aws_s3`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Amazon S3`.","markdownDescription":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. `Garage` for a self-hosted server configured as `aws_s3`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Amazon S3`."},"access_key_id":{"type":"string","description":"AWS access key ID or equivalent (safe to store in config). Required for all services except Bunny Storage, where it defaults to `bucket`, as the storage zone name serves as the access key ID.","markdownDescription":"AWS access key ID or equivalent (safe to store in config). Required for all services except Bunny Storage, where it defaults to `bucket`, as the storage zone name serves as the access key ID."},"bucket":{"type":"string","description":"Bucket name. For Bunny Storage, this is the storage zone name.","markdownDescription":"Bucket name. For Bunny Storage, this is the storage zone name."},"region":{"type":"string","description":"Region, e.g. `us-east-1`. Required for Amazon S3, Backblaze B2, Bunny Storage (two-letter storage region code, e.g. `de`), DigitalOcean Spaces and Scaleway Object Storage. For Supabase Storage, set it to the project’s region; it defaults to `us-east-1`. For Neon Object Storage, it defaults to the region in the `endpoint` hostname. Ignored for Cloudflare R2, which always uses `auto`. With a custom `endpoint`, it’s only used to sign requests and must match the server’s region, e.g. Garage’s `s3_region` (`garage` by default) or MinIO’s `us-east-1`; otherwise every request fails with a signature mismatch.","markdownDescription":"Region, e.g. `us-east-1`. Required for Amazon S3, Backblaze B2, Bunny Storage (two-letter storage region code, e.g. `de`), DigitalOcean Spaces and Scaleway Object Storage. For Supabase Storage, set it to the project’s region; it defaults to `us-east-1`. For Neon Object Storage, it defaults to the region in the `endpoint` hostname. Ignored for Cloudflare R2, which always uses `auto`. With a custom `endpoint`, it’s only used to sign requests and must match the server’s region, e.g. Garage’s `s3_region` (`garage` by default) or MinIO’s `us-east-1`; otherwise every request fails with a signature mismatch."},"account_id":{"type":"string","description":"Cloudflare account ID. Required for Cloudflare R2.","markdownDescription":"Cloudflare account ID. Required for Cloudflare R2."},"jurisdiction":{"type":"string","enum":["default","eu","fedramp"],"description":"Cloudflare R2 jurisdiction. Required for buckets created in the EU or FedRAMP jurisdictions; the global endpoint returns an error for those buckets. Default: `'default'`.","markdownDescription":"Cloudflare R2 jurisdiction. Required for buckets created in the EU or FedRAMP jurisdictions; the global endpoint returns an error for those buckets. Default: `'default'`."},"project_id":{"type":"string","description":"Supabase project reference ID. Required for Supabase Storage.","markdownDescription":"Supabase project reference ID. Required for Supabase Storage."},"endpoint":{"type":"string","description":"Custom endpoint URL for another S3-compatible service, such as a self-hosted Garage or MinIO server, configured as `aws_s3`, e.g. `https://s3.example.com`. Objects are addressed with path-style URLs (`{endpoint}/{bucket}/{key}`), so no wildcard DNS is needed. Required for Neon Object Storage; set it to the branch’s `AWS_ENDPOINT_URL_S3` shown in the Neon Console, e.g. `https://br-cool-darkness-a1b2c3d4.storage.c-1.us-east-2.aws.neon.tech`. Ignored for the other services, whose endpoints are derived from their own options.","markdownDescription":"Custom endpoint URL for another S3-compatible service, such as a self-hosted Garage or MinIO server, configured as `aws_s3`, e.g. `https://s3.example.com`. Objects are addressed with path-style URLs (`{endpoint}/{bucket}/{key}`), so no wildcard DNS is needed. Required for Neon Object Storage; set it to the branch’s `AWS_ENDPOINT_URL_S3` shown in the Neon Console, e.g. `https://br-cool-darkness-a1b2c3d4.storage.c-1.us-east-2.aws.neon.tech`. Ignored for the other services, whose endpoints are derived from their own options."},"prefix":{"type":"string","description":"Path prefix within the bucket, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from.","markdownDescription":"Path prefix within the bucket, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from."},"force_path_style":{"type":"boolean","description":"Whether to use path-style URLs (`https://s3.region.amazonaws.com/bucket/key`) instead of virtual-hosted-style URLs (`https://bucket.s3.region.amazonaws.com/key`) for Amazon S3. Path-style URLs are always used with a custom `endpoint`. Default: `false`.","markdownDescription":"Whether to use path-style URLs (`https://s3.region.amazonaws.com/bucket/key`) instead of virtual-hosted-style URLs (`https://bucket.s3.region.amazonaws.com/key`) for Amazon S3. Path-style URLs are always used with a custom `endpoint`. Default: `false`."},"public_url":{"type":"string","description":"Base URL for public asset access. When set, asset preview and download URLs are constructed as `{public_url}/{key}` instead of the S3 API endpoint URL. Required for Cloudflare R2 (S3 API endpoint always requires authentication); set to the `r2.dev` development URL (e.g. `https://pub-abcd1234.r2.dev`) or a custom domain. Also required for Bunny Storage; set to the hostname of a pull zone connected to the storage zone (e.g. `https://my-zone.b-cdn.net`) or a custom domain. Optional for Amazon S3 and DigitalOcean Spaces — use when serving assets through a CDN or custom domain (e.g. CloudFront or Route 53 for S3, CDN endpoint for Spaces). Backblaze B2, DigitalOcean Spaces, Scaleway Object Storage and Supabase Storage have a default public URL derived from the other options. For Neon Object Storage, the default `{endpoint}/{bucket}/{key}` URL only works with a `public_read` bucket; set `public_url` for a private bucket fronted by a CDN.","markdownDescription":"Base URL for public asset access. When set, asset preview and download URLs are constructed as `{public_url}/{key}` instead of the S3 API endpoint URL. Required for Cloudflare R2 (S3 API endpoint always requires authentication); set to the `r2.dev` development URL (e.g. `https://pub-abcd1234.r2.dev`) or a custom domain. Also required for Bunny Storage; set to the hostname of a pull zone connected to the storage zone (e.g. `https://my-zone.b-cdn.net`) or a custom domain. Optional for Amazon S3 and DigitalOcean Spaces — use when serving assets through a CDN or custom domain (e.g. CloudFront or Route 53 for S3, CDN endpoint for Spaces). Backblaze B2, DigitalOcean Spaces, Scaleway Object Storage and Supabase Storage have a default public URL derived from the other options. For Neon Object Storage, the default `{endpoint}/{bucket}/{key}` URL only works with a `public_read` bucket; set `public_url` for a private bucket fronted by a CDN."}},"additionalProperties":false},{"type":"boolean","const":false}]},"scaleway_object_storage":{"anyOf":[{"type":"object","properties":{"label":{"type":"string","description":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. `Garage` for a self-hosted server configured as `aws_s3`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Amazon S3`.","markdownDescription":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. `Garage` for a self-hosted server configured as `aws_s3`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Amazon S3`."},"access_key_id":{"type":"string","description":"AWS access key ID or equivalent (safe to store in config). Required for all services except Bunny Storage, where it defaults to `bucket`, as the storage zone name serves as the access key ID.","markdownDescription":"AWS access key ID or equivalent (safe to store in config). Required for all services except Bunny Storage, where it defaults to `bucket`, as the storage zone name serves as the access key ID."},"bucket":{"type":"string","description":"Bucket name. For Bunny Storage, this is the storage zone name.","markdownDescription":"Bucket name. For Bunny Storage, this is the storage zone name."},"region":{"type":"string","description":"Region, e.g. `us-east-1`. Required for Amazon S3, Backblaze B2, Bunny Storage (two-letter storage region code, e.g. `de`), DigitalOcean Spaces and Scaleway Object Storage. For Supabase Storage, set it to the project’s region; it defaults to `us-east-1`. For Neon Object Storage, it defaults to the region in the `endpoint` hostname. Ignored for Cloudflare R2, which always uses `auto`. With a custom `endpoint`, it’s only used to sign requests and must match the server’s region, e.g. Garage’s `s3_region` (`garage` by default) or MinIO’s `us-east-1`; otherwise every request fails with a signature mismatch.","markdownDescription":"Region, e.g. `us-east-1`. Required for Amazon S3, Backblaze B2, Bunny Storage (two-letter storage region code, e.g. `de`), DigitalOcean Spaces and Scaleway Object Storage. For Supabase Storage, set it to the project’s region; it defaults to `us-east-1`. For Neon Object Storage, it defaults to the region in the `endpoint` hostname. Ignored for Cloudflare R2, which always uses `auto`. With a custom `endpoint`, it’s only used to sign requests and must match the server’s region, e.g. Garage’s `s3_region` (`garage` by default) or MinIO’s `us-east-1`; otherwise every request fails with a signature mismatch."},"account_id":{"type":"string","description":"Cloudflare account ID. Required for Cloudflare R2.","markdownDescription":"Cloudflare account ID. Required for Cloudflare R2."},"jurisdiction":{"type":"string","enum":["default","eu","fedramp"],"description":"Cloudflare R2 jurisdiction. Required for buckets created in the EU or FedRAMP jurisdictions; the global endpoint returns an error for those buckets. Default: `'default'`.","markdownDescription":"Cloudflare R2 jurisdiction. Required for buckets created in the EU or FedRAMP jurisdictions; the global endpoint returns an error for those buckets. Default: `'default'`."},"project_id":{"type":"string","description":"Supabase project reference ID. Required for Supabase Storage.","markdownDescription":"Supabase project reference ID. Required for Supabase Storage."},"endpoint":{"type":"string","description":"Custom endpoint URL for another S3-compatible service, such as a self-hosted Garage or MinIO server, configured as `aws_s3`, e.g. `https://s3.example.com`. Objects are addressed with path-style URLs (`{endpoint}/{bucket}/{key}`), so no wildcard DNS is needed. Required for Neon Object Storage; set it to the branch’s `AWS_ENDPOINT_URL_S3` shown in the Neon Console, e.g. `https://br-cool-darkness-a1b2c3d4.storage.c-1.us-east-2.aws.neon.tech`. Ignored for the other services, whose endpoints are derived from their own options.","markdownDescription":"Custom endpoint URL for another S3-compatible service, such as a self-hosted Garage or MinIO server, configured as `aws_s3`, e.g. `https://s3.example.com`. Objects are addressed with path-style URLs (`{endpoint}/{bucket}/{key}`), so no wildcard DNS is needed. Required for Neon Object Storage; set it to the branch’s `AWS_ENDPOINT_URL_S3` shown in the Neon Console, e.g. `https://br-cool-darkness-a1b2c3d4.storage.c-1.us-east-2.aws.neon.tech`. Ignored for the other services, whose endpoints are derived from their own options."},"prefix":{"type":"string","description":"Path prefix within the bucket, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from.","markdownDescription":"Path prefix within the bucket, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from."},"force_path_style":{"type":"boolean","description":"Whether to use path-style URLs (`https://s3.region.amazonaws.com/bucket/key`) instead of virtual-hosted-style URLs (`https://bucket.s3.region.amazonaws.com/key`) for Amazon S3. Path-style URLs are always used with a custom `endpoint`. Default: `false`.","markdownDescription":"Whether to use path-style URLs (`https://s3.region.amazonaws.com/bucket/key`) instead of virtual-hosted-style URLs (`https://bucket.s3.region.amazonaws.com/key`) for Amazon S3. Path-style URLs are always used with a custom `endpoint`. Default: `false`."},"public_url":{"type":"string","description":"Base URL for public asset access. When set, asset preview and download URLs are constructed as `{public_url}/{key}` instead of the S3 API endpoint URL. Required for Cloudflare R2 (S3 API endpoint always requires authentication); set to the `r2.dev` development URL (e.g. `https://pub-abcd1234.r2.dev`) or a custom domain. Also required for Bunny Storage; set to the hostname of a pull zone connected to the storage zone (e.g. `https://my-zone.b-cdn.net`) or a custom domain. Optional for Amazon S3 and DigitalOcean Spaces — use when serving assets through a CDN or custom domain (e.g. CloudFront or Route 53 for S3, CDN endpoint for Spaces). Backblaze B2, DigitalOcean Spaces, Scaleway Object Storage and Supabase Storage have a default public URL derived from the other options. For Neon Object Storage, the default `{endpoint}/{bucket}/{key}` URL only works with a `public_read` bucket; set `public_url` for a private bucket fronted by a CDN.","markdownDescription":"Base URL for public asset access. When set, asset preview and download URLs are constructed as `{public_url}/{key}` instead of the S3 API endpoint URL. Required for Cloudflare R2 (S3 API endpoint always requires authentication); set to the `r2.dev` development URL (e.g. `https://pub-abcd1234.r2.dev`) or a custom domain. Also required for Bunny Storage; set to the hostname of a pull zone connected to the storage zone (e.g. `https://my-zone.b-cdn.net`) or a custom domain. Optional for Amazon S3 and DigitalOcean Spaces — use when serving assets through a CDN or custom domain (e.g. CloudFront or Route 53 for S3, CDN endpoint for Spaces). Backblaze B2, DigitalOcean Spaces, Scaleway Object Storage and Supabase Storage have a default public URL derived from the other options. For Neon Object Storage, the default `{endpoint}/{bucket}/{key}` URL only works with a `public_read` bucket; set `public_url` for a private bucket fronted by a CDN."}},"additionalProperties":false},{"type":"boolean","const":false}]},"supabase_storage":{"anyOf":[{"type":"object","properties":{"label":{"type":"string","description":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. `Garage` for a self-hosted server configured as `aws_s3`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Amazon S3`.","markdownDescription":"Name to show for the service in the Asset Library, the Select Assets dialog and the Settings dialog, instead of the default one, e.g. `Garage` for a self-hosted server configured as `aws_s3`. It’s not localized, and it’s only read from the site-level options, so it’s ignored in the `media_libraries` option of a field. Default: the service name, e.g. `Amazon S3`."},"access_key_id":{"type":"string","description":"AWS access key ID or equivalent (safe to store in config). Required for all services except Bunny Storage, where it defaults to `bucket`, as the storage zone name serves as the access key ID.","markdownDescription":"AWS access key ID or equivalent (safe to store in config). Required for all services except Bunny Storage, where it defaults to `bucket`, as the storage zone name serves as the access key ID."},"bucket":{"type":"string","description":"Bucket name. For Bunny Storage, this is the storage zone name.","markdownDescription":"Bucket name. For Bunny Storage, this is the storage zone name."},"region":{"type":"string","description":"Region, e.g. `us-east-1`. Required for Amazon S3, Backblaze B2, Bunny Storage (two-letter storage region code, e.g. `de`), DigitalOcean Spaces and Scaleway Object Storage. For Supabase Storage, set it to the project’s region; it defaults to `us-east-1`. For Neon Object Storage, it defaults to the region in the `endpoint` hostname. Ignored for Cloudflare R2, which always uses `auto`. With a custom `endpoint`, it’s only used to sign requests and must match the server’s region, e.g. Garage’s `s3_region` (`garage` by default) or MinIO’s `us-east-1`; otherwise every request fails with a signature mismatch.","markdownDescription":"Region, e.g. `us-east-1`. Required for Amazon S3, Backblaze B2, Bunny Storage (two-letter storage region code, e.g. `de`), DigitalOcean Spaces and Scaleway Object Storage. For Supabase Storage, set it to the project’s region; it defaults to `us-east-1`. For Neon Object Storage, it defaults to the region in the `endpoint` hostname. Ignored for Cloudflare R2, which always uses `auto`. With a custom `endpoint`, it’s only used to sign requests and must match the server’s region, e.g. Garage’s `s3_region` (`garage` by default) or MinIO’s `us-east-1`; otherwise every request fails with a signature mismatch."},"account_id":{"type":"string","description":"Cloudflare account ID. Required for Cloudflare R2.","markdownDescription":"Cloudflare account ID. Required for Cloudflare R2."},"jurisdiction":{"type":"string","enum":["default","eu","fedramp"],"description":"Cloudflare R2 jurisdiction. Required for buckets created in the EU or FedRAMP jurisdictions; the global endpoint returns an error for those buckets. Default: `'default'`.","markdownDescription":"Cloudflare R2 jurisdiction. Required for buckets created in the EU or FedRAMP jurisdictions; the global endpoint returns an error for those buckets. Default: `'default'`."},"project_id":{"type":"string","description":"Supabase project reference ID. Required for Supabase Storage.","markdownDescription":"Supabase project reference ID. Required for Supabase Storage."},"endpoint":{"type":"string","description":"Custom endpoint URL for another S3-compatible service, such as a self-hosted Garage or MinIO server, configured as `aws_s3`, e.g. `https://s3.example.com`. Objects are addressed with path-style URLs (`{endpoint}/{bucket}/{key}`), so no wildcard DNS is needed. Required for Neon Object Storage; set it to the branch’s `AWS_ENDPOINT_URL_S3` shown in the Neon Console, e.g. `https://br-cool-darkness-a1b2c3d4.storage.c-1.us-east-2.aws.neon.tech`. Ignored for the other services, whose endpoints are derived from their own options.","markdownDescription":"Custom endpoint URL for another S3-compatible service, such as a self-hosted Garage or MinIO server, configured as `aws_s3`, e.g. `https://s3.example.com`. Objects are addressed with path-style URLs (`{endpoint}/{bucket}/{key}`), so no wildcard DNS is needed. Required for Neon Object Storage; set it to the branch’s `AWS_ENDPOINT_URL_S3` shown in the Neon Console, e.g. `https://br-cool-darkness-a1b2c3d4.storage.c-1.us-east-2.aws.neon.tech`. Ignored for the other services, whose endpoints are derived from their own options."},"prefix":{"type":"string","description":"Path prefix within the bucket, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from.","markdownDescription":"Path prefix within the bucket, e.g. `uploads/`. A trailing slash is added if missing. In the `media_libraries` option of a field, it can contain template tags to keep the files of an entry in a folder of their own, e.g. `{{fields.release}}/`. Each value is slugified, and files can’t be listed or uploaded until the fields it depends on are filled in. The tags aren’t supported at the site level, where there’s no entry to read the values from."},"force_path_style":{"type":"boolean","description":"Whether to use path-style URLs (`https://s3.region.amazonaws.com/bucket/key`) instead of virtual-hosted-style URLs (`https://bucket.s3.region.amazonaws.com/key`) for Amazon S3. Path-style URLs are always used with a custom `endpoint`. Default: `false`.","markdownDescription":"Whether to use path-style URLs (`https://s3.region.amazonaws.com/bucket/key`) instead of virtual-hosted-style URLs (`https://bucket.s3.region.amazonaws.com/key`) for Amazon S3. Path-style URLs are always used with a custom `endpoint`. Default: `false`."},"public_url":{"type":"string","description":"Base URL for public asset access. When set, asset preview and download URLs are constructed as `{public_url}/{key}` instead of the S3 API endpoint URL. Required for Cloudflare R2 (S3 API endpoint always requires authentication); set to the `r2.dev` development URL (e.g. `https://pub-abcd1234.r2.dev`) or a custom domain. Also required for Bunny Storage; set to the hostname of a pull zone connected to the storage zone (e.g. `https://my-zone.b-cdn.net`) or a custom domain. Optional for Amazon S3 and DigitalOcean Spaces — use when serving assets through a CDN or custom domain (e.g. CloudFront or Route 53 for S3, CDN endpoint for Spaces). Backblaze B2, DigitalOcean Spaces, Scaleway Object Storage and Supabase Storage have a default public URL derived from the other options. For Neon Object Storage, the default `{endpoint}/{bucket}/{key}` URL only works with a `public_read` bucket; set `public_url` for a private bucket fronted by a CDN.","markdownDescription":"Base URL for public asset access. When set, asset preview and download URLs are constructed as `{public_url}/{key}` instead of the S3 API endpoint URL. Required for Cloudflare R2 (S3 API endpoint always requires authentication); set to the `r2.dev` development URL (e.g. `https://pub-abcd1234.r2.dev`) or a custom domain. Also required for Bunny Storage; set to the hostname of a pull zone connected to the storage zone (e.g. `https://my-zone.b-cdn.net`) or a custom domain. Optional for Amazon S3 and DigitalOcean Spaces — use when serving assets through a CDN or custom domain (e.g. CloudFront or Route 53 for S3, CDN endpoint for Spaces). Backblaze B2, DigitalOcean Spaces, Scaleway Object Storage and Supabase Storage have a default public URL derived from the other options. For Neon Object Storage, the default `{endpoint}/{bucket}/{key}` URL only works with a `public_read` bucket; set `public_url` for a private bucket fronted by a CDN."}},"additionalProperties":false},{"type":"boolean","const":false}]},"all":{"$ref":"#/definitions/SharedMediaLibraryOptions","description":"Default options that apply to the default media storage and to files uploaded to the cloud storage services, except for Cloudinary, which uses its own widget. For the default media storage, these options can be overridden by the options in `default.config` at the same level. Field-level `all` options take precedence over global `default.config` options.","markdownDescription":"Default options that apply to the default media storage and to files uploaded to the cloud storage services, except for Cloudinary, which uses its own widget. For the default media storage, these options can be overridden by the options in `default.config` at the same level. Field-level `all` options take precedence over global `default.config` options."},"default":{"anyOf":[{"type":"boolean","const":false},{"$ref":"#/definitions/DefaultMediaLibrary"}],"description":"Options for the default media storage. Set to `false` to explicitly disable the default (internal) storage.","markdownDescription":"Options for the default media storage. Set to `false` to explicitly disable the default (internal) storage."},"cloudinary":{"anyOf":[{"type":"boolean","const":false},{"$ref":"#/definitions/CloudinaryMediaLibrary"}],"description":"Options for the Cloudinary media storage. Set to `false` to explicitly disable.","markdownDescription":"Options for the Cloudinary media storage. Set to `false` to explicitly disable."},"uploadcare":{"anyOf":[{"type":"boolean","const":false},{"$ref":"#/definitions/UploadcareMediaLibrary"}],"description":"Options for the Uploadcare media storage. Set to `false` to explicitly disable.","markdownDescription":"Options for the Uploadcare media storage. Set to `false` to explicitly disable."},"stock_assets":{"anyOf":[{"type":"boolean","const":false},{"$ref":"#/definitions/StockMediaLibrary"}],"description":"Options for the unified stock photo/video media library. Set to `false` to explicitly disable.","markdownDescription":"Options for the unified stock photo/video media library. Set to `false` to explicitly disable."}},"description":"Field-level `media_libraries` option. The options of a storage are merged over the global options of the same storage, so the options the storage requires, such as an S3 `bucket`, can be left to the global ones.","markdownDescription":"Field-level `media_libraries` option. The options of a storage are merged over the global options of the same storage, so the options the storage requires, such as an S3 `bucket`, can be left to the global ones."},"ImageField":{"type":"object","additionalProperties":false,"properties":{"unique":{"type":"boolean","description":"Whether the value must be different from the value of the same field in every other entry of the collection, like a `UNIQUE` constraint in a relational database. An empty value is not checked; combine it with `required: true` to make sure every entry has a distinct value. Only available in an entry collection, and ignored for a field that takes multiple values, or a field in a List field or a rich text editor component. A Color field value is compared regardless of case, a Number field value by its numeric value, and a File or Image field value just uploaded isn’t compared, as it’s a new file. Default: `false`.","markdownDescription":"Whether the value must be different from the value of the same field in every other entry of the collection, like a `UNIQUE` constraint in a relational database. An empty value is not checked; combine it with `required: true` to make sure every entry has a distinct value. Only available in an entry collection, and ignored for a field that takes multiple values, or a field in a List field or a rich text editor component. A Color field value is compared regardless of case, a Number field value by its numeric value, and a File or Image field value just uploaded isn’t compared, as it’s a new file. Default: `false`."},"widget":{"type":"string","const":"image","description":"Field type.","markdownDescription":"Field type."},"default":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Default value. Accepts a file path or complete URL. If the `multiple` option is set to `true`, it accepts an array of file paths or URLs.","markdownDescription":"Default value. Accepts a file path or complete URL. If the `multiple` option is set to `true`, it accepts an array of file paths or URLs."},"default_localized":{"type":"object","additionalProperties":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"description":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"multiple":{"type":"boolean","description":"Whether to allow multiple file selection for the field. Default: `false`, unless the `multiple` option is enabled in a media library’s `config`.","markdownDescription":"Whether to allow multiple file selection for the field. Default: `false`, unless the `multiple` option is enabled in a media library’s `config`."},"min":{"type":"number","description":"Minimum number of files that can be selected. Ignored unless the `multiple` option is set to `true`. Default: `0`.","markdownDescription":"Minimum number of files that can be selected. Ignored unless the `multiple` option is set to `true`. Default: `0`."},"max":{"type":"number","description":"Maximum number of files that can be selected. Ignored unless the `multiple` option is set to `true`. Default: `Infinity`.","markdownDescription":"Maximum number of files that can be selected. Ignored unless the `multiple` option is set to `true`. Default: `Infinity`."},"accept":{"type":"string","description":"File types that the field should accept. The value would be a comma-separated list of unique file type specifiers, the format used for the HTML [`accept`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/accept) attribute. Default: any file for a File field; the supported image formats for an Image field, including HEIC if a `heic` or `raster_image` transformation is defined.","markdownDescription":"File types that the field should accept. The value would be a comma-separated list of unique file type specifiers, the format used for the HTML [`accept`](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/accept) attribute. Default: any file for a File field; the supported image formats for an Image field, including HEIC if a `heic` or `raster_image` transformation is defined."},"choose_url":{"type":"boolean","description":"Whether to show the URL input UI. Default: `true`.","markdownDescription":"Whether to show the URL input UI. Default: `true`."},"media_folder":{"type":"string","description":"Internal media folder path for the field. Default: global or collection-level `media_folder` value.","markdownDescription":"Internal media folder path for the field. Default: global or collection-level `media_folder` value."},"public_folder":{"type":"string","description":"Public media folder path for the field. Default: `media_folder` option value.","markdownDescription":"Public media folder path for the field. Default: `media_folder` option value."},"media_library":{"$ref":"#/definitions/FieldLegacyMediaLibrary","description":"Legacy media storage option that allows only one library. It overrides the global options of the same library in the same way as `media_libraries`; without a `name`, it applies to the library named in the global `media_library` option. Use `media_libraries` instead to support multiple libraries.","markdownDescription":"Legacy media storage option that allows only one library. It overrides the global options of the same library in the same way as `media_libraries`; without a `name`, it applies to the library named in the global `media_library` option. Use `media_libraries` instead to support multiple libraries."},"media_libraries":{"$ref":"#/definitions/FieldMediaLibraries","description":"Unified media storage option that supports multiple libraries. Each library’s options, including `all`, are merged over the same library’s global options, one level deep, so a field only needs to set what it overrides: nested objects such as `config` are merged key by key, while other values, including arrays, are replaced. `false` disables the library for the field. Libraries not defined here fall back to the global configuration.","markdownDescription":"Unified media storage option that supports multiple libraries. Each library’s options, including `all`, are merged over the same library’s global options, one level deep, so a field only needs to set what it overrides: nested objects such as `config` are merged key by key, while other values, including arrays, are replaced. `false` disables the library for the field. Libraries not defined here fall back to the global configuration."},"pattern":{"type":"array","minItems":2,"items":[{"anyOf":[{"type":"string"},{"type":"string","format":"regex"}]},{"type":"string"}],"maxItems":2,"description":"Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message to be displayed when the input value does not match the pattern. If the field takes multiple values, like Decap CMS, the pattern is tested against all the values joined with commas, e.g. `foo,bar,baz`, rather than against each value, and not at all while the field is empty. Numbers are tested as strings, and a file just uploaded is tested by its name.","markdownDescription":"Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message to be displayed when the input value does not match the pattern. If the field takes multiple values, like Decap CMS, the pattern is tested against all the values joined with commas, e.g. `foo,bar,baz`, rather than against each value, and not at all while the field is empty. Numbers are tested as strings, and a file just uploaded is tested by its name."},"hint":{"type":"string","description":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only.","markdownDescription":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only."},"hint_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"preview":{"type":"boolean","description":"Whether to show the preview of the field. Default: `true`.","markdownDescription":"Whether to show the preview of the field. Default: `true`."},"required":{"anyOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"}}],"description":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean.","markdownDescription":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean."},"readonly":{"type":"boolean","description":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users.","markdownDescription":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users."},"i18n":{"anyOf":[{"$ref":"#/definitions/FieldI18nStrategy"},{"type":"string","const":"duplicate_if_empty"}],"description":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others, except in a rich text editor component, where it works like `translate`. `duplicate_if_empty` copies the default locale’s value to non-default locales only where the value is empty, or still the same as the default locale’s value, while the field can be edited in every locale. It’s not supported for a File, Image, Relation or Select field that accepts multiple values. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details.","markdownDescription":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others, except in a rich text editor component, where it works like `translate`. `duplicate_if_empty` copies the default locale’s value to non-default locales only where the value is empty, or still the same as the default locale’s value, while the field can be edited in every locale. It’s not supported for a File, Image, Relation or Select field that accepts multiple values. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details."},"name":{"type":"string","description":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets.","markdownDescription":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets."},"label":{"type":"string","description":"Label of the field to be displayed in the editor UI. Default: `name` field value.","markdownDescription":"Label of the field to be displayed in the editor UI. Default: `name` field value."},"label_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"comment":{"type":"string","description":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments.","markdownDescription":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments."}},"required":["name","widget"],"description":"Image field definition.","markdownDescription":"Image field definition."},"KeyValueField":{"type":"object","additionalProperties":false,"properties":{"min":{"type":"number","description":"Minimum number of items that can be added. Default: `0`.","markdownDescription":"Minimum number of items that can be added. Default: `0`."},"max":{"type":"number","description":"Maximum number of items that can be added. Default: `Infinity`.","markdownDescription":"Maximum number of items that can be added. Default: `Infinity`."},"widget":{"type":"string","const":"keyvalue","description":"Field type.","markdownDescription":"Field type."},"default":{"type":"object","additionalProperties":{"type":"string"},"description":"Default key-value pairs.","markdownDescription":"Default key-value pairs."},"default_localized":{"type":"object","additionalProperties":{"type":"object","additionalProperties":{"type":"string"}},"description":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"key_label":{"type":"string","description":"Label for the key column. Default: Key or its localized version.","markdownDescription":"Label for the key column. Default: Key or its localized version."},"value_label":{"type":"string","description":"Label for the value column. Default: Value or its localized version.","markdownDescription":"Label for the value column. Default: Value or its localized version."},"label_singular":{"type":"string","description":"Label to be displayed on the Add button. Default: `label` field value.","markdownDescription":"Label to be displayed on the Add button. Default: `label` field value."},"label_singular_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Singular labels for specific locales, keyed by locale code, taking precedence over `label_singular`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Singular labels for specific locales, keyed by locale code, taking precedence over `label_singular`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"root":{"type":"boolean","description":"Whether to save the field value at the top-level of the data file without the field name. It only works if the field is the only field in the collection or file. If the `single_file` i18n structure is enabled, the key-value pairs will still be saved under locale keys. Default: `false`. See the [documentation](https://sveltiacms.app/en/docs/fields/keyvalue#top-level-key-value-pairs) for details.","markdownDescription":"Whether to save the field value at the top-level of the data file without the field name. It only works if the field is the only field in the collection or file. If the `single_file` i18n structure is enabled, the key-value pairs will still be saved under locale keys. Default: `false`. See the [documentation](https://sveltiacms.app/en/docs/fields/keyvalue#top-level-key-value-pairs) for details."},"hint":{"type":"string","description":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only.","markdownDescription":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only."},"hint_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"preview":{"type":"boolean","description":"Whether to show the preview of the field. Default: `true`.","markdownDescription":"Whether to show the preview of the field. Default: `true`."},"required":{"anyOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"}}],"description":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean.","markdownDescription":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean."},"readonly":{"type":"boolean","description":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users.","markdownDescription":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users."},"i18n":{"anyOf":[{"$ref":"#/definitions/FieldI18nStrategy"},{"type":"string","const":"duplicate_keys"}],"description":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s key-value pairs to them. `sync` keeps the pairs the same in every locale as well, but the field can be edited in any locale, and the pairs are copied from there to the others, except in a rich text editor component, where it works like `translate`. `duplicate_keys` copies the keys only: the keys are read-only in non-default locales and kept in sync with the default locale, while the values can be edited in each locale. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details.","markdownDescription":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s key-value pairs to them. `sync` keeps the pairs the same in every locale as well, but the field can be edited in any locale, and the pairs are copied from there to the others, except in a rich text editor component, where it works like `translate`. `duplicate_keys` copies the keys only: the keys are read-only in non-default locales and kept in sync with the default locale, while the values can be edited in each locale. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details."},"name":{"type":"string","description":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets.","markdownDescription":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets."},"label":{"type":"string","description":"Label of the field to be displayed in the editor UI. Default: `name` field value.","markdownDescription":"Label of the field to be displayed in the editor UI. Default: `name` field value."},"label_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"comment":{"type":"string","description":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments.","markdownDescription":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments."}},"required":["name","widget"],"description":"KeyValue field definition.","markdownDescription":"KeyValue field definition."},"ListField":{"anyOf":[{"$ref":"#/definitions/SimpleListField"},{"$ref":"#/definitions/ListFieldWithSubField"},{"$ref":"#/definitions/ListFieldWithSubFields"},{"$ref":"#/definitions/ListFieldWithTypes"}],"description":"List field definition.","markdownDescription":"List field definition."},"SimpleListField":{"type":"object","additionalProperties":false,"properties":{"pattern":{"type":"array","minItems":2,"items":[{"anyOf":[{"type":"string"},{"type":"string","format":"regex"}]},{"type":"string"}],"maxItems":2,"description":"Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message to be displayed when the input value does not match the pattern. Like Decap CMS, the pattern is tested against all the list items joined with commas, e.g. `foo,bar,baz`, rather than against each item, and not at all while the list is empty.","markdownDescription":"Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message to be displayed when the input value does not match the pattern. Like Decap CMS, the pattern is tested against all the list items joined with commas, e.g. `foo,bar,baz`, rather than against each item, and not at all while the list is empty."},"root":{"type":"boolean","description":"Whether to save the field value at the top-level of the data file without the field name. It only works if the field is the only field in the collection or file, and the file format is not TOML. If the `single_file` i18n structure is enabled, the lists will still be saved under locale keys. Default: `false`. See the [documentation](https://sveltiacms.app/en/docs/fields/list#top-level-list) for details.","markdownDescription":"Whether to save the field value at the top-level of the data file without the field name. It only works if the field is the only field in the collection or file, and the file format is not TOML. If the `single_file` i18n structure is enabled, the lists will still be saved under locale keys. Default: `false`. See the [documentation](https://sveltiacms.app/en/docs/fields/list#top-level-list) for details."},"min":{"type":"number","description":"Minimum number of items that can be added. Default: `0`.","markdownDescription":"Minimum number of items that can be added. Default: `0`."},"max":{"type":"number","description":"Maximum number of items that can be added. Default: `Infinity`.","markdownDescription":"Maximum number of items that can be added. Default: `Infinity`."},"widget":{"type":"string","const":"list","description":"Field type.","markdownDescription":"Field type."},"default":{"type":"array","items":{},"description":"Default value. The format depends on how the field is configured, with or without `field`, `fields` or `types`: strings for a simple list, values of the subfield for a list with `field`, e.g. numbers for a Number subfield, or objects for a list with `fields` or `types`. See the [documentation](https://sveltiacms.app/en/docs/fields/list) for details.","markdownDescription":"Default value. The format depends on how the field is configured, with or without `field`, `fields` or `types`: strings for a simple list, values of the subfield for a list with `field`, e.g. numbers for a Number subfield, or objects for a list with `fields` or `types`. See the [documentation](https://sveltiacms.app/en/docs/fields/list) for details."},"default_localized":{"type":"object","additionalProperties":{"type":"array","items":{}},"description":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"label_singular":{"type":"string","description":"Label to be displayed on the Add button. Default: `label` field value.","markdownDescription":"Label to be displayed on the Add button. Default: `label` field value."},"label_singular_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Singular labels for specific locales, keyed by locale code, taking precedence over `label_singular`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Singular labels for specific locales, keyed by locale code, taking precedence over `label_singular`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"hint":{"type":"string","description":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only.","markdownDescription":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only."},"hint_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"preview":{"type":"boolean","description":"Whether to show the preview of the field. Default: `true`.","markdownDescription":"Whether to show the preview of the field. Default: `true`."},"required":{"anyOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"}}],"description":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean.","markdownDescription":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean."},"readonly":{"type":"boolean","description":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users.","markdownDescription":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users."},"i18n":{"$ref":"#/definitions/FieldI18nStrategy","description":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others. In a rich text editor component, whose values are stored in each locale’s text, it works like `translate`. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details.","markdownDescription":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others. In a rich text editor component, whose values are stored in each locale’s text, it works like `translate`. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details."},"name":{"type":"string","description":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets.","markdownDescription":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets."},"label":{"type":"string","description":"Label of the field to be displayed in the editor UI. Default: `name` field value.","markdownDescription":"Label of the field to be displayed in the editor UI. Default: `name` field value."},"label_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"comment":{"type":"string","description":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments.","markdownDescription":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments."}},"required":["name","widget"],"description":"Simple List field definition with primitive item types.","markdownDescription":"Simple List field definition with primitive item types."},"ListFieldWithSubField":{"type":"object","additionalProperties":false,"properties":{"field":{"$ref":"#/definitions/Field","description":"Single field to be included in a list item.","markdownDescription":"Single field to be included in a list item."},"allow_add":{"type":"boolean","description":"Whether to allow users to add new items to the list. Default: `true`.","markdownDescription":"Whether to allow users to add new items to the list. Default: `true`."},"allow_remove":{"type":"boolean","description":"Whether to allow users to remove items from the list. Default: `true`.","markdownDescription":"Whether to allow users to remove items from the list. Default: `true`."},"allow_duplicate":{"type":"boolean","description":"Whether to allow users to duplicate items in the list. Default: `true`.","markdownDescription":"Whether to allow users to duplicate items in the list. Default: `true`."},"allow_reorder":{"type":"boolean","description":"Whether to allow users to reorder items in the list. Default: `true`.","markdownDescription":"Whether to allow users to reorder items in the list. Default: `true`."},"add_to_top":{"type":"boolean","description":"Whether to add new items to the top of the list instead of the bottom. Default: `false`.","markdownDescription":"Whether to add new items to the top of the list instead of the bottom. Default: `false`."},"summary":{"type":"string","description":"Template of a label to be displayed on a collapsed list item.","markdownDescription":"Template of a label to be displayed on a collapsed list item."},"thumbnail":{"type":"string","description":"Subfield name to be used as a thumbnail image for a list item. It will be displayed along with the summary label when the item is collapsed. The subfield must be an Image or File field. Default: none.","markdownDescription":"Subfield name to be used as a thumbnail image for a list item. It will be displayed along with the summary label when the item is collapsed. The subfield must be an Image or File field. Default: none."},"collapsed":{"anyOf":[{"type":"boolean"},{"type":"string","const":"auto"}],"description":"Whether to collapse the list items by default. Default: `false`. If set to `auto`, the UI is collapsed if the item has any filled subfields and expanded if all the subfields are empty.","markdownDescription":"Whether to collapse the list items by default. Default: `false`. If set to `auto`, the UI is collapsed if the item has any filled subfields and expanded if all the subfields are empty."},"minimize_collapsed":{"anyOf":[{"type":"boolean"},{"type":"string","const":"auto"}],"description":"Whether to collapse the entire list. Default: `false`. If set to `auto`, the UI is collapsed if the list has any items and expanded if it’s empty.","markdownDescription":"Whether to collapse the entire list. Default: `false`. If set to `auto`, the UI is collapsed if the list has any items and expanded if it’s empty."},"root":{"type":"boolean","description":"Whether to save the field value at the top-level of the data file without the field name. It only works if the field is the only field in the collection or file, and the file format is not TOML, unless the `map_key_field` option stores the list as a map. If the `single_file` i18n structure is enabled, the lists will still be saved under locale keys. Default: `false`. See the [documentation](https://sveltiacms.app/en/docs/fields/list#top-level-list) for details.","markdownDescription":"Whether to save the field value at the top-level of the data file without the field name. It only works if the field is the only field in the collection or file, and the file format is not TOML, unless the `map_key_field` option stores the list as a map. If the `single_file` i18n structure is enabled, the lists will still be saved under locale keys. Default: `false`. See the [documentation](https://sveltiacms.app/en/docs/fields/list#top-level-list) for details."},"min":{"type":"number","description":"Minimum number of items that can be added. Default: `0`.","markdownDescription":"Minimum number of items that can be added. Default: `0`."},"max":{"type":"number","description":"Maximum number of items that can be added. Default: `Infinity`.","markdownDescription":"Maximum number of items that can be added. Default: `Infinity`."},"widget":{"type":"string","const":"list","description":"Field type.","markdownDescription":"Field type."},"default":{"type":"array","items":{},"description":"Default value. The format depends on how the field is configured, with or without `field`, `fields` or `types`: strings for a simple list, values of the subfield for a list with `field`, e.g. numbers for a Number subfield, or objects for a list with `fields` or `types`. See the [documentation](https://sveltiacms.app/en/docs/fields/list) for details.","markdownDescription":"Default value. The format depends on how the field is configured, with or without `field`, `fields` or `types`: strings for a simple list, values of the subfield for a list with `field`, e.g. numbers for a Number subfield, or objects for a list with `fields` or `types`. See the [documentation](https://sveltiacms.app/en/docs/fields/list) for details."},"default_localized":{"type":"object","additionalProperties":{"type":"array","items":{}},"description":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"label_singular":{"type":"string","description":"Label to be displayed on the Add button. Default: `label` field value.","markdownDescription":"Label to be displayed on the Add button. Default: `label` field value."},"label_singular_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Singular labels for specific locales, keyed by locale code, taking precedence over `label_singular`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Singular labels for specific locales, keyed by locale code, taking precedence over `label_singular`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"hint":{"type":"string","description":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only.","markdownDescription":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only."},"hint_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"preview":{"type":"boolean","description":"Whether to show the preview of the field. Default: `true`.","markdownDescription":"Whether to show the preview of the field. Default: `true`."},"required":{"anyOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"}}],"description":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean.","markdownDescription":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean."},"readonly":{"type":"boolean","description":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users.","markdownDescription":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users."},"i18n":{"$ref":"#/definitions/FieldI18nStrategy","description":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others. In a rich text editor component, whose values are stored in each locale’s text, it works like `translate`. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details.","markdownDescription":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others. In a rich text editor component, whose values are stored in each locale’s text, it works like `translate`. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details."},"name":{"type":"string","description":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets.","markdownDescription":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets."},"label":{"type":"string","description":"Label of the field to be displayed in the editor UI. Default: `name` field value.","markdownDescription":"Label of the field to be displayed in the editor UI. Default: `name` field value."},"label_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"comment":{"type":"string","description":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments.","markdownDescription":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments."}},"required":["field","name","widget"],"description":"List field definition with a single subfield.","markdownDescription":"List field definition with a single subfield."},"ListFieldWithSubFields":{"type":"object","additionalProperties":false,"properties":{"map_key_field":{"type":"string","description":"Name of the subfield whose value becomes the key of each item, so the list is stored as a map of the keys to the items, without the subfield, rather than as an array, e.g. `{ harry: { title: … }, ron: { title: … } }`. The subfield must be a String field, a Relation field or a Select field with string option values, without the `multiple` option, that is required in every locale, and with variable types, every type must have it. Its value must be unique within the list, and can’t be a whole number such as `1` or `2024`, as such keys don’t keep their order. The items are kept in the order of the map. An existing array is still loaded, and saved as a map. Default: none. See the [documentation](https://sveltiacms.app/en/docs/fields/list#keyed-list) for details.","markdownDescription":"Name of the subfield whose value becomes the key of each item, so the list is stored as a map of the keys to the items, without the subfield, rather than as an array, e.g. `{ harry: { title: … }, ron: { title: … } }`. The subfield must be a String field, a Relation field or a Select field with string option values, without the `multiple` option, that is required in every locale, and with variable types, every type must have it. Its value must be unique within the list, and can’t be a whole number such as `1` or `2024`, as such keys don’t keep their order. The items are kept in the order of the map. An existing array is still loaded, and saved as a map. Default: none. See the [documentation](https://sveltiacms.app/en/docs/fields/list#keyed-list) for details."},"fields":{"type":"array","items":{"$ref":"#/definitions/Field"},"description":"Set of fields to be included in a list item.","markdownDescription":"Set of fields to be included in a list item."},"allow_add":{"type":"boolean","description":"Whether to allow users to add new items to the list. Default: `true`.","markdownDescription":"Whether to allow users to add new items to the list. Default: `true`."},"allow_remove":{"type":"boolean","description":"Whether to allow users to remove items from the list. Default: `true`.","markdownDescription":"Whether to allow users to remove items from the list. Default: `true`."},"allow_duplicate":{"type":"boolean","description":"Whether to allow users to duplicate items in the list. Default: `true`.","markdownDescription":"Whether to allow users to duplicate items in the list. Default: `true`."},"allow_reorder":{"type":"boolean","description":"Whether to allow users to reorder items in the list. Default: `true`.","markdownDescription":"Whether to allow users to reorder items in the list. Default: `true`."},"add_to_top":{"type":"boolean","description":"Whether to add new items to the top of the list instead of the bottom. Default: `false`.","markdownDescription":"Whether to add new items to the top of the list instead of the bottom. Default: `false`."},"summary":{"type":"string","description":"Template of a label to be displayed on a collapsed list item.","markdownDescription":"Template of a label to be displayed on a collapsed list item."},"thumbnail":{"type":"string","description":"Subfield name to be used as a thumbnail image for a list item. It will be displayed along with the summary label when the item is collapsed. The subfield must be an Image or File field. Default: none.","markdownDescription":"Subfield name to be used as a thumbnail image for a list item. It will be displayed along with the summary label when the item is collapsed. The subfield must be an Image or File field. Default: none."},"collapsed":{"anyOf":[{"type":"boolean"},{"type":"string","const":"auto"}],"description":"Whether to collapse the list items by default. Default: `false`. If set to `auto`, the UI is collapsed if the item has any filled subfields and expanded if all the subfields are empty.","markdownDescription":"Whether to collapse the list items by default. Default: `false`. If set to `auto`, the UI is collapsed if the item has any filled subfields and expanded if all the subfields are empty."},"minimize_collapsed":{"anyOf":[{"type":"boolean"},{"type":"string","const":"auto"}],"description":"Whether to collapse the entire list. Default: `false`. If set to `auto`, the UI is collapsed if the list has any items and expanded if it’s empty.","markdownDescription":"Whether to collapse the entire list. Default: `false`. If set to `auto`, the UI is collapsed if the list has any items and expanded if it’s empty."},"root":{"type":"boolean","description":"Whether to save the field value at the top-level of the data file without the field name. It only works if the field is the only field in the collection or file, and the file format is not TOML, unless the `map_key_field` option stores the list as a map. If the `single_file` i18n structure is enabled, the lists will still be saved under locale keys. Default: `false`. See the [documentation](https://sveltiacms.app/en/docs/fields/list#top-level-list) for details.","markdownDescription":"Whether to save the field value at the top-level of the data file without the field name. It only works if the field is the only field in the collection or file, and the file format is not TOML, unless the `map_key_field` option stores the list as a map. If the `single_file` i18n structure is enabled, the lists will still be saved under locale keys. Default: `false`. See the [documentation](https://sveltiacms.app/en/docs/fields/list#top-level-list) for details."},"min":{"type":"number","description":"Minimum number of items that can be added. Default: `0`.","markdownDescription":"Minimum number of items that can be added. Default: `0`."},"max":{"type":"number","description":"Maximum number of items that can be added. Default: `Infinity`.","markdownDescription":"Maximum number of items that can be added. Default: `Infinity`."},"widget":{"type":"string","const":"list","description":"Field type.","markdownDescription":"Field type."},"default":{"type":"array","items":{},"description":"Default value. The format depends on how the field is configured, with or without `field`, `fields` or `types`: strings for a simple list, values of the subfield for a list with `field`, e.g. numbers for a Number subfield, or objects for a list with `fields` or `types`. See the [documentation](https://sveltiacms.app/en/docs/fields/list) for details.","markdownDescription":"Default value. The format depends on how the field is configured, with or without `field`, `fields` or `types`: strings for a simple list, values of the subfield for a list with `field`, e.g. numbers for a Number subfield, or objects for a list with `fields` or `types`. See the [documentation](https://sveltiacms.app/en/docs/fields/list) for details."},"default_localized":{"type":"object","additionalProperties":{"type":"array","items":{}},"description":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"label_singular":{"type":"string","description":"Label to be displayed on the Add button. Default: `label` field value.","markdownDescription":"Label to be displayed on the Add button. Default: `label` field value."},"label_singular_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Singular labels for specific locales, keyed by locale code, taking precedence over `label_singular`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Singular labels for specific locales, keyed by locale code, taking precedence over `label_singular`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"hint":{"type":"string","description":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only.","markdownDescription":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only."},"hint_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"preview":{"type":"boolean","description":"Whether to show the preview of the field. Default: `true`.","markdownDescription":"Whether to show the preview of the field. Default: `true`."},"required":{"anyOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"}}],"description":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean.","markdownDescription":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean."},"readonly":{"type":"boolean","description":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users.","markdownDescription":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users."},"i18n":{"$ref":"#/definitions/FieldI18nStrategy","description":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others. In a rich text editor component, whose values are stored in each locale’s text, it works like `translate`. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details.","markdownDescription":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others. In a rich text editor component, whose values are stored in each locale’s text, it works like `translate`. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details."},"name":{"type":"string","description":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets.","markdownDescription":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets."},"label":{"type":"string","description":"Label of the field to be displayed in the editor UI. Default: `name` field value.","markdownDescription":"Label of the field to be displayed in the editor UI. Default: `name` field value."},"label_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"comment":{"type":"string","description":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments.","markdownDescription":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments."}},"required":["fields","name","widget"],"description":"List field definition with multiple subfields.","markdownDescription":"List field definition with multiple subfields."},"ListFieldWithTypes":{"type":"object","additionalProperties":false,"properties":{"map_key_field":{"type":"string","description":"Name of the subfield whose value becomes the key of each item, so the list is stored as a map of the keys to the items, without the subfield, rather than as an array, e.g. `{ harry: { title: … }, ron: { title: … } }`. The subfield must be a String field, a Relation field or a Select field with string option values, without the `multiple` option, that is required in every locale, and with variable types, every type must have it. Its value must be unique within the list, and can’t be a whole number such as `1` or `2024`, as such keys don’t keep their order. The items are kept in the order of the map. An existing array is still loaded, and saved as a map. Default: none. See the [documentation](https://sveltiacms.app/en/docs/fields/list#keyed-list) for details.","markdownDescription":"Name of the subfield whose value becomes the key of each item, so the list is stored as a map of the keys to the items, without the subfield, rather than as an array, e.g. `{ harry: { title: … }, ron: { title: … } }`. The subfield must be a String field, a Relation field or a Select field with string option values, without the `multiple` option, that is required in every locale, and with variable types, every type must have it. Its value must be unique within the list, and can’t be a whole number such as `1` or `2024`, as such keys don’t keep their order. The items are kept in the order of the map. An existing array is still loaded, and saved as a map. Default: none. See the [documentation](https://sveltiacms.app/en/docs/fields/list#keyed-list) for details."},"types":{"type":"array","items":{"$ref":"#/definitions/VariableFieldType"},"description":"Set of nested Object fields to be selected or added.","markdownDescription":"Set of nested Object fields to be selected or added."},"typeKey":{"type":"string","description":"Property name to store the type name in nested objects. Default: `type`.","markdownDescription":"Property name to store the type name in nested objects. Default: `type`."},"allow_add":{"type":"boolean","description":"Whether to allow users to add new items to the list. Default: `true`.","markdownDescription":"Whether to allow users to add new items to the list. Default: `true`."},"allow_remove":{"type":"boolean","description":"Whether to allow users to remove items from the list. Default: `true`.","markdownDescription":"Whether to allow users to remove items from the list. Default: `true`."},"allow_duplicate":{"type":"boolean","description":"Whether to allow users to duplicate items in the list. Default: `true`.","markdownDescription":"Whether to allow users to duplicate items in the list. Default: `true`."},"allow_reorder":{"type":"boolean","description":"Whether to allow users to reorder items in the list. Default: `true`.","markdownDescription":"Whether to allow users to reorder items in the list. Default: `true`."},"add_to_top":{"type":"boolean","description":"Whether to add new items to the top of the list instead of the bottom. Default: `false`.","markdownDescription":"Whether to add new items to the top of the list instead of the bottom. Default: `false`."},"summary":{"type":"string","description":"Template of a label to be displayed on a collapsed list item.","markdownDescription":"Template of a label to be displayed on a collapsed list item."},"thumbnail":{"type":"string","description":"Subfield name to be used as a thumbnail image for a list item. It will be displayed along with the summary label when the item is collapsed. The subfield must be an Image or File field. Default: none.","markdownDescription":"Subfield name to be used as a thumbnail image for a list item. It will be displayed along with the summary label when the item is collapsed. The subfield must be an Image or File field. Default: none."},"collapsed":{"anyOf":[{"type":"boolean"},{"type":"string","const":"auto"}],"description":"Whether to collapse the list items by default. Default: `false`. If set to `auto`, the UI is collapsed if the item has any filled subfields and expanded if all the subfields are empty.","markdownDescription":"Whether to collapse the list items by default. Default: `false`. If set to `auto`, the UI is collapsed if the item has any filled subfields and expanded if all the subfields are empty."},"minimize_collapsed":{"anyOf":[{"type":"boolean"},{"type":"string","const":"auto"}],"description":"Whether to collapse the entire list. Default: `false`. If set to `auto`, the UI is collapsed if the list has any items and expanded if it’s empty.","markdownDescription":"Whether to collapse the entire list. Default: `false`. If set to `auto`, the UI is collapsed if the list has any items and expanded if it’s empty."},"root":{"type":"boolean","description":"Whether to save the field value at the top-level of the data file without the field name. It only works if the field is the only field in the collection or file, and the file format is not TOML, unless the `map_key_field` option stores the list as a map. If the `single_file` i18n structure is enabled, the lists will still be saved under locale keys. Default: `false`. See the [documentation](https://sveltiacms.app/en/docs/fields/list#top-level-list) for details.","markdownDescription":"Whether to save the field value at the top-level of the data file without the field name. It only works if the field is the only field in the collection or file, and the file format is not TOML, unless the `map_key_field` option stores the list as a map. If the `single_file` i18n structure is enabled, the lists will still be saved under locale keys. Default: `false`. See the [documentation](https://sveltiacms.app/en/docs/fields/list#top-level-list) for details."},"min":{"type":"number","description":"Minimum number of items that can be added. Default: `0`.","markdownDescription":"Minimum number of items that can be added. Default: `0`."},"max":{"type":"number","description":"Maximum number of items that can be added. Default: `Infinity`.","markdownDescription":"Maximum number of items that can be added. Default: `Infinity`."},"widget":{"type":"string","const":"list","description":"Field type.","markdownDescription":"Field type."},"default":{"type":"array","items":{},"description":"Default value. The format depends on how the field is configured, with or without `field`, `fields` or `types`: strings for a simple list, values of the subfield for a list with `field`, e.g. numbers for a Number subfield, or objects for a list with `fields` or `types`. See the [documentation](https://sveltiacms.app/en/docs/fields/list) for details.","markdownDescription":"Default value. The format depends on how the field is configured, with or without `field`, `fields` or `types`: strings for a simple list, values of the subfield for a list with `field`, e.g. numbers for a Number subfield, or objects for a list with `fields` or `types`. See the [documentation](https://sveltiacms.app/en/docs/fields/list) for details."},"default_localized":{"type":"object","additionalProperties":{"type":"array","items":{}},"description":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"label_singular":{"type":"string","description":"Label to be displayed on the Add button. Default: `label` field value.","markdownDescription":"Label to be displayed on the Add button. Default: `label` field value."},"label_singular_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Singular labels for specific locales, keyed by locale code, taking precedence over `label_singular`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Singular labels for specific locales, keyed by locale code, taking precedence over `label_singular`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"hint":{"type":"string","description":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only.","markdownDescription":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only."},"hint_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"preview":{"type":"boolean","description":"Whether to show the preview of the field. Default: `true`.","markdownDescription":"Whether to show the preview of the field. Default: `true`."},"required":{"anyOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"}}],"description":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean.","markdownDescription":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean."},"readonly":{"type":"boolean","description":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users.","markdownDescription":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users."},"i18n":{"$ref":"#/definitions/FieldI18nStrategy","description":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others. In a rich text editor component, whose values are stored in each locale’s text, it works like `translate`. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details.","markdownDescription":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others. In a rich text editor component, whose values are stored in each locale’s text, it works like `translate`. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details."},"name":{"type":"string","description":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets.","markdownDescription":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets."},"label":{"type":"string","description":"Label of the field to be displayed in the editor UI. Default: `name` field value.","markdownDescription":"Label of the field to be displayed in the editor UI. Default: `name` field value."},"label_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"comment":{"type":"string","description":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments.","markdownDescription":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments."}},"required":["name","types","widget"],"description":"List field definition with variable types.","markdownDescription":"List field definition with variable types."},"VariableFieldType":{"type":"object","properties":{"name":{"type":"string","description":"Unique identifier for the type.","markdownDescription":"Unique identifier for the type."},"label":{"type":"string","description":"Label of the type to be displayed in the editor UI. Default: `name` field value.","markdownDescription":"Label of the type to be displayed in the editor UI. Default: `name` field value."},"label_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Labels of the type for specific locales, keyed by locale code, taking precedence over `label`.","markdownDescription":"Labels of the type for specific locales, keyed by locale code, taking precedence over `label`."},"widget":{"type":"string","const":"object","description":"Field type. Only `object` is supported: another value is a configuration error.","markdownDescription":"Field type. Only `object` is supported: another value is a configuration error."},"description":{"type":"string","description":"Short description of the type to be displayed below its label in the menu of the Add button.","markdownDescription":"Short description of the type to be displayed below its label in the menu of the Add button."},"hint":{"type":"string","description":"Help message to be displayed above the subfields of an object of the type. Limited Markdown formatting is supported, as with a field’s `hint` option. The hint is not displayed while the field is read-only.","markdownDescription":"Help message to be displayed above the subfields of an object of the type. Limited Markdown formatting is supported, as with a field’s `hint` option. The hint is not displayed while the field is read-only."},"hint_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Help messages of the type for specific locales, keyed by locale code, taking precedence over `hint`.","markdownDescription":"Help messages of the type for specific locales, keyed by locale code, taking precedence over `hint`."},"summary":{"type":"string","description":"Template of a label to be displayed on a collapsed object.","markdownDescription":"Template of a label to be displayed on a collapsed object."},"fields":{"type":"array","items":{"$ref":"#/definitions/Field"},"description":"Set of subfields. This option can be omitted; in that case, only the `type` property will be saved.","markdownDescription":"Set of subfields. This option can be omitted; in that case, only the `type` property will be saved."}},"required":["name"],"additionalProperties":false,"description":"Variable type for List/Object fields.","markdownDescription":"Variable type for List/Object fields."},"MapField":{"type":"object","additionalProperties":false,"properties":{"widget":{"type":"string","const":"map","description":"Field type.","markdownDescription":"Field type."},"default":{"type":"string","description":"Default value. Accepts a stringified single [GeoJSON](https://geojson.org/) geometry object that contains `type` and `coordinates` properties.","markdownDescription":"Default value. Accepts a stringified single [GeoJSON](https://geojson.org/) geometry object that contains `type` and `coordinates` properties."},"default_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"decimals":{"type":"number","description":"Precision of coordinates to be saved. Default: `7`.","markdownDescription":"Precision of coordinates to be saved. Default: `7`."},"type":{"type":"string","enum":["Point","LineString","Polygon"],"description":"Geometry type. Default: `Point`.","markdownDescription":"Geometry type. Default: `Point`."},"center":{"type":"array","items":{"type":"number"},"minItems":2,"maxItems":2,"description":"Default center coordinates as `[longitude, latitude]`. Default: `[0, 0]`.","markdownDescription":"Default center coordinates as `[longitude, latitude]`. Default: `[0, 0]`."},"zoom":{"type":"number","description":"Default zoom level. Default: `2`.","markdownDescription":"Default zoom level. Default: `2`."},"pattern":{"type":"array","minItems":2,"items":[{"anyOf":[{"type":"string"},{"type":"string","format":"regex"}]},{"type":"string"}],"maxItems":2,"description":"Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message to be displayed when the input value does not match the pattern.","markdownDescription":"Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message to be displayed when the input value does not match the pattern."},"hint":{"type":"string","description":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only.","markdownDescription":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only."},"hint_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"preview":{"type":"boolean","description":"Whether to show the preview of the field. Default: `true`.","markdownDescription":"Whether to show the preview of the field. Default: `true`."},"required":{"anyOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"}}],"description":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean.","markdownDescription":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean."},"readonly":{"type":"boolean","description":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users.","markdownDescription":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users."},"i18n":{"$ref":"#/definitions/FieldI18nStrategy","description":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others. In a rich text editor component, whose values are stored in each locale’s text, it works like `translate`. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details.","markdownDescription":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others. In a rich text editor component, whose values are stored in each locale’s text, it works like `translate`. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details."},"name":{"type":"string","description":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets.","markdownDescription":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets."},"label":{"type":"string","description":"Label of the field to be displayed in the editor UI. Default: `name` field value.","markdownDescription":"Label of the field to be displayed in the editor UI. Default: `name` field value."},"label_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"comment":{"type":"string","description":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments.","markdownDescription":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments."}},"required":["name","widget"],"description":"Map field definition.","markdownDescription":"Map field definition."},"MarkdownField":{"type":"object","additionalProperties":false,"properties":{"unique":{"type":"boolean","description":"Whether the value must be different from the value of the same field in every other entry of the collection, like a `UNIQUE` constraint in a relational database. An empty value is not checked; combine it with `required: true` to make sure every entry has a distinct value. Only available in an entry collection, and ignored for a field that takes multiple values, or a field in a List field or a rich text editor component. A Color field value is compared regardless of case, a Number field value by its numeric value, and a File or Image field value just uploaded isn’t compared, as it’s a new file. Default: `false`.","markdownDescription":"Whether the value must be different from the value of the same field in every other entry of the collection, like a `UNIQUE` constraint in a relational database. An empty value is not checked; combine it with `required: true` to make sure every entry has a distinct value. Only available in an entry collection, and ignored for a field that takes multiple values, or a field in a List field or a rich text editor component. A Color field value is compared regardless of case, a Number field value by its numeric value, and a File or Image field value just uploaded isn’t compared, as it’s a new file. Default: `false`."},"widget":{"type":"string","const":"markdown","description":"Field type.","markdownDescription":"Field type."},"default":{"type":"string","description":"Default value.","markdownDescription":"Default value."},"default_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"minimal":{"type":"boolean","description":"Whether to make the editor compact: it starts with the height of a single line and stops growing at 240 pixels, making the content scrollable. Default: `false`.","markdownDescription":"Whether to make the editor compact: it starts with the height of a single line and stops growing at 240 pixels, making the content scrollable. Default: `false`."},"multiline":{"type":"boolean","description":"Whether the content can span multiple paragraphs and lines. Default: `true`. With `false`, the editor keeps the content in a single paragraph, which suits a title or caption with inline formatting: the Enter key doesn’t start a new line, and the paragraphs and lines of pasted text are joined with spaces. Only the inline formatting buttons (`bold`, `italic`, `strikethrough`, `code` and `link`) and inline editor components, like `image`, can be used then, and the HTML output format has no raw mode. A stored value with several paragraphs is kept as is until the content is edited.","markdownDescription":"Whether the content can span multiple paragraphs and lines. Default: `true`. With `false`, the editor keeps the content in a single paragraph, which suits a title or caption with inline formatting: the Enter key doesn’t start a new line, and the paragraphs and lines of pasted text are joined with spaces. Only the inline formatting buttons (`bold`, `italic`, `strikethrough`, `code` and `link`) and inline editor components, like `image`, can be used then, and the HTML output format has no raw mode. A stored value with several paragraphs is kept as is until the content is edited."},"buttons":{"type":"array","items":{"$ref":"#/definitions/RichTextEditorButtonName"},"description":"Names of formatting buttons and menu items to be enabled in the editor UI. Default: all the supported button names except `align`.","markdownDescription":"Names of formatting buttons and menu items to be enabled in the editor UI. Default: all the supported button names except `align`."},"editor_components":{"type":"array","items":{"type":"string"},"description":"Names of components to be enabled in the editor UI. This may include custom component names. Default: all the built-in and registered custom component names, except `table` and `hr`, which have to be listed to enable them.","markdownDescription":"Names of components to be enabled in the editor UI. This may include custom component names. Default: all the built-in and registered custom component names, except `table` and `hr`, which have to be listed to enable them."},"allow_nested_components":{"anyOf":[{"type":"boolean"},{"type":"string","const":"exclude_self"}],"description":"Whether to allow nested rich text editor components in the editor UI. If set to `'exclude_self'`, nested components are disabled if the parent components include the current component; this is useful to prevent unexpected behavior due to regex matching limitations. Default: `true`.","markdownDescription":"Whether to allow nested rich text editor components in the editor UI. If set to `'exclude_self'`, nested components are disabled if the parent components include the current component; this is useful to prevent unexpected behavior due to regex matching limitations. Default: `true`."},"modes":{"type":"array","items":{"$ref":"#/definitions/RichTextEditorMode"},"description":"Editor modes to be enabled. The first one is selected initially, so with `[raw, rich_text]`, the editor opens in raw mode. Default: `[rich_text, raw]`.","markdownDescription":"Editor modes to be enabled. The first one is selected initially, so with `[raw, rich_text]`, the editor opens in raw mode. Default: `[rich_text, raw]`."},"sanitize_preview":{"type":"boolean","description":"Whether to sanitize the preview HTML. Default: `true`. Note that Sveltia CMS has changed the default value from `false` to `true` to enhance security, whereas Netlify/Decap CMS keeps it as `false`. We recommend keeping this option enabled unless disabling it fixes a broken preview and you fully trust all users of your CMS. `javascript:` URLs, e.g. in links, are removed from the preview either way.","markdownDescription":"Whether to sanitize the preview HTML. Default: `true`. Note that Sveltia CMS has changed the default value from `false` to `true` to enhance security, whereas Netlify/Decap CMS keeps it as `false`. We recommend keeping this option enabled unless disabling it fixes a broken preview and you fully trust all users of your CMS. `javascript:` URLs, e.g. in links, are removed from the preview either way."},"linked_images":{"type":"boolean","description":"Whether to enable the linked images feature for the built-in `image` component. Default: `true`. When enabled, the image component provides an additional text field for specifying a URL to wrap the image as a link. The resulting Markdown output will be in the format `[](link)`, where clicking the image navigates to the provided link. This feature can be disabled if it causes conflicts with certain frameworks.","markdownDescription":"Whether to enable the linked images feature for the built-in `image` component. Default: `true`. When enabled, the image component provides an additional text field for specifying a URL to wrap the image as a link. The resulting Markdown output will be in the format `[](link)`, where clicking the image navigates to the provided link. This feature can be disabled if it causes conflicts with certain frameworks."},"use_emoji_autocomplete":{"type":"boolean","description":"Whether to enable emoji autocomplete in the rich text editor. Default: `true`. When enabled, typing `:` followed by a few letters will show a list of matching emojis that can be selected to insert into the text.","markdownDescription":"Whether to enable emoji autocomplete in the rich text editor. Default: `true`. When enabled, typing `:` followed by a few letters will show a list of matching emojis that can be selected to insert into the text."},"use_markdown_shortcuts":{"type":"boolean","description":"Whether to enable Markdown shortcuts in the rich text editor. Default: `true`. When enabled, typing `-` or `*` at the start of a line creates a bulleted list, `1.` creates a numbered list, `>` creates a blockquote, and `#`, `##`, `###` create headings. Note that standard keyboard shortcuts like `Ctrl+B` for bold and `Ctrl+I` for italic are always enabled regardless of this option.","markdownDescription":"Whether to enable Markdown shortcuts in the rich text editor. Default: `true`. When enabled, typing `-` or `*` at the start of a line creates a bulleted list, `1.` creates a numbered list, `>` creates a blockquote, and `#`, `##`, `###` create headings. Note that standard keyboard shortcuts like `Ctrl+B` for bold and `Ctrl+I` for italic are always enabled regardless of this option."},"pattern":{"type":"array","minItems":2,"items":[{"anyOf":[{"type":"string"},{"type":"string","format":"regex"}]},{"type":"string"}],"maxItems":2,"description":"Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message to be displayed when the input value does not match the pattern.","markdownDescription":"Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message to be displayed when the input value does not match the pattern."},"hint":{"type":"string","description":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only.","markdownDescription":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only."},"hint_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"preview":{"type":"boolean","description":"Whether to show the preview of the field. Default: `true`.","markdownDescription":"Whether to show the preview of the field. Default: `true`."},"required":{"anyOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"}}],"description":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean.","markdownDescription":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean."},"readonly":{"type":"boolean","description":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users.","markdownDescription":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users."},"i18n":{"anyOf":[{"$ref":"#/definitions/FieldI18nStrategy"},{"type":"string","const":"duplicate_if_empty"}],"description":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others, except in a rich text editor component, where it works like `translate`. `duplicate_if_empty` copies the default locale’s value to non-default locales only where the value is empty, or still the same as the default locale’s value, while the field can be edited in every locale. It’s not supported for a File, Image, Relation or Select field that accepts multiple values. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details.","markdownDescription":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others, except in a rich text editor component, where it works like `translate`. `duplicate_if_empty` copies the default locale’s value to non-default locales only where the value is empty, or still the same as the default locale’s value, while the field can be edited in every locale. It’s not supported for a File, Image, Relation or Select field that accepts multiple values. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details."},"name":{"type":"string","description":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets.","markdownDescription":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets."},"label":{"type":"string","description":"Label of the field to be displayed in the editor UI. Default: `name` field value.","markdownDescription":"Label of the field to be displayed in the editor UI. Default: `name` field value."},"label_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"comment":{"type":"string","description":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments.","markdownDescription":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments."}},"required":["name","widget"],"description":"Markdown field definition.","markdownDescription":"Markdown field definition."},"RichTextEditorButtonName":{"type":"string","enum":["bold","italic","strikethrough","code","link","heading-one","heading-two","heading-three","heading-four","heading-five","heading-six","quote","bulleted-list","numbered-list","align"],"description":"Supported button name for the rich text editor. `align` shows the text alignment menu, which is only available with the `html` format, as Markdown has no syntax for alignment. It’s not enabled by default; add it to the `buttons` option to enable it.","markdownDescription":"Supported button name for the rich text editor. `align` shows the text alignment menu, which is only available with the `html` format, as Markdown has no syntax for alignment. It’s not enabled by default; add it to the `buttons` option to enable it."},"RichTextEditorMode":{"type":"string","enum":["rich_text","raw"],"description":"Supported mode name for the rich text editor.","markdownDescription":"Supported mode name for the rich text editor."},"NumberField":{"type":"object","additionalProperties":false,"properties":{"unique":{"type":"boolean","description":"Whether the value must be different from the value of the same field in every other entry of the collection, like a `UNIQUE` constraint in a relational database. An empty value is not checked; combine it with `required: true` to make sure every entry has a distinct value. Only available in an entry collection, and ignored for a field that takes multiple values, or a field in a List field or a rich text editor component. A Color field value is compared regardless of case, a Number field value by its numeric value, and a File or Image field value just uploaded isn’t compared, as it’s a new file. Default: `false`.","markdownDescription":"Whether the value must be different from the value of the same field in every other entry of the collection, like a `UNIQUE` constraint in a relational database. An empty value is not checked; combine it with `required: true` to make sure every entry has a distinct value. Only available in an entry collection, and ignored for a field that takes multiple values, or a field in a List field or a rich text editor component. A Color field value is compared regardless of case, a Number field value by its numeric value, and a File or Image field value just uploaded isn’t compared, as it’s a new file. Default: `false`."},"before_input":{"type":"string","description":"An extra label to be displayed before the input UI. Markdown is supported. Default: empty string.","markdownDescription":"An extra label to be displayed before the input UI. Markdown is supported. Default: empty string."},"after_input":{"type":"string","description":"An extra label to be displayed after the input UI. Markdown is supported. Default: empty string.","markdownDescription":"An extra label to be displayed after the input UI. Markdown is supported. Default: empty string."},"widget":{"type":"string","const":"number","description":"Field type.","markdownDescription":"Field type."},"default":{"type":["string","number"],"description":"Default value.","markdownDescription":"Default value."},"default_localized":{"type":"object","additionalProperties":{"type":["string","number"]},"description":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"value_type":{"type":"string","enum":["float","int","int/string","float/string"],"description":"Type of the value. `int` makes the input accept only an integer value and saves it as a number. `float` makes the input accept only a floating-point value and saves it as a number. `int/string` and `float/string` make the input accept only an integer or floating-point value, respectively, but save it as a string. Default: `int`.","markdownDescription":"Type of the value. `int` makes the input accept only an integer value and saves it as a number. `float` makes the input accept only a floating-point value and saves it as a number. `int/string` and `float/string` make the input accept only an integer or floating-point value, respectively, but save it as a string. Default: `int`."},"min":{"type":"number","description":"Minimum value that can be entered in the input. Default: `-Infinity`. Setting it to `0` or higher also brings up a numeric keypad on mobile devices. Otherwise, the full keyboard is shown, as the numeric keypad on iOS has no minus key.","markdownDescription":"Minimum value that can be entered in the input. Default: `-Infinity`. Setting it to `0` or higher also brings up a numeric keypad on mobile devices. Otherwise, the full keyboard is shown, as the numeric keypad on iOS has no minus key."},"max":{"type":"number","description":"Maximum value that can be entered in the input. Default: `Infinity`.","markdownDescription":"Maximum value that can be entered in the input. Default: `Infinity`."},"step":{"type":"number","description":"Number to increase/decrease with the arrow key/button. Default: `1`. Set to `-1` to hide the buttons and disable stepping with the arrow keys, for a number that isn’t meant to be stepped, like an ID.","markdownDescription":"Number to increase/decrease with the arrow key/button. Default: `1`. Set to `-1` to hide the buttons and disable stepping with the arrow keys, for a number that isn’t meant to be stepped, like an ID."},"auto_increment":{"type":"boolean","description":"Whether to number the entries automatically, like an `AUTO_INCREMENT` column in a relational database. A new entry is given the integer after the highest one any entry of the collection has, or the `min` option if it’s higher, starting from `1`, when it’s saved, so the number can be used in the `slug` template. An existing entry without a number gets one the next time it’s saved. The field is read-only, and hidden while the entry is being created. Only available in an entry collection, and ignored for a field in a List field or a rich text editor component. Default: `false`.","markdownDescription":"Whether to number the entries automatically, like an `AUTO_INCREMENT` column in a relational database. A new entry is given the integer after the highest one any entry of the collection has, or the `min` option if it’s higher, starting from `1`, when it’s saved, so the number can be used in the `slug` template. An existing entry without a number gets one the next time it’s saved. The field is read-only, and hidden while the entry is being created. Only available in an entry collection, and ignored for a field in a List field or a rich text editor component. Default: `false`."},"pattern":{"type":"array","minItems":2,"items":[{"anyOf":[{"type":"string"},{"type":"string","format":"regex"}]},{"type":"string"}],"maxItems":2,"description":"Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message to be displayed when the input value does not match the pattern.","markdownDescription":"Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message to be displayed when the input value does not match the pattern."},"hint":{"type":"string","description":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only.","markdownDescription":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only."},"hint_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"preview":{"type":"boolean","description":"Whether to show the preview of the field. Default: `true`.","markdownDescription":"Whether to show the preview of the field. Default: `true`."},"required":{"anyOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"}}],"description":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean.","markdownDescription":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean."},"readonly":{"type":"boolean","description":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users.","markdownDescription":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users."},"i18n":{"anyOf":[{"$ref":"#/definitions/FieldI18nStrategy"},{"type":"string","const":"duplicate_if_empty"}],"description":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others, except in a rich text editor component, where it works like `translate`. `duplicate_if_empty` copies the default locale’s value to non-default locales only where the value is empty, or still the same as the default locale’s value, while the field can be edited in every locale. It’s not supported for a File, Image, Relation or Select field that accepts multiple values. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details.","markdownDescription":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others, except in a rich text editor component, where it works like `translate`. `duplicate_if_empty` copies the default locale’s value to non-default locales only where the value is empty, or still the same as the default locale’s value, while the field can be edited in every locale. It’s not supported for a File, Image, Relation or Select field that accepts multiple values. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details."},"name":{"type":"string","description":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets.","markdownDescription":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets."},"label":{"type":"string","description":"Label of the field to be displayed in the editor UI. Default: `name` field value.","markdownDescription":"Label of the field to be displayed in the editor UI. Default: `name` field value."},"label_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"comment":{"type":"string","description":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments.","markdownDescription":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments."}},"required":["name","widget"],"description":"Number field definition.","markdownDescription":"Number field definition."},"ObjectField":{"anyOf":[{"$ref":"#/definitions/ObjectFieldWithSubFields"},{"$ref":"#/definitions/ObjectFieldWithTypes"}],"description":"Object field definition.","markdownDescription":"Object field definition."},"ObjectFieldWithSubFields":{"type":"object","additionalProperties":false,"properties":{"fields":{"type":"array","items":{"$ref":"#/definitions/Field"},"description":"Set of fields to be included.","markdownDescription":"Set of fields to be included."},"widget":{"type":"string","const":"object","description":"Field type.","markdownDescription":"Field type."},"default":{"type":"object","description":"Default values.","markdownDescription":"Default values."},"default_localized":{"type":"object","additionalProperties":{"type":"object"},"description":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"collapsed":{"anyOf":[{"type":"boolean"},{"type":"string","const":"auto"}],"description":"Whether to collapse the object by default. Default: `false`. If set to `auto`, the UI is collapsed if the object has any filled subfields and expanded if all the subfields are empty.","markdownDescription":"Whether to collapse the object by default. Default: `false`. If set to `auto`, the UI is collapsed if the object has any filled subfields and expanded if all the subfields are empty."},"summary":{"type":"string","description":"Template of a label to be displayed on a collapsed object.","markdownDescription":"Template of a label to be displayed on a collapsed object."},"thumbnail":{"type":"string","description":"Subfield name to be used as a thumbnail image for the object. It will be displayed along with the summary label when the object is collapsed. The subfield must be an Image or File field. Default: none.","markdownDescription":"Subfield name to be used as a thumbnail image for the object. It will be displayed along with the summary label when the object is collapsed. The subfield must be an Image or File field. Default: none."},"hint":{"type":"string","description":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only.","markdownDescription":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only."},"hint_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"preview":{"type":"boolean","description":"Whether to show the preview of the field. Default: `true`.","markdownDescription":"Whether to show the preview of the field. Default: `true`."},"required":{"anyOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"}}],"description":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean.","markdownDescription":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean."},"readonly":{"type":"boolean","description":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users.","markdownDescription":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users."},"i18n":{"$ref":"#/definitions/FieldI18nStrategy","description":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others. In a rich text editor component, whose values are stored in each locale’s text, it works like `translate`. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details.","markdownDescription":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others. In a rich text editor component, whose values are stored in each locale’s text, it works like `translate`. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details."},"name":{"type":"string","description":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets.","markdownDescription":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets."},"label":{"type":"string","description":"Label of the field to be displayed in the editor UI. Default: `name` field value.","markdownDescription":"Label of the field to be displayed in the editor UI. Default: `name` field value."},"label_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"comment":{"type":"string","description":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments.","markdownDescription":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments."}},"required":["fields","name","widget"],"description":"Object field definition with multiple subfields.","markdownDescription":"Object field definition with multiple subfields."},"ObjectFieldWithTypes":{"type":"object","additionalProperties":false,"properties":{"types":{"type":"array","items":{"$ref":"#/definitions/VariableFieldType"},"description":"Set of nested Object fields to be selected or added.","markdownDescription":"Set of nested Object fields to be selected or added."},"typeKey":{"type":"string","description":"Property name to store the type name in nested objects. Default: `type`.","markdownDescription":"Property name to store the type name in nested objects. Default: `type`."},"widget":{"type":"string","const":"object","description":"Field type.","markdownDescription":"Field type."},"default":{"type":"object","description":"Default values.","markdownDescription":"Default values."},"default_localized":{"type":"object","additionalProperties":{"type":"object"},"description":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"collapsed":{"anyOf":[{"type":"boolean"},{"type":"string","const":"auto"}],"description":"Whether to collapse the object by default. Default: `false`. If set to `auto`, the UI is collapsed if the object has any filled subfields and expanded if all the subfields are empty.","markdownDescription":"Whether to collapse the object by default. Default: `false`. If set to `auto`, the UI is collapsed if the object has any filled subfields and expanded if all the subfields are empty."},"summary":{"type":"string","description":"Template of a label to be displayed on a collapsed object.","markdownDescription":"Template of a label to be displayed on a collapsed object."},"thumbnail":{"type":"string","description":"Subfield name to be used as a thumbnail image for the object. It will be displayed along with the summary label when the object is collapsed. The subfield must be an Image or File field. Default: none.","markdownDescription":"Subfield name to be used as a thumbnail image for the object. It will be displayed along with the summary label when the object is collapsed. The subfield must be an Image or File field. Default: none."},"hint":{"type":"string","description":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only.","markdownDescription":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only."},"hint_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"preview":{"type":"boolean","description":"Whether to show the preview of the field. Default: `true`.","markdownDescription":"Whether to show the preview of the field. Default: `true`."},"required":{"anyOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"}}],"description":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean.","markdownDescription":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean."},"readonly":{"type":"boolean","description":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users.","markdownDescription":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users."},"i18n":{"$ref":"#/definitions/FieldI18nStrategy","description":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others. In a rich text editor component, whose values are stored in each locale’s text, it works like `translate`. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details.","markdownDescription":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others. In a rich text editor component, whose values are stored in each locale’s text, it works like `translate`. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details."},"name":{"type":"string","description":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets.","markdownDescription":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets."},"label":{"type":"string","description":"Label of the field to be displayed in the editor UI. Default: `name` field value.","markdownDescription":"Label of the field to be displayed in the editor UI. Default: `name` field value."},"label_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"comment":{"type":"string","description":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments.","markdownDescription":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments."}},"required":["name","types","widget"],"description":"Object field definition with variable types.","markdownDescription":"Object field definition with variable types."},"RelationField":{"type":"object","additionalProperties":false,"properties":{"unique":{"type":"boolean","description":"Whether the value must be different from the value of the same field in every other entry of the collection, like a `UNIQUE` constraint in a relational database. An empty value is not checked; combine it with `required: true` to make sure every entry has a distinct value. Only available in an entry collection, and ignored for a field that takes multiple values, or a field in a List field or a rich text editor component. A Color field value is compared regardless of case, a Number field value by its numeric value, and a File or Image field value just uploaded isn’t compared, as it’s a new file. Default: `false`.","markdownDescription":"Whether the value must be different from the value of the same field in every other entry of the collection, like a `UNIQUE` constraint in a relational database. An empty value is not checked; combine it with `required: true` to make sure every entry has a distinct value. Only available in an entry collection, and ignored for a field that takes multiple values, or a field in a List field or a rich text editor component. A Color field value is compared regardless of case, a Number field value by its numeric value, and a File or Image field value just uploaded isn’t compared, as it’s a new file. Default: `false`."},"multiple":{"type":"boolean","description":"Whether to accept multiple values. Default: `false`.","markdownDescription":"Whether to accept multiple values. Default: `false`."},"min":{"type":"number","description":"Minimum number of items that can be selected. Ignored if `multiple` is `false`. Default: `0`.","markdownDescription":"Minimum number of items that can be selected. Ignored if `multiple` is `false`. Default: `0`."},"max":{"type":"number","description":"Maximum number of items that can be selected. Ignored if `multiple` is `false`. Default: `Infinity`.","markdownDescription":"Maximum number of items that can be selected. Ignored if `multiple` is `false`. Default: `Infinity`."},"dropdown_threshold":{"type":"number","description":"Maximum number of options to be displayed as radio buttons (single-select) or checkboxes (multi-select) rather than a dropdown list. Default: `5`.","markdownDescription":"Maximum number of options to be displayed as radio buttons (single-select) or checkboxes (multi-select) rather than a dropdown list. Default: `5`."},"widget":{"type":"string","const":"relation","description":"Field type.","markdownDescription":"Field type."},"default":{"anyOf":[{},{"type":"array","items":{}}],"description":"Default value(s), which should match the options. When `multiple` is `false`, it should be a single value that matches the `value_field` option.","markdownDescription":"Default value(s), which should match the options. When `multiple` is `false`, it should be a single value that matches the `value_field` option."},"default_localized":{"type":"object","description":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"collection":{"type":"string","description":"Referenced collection name. Use `_singletons` for the singleton collection.","markdownDescription":"Referenced collection name. Use `_singletons` for the singleton collection."},"file":{"type":"string","description":"Referenced file identifier for a file/singleton collection. Required if the referenced collection is a file/singleton collection.","markdownDescription":"Referenced file identifier for a file/singleton collection. Required if the referenced collection is a file/singleton collection."},"value_field":{"type":"string","description":"Field name to be stored as the value, or `{{slug}}` (entry slug). Note that `slug` without braces refers to a field named `slug`. It can contain a locale prefix like `{{locale}}/{{slug}}` if i18n is enabled. A wildcard can be used for a List subfield, like `cities.*.name`. Default: `{{slug}}`. For a collection with the `file` option, whose entry slug is the position in the array, it must refer to a field instead.","markdownDescription":"Field name to be stored as the value, or `{{slug}}` (entry slug). Note that `slug` without braces refers to a field named `slug`. It can contain a locale prefix like `{{locale}}/{{slug}}` if i18n is enabled. A wildcard can be used for a List subfield, like `cities.*.name`. Default: `{{slug}}`. For a collection with the `file` option, whose entry slug is the position in the array, it must refer to a field instead."},"display_fields":{"type":"array","items":{"type":"string"},"description":"Name of fields to be displayed. It can contain string templates. Default: `value_field` field value or the referenced collection’s `identifier_field`, which is `title` by default.","markdownDescription":"Name of fields to be displayed. It can contain string templates. Default: `value_field` field value or the referenced collection’s `identifier_field`, which is `title` by default."},"search_fields":{"type":"array","items":{"type":"string"},"description":"Name of fields to be searched. It can contain string templates. Default: `display_fields` field value.","markdownDescription":"Name of fields to be searched. It can contain string templates. Default: `display_fields` field value."},"filters":{"type":"array","items":{"$ref":"#/definitions/RelationFieldFilterOptions"},"description":"Entry filter options.","markdownDescription":"Entry filter options."},"sort_by":{"$ref":"#/definitions/RelationFieldSortOptions","description":"Sort options for the referenced entries. Default: the manual order for a collection with the `reorder` option, the order of the list items for a referenced file, and the alphabetical order of the labels otherwise. Not applicable to a referenced file.","markdownDescription":"Sort options for the referenced entries. Default: the manual order for a collection with the `reorder` option, the order of the list items for a referenced file, and the alphabetical order of the labels otherwise. Not applicable to a referenced file."},"pattern":{"type":"array","minItems":2,"items":[{"anyOf":[{"type":"string"},{"type":"string","format":"regex"}]},{"type":"string"}],"maxItems":2,"description":"Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message to be displayed when the input value does not match the pattern. If the field takes multiple values, like Decap CMS, the pattern is tested against all the values joined with commas, e.g. `foo,bar,baz`, rather than against each value, and not at all while the field is empty. Numbers are tested as strings, and a file just uploaded is tested by its name.","markdownDescription":"Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message to be displayed when the input value does not match the pattern. If the field takes multiple values, like Decap CMS, the pattern is tested against all the values joined with commas, e.g. `foo,bar,baz`, rather than against each value, and not at all while the field is empty. Numbers are tested as strings, and a file just uploaded is tested by its name."},"hint":{"type":"string","description":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only.","markdownDescription":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only."},"hint_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"preview":{"type":"boolean","description":"Whether to show the preview of the field. Default: `true`.","markdownDescription":"Whether to show the preview of the field. Default: `true`."},"required":{"anyOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"}}],"description":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean.","markdownDescription":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean."},"readonly":{"type":"boolean","description":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users.","markdownDescription":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users."},"i18n":{"anyOf":[{"$ref":"#/definitions/FieldI18nStrategy"},{"type":"string","const":"duplicate_if_empty"}],"description":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others, except in a rich text editor component, where it works like `translate`. `duplicate_if_empty` copies the default locale’s value to non-default locales only where the value is empty, or still the same as the default locale’s value, while the field can be edited in every locale. It’s not supported for a File, Image, Relation or Select field that accepts multiple values. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details.","markdownDescription":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others, except in a rich text editor component, where it works like `translate`. `duplicate_if_empty` copies the default locale’s value to non-default locales only where the value is empty, or still the same as the default locale’s value, while the field can be edited in every locale. It’s not supported for a File, Image, Relation or Select field that accepts multiple values. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details."},"name":{"type":"string","description":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets.","markdownDescription":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets."},"label":{"type":"string","description":"Label of the field to be displayed in the editor UI. Default: `name` field value.","markdownDescription":"Label of the field to be displayed in the editor UI. Default: `name` field value."},"label_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"comment":{"type":"string","description":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments.","markdownDescription":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments."}},"required":["collection","name","widget"],"description":"Relation field definition.","markdownDescription":"Relation field definition."},"RelationFieldFilterOptions":{"type":"object","properties":{"field":{"$ref":"#/definitions/FieldKeyPath","description":"Field name.","markdownDescription":"Field name."},"values":{"type":"array","items":{},"description":"One or more values to be matched. A value can be a template tag, either `{{fields.fieldName}}` or `{{slug}}`, which is replaced with the field value or the slug of the entry being edited; a List field value is expanded into its items. A tag has to be the whole value, not part of a longer string. Unresolvable tags (e.g. `{{slug}}` for a new, unsaved entry) are ignored.","markdownDescription":"One or more values to be matched. A value can be a template tag, either `{{fields.fieldName}}` or `{{slug}}`, which is replaced with the field value or the slug of the entry being edited; a List field value is expanded into its items. A tag has to be the whole value, not part of a longer string. Unresolvable tags (e.g. `{{slug}}` for a new, unsaved entry) are ignored."},"exclude":{"type":"boolean","description":"If `true`, entries matching this filter are excluded instead of included. Default: `false`.","markdownDescription":"If `true`, entries matching this filter are excluded instead of included. Default: `false`."}},"required":["field","values"],"additionalProperties":false,"description":"Entry filter options for a Relation field.","markdownDescription":"Entry filter options for a Relation field."},"FieldKeyPath":{"type":"string","description":"An entry field name. It can be written in dot notation like `author.name` if the field is nested with an Object field. For a List subfield, a wildcard can be used like `authors.*.name`. We call this a key path, which is derived from the [IndexedDB API terminology](https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API/Basic_Terminology#key_path), and use it everywhere, as entry data is managed as a [flatten object](https://www.npmjs.com/package/flat) for easier access.","markdownDescription":"An entry field name. It can be written in dot notation like `author.name` if the field is nested with an Object field. For a List subfield, a wildcard can be used like `authors.*.name`. We call this a key path, which is derived from the [IndexedDB API terminology](https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API/Basic_Terminology#key_path), and use it everywhere, as entry data is managed as a [flatten object](https://www.npmjs.com/package/flat) for easier access."},"RelationFieldSortOptions":{"type":"object","properties":{"field":{"$ref":"#/definitions/FieldKeyPath","description":"Field name in the referenced collection to sort the entries by. It can also be `slug`, `commit_author`, `commit_date` or `_manual` (the manual order of a collection with the `reorder` option).","markdownDescription":"Field name in the referenced collection to sort the entries by. It can also be `slug`, `commit_author`, `commit_date` or `_manual` (the manual order of a collection with the `reorder` option)."},"direction":{"type":"string","enum":["ascending","descending"],"description":"Sort direction. Default: `ascending`.","markdownDescription":"Sort direction. Default: `ascending`."}},"required":["field"],"additionalProperties":false,"description":"Sort options for a Relation field, which define the order of the options.","markdownDescription":"Sort options for a Relation field, which define the order of the options."},"RichTextField":{"type":"object","additionalProperties":false,"properties":{"unique":{"type":"boolean","description":"Whether the value must be different from the value of the same field in every other entry of the collection, like a `UNIQUE` constraint in a relational database. An empty value is not checked; combine it with `required: true` to make sure every entry has a distinct value. Only available in an entry collection, and ignored for a field that takes multiple values, or a field in a List field or a rich text editor component. A Color field value is compared regardless of case, a Number field value by its numeric value, and a File or Image field value just uploaded isn’t compared, as it’s a new file. Default: `false`.","markdownDescription":"Whether the value must be different from the value of the same field in every other entry of the collection, like a `UNIQUE` constraint in a relational database. An empty value is not checked; combine it with `required: true` to make sure every entry has a distinct value. Only available in an entry collection, and ignored for a field that takes multiple values, or a field in a List field or a rich text editor component. A Color field value is compared regardless of case, a Number field value by its numeric value, and a File or Image field value just uploaded isn’t compared, as it’s a new file. Default: `false`."},"widget":{"type":"string","const":"richtext","description":"Field type.","markdownDescription":"Field type."},"format":{"$ref":"#/definitions/RichTextValueFormat","description":"Format of the field value: `markdown` or `html`. Default: `markdown`. With `html`, the value is saved as HTML, and the raw mode shows the HTML source. Only the editor components that support HTML with the `htmlSelector`, `fromBlockHTML` and `toBlockHTML` options are available, including the built-in `code-block`, `image`, `table` and `hr` components. HTML with an element the rich text mode cannot handle, like `<video>` without a component for it, can only be edited in the raw mode. Attributes the editor doesn’t use, like `class`, are dropped once the content is changed in the rich text mode.","markdownDescription":"Format of the field value: `markdown` or `html`. Default: `markdown`. With `html`, the value is saved as HTML, and the raw mode shows the HTML source. Only the editor components that support HTML with the `htmlSelector`, `fromBlockHTML` and `toBlockHTML` options are available, including the built-in `code-block`, `image`, `table` and `hr` components. HTML with an element the rich text mode cannot handle, like `<video>` without a component for it, can only be edited in the raw mode. Attributes the editor doesn’t use, like `class`, are dropped once the content is changed in the rich text mode."},"default":{"type":"string","description":"Default value.","markdownDescription":"Default value."},"default_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"minimal":{"type":"boolean","description":"Whether to make the editor compact: it starts with the height of a single line and stops growing at 240 pixels, making the content scrollable. Default: `false`.","markdownDescription":"Whether to make the editor compact: it starts with the height of a single line and stops growing at 240 pixels, making the content scrollable. Default: `false`."},"multiline":{"type":"boolean","description":"Whether the content can span multiple paragraphs and lines. Default: `true`. With `false`, the editor keeps the content in a single paragraph, which suits a title or caption with inline formatting: the Enter key doesn’t start a new line, and the paragraphs and lines of pasted text are joined with spaces. Only the inline formatting buttons (`bold`, `italic`, `strikethrough`, `code` and `link`) and inline editor components, like `image`, can be used then, and the HTML output format has no raw mode. A stored value with several paragraphs is kept as is until the content is edited.","markdownDescription":"Whether the content can span multiple paragraphs and lines. Default: `true`. With `false`, the editor keeps the content in a single paragraph, which suits a title or caption with inline formatting: the Enter key doesn’t start a new line, and the paragraphs and lines of pasted text are joined with spaces. Only the inline formatting buttons (`bold`, `italic`, `strikethrough`, `code` and `link`) and inline editor components, like `image`, can be used then, and the HTML output format has no raw mode. A stored value with several paragraphs is kept as is until the content is edited."},"buttons":{"type":"array","items":{"$ref":"#/definitions/RichTextEditorButtonName"},"description":"Names of formatting buttons and menu items to be enabled in the editor UI. Default: all the supported button names except `align`.","markdownDescription":"Names of formatting buttons and menu items to be enabled in the editor UI. Default: all the supported button names except `align`."},"editor_components":{"type":"array","items":{"type":"string"},"description":"Names of components to be enabled in the editor UI. This may include custom component names. Default: all the built-in and registered custom component names, except `table` and `hr`, which have to be listed to enable them.","markdownDescription":"Names of components to be enabled in the editor UI. This may include custom component names. Default: all the built-in and registered custom component names, except `table` and `hr`, which have to be listed to enable them."},"allow_nested_components":{"anyOf":[{"type":"boolean"},{"type":"string","const":"exclude_self"}],"description":"Whether to allow nested rich text editor components in the editor UI. If set to `'exclude_self'`, nested components are disabled if the parent components include the current component; this is useful to prevent unexpected behavior due to regex matching limitations. Default: `true`.","markdownDescription":"Whether to allow nested rich text editor components in the editor UI. If set to `'exclude_self'`, nested components are disabled if the parent components include the current component; this is useful to prevent unexpected behavior due to regex matching limitations. Default: `true`."},"modes":{"type":"array","items":{"$ref":"#/definitions/RichTextEditorMode"},"description":"Editor modes to be enabled. The first one is selected initially, so with `[raw, rich_text]`, the editor opens in raw mode. Default: `[rich_text, raw]`.","markdownDescription":"Editor modes to be enabled. The first one is selected initially, so with `[raw, rich_text]`, the editor opens in raw mode. Default: `[rich_text, raw]`."},"sanitize_preview":{"type":"boolean","description":"Whether to sanitize the preview HTML. Default: `true`. Note that Sveltia CMS has changed the default value from `false` to `true` to enhance security, whereas Netlify/Decap CMS keeps it as `false`. We recommend keeping this option enabled unless disabling it fixes a broken preview and you fully trust all users of your CMS. `javascript:` URLs, e.g. in links, are removed from the preview either way.","markdownDescription":"Whether to sanitize the preview HTML. Default: `true`. Note that Sveltia CMS has changed the default value from `false` to `true` to enhance security, whereas Netlify/Decap CMS keeps it as `false`. We recommend keeping this option enabled unless disabling it fixes a broken preview and you fully trust all users of your CMS. `javascript:` URLs, e.g. in links, are removed from the preview either way."},"linked_images":{"type":"boolean","description":"Whether to enable the linked images feature for the built-in `image` component. Default: `true`. When enabled, the image component provides an additional text field for specifying a URL to wrap the image as a link. The resulting Markdown output will be in the format `[](link)`, where clicking the image navigates to the provided link. This feature can be disabled if it causes conflicts with certain frameworks.","markdownDescription":"Whether to enable the linked images feature for the built-in `image` component. Default: `true`. When enabled, the image component provides an additional text field for specifying a URL to wrap the image as a link. The resulting Markdown output will be in the format `[](link)`, where clicking the image navigates to the provided link. This feature can be disabled if it causes conflicts with certain frameworks."},"use_emoji_autocomplete":{"type":"boolean","description":"Whether to enable emoji autocomplete in the rich text editor. Default: `true`. When enabled, typing `:` followed by a few letters will show a list of matching emojis that can be selected to insert into the text.","markdownDescription":"Whether to enable emoji autocomplete in the rich text editor. Default: `true`. When enabled, typing `:` followed by a few letters will show a list of matching emojis that can be selected to insert into the text."},"use_markdown_shortcuts":{"type":"boolean","description":"Whether to enable Markdown shortcuts in the rich text editor. Default: `true`. When enabled, typing `-` or `*` at the start of a line creates a bulleted list, `1.` creates a numbered list, `>` creates a blockquote, and `#`, `##`, `###` create headings. Note that standard keyboard shortcuts like `Ctrl+B` for bold and `Ctrl+I` for italic are always enabled regardless of this option.","markdownDescription":"Whether to enable Markdown shortcuts in the rich text editor. Default: `true`. When enabled, typing `-` or `*` at the start of a line creates a bulleted list, `1.` creates a numbered list, `>` creates a blockquote, and `#`, `##`, `###` create headings. Note that standard keyboard shortcuts like `Ctrl+B` for bold and `Ctrl+I` for italic are always enabled regardless of this option."},"pattern":{"type":"array","minItems":2,"items":[{"anyOf":[{"type":"string"},{"type":"string","format":"regex"}]},{"type":"string"}],"maxItems":2,"description":"Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message to be displayed when the input value does not match the pattern.","markdownDescription":"Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message to be displayed when the input value does not match the pattern."},"hint":{"type":"string","description":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only.","markdownDescription":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only."},"hint_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"preview":{"type":"boolean","description":"Whether to show the preview of the field. Default: `true`.","markdownDescription":"Whether to show the preview of the field. Default: `true`."},"required":{"anyOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"}}],"description":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean.","markdownDescription":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean."},"readonly":{"type":"boolean","description":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users.","markdownDescription":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users."},"i18n":{"anyOf":[{"$ref":"#/definitions/FieldI18nStrategy"},{"type":"string","const":"duplicate_if_empty"}],"description":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others, except in a rich text editor component, where it works like `translate`. `duplicate_if_empty` copies the default locale’s value to non-default locales only where the value is empty, or still the same as the default locale’s value, while the field can be edited in every locale. It’s not supported for a File, Image, Relation or Select field that accepts multiple values. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details.","markdownDescription":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others, except in a rich text editor component, where it works like `translate`. `duplicate_if_empty` copies the default locale’s value to non-default locales only where the value is empty, or still the same as the default locale’s value, while the field can be edited in every locale. It’s not supported for a File, Image, Relation or Select field that accepts multiple values. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details."},"name":{"type":"string","description":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets.","markdownDescription":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets."},"label":{"type":"string","description":"Label of the field to be displayed in the editor UI. Default: `name` field value.","markdownDescription":"Label of the field to be displayed in the editor UI. Default: `name` field value."},"label_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"comment":{"type":"string","description":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments.","markdownDescription":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments."}},"required":["name","widget"],"description":"RichText field definition.","markdownDescription":"RichText field definition."},"RichTextValueFormat":{"type":"string","enum":["markdown","html"],"description":"Value format of a RichText field.","markdownDescription":"Value format of a RichText field."},"SelectField":{"type":"object","additionalProperties":false,"properties":{"unique":{"type":"boolean","description":"Whether the value must be different from the value of the same field in every other entry of the collection, like a `UNIQUE` constraint in a relational database. An empty value is not checked; combine it with `required: true` to make sure every entry has a distinct value. Only available in an entry collection, and ignored for a field that takes multiple values, or a field in a List field or a rich text editor component. A Color field value is compared regardless of case, a Number field value by its numeric value, and a File or Image field value just uploaded isn’t compared, as it’s a new file. Default: `false`.","markdownDescription":"Whether the value must be different from the value of the same field in every other entry of the collection, like a `UNIQUE` constraint in a relational database. An empty value is not checked; combine it with `required: true` to make sure every entry has a distinct value. Only available in an entry collection, and ignored for a field that takes multiple values, or a field in a List field or a rich text editor component. A Color field value is compared regardless of case, a Number field value by its numeric value, and a File or Image field value just uploaded isn’t compared, as it’s a new file. Default: `false`."},"multiple":{"type":"boolean","description":"Whether to accept multiple values. Default: `false`.","markdownDescription":"Whether to accept multiple values. Default: `false`."},"min":{"type":"number","description":"Minimum number of items that can be selected. Ignored if `multiple` is `false`. Default: `0`.","markdownDescription":"Minimum number of items that can be selected. Ignored if `multiple` is `false`. Default: `0`."},"max":{"type":"number","description":"Maximum number of items that can be selected. Ignored if `multiple` is `false`. Default: `Infinity`.","markdownDescription":"Maximum number of items that can be selected. Ignored if `multiple` is `false`. Default: `Infinity`."},"dropdown_threshold":{"type":"number","description":"Maximum number of options to be displayed as radio buttons (single-select) or checkboxes (multi-select) rather than a dropdown list. Default: `5`.","markdownDescription":"Maximum number of options to be displayed as radio buttons (single-select) or checkboxes (multi-select) rather than a dropdown list. Default: `5`."},"widget":{"type":"string","const":"select","description":"Field type.","markdownDescription":"Field type."},"default":{"anyOf":[{"$ref":"#/definitions/SelectFieldValue"},{"$ref":"#/definitions/SelectFieldOption"},{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/SelectFieldValue"},{"$ref":"#/definitions/SelectFieldOption"}]}}],"description":"Default value that matches one of the options. An option object with the `label` and `value` properties can also be given, in which case its `value` is used. When `multiple` is `true`, it should be an array of valid values.","markdownDescription":"Default value that matches one of the options. An option object with the `label` and `value` properties can also be given, in which case its `value` is used. When `multiple` is `true`, it should be an array of valid values."},"default_localized":{"type":"object","additionalProperties":{"anyOf":[{"$ref":"#/definitions/SelectFieldValue"},{"$ref":"#/definitions/SelectFieldOption"},{"type":"array","items":{"anyOf":[{"$ref":"#/definitions/SelectFieldValue"},{"$ref":"#/definitions/SelectFieldOption"}]}}]},"description":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"options":{"anyOf":[{"type":"array","items":{"$ref":"#/definitions/SelectFieldValue"}},{"type":"array","items":{"$ref":"#/definitions/SelectFieldOption"}}],"description":"Options to choose from, given as a list of values, or a list of objects with the `label` and `value` properties. The list cannot be empty or contain duplicate values.","markdownDescription":"Options to choose from, given as a list of values, or a list of objects with the `label` and `value` properties. The list cannot be empty or contain duplicate values."},"pattern":{"type":"array","minItems":2,"items":[{"anyOf":[{"type":"string"},{"type":"string","format":"regex"}]},{"type":"string"}],"maxItems":2,"description":"Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message to be displayed when the input value does not match the pattern. If the field takes multiple values, like Decap CMS, the pattern is tested against all the values joined with commas, e.g. `foo,bar,baz`, rather than against each value, and not at all while the field is empty. Numbers are tested as strings, and a file just uploaded is tested by its name.","markdownDescription":"Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message to be displayed when the input value does not match the pattern. If the field takes multiple values, like Decap CMS, the pattern is tested against all the values joined with commas, e.g. `foo,bar,baz`, rather than against each value, and not at all while the field is empty. Numbers are tested as strings, and a file just uploaded is tested by its name."},"hint":{"type":"string","description":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only.","markdownDescription":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only."},"hint_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"preview":{"type":"boolean","description":"Whether to show the preview of the field. Default: `true`.","markdownDescription":"Whether to show the preview of the field. Default: `true`."},"required":{"anyOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"}}],"description":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean.","markdownDescription":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean."},"readonly":{"type":"boolean","description":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users.","markdownDescription":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users."},"i18n":{"anyOf":[{"$ref":"#/definitions/FieldI18nStrategy"},{"type":"string","const":"duplicate_if_empty"}],"description":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others, except in a rich text editor component, where it works like `translate`. `duplicate_if_empty` copies the default locale’s value to non-default locales only where the value is empty, or still the same as the default locale’s value, while the field can be edited in every locale. It’s not supported for a File, Image, Relation or Select field that accepts multiple values. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details.","markdownDescription":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others, except in a rich text editor component, where it works like `translate`. `duplicate_if_empty` copies the default locale’s value to non-default locales only where the value is empty, or still the same as the default locale’s value, while the field can be edited in every locale. It’s not supported for a File, Image, Relation or Select field that accepts multiple values. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details."},"name":{"type":"string","description":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets.","markdownDescription":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets."},"label":{"type":"string","description":"Label of the field to be displayed in the editor UI. Default: `name` field value.","markdownDescription":"Label of the field to be displayed in the editor UI. Default: `name` field value."},"label_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"comment":{"type":"string","description":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments.","markdownDescription":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments."}},"required":["name","options","widget"],"description":"Select field definition.","markdownDescription":"Select field definition."},"SelectFieldValue":{"type":["string","number","boolean","null"],"description":"Select field option value.","markdownDescription":"Select field option value."},"SelectFieldOption":{"type":"object","properties":{"label":{"type":"string","description":"Label shown in the UI.","markdownDescription":"Label shown in the UI."},"value":{"$ref":"#/definitions/SelectFieldValue","description":"Value saved in the entry.","markdownDescription":"Value saved in the entry."}},"required":["label","value"],"additionalProperties":false,"description":"Select field option with a label.","markdownDescription":"Select field option with a label."},"StringField":{"type":"object","additionalProperties":false,"properties":{"unique":{"type":"boolean","description":"Whether the value must be different from the value of the same field in every other entry of the collection, like a `UNIQUE` constraint in a relational database. An empty value is not checked; combine it with `required: true` to make sure every entry has a distinct value. Only available in an entry collection, and ignored for a field that takes multiple values, or a field in a List field or a rich text editor component. A Color field value is compared regardless of case, a Number field value by its numeric value, and a File or Image field value just uploaded isn’t compared, as it’s a new file. Default: `false`.","markdownDescription":"Whether the value must be different from the value of the same field in every other entry of the collection, like a `UNIQUE` constraint in a relational database. An empty value is not checked; combine it with `required: true` to make sure every entry has a distinct value. Only available in an entry collection, and ignored for a field that takes multiple values, or a field in a List field or a rich text editor component. A Color field value is compared regardless of case, a Number field value by its numeric value, and a File or Image field value just uploaded isn’t compared, as it’s a new file. Default: `false`."},"minlength":{"type":"number","description":"Minimum number of characters that can be entered in the input. Default: `0`.","markdownDescription":"Minimum number of characters that can be entered in the input. Default: `0`."},"maxlength":{"type":"number","description":"Maximum number of characters that can be entered in the input. Default: `Infinity`.","markdownDescription":"Maximum number of characters that can be entered in the input. Default: `Infinity`."},"before_input":{"type":"string","description":"An extra label to be displayed before the input UI. Markdown is supported. Default: empty string.","markdownDescription":"An extra label to be displayed before the input UI. Markdown is supported. Default: empty string."},"after_input":{"type":"string","description":"An extra label to be displayed after the input UI. Markdown is supported. Default: empty string.","markdownDescription":"An extra label to be displayed after the input UI. Markdown is supported. Default: empty string."},"widget":{"type":"string","const":"string","description":"Field type.","markdownDescription":"Field type."},"default":{"type":"string","description":"Default value.","markdownDescription":"Default value."},"default_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"type":{"type":"string","enum":["url","text","email"],"description":"Data type. It’s useful when the input value needs a validation. Default: `text`.","markdownDescription":"Data type. It’s useful when the input value needs a validation. Default: `text`."},"prefix":{"type":"string","description":"A string to be prepended to the value unless it’s empty. Default: empty string.","markdownDescription":"A string to be prepended to the value unless it’s empty. Default: empty string."},"suffix":{"type":"string","description":"A string to be appended to the value unless it’s empty. Default: empty string.","markdownDescription":"A string to be appended to the value unless it’s empty. Default: empty string."},"use_emoji_autocomplete":{"type":"boolean","description":"Whether to enable emoji autocomplete in the text input. Default: `true` if the type is `text`. When enabled, typing `:` followed by a few letters will show a list of matching emojis that can be selected to insert into the text.","markdownDescription":"Whether to enable emoji autocomplete in the text input. Default: `true` if the type is `text`. When enabled, typing `:` followed by a few letters will show a list of matching emojis that can be selected to insert into the text."},"pattern":{"type":"array","minItems":2,"items":[{"anyOf":[{"type":"string"},{"type":"string","format":"regex"}]},{"type":"string"}],"maxItems":2,"description":"Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message to be displayed when the input value does not match the pattern.","markdownDescription":"Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message to be displayed when the input value does not match the pattern."},"hint":{"type":"string","description":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only.","markdownDescription":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only."},"hint_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"preview":{"type":"boolean","description":"Whether to show the preview of the field. Default: `true`.","markdownDescription":"Whether to show the preview of the field. Default: `true`."},"required":{"anyOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"}}],"description":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean.","markdownDescription":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean."},"readonly":{"type":"boolean","description":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users.","markdownDescription":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users."},"i18n":{"anyOf":[{"$ref":"#/definitions/FieldI18nStrategy"},{"type":"string","const":"duplicate_if_empty"}],"description":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others, except in a rich text editor component, where it works like `translate`. `duplicate_if_empty` copies the default locale’s value to non-default locales only where the value is empty, or still the same as the default locale’s value, while the field can be edited in every locale. It’s not supported for a File, Image, Relation or Select field that accepts multiple values. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details.","markdownDescription":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others, except in a rich text editor component, where it works like `translate`. `duplicate_if_empty` copies the default locale’s value to non-default locales only where the value is empty, or still the same as the default locale’s value, while the field can be edited in every locale. It’s not supported for a File, Image, Relation or Select field that accepts multiple values. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details."},"name":{"type":"string","description":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets.","markdownDescription":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets."},"label":{"type":"string","description":"Label of the field to be displayed in the editor UI. Default: `name` field value.","markdownDescription":"Label of the field to be displayed in the editor UI. Default: `name` field value."},"label_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"comment":{"type":"string","description":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments.","markdownDescription":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments."}},"required":["name"],"description":"String field definition.","markdownDescription":"String field definition."},"TextField":{"type":"object","additionalProperties":false,"properties":{"unique":{"type":"boolean","description":"Whether the value must be different from the value of the same field in every other entry of the collection, like a `UNIQUE` constraint in a relational database. An empty value is not checked; combine it with `required: true` to make sure every entry has a distinct value. Only available in an entry collection, and ignored for a field that takes multiple values, or a field in a List field or a rich text editor component. A Color field value is compared regardless of case, a Number field value by its numeric value, and a File or Image field value just uploaded isn’t compared, as it’s a new file. Default: `false`.","markdownDescription":"Whether the value must be different from the value of the same field in every other entry of the collection, like a `UNIQUE` constraint in a relational database. An empty value is not checked; combine it with `required: true` to make sure every entry has a distinct value. Only available in an entry collection, and ignored for a field that takes multiple values, or a field in a List field or a rich text editor component. A Color field value is compared regardless of case, a Number field value by its numeric value, and a File or Image field value just uploaded isn’t compared, as it’s a new file. Default: `false`."},"minlength":{"type":"number","description":"Minimum number of characters that can be entered in the input. Default: `0`.","markdownDescription":"Minimum number of characters that can be entered in the input. Default: `0`."},"maxlength":{"type":"number","description":"Maximum number of characters that can be entered in the input. Default: `Infinity`.","markdownDescription":"Maximum number of characters that can be entered in the input. Default: `Infinity`."},"widget":{"type":"string","const":"text","description":"Field type.","markdownDescription":"Field type."},"default":{"type":"string","description":"Default value.","markdownDescription":"Default value."},"default_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"use_emoji_autocomplete":{"type":"boolean","description":"Whether to enable emoji autocomplete in the text area. Default: `true`. When enabled, typing `:` followed by a few letters will show a list of matching emojis that can be selected to insert into the text.","markdownDescription":"Whether to enable emoji autocomplete in the text area. Default: `true`. When enabled, typing `:` followed by a few letters will show a list of matching emojis that can be selected to insert into the text."},"pattern":{"type":"array","minItems":2,"items":[{"anyOf":[{"type":"string"},{"type":"string","format":"regex"}]},{"type":"string"}],"maxItems":2,"description":"Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message to be displayed when the input value does not match the pattern.","markdownDescription":"Validation format. The first argument is a regular expression matching pattern for a valid input value, and the second argument is an error message to be displayed when the input value does not match the pattern."},"hint":{"type":"string","description":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only.","markdownDescription":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only."},"hint_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"preview":{"type":"boolean","description":"Whether to show the preview of the field. Default: `true`.","markdownDescription":"Whether to show the preview of the field. Default: `true`."},"required":{"anyOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"}}],"description":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean.","markdownDescription":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean."},"readonly":{"type":"boolean","description":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users.","markdownDescription":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users."},"i18n":{"anyOf":[{"$ref":"#/definitions/FieldI18nStrategy"},{"type":"string","const":"duplicate_if_empty"}],"description":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others, except in a rich text editor component, where it works like `translate`. `duplicate_if_empty` copies the default locale’s value to non-default locales only where the value is empty, or still the same as the default locale’s value, while the field can be edited in every locale. It’s not supported for a File, Image, Relation or Select field that accepts multiple values. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details.","markdownDescription":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others, except in a rich text editor component, where it works like `translate`. `duplicate_if_empty` copies the default locale’s value to non-default locales only where the value is empty, or still the same as the default locale’s value, while the field can be edited in every locale. It’s not supported for a File, Image, Relation or Select field that accepts multiple values. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details."},"name":{"type":"string","description":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets.","markdownDescription":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets."},"label":{"type":"string","description":"Label of the field to be displayed in the editor UI. Default: `name` field value.","markdownDescription":"Label of the field to be displayed in the editor UI. Default: `name` field value."},"label_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"comment":{"type":"string","description":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments.","markdownDescription":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments."}},"required":["name","widget"],"description":"Text field definition.","markdownDescription":"Text field definition."},"UuidField":{"type":"object","additionalProperties":false,"properties":{"widget":{"type":"string","const":"uuid","description":"Field type.","markdownDescription":"Field type."},"default":{"type":"string","description":"Default value.","markdownDescription":"Default value."},"default_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"prefix":{"type":"string","description":"A string to be prepended to the value. Default: empty string.","markdownDescription":"A string to be prepended to the value. Default: empty string."},"use_b32_encoding":{"type":"boolean","description":"Whether to encode the value with Base32, which makes a 26-character lowercase ID instead of a 36-character UUID. Default: `false`.","markdownDescription":"Whether to encode the value with Base32, which makes a 26-character lowercase ID instead of a 36-character UUID. Default: `false`."},"read_only":{"type":"boolean","description":"Whether to make the field read-only. Default: `true`. The `readonly` common field option, which also defaults to `true` for the UUID field type, takes precedence if both are set.","markdownDescription":"Whether to make the field read-only. Default: `true`. The `readonly` common field option, which also defaults to `true` for the UUID field type, takes precedence if both are set."},"hint":{"type":"string","description":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only.","markdownDescription":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only."},"hint_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"preview":{"type":"boolean","description":"Whether to show the preview of the field. Default: `true`.","markdownDescription":"Whether to show the preview of the field. Default: `true`."},"required":{"anyOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"}}],"description":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean.","markdownDescription":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean."},"readonly":{"type":"boolean","description":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users.","markdownDescription":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users."},"i18n":{"$ref":"#/definitions/FieldI18nStrategy","description":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others. In a rich text editor component, whose values are stored in each locale’s text, it works like `translate`. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details.","markdownDescription":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others. In a rich text editor component, whose values are stored in each locale’s text, it works like `translate`. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details."},"name":{"type":"string","description":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets.","markdownDescription":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets."},"label":{"type":"string","description":"Label of the field to be displayed in the editor UI. Default: `name` field value.","markdownDescription":"Label of the field to be displayed in the editor UI. Default: `name` field value."},"label_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"comment":{"type":"string","description":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments.","markdownDescription":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments."}},"required":["name","widget"],"description":"UUID field definition.","markdownDescription":"UUID field definition."},"HiddenField":{"type":"object","additionalProperties":false,"properties":{"widget":{"type":"string","const":"hidden","description":"Field type.","markdownDescription":"Field type."},"default":{"description":"Default value. Accepts any data type that can be stored with the configured file format. A string can contain the `{{locale}}`, `{{datetime}}`, `{{uuid}}`, `{{uuid_short}}`, `{{uuid_shorter}}`, `{{author-email}}`, `{{author-login}}` and `{{author-name}}` tags, which are filled when a new entry draft is created.","markdownDescription":"Default value. Accepts any data type that can be stored with the configured file format. A string can contain the `{{locale}}`, `{{datetime}}`, `{{uuid}}`, `{{uuid_short}}`, `{{uuid_shorter}}`, `{{author-email}}`, `{{author-login}}` and `{{author-name}}` tags, which are filled when a new entry draft is created."},"default_localized":{"type":"object","description":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"i18n":{"$ref":"#/definitions/FieldI18nStrategy","description":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others. In a rich text editor component, whose values are stored in each locale’s text, it works like `translate`. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details.","markdownDescription":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others. In a rich text editor component, whose values are stored in each locale’s text, it works like `translate`. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details."},"name":{"type":"string","description":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets.","markdownDescription":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets."},"label":{"type":"string","description":"Label of the field to be displayed in the editor UI. Default: `name` field value.","markdownDescription":"Label of the field to be displayed in the editor UI. Default: `name` field value."},"label_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"comment":{"type":"string","description":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments.","markdownDescription":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments."}},"required":["name","widget"],"description":"Hidden field definition.","markdownDescription":"Hidden field definition."},"CustomField":{"type":"object","properties":{"widget":{"type":"string","description":"Field type.","markdownDescription":"Field type.","minLength":1,"not":{"enum":["boolean","code","color","compute","datetime","file","hidden","image","keyvalue","list","map","markdown","number","object","relation","richtext","select","string","text","uuid"]}},"hint":{"type":"string","description":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only.","markdownDescription":"Help message to be displayed below the input UI. Limited Markdown formatting is supported: bold, italic, strikethrough, inline code and links. A line break can be given as a literal backslash followed by `n`, e.g. `\\n` in a plain or single-quoted YAML string; in JSON or a double-quoted string, the backslash itself has to be escaped. The hint is not displayed while the field is read-only."},"hint_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Help messages for specific locales, keyed by locale code, taking precedence over `hint`. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"preview":{"type":"boolean","description":"Whether to show the preview of the field. Default: `true`.","markdownDescription":"Whether to show the preview of the field. Default: `true`."},"required":{"anyOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"}}],"description":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean.","markdownDescription":"Whether to make data input on the field required. Default: `true`. This option also affects data output if the `omit_empty_optional_fields` global output option is `true`. If i18n is enabled and the field doesn’t require input in all locales, required locale codes can be passed as an array like `[en, fr]` instead of a boolean."},"readonly":{"type":"boolean","description":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users.","markdownDescription":"Whether to make the field read-only. Default: `false`, or `true` for the UUID field type. This is useful when a `default` value is provided and the field should not be editable by users."},"i18n":{"$ref":"#/definitions/FieldI18nStrategy","description":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others. In a rich text editor component, whose values are stored in each locale’s text, it works like `translate`. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details.","markdownDescription":"Whether to enable the editor UI in locales other than the default locale. Default: `false`, or the option of a field using `duplicate` or `sync` for its subfield. `duplicate` makes the field read-only in non-default locales and automatically copies the default locale’s value to them. `sync` keeps the value the same in every locale as well, but the field can be edited in any locale, and the value is copied from there to the others. In a rich text editor component, whose values are stored in each locale’s text, it works like `translate`. `translate` and `none` are aliases of `true` and `false`, respectively. This option only works when i18n is set up with the global and collection-level `i18n` option. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#field-level-configuration) for details."},"name":{"type":"string","description":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets.","markdownDescription":"Unique identifier for the field among its sibling fields. It cannot contain spaces, periods, asterisks, colons or angle brackets."},"label":{"type":"string","description":"Label of the field to be displayed in the editor UI. Default: `name` field value.","markdownDescription":"Label of the field to be displayed in the editor UI. Default: `name` field value."},"label_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Labels for specific locales, keyed by locale code, taking precedence over `label`. The editor shows the label for the locale being edited; elsewhere, the label for the UI locale is used. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"comment":{"type":"string","description":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments.","markdownDescription":"Comment to be written before the field in a YAML file or YAML front matter, for developers reading the file. It’s not displayed in the editor UI; use `hint` for that. A line break can be given as `\\n`. The comment on a subfield of an Object field is written before the subfield, while the one on a subfield of a List field or a variable-type Object field is ignored. TOML and JSON files don’t support comments."}},"required":["name","widget"],"description":"Entry field using a custom field type.","markdownDescription":"Entry field using a custom field type."},"CollectionFilter":{"type":"object","properties":{"field":{"$ref":"#/definitions/FieldKeyPath","description":"Field name.","markdownDescription":"Field name."},"value":{"anyOf":[{},{"type":"array","items":{}}],"description":"Field value. `null` can be used to match an undefined field. Multiple values can be defined with an array. This option or `pattern` is required.","markdownDescription":"Field value. `null` can be used to match an undefined field. Multiple values can be defined with an array. This option or `pattern` is required."},"pattern":{"anyOf":[{"type":"string"},{"type":"string","format":"regex"}],"description":"Regular expression matching pattern.","markdownDescription":"Regular expression matching pattern."}},"required":["field"],"additionalProperties":false,"description":"Collection filter options.","markdownDescription":"Collection filter options."},"ReorderOptions":{"type":"object","properties":{"key":{"type":"string","description":"Property name used to save the numeric order of each entry. Default: `order`.","markdownDescription":"Property name used to save the numeric order of each entry. Default: `order`."},"group":{"type":"string","description":"The `name` of one of the collection’s `view_groups`, e.g. `categories`. Entries are grouped by it in reorder mode and can only be reordered within their own group, with the order field numbered group by group. Default: no grouping, so the entry list becomes a single flat sequence while reordering.","markdownDescription":"The `name` of one of the collection’s `view_groups`, e.g. `categories`. Entries are grouped by it in reorder mode and can only be reordered within their own group, with the order field numbered group by group. Default: no grouping, so the entry list becomes a single flat sequence while reordering."}},"additionalProperties":false,"description":"A collection’s advanced entry reordering options.","markdownDescription":"A collection’s advanced entry reordering options."},"TableColumn":{"type":"object","properties":{"field":{"$ref":"#/definitions/FieldKeyPath","description":"Field name, e.g. `title`, which can be a nested field name in dot notation, e.g. `author.name`, one of the special keys: `_summary` for the entry summary, `slug`, `commit_author` and `commit_date`, or a template like the `summary` option’s, which can use the same tags and transformations, e.g. `{{locales}}` or `{{dirname}}/{{filename}}.{{extension}}`.","markdownDescription":"Field name, e.g. `title`, which can be a nested field name in dot notation, e.g. `author.name`, one of the special keys: `_summary` for the entry summary, `slug`, `commit_author` and `commit_date`, or a template like the `summary` option’s, which can use the same tags and transformations, e.g. `{{locales}}` or `{{dirname}}/{{filename}}.{{extension}}`."},"label":{"type":"string","description":"Column header. Default: the field’s `label` option, or a localized label for a special key.","markdownDescription":"Column header. Default: the field’s `label` option, or a localized label for a special key."}},"required":["field"],"additionalProperties":false,"description":"A column of the entry list’s table view.","markdownDescription":"A column of the entry list’s table view."},"BulkEditOptions":{"type":"object","properties":{"fields":{"type":"array","items":{"type":"string"},"description":"Names of the top-level fields to show as columns in the bulk editor, in that order. Only a Boolean, Color, DateTime, Number, Relation, Select or String field can be edited in bulk, as long as it isn’t read-only, doesn’t have the `multiple` option enabled and isn’t set automatically on save. Default: every such field, in the configured order.","markdownDescription":"Names of the top-level fields to show as columns in the bulk editor, in that order. Only a Boolean, Color, DateTime, Number, Relation, Select or String field can be edited in bulk, as long as it isn’t read-only, doesn’t have the `multiple` option enabled and isn’t set automatically on save. Default: every such field, in the configured order."}},"additionalProperties":false,"description":"A collection’s advanced bulk editing options.","markdownDescription":"A collection’s advanced bulk editing options."},"CollectionSlugOptions":{"type":"object","properties":{"template":{"type":"string","description":"Slug template. Default: `identifier_field` option value. It cannot contain slashes; to organize entries in subfolders, use the `path` option instead.","markdownDescription":"Slug template. Default: `identifier_field` option value. It cannot contain slashes; to organize entries in subfolders, use the `path` option instead."},"editable":{"anyOf":[{"type":"boolean"},{"type":"array","items":{"$ref":"#/definitions/SlugEditableStage"}}],"description":"Whether users can edit the slug. `true` means both when an entry is created and once it has been saved, `false` means neither, and an array like `[create]` or `[update]` picks the stages. Default: `true`. When the slug is editable on creation, a new entry draft shows a slug field, prefilled with the slug the template fills, whose value takes over from the template once it’s typed in. If the option is set to allow it without a `template`, the slug has to be typed in.","markdownDescription":"Whether users can edit the slug. `true` means both when an entry is created and once it has been saved, `false` means neither, and an array like `[create]` or `[update]` picks the stages. Default: `true`. When the slug is editable on creation, a new entry draft shows a slug field, prefilled with the slug the template fills, whose value takes over from the template once it’s typed in. If the option is set to allow it without a `template`, the slug has to be typed in."},"i18n":{"anyOf":[{"type":"boolean"},{"type":"string","const":"duplicate"}],"description":"Whether each locale has a slug of its own. `true` lets users edit the slug for each locale, and fills every field tag in the template with the locale’s own value. `duplicate` (default) and `false` share the default locale’s slug with the other locales. It only has an effect with the `multiple_files`, `multiple_folders` or `multiple_root_folders` i18n structure, or the `{{locale}}` placeholder in the `folder` option.","markdownDescription":"Whether each locale has a slug of its own. `true` lets users edit the slug for each locale, and fills every field tag in the template with the locale’s own value. `duplicate` (default) and `false` share the default locale’s slug with the other locales. It only has an effect with the `multiple_files`, `multiple_folders` or `multiple_root_folders` i18n structure, or the `{{locale}}` placeholder in the `folder` option."},"auto_increment":{"type":"boolean","description":"Whether to number the entries automatically, like an `AUTO_INCREMENT` column in a relational database. A new entry’s slug is the integer after the highest one among the slugs of the collection’s entries, starting from `1`, when it’s saved. The `template` option is ignored. When the slug is editable on creation, the slug field is prefilled with the next number, and a slug typed in takes over from it. Default: `false`.","markdownDescription":"Whether to number the entries automatically, like an `AUTO_INCREMENT` column in a relational database. A new entry’s slug is the integer after the highest one among the slugs of the collection’s entries, starting from `1`, when it’s saved. The `template` option is ignored. When the slug is editable on creation, the slug field is prefilled with the next number, and a slug typed in takes over from it. Default: `false`."},"hint":{"type":"string","description":"Short description shown at the top of the entry sidebar’s Slug panel.","markdownDescription":"Short description shown at the top of the entry sidebar’s Slug panel."},"pattern":{"type":"array","minItems":2,"items":[{"anyOf":[{"type":"string"},{"type":"string","format":"regex"}]},{"type":"string"}],"maxItems":2,"description":"Validation format of the slug. The first argument is a regular expression matching pattern for a valid slug, and the second argument is an error message to be displayed when the slug does not match the pattern.","markdownDescription":"Validation format of the slug. The first argument is a regular expression matching pattern for a valid slug, and the second argument is an error message to be displayed when the slug does not match the pattern."}},"additionalProperties":false,"description":"Entry slug options for an entry collection. Not to be confused with the global `slug` option, which defines how slugs are formatted across the site.","markdownDescription":"Entry slug options for an entry collection. Not to be confused with the global `slug` option, which defines how slugs are formatted across the site."},"SlugEditableStage":{"type":"string","enum":["create","update"],"description":"Stage of an entry’s life at which its slug can be edited: when the entry is created, or once it has been saved.","markdownDescription":"Stage of an entry’s life at which its slug can be edited: when the entry is created, or once it has been saved."},"SortableFields":{"type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/definitions/FieldKeyPath"},"description":"A list of sortable field names.","markdownDescription":"A list of sortable field names."},"default":{"$ref":"#/definitions/SortableFieldsDefaultOptions","description":"Default sort settings. See the [documentation](https://sveltiacms.app/en/docs/collections/entries/views#sorting) for details.","markdownDescription":"Default sort settings. See the [documentation](https://sveltiacms.app/en/docs/collections/entries/views#sorting) for details."}},"required":["fields"],"additionalProperties":false,"description":"A collection’s advanced sortable fields definition, which is compatible with Static CMS.","markdownDescription":"A collection’s advanced sortable fields definition, which is compatible with Static CMS."},"SortableFieldsDefaultOptions":{"type":"object","properties":{"field":{"$ref":"#/definitions/FieldKeyPath","description":"A field name to be sorted by default.","markdownDescription":"A field name to be sorted by default."},"direction":{"type":"string","enum":["ascending","descending","Ascending","Descending","None"],"description":"Default sort direction. Title case values are supported for Static CMS compatibility. However, `None` is the same as `ascending`. Default: `ascending`.","markdownDescription":"Default sort direction. Title case values are supported for Static CMS compatibility. However, `None` is the same as `ascending`. Default: `ascending`."}},"required":["field"],"additionalProperties":false,"description":"The default options for the sortable fields.","markdownDescription":"The default options for the sortable fields."},"SortableField":{"type":"object","properties":{"field":{"$ref":"#/definitions/FieldKeyPath","description":"A field name to be sorted by.","markdownDescription":"A field name to be sorted by."},"label":{"type":"string","description":"Label of the field in the Sort menu. Default: the field’s label.","markdownDescription":"Label of the field in the Sort menu. Default: the field’s label."},"default_sort":{"anyOf":[{"type":"boolean"},{"type":"string","const":"desc"},{"type":"string","const":"asc"}],"description":"Whether to sort the entries by this field by default, and in which direction: `asc` or `true` for ascending, `desc` for descending. Only one field can have this option. The user’s own sort choice, which is remembered, takes precedence.","markdownDescription":"Whether to sort the entries by this field by default, and in which direction: `asc` or `true` for ascending, `desc` for descending. Only one field can have this option. The user’s own sort choice, which is remembered, takes precedence."}},"required":["field"],"additionalProperties":false,"description":"A sortable field definition in the `sortable_fields` list, which is compatible with Decap CMS. It can be mixed with field names in the same list.","markdownDescription":"A sortable field definition in the `sortable_fields` list, which is compatible with Decap CMS. It can be mixed with field names in the same list."},"ViewFilters":{"type":"object","properties":{"filters":{"type":"array","items":{"$ref":"#/definitions/ViewFilter"},"description":"A list of view filters.","markdownDescription":"A list of view filters."},"default":{"type":"string","description":"Default filter name.","markdownDescription":"Default filter name."}},"required":["filters"],"additionalProperties":false,"description":"A collection’s advanced filter definition, which is compatible with Static CMS.","markdownDescription":"A collection’s advanced filter definition, which is compatible with Static CMS."},"ViewFilter":{"type":"object","additionalProperties":false,"properties":{"eq":{"$ref":"#/definitions/ViewComparisonValue","description":"Value the field value has to be equal to.","markdownDescription":"Value the field value has to be equal to."},"ne":{"$ref":"#/definitions/ViewComparisonValue","description":"Value the field value has to be different from. An entry without a value for the field also matches.","markdownDescription":"Value the field value has to be different from. An entry without a value for the field also matches."},"lt":{"$ref":"#/definitions/ViewComparisonValue","description":"Value the field value has to be less than, e.g. `{{now}}` for past events.","markdownDescription":"Value the field value has to be less than, e.g. `{{now}}` for past events."},"lte":{"$ref":"#/definitions/ViewComparisonValue","description":"Value the field value has to be less than or equal to.","markdownDescription":"Value the field value has to be less than or equal to."},"gt":{"$ref":"#/definitions/ViewComparisonValue","description":"Value the field value has to be greater than.","markdownDescription":"Value the field value has to be greater than."},"gte":{"$ref":"#/definitions/ViewComparisonValue","description":"Value the field value has to be greater than or equal to, e.g. `{{today}}` for upcoming events.","markdownDescription":"Value the field value has to be greater than or equal to, e.g. `{{today}}` for upcoming events."},"in":{"type":"array","items":{"$ref":"#/definitions/ViewComparisonValue"},"description":"Values one of which the field value has to be equal to.","markdownDescription":"Values one of which the field value has to be equal to."},"not_in":{"type":"array","items":{"$ref":"#/definitions/ViewComparisonValue"},"description":"Values the field value has to be different from. An entry without a value for the field also matches.","markdownDescription":"Values the field value has to be different from. An entry without a value for the field also matches."},"empty":{"type":"boolean","description":"Whether the field value has to be empty (`true`) or not (`false`). A value is empty if the field is missing from the entry, e.g. because it was added to the configuration after the entry was created, or if it’s `null`, an empty string, an empty list, or an Object field whose subfields are all empty. This works in every configuration format, including TOML, which has no `null`.","markdownDescription":"Whether the field value has to be empty (`true`) or not (`false`). A value is empty if the field is missing from the entry, e.g. because it was added to the configuration after the entry was created, or if it’s `null`, an empty string, an empty list, or an Object field whose subfields are all empty. This works in every configuration format, including TOML, which has no `null`."},"name":{"type":"string","description":"Unique identifier for the filter. Required when filters are defined with the `filters` option, so that the `default` option can refer to it.","markdownDescription":"Unique identifier for the filter. Required when filters are defined with the `filters` option, so that the `default` option can refer to it."},"label":{"type":"string","description":"Label of the filter to be displayed in the entry list UI.","markdownDescription":"Label of the filter to be displayed in the entry list UI."},"field":{"$ref":"#/definitions/FieldKeyPath","description":"Field name.","markdownDescription":"Field name."},"pattern":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"string","format":"regex"}],"description":"Regular expression matching pattern or exact value. Required unless one of the comparison options is defined.","markdownDescription":"Regular expression matching pattern or exact value. Required unless one of the comparison options is defined."}},"required":["field","label"],"description":"View filter.","markdownDescription":"View filter."},"ViewComparisonValue":{"type":["string","number","boolean"],"description":"A value that a view filter or group compares the field value with. A string can contain the `{{now}}` tag for the current date and time, the `{{today}}` tag for the current date in the `YYYY-MM-DD` format, or the `{{year}}`, `{{month}}`, `{{day}}`, `{{hour}}`, `{{minute}}` and `{{second}}` tags for the parts of the current date and time, all in the user’s local time zone. The tags are resolved whenever the entry list is updated, and every minute while such a filter or group is applied, so a filter like “Upcoming events” keeps working without a change to the configuration.","markdownDescription":"A value that a view filter or group compares the field value with. A string can contain the `{{now}}` tag for the current date and time, the `{{today}}` tag for the current date in the `YYYY-MM-DD` format, or the `{{year}}`, `{{month}}`, `{{day}}`, `{{hour}}`, `{{minute}}` and `{{second}}` tags for the parts of the current date and time, all in the user’s local time zone. The tags are resolved whenever the entry list is updated, and every minute while such a filter or group is applied, so a filter like “Upcoming events” keeps working without a change to the configuration."},"ViewGroups":{"type":"object","properties":{"groups":{"type":"array","items":{"$ref":"#/definitions/ViewGroup"},"description":"A list of view groups.","markdownDescription":"A list of view groups."},"default":{"type":"string","description":"Default group name.","markdownDescription":"Default group name."}},"required":["groups"],"additionalProperties":false,"description":"A collection’s advanced group definition, which is compatible with Static CMS.","markdownDescription":"A collection’s advanced group definition, which is compatible with Static CMS."},"ViewGroup":{"type":"object","additionalProperties":false,"properties":{"eq":{"$ref":"#/definitions/ViewComparisonValue","description":"Value the field value has to be equal to.","markdownDescription":"Value the field value has to be equal to."},"ne":{"$ref":"#/definitions/ViewComparisonValue","description":"Value the field value has to be different from. An entry without a value for the field also matches.","markdownDescription":"Value the field value has to be different from. An entry without a value for the field also matches."},"lt":{"$ref":"#/definitions/ViewComparisonValue","description":"Value the field value has to be less than, e.g. `{{now}}` for past events.","markdownDescription":"Value the field value has to be less than, e.g. `{{now}}` for past events."},"lte":{"$ref":"#/definitions/ViewComparisonValue","description":"Value the field value has to be less than or equal to.","markdownDescription":"Value the field value has to be less than or equal to."},"gt":{"$ref":"#/definitions/ViewComparisonValue","description":"Value the field value has to be greater than.","markdownDescription":"Value the field value has to be greater than."},"gte":{"$ref":"#/definitions/ViewComparisonValue","description":"Value the field value has to be greater than or equal to, e.g. `{{today}}` for upcoming events.","markdownDescription":"Value the field value has to be greater than or equal to, e.g. `{{today}}` for upcoming events."},"in":{"type":"array","items":{"$ref":"#/definitions/ViewComparisonValue"},"description":"Values one of which the field value has to be equal to.","markdownDescription":"Values one of which the field value has to be equal to."},"not_in":{"type":"array","items":{"$ref":"#/definitions/ViewComparisonValue"},"description":"Values the field value has to be different from. An entry without a value for the field also matches.","markdownDescription":"Values the field value has to be different from. An entry without a value for the field also matches."},"empty":{"type":"boolean","description":"Whether the field value has to be empty (`true`) or not (`false`). A value is empty if the field is missing from the entry, e.g. because it was added to the configuration after the entry was created, or if it’s `null`, an empty string, an empty list, or an Object field whose subfields are all empty. This works in every configuration format, including TOML, which has no `null`.","markdownDescription":"Whether the field value has to be empty (`true`) or not (`false`). A value is empty if the field is missing from the entry, e.g. because it was added to the configuration after the entry was created, or if it’s `null`, an empty string, an empty list, or an Object field whose subfields are all empty. This works in every configuration format, including TOML, which has no `null`."},"name":{"type":"string","description":"Unique identifier for the group. Required when groups are defined with the `groups` option, so that the `default` option and the `reorder.group` option can refer to it.","markdownDescription":"Unique identifier for the group. Required when groups are defined with the `groups` option, so that the `default` option and the `reorder.group` option can refer to it."},"label":{"type":"string","description":"Label of the group to be displayed in the entry list UI. With a comparison option, the entries satisfying the condition are grouped under this label, and the other entries under “Other”.","markdownDescription":"Label of the group to be displayed in the entry list UI. With a comparison option, the entries satisfying the condition are grouped under this label, and the other entries under “Other”."},"field":{"$ref":"#/definitions/FieldKeyPath","description":"Field name.","markdownDescription":"Field name."},"pattern":{"anyOf":[{"type":"string"},{"type":"boolean"},{"type":"string","format":"regex"}],"description":"Regular expression matching pattern or exact value. Entries are grouped by the matched part of the field value. Without a `pattern` or a comparison option, entries are grouped by the field value itself.","markdownDescription":"Regular expression matching pattern or exact value. Entries are grouped by the matched part of the field value. Without a `pattern` or a comparison option, entries are grouped by the field value itself."},"collapsed":{"type":"boolean","description":"Whether to collapse the groups by default. Default: `false`. If set to `true`, every group, including one that appears later, starts collapsed unless the user has expanded it. The user’s own choice to expand or collapse a group is remembered.","markdownDescription":"Whether to collapse the groups by default. Default: `false`. If set to `true`, every group, including one that appears later, starts collapsed unless the user has expanded it. The user’s own choice to expand or collapse a group is remembered."}},"required":["field","label"],"description":"View group.","markdownDescription":"View group."},"NestedEntryOptions":{"type":"object","properties":{"depth":{"type":"number","description":"Maximum number of path segments below the collection folder, which is both the depth of the collection tree and the depth at which entry files are looked up. Default: `Infinity`.","markdownDescription":"Maximum number of path segments below the collection folder, which is both the depth of the collection tree and the depth at which entry files are looked up. Default: `Infinity`."},"summary":{"type":"string","description":"Summary template for a tree item, which overrides the collection’s `summary` option. Default: the collection’s `summary` option value.","markdownDescription":"Summary template for a tree item, which overrides the collection’s `summary` option. Default: the collection’s `summary` option value."},"subfolders":{"type":"boolean","description":"Whether each entry is stored as an index file in its own subfolder. If `false`, entries are regular files placed directly in the folders. Default: `true`.","markdownDescription":"Whether each entry is stored as an index file in its own subfolder. If `false`, entries are regular files placed directly in the folders. Default: `true`."}},"additionalProperties":false,"description":"Nested entry options.","markdownDescription":"Nested entry options."},"CollectionMetaData":{"type":"object","properties":{"path":{"$ref":"#/definitions/CollectionMetaDataPath","description":"Entry path options.","markdownDescription":"Entry path options."}},"additionalProperties":false,"description":"Collection meta data.","markdownDescription":"Collection meta data."},"CollectionMetaDataPath":{"type":"object","properties":{"widget":{"type":"string","description":"Field type for editing the path name. Accepted for compatibility with Netlify/Decap CMS but ignored: the editor is always a folder picker.","markdownDescription":"Field type for editing the path name. Accepted for compatibility with Netlify/Decap CMS but ignored: the editor is always a folder picker."},"label":{"type":"string","description":"Label for the path editor. Accepted for compatibility with Netlify/Decap CMS but ignored: the picker has a built-in, localized label.","markdownDescription":"Label for the path editor. Accepted for compatibility with Netlify/Decap CMS but ignored: the picker has a built-in, localized label."},"index_file":{"type":"string","description":"File name, without an extension, shared by every entry in the collection, e.g. `_index`. If omitted, each entry keeps its own file name.","markdownDescription":"File name, without an extension, shared by every entry in the collection, e.g. `_index`. If omitted, each entry keeps its own file name."}},"additionalProperties":false,"description":"Collection meta data’s path options.","markdownDescription":"Collection meta data’s path options."},"CollectionIndexFile":{"type":"object","properties":{"name":{"type":"string","description":"Index file name without a locale or file extension. Default: `_index`, which is used for Hugo’s special index file.","markdownDescription":"Index file name without a locale or file extension. Default: `_index`, which is used for Hugo’s special index file."},"extension":{"type":"string","description":"File extension of the index file, if it differs from the entries’. Default: the collection’s `extension`, or the one that goes with `format` if given. This allows an Eleventy [directory data file](https://www.11ty.dev/docs/data-template-dir/) like `posts/posts.json` to be managed beside the Markdown entries in the same folder.","markdownDescription":"File extension of the index file, if it differs from the entries’. Default: the collection’s `extension`, or the one that goes with `format` if given. This allows an Eleventy [directory data file](https://www.11ty.dev/docs/data-template-dir/) like `posts/posts.json` to be managed beside the Markdown entries in the same folder."},"format":{"type":"string","description":"File format of the index file, if it differs from the entries’. Default: detected from `extension` if given, or the collection’s `format`.","markdownDescription":"File format of the index file, if it differs from the entries’. Default: detected from `extension` if given, or the collection’s `format`."},"label":{"type":"string","description":"Label to be displayed in the editor UI. Default: Index File or its localized version.","markdownDescription":"Label to be displayed in the editor UI. Default: Index File or its localized version."},"icon":{"type":"string","description":"Name of a [Material Symbols icon](https://fonts.google.com/icons?icon.set=Material+Symbols) to be displayed in the editor UI. Default: `home`.","markdownDescription":"Name of a [Material Symbols icon](https://fonts.google.com/icons?icon.set=Material+Symbols) to be displayed in the editor UI. Default: `home`."},"summary":{"type":"string","description":"Summary template displayed in place of the label in the entry list, search results and other places where the collection’s `summary` option applies to the entries, e.g. `{{title}} ({{locales}})`. It can use the index file’s fields and the same special tags and transformations as the collection’s `summary` option; `{{title}}` falls back to the label without a `title` field. Default: the `label` option value.","markdownDescription":"Summary template displayed in place of the label in the entry list, search results and other places where the collection’s `summary` option applies to the entries, e.g. `{{title}} ({{locales}})`. It can use the index file’s fields and the same special tags and transformations as the collection’s `summary` option; `{{title}}` falls back to the label without a `title` field. Default: the `label` option value."},"fields":{"type":"array","items":{"$ref":"#/definitions/Field"},"description":"Set of fields for the index file. If omitted, the regular entry collection `fields` will be used instead.","markdownDescription":"Set of fields for the index file. If omitted, the regular entry collection `fields` will be used instead."},"editor":{"$ref":"#/definitions/EditorOptions","description":"Editor view options.","markdownDescription":"Editor view options."}},"additionalProperties":false,"description":"Index file inclusion options. See the [documentation](https://sveltiacms.app/en/docs/collections/entries/listings#managing-hugo-s-special-index-file) for details.","markdownDescription":"Index file inclusion options. See the [documentation](https://sveltiacms.app/en/docs/collections/entries/listings#managing-hugo-s-special-index-file) for details."},"EditorOptions":{"type":"object","properties":{"preview":{"type":"boolean","description":"Whether to show the preview pane. Default: `true`.","markdownDescription":"Whether to show the preview pane. Default: `true`."},"second_pane":{"type":"boolean","description":"Whether to show the second pane, which holds the preview or another locale’s editor next to the first pane. If `false`, the editor has a single pane, where the preview, if enabled, takes turns with the editor. Default: `true`.","markdownDescription":"Whether to show the second pane, which holds the preview or another locale’s editor next to the first pane. If `false`, the editor has a single pane, where the preview, if enabled, takes turns with the editor. Default: `true`."}},"additionalProperties":false,"description":"Editor options.","markdownDescription":"Editor options."},"BodyFieldOptions":{"type":"object","properties":{"key":{"type":"string","description":"Field name to store the body content when using a front matter format. Default: `body`.","markdownDescription":"Field name to store the body content when using a front matter format. Default: `body`."},"inline":{"type":"boolean","description":"Whether to store the body content in the front matter as a field along with other fields. If `false`, the body content is stored as the main content of the file, after the front matter block. Default: `false`.","markdownDescription":"Whether to store the body content in the front matter as a field along with other fields. If `false`, the body content is stored as the main content of the file, after the front matter block. Default: `false`."}},"additionalProperties":false,"description":"Body field options for front matter formats.","markdownDescription":"Body field options for front matter formats."},"I18nOptions":{"type":"object","properties":{"structure":{"$ref":"#/definitions/I18nFileStructure","description":"File structure for entry collections. Default: `single_file`. An entry collection can instead say where the locale folder goes with the `{{locale}}` placeholder in the `folder` option, like `content/{{locale}}/posts`, which is useful when the locale folders sit between the site’s content folder and the collection folders. File/singleton collection must define the structure using `{{locale}}` in the `file` option. `multiple_folders_i18n_root` has been deprecated in favor of `multiple_root_folders`. See the [documentation](https://sveltiacms.app/en/docs/i18n/structures) for details.","markdownDescription":"File structure for entry collections. Default: `single_file`. An entry collection can instead say where the locale folder goes with the `{{locale}}` placeholder in the `folder` option, like `content/{{locale}}/posts`, which is useful when the locale folders sit between the site’s content folder and the collection folders. File/singleton collection must define the structure using `{{locale}}` in the `file` option. `multiple_folders_i18n_root` has been deprecated in favor of `multiple_root_folders`. See the [documentation](https://sveltiacms.app/en/docs/i18n/structures) for details."},"locales":{"type":"array","items":{"type":"string"},"description":"List of all available locales. **Required for the global i18n options**.","markdownDescription":"List of all available locales. **Required for the global i18n options**."},"default_locale":{"type":"string","description":"Default locale. Default: first locale in the `locales` option.","markdownDescription":"Default locale. Default: first locale in the `locales` option."},"initial_locales":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"string","const":"default"},{"type":"string","const":"all"}],"description":"Locales to be enabled when creating a new entry draft. If this option is used, users will be able to disable the output of non-default locales through the UI. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#disabling-non-default-locale-content) for details.","markdownDescription":"Locales to be enabled when creating a new entry draft. If this option is used, users will be able to disable the output of non-default locales through the UI. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#disabling-non-default-locale-content) for details."},"save_all_locales":{"type":"boolean","description":"Whether to save collection entries in all the locales. Default: `true`.","markdownDescription":"Whether to save collection entries in all the locales. Default: `true`.","deprecated":true,"deprecationMessage":"Use the `initial_locales` option instead, which provides more flexibility. `save_all_locales: false` is equivalent to `initial_locales: 'all'`. See the documentation https://sveltiacms.app/en/docs/i18n/options#disabling-non-default-locale-content for details."},"canonical_slug":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}},"additionalProperties":false,"description":"Property name and value template used to add a canonical slug to entry files, which helps Sveltia CMS and some frameworks to link localized files when entry slugs are localized. The default property name is `translationKey` used in Hugo’s multilingual support, and the default value is the default locale’s slug. See the [documentation](https://sveltiacms.app/en/docs/i18n/slugs#localizing-entry-slugs) for details.","markdownDescription":"Property name and value template used to add a canonical slug to entry files, which helps Sveltia CMS and some frameworks to link localized files when entry slugs are localized. The default property name is `translationKey` used in Hugo’s multilingual support, and the default value is the default locale’s slug. See the [documentation](https://sveltiacms.app/en/docs/i18n/slugs#localizing-entry-slugs) for details."},"omit_default_locale_from_filename":{"type":"boolean","description":"Whether to exclude the default locale from entry filenames. Default: `false`. It’s an alias of the `omit_default_locale_from_file_path` option, which is used instead if both are defined.","markdownDescription":"Whether to exclude the default locale from entry filenames. Default: `false`. It’s an alias of the `omit_default_locale_from_file_path` option, which is used instead if both are defined.","deprecated":true,"deprecationMessage":"Use the `omit_default_locale_from_file_path` option instead."},"omit_default_locale_from_file_path":{"type":"boolean","description":"Whether to exclude the default locale from entry file paths. Default: `false`. This option applies to entry collections with the `multiple_files`, `multiple_folders` or `multiple_root_folders` structure, or with the `{{locale}}` placeholder in the `folder` option, and to collection files with the placeholder in the `file` option. The placeholder must be used where it can be removed along with a separator: as a whole folder or file name, like `content/{{locale}}/about.md`, or as a dot-separated part of a file name, like `about.{{locale}}.md` or `{{locale}}.about.md`. A placeholder in any other position, like `i18n/{{locale}}.yaml` or `settings_{{locale}}.json`, can’t be removed, so the default locale is kept in that path and a configuration warning is shown. If the placeholder appears more than once, only the first occurrence is removed. It aims to support [Zola’s multilingual sites](https://www.getzola.org/documentation/content/multilingual/).","markdownDescription":"Whether to exclude the default locale from entry file paths. Default: `false`. This option applies to entry collections with the `multiple_files`, `multiple_folders` or `multiple_root_folders` structure, or with the `{{locale}}` placeholder in the `folder` option, and to collection files with the placeholder in the `file` option. The placeholder must be used where it can be removed along with a separator: as a whole folder or file name, like `content/{{locale}}/about.md`, or as a dot-separated part of a file name, like `about.{{locale}}.md` or `{{locale}}.about.md`. A placeholder in any other position, like `i18n/{{locale}}.yaml` or `settings_{{locale}}.json`, can’t be removed, so the default locale is kept in that path and a configuration warning is shown. If the placeholder appears more than once, only the first occurrence is removed. It aims to support [Zola’s multilingual sites](https://www.getzola.org/documentation/content/multilingual/)."},"omit_default_locale_from_preview_path":{"type":"boolean","description":"Whether to exclude the default locale from preview URL paths. Default: `false`. This option helps to create cleaner URLs for the default locale when generating preview links for multilingual content. The `{{locale}}` placeholder is removed in the same positions as with the `omit_default_locale_from_file_path` option, e.g. `/{{locale}}/posts/{{slug}}` becomes `/posts/{{slug}}` and `/{{locale}}` becomes `/`; anywhere else, the locale is kept.","markdownDescription":"Whether to exclude the default locale from preview URL paths. Default: `false`. This option helps to create cleaner URLs for the default locale when generating preview links for multilingual content. The `{{locale}}` placeholder is removed in the same positions as with the `omit_default_locale_from_file_path` option, e.g. `/{{locale}}/posts/{{slug}}` becomes `/posts/{{slug}}` and `/{{locale}}` becomes `/`; anywhere else, the locale is kept."}},"additionalProperties":false,"description":"Global, collection-level or collection file-level i18n options. See the [documentation](https://sveltiacms.app/en/docs/i18n) for details.","markdownDescription":"Global, collection-level or collection file-level i18n options. See the [documentation](https://sveltiacms.app/en/docs/i18n) for details."},"I18nFileStructure":{"type":"string","enum":["single_file","single_file_default_root","multiple_files","multiple_folders","multiple_folders_i18n_root","multiple_root_folders"],"description":"Internationalization (i18n) file structure type.","markdownDescription":"Internationalization (i18n) file structure type."},"FileCollection":{"type":"object","additionalProperties":false,"properties":{"files":{"type":"array","items":{"$ref":"#/definitions/CollectionFile"},"description":"A set of files.","markdownDescription":"A set of files."},"label_singular":{"type":"string","description":"Singular UI label. It will be Blog Post if the `label` is Blog Posts, for example. Default: `label` option value.","markdownDescription":"Singular UI label. It will be Blog Post if the `label` is Blog Posts, for example. Default: `label` option value."},"description":{"type":"string","description":"Short description of the collection to be displayed in the editor UI.","markdownDescription":"Short description of the collection to be displayed in the editor UI."},"media_folder":{"type":"string","description":"Internal media folder path for the collection. This overrides the global `media_folder` option. It can be a relative path from the project root if it starts with a slash. Otherwise it’s a path relative to the entry, or to the file for a file collection. If this option is omitted, the global `media_folder` option value is used, except for an entry collection with the `path` option, where the entry’s own folder is used. See the [documentation](https://sveltiacms.app/en/docs/media/internal#collection-level-configuration) for details.","markdownDescription":"Internal media folder path for the collection. This overrides the global `media_folder` option. It can be a relative path from the project root if it starts with a slash. Otherwise it’s a path relative to the entry, or to the file for a file collection. If this option is omitted, the global `media_folder` option value is used, except for an entry collection with the `path` option, where the entry’s own folder is used. See the [documentation](https://sveltiacms.app/en/docs/media/internal#collection-level-configuration) for details."},"public_folder":{"type":"string","description":"Public media folder path for the collection. This overrides the global `public_folder` option. Default: `media_folder` option value.","markdownDescription":"Public media folder path for the collection. This overrides the global `public_folder` option. Default: `media_folder` option value."},"hide":{"type":"boolean","description":"Whether to hide the collection in the UI. Default: `false`.","markdownDescription":"Whether to hide the collection in the UI. Default: `false`."},"publish_mode":{"anyOf":[{"$ref":"#/definitions/PublishModeType"},{"$ref":"#/definitions/PublishModeOptions"}],"description":"Publish mode for the collection. This overrides the global `publish_mode` option, so Editorial Workflow can be enabled for some collections only, or turned off for a collection when it’s enabled globally. In the object form, each option overrides the global one of the same name, and the others are inherited. Default: global `publish_mode` option value. Note that a contributor working on a fork with Open Authoring always goes through Editorial Workflow, regardless of this option.","markdownDescription":"Publish mode for the collection. This overrides the global `publish_mode` option, so Editorial Workflow can be enabled for some collections only, or turned off for a collection when it’s enabled globally. In the object form, each option overrides the global one of the same name, and the others are inherited. Default: global `publish_mode` option value. Note that a contributor working on a fork with Open Authoring always goes through Editorial Workflow, regardless of this option."},"publish":{"type":"boolean","description":"Whether to show the publishing control UI for Editorial Workflow and Preview Workflow. Default: `true`. Set this to `false` to let editors move an entry through the review stages without being able to publish it themselves. It has no effect unless the `editorial_workflow` or `preview` publish mode is enabled.","markdownDescription":"Whether to show the publishing control UI for Editorial Workflow and Preview Workflow. Default: `true`. Set this to `false` to let editors move an entry through the review stages without being able to publish it themselves. It has no effect unless the `editorial_workflow` or `preview` publish mode is enabled."},"format":{"type":"string","description":"File format. It should match the file extension. Default: detected from the file extension: `frontmatter` for Markdown files like `.md`, which reads YAML, TOML or JSON front matter and writes YAML front matter, `yaml` for `.yml`/`.yaml`, `toml` for `.toml`, `json` for `.json`, `raw` for `.astro`, and `yaml-frontmatter` otherwise.","markdownDescription":"File format. It should match the file extension. Default: detected from the file extension: `frontmatter` for Markdown files like `.md`, which reads YAML, TOML or JSON front matter and writes YAML front matter, `yaml` for `.yml`/`.yaml`, `toml` for `.toml`, `json` for `.json`, `raw` for `.astro`, and `yaml-frontmatter` otherwise."},"frontmatter_delimiter":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Delimiters to be used for the front matter format. Default: depends on the front matter type.","markdownDescription":"Delimiters to be used for the front matter format. Default: depends on the front matter type."},"body_field":{"$ref":"#/definitions/BodyFieldOptions","description":"Body field options for front matter formats.","markdownDescription":"Body field options for front matter formats."},"i18n":{"anyOf":[{"type":"boolean"},{"$ref":"#/definitions/I18nOptions"}],"description":"I18n options. Default: `false`.","markdownDescription":"I18n options. Default: `false`."},"preview_path":{"type":"string","description":"Preview URL path template, appended to the site URL or the deploy preview URL to link to the entry. Without it, a published entry has no link, while an unpublished Editorial Workflow entry links to the root of its deploy preview. For a file collection, define it on each file instead. See the [documentation](https://sveltiacms.app/en/docs/workflows/deploy-previews) for details.","markdownDescription":"Preview URL path template, appended to the site URL or the deploy preview URL to link to the entry. Without it, a published entry has no link, while an unpublished Editorial Workflow entry links to the root of its deploy preview. For a file collection, define it on each file instead. See the [documentation](https://sveltiacms.app/en/docs/workflows/deploy-previews) for details."},"preview_path_date_field":{"type":"string","description":"Name of a top-level DateTime field used to fill the date and time tags in `preview_path`. Default: the first DateTime field. For a file collection, define it on each file instead.","markdownDescription":"Name of a top-level DateTime field used to fill the date and time tags in `preview_path`. Default: the first DateTime field. For a file collection, define it on each file instead."},"editor":{"$ref":"#/definitions/EditorOptions","description":"Editor view options.","markdownDescription":"Editor view options."},"yaml_quote":{"type":"boolean","description":"Whether to double-quote all the strings values if the YAML format is used for file output. Default: `false`.","markdownDescription":"Whether to double-quote all the strings values if the YAML format is used for file output. Default: `false`.","deprecated":true,"deprecationMessage":"Use the global YAML format options. `yaml_quote: true` is equivalent to `output.yaml.quote: double`. See the documentation https://sveltiacms.app/en/docs/data-output#controlling-data-output for details."},"name":{"type":"string","description":"Unique identifier for the collection.","markdownDescription":"Unique identifier for the collection."},"label":{"type":"string","description":"Label of the collection to be displayed in the editor UI. Default: `name` option value.","markdownDescription":"Label of the collection to be displayed in the editor UI. Default: `name` option value."},"icon":{"type":"string","description":"Name of a [Material Symbols icon](https://fonts.google.com/icons?icon.set=Material+Symbols) to be displayed in the collection list.","markdownDescription":"Name of a [Material Symbols icon](https://fonts.google.com/icons?icon.set=Material+Symbols) to be displayed in the collection list."},"readonly":{"type":"boolean","description":"Whether to make the collection read-only. Default: `false`. Its entries or files can be viewed but not created, edited, duplicated, reordered, deleted or moved through the Editorial Workflow stages, and assets can’t be uploaded to, changed or deleted from its media folders. For an asset collection, assets can’t be uploaded to, changed or deleted from the folder. It’s also read-only if the global `readonly` option is `true`. For a file collection, each file can also be made read-only with its own `readonly` option.","markdownDescription":"Whether to make the collection read-only. Default: `false`. Its entries or files can be viewed but not created, edited, duplicated, reordered, deleted or moved through the Editorial Workflow stages, and assets can’t be uploaded to, changed or deleted from its media folders. For an asset collection, assets can’t be uploaded to, changed or deleted from the folder. It’s also read-only if the global `readonly` option is `true`. For a file collection, each file can also be made read-only with its own `readonly` option."}},"required":["files","name"],"description":"File collection definition.","markdownDescription":"File collection definition."},"CollectionFile":{"type":"object","properties":{"name":{"type":"string","description":"Unique identifier for the file.","markdownDescription":"Unique identifier for the file."},"label":{"type":"string","description":"Label to be displayed in the editor UI. Default: `name` option value.","markdownDescription":"Label to be displayed in the editor UI. Default: `name` option value."},"icon":{"type":"string","description":"Name of a [Material Symbols icon](https://fonts.google.com/icons?icon.set=Material+Symbols) to be displayed in the collection file list and other places. See the [documentation](https://sveltiacms.app/en/docs/collections#icons) for details.","markdownDescription":"Name of a [Material Symbols icon](https://fonts.google.com/icons?icon.set=Material+Symbols) to be displayed in the collection file list and other places. See the [documentation](https://sveltiacms.app/en/docs/collections#icons) for details."},"summary":{"type":"string","description":"Summary template displayed in the file list of a file collection in place of the label, e.g. `Home Page ({{locales}})`. It can use the file’s fields and the same special tags and transformations as an entry collection’s `summary` option; `{{title}}` falls back to the label without a `title` field. Default: the `label` option value.","markdownDescription":"Summary template displayed in the file list of a file collection in place of the label, e.g. `Home Page ({{locales}})`. It can use the file’s fields and the same special tags and transformations as an entry collection’s `summary` option; `{{title}}` falls back to the label without a `title` field. Default: the `label` option value."},"file":{"type":"string","description":"File path relative to the project root.","markdownDescription":"File path relative to the project root."},"fields":{"type":"array","items":{"$ref":"#/definitions/Field"},"description":"Set of fields to be included in the file.","markdownDescription":"Set of fields to be included in the file."},"media_folder":{"type":"string","description":"Internal media folder path for the collection. This overrides the global or collection-level `media_folder` option.","markdownDescription":"Internal media folder path for the collection. This overrides the global or collection-level `media_folder` option."},"public_folder":{"type":"string","description":"Public media folder path for the file. This overrides the global or collection-level `public_folder` option. Default: `media_folder` option value.","markdownDescription":"Public media folder path for the file. This overrides the global or collection-level `public_folder` option. Default: `media_folder` option value."},"format":{"type":"string","description":"File format. This overrides the collection-level `format` option. Default: detected from the file extension, e.g. `yaml` for `.yml` and `frontmatter` for `.md`.","markdownDescription":"File format. This overrides the collection-level `format` option. Default: detected from the file extension, e.g. `yaml` for `.yml` and `frontmatter` for `.md`."},"frontmatter_delimiter":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Delimiters to be used for the front matter format. This overrides the collection-level `frontmatter_delimiter` option. Default: depends on the front matter type.","markdownDescription":"Delimiters to be used for the front matter format. This overrides the collection-level `frontmatter_delimiter` option. Default: depends on the front matter type."},"body_field":{"$ref":"#/definitions/BodyFieldOptions","description":"Body field options for front matter formats.","markdownDescription":"Body field options for front matter formats."},"i18n":{"anyOf":[{"type":"boolean"},{"$ref":"#/definitions/I18nOptions"}],"description":"I18n options. Default: `false`. It has no effect unless i18n is also set up with the global option and, for a file collection, the collection-level option.","markdownDescription":"I18n options. Default: `false`. It has no effect unless i18n is also set up with the global option and, for a file collection, the collection-level option."},"preview_path":{"type":"string","description":"Preview URL path template, appended to the site URL or the deploy preview URL to link to the entry. Without it, a published entry has no link, while an unpublished Editorial Workflow entry links to the root of its deploy preview. See the [documentation](https://sveltiacms.app/en/docs/workflows/deploy-previews) for details.","markdownDescription":"Preview URL path template, appended to the site URL or the deploy preview URL to link to the entry. Without it, a published entry has no link, while an unpublished Editorial Workflow entry links to the root of its deploy preview. See the [documentation](https://sveltiacms.app/en/docs/workflows/deploy-previews) for details."},"preview_path_date_field":{"type":"string","description":"Name of a top-level DateTime field used to fill the date and time tags in `preview_path`. Default: the first DateTime field.","markdownDescription":"Name of a top-level DateTime field used to fill the date and time tags in `preview_path`. Default: the first DateTime field."},"editor":{"$ref":"#/definitions/EditorOptions","description":"Editor view options.","markdownDescription":"Editor view options."},"readonly":{"type":"boolean","description":"Whether to make the file read-only. Default: `false`. The file can be viewed but not edited, and its assets stored in a file-level media folder can’t be changed. It’s also read-only if the collection-level or global `readonly` option is `true`.","markdownDescription":"Whether to make the file read-only. Default: `false`. The file can be viewed but not edited, and its assets stored in a file-level media folder can’t be changed. It’s also read-only if the collection-level or global `readonly` option is `true`."}},"required":["name","file","fields"],"additionalProperties":false,"description":"Single file in a file/singleton collection.","markdownDescription":"Single file in a file/singleton collection."},"CollectionDivider":{"type":"object","properties":{"name":{"type":"string","description":"Unique identifier for the divider. Can be omitted. This property is included here because in the previous version of Sveltia CMS, a divider was defined as a collection with the `divider` option set to `true`, and the `name` option was required.","markdownDescription":"Unique identifier for the divider. Can be omitted. This property is included here because in the previous version of Sveltia CMS, a divider was defined as a collection with the `divider` option set to `true`, and the `name` option was required."},"divider":{"type":"boolean","description":"Whether to make this collection a divider UI in the collection list. It must be `true` to be used as a divider.","markdownDescription":"Whether to make this collection a divider UI in the collection list. It must be `true` to be used as a divider."}},"required":["divider"],"additionalProperties":false,"description":"A divider in the collection list and singleton list. See the [documentation](https://sveltiacms.app/en/docs/collections#dividers) for details.","markdownDescription":"A divider in the collection list and singleton list. See the [documentation](https://sveltiacms.app/en/docs/collections#dividers) for details."},"AssetCollection":{"type":"object","additionalProperties":false,"properties":{"media_folder":{"type":"string","description":"Internal media folder path for the collection, relative to the project root.","markdownDescription":"Internal media folder path for the collection, relative to the project root."},"public_folder":{"type":"string","description":"Public media folder path for the asset collection. Default: `media_folder` option value.","markdownDescription":"Public media folder path for the asset collection. Default: `media_folder` option value."},"name":{"type":"string","description":"Unique identifier for the collection.","markdownDescription":"Unique identifier for the collection."},"label":{"type":"string","description":"Label of the collection to be displayed in the editor UI. Default: `name` option value.","markdownDescription":"Label of the collection to be displayed in the editor UI. Default: `name` option value."},"icon":{"type":"string","description":"Name of a [Material Symbols icon](https://fonts.google.com/icons?icon.set=Material+Symbols) to be displayed in the collection list.","markdownDescription":"Name of a [Material Symbols icon](https://fonts.google.com/icons?icon.set=Material+Symbols) to be displayed in the collection list."},"readonly":{"type":"boolean","description":"Whether to make the collection read-only. Default: `false`. Its entries or files can be viewed but not created, edited, duplicated, reordered, deleted or moved through the Editorial Workflow stages, and assets can’t be uploaded to, changed or deleted from its media folders. For an asset collection, assets can’t be uploaded to, changed or deleted from the folder. It’s also read-only if the global `readonly` option is `true`. For a file collection, each file can also be made read-only with its own `readonly` option.","markdownDescription":"Whether to make the collection read-only. Default: `false`. Its entries or files can be viewed but not created, edited, duplicated, reordered, deleted or moved through the Editorial Workflow stages, and assets can’t be uploaded to, changed or deleted from its media folders. For an asset collection, assets can’t be uploaded to, changed or deleted from the folder. It’s also read-only if the global `readonly` option is `true`. For a file collection, each file can also be made read-only with its own `readonly` option."}},"required":["media_folder","name"],"description":"Asset collection definition.","markdownDescription":"Asset collection definition."},"OutputOptions":{"type":"object","properties":{"omit_empty_optional_fields":{"type":"boolean","description":"Whether to prevent fields with `required: false` and an empty value from being included in entry data output. Default: `false`.","markdownDescription":"Whether to prevent fields with `required: false` and an empty value from being included in entry data output. Default: `false`."},"encode_file_path":{"type":"boolean","description":"Whether to encode the file path in File/Image fields. Default: `false`. This is useful when a file path contains special characters that need to be URL-encoded, such as spaces and parentheses. For example, `Hello World (1).webp` would be `Hello%20World%20%281%29.webp`. In general, File/Image fields should contain the original file path, and web-specific encoding should be done in the front-end code.","markdownDescription":"Whether to encode the file path in File/Image fields. Default: `false`. This is useful when a file path contains special characters that need to be URL-encoded, such as spaces and parentheses. For example, `Hello World (1).webp` would be `Hello%20World%20%281%29.webp`. In general, File/Image fields should contain the original file path, and web-specific encoding should be done in the front-end code."},"json":{"$ref":"#/definitions/JsonFormatOptions","description":"JSON format options.","markdownDescription":"JSON format options."},"yaml":{"$ref":"#/definitions/YamlFormatOptions","description":"YAML format options.","markdownDescription":"YAML format options."}},"additionalProperties":false,"description":"Data output options. See the [documentation](https://sveltiacms.app/en/docs/data-output#controlling-data-output) for details.","markdownDescription":"Data output options. See the [documentation](https://sveltiacms.app/en/docs/data-output#controlling-data-output) for details."},"JsonFormatOptions":{"type":"object","properties":{"indent_style":{"type":"string","enum":["space","tab"],"description":"Indent style. Default: `space`.","markdownDescription":"Indent style. Default: `space`."},"indent_size":{"type":"number","description":"Number of spaces or tabs per indent level. Default: `2` for spaces, `1` for tabs.","markdownDescription":"Number of spaces or tabs per indent level. Default: `2` for spaces, `1` for tabs."}},"additionalProperties":false,"description":"JSON format options.","markdownDescription":"JSON format options."},"YamlFormatOptions":{"type":"object","properties":{"indent_size":{"type":"number","description":"Indent size. Default: `2`.","markdownDescription":"Indent size. Default: `2`."},"indent_sequences":{"type":"boolean","description":"Whether to indent block sequences. Default: `true`.","markdownDescription":"Whether to indent block sequences. Default: `true`."},"quote":{"type":"string","enum":["none","double","single"],"description":"Default quote type for string values. `none` leaves strings unquoted unless quotes are required. Default: `none`.","markdownDescription":"Default quote type for string values. `none` leaves strings unquoted unless quotes are required. Default: `none`."},"block_quote":{"anyOf":[{"type":"boolean"},{"type":"string","const":"literal"},{"type":"string","const":"folded"}],"description":"How to write multi-line strings when `quote` is `none`. `true` or `literal` uses a literal block scalar (`|`), `folded` uses a folded block scalar (`>`), and `false` uses a quoted string instead of a block scalar. The block chomping indicator (`-` or `+`) depends on the trailing line breaks of the value. Default: `true`.","markdownDescription":"How to write multi-line strings when `quote` is `none`. `true` or `literal` uses a literal block scalar (`|`), `folded` uses a folded block scalar (`>`), and `false` uses a quoted string instead of a block scalar. The block chomping indicator (`-` or `+`) depends on the trailing line breaks of the value. Default: `true`."}},"additionalProperties":false,"description":"YAML format options.","markdownDescription":"YAML format options."},"FieldDefaults":{"type":"object","properties":{"richtext":{"$ref":"#/definitions/RichTextFieldDefaults","description":"Default options for the RichText and Markdown field types.","markdownDescription":"Default options for the RichText and Markdown field types."}},"additionalProperties":false,"description":"Default options for fields. These options will be applied to all fields of the specified type unless they are overridden by field-specific options.","markdownDescription":"Default options for fields. These options will be applied to all fields of the specified type unless they are overridden by field-specific options."},"RichTextFieldDefaults":{"type":"object","additionalProperties":false,"properties":{"format":{"$ref":"#/definitions/RichTextValueFormat","description":"Format of the field value: `markdown` or `html`. Default: `markdown`. With `html`, the value is saved as HTML, and the raw mode shows the HTML source. Only the editor components that support HTML with the `htmlSelector`, `fromBlockHTML` and `toBlockHTML` options are available, including the built-in `code-block`, `image`, `table` and `hr` components. HTML with an element the rich text mode cannot handle, like `<video>` without a component for it, can only be edited in the raw mode. Attributes the editor doesn’t use, like `class`, are dropped once the content is changed in the rich text mode.","markdownDescription":"Format of the field value: `markdown` or `html`. Default: `markdown`. With `html`, the value is saved as HTML, and the raw mode shows the HTML source. Only the editor components that support HTML with the `htmlSelector`, `fromBlockHTML` and `toBlockHTML` options are available, including the built-in `code-block`, `image`, `table` and `hr` components. HTML with an element the rich text mode cannot handle, like `<video>` without a component for it, can only be edited in the raw mode. Attributes the editor doesn’t use, like `class`, are dropped once the content is changed in the rich text mode."},"default":{"type":"string","description":"Default value.","markdownDescription":"Default value."},"default_localized":{"type":"object","additionalProperties":{"type":"string"},"description":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details.","markdownDescription":"Default values for specific locales, keyed by locale code. A value given for a locale takes precedence over `default` in that locale. See the [documentation](https://sveltiacms.app/en/docs/i18n/options#localized-field-options) for details."},"minimal":{"type":"boolean","description":"Whether to make the editor compact: it starts with the height of a single line and stops growing at 240 pixels, making the content scrollable. Default: `false`.","markdownDescription":"Whether to make the editor compact: it starts with the height of a single line and stops growing at 240 pixels, making the content scrollable. Default: `false`."},"multiline":{"type":"boolean","description":"Whether the content can span multiple paragraphs and lines. Default: `true`. With `false`, the editor keeps the content in a single paragraph, which suits a title or caption with inline formatting: the Enter key doesn’t start a new line, and the paragraphs and lines of pasted text are joined with spaces. Only the inline formatting buttons (`bold`, `italic`, `strikethrough`, `code` and `link`) and inline editor components, like `image`, can be used then, and the HTML output format has no raw mode. A stored value with several paragraphs is kept as is until the content is edited.","markdownDescription":"Whether the content can span multiple paragraphs and lines. Default: `true`. With `false`, the editor keeps the content in a single paragraph, which suits a title or caption with inline formatting: the Enter key doesn’t start a new line, and the paragraphs and lines of pasted text are joined with spaces. Only the inline formatting buttons (`bold`, `italic`, `strikethrough`, `code` and `link`) and inline editor components, like `image`, can be used then, and the HTML output format has no raw mode. A stored value with several paragraphs is kept as is until the content is edited."},"buttons":{"type":"array","items":{"$ref":"#/definitions/RichTextEditorButtonName"},"description":"Names of formatting buttons and menu items to be enabled in the editor UI. Default: all the supported button names except `align`.","markdownDescription":"Names of formatting buttons and menu items to be enabled in the editor UI. Default: all the supported button names except `align`."},"editor_components":{"type":"array","items":{"type":"string"},"description":"Names of components to be enabled in the editor UI. This may include custom component names. Default: all the built-in and registered custom component names, except `table` and `hr`, which have to be listed to enable them.","markdownDescription":"Names of components to be enabled in the editor UI. This may include custom component names. Default: all the built-in and registered custom component names, except `table` and `hr`, which have to be listed to enable them."},"allow_nested_components":{"anyOf":[{"type":"boolean"},{"type":"string","const":"exclude_self"}],"description":"Whether to allow nested rich text editor components in the editor UI. If set to `'exclude_self'`, nested components are disabled if the parent components include the current component; this is useful to prevent unexpected behavior due to regex matching limitations. Default: `true`.","markdownDescription":"Whether to allow nested rich text editor components in the editor UI. If set to `'exclude_self'`, nested components are disabled if the parent components include the current component; this is useful to prevent unexpected behavior due to regex matching limitations. Default: `true`."},"modes":{"type":"array","items":{"$ref":"#/definitions/RichTextEditorMode"},"description":"Editor modes to be enabled. The first one is selected initially, so with `[raw, rich_text]`, the editor opens in raw mode. Default: `[rich_text, raw]`.","markdownDescription":"Editor modes to be enabled. The first one is selected initially, so with `[raw, rich_text]`, the editor opens in raw mode. Default: `[rich_text, raw]`."},"sanitize_preview":{"type":"boolean","description":"Whether to sanitize the preview HTML. Default: `true`. Note that Sveltia CMS has changed the default value from `false` to `true` to enhance security, whereas Netlify/Decap CMS keeps it as `false`. We recommend keeping this option enabled unless disabling it fixes a broken preview and you fully trust all users of your CMS. `javascript:` URLs, e.g. in links, are removed from the preview either way.","markdownDescription":"Whether to sanitize the preview HTML. Default: `true`. Note that Sveltia CMS has changed the default value from `false` to `true` to enhance security, whereas Netlify/Decap CMS keeps it as `false`. We recommend keeping this option enabled unless disabling it fixes a broken preview and you fully trust all users of your CMS. `javascript:` URLs, e.g. in links, are removed from the preview either way."},"linked_images":{"type":"boolean","description":"Whether to enable the linked images feature for the built-in `image` component. Default: `true`. When enabled, the image component provides an additional text field for specifying a URL to wrap the image as a link. The resulting Markdown output will be in the format `[](link)`, where clicking the image navigates to the provided link. This feature can be disabled if it causes conflicts with certain frameworks.","markdownDescription":"Whether to enable the linked images feature for the built-in `image` component. Default: `true`. When enabled, the image component provides an additional text field for specifying a URL to wrap the image as a link. The resulting Markdown output will be in the format `[](link)`, where clicking the image navigates to the provided link. This feature can be disabled if it causes conflicts with certain frameworks."},"use_emoji_autocomplete":{"type":"boolean","description":"Whether to enable emoji autocomplete in the rich text editor. Default: `true`. When enabled, typing `:` followed by a few letters will show a list of matching emojis that can be selected to insert into the text.","markdownDescription":"Whether to enable emoji autocomplete in the rich text editor. Default: `true`. When enabled, typing `:` followed by a few letters will show a list of matching emojis that can be selected to insert into the text."},"use_markdown_shortcuts":{"type":"boolean","description":"Whether to enable Markdown shortcuts in the rich text editor. Default: `true`. When enabled, typing `-` or `*` at the start of a line creates a bulleted list, `1.` creates a numbered list, `>` creates a blockquote, and `#`, `##`, `###` create headings. Note that standard keyboard shortcuts like `Ctrl+B` for bold and `Ctrl+I` for italic are always enabled regardless of this option.","markdownDescription":"Whether to enable Markdown shortcuts in the rich text editor. Default: `true`. When enabled, typing `-` or `*` at the start of a line creates a bulleted list, `1.` creates a numbered list, `>` creates a blockquote, and `#`, `##`, `###` create headings. Note that standard keyboard shortcuts like `Ctrl+B` for bold and `Ctrl+I` for italic are always enabled regardless of this option."}},"description":"Default options for the RichText and Markdown field types. The `format` option only applies to the RichText field type, as the Markdown field type always holds Markdown.","markdownDescription":"Default options for the RichText and Markdown field types. The `format` option only applies to the RichText field type, as the Markdown field type always holds Markdown."}},"title":"Sveltia CMS Configuration","description":"Sveltia CMS configuration file"} |