80 lines
1.7 KiB
JSON
80 lines
1.7 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"additionalProperties": true,
|
|
"properties": {
|
|
"_slug": {
|
|
"description": "Entry identifier (URL slug / filename without extension)",
|
|
"type": "string"
|
|
},
|
|
"alt": {
|
|
"description": "Alt text (e.g. for icon)",
|
|
"type": "string"
|
|
},
|
|
"author": {
|
|
"description": "Author (e.g. for sources)",
|
|
"type": "string"
|
|
},
|
|
"color": {
|
|
"description": "Color (e.g. for buttons)",
|
|
"type": "string"
|
|
},
|
|
"date": {
|
|
"description": "Date (e.g. publication)",
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"description": "Description",
|
|
"type": "string"
|
|
},
|
|
"external": {
|
|
"default": false,
|
|
"description": "External link",
|
|
"type": "boolean"
|
|
},
|
|
"icon": {
|
|
"description": "Icon identifier",
|
|
"type": "string"
|
|
},
|
|
"internal": {
|
|
"description": "Internal key",
|
|
"type": "string"
|
|
},
|
|
"linkName": {
|
|
"description": "Display name (e.g. in navigation)",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Internal link name",
|
|
"type": "string"
|
|
},
|
|
"newTab": {
|
|
"default": false,
|
|
"description": "Open in new tab",
|
|
"type": "boolean"
|
|
},
|
|
"showText": {
|
|
"default": true,
|
|
"description": "Show text",
|
|
"type": "boolean"
|
|
},
|
|
"source": {
|
|
"description": "Source",
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"description": "Target URL",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"_slug",
|
|
"name",
|
|
"internal",
|
|
"linkName",
|
|
"url",
|
|
"author",
|
|
"date",
|
|
"source"
|
|
],
|
|
"type": "object"
|
|
} |