MCPcopy
hub / github.com/refly-ai/refly / SchemaProperty

Interface SchemaProperty

packages/skill-template/src/utils/schema-simplifier.ts:15–27  ·  view source on GitHub ↗

* JSON Schema types

Source from the content-addressed store, hash-verified

13 * JSON Schema types
14 */
15interface SchemaProperty {
16 type?: string | string[];
17 description?: string;
18 enum?: any[];
19 oneOf?: SchemaProperty[];
20 anyOf?: SchemaProperty[];
21 allOf?: SchemaProperty[];
22 properties?: Record<string, SchemaProperty>;
23 items?: SchemaProperty;
24 required?: string[];
25 default?: any;
26 [key: string]: any;
27}
28
29interface JsonSchema extends SchemaProperty {
30 type: 'object';

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected