-
-
Notifications
You must be signed in to change notification settings - Fork 99
Closed
Labels
Description
Latest version.
Describe the bug
Working on my configuration file in VSCode I see a yellow underline in the path-property of the following code sample:
{
"$schema": "https://frontmatter.codes/frontmatter.schema.json",
"frontMatter.data.files": [
{
"id": "all-sponsors",
"path": "[[workspace]]/kollitsch/music.toml",
"type": "sponsors"
}
],
"frontMatter.data.folders": [],
"frontMatter.data.types": [
{
"id": "sponsors",
"title": "Sponsors",
"fileType": "json",
"labelField": "name",
"schema": {
"title": "Sponsors",
"type": "object",
"required": [
"name",
"url"
],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"url": {
"type": "string",
"title": "URL"
},
"description": {
"type": "string",
"title": "Description"
}
}
}
}
]
}The overlay says: "Property path is not allowed.". The documentation of that feature includes a path property: https://frontmatter.codes/docs/dashboard#re-using-a-data-type-for-files-or-folders
Either the docs or the schema used to parse the config has an issue here.
