Skip to content

Commit 7cfdb77

Browse files
committed
generated json schema for phx_join added to repo
1 parent f905b03 commit 7cfdb77

File tree

1 file changed

+139
-0
lines changed

1 file changed

+139
-0
lines changed

phx_join.schema.json

Lines changed: 139 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,139 @@
1+
{
2+
"type": "object",
3+
"description": "",
4+
"title": "phx_join",
5+
"required": [
6+
"access_token",
7+
"config"
8+
],
9+
"properties": {
10+
"config": {
11+
"title": "config",
12+
"$ref": "#/$defs/phx_join_config"
13+
},
14+
"access_token": {
15+
"type": "string",
16+
"description": "String, e.g. 'hello'",
17+
"title": "access_token"
18+
}
19+
},
20+
"additionalProperties": false,
21+
"$defs": {
22+
"phx_join_config": {
23+
"type": "object",
24+
"description": "",
25+
"title": "phx_join_config",
26+
"properties": {
27+
"private": {
28+
"type": "boolean",
29+
"description": "Boolean, e.g. true",
30+
"title": "private",
31+
"default": false
32+
},
33+
"broadcast": {
34+
"title": "broadcast",
35+
"$ref": "#/$defs/phx_join_broadcast",
36+
"default": {
37+
"self": false,
38+
"ack": false
39+
}
40+
},
41+
"presence": {
42+
"title": "presence",
43+
"$ref": "#/$defs/phx_join_presence",
44+
"default": {
45+
"enabled": false,
46+
"key": ""
47+
}
48+
},
49+
"postgres_changes": {
50+
"type": "array",
51+
"title": "phx_join_postgres_changes",
52+
"items": {
53+
"$ref": "#/$defs/phx_join_postgres_changes",
54+
"default": {
55+
"table": "",
56+
"filter": "",
57+
"schema": "",
58+
"event": ""
59+
}
60+
}
61+
}
62+
},
63+
"additionalProperties": false
64+
},
65+
"phx_join_broadcast": {
66+
"type": "object",
67+
"description": "",
68+
"title": "phx_join_broadcast",
69+
"properties": {
70+
"self": {
71+
"type": "boolean",
72+
"description": "Boolean, e.g. true",
73+
"title": "self",
74+
"default": false
75+
},
76+
"ack": {
77+
"type": "boolean",
78+
"description": "Boolean, e.g. true",
79+
"title": "ack",
80+
"default": false
81+
}
82+
},
83+
"additionalProperties": false
84+
},
85+
"phx_join_postgres_changes": {
86+
"type": "object",
87+
"description": "",
88+
"title": "phx_join_postgres_changes",
89+
"required": [
90+
"event",
91+
"filter",
92+
"schema",
93+
"table"
94+
],
95+
"properties": {
96+
"table": {
97+
"type": "string",
98+
"description": "String, e.g. 'hello'",
99+
"title": "table"
100+
},
101+
"filter": {
102+
"type": "string",
103+
"description": "String, e.g. 'hello'",
104+
"title": "filter"
105+
},
106+
"schema": {
107+
"type": "string",
108+
"description": "String, e.g. 'hello'",
109+
"title": "schema"
110+
},
111+
"event": {
112+
"type": "string",
113+
"description": "String, e.g. 'hello'",
114+
"title": "event"
115+
}
116+
},
117+
"additionalProperties": false
118+
},
119+
"phx_join_presence": {
120+
"type": "object",
121+
"description": "",
122+
"title": "phx_join_presence",
123+
"properties": {
124+
"enabled": {
125+
"type": "boolean",
126+
"description": "Boolean, e.g. true",
127+
"title": "enabled",
128+
"default": false
129+
},
130+
"key": {
131+
"type": "string",
132+
"description": "String, e.g. 'hello'",
133+
"title": "key"
134+
}
135+
},
136+
"additionalProperties": false
137+
}
138+
}
139+
}

0 commit comments

Comments
 (0)