summaryrefslogtreecommitdiffstats
path: root/.frontmatter
diff options
context:
space:
mode:
Diffstat (limited to '.frontmatter')
-rw-r--r--.frontmatter/config/data/folders/data.json36
-rw-r--r--.frontmatter/config/data/types/timeline.json (renamed from .frontmatter/config/data/files/timeline.json)3
2 files changed, 35 insertions, 4 deletions
diff --git a/.frontmatter/config/data/folders/data.json b/.frontmatter/config/data/folders/data.json
index e88d8a9..77ffcf2 100644
--- a/.frontmatter/config/data/folders/data.json
+++ b/.frontmatter/config/data/folders/data.json
@@ -5,5 +5,39 @@
"singleEntry": false,
"enableFileCreation": true,
"fileType": "yaml",
- "type": "data"
+ "type": "timeline",
+ "schema": {
+ "title": "Timeline",
+ "type": "object",
+ "required": [
+ "title",
+ "date"
+ ],
+ "properties": {
+ "title": {
+ "type": "string",
+ "title": "Title"
+ },
+ "date": {
+ "type": "string",
+ "title": "Date"
+ },
+ "icon": {
+ "type": "string",
+ "title": "Icon"
+ },
+ "color": {
+ "type": "string",
+ "title": "Color"
+ },
+ "url": {
+ "type": "string",
+ "title": "URL"
+ },
+ "content": {
+ "type": "string",
+ "title": "Content"
+ }
+ }
+ }
} \ No newline at end of file
diff --git a/.frontmatter/config/data/files/timeline.json b/.frontmatter/config/data/types/timeline.json
index cb0ef1b..fb6d713 100644
--- a/.frontmatter/config/data/files/timeline.json
+++ b/.frontmatter/config/data/types/timeline.json
@@ -1,9 +1,6 @@
{
"$schema": "https://frontmatter.codes/config/data.files.schema.json",
"id": "timeline",
- "title": "Timeline",
- "file": "[[workspace]]/data/timeline.yml",
- "fileType": "yaml",
"schema": {
"title": "Timeline",
"type": "object",