From 2193a8e813af76eacfb5b51e19d490248d0bc56f Mon Sep 17 00:00:00 2001 From: Noah Date: Mon, 10 Feb 2025 19:14:29 -0600 Subject: [PATCH] Update content through Mattrbld --- .mattrbld/collections/profile.json | 19 ++ .mattrbld/config.json | 11 + .mattrbld/schemas/profile.json | 372 +++++++++++++++++++++++++++++ data/profile/.gitkeep | 0 data/profile/profile.json | 20 ++ 5 files changed, 422 insertions(+) create mode 100644 .mattrbld/collections/profile.json create mode 100644 .mattrbld/schemas/profile.json create mode 100644 data/profile/.gitkeep create mode 100644 data/profile/profile.json diff --git a/.mattrbld/collections/profile.json b/.mattrbld/collections/profile.json new file mode 100644 index 0000000..22f7da3 --- /dev/null +++ b/.mattrbld/collections/profile.json @@ -0,0 +1,19 @@ +{ + "allowedTypes": null, + "dir": "/data/profile", + "disableComments": false, + "disablePreview": false, + "draftByDefault": false, + "schemas": [ + "/.mattrbld/schemas/profile.json" + ], + "linkable": false, + "maxSize": null, + "permissions": { + "everybody": [ + "everything" + ] + }, + "type": "json", + "urlTemplate": "" +} \ No newline at end of file diff --git a/.mattrbld/config.json b/.mattrbld/config.json index cc90a06..5cb69f9 100644 --- a/.mattrbld/config.json +++ b/.mattrbld/config.json @@ -78,6 +78,17 @@ "path": "/.mattrbld/collections/projects.json" } } + }, + { + "icon": "bullet-list", + "label": "Profile", + "target": { + "name": "Project.Collection", + "params": { + "path": "/.mattrbld/collections/profile.json" + } + }, + "showInDashboard": true } ], "slugifyOptions": null, diff --git a/.mattrbld/schemas/profile.json b/.mattrbld/schemas/profile.json new file mode 100644 index 0000000..ddf88f5 --- /dev/null +++ b/.mattrbld/schemas/profile.json @@ -0,0 +1,372 @@ +{ + "fields": [ + { + "type": "rows", + "default": null, + "icon": "rows", + "key": "experiences", + "label": "Experiences", + "options": { + "compact": true, + "allowEditing": true, + "itemLabel": "Row" + }, + "tab": "Experiences", + "validation": { + "max": null, + "min": null, + "unit": "rows" + }, + "value": [ + { + "type": "group", + "displayField": null, + "icon": "group", + "key": "experience", + "label": "Experience", + "tab": "Experiences", + "value": [ + { + "type": "text", + "default": null, + "icon": "text-input", + "key": "jobTitle", + "label": "JobTitle", + "localised": false, + "options": { + "wrapping": true, + "multiline": false + }, + "tab": "Experiences", + "validation": { + "enforceMinMax": true, + "max": null, + "min": null, + "regex": null, + "regexError": null, + "required": false, + "unit": "length" + }, + "value": null, + "version": 1, + "visibility": { + "hidden": false, + "showByValue": { + "field": null + } + } + }, + { + "type": "text", + "default": null, + "icon": "text-input", + "key": "company", + "label": "Company", + "localised": false, + "options": { + "wrapping": true, + "multiline": false + }, + "tab": "Experiences", + "validation": { + "enforceMinMax": true, + "max": null, + "min": null, + "regex": null, + "regexError": null, + "required": false, + "unit": "length" + }, + "value": null, + "version": 1, + "visibility": { + "hidden": false, + "showByValue": { + "field": null + } + } + }, + { + "type": "text", + "default": null, + "icon": "text-input", + "key": "location", + "label": "Location", + "localised": false, + "options": { + "wrapping": true, + "multiline": false + }, + "tab": "Experiences", + "validation": { + "enforceMinMax": true, + "max": null, + "min": null, + "regex": null, + "regexError": null, + "required": false, + "unit": "length" + }, + "value": null, + "version": 1, + "visibility": { + "hidden": false, + "showByValue": { + "field": null + } + } + }, + { + "type": "text", + "default": null, + "icon": "text-input", + "key": "startDate", + "label": "StartDate", + "localised": false, + "options": { + "wrapping": true, + "multiline": false + }, + "tab": "Experiences", + "validation": { + "enforceMinMax": true, + "max": null, + "min": null, + "regex": null, + "regexError": null, + "required": false, + "unit": "length" + }, + "value": null, + "version": 1, + "visibility": { + "hidden": false, + "showByValue": { + "field": null + } + } + }, + { + "type": "text", + "default": null, + "icon": "text-input", + "key": "endDate", + "label": "EndDate", + "localised": false, + "options": { + "wrapping": true, + "multiline": false + }, + "tab": "Experiences", + "validation": { + "enforceMinMax": true, + "max": null, + "min": null, + "regex": null, + "regexError": null, + "required": false, + "unit": "length" + }, + "value": null, + "version": 1, + "visibility": { + "hidden": false, + "showByValue": { + "field": null + } + } + } + ], + "version": 1, + "visibility": { + "hidden": false, + "showByValue": { + "field": null + } + } + } + ], + "version": 1, + "visibility": { + "hidden": false, + "showByValue": { + "field": null + } + } + }, + { + "type": "rows", + "default": null, + "icon": "rows", + "key": "education", + "label": "Education", + "options": { + "compact": true, + "allowEditing": true, + "itemLabel": "Row" + }, + "tab": "Education", + "validation": { + "max": null, + "min": null, + "unit": "rows" + }, + "value": [ + { + "type": "group", + "displayField": null, + "icon": "group", + "key": "Education", + "label": "Education", + "tab": "Education", + "value": [ + { + "type": "text", + "default": null, + "icon": "text-input", + "key": "school", + "label": "School", + "localised": false, + "options": { + "wrapping": true, + "multiline": false + }, + "tab": "Education", + "validation": { + "enforceMinMax": true, + "max": null, + "min": null, + "regex": null, + "regexError": null, + "required": false, + "unit": "length" + }, + "value": null, + "version": 1, + "visibility": { + "hidden": false, + "showByValue": { + "field": null + } + } + }, + { + "type": "text", + "default": null, + "icon": "text-input", + "key": "location", + "label": "Location", + "localised": false, + "options": { + "wrapping": true, + "multiline": false + }, + "tab": "Education", + "validation": { + "enforceMinMax": true, + "max": null, + "min": null, + "regex": null, + "regexError": null, + "required": false, + "unit": "length" + }, + "value": null, + "version": 1, + "visibility": { + "hidden": false, + "showByValue": { + "field": null + } + } + }, + { + "type": "text", + "default": null, + "icon": "text-input", + "key": "degree", + "label": "Degree", + "localised": false, + "options": { + "wrapping": true, + "multiline": false + }, + "tab": "Education", + "validation": { + "enforceMinMax": true, + "max": null, + "min": null, + "regex": null, + "regexError": null, + "required": false, + "unit": "length" + }, + "value": null, + "version": 1, + "visibility": { + "hidden": false, + "showByValue": { + "field": null + } + } + }, + { + "type": "text", + "default": null, + "icon": "text-input", + "key": "fieldOfStudy", + "label": "Field of Study", + "localised": false, + "options": { + "wrapping": true, + "multiline": false + }, + "tab": "Education", + "validation": { + "enforceMinMax": true, + "max": null, + "min": null, + "regex": null, + "regexError": null, + "required": false, + "unit": "length" + }, + "value": null, + "version": 1, + "visibility": { + "hidden": false, + "showByValue": { + "field": null + } + } + } + ], + "version": 1, + "visibility": { + "hidden": false, + "showByValue": { + "field": null + } + } + } + ], + "version": 1, + "visibility": { + "hidden": false, + "showByValue": { + "field": null + } + } + } + ], + "tabs": [ + { + "label": "Experiences", + "groupAs": null + }, + { + "label": "Education", + "groupAs": null + } + ] +} \ No newline at end of file diff --git a/data/profile/.gitkeep b/data/profile/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/data/profile/profile.json b/data/profile/profile.json new file mode 100644 index 0000000..8505504 --- /dev/null +++ b/data/profile/profile.json @@ -0,0 +1,20 @@ +{ + "experiences": [ + { + "jobTitle": "Senior Software Engineer", + "company": "Target", + "location": "Minneapolis, Minnesota", + "startDate": "December 2019", + "endDate": "February 2021" + } + ], + "education": [ + { + "school": "Metropolitan State University", + "location": "Saint Paul, Minnesota", + "degree": "Bachelor of Arts", + "fieldOfStudy": "Technical Communication" + } + ], + "___mb_schema": "/.mattrbld/schemas/profile.json" +} \ No newline at end of file