-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathNews Database Structure.jsonc
33 lines (33 loc) · 1.34 KB
/
News Database Structure.jsonc
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
{
// Unique id of the news article (generated by the back-end). You can change
// this to any string you want.
"id": "iT185AhNnSf27zaAix69",
// Author of the article (provided by admin) [string length: variable]
"author": "John Doe",
// Content of the article. The content of the article can consist of an
// unknown number of sections. [array length: variable]
"content": [
{
// Heading of the section [string length: variable]
"heading": "Hello, World!",
// Paragraphs of the section [array length: variable]
"paragraphs": [
// Paragraph 1 [string length: variable]
"This is a simple example of a JSON file.",
// Paragraph 2 [string length: variable]
"It is used to store data in a structured format."
]
}
],
// Date and time of the article (provided by admin) [object length: 2]
"datetime": {
// [number 8 characters]
"date": 12093600,
// [string 8 characters]
"time": "31:05:23"
},
// Description of the article (provided by admin) [string length: variable]
"desription": "This is a nws article.",
// Title of the article (provided by admin) [string length: variable]
"title": "Title of the article"
}