export default { string: (args = {}) => ({ type: "string" as const, ...args }), object:

(properties: P = {}, args: A = {}) => ({ type: "object" as const, properties, ...args, }), boolean: (args = {}) => ({ type: "boolean" as const, ...args }), number: (args = {}) => ({ type: "number" as const, ...args }), integer: (args = {}) => ({ type: "integer" as const, ...args }), type: (type: S, args = {}) => ({ type, ...args }), ref: (ref: S, args = {}) => ({ $ref: ref, ...args }), };