|
1 | 1 | {
|
2 | 2 | "$schema": "http://json-schema.org/draft-07/schema#",
|
3 | 3 | "definitions": {
|
4 |
| - "import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/client/clients\",{assert:{\"resolution-mode\":\"import\"}}).ClientAIOConfig": { |
| 4 | + "ClientAIOConfig": { |
5 | 5 | "anyOf": [
|
6 | 6 | {
|
7 |
| - "$ref": "#/definitions/import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/client/lastfm\",{assert:{\"resolution-mode\":\"import\"}}).LastfmClientAIOConfig" |
| 7 | + "$ref": "#/definitions/LastfmClientAIOConfig" |
8 | 8 | },
|
9 | 9 | {
|
10 |
| - "$ref": "#/definitions/import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/client/listenbrainz\",{assert:{\"resolution-mode\":\"import\"}}).ListenBrainzClientAIOConfig" |
| 10 | + "$ref": "#/definitions/ListenBrainzClientAIOConfig" |
11 | 11 | },
|
12 | 12 | {
|
13 |
| - "$ref": "#/definitions/import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/client/maloja\",{assert:{\"resolution-mode\":\"import\"}}).MalojaClientAIOConfig" |
| 13 | + "$ref": "#/definitions/MalojaClientAIOConfig" |
14 | 14 | }
|
15 | 15 | ],
|
16 |
| - "title": "import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/client/clients\",{assert:{\"resolution-mode\":\"import\"}}).ClientAIOConfig" |
| 16 | + "title": "ClientAIOConfig" |
17 | 17 | },
|
18 |
| - "import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/client/index\",{assert:{\"resolution-mode\":\"import\"}}).CommonClientData": { |
| 18 | + "CommonClientData": { |
19 | 19 | "properties": {
|
20 | 20 | "maxRequestRetries": {
|
21 | 21 | "default": 1,
|
|
59 | 59 | "description": "Options used for increasing verbosity of logging in MS (used for debugging)",
|
60 | 60 | "properties": {
|
61 | 61 | "match": {
|
62 |
| - "$ref": "#/definitions/import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/client/index\",{assert:{\"resolution-mode\":\"import\"}}).MatchLoggingOptions", |
| 62 | + "$ref": "#/definitions/MatchLoggingOptions", |
63 | 63 | "title": "match"
|
64 | 64 | }
|
65 | 65 | },
|
|
80 | 80 | "type": "number"
|
81 | 81 | }
|
82 | 82 | },
|
83 |
| - "title": "import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/client/index\",{assert:{\"resolution-mode\":\"import\"}}).CommonClientData", |
| 83 | + "title": "CommonClientData", |
84 | 84 | "type": "object"
|
85 | 85 | },
|
86 |
| - "import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/client/index\",{assert:{\"resolution-mode\":\"import\"}}).MatchLoggingOptions": { |
87 |
| - "description": "Scrobble matching (between new source track and existing client scrobbles) logging options. Used for debugging.", |
88 |
| - "properties": { |
89 |
| - "confidenceBreakdown": { |
90 |
| - "default": false, |
91 |
| - "description": "Include confidence breakdowns in track match logging, if applicable", |
92 |
| - "examples": [ |
93 |
| - false |
94 |
| - ], |
95 |
| - "title": "confidenceBreakdown", |
96 |
| - "type": "boolean" |
97 |
| - }, |
98 |
| - "onMatch": { |
99 |
| - "default": false, |
100 |
| - "description": "Log to DEBUG when a new track DOES match an existing scrobble", |
101 |
| - "examples": [ |
102 |
| - false |
103 |
| - ], |
104 |
| - "title": "onMatch", |
105 |
| - "type": "boolean" |
106 |
| - }, |
107 |
| - "onNoMatch": { |
108 |
| - "default": false, |
109 |
| - "description": "Log to DEBUG when a new track does NOT match an existing scrobble", |
110 |
| - "examples": [ |
111 |
| - false |
112 |
| - ], |
113 |
| - "title": "onNoMatch", |
114 |
| - "type": "boolean" |
115 |
| - } |
116 |
| - }, |
117 |
| - "title": "import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/client/index\",{assert:{\"resolution-mode\":\"import\"}}).MatchLoggingOptions", |
118 |
| - "type": "object" |
119 |
| - }, |
120 |
| - "import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/client/lastfm\",{assert:{\"resolution-mode\":\"import\"}}).LastfmClientAIOConfig": { |
| 86 | + "LastfmClientAIOConfig": { |
121 | 87 | "properties": {
|
122 | 88 | "configureAs": {
|
123 | 89 | "default": "client",
|
|
135 | 101 | "data": {
|
136 | 102 | "allOf": [
|
137 | 103 | {
|
138 |
| - "$ref": "#/definitions/import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/client/index\",{assert:{\"resolution-mode\":\"import\"}}).CommonClientData" |
| 104 | + "$ref": "#/definitions/CommonClientData" |
139 | 105 | },
|
140 | 106 | {
|
141 |
| - "$ref": "#/definitions/import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/client/lastfm\",{assert:{\"resolution-mode\":\"import\"}}).LastfmData" |
| 107 | + "$ref": "#/definitions/LastfmData" |
142 | 108 | }
|
143 | 109 | ],
|
144 | 110 | "description": "Specific data required to configure this client",
|
|
174 | 140 | "name",
|
175 | 141 | "type"
|
176 | 142 | ],
|
177 |
| - "title": "import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/client/lastfm\",{assert:{\"resolution-mode\":\"import\"}}).LastfmClientAIOConfig", |
| 143 | + "title": "LastfmClientAIOConfig", |
178 | 144 | "type": "object"
|
179 | 145 | },
|
180 |
| - "import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/client/lastfm\",{assert:{\"resolution-mode\":\"import\"}}).LastfmData": { |
| 146 | + "LastfmData": { |
181 | 147 | "properties": {
|
182 | 148 | "apiKey": {
|
183 | 149 | "description": "API Key generated from Last.fm account",
|
|
232 | 198 | "apiKey",
|
233 | 199 | "secret"
|
234 | 200 | ],
|
235 |
| - "title": "import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/client/lastfm\",{assert:{\"resolution-mode\":\"import\"}}).LastfmData", |
| 201 | + "title": "LastfmData", |
236 | 202 | "type": "object"
|
237 | 203 | },
|
238 |
| - "import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/client/listenbrainz\",{assert:{\"resolution-mode\":\"import\"}}).ListenBrainzClientAIOConfig": { |
| 204 | + "ListenBrainzClientAIOConfig": { |
239 | 205 | "properties": {
|
240 | 206 | "configureAs": {
|
241 | 207 | "default": "client",
|
|
251 | 217 | "type": "string"
|
252 | 218 | },
|
253 | 219 | "data": {
|
254 |
| - "$ref": "#/definitions/import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/client/listenbrainz\",{assert:{\"resolution-mode\":\"import\"}}).ListenBrainzClientData", |
| 220 | + "$ref": "#/definitions/ListenBrainzClientData", |
255 | 221 | "description": "Specific data required to configure this client",
|
256 | 222 | "title": "data"
|
257 | 223 | },
|
|
285 | 251 | "name",
|
286 | 252 | "type"
|
287 | 253 | ],
|
288 |
| - "title": "import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/client/listenbrainz\",{assert:{\"resolution-mode\":\"import\"}}).ListenBrainzClientAIOConfig", |
| 254 | + "title": "ListenBrainzClientAIOConfig", |
289 | 255 | "type": "object"
|
290 | 256 | },
|
291 |
| - "import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/client/listenbrainz\",{assert:{\"resolution-mode\":\"import\"}}).ListenBrainzClientData": { |
| 257 | + "ListenBrainzClientData": { |
292 | 258 | "properties": {
|
293 | 259 | "maxRequestRetries": {
|
294 | 260 | "default": 1,
|
|
332 | 298 | "description": "Options used for increasing verbosity of logging in MS (used for debugging)",
|
333 | 299 | "properties": {
|
334 | 300 | "match": {
|
335 |
| - "$ref": "#/definitions/import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/client/index\",{assert:{\"resolution-mode\":\"import\"}}).MatchLoggingOptions", |
| 301 | + "$ref": "#/definitions/MatchLoggingOptions", |
336 | 302 | "title": "match"
|
337 | 303 | }
|
338 | 304 | },
|
|
379 | 345 | "token",
|
380 | 346 | "username"
|
381 | 347 | ],
|
382 |
| - "title": "import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/client/listenbrainz\",{assert:{\"resolution-mode\":\"import\"}}).ListenBrainzClientData", |
| 348 | + "title": "ListenBrainzClientData", |
383 | 349 | "type": "object"
|
384 | 350 | },
|
385 |
| - "import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/client/maloja\",{assert:{\"resolution-mode\":\"import\"}}).MalojaClientAIOConfig": { |
| 351 | + "MalojaClientAIOConfig": { |
386 | 352 | "properties": {
|
387 | 353 | "data": {
|
388 |
| - "$ref": "#/definitions/import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/client/maloja\",{assert:{\"resolution-mode\":\"import\"}}).MalojaClientData", |
| 354 | + "$ref": "#/definitions/MalojaClientData", |
389 | 355 | "description": "Specific data required to configure this client",
|
390 | 356 | "title": "data"
|
391 | 357 | },
|
|
419 | 385 | "name",
|
420 | 386 | "type"
|
421 | 387 | ],
|
422 |
| - "title": "import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/client/maloja\",{assert:{\"resolution-mode\":\"import\"}}).MalojaClientAIOConfig", |
| 388 | + "title": "MalojaClientAIOConfig", |
423 | 389 | "type": "object"
|
424 | 390 | },
|
425 |
| - "import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/client/maloja\",{assert:{\"resolution-mode\":\"import\"}}).MalojaClientData": { |
| 391 | + "MalojaClientData": { |
426 | 392 | "properties": {
|
427 | 393 | "apiKey": {
|
428 | 394 | "description": "API Key for Maloja server",
|
|
474 | 440 | "description": "Options used for increasing verbosity of logging in MS (used for debugging)",
|
475 | 441 | "properties": {
|
476 | 442 | "match": {
|
477 |
| - "$ref": "#/definitions/import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/client/index\",{assert:{\"resolution-mode\":\"import\"}}).MatchLoggingOptions", |
| 443 | + "$ref": "#/definitions/MatchLoggingOptions", |
478 | 444 | "title": "match"
|
479 | 445 | }
|
480 | 446 | },
|
|
507 | 473 | "apiKey",
|
508 | 474 | "url"
|
509 | 475 | ],
|
510 |
| - "title": "import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/client/maloja\",{assert:{\"resolution-mode\":\"import\"}}).MalojaClientData", |
| 476 | + "title": "MalojaClientData", |
| 477 | + "type": "object" |
| 478 | + }, |
| 479 | + "MatchLoggingOptions": { |
| 480 | + "description": "Scrobble matching (between new source track and existing client scrobbles) logging options. Used for debugging.", |
| 481 | + "properties": { |
| 482 | + "confidenceBreakdown": { |
| 483 | + "default": false, |
| 484 | + "description": "Include confidence breakdowns in track match logging, if applicable", |
| 485 | + "examples": [ |
| 486 | + false |
| 487 | + ], |
| 488 | + "title": "confidenceBreakdown", |
| 489 | + "type": "boolean" |
| 490 | + }, |
| 491 | + "onMatch": { |
| 492 | + "default": false, |
| 493 | + "description": "Log to DEBUG when a new track DOES match an existing scrobble", |
| 494 | + "examples": [ |
| 495 | + false |
| 496 | + ], |
| 497 | + "title": "onMatch", |
| 498 | + "type": "boolean" |
| 499 | + }, |
| 500 | + "onNoMatch": { |
| 501 | + "default": false, |
| 502 | + "description": "Log to DEBUG when a new track does NOT match an existing scrobble", |
| 503 | + "examples": [ |
| 504 | + false |
| 505 | + ], |
| 506 | + "title": "onNoMatch", |
| 507 | + "type": "boolean" |
| 508 | + } |
| 509 | + }, |
| 510 | + "title": "MatchLoggingOptions", |
511 | 511 | "type": "object"
|
512 | 512 | },
|
513 |
| - "import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/common\",{assert:{\"resolution-mode\":\"import\"}}).RequestRetryOptions": { |
| 513 | + "RequestRetryOptions": { |
514 | 514 | "properties": {
|
515 | 515 | "maxRequestRetries": {
|
516 | 516 | "default": 1,
|
|
531 | 531 | "type": "number"
|
532 | 532 | }
|
533 | 533 | },
|
534 |
| - "title": "import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/common\",{assert:{\"resolution-mode\":\"import\"}}).RequestRetryOptions", |
| 534 | + "title": "RequestRetryOptions", |
535 | 535 | "type": "object"
|
536 | 536 | }
|
537 | 537 | },
|
538 | 538 | "properties": {
|
539 | 539 | "clientDefaults": {
|
540 |
| - "$ref": "#/definitions/import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/common\",{assert:{\"resolution-mode\":\"import\"}}).RequestRetryOptions", |
| 540 | + "$ref": "#/definitions/RequestRetryOptions", |
541 | 541 | "title": "clientDefaults"
|
542 | 542 | },
|
543 | 543 | "clients": {
|
544 | 544 | "items": {
|
545 |
| - "$ref": "#/definitions/import(\"/home/foxx/code/multi-scrobbler/src/backend/common/infrastructure/config/client/clients\",{assert:{\"resolution-mode\":\"import\"}}).ClientAIOConfig" |
| 545 | + "$ref": "#/definitions/ClientAIOConfig" |
546 | 546 | },
|
547 | 547 | "title": "clients",
|
548 | 548 | "type": "array"
|
|
0 commit comments