summaryrefslogtreecommitdiff
path: root/schemas/config/3.0.schema.json
blob: 185c79d930a5d4cb55a3381d2c8d233cbca60818 (plain)
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
	"$id": "https://raw.githubusercontent.com/roadrunner-server/roadrunner/refs/heads/master/schemas/config/3.0.schema.json",
	"$schema": "https://json-schema.org/draft/2019-09/schema",
	"title": "RoadRunner Main Configuration File",
	"description": "This is your main RoadRunner configuration file. It should contain all the plugins you want to load and their configuration.",
	"type": "object",
	"required": [
		"version"
	],
	"properties": {
		"version": {
			"description": "RoadRunner configuration file version.",
			"type": "string",
			"default": "3",
			"enum": [
				"3"
			]
		},
		"amqp": {
			"$ref": "https://raw.githubusercontent.com/roadrunner-server/amqp/refs/heads/master/schema.json#/definitions/driver"
		},
		"beanstalk": {
			"$ref": "https://raw.githubusercontent.com/roadrunner-server/beanstalk/refs/heads/master/schema.json#/definitions/driver"
		},
		"centrifuge": {
			"$ref": "https://raw.githubusercontent.com/roadrunner-server/centrifuge/refs/heads/master/schema.json"
		},
		"fileserver": {
			"$ref": "https://raw.githubusercontent.com/roadrunner-server/fileserver/refs/heads/master/schema.json"
		},
		"grpc": {
			"$ref": "https://raw.githubusercontent.com/roadrunner-server/grpc/refs/heads/master/schema.json"
		},
		"http": {
			"$ref": "https://raw.githubusercontent.com/roadrunner-server/http/refs/heads/master/schema.json"
		},
		"jobs": {
			"$ref": "https://raw.githubusercontent.com/roadrunner-server/jobs/refs/heads/master/schema.json"
		},
		"kafka": {
			"$ref": "https://raw.githubusercontent.com/roadrunner-server/kafka/refs/heads/master/schema.json#/definitions/driver"
		},
		"kv": {
			"$ref": "https://raw.githubusercontent.com/roadrunner-server/kv/refs/heads/master/schema.json"
		},
		"logs": {
			"$ref": "https://raw.githubusercontent.com/roadrunner-server/logger/refs/heads/master/schema.json"
		},
		"metrics": {
			"$ref": "https://raw.githubusercontent.com/roadrunner-server/metrics/refs/heads/master/schema.json"
		},
		"nats": {
			"$ref": "https://raw.githubusercontent.com/roadrunner-server/nats/refs/heads/master/schema.json#/definitions/driver"
		},
		"otel": {
			"$ref": "https://raw.githubusercontent.com/roadrunner-server/otel/refs/heads/master/schema.json"
		},
		"redis": {
			"$ref": "https://raw.githubusercontent.com/roadrunner-server/redis/refs/heads/master/schema.json"
		},
		"rpc": {
			"$ref": "https://raw.githubusercontent.com/roadrunner-server/rpc/refs/heads/master/schema.json"
		},
		"server": {
			"$ref": "https://raw.githubusercontent.com/roadrunner-server/server/refs/heads/master/schema.json"
		},
		"service": {
			"$ref": "https://raw.githubusercontent.com/roadrunner-server/service/refs/heads/master/schema.json"
		},
		"status": {
			"$ref": "https://raw.githubusercontent.com/roadrunner-server/status/refs/heads/master/schema.json"
		},
		"sqs": {
			"$ref": "https://raw.githubusercontent.com/roadrunner-server/sqs/refs/heads/master/schema.json#/definitions/driver"
		},
		"temporal": {
			"$ref": "https://raw.githubusercontent.com/temporalio/roadrunner-temporal/refs/heads/master/schema.json"
		},
		"tcp": {
			"$ref": "https://raw.githubusercontent.com/roadrunner-server/tcp/refs/heads/master/schema.json"
		}
	},
	"definitions": {
		"Duration": {
			"description": "Time duration",
			"type": "string",
			"pattern": "^([0-9]*(\\.[0-9]*)?(ms|h|m|s))+$",
			"examples": [
				"1h",
				"2.5h",
				"2m",
				".2m",
				"30s",
				"30.03s",
				"300ms",
				"1h3m40s500ms"
			]
		}
	}
}