-
Notifications
You must be signed in to change notification settings - Fork 4
/
blog.schema.yaml
68 lines (67 loc) · 1.29 KB
/
blog.schema.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
properties:
title:
title: Title
description: Used for page title
type: string
maxLength: 80
description:
title: Description
description: Used for SEO
type: string
maxLength: 300
author:
title: author
description: Author of the blog post
type: string
maxLength: 300
authorEmail:
title: authorEmail
description: Email of the author
type: string
maxLength: 300
date:
title: date
description: Date of post
type: string
maxLength: 300
keywords:
title: Keywords
description: Used for SEO
type: array
maxLength: 300
slug:
title: slug
description: URL without forward slash or "docs" prefix
type: string
maxLength: 300
ogImage:
title: ogImage
description: URL location of a custom image for Open Graph
type: string
maxLength: 300
tags:
title: Tags
description: Tags used for categorizing and filtering content
type: array
maxLength: 300
published:
description: Whether to list this doc in the menu and search
type: boolean
image:
type: object
required:
- src
- alt
properties:
src:
type: string
alt:
type: string
required:
- title
- description
- author
- slug
- published
- image
- date