diff --git a/.mattrbld/collections/YASL.json b/.mattrbld/collections/YASL.json new file mode 100644 index 0000000..19b0118 --- /dev/null +++ b/.mattrbld/collections/YASL.json @@ -0,0 +1,19 @@ +{ + "allowedTypes": null, + "dir": "/skills", + "disableComments": false, + "disablePreview": false, + "draftByDefault": false, + "schemas": [ + "/.mattrbld/schemas/Skills.json" + ], + "linkable": false, + "maxSize": null, + "permissions": { + "everybody": [ + "everything" + ] + }, + "type": "json", + "urlTemplate": "" +} \ No newline at end of file diff --git a/.mattrbld/schemas/Skills.json b/.mattrbld/schemas/Skills.json index d011d27..eed3314 100644 --- a/.mattrbld/schemas/Skills.json +++ b/.mattrbld/schemas/Skills.json @@ -19,99 +19,31 @@ }, "value": [ { - "type": "select", - "default": null, - "icon": "dropdown", - "key": "category", - "label": "Category", - "options": { - "filterable": false, - "removable": false, - "placeholder": "Select a value…", - "options": [ - "Experienced" - ] - }, + "type": "group", + "displayField": null, + "icon": "group", + "key": "group-1", + "label": "Field Group", "tab": "Untitled Tab", - "validation": { - "required": true - }, - "value": null, - "version": 1, - "visibility": { - "hidden": false, - "showByValue": { - "field": null - } - } - }, - { - "type": "select", - "default": null, - "icon": "dropdown", - "key": "group", - "label": "Group", - "options": { - "filterable": false, - "removable": false, - "placeholder": "Select a value…", - "options": [ - "Infrastructure as Code", - "Front-End Web Development", - "CI/CD" - ] - }, - "tab": "Untitled Tab", - "validation": { - "required": true - }, - "value": null, - "version": 1, - "visibility": { - "hidden": false, - "showByValue": { - "field": null - } - } - }, - { - "type": "rows", - "default": null, - "icon": "rows", - "key": "rows", - "label": "Rows", - "options": { - "compact": true, - "allowEditing": true, - "itemLabel": "Row" - }, - "tab": "Untitled Tab", - "validation": { - "max": null, - "min": null, - "unit": "rows" - }, "value": [ { - "type": "text", + "type": "select", "default": null, - "icon": "text-input", - "key": "name", - "label": "Skill", - "localised": false, + "icon": "dropdown", + "key": "category", + "label": "Category", "options": { - "wrapping": true, - "multiline": false + "filterable": false, + "removable": false, + "placeholder": "Select a value…", + "options": [ + "Experienced", + "Familiar" + ] }, "tab": "Untitled Tab", "validation": { - "enforceMinMax": true, - "max": null, - "min": null, - "regex": null, - "regexError": null, - "required": true, - "unit": "length" + "required": true }, "value": null, "version": 1, @@ -121,6 +53,92 @@ "field": null } } + }, + { + "type": "select", + "default": null, + "icon": "dropdown", + "key": "group", + "label": "Group", + "options": { + "filterable": false, + "removable": false, + "placeholder": "Select a value…", + "options": [ + "Infrastructure as Code", + "Front-End Web Development", + "CI/CD" + ] + }, + "tab": "Untitled Tab", + "validation": { + "required": true + }, + "value": null, + "version": 1, + "visibility": { + "hidden": false, + "showByValue": { + "field": null + } + } + }, + { + "type": "rows", + "default": null, + "icon": "rows", + "key": "skills", + "label": "Skills", + "options": { + "compact": true, + "allowEditing": true, + "itemLabel": "Row" + }, + "tab": "Untitled Tab", + "validation": { + "max": null, + "min": null, + "unit": "rows" + }, + "value": [ + { + "type": "text", + "default": null, + "icon": "text-input", + "key": "name", + "label": "Skill", + "localised": false, + "options": { + "wrapping": true, + "multiline": false + }, + "tab": "Untitled Tab", + "validation": { + "enforceMinMax": true, + "max": null, + "min": null, + "regex": null, + "regexError": null, + "required": true, + "unit": "length" + }, + "value": null, + "version": 1, + "visibility": { + "hidden": false, + "showByValue": { + "field": null + } + } + } + ], + "version": 1, + "visibility": { + "hidden": false, + "showByValue": { + "field": null + } + } } ], "version": 1, diff --git a/skills/skills4.json b/skills/skills4.json new file mode 100644 index 0000000..836abd8 --- /dev/null +++ b/skills/skills4.json @@ -0,0 +1,28 @@ +{ + "skills": [ + { + "category": "Experienced", + "group": "Front-End Web Development", + "skills": [ + "React", + "Node.js", + "HTML/CSS" + ] + }, + { + "category": "Experienced", + "group": "Infrastructure as Code", + "skills": [ + "Terraform" + ] + }, + { + "category": "Experienced", + "group": "CI/CD", + "skills": [ + "GitHub Actions" + ] + } + ], + "___mb_schema": "/.mattrbld/schemas/Skills.json" +} \ No newline at end of file