hexo-theme-icarus/include/schema/misc/open_graph.json

81 lines
2.7 KiB
JSON
Raw Normal View History

2019-12-24 23:05:37 +00:00
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "/misc/open_graph.json",
"description": "Open Graph metadata\nhttps://hexo.io/docs/helpers.html#open-graph",
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "Page title (og:title) (optional)\nYou should leave this blank for most of the time",
"nullable": true
2019-12-24 23:05:37 +00:00
},
"type": {
"type": "string",
"description": "Page type (og:type) (optional)\nYou should leave this blank for most of the time",
"default": "blog",
"nullable": true
2019-12-24 23:05:37 +00:00
},
"url": {
"type": "string",
"description": "Page URL (og:url) (optional)\nYou should leave this blank for most of the time",
"nullable": true
2019-12-24 23:05:37 +00:00
},
"image": {
"type": [
"string",
"array"
],
"description": "Page cover (og:image) (optional) Default to the Open Graph image or thumbnail of the page\nYou should leave this blank for most of the time",
2019-12-24 23:05:37 +00:00
"items": {
"type": "string"
},
"nullable": true
2019-12-24 23:05:37 +00:00
},
"site_name": {
"type": "string",
"description": "Site name (og:site_name) (optional)\nYou should leave this blank for most of the time",
"nullable": true
},
"author": {
"type": "string",
"description": "Page author (article:author) (optional)\nYou should leave this blank for most of the time",
"nullable": true
2019-12-24 23:05:37 +00:00
},
"description": {
"type": "string",
"description": "Page description (og:description) (optional)\nYou should leave this blank for most of the time",
"nullable": true
2019-12-24 23:05:37 +00:00
},
"twitter_card": {
"type": "string",
"description": "Twitter card type (twitter:card)",
"nullable": true
2019-12-24 23:05:37 +00:00
},
"twitter_id": {
"type": "string",
"description": "Twitter ID (twitter:creator)",
"nullable": true
2019-12-24 23:05:37 +00:00
},
"twitter_site": {
"type": "string",
"description": "Twitter ID (twitter:creator)",
"nullable": true
2019-12-24 23:05:37 +00:00
},
"google_plus": {
"type": "string",
"description": "Google+ profile link (deprecated)",
"nullable": true
2019-12-24 23:05:37 +00:00
},
"fb_admins": {
"type": "string",
"description": "Facebook admin ID",
"nullable": true
2019-12-24 23:05:37 +00:00
},
"fb_app_id": {
"type": "string",
"description": "Facebook App ID",
"nullable": true
2019-12-24 23:05:37 +00:00
}
},
"nullable": true
2019-12-24 23:05:37 +00:00
}