You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/JSONSchema/JSONSchema+Integer.swift
+11-10Lines changed: 11 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ import Foundation
9
9
10
10
publicextensionJSONSchema{
11
11
/// A structure that represents the schema for an integer type in JSON Schema.
12
-
structIntegerSchema:Codable{
12
+
structIntegerSchema:Codable,Sendable{
13
13
/// A value that the integer must be a multiple of. [6.2.1](https://json-schema.org/draft/2020-12/draft-bhutton-json-schema-validation-00#rfc.section.6.2.1)
Copy file name to clipboardExpand all lines: Sources/JSONSchema/JSONSchema+Number.swift
+11-10Lines changed: 11 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ import Foundation
9
9
10
10
publicextensionJSONSchema{
11
11
/// A structure that represents the schema for a number type in JSON Schema.
12
-
structNumberSchema:Codable{
12
+
structNumberSchema:Codable,Sendable{
13
13
/// A value that the number must be a multiple of. [6.2.1](https://json-schema.org/draft/2020-12/draft-bhutton-json-schema-validation-00#rfc.section.6.2.1)
Copy file name to clipboardExpand all lines: Sources/JSONSchema/JSONSchema+Object.swift
+13-12Lines changed: 13 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
import Foundation
9
9
10
10
publicextensionJSONSchema{
11
-
structObjectSchema:Codable{
11
+
structObjectSchema:Codable,Sendable{
12
12
/// A dictionary of property names and their corresponding JSON schemas. [10.3.2.1](https://json-schema.org/draft/2020-12/draft-bhutton-json-schema-00#rfc.section.10.3.2.1)
13
13
publicletproperties:[String:JSONSchema]?
14
14
@@ -28,7 +28,7 @@ public extension JSONSchema {
28
28
publicletpatternProperties:[String:JSONSchema]?
29
29
30
30
/// An enum that represents the possible values for the ``additionalProperties`` field in an object schema.
31
-
publicenumAdditionalProperties:Codable{
31
+
publicenumAdditionalProperties:Codable,Sendable{
32
32
/// A boolean value indicating whether additional properties are allowed.
33
33
case boolean(Bool)
34
34
/// A JSON schema that all additional properties must conform to.
0 commit comments