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: src/schema.ts
+55-69Lines changed: 55 additions & 69 deletions
Original file line number
Diff line number
Diff line change
@@ -24,71 +24,63 @@ type Schema = {
24
24
anyOf?: SchemaObject[],
25
25
};
26
26
27
-
typeObjectSchema={
28
-
type: "object",
29
-
/**
30
-
* An object is a collection of property/value pairs. The properties keyword is used to define the object properties – you need to list the property names and specify a schema for each property.
31
-
*/
32
-
properties?: Record<string,SchemaObject>,
33
-
/**
34
-
* By default, all object properties are optional. You can specify the required properties in the required list
* An object is a collection of property/value pairs. The properties keyword is used to define the object properties – you need to list the property names and specify a schema for each property.
31
+
*/
32
+
properties?: Record<string,SchemaObject>,
33
+
/**
34
+
* By default, all object properties are optional. You can specify the required properties in the required list
* The Schema Object allows the definition of input and output data types. These types can be objects, but also primitives and arrays. This object is a superset of the JSON Schema Specification Draft 2020-12.
0 commit comments