-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
153 additions
and
1,097 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,62 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2019-09/schema", | ||
"$id": "http://example.com/example.json", | ||
"$schema": "http://json-schema.org/draft-07/schema", | ||
"type": "object", | ||
"default": { | ||
"address": "localhost:4444", | ||
"password": "password", | ||
"baseRtmpUrl": "https://rtmp.example.live/hls/", | ||
"RTMPServers": {}, | ||
"botToken": "" | ||
}, | ||
"description": "The root schema comprises the entire JSON document.", | ||
"examples": [ | ||
{ | ||
"address": "localhost:4444", | ||
"password": "password", | ||
"baseRtmpUrl": "https://rtmp.example.live/hls/", | ||
"botToken": "" | ||
} | ||
], | ||
"title": "Root Schema", | ||
"required": [ | ||
"address", | ||
"password", | ||
"baseRtmpUrl", | ||
"RTMPServers", | ||
"botToken" | ||
], | ||
"title": "The root schema", | ||
"type": "object", | ||
"properties": { | ||
"address": { | ||
"$id": "#/properties/address", | ||
"type": "string", | ||
"title": "The address schema", | ||
"description": "An explanation about the purpose of this instance.", | ||
"default": "", | ||
"title": "The address Schema", | ||
"examples": [ | ||
"localhost:4444" | ||
] | ||
}, | ||
"password": { | ||
"$id": "#/properties/password", | ||
"type": "string", | ||
"title": "The password schema", | ||
"description": "An explanation about the purpose of this instance.", | ||
"default": "", | ||
"title": "The password Schema", | ||
"examples": [ | ||
"password" | ||
] | ||
}, | ||
"baseRtmpUrl": { | ||
"$id": "#/properties/baseRtmpUrl", | ||
"type": "string", | ||
"title": "The baseRtmpUrl schema", | ||
"description": "An explanation about the purpose of this instance.", | ||
"default": "", | ||
"RTMPServers": { | ||
"type": "object", | ||
"default": {}, | ||
"title": "The RTMPServers Schema", | ||
"required": [], | ||
"properties": {}, | ||
"examples": [ | ||
"https://rtmp.example.live/hls/" | ||
{} | ||
] | ||
}, | ||
"botToken": { | ||
"$id": "#/properties/botToken", | ||
"type": "string", | ||
"title": "The botToken schema", | ||
"description": "An explanation about the purpose of this instance.", | ||
"default": "", | ||
"title": "The botToken Schema", | ||
"examples": [ | ||
"" | ||
] | ||
} | ||
}, | ||
"additionalProperties": true | ||
"examples": [ | ||
{ | ||
"address": "localhost:4444", | ||
"password": "password", | ||
"RTMPServers": {}, | ||
"botToken": "" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.