159 lines
3.6 KiB
JSON
159 lines
3.6 KiB
JSON
|
|
{
|
||
|
|
"nullable": false,
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"user_name": {
|
||
|
|
"nullable": false,
|
||
|
|
"type": "string",
|
||
|
|
"default": "mautrix"
|
||
|
|
},
|
||
|
|
"directory": {
|
||
|
|
"nullable": false,
|
||
|
|
"type": "string",
|
||
|
|
"default": "/opt/mautrix-signal"
|
||
|
|
},
|
||
|
|
"database": {
|
||
|
|
"nullable": false,
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"host": {
|
||
|
|
"nullable": false,
|
||
|
|
"type": "string",
|
||
|
|
"default": "localhost"
|
||
|
|
},
|
||
|
|
"port": {
|
||
|
|
"nullable": false,
|
||
|
|
"type": "integer",
|
||
|
|
"default": 5432
|
||
|
|
},
|
||
|
|
"username": {
|
||
|
|
"nullable": false,
|
||
|
|
"type": "string",
|
||
|
|
"default": "mautrix_signal_user"
|
||
|
|
},
|
||
|
|
"password": {
|
||
|
|
"nullable": false,
|
||
|
|
"type": "string"
|
||
|
|
},
|
||
|
|
"schema": {
|
||
|
|
"nullable": false,
|
||
|
|
"type": "string",
|
||
|
|
"default": "mautrix_signal"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"additionalProperties": false,
|
||
|
|
"required": [
|
||
|
|
"password"
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"homeserver": {
|
||
|
|
"nullable": false,
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"address": {
|
||
|
|
"nullable": false,
|
||
|
|
"type": "string",
|
||
|
|
"default": "http://localhost:8008"
|
||
|
|
},
|
||
|
|
"domain": {
|
||
|
|
"nullable": false,
|
||
|
|
"type": "string",
|
||
|
|
"default": "synapse.example.org"
|
||
|
|
},
|
||
|
|
"conf_directory": {
|
||
|
|
"nullable": false,
|
||
|
|
"type": "string",
|
||
|
|
"default": "/etc/matrix-synapse/conf.d"
|
||
|
|
},
|
||
|
|
"appservices_directory": {
|
||
|
|
"nullable": false,
|
||
|
|
"type": "string",
|
||
|
|
"default": "/etc/matrix-synapse/appservices.d"
|
||
|
|
},
|
||
|
|
"user_name": {
|
||
|
|
"nullable": false,
|
||
|
|
"type": "string",
|
||
|
|
"default": "matrix-synapse"
|
||
|
|
},
|
||
|
|
"service_name": {
|
||
|
|
"nullable": false,
|
||
|
|
"type": "string",
|
||
|
|
"default": "matrix-synapse"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"additionalProperties": false,
|
||
|
|
"required": [
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"formats": {
|
||
|
|
"nullable": false,
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"displayname": {
|
||
|
|
"nullable": false,
|
||
|
|
"type": "string"
|
||
|
|
},
|
||
|
|
"messages": {
|
||
|
|
"nullable": false,
|
||
|
|
"type": "object",
|
||
|
|
"properties": {
|
||
|
|
"displayname": {
|
||
|
|
"nullable": false,
|
||
|
|
"type": "string"
|
||
|
|
},
|
||
|
|
"text": {
|
||
|
|
"nullable": false,
|
||
|
|
"type": "string",
|
||
|
|
"default": "<b>{{ .Sender.DisambiguatedName }}</b>: {{ .Message }}"
|
||
|
|
},
|
||
|
|
"notice": {
|
||
|
|
"nullable": false,
|
||
|
|
"type": "string",
|
||
|
|
"default": "<b>{{ .Sender.DisambiguatedName }}</b>: {{ .Message }}"
|
||
|
|
},
|
||
|
|
"emote": {
|
||
|
|
"nullable": false,
|
||
|
|
"type": "string",
|
||
|
|
"default": "* <b>{{ .Sender.DisambiguatedName }}</b> {{ .Message }}"
|
||
|
|
},
|
||
|
|
"file": {
|
||
|
|
"nullable": false,
|
||
|
|
"type": "string",
|
||
|
|
"default": "<b>{{ .Sender.DisambiguatedName }}</b> sent a file{{ if .Caption }}: {{ .Caption }}{{ end }}"
|
||
|
|
},
|
||
|
|
"image": {
|
||
|
|
"nullable": false,
|
||
|
|
"type": "string",
|
||
|
|
"default": "<b>{{ .Sender.DisambiguatedName }}</b> sent an image{{ if .Caption }}: {{ .Caption }}{{ end }}"
|
||
|
|
},
|
||
|
|
"audio": {
|
||
|
|
"nullable": false,
|
||
|
|
"type": "string",
|
||
|
|
"default": "<b>{{ .Sender.DisambiguatedName }}</b> sent an audio file{{ if .Caption }}: {{ .Caption }}{{ end }}"
|
||
|
|
},
|
||
|
|
"video": {
|
||
|
|
"nullable": false,
|
||
|
|
"type": "string",
|
||
|
|
"default": "<b>{{ .Sender.DisambiguatedName }}</b> sent a video{{ if .Caption }}: {{ .Caption }}{{ end }}"
|
||
|
|
},
|
||
|
|
"location": {
|
||
|
|
"nullable": false,
|
||
|
|
"type": "string",
|
||
|
|
"default": "<b>{{ .Sender.DisambiguatedName }}</b> sent a location{{ if .Caption }}: {{ .Caption }}{{ end }}"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"additionalProperties": false,
|
||
|
|
"required": [
|
||
|
|
]
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"additionalProperties": false,
|
||
|
|
"required": [
|
||
|
|
]
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"additionalProperties": false,
|
||
|
|
"required": [
|
||
|
|
]
|
||
|
|
}
|