@@ -13,6 +13,9 @@ This multiplatform library is an implementation of JSON schema that can validate
13
13
[ JsonElement] ( https://github.com/Kotlin/kotlinx.serialization/blob/master/formats/json/commonMain/src/kotlinx/serialization/json/JsonElement.kt )
14
14
from [ kotlinx.serialization-json] ( https://github.com/Kotlin/kotlinx.serialization/tree/master/formats/json ) library.
15
15
16
+ [ ![ Open in GitHub Codespaces] ( https://github.com/codespaces/badge.svg )] ( https://codespaces.new/OptimumCode/json-schema-validator )
17
+ [ ![ Open in DevPod!] ( https://devpod.sh/assets/open-in-devpod.svg )] ( https://devpod.sh/open#https://github.com/OptimumCode/json-schema-validator )
18
+
16
19
## Usage
17
20
18
21
### Supported targets
@@ -133,7 +136,7 @@ val valid = schema.validate(elementToValidate, errors::add)
133
136
- [ Draft 7] ( https://json-schema.org/specification-links.html#draft-7 )
134
137
<details >
135
138
<summary >Supported keywords</summary >
136
-
139
+
137
140
- Core
138
141
139
142
| Keyword | Status |
@@ -340,9 +343,20 @@ You can see the results in the latest workflow execution.
340
343
341
344
## Developer notes
342
345
346
+ ### Build process
347
+
343
348
The update to Kotlin 1.9.22 came with an issue for JS incremental compilation.
344
349
In case you see an error about main function that already bind please execute ` clean ` task.
345
350
351
+ ### Devcontainer
352
+
353
+ Devcontainers is a cool feature. However, by default in Codespaces and DevPod you will use [ VS Code] ( https://code.visualstudio.com/ ) .
354
+ This is a good IDE but not for Kotlin, unfortunately.
355
+ The extension that is available for VS Code to support Kotlin works quite slow (when workspace is just started)
356
+ and sometimes does not work correctly with multiplatform definitions.
357
+ Because of that I higly recoment using JetBrains Gateway
358
+ (but it looks like the GitHub Codespace provider is not currently compatible with latest Gateway version).
359
+
346
360
## Future plans
347
361
348
362
- [x] Add ` $schema ` property validation (if not set the latest supported will be used)
0 commit comments