Skip to content

Commit 00b5abf

Browse files
committed
Update schema
1 parent 271a550 commit 00b5abf

11 files changed

+76
-27
lines changed

public/config/content.pagefolders.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "http://json-schema.org/draft-07/schema",
33
"$id": "https://beta.frontmatter.codes/config/content.pagefolders.schema.json",
44
"description": "Defines the settings for Front Matter page folder",
5-
"lastModified": "2024-02-13T08:42:31.685Z",
5+
"lastModified": "2024-02-13T08:52:45.938Z",
66
"type": "object",
77
"title": "Front Matter - page folder",
88
"properties": {

public/config/content.placeholders.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "http://json-schema.org/draft-07/schema",
33
"$id": "https://beta.frontmatter.codes/config/content.placeholders.schema.json",
44
"description": "Defines the settings for Front Matter placeholder",
5-
"lastModified": "2024-02-13T08:42:31.685Z",
5+
"lastModified": "2024-02-13T08:52:45.939Z",
66
"type": "object",
77
"title": "Front Matter - placeholder",
88
"properties": {

public/config/content.snippets.schema.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "http://json-schema.org/draft-07/schema",
33
"$id": "https://beta.frontmatter.codes/config/content.snippets.schema.json",
44
"description": "Defines the settings for Front Matter snippet",
5-
"lastModified": "2024-02-13T08:42:31.686Z",
5+
"lastModified": "2024-02-13T08:52:45.939Z",
66
"type": "object",
77
"title": "Front Matter - snippet",
88
"required": [
@@ -28,7 +28,7 @@
2828
"type": "string"
2929
},
3030
"fields": {
31-
"$ref": "https://beta.frontmatter.codes/config/media.contentTypes.schema.json#/properties/fields"
31+
"$ref": "https://beta.frontmatter.codes/config/media.contenttypes.schema.json#/properties/fields"
3232
},
3333
"openingTags": {
3434
"description": "The snippet opening tags.",

public/config/custom.scripts.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "http://json-schema.org/draft-07/schema",
33
"$id": "https://beta.frontmatter.codes/config/custom.scripts.schema.json",
44
"description": "Defines the settings for Front Matter custom script",
5-
"lastModified": "2024-02-13T08:42:31.685Z",
5+
"lastModified": "2024-02-13T08:52:45.938Z",
66
"type": "object",
77
"title": "Front Matter - custom script",
88
"properties": {

public/config/data.files.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "http://json-schema.org/draft-07/schema",
33
"$id": "https://beta.frontmatter.codes/config/data.files.schema.json",
44
"description": "Defines the settings for Front Matter data file",
5-
"lastModified": "2024-02-13T08:42:31.686Z",
5+
"lastModified": "2024-02-13T08:52:45.939Z",
66
"type": "object",
77
"title": "Front Matter - data file",
88
"properties": {

public/config/data.folders.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "http://json-schema.org/draft-07/schema",
33
"$id": "https://beta.frontmatter.codes/config/data.folders.schema.json",
44
"description": "Defines the settings for Front Matter data folder",
5-
"lastModified": "2024-02-13T08:42:31.686Z",
5+
"lastModified": "2024-02-13T08:52:45.939Z",
66
"type": "object",
77
"title": "Front Matter - data folder",
88
"properties": {

public/config/data.types.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "http://json-schema.org/draft-07/schema",
33
"$id": "https://beta.frontmatter.codes/config/data.types.schema.json",
44
"description": "Defines the settings for Front Matter data type",
5-
"lastModified": "2024-02-13T08:42:31.686Z",
5+
"lastModified": "2024-02-13T08:52:45.939Z",
66
"type": "object",
77
"title": "Front Matter - data type",
88
"properties": {
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"$schema": "http://json-schema.org/draft-07/schema",
3+
"$id": "https://beta.frontmatter.codes/config/media.contenttypes.schema.json",
4+
"description": "Defines the settings for Front Matter content type",
5+
"lastModified": "2024-02-13T08:52:45.938Z",
6+
"type": "object",
7+
"title": "Front Matter - content type",
8+
"properties": {
9+
"name": {
10+
"type": "string",
11+
"description": "Name of the media content type"
12+
},
13+
"fileTypes": {
14+
"type": "array",
15+
"description": "Specify the file types to allow for the media content type",
16+
"items": {
17+
"type": "string"
18+
}
19+
},
20+
"fields": {
21+
"type": "array",
22+
"description": "Define the fields of the media content type",
23+
"items": {
24+
"type": "object",
25+
"properties": {
26+
"title": {
27+
"type": "string",
28+
"description": "Title to show in the UI"
29+
},
30+
"name": {
31+
"type": "string",
32+
"description": "Name of the field to use"
33+
},
34+
"type": {
35+
"type": "string",
36+
"description": "Define the type of field"
37+
},
38+
"single": {
39+
"type": "boolean",
40+
"description": "Is a single line field"
41+
}
42+
}
43+
}
44+
}
45+
}
46+
}

public/config/taxonomy.contenttypes.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "http://json-schema.org/draft-07/schema",
33
"$id": "https://beta.frontmatter.codes/config/taxonomy.contenttypes.schema.json",
44
"description": "Defines the settings for Front Matter content type",
5-
"lastModified": "2024-02-13T08:42:31.685Z",
5+
"lastModified": "2024-02-13T08:52:45.938Z",
66
"type": "object",
77
"title": "Front Matter - content type",
88
"properties": {

public/config/taxonomy.fieldgroups.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "http://json-schema.org/draft-07/schema",
33
"$id": "https://beta.frontmatter.codes/config/taxonomy.fieldgroups.schema.json",
44
"description": "Defines the settings for Front Matter field groups",
5-
"lastModified": "2024-02-13T08:42:31.685Z",
5+
"lastModified": "2024-02-13T08:52:45.938Z",
66
"type": "object",
77
"title": "Front Matter - field groups",
88
"properties": {

0 commit comments

Comments
 (0)