standard json style

This commit is contained in:
Simon 2023-11-19 13:06:47 +07:00
parent 91bb0ed9c0
commit b1267cba83
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4
1 changed files with 30 additions and 30 deletions

View File

@ -74,7 +74,7 @@
"type": "boolean" "type": "boolean"
}, },
"integrate_sponsorblock": { "integrate_sponsorblock": {
"type" : "boolean" "type": "boolean"
} }
} }
} }
@ -168,7 +168,7 @@
"type": "boolean" "type": "boolean"
}, },
"integrate_sponsorblock": { "integrate_sponsorblock": {
"type" : "boolean" "type": "boolean"
} }
} }
} }
@ -236,19 +236,19 @@
"comment_count": { "comment_count": {
"type": "long" "type": "long"
}, },
"stats" : { "stats": {
"properties" : { "properties": {
"average_rating" : { "average_rating": {
"type" : "float" "type": "float"
}, },
"dislike_count" : { "dislike_count": {
"type" : "long" "type": "long"
}, },
"like_count" : { "like_count": {
"type" : "long" "type": "long"
}, },
"view_count" : { "view_count": {
"type" : "long" "type": "long"
} }
} }
}, },
@ -332,28 +332,28 @@
"is_enabled": { "is_enabled": {
"type": "boolean" "type": "boolean"
}, },
"segments" : { "segments": {
"properties" : { "properties": {
"UUID" : { "UUID": {
"type": "keyword" "type": "keyword"
}, },
"actionType" : { "actionType": {
"type": "keyword" "type": "keyword"
}, },
"category" : { "category": {
"type": "keyword" "type": "keyword"
}, },
"locked" : { "locked": {
"type" : "short" "type": "short"
}, },
"segment" : { "segment": {
"type" : "float" "type": "float"
}, },
"videoDuration" : { "videoDuration": {
"type" : "float" "type": "float"
}, },
"votes" : { "votes": {
"type" : "long" "type": "long"
} }
} }
} }
@ -534,7 +534,7 @@
"format": "epoch_second" "format": "epoch_second"
}, },
"subtitle_index": { "subtitle_index": {
"type" : "long" "type": "long"
}, },
"subtitle_lang": { "subtitle_lang": {
"type": "keyword" "type": "keyword"
@ -543,7 +543,7 @@
"type": "keyword" "type": "keyword"
}, },
"subtitle_line": { "subtitle_line": {
"type" : "text", "type": "text",
"analyzer": "english" "analyzer": "english"
} }
}, },
@ -578,14 +578,14 @@
"type": "keyword" "type": "keyword"
}, },
"comment_text": { "comment_text": {
"type" : "text" "type": "text"
}, },
"comment_timestamp": { "comment_timestamp": {
"type": "date", "type": "date",
"format": "epoch_second" "format": "epoch_second"
}, },
"comment_time_text": { "comment_time_text": {
"type" : "text" "type": "text"
}, },
"comment_likecount": { "comment_likecount": {
"type": "long" "type": "long"
@ -631,4 +631,4 @@
} }
} }
] ]
} }